pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
56 lines • 2.75 kB
JavaScript
"use strict";
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.statementSchema = void 0;
var schema_1 = require("../schema");
var statementAmount_1 = require("./statementAmount");
var statementBenefit_1 = require("./statementBenefit");
var statementDateTime_1 = require("./statementDateTime");
var statementFee_1 = require("./statementFee");
var statementInterest_1 = require("./statementInterest");
var statementRate_1 = require("./statementRate");
var statementTypeEnum_1 = require("./statementTypeEnum");
var statementValue_1 = require("./statementValue");
exports.statementSchema = (0, schema_1.object)({
accountId: ['AccountId', (0, schema_1.string)()],
statementId: ['StatementId', (0, schema_1.optional)((0, schema_1.string)())],
statementReference: ['StatementReference', (0, schema_1.optional)((0, schema_1.string)())],
type: ['Type', statementTypeEnum_1.statementTypeEnumSchema],
startDateTime: ['StartDateTime', (0, schema_1.string)()],
endDateTime: ['EndDateTime', (0, schema_1.string)()],
creationDateTime: ['CreationDateTime', (0, schema_1.string)()],
statementDescription: ['StatementDescription', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))],
statementBenefit: [
'StatementBenefit',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementBenefit_1.statementBenefitSchema; }))),
],
statementFee: [
'StatementFee',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementFee_1.statementFeeSchema; }))),
],
statementInterest: [
'StatementInterest',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementInterest_1.statementInterestSchema; }))),
],
statementDateTime: [
'StatementDateTime',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementDateTime_1.statementDateTimeSchema; }))),
],
statementRate: [
'StatementRate',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementRate_1.statementRateSchema; }))),
],
statementValue: [
'StatementValue',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementValue_1.statementValueSchema; }))),
],
statementAmount: [
'StatementAmount',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return statementAmount_1.statementAmountSchema; }))),
]
});
//# sourceMappingURL=statement.js.map