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
20 lines • 820 B
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 { accountResponseAccountsItemsSchema, } from './accountResponseAccountsItems';
import { errorStatusSchema } from './errorStatus';
export const accountResponseSchema = object({
accounts: [
'Accounts',
optional(array(lazy(() => accountResponseAccountsItemsSchema))),
],
currentPage: ['CurrentPage', optional(number())],
rowCount: ['RowCount', optional(number())],
totalPages: ['TotalPages', optional(number())],
error: ['Error', optional(lazy(() => errorStatusSchema))],
requestId: ['RequestId', optional(string())],
});
//# sourceMappingURL=accountResponse.js.map