UNPKG

ordercloud-javascript-sdk

Version:

The offical Javascript SDK for the Ordercloud ecommerce API

29 lines (28 loc) 1.04 kB
import { ApiRole } from './ApiRole'; export interface ApiClient<TApiClientXp = any> { readonly ID?: string; ClientSecret?: string; AccessTokenDuration: number; Active?: boolean; AppName: string; RefreshTokenDuration?: number; AnonymousTokenDuration?: number; DefaultContextUserName?: string; xp?: TApiClientXp; AllowAnyBuyer?: boolean; AllowAnySupplier?: boolean; AllowSeller?: boolean; IsAnonBuyer?: boolean; readonly AssignedBuyerCount?: number; readonly AssignedSupplierCount?: number; OrderCheckoutIntegrationEventID?: string; readonly OrderCheckoutIntegrationEventName?: string; OrderReturnIntegrationEventID?: string; readonly OrderReturnIntegrationEventName?: string; AddToCartIntegrationEventID?: string; readonly AddToCartIntegrationEventName?: string; MinimumRequiredRoles?: ApiRole[]; MinimumRequiredCustomRoles?: string[]; MaximumGrantedRoles?: ApiRole[]; MaximumGrantedCustomRoles?: string[]; }