@honeysucklehealth/tsalesforce
v1.0.2
Published
Low Level Typescript client for Salesforce
Downloads
34
Readme
Typescript Saleforce Client
Usage
const cfg: SalesforceAuthConfig = {
version,
loginHost,
consumerKey,
consumerSecret,
username,
password,
accessToken,
clientUserAgent: "my-sweet-salesforce-app"
}
const salesforceClient: SalesforceClient = await SalesforceClient.login(cfg)
const myAccount = await salesforceClient.get("Account", "00e100121x")