UNPKG

netsuite-oauth-client

Version:

NetSuite OAuth 1.0 client library for Node.js with TypeScript support

33 lines 785 B
export interface NetSuiteCredentials { accountid: string; consumerkey: string; consumersecret: string; tokenkey: string; tokensecret: string; apibaseurl: string; } export interface NetSuiteOAuthRequest { credentials: NetSuiteCredentials; url?: string; method?: string; } export interface OAuthParameters { realm: string; oauth_consumer_key: string; oauth_token: string; oauth_nonce: string; oauth_timestamp: string; oauth_signature_method: string; oauth_version: string; oauth_signature: string; } export interface RequestOptions { url: string; method?: string; headers?: Record<string, string>; body?: any; } export interface ClientOptions { debug?: boolean; } //# sourceMappingURL=index.d.ts.map