data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
20 lines • 1.1 kB
JavaScript
;
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.searchDocumentsResponseSchema = void 0;
var schema_1 = require("../schema");
var searchDocumentsInvoice_1 = require("./searchDocumentsInvoice");
exports.searchDocumentsResponseSchema = (0, schema_1.object)({
requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.string)())],
status: ['Status', (0, schema_1.optional)((0, schema_1.string)())],
data: ['Data', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return searchDocumentsInvoice_1.searchDocumentsInvoiceSchema; })))],
totalRecords: ['TotalRecords', (0, schema_1.optional)((0, schema_1.number)())],
totalRecordsOnPage: ['TotalRecordsOnPage', (0, schema_1.optional)((0, schema_1.number)())],
isFirstPage: ['IsFirstPage', (0, schema_1.optional)((0, schema_1.boolean)())],
isLastPage: ['IsLastPage', (0, schema_1.optional)((0, schema_1.boolean)())]
});
//# sourceMappingURL=searchDocumentsResponse.js.map