card-management-sdk
Version:
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S
30 lines • 1.27 kB
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, number, object, optional, string, } from '../schema';
import { bundledRestrictionsListSchema, } from './bundledRestrictionsList';
import { errorStatusSchema } from './errorStatus';
export const bundleDetailsResponseSchema = object({
payerId: ['PayerId', optional(number())],
payerNumber: ['PayerNumber', optional(string())],
accountId: ['AccountId', optional(number())],
accountNumber: ['AccountNumber', optional(string())],
bundleId: ['BundleId', optional(string())],
externalBundleId: ['ExternalBundleId', optional(string())],
description: ['Description', optional(string())],
pans: ['Pans', optional(array(string()))],
restrictionCurrencyCode: ['RestrictionCurrencyCode', optional(string())],
restrictionCurrencySymbol: [
'RestrictionCurrencySymbol',
optional(string()),
],
restrictions: [
'Restrictions',
optional(lazy(() => bundledRestrictionsListSchema)),
],
error: ['Error', optional(lazy(() => errorStatusSchema))],
requestId: ['RequestId', optional(string())],
});
//# sourceMappingURL=bundleDetailsResponse.js.map