0.0.13 • Published 6 years ago

salesforce-wsdl-consumer v0.0.13

Weekly downloads
3
License
apache-2.0
Repository
github
Last release
6 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

6 years ago

0.0.12

6 years ago

0.0.10

6 years ago

0.0.11

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago