# @salesforce/types

> contains typescript types for salesforce objects

Latest version **1.8.0** (published 2026-06-12) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @salesforce/types
pnpm add @salesforce/types
yarn add @salesforce/types
bun add @salesforce/types
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.8.0 |
| Published | 2026-06-12 |
| First published | 2024-05-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Salesforce |
| Maintainers | ire-npm-team-user, jimjag, salesforce-releases, jasonschroeder-sfdc, mobify, lwc-admin, salesforce-admin |
| Keywords | salesforce, sf, metadata |

## Links

- npm: https://www.npmjs.com/package/@salesforce/types
- Repository: https://github.com/forcedotcom/wsdl
- Homepage: https://github.com/forcedotcom/wsdl#readme
- Issues: https://github.com/forcedotcom/wsdl/issues
- npm.io page: https://npm.io/package/@salesforce/types

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.8.0 (latest) — 2026-06-12
- 1.7.3 — 2026-05-28
- 1.7.1 — 2026-02-19
- 1.7.0 — 2026-02-19
- 1.6.0 — 2025-12-09
- 1.5.0 — 2025-10-17
- 1.4.0 — 2025-06-16
- 1.3.0 — 2024-10-14
- 1.2.0 — 2024-06-17
- 1.1.0 — 2024-05-02

## README

# Salesforce WSDL Files

This repository contains the full Salesforce WSDL files. These files are used primarily by tooling vendors to build tools for developing on the Salesforce platform.

# @salesforce/types

---

These wsdls are the source for generating the types found in the `@salesforce/types` package. These can be used in your code like

```typescript
import type { LogCategory } from '@salesforce/types/apex';
import type { TestLevel } from '@salesforce/types/metadata';
import type { StatusCode } from '@salesforce/types/partner';
import type { PermissionSetFlowAccess } from '@salesforce/types/tooling';
```

We also additionally publish a schema type `ApiSchemaTypes` with each file that can serve as a parseable index of type names to types.

## Contributing

---

We do not accept contributions or issues to this repository. These files are provided as reference only. No support is provided for this repository.

For future Salesforce employees looking to update this repo, instructions are [here](https://salesforce.quip.com/6bQJAJbfE5Lo).

---
_Source: https://npm.io/package/@salesforce/types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
