pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
23 lines • 1.1 kB
JavaScript
;
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.beneficiaryModelSchema = void 0;
var schema_1 = require("../schema");
var creditorAccount_1 = require("./creditorAccount");
var creditorAgent_1 = require("./creditorAgent");
var reference_1 = require("./reference");
exports.beneficiaryModelSchema = (0, schema_1.object)({
accountId: ['AccountId', (0, schema_1.string)()],
beneficiaryId: ['BeneficiaryId', (0, schema_1.optional)((0, schema_1.string)())],
reference: ['Reference', (0, schema_1.optional)((0, schema_1.lazy)(function () { return reference_1.referenceSchema; }))],
creditorAgent: ['CreditorAgent', (0, schema_1.optional)((0, schema_1.lazy)(function () { return creditorAgent_1.creditorAgentSchema; }))],
creditorAccount: [
'CreditorAccount',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return creditorAccount_1.creditorAccountSchema; })),
]
});
//# sourceMappingURL=beneficiaryModel.js.map