5.0.5 • Published 10 months ago
@aigens/aigens-sdk-utils v5.0.5
aigens-sdk-utils
Aigens SDK Utils
Install
npm install @aigens/aigens-sdk-utils
npx cap sync
API
makeNetworkRequest(...)
makeNetworkRequest(options: NetworkOptions) => Promise<{ code: number; message: string; }>
Param | Type |
---|---|
options | NetworkOptions |
Returns: Promise<{ code: number; message: string; }>
Interfaces
NetworkOptions
method: default is POST timeoutSeconds: default is 130 seconds
Prop | Type |
---|---|
url | string |
method | 'GET' | 'POST' | 'PUT' | 'DELETE' |
bodyJsonString | string |
headers | { key: string: string; } |
timeoutSeconds | number |
isAdyen | boolean |
isPrd | boolean |