pnz-apicentre-sandbox-sdk
Version:
The sandbox, powered by Middleware New Zealand, is a dedicated environment that mimics an API Provider, as defined in the [Payments NZ API Centre standards](https://paymentsnz.atlassian.net/wiki/spaces/PaymentsNZAPIStandards/overview). This SDK is generat
26 lines (22 loc) • 780 B
text/typescript
/**
* Account information PNZ-API-CentreLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Configuration, Environment } from './configuration';
import { RetryConfiguration } from './core';
/** Default values for the configuration parameters of the client. */
export const DEFAULT_CONFIGURATION: Configuration = {
timeout: 0,
environment: Environment.Production,
};
/** Default values for retry configuration parameters. */
export const DEFAULT_RETRY_CONFIG: RetryConfiguration = {
maxNumberOfRetries: 0,
retryOnTimeout: true,
retryInterval: 1,
maximumRetryWaitTime: 0,
backoffFactor: 2,
httpStatusCodesToRetry: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
httpMethodsToRetry: ['GET', 'PUT'],
};