UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

25 lines 1.18 kB
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, string } from '../schema'; import { creditorAccountSchema } from './creditorAccount'; import { creditorAgentSchema } from './creditorAgent'; import { instructedAmountSchema } from './instructedAmount'; import { referenceSchema } from './reference'; import { scheduledTypeEnumSchema, } from './scheduledTypeEnum'; export const scheduledPaymentModelSchema = object({ accountId: ['AccountId', string()], scheduledPaymentId: ['ScheduledPaymentId', optional(string())], scheduledPaymentDateTime: ['ScheduledPaymentDateTime', string()], scheduledType: ['ScheduledType', scheduledTypeEnumSchema], instructedAmount: ['InstructedAmount', lazy(() => instructedAmountSchema)], reference: ['Reference', optional(lazy(() => referenceSchema))], creditorAgent: ['CreditorAgent', optional(lazy(() => creditorAgentSchema))], creditorAccount: [ 'CreditorAccount', optional(lazy(() => creditorAccountSchema)), ], }); //# sourceMappingURL=scheduledPaymentModel.js.map