mollie-api-typescript 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +223 -1057
- package/bin/mcp-server.js.map +38 -38
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +12 -25
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +7 -46
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.d.ts +12 -25
- package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.js +6 -45
- package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/createcapture.d.ts +24 -50
- package/dist/commonjs/models/operations/createcapture.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcapture.js +10 -88
- package/dist/commonjs/models/operations/createcapture.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.d.ts +24 -50
- package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.js +10 -88
- package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +24 -50
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +13 -91
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +24 -50
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +13 -91
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +11 -0
- package/dist/commonjs/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.js +2 -0
- package/dist/commonjs/models/operations/createpaymentlink.js.map +1 -1
- package/dist/commonjs/models/operations/createrefund.d.ts +24 -50
- package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createrefund.js +11 -89
- package/dist/commonjs/models/operations/createrefund.js.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.d.ts +24 -50
- package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.js +10 -88
- package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/getcapture.d.ts +12 -25
- package/dist/commonjs/models/operations/getcapture.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcapture.js +6 -45
- package/dist/commonjs/models/operations/getcapture.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +12 -25
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js +6 -45
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +12 -25
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +7 -46
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +18 -31
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +14 -55
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getrefund.d.ts +12 -25
- package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getrefund.js +6 -45
- package/dist/commonjs/models/operations/getrefund.js.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.d.ts +12 -25
- package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.js +6 -45
- package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +17 -17
- package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.js +20 -20
- package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +12 -25
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +6 -45
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +12 -25
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +6 -45
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.d.ts +12 -25
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +6 -45
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +12 -25
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +8 -47
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +12 -25
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +6 -45
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts +21 -21
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.js +24 -24
- package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +12 -25
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +8 -47
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +12 -25
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +6 -45
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +12 -25
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +6 -45
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +12 -25
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +8 -47
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +12 -25
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +6 -45
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +12 -25
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +8 -47
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +12 -25
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +6 -45
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +24 -50
- package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.js +10 -88
- package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +24 -50
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +13 -91
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.d.ts +24 -50
- package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.js +10 -88
- package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +12 -25
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +4 -41
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.d.ts +12 -25
- package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.js +4 -41
- package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
- package/dist/esm/models/operations/createcapture.d.ts +24 -50
- package/dist/esm/models/operations/createcapture.d.ts.map +1 -1
- package/dist/esm/models/operations/createcapture.js +8 -82
- package/dist/esm/models/operations/createcapture.js.map +1 -1
- package/dist/esm/models/operations/createcustomer.d.ts +24 -50
- package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomer.js +8 -82
- package/dist/esm/models/operations/createcustomer.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +24 -50
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +8 -82
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +24 -50
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +8 -82
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +11 -0
- package/dist/esm/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.js +2 -0
- package/dist/esm/models/operations/createpaymentlink.js.map +1 -1
- package/dist/esm/models/operations/createrefund.d.ts +24 -50
- package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
- package/dist/esm/models/operations/createrefund.js +8 -82
- package/dist/esm/models/operations/createrefund.js.map +1 -1
- package/dist/esm/models/operations/createsubscription.d.ts +24 -50
- package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/createsubscription.js +8 -82
- package/dist/esm/models/operations/createsubscription.js.map +1 -1
- package/dist/esm/models/operations/getcapture.d.ts +12 -25
- package/dist/esm/models/operations/getcapture.d.ts.map +1 -1
- package/dist/esm/models/operations/getcapture.js +4 -41
- package/dist/esm/models/operations/getcapture.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +12 -25
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js +4 -41
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +12 -25
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +4 -41
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +18 -31
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +10 -49
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getrefund.d.ts +12 -25
- package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
- package/dist/esm/models/operations/getrefund.js +4 -41
- package/dist/esm/models/operations/getrefund.js.map +1 -1
- package/dist/esm/models/operations/getsubscription.d.ts +12 -25
- package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/getsubscription.js +4 -41
- package/dist/esm/models/operations/getsubscription.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +17 -17
- package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.js +17 -17
- package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +12 -25
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +4 -41
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +12 -25
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +4 -41
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listcaptures.d.ts +12 -25
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +4 -41
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +12 -25
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +4 -41
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +12 -25
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +4 -41
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.d.ts +21 -21
- package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.js +21 -21
- package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +12 -25
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +4 -41
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +12 -25
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +4 -41
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +12 -25
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +4 -41
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +12 -25
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +4 -41
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +12 -25
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +4 -41
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +12 -25
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +4 -41
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +12 -25
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +4 -41
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +24 -50
- package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/updatecustomer.js +8 -82
- package/dist/esm/models/operations/updatecustomer.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +24 -50
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +8 -82
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatesubscription.d.ts +24 -50
- package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/updatesubscription.js +8 -82
- package/dist/esm/models/operations/updatesubscription.js.map +1 -1
- package/docs/sdks/paymentlinks/README.md +2 -0
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +4 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/cancelpayment.ts +12 -83
- package/src/models/operations/cancelsubscription.ts +12 -80
- package/src/models/operations/createcapture.ts +22 -183
- package/src/models/operations/createcustomer.ts +22 -179
- package/src/models/operations/createcustomerpayment.ts +23 -200
- package/src/models/operations/createpayment.ts +22 -183
- package/src/models/operations/createpaymentlink.ts +13 -0
- package/src/models/operations/createrefund.ts +23 -181
- package/src/models/operations/createsubscription.ts +22 -187
- package/src/models/operations/getcapture.ts +11 -85
- package/src/models/operations/getcustomer.ts +11 -80
- package/src/models/operations/getpayment.ts +11 -85
- package/src/models/operations/getpaymentlinkpayments.ts +23 -107
- package/src/models/operations/getrefund.ts +11 -82
- package/src/models/operations/getsubscription.ts +12 -80
- package/src/models/operations/getwebhookevent.ts +34 -29
- package/src/models/operations/listallrefunds.ts +12 -85
- package/src/models/operations/listallsubscriptions.ts +11 -85
- package/src/models/operations/listcaptures.ts +12 -83
- package/src/models/operations/listcustomerpayments.ts +11 -91
- package/src/models/operations/listcustomers.ts +12 -78
- package/src/models/operations/listpaymentlinks.ts +39 -38
- package/src/models/operations/listpayments.ts +12 -83
- package/src/models/operations/listrefunds.ts +11 -85
- package/src/models/operations/listsettlementcaptures.ts +11 -93
- package/src/models/operations/listsettlementpayments.ts +11 -93
- package/src/models/operations/listsettlementrefunds.ts +11 -92
- package/src/models/operations/listsubscriptionpayments.ts +11 -93
- package/src/models/operations/listsubscriptions.ts +12 -80
- package/src/models/operations/updatecustomer.ts +22 -179
- package/src/models/operations/updatepayment.ts +22 -183
- package/src/models/operations/updatesubscription.ts +22 -187
|
@@ -171,8 +171,6 @@ export type CancelSubscriptionApplicationFee = {
|
|
|
171
171
|
description: string;
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
export type CancelSubscriptionMetadata = {};
|
|
175
|
-
|
|
176
174
|
/**
|
|
177
175
|
* Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity.
|
|
178
176
|
*
|
|
@@ -182,9 +180,9 @@ export type CancelSubscriptionMetadata = {};
|
|
|
182
180
|
*
|
|
183
181
|
* Any metadata added to the subscription will be automatically forwarded to the payments generated for it.
|
|
184
182
|
*/
|
|
185
|
-
export type
|
|
186
|
-
| CancelSubscriptionMetadata
|
|
183
|
+
export type CancelSubscriptionMetadata =
|
|
187
184
|
| string
|
|
185
|
+
| { [k: string]: any }
|
|
188
186
|
| Array<string>;
|
|
189
187
|
|
|
190
188
|
/**
|
|
@@ -409,7 +407,7 @@ export type CancelSubscriptionResponse = {
|
|
|
409
407
|
*
|
|
410
408
|
* Any metadata added to the subscription will be automatically forwarded to the payments generated for it.
|
|
411
409
|
*/
|
|
412
|
-
metadata:
|
|
410
|
+
metadata: string | { [k: string]: any } | Array<string> | null;
|
|
413
411
|
/**
|
|
414
412
|
* We will call this URL for any payment status changes of payments resulting from this subscription.
|
|
415
413
|
*
|
|
@@ -966,17 +964,20 @@ export const CancelSubscriptionMetadata$inboundSchema: z.ZodType<
|
|
|
966
964
|
CancelSubscriptionMetadata,
|
|
967
965
|
z.ZodTypeDef,
|
|
968
966
|
unknown
|
|
969
|
-
> = z.
|
|
967
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
970
968
|
|
|
971
969
|
/** @internal */
|
|
972
|
-
export type CancelSubscriptionMetadata$Outbound =
|
|
970
|
+
export type CancelSubscriptionMetadata$Outbound =
|
|
971
|
+
| string
|
|
972
|
+
| { [k: string]: any }
|
|
973
|
+
| Array<string>;
|
|
973
974
|
|
|
974
975
|
/** @internal */
|
|
975
976
|
export const CancelSubscriptionMetadata$outboundSchema: z.ZodType<
|
|
976
977
|
CancelSubscriptionMetadata$Outbound,
|
|
977
978
|
z.ZodTypeDef,
|
|
978
979
|
CancelSubscriptionMetadata
|
|
979
|
-
> = z.
|
|
980
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
980
981
|
|
|
981
982
|
/**
|
|
982
983
|
* @internal
|
|
@@ -1009,67 +1010,6 @@ export function cancelSubscriptionMetadataFromJSON(
|
|
|
1009
1010
|
);
|
|
1010
1011
|
}
|
|
1011
1012
|
|
|
1012
|
-
/** @internal */
|
|
1013
|
-
export const CancelSubscriptionMetadataUnion$inboundSchema: z.ZodType<
|
|
1014
|
-
CancelSubscriptionMetadataUnion,
|
|
1015
|
-
z.ZodTypeDef,
|
|
1016
|
-
unknown
|
|
1017
|
-
> = z.union([
|
|
1018
|
-
z.lazy(() => CancelSubscriptionMetadata$inboundSchema),
|
|
1019
|
-
z.string(),
|
|
1020
|
-
z.array(z.string()),
|
|
1021
|
-
]);
|
|
1022
|
-
|
|
1023
|
-
/** @internal */
|
|
1024
|
-
export type CancelSubscriptionMetadataUnion$Outbound =
|
|
1025
|
-
| CancelSubscriptionMetadata$Outbound
|
|
1026
|
-
| string
|
|
1027
|
-
| Array<string>;
|
|
1028
|
-
|
|
1029
|
-
/** @internal */
|
|
1030
|
-
export const CancelSubscriptionMetadataUnion$outboundSchema: z.ZodType<
|
|
1031
|
-
CancelSubscriptionMetadataUnion$Outbound,
|
|
1032
|
-
z.ZodTypeDef,
|
|
1033
|
-
CancelSubscriptionMetadataUnion
|
|
1034
|
-
> = z.union([
|
|
1035
|
-
z.lazy(() => CancelSubscriptionMetadata$outboundSchema),
|
|
1036
|
-
z.string(),
|
|
1037
|
-
z.array(z.string()),
|
|
1038
|
-
]);
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* @internal
|
|
1042
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1043
|
-
*/
|
|
1044
|
-
export namespace CancelSubscriptionMetadataUnion$ {
|
|
1045
|
-
/** @deprecated use `CancelSubscriptionMetadataUnion$inboundSchema` instead. */
|
|
1046
|
-
export const inboundSchema = CancelSubscriptionMetadataUnion$inboundSchema;
|
|
1047
|
-
/** @deprecated use `CancelSubscriptionMetadataUnion$outboundSchema` instead. */
|
|
1048
|
-
export const outboundSchema = CancelSubscriptionMetadataUnion$outboundSchema;
|
|
1049
|
-
/** @deprecated use `CancelSubscriptionMetadataUnion$Outbound` instead. */
|
|
1050
|
-
export type Outbound = CancelSubscriptionMetadataUnion$Outbound;
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
export function cancelSubscriptionMetadataUnionToJSON(
|
|
1054
|
-
cancelSubscriptionMetadataUnion: CancelSubscriptionMetadataUnion,
|
|
1055
|
-
): string {
|
|
1056
|
-
return JSON.stringify(
|
|
1057
|
-
CancelSubscriptionMetadataUnion$outboundSchema.parse(
|
|
1058
|
-
cancelSubscriptionMetadataUnion,
|
|
1059
|
-
),
|
|
1060
|
-
);
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
export function cancelSubscriptionMetadataUnionFromJSON(
|
|
1064
|
-
jsonString: string,
|
|
1065
|
-
): SafeParseResult<CancelSubscriptionMetadataUnion, SDKValidationError> {
|
|
1066
|
-
return safeParse(
|
|
1067
|
-
jsonString,
|
|
1068
|
-
(x) => CancelSubscriptionMetadataUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1069
|
-
`Failed to parse 'CancelSubscriptionMetadataUnion' from JSON`,
|
|
1070
|
-
);
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
1013
|
/** @internal */
|
|
1074
1014
|
export const CancelSubscriptionSelf$inboundSchema: z.ZodType<
|
|
1075
1015
|
CancelSubscriptionSelf,
|
|
@@ -1508,11 +1448,7 @@ export const CancelSubscriptionResponse$inboundSchema: z.ZodType<
|
|
|
1508
1448
|
applicationFee: z.lazy(() => CancelSubscriptionApplicationFee$inboundSchema)
|
|
1509
1449
|
.optional(),
|
|
1510
1450
|
metadata: z.nullable(
|
|
1511
|
-
z.union([
|
|
1512
|
-
z.lazy(() => CancelSubscriptionMetadata$inboundSchema),
|
|
1513
|
-
z.string(),
|
|
1514
|
-
z.array(z.string()),
|
|
1515
|
-
]),
|
|
1451
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
1516
1452
|
),
|
|
1517
1453
|
webhookUrl: z.string(),
|
|
1518
1454
|
customerId: z.string(),
|
|
@@ -1541,7 +1477,7 @@ export type CancelSubscriptionResponse$Outbound = {
|
|
|
1541
1477
|
description: string;
|
|
1542
1478
|
method: string | null;
|
|
1543
1479
|
applicationFee?: CancelSubscriptionApplicationFee$Outbound | undefined;
|
|
1544
|
-
metadata:
|
|
1480
|
+
metadata: string | { [k: string]: any } | Array<string> | null;
|
|
1545
1481
|
webhookUrl: string;
|
|
1546
1482
|
customerId: string;
|
|
1547
1483
|
mandateId?: string | null | undefined;
|
|
@@ -1571,11 +1507,7 @@ export const CancelSubscriptionResponse$outboundSchema: z.ZodType<
|
|
|
1571
1507
|
applicationFee: z.lazy(() => CancelSubscriptionApplicationFee$outboundSchema)
|
|
1572
1508
|
.optional(),
|
|
1573
1509
|
metadata: z.nullable(
|
|
1574
|
-
z.union([
|
|
1575
|
-
z.lazy(() => CancelSubscriptionMetadata$outboundSchema),
|
|
1576
|
-
z.string(),
|
|
1577
|
-
z.array(z.string()),
|
|
1578
|
-
]),
|
|
1510
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
1579
1511
|
),
|
|
1580
1512
|
webhookUrl: z.string(),
|
|
1581
1513
|
customerId: z.string(),
|
|
@@ -23,17 +23,15 @@ export type CreateCaptureAmountRequest = {
|
|
|
23
23
|
value: string;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export type CreateCaptureMetadataRequest = {};
|
|
27
|
-
|
|
28
26
|
/**
|
|
29
27
|
* Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
|
|
30
28
|
*
|
|
31
29
|
* @remarks
|
|
32
30
|
* you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
|
|
33
31
|
*/
|
|
34
|
-
export type
|
|
35
|
-
| CreateCaptureMetadataRequest
|
|
32
|
+
export type CreateCaptureMetadataRequest =
|
|
36
33
|
| string
|
|
34
|
+
| { [k: string]: any }
|
|
37
35
|
| Array<string>;
|
|
38
36
|
|
|
39
37
|
export type CreateCaptureRequestBody = {
|
|
@@ -51,12 +49,7 @@ export type CreateCaptureRequestBody = {
|
|
|
51
49
|
* @remarks
|
|
52
50
|
* you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
|
|
53
51
|
*/
|
|
54
|
-
metadata?:
|
|
55
|
-
| CreateCaptureMetadataRequest
|
|
56
|
-
| string
|
|
57
|
-
| Array<string>
|
|
58
|
-
| null
|
|
59
|
-
| undefined;
|
|
52
|
+
metadata?: string | { [k: string]: any } | Array<string> | null | undefined;
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export type CreateCaptureRequest = {
|
|
@@ -157,17 +150,15 @@ export const CreateCaptureStatus = {
|
|
|
157
150
|
*/
|
|
158
151
|
export type CreateCaptureStatus = ClosedEnum<typeof CreateCaptureStatus>;
|
|
159
152
|
|
|
160
|
-
export type CreateCaptureMetadataResponse = {};
|
|
161
|
-
|
|
162
153
|
/**
|
|
163
154
|
* Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
|
|
164
155
|
*
|
|
165
156
|
* @remarks
|
|
166
157
|
* you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
|
|
167
158
|
*/
|
|
168
|
-
export type
|
|
169
|
-
| CreateCaptureMetadataResponse
|
|
159
|
+
export type CreateCaptureMetadataResponse =
|
|
170
160
|
| string
|
|
161
|
+
| { [k: string]: any }
|
|
171
162
|
| Array<string>;
|
|
172
163
|
|
|
173
164
|
/**
|
|
@@ -326,12 +317,7 @@ export type CreateCaptureResponse = {
|
|
|
326
317
|
* @remarks
|
|
327
318
|
* you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
|
|
328
319
|
*/
|
|
329
|
-
metadata?:
|
|
330
|
-
| CreateCaptureMetadataResponse
|
|
331
|
-
| string
|
|
332
|
-
| Array<string>
|
|
333
|
-
| null
|
|
334
|
-
| undefined;
|
|
320
|
+
metadata?: string | { [k: string]: any } | Array<string> | null | undefined;
|
|
335
321
|
/**
|
|
336
322
|
* The unique identifier of the payment this capture was created for. For example: `tr_5B8cwPMGnU6qLbRvo7qEZo`.
|
|
337
323
|
*
|
|
@@ -425,17 +411,19 @@ export const CreateCaptureMetadataRequest$inboundSchema: z.ZodType<
|
|
|
425
411
|
CreateCaptureMetadataRequest,
|
|
426
412
|
z.ZodTypeDef,
|
|
427
413
|
unknown
|
|
428
|
-
> = z.
|
|
414
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
429
415
|
|
|
430
416
|
/** @internal */
|
|
431
|
-
export type CreateCaptureMetadataRequest$Outbound = {
|
|
417
|
+
export type CreateCaptureMetadataRequest$Outbound = string | {
|
|
418
|
+
[k: string]: any;
|
|
419
|
+
} | Array<string>;
|
|
432
420
|
|
|
433
421
|
/** @internal */
|
|
434
422
|
export const CreateCaptureMetadataRequest$outboundSchema: z.ZodType<
|
|
435
423
|
CreateCaptureMetadataRequest$Outbound,
|
|
436
424
|
z.ZodTypeDef,
|
|
437
425
|
CreateCaptureMetadataRequest
|
|
438
|
-
> = z.
|
|
426
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
439
427
|
|
|
440
428
|
/**
|
|
441
429
|
* @internal
|
|
@@ -470,68 +458,6 @@ export function createCaptureMetadataRequestFromJSON(
|
|
|
470
458
|
);
|
|
471
459
|
}
|
|
472
460
|
|
|
473
|
-
/** @internal */
|
|
474
|
-
export const CreateCaptureMetadataRequestUnion$inboundSchema: z.ZodType<
|
|
475
|
-
CreateCaptureMetadataRequestUnion,
|
|
476
|
-
z.ZodTypeDef,
|
|
477
|
-
unknown
|
|
478
|
-
> = z.union([
|
|
479
|
-
z.lazy(() => CreateCaptureMetadataRequest$inboundSchema),
|
|
480
|
-
z.string(),
|
|
481
|
-
z.array(z.string()),
|
|
482
|
-
]);
|
|
483
|
-
|
|
484
|
-
/** @internal */
|
|
485
|
-
export type CreateCaptureMetadataRequestUnion$Outbound =
|
|
486
|
-
| CreateCaptureMetadataRequest$Outbound
|
|
487
|
-
| string
|
|
488
|
-
| Array<string>;
|
|
489
|
-
|
|
490
|
-
/** @internal */
|
|
491
|
-
export const CreateCaptureMetadataRequestUnion$outboundSchema: z.ZodType<
|
|
492
|
-
CreateCaptureMetadataRequestUnion$Outbound,
|
|
493
|
-
z.ZodTypeDef,
|
|
494
|
-
CreateCaptureMetadataRequestUnion
|
|
495
|
-
> = z.union([
|
|
496
|
-
z.lazy(() => CreateCaptureMetadataRequest$outboundSchema),
|
|
497
|
-
z.string(),
|
|
498
|
-
z.array(z.string()),
|
|
499
|
-
]);
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* @internal
|
|
503
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
504
|
-
*/
|
|
505
|
-
export namespace CreateCaptureMetadataRequestUnion$ {
|
|
506
|
-
/** @deprecated use `CreateCaptureMetadataRequestUnion$inboundSchema` instead. */
|
|
507
|
-
export const inboundSchema = CreateCaptureMetadataRequestUnion$inboundSchema;
|
|
508
|
-
/** @deprecated use `CreateCaptureMetadataRequestUnion$outboundSchema` instead. */
|
|
509
|
-
export const outboundSchema =
|
|
510
|
-
CreateCaptureMetadataRequestUnion$outboundSchema;
|
|
511
|
-
/** @deprecated use `CreateCaptureMetadataRequestUnion$Outbound` instead. */
|
|
512
|
-
export type Outbound = CreateCaptureMetadataRequestUnion$Outbound;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
export function createCaptureMetadataRequestUnionToJSON(
|
|
516
|
-
createCaptureMetadataRequestUnion: CreateCaptureMetadataRequestUnion,
|
|
517
|
-
): string {
|
|
518
|
-
return JSON.stringify(
|
|
519
|
-
CreateCaptureMetadataRequestUnion$outboundSchema.parse(
|
|
520
|
-
createCaptureMetadataRequestUnion,
|
|
521
|
-
),
|
|
522
|
-
);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export function createCaptureMetadataRequestUnionFromJSON(
|
|
526
|
-
jsonString: string,
|
|
527
|
-
): SafeParseResult<CreateCaptureMetadataRequestUnion, SDKValidationError> {
|
|
528
|
-
return safeParse(
|
|
529
|
-
jsonString,
|
|
530
|
-
(x) => CreateCaptureMetadataRequestUnion$inboundSchema.parse(JSON.parse(x)),
|
|
531
|
-
`Failed to parse 'CreateCaptureMetadataRequestUnion' from JSON`,
|
|
532
|
-
);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
461
|
/** @internal */
|
|
536
462
|
export const CreateCaptureRequestBody$inboundSchema: z.ZodType<
|
|
537
463
|
CreateCaptureRequestBody,
|
|
@@ -542,11 +468,7 @@ export const CreateCaptureRequestBody$inboundSchema: z.ZodType<
|
|
|
542
468
|
amount: z.nullable(z.lazy(() => CreateCaptureAmountRequest$inboundSchema))
|
|
543
469
|
.optional(),
|
|
544
470
|
metadata: z.nullable(
|
|
545
|
-
z.union([
|
|
546
|
-
z.lazy(() => CreateCaptureMetadataRequest$inboundSchema),
|
|
547
|
-
z.string(),
|
|
548
|
-
z.array(z.string()),
|
|
549
|
-
]),
|
|
471
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
550
472
|
).optional(),
|
|
551
473
|
});
|
|
552
474
|
|
|
@@ -554,12 +476,7 @@ export const CreateCaptureRequestBody$inboundSchema: z.ZodType<
|
|
|
554
476
|
export type CreateCaptureRequestBody$Outbound = {
|
|
555
477
|
description?: string | undefined;
|
|
556
478
|
amount?: CreateCaptureAmountRequest$Outbound | null | undefined;
|
|
557
|
-
metadata?:
|
|
558
|
-
| CreateCaptureMetadataRequest$Outbound
|
|
559
|
-
| string
|
|
560
|
-
| Array<string>
|
|
561
|
-
| null
|
|
562
|
-
| undefined;
|
|
479
|
+
metadata?: string | { [k: string]: any } | Array<string> | null | undefined;
|
|
563
480
|
};
|
|
564
481
|
|
|
565
482
|
/** @internal */
|
|
@@ -572,11 +489,7 @@ export const CreateCaptureRequestBody$outboundSchema: z.ZodType<
|
|
|
572
489
|
amount: z.nullable(z.lazy(() => CreateCaptureAmountRequest$outboundSchema))
|
|
573
490
|
.optional(),
|
|
574
491
|
metadata: z.nullable(
|
|
575
|
-
z.union([
|
|
576
|
-
z.lazy(() => CreateCaptureMetadataRequest$outboundSchema),
|
|
577
|
-
z.string(),
|
|
578
|
-
z.array(z.string()),
|
|
579
|
-
]),
|
|
492
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
580
493
|
).optional(),
|
|
581
494
|
});
|
|
582
495
|
|
|
@@ -1091,17 +1004,19 @@ export const CreateCaptureMetadataResponse$inboundSchema: z.ZodType<
|
|
|
1091
1004
|
CreateCaptureMetadataResponse,
|
|
1092
1005
|
z.ZodTypeDef,
|
|
1093
1006
|
unknown
|
|
1094
|
-
> = z.
|
|
1007
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
1095
1008
|
|
|
1096
1009
|
/** @internal */
|
|
1097
|
-
export type CreateCaptureMetadataResponse$Outbound = {
|
|
1010
|
+
export type CreateCaptureMetadataResponse$Outbound = string | {
|
|
1011
|
+
[k: string]: any;
|
|
1012
|
+
} | Array<string>;
|
|
1098
1013
|
|
|
1099
1014
|
/** @internal */
|
|
1100
1015
|
export const CreateCaptureMetadataResponse$outboundSchema: z.ZodType<
|
|
1101
1016
|
CreateCaptureMetadataResponse$Outbound,
|
|
1102
1017
|
z.ZodTypeDef,
|
|
1103
1018
|
CreateCaptureMetadataResponse
|
|
1104
|
-
> = z.
|
|
1019
|
+
> = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
1105
1020
|
|
|
1106
1021
|
/**
|
|
1107
1022
|
* @internal
|
|
@@ -1136,69 +1051,6 @@ export function createCaptureMetadataResponseFromJSON(
|
|
|
1136
1051
|
);
|
|
1137
1052
|
}
|
|
1138
1053
|
|
|
1139
|
-
/** @internal */
|
|
1140
|
-
export const CreateCaptureMetadataResponseUnion$inboundSchema: z.ZodType<
|
|
1141
|
-
CreateCaptureMetadataResponseUnion,
|
|
1142
|
-
z.ZodTypeDef,
|
|
1143
|
-
unknown
|
|
1144
|
-
> = z.union([
|
|
1145
|
-
z.lazy(() => CreateCaptureMetadataResponse$inboundSchema),
|
|
1146
|
-
z.string(),
|
|
1147
|
-
z.array(z.string()),
|
|
1148
|
-
]);
|
|
1149
|
-
|
|
1150
|
-
/** @internal */
|
|
1151
|
-
export type CreateCaptureMetadataResponseUnion$Outbound =
|
|
1152
|
-
| CreateCaptureMetadataResponse$Outbound
|
|
1153
|
-
| string
|
|
1154
|
-
| Array<string>;
|
|
1155
|
-
|
|
1156
|
-
/** @internal */
|
|
1157
|
-
export const CreateCaptureMetadataResponseUnion$outboundSchema: z.ZodType<
|
|
1158
|
-
CreateCaptureMetadataResponseUnion$Outbound,
|
|
1159
|
-
z.ZodTypeDef,
|
|
1160
|
-
CreateCaptureMetadataResponseUnion
|
|
1161
|
-
> = z.union([
|
|
1162
|
-
z.lazy(() => CreateCaptureMetadataResponse$outboundSchema),
|
|
1163
|
-
z.string(),
|
|
1164
|
-
z.array(z.string()),
|
|
1165
|
-
]);
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* @internal
|
|
1169
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1170
|
-
*/
|
|
1171
|
-
export namespace CreateCaptureMetadataResponseUnion$ {
|
|
1172
|
-
/** @deprecated use `CreateCaptureMetadataResponseUnion$inboundSchema` instead. */
|
|
1173
|
-
export const inboundSchema = CreateCaptureMetadataResponseUnion$inboundSchema;
|
|
1174
|
-
/** @deprecated use `CreateCaptureMetadataResponseUnion$outboundSchema` instead. */
|
|
1175
|
-
export const outboundSchema =
|
|
1176
|
-
CreateCaptureMetadataResponseUnion$outboundSchema;
|
|
1177
|
-
/** @deprecated use `CreateCaptureMetadataResponseUnion$Outbound` instead. */
|
|
1178
|
-
export type Outbound = CreateCaptureMetadataResponseUnion$Outbound;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
export function createCaptureMetadataResponseUnionToJSON(
|
|
1182
|
-
createCaptureMetadataResponseUnion: CreateCaptureMetadataResponseUnion,
|
|
1183
|
-
): string {
|
|
1184
|
-
return JSON.stringify(
|
|
1185
|
-
CreateCaptureMetadataResponseUnion$outboundSchema.parse(
|
|
1186
|
-
createCaptureMetadataResponseUnion,
|
|
1187
|
-
),
|
|
1188
|
-
);
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
export function createCaptureMetadataResponseUnionFromJSON(
|
|
1192
|
-
jsonString: string,
|
|
1193
|
-
): SafeParseResult<CreateCaptureMetadataResponseUnion, SDKValidationError> {
|
|
1194
|
-
return safeParse(
|
|
1195
|
-
jsonString,
|
|
1196
|
-
(x) =>
|
|
1197
|
-
CreateCaptureMetadataResponseUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1198
|
-
`Failed to parse 'CreateCaptureMetadataResponseUnion' from JSON`,
|
|
1199
|
-
);
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
1054
|
/** @internal */
|
|
1203
1055
|
export const CreateCaptureSelf$inboundSchema: z.ZodType<
|
|
1204
1056
|
CreateCaptureSelf,
|
|
@@ -1570,11 +1422,7 @@ export const CreateCaptureResponse$inboundSchema: z.ZodType<
|
|
|
1570
1422
|
).optional(),
|
|
1571
1423
|
status: CreateCaptureStatus$inboundSchema,
|
|
1572
1424
|
metadata: z.nullable(
|
|
1573
|
-
z.union([
|
|
1574
|
-
z.lazy(() => CreateCaptureMetadataResponse$inboundSchema),
|
|
1575
|
-
z.string(),
|
|
1576
|
-
z.array(z.string()),
|
|
1577
|
-
]),
|
|
1425
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
1578
1426
|
).optional(),
|
|
1579
1427
|
paymentId: z.string(),
|
|
1580
1428
|
shipmentId: z.nullable(z.string()).optional(),
|
|
@@ -1596,12 +1444,7 @@ export type CreateCaptureResponse$Outbound = {
|
|
|
1596
1444
|
amount: CreateCaptureAmountResponse$Outbound | null;
|
|
1597
1445
|
settlementAmount?: CreateCaptureSettlementAmount$Outbound | null | undefined;
|
|
1598
1446
|
status: string;
|
|
1599
|
-
metadata?:
|
|
1600
|
-
| CreateCaptureMetadataResponse$Outbound
|
|
1601
|
-
| string
|
|
1602
|
-
| Array<string>
|
|
1603
|
-
| null
|
|
1604
|
-
| undefined;
|
|
1447
|
+
metadata?: string | { [k: string]: any } | Array<string> | null | undefined;
|
|
1605
1448
|
paymentId: string;
|
|
1606
1449
|
shipmentId?: string | null | undefined;
|
|
1607
1450
|
settlementId?: string | null | undefined;
|
|
@@ -1625,11 +1468,7 @@ export const CreateCaptureResponse$outboundSchema: z.ZodType<
|
|
|
1625
1468
|
).optional(),
|
|
1626
1469
|
status: CreateCaptureStatus$outboundSchema,
|
|
1627
1470
|
metadata: z.nullable(
|
|
1628
|
-
z.union([
|
|
1629
|
-
z.lazy(() => CreateCaptureMetadataResponse$outboundSchema),
|
|
1630
|
-
z.string(),
|
|
1631
|
-
z.array(z.string()),
|
|
1632
|
-
]),
|
|
1471
|
+
z.union([z.string(), z.record(z.any()), z.array(z.string())]),
|
|
1633
1472
|
).optional(),
|
|
1634
1473
|
paymentId: z.string(),
|
|
1635
1474
|
shipmentId: z.nullable(z.string()).optional(),
|