@heroku/applink / Org
Defined in: src/index.ts:153
Holds information about the invoking Salesforce organization and user.
readonly apiVersion: string;Defined in: src/index.ts:154
The API version the Salesforce organization is currently using.
readonly dataApi: DataApi;Defined in: src/index.ts:155
An initialized data API client instance.
readonly optional dataCloudApi: DataCloudApi;Defined in: src/index.ts:156
If instance URL and token are provide, an initialized Data Cloud data API client instance.
readonly domainUrl: string;Defined in: src/index.ts:157
The domain URL of the Salesforce organization.
readonly id: string;Defined in: src/index.ts:158
The Salesforce organization ID.
readonly namespace: string;Defined in: src/index.ts:159
readonly user: User;Defined in: src/index.ts:160
The currently logged in user
readonly optional accessTokenExpiration: number;Defined in: src/index.ts:161
The absolute instant the org's access token expires, as Unix epoch milliseconds, or undefined when the expiration is unknown (e.g. the token was decrypted locally). Only populated for authorizations retrieved via getAuthorization.
request(
fullUrlOrUrlPart,
opts,
json): any;Defined in: src/index.ts:162
string
any
boolean
any