Skip to content

Latest commit

 

History

History
136 lines (79 loc) · 2.82 KB

Org.md

File metadata and controls

136 lines (79 loc) · 2.82 KB

@heroku/applink v1.1.1


@heroku/applink / Org

Interface: Org

Defined in: src/index.ts:153

Holds information about the invoking Salesforce organization and user.

Properties

apiVersion

readonly apiVersion: string;

Defined in: src/index.ts:154

The API version the Salesforce organization is currently using.


dataApi

readonly dataApi: DataApi;

Defined in: src/index.ts:155

An initialized data API client instance.


dataCloudApi?

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.


domainUrl

readonly domainUrl: string;

Defined in: src/index.ts:157

The domain URL of the Salesforce organization.


id

readonly id: string;

Defined in: src/index.ts:158

The Salesforce organization ID.


namespace

readonly namespace: string;

Defined in: src/index.ts:159


user

readonly user: User;

Defined in: src/index.ts:160

The currently logged in user


accessTokenExpiration?

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.

Methods

request()

request(
   fullUrlOrUrlPart, 
   opts, 
   json): any;

Defined in: src/index.ts:162

Parameters

fullUrlOrUrlPart

string

opts

any

json

boolean

Returns

any