pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
20 lines • 820 B
JavaScript
/**
* 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 { referenceSchema } from './reference';
export const beneficiaryModelSchema = object({
accountId: ['AccountId', string()],
beneficiaryId: ['BeneficiaryId', optional(string())],
reference: ['Reference', optional(lazy(() => referenceSchema))],
creditorAgent: ['CreditorAgent', optional(lazy(() => creditorAgentSchema))],
creditorAccount: [
'CreditorAccount',
optional(lazy(() => creditorAccountSchema)),
],
});
//# sourceMappingURL=beneficiaryModel.js.map