UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

27 lines 1.43 kB
"use strict"; /** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.offerModelSchema = void 0; var schema_1 = require("../schema"); var amount_1 = require("./amount"); var fee_1 = require("./fee"); var offerTypeEnum_1 = require("./offerTypeEnum"); exports.offerModelSchema = (0, schema_1.object)({ accountId: ['AccountId', (0, schema_1.string)()], offerId: ['OfferId', (0, schema_1.optional)((0, schema_1.string)())], offerType: ['OfferType', (0, schema_1.optional)(offerTypeEnum_1.offerTypeEnumSchema)], description: ['Description', (0, schema_1.optional)((0, schema_1.string)())], startDateTime: ['StartDateTime', (0, schema_1.optional)((0, schema_1.string)())], endDateTime: ['EndDateTime', (0, schema_1.optional)((0, schema_1.string)())], amount: ['Amount', (0, schema_1.optional)((0, schema_1.lazy)(function () { return amount_1.amountSchema; }))], fee: ['Fee', (0, schema_1.optional)((0, schema_1.lazy)(function () { return fee_1.feeSchema; }))], rate: ['Rate', (0, schema_1.optional)((0, schema_1.string)())], value: ['Value', (0, schema_1.optional)((0, schema_1.number)())], term: ['Term', (0, schema_1.optional)((0, schema_1.string)())], uRL: ['URL', (0, schema_1.optional)((0, schema_1.string)())] }); //# sourceMappingURL=offerModel.js.map