0.0.13 • Published 4 years ago

salesforce-wsdl-consumer v0.0.13

Weekly downloads
3
License
apache-2.0
Repository
github
Last release
4 years ago

salesforce-wsdl-consumer

npm version

Simple Force.com Metadata WSDL parser and types generator.

WARNING: this project is not stable yet and any API can change.

The result of the parser is an object containing ComplexTypes and SimpleTypes. On top of this parser is built a types generator. You can see the resulting types in another project.

If you need already generated types or read/write metadata files, you can use the salesforce-metadata project published to npm instead.

Usage

generateTypesFromMetadataWSDL({
    outputFile: "types.ts",
    metadataVersion: "47"
});

You can also import the LATEST_METADATA_VERSION constant.

To read MetadataWSDL, you have two options, readMetadataWSDLByVersion and readMetadataWSDLFromPath. Then parse types using parseMetadataWSDL function.

readMetadataWSDLByVersion("47")
    .then(parseMetadataWSDL)
    .then(({complexTypes, simpleTypes}: ParsedMetadataWSDL) => {});
0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago