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
23 lines • 1.12 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.accountResponseSchema = void 0;
var schema_1 = require("../schema");
var accountResponseAccountsItems_1 = require("./accountResponseAccountsItems");
var errorStatus_1 = require("./errorStatus");
exports.accountResponseSchema = (0, schema_1.object)({
accounts: [
'Accounts',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return accountResponseAccountsItems_1.accountResponseAccountsItemsSchema; }))),
],
currentPage: ['CurrentPage', (0, schema_1.optional)((0, schema_1.number)())],
rowCount: ['RowCount', (0, schema_1.optional)((0, schema_1.number)())],
totalPages: ['TotalPages', (0, schema_1.optional)((0, schema_1.number)())],
error: ['Error', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; }))],
requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=accountResponse.js.map