fsm-sdk
Version:
Node.JS sdk to interface with SAP Field Service Management APIs.
16 lines (15 loc) • 563 B
TypeScript
export declare type OAuthGrantType = 'password' | 'client_credentials' | 'authorization_code';
export declare type ClientConfig = {
debug?: boolean | undefined;
tokenCacheFilePath?: string | undefined;
oauthEndpoint?: string | undefined;
baseUrl: string;
clientIdentifier: string;
clientSecret: string;
clientVersion: string;
authGrantType?: OAuthGrantType | undefined;
authAccountName?: string | undefined;
authUserName?: string | undefined;
authPassword?: string | undefined;
authCompany?: string | undefined;
};