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.2 kB
JavaScript
;
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.invoiceSearchResponseSchema = void 0;
var schema_1 = require("../schema");
var invoiceSearchDetails_1 = require("./invoiceSearchDetails");
exports.invoiceSearchResponseSchema = (0, schema_1.object)({
requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
status: ['Status', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
data: ['Data', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return invoiceSearchDetails_1.invoiceSearchDetailsSchema; })))],
page: ['Page', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
pageSize: ['PageSize', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
totalRecords: ['TotalRecords', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
totalPages: ['TotalPages', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))]
});
//# sourceMappingURL=invoiceSearchResponse.js.map