mollie-api-typescript 0.0.5 → 0.0.7
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/README.md +3 -2
- package/bin/mcp-server.js +710 -1292
- package/bin/mcp-server.js.map +31 -31
- package/dist/commonjs/funcs/delayedRoutingList.js +4 -0
- package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
- package/dist/commonjs/funcs/refundsGet.js +1 -1
- package/dist/commonjs/funcs/refundsGet.js.map +1 -1
- package/dist/commonjs/funcs/refundsList.js +1 -1
- package/dist/commonjs/funcs/refundsList.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.d.ts +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.js +2 -5
- package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/errors/listallsubscriptions.d.ts +95 -14
- package/dist/commonjs/models/errors/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/errors/listallsubscriptions.js +80 -14
- package/dist/commonjs/models/errors/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.d.ts +40 -40
- package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.js +40 -48
- package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.d.ts +22 -22
- package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.js +22 -24
- package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/createmandate.d.ts +26 -26
- package/dist/commonjs/models/operations/createmandate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createmandate.js +26 -28
- package/dist/commonjs/models/operations/createmandate.js.map +1 -1
- package/dist/commonjs/models/operations/createrefund.d.ts +7 -7
- package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createrefund.js +8 -10
- package/dist/commonjs/models/operations/createrefund.js.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.d.ts +44 -44
- package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.js +44 -53
- package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +28 -28
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js +28 -30
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getmandate.d.ts +26 -26
- package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmandate.js +26 -27
- package/dist/commonjs/models/operations/getmandate.js.map +1 -1
- package/dist/commonjs/models/operations/getrefund.d.ts +28 -19
- package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getrefund.js +25 -22
- package/dist/commonjs/models/operations/getrefund.js.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.d.ts +40 -40
- package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.js +40 -48
- package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +9 -15
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +8 -10
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +532 -2849
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +345 -1612
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +22 -22
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +22 -22
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +26 -26
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +26 -26
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +28 -19
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +25 -24
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +28 -19
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +25 -22
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +81 -81
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +90 -96
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/paymentcreateroute.d.ts +11 -0
- package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentcreateroute.js +2 -0
- package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts +11 -0
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.js +2 -0
- package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +22 -22
- package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.js +22 -24
- package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.d.ts +40 -40
- package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.js +40 -50
- package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingList.js +5 -1
- package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
- package/dist/esm/funcs/refundsGet.js +1 -1
- package/dist/esm/funcs/refundsGet.js.map +1 -1
- package/dist/esm/funcs/refundsList.js +1 -1
- package/dist/esm/funcs/refundsList.js.map +1 -1
- package/dist/esm/funcs/settlementsListRefunds.js +1 -1
- package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/esm/funcs/subscriptionsAll.d.ts +1 -1
- package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsAll.js +2 -5
- package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/errors/listallsubscriptions.d.ts +95 -14
- package/dist/esm/models/errors/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/errors/listallsubscriptions.js +77 -12
- package/dist/esm/models/errors/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.d.ts +40 -40
- package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.js +40 -48
- package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
- package/dist/esm/models/operations/createcustomer.d.ts +22 -22
- package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomer.js +22 -24
- package/dist/esm/models/operations/createcustomer.js.map +1 -1
- package/dist/esm/models/operations/createmandate.d.ts +26 -26
- package/dist/esm/models/operations/createmandate.d.ts.map +1 -1
- package/dist/esm/models/operations/createmandate.js +26 -28
- package/dist/esm/models/operations/createmandate.js.map +1 -1
- package/dist/esm/models/operations/createrefund.d.ts +7 -7
- package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
- package/dist/esm/models/operations/createrefund.js +8 -10
- package/dist/esm/models/operations/createrefund.js.map +1 -1
- package/dist/esm/models/operations/createsubscription.d.ts +44 -44
- package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/createsubscription.js +44 -53
- package/dist/esm/models/operations/createsubscription.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +28 -28
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js +28 -30
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/operations/getmandate.d.ts +26 -26
- package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
- package/dist/esm/models/operations/getmandate.js +26 -27
- package/dist/esm/models/operations/getmandate.js.map +1 -1
- package/dist/esm/models/operations/getrefund.d.ts +28 -19
- package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
- package/dist/esm/models/operations/getrefund.js +24 -21
- package/dist/esm/models/operations/getrefund.js.map +1 -1
- package/dist/esm/models/operations/getsubscription.d.ts +40 -40
- package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/getsubscription.js +40 -48
- package/dist/esm/models/operations/getsubscription.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +9 -15
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +8 -10
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +532 -2849
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +325 -1533
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +22 -22
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +22 -22
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +26 -26
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +26 -26
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +28 -19
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +24 -23
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +28 -19
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +24 -21
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +81 -81
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +83 -89
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/paymentcreateroute.d.ts +11 -0
- package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentcreateroute.js +2 -0
- package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.d.ts +11 -0
- package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.js +2 -0
- package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +22 -22
- package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/updatecustomer.js +22 -24
- package/dist/esm/models/operations/updatecustomer.js.map +1 -1
- package/dist/esm/models/operations/updatesubscription.d.ts +40 -40
- package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/updatesubscription.js +40 -50
- package/dist/esm/models/operations/updatesubscription.js.map +1 -1
- package/docs/sdks/delayedrouting/README.md +4 -0
- package/docs/sdks/refunds/README.md +4 -4
- package/docs/sdks/settlements/README.md +2 -2
- package/docs/sdks/subscriptions/README.md +5 -4
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/delayedRoutingList.ts +6 -1
- package/src/funcs/refundsGet.ts +1 -1
- package/src/funcs/refundsList.ts +1 -1
- package/src/funcs/settlementsListRefunds.ts +1 -1
- package/src/funcs/subscriptionsAll.ts +17 -8
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/errors/listallsubscriptions.ts +173 -23
- package/src/models/operations/cancelsubscription.ts +80 -98
- package/src/models/operations/createcustomer.ts +45 -53
- package/src/models/operations/createmandate.ts +52 -54
- package/src/models/operations/createrefund.ts +15 -17
- package/src/models/operations/createsubscription.ts +89 -104
- package/src/models/operations/getcustomer.ts +56 -63
- package/src/models/operations/getmandate.ts +52 -53
- package/src/models/operations/getrefund.ts +44 -35
- package/src/models/operations/getsubscription.ts +80 -98
- package/src/models/operations/listallrefunds.ts +17 -25
- package/src/models/operations/listallsubscriptions.ts +894 -4395
- package/src/models/operations/listcustomers.ts +44 -49
- package/src/models/operations/listmandates.ts +52 -52
- package/src/models/operations/listrefunds.ts +44 -37
- package/src/models/operations/listsettlementrefunds.ts +45 -36
- package/src/models/operations/listsubscriptions.ts +181 -176
- package/src/models/operations/paymentcreateroute.ts +13 -0
- package/src/models/operations/paymentlistroutes.ts +13 -0
- package/src/models/operations/updatecustomer.ts +45 -53
- package/src/models/operations/updatesubscription.ts +81 -97
|
@@ -36,103 +36,44 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.ListAllSubscriptionsDashboard$ = exports.ListAllSubscriptionsDashboard$outboundSchema = exports.ListAllSubscriptionsDashboard$inboundSchema = exports.ListAllSubscriptionsChangePaymentState$ = exports.ListAllSubscriptionsChangePaymentState$outboundSchema = exports.ListAllSubscriptionsChangePaymentState$inboundSchema = exports.ListAllSubscriptionsMobileAppCheckout$ = exports.ListAllSubscriptionsMobileAppCheckout$outboundSchema = exports.ListAllSubscriptionsMobileAppCheckout$inboundSchema = exports.ListAllSubscriptionsCheckout$ = exports.ListAllSubscriptionsCheckout$outboundSchema = exports.ListAllSubscriptionsCheckout$inboundSchema = exports.ListAllSubscriptionsPaymentSelf$ = exports.ListAllSubscriptionsPaymentSelf$outboundSchema = exports.ListAllSubscriptionsPaymentSelf$inboundSchema = exports.ListAllSubscriptionsStatusReason$ = exports.ListAllSubscriptionsStatusReason$outboundSchema = exports.ListAllSubscriptionsStatusReason$inboundSchema = exports.ListAllSubscriptionsStatus$ = exports.ListAllSubscriptionsStatus$outboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema = exports.ListAllSubscriptionsSequenceType$ = exports.ListAllSubscriptionsSequenceType$outboundSchema = exports.ListAllSubscriptionsSequenceType$inboundSchema = exports.ListAllSubscriptionsRouting$ = exports.ListAllSubscriptionsRouting$outboundSchema = exports.ListAllSubscriptionsRouting$inboundSchema = exports.ListAllSubscriptionsRoutingLinks$ = exports.ListAllSubscriptionsRoutingLinks$outboundSchema = exports.ListAllSubscriptionsRoutingLinks$inboundSchema = exports.ListAllSubscriptionsRoutingPayment$ = exports.ListAllSubscriptionsRoutingPayment$outboundSchema = exports.ListAllSubscriptionsRoutingPayment$inboundSchema = exports.ListAllSubscriptionsRoutingSelf$ = exports.ListAllSubscriptionsRoutingSelf$outboundSchema = exports.ListAllSubscriptionsRoutingSelf$inboundSchema = exports.ListAllSubscriptionsDestination$ = exports.ListAllSubscriptionsDestination$outboundSchema = exports.ListAllSubscriptionsDestination$inboundSchema = exports.ListAllSubscriptionsRoutingType$ = exports.ListAllSubscriptionsRoutingType$outboundSchema = exports.ListAllSubscriptionsRoutingType$inboundSchema = exports.ListAllSubscriptionsRoutingAmount$ = exports.ListAllSubscriptionsRoutingAmount$outboundSchema = exports.ListAllSubscriptionsRoutingAmount$inboundSchema = exports.ListAllSubscriptionsRoutingMode$ = exports.ListAllSubscriptionsRoutingMode$outboundSchema = exports.ListAllSubscriptionsRoutingMode$inboundSchema = exports.ListAllSubscriptionsApplicationFee$ = exports.ListAllSubscriptionsApplicationFee$outboundSchema = void 0;
|
|
42
|
-
exports.ListAllSubscriptionsDocumentation$outboundSchema = exports.ListAllSubscriptionsDocumentation$inboundSchema = exports.ListAllSubscriptionsNext$ = exports.ListAllSubscriptionsNext$outboundSchema = exports.ListAllSubscriptionsNext$inboundSchema = exports.ListAllSubscriptionsPrevious$ = exports.ListAllSubscriptionsPrevious$outboundSchema = exports.ListAllSubscriptionsPrevious$inboundSchema = exports.ListAllSubscriptionsSelf$ = exports.ListAllSubscriptionsSelf$outboundSchema = exports.ListAllSubscriptionsSelf$inboundSchema = exports.ListAllSubscriptionsEmbedded$ = exports.ListAllSubscriptionsEmbedded$outboundSchema = exports.ListAllSubscriptionsEmbedded$inboundSchema = exports.ListAllSubscriptionsPaymentOutput$ = exports.ListAllSubscriptionsPaymentOutput$outboundSchema = exports.ListAllSubscriptionsPaymentOutput$inboundSchema = exports.ListAllSubscriptionsPaymentLinks$ = exports.ListAllSubscriptionsPaymentLinks$outboundSchema = exports.ListAllSubscriptionsPaymentLinks$inboundSchema = exports.ListAllSubscriptionsPaymentDocumentation$ = exports.ListAllSubscriptionsPaymentDocumentation$outboundSchema = exports.ListAllSubscriptionsPaymentDocumentation$inboundSchema = exports.ListAllSubscriptionsTerminal$ = exports.ListAllSubscriptionsTerminal$outboundSchema = exports.ListAllSubscriptionsTerminal$inboundSchema = exports.ListAllSubscriptionsOrder$ = exports.ListAllSubscriptionsOrder$outboundSchema = exports.ListAllSubscriptionsOrder$inboundSchema = exports.ListAllSubscriptionsSubscription$ = exports.ListAllSubscriptionsSubscription$outboundSchema = exports.ListAllSubscriptionsSubscription$inboundSchema = exports.ListAllSubscriptionsMandate$ = exports.ListAllSubscriptionsMandate$outboundSchema = exports.ListAllSubscriptionsMandate$inboundSchema = exports.ListAllSubscriptionsCustomer$ = exports.ListAllSubscriptionsCustomer$outboundSchema = exports.ListAllSubscriptionsCustomer$inboundSchema = exports.ListAllSubscriptionsSettlement$ = exports.ListAllSubscriptionsSettlement$outboundSchema = exports.ListAllSubscriptionsSettlement$inboundSchema = exports.ListAllSubscriptionsCaptures$ = exports.ListAllSubscriptionsCaptures$outboundSchema = exports.ListAllSubscriptionsCaptures$inboundSchema = exports.ListAllSubscriptionsChargebacks$ = exports.ListAllSubscriptionsChargebacks$outboundSchema = exports.ListAllSubscriptionsChargebacks$inboundSchema = exports.ListAllSubscriptionsRefunds$ = exports.ListAllSubscriptionsRefunds$outboundSchema = exports.ListAllSubscriptionsRefunds$inboundSchema = void 0;
|
|
43
|
-
exports.ListAllSubscriptionsResponse$ = exports.ListAllSubscriptionsResponse$outboundSchema = exports.ListAllSubscriptionsResponse$inboundSchema = exports.ListAllSubscriptionsLinks$ = exports.ListAllSubscriptionsLinks$outboundSchema = exports.ListAllSubscriptionsLinks$inboundSchema = exports.ListAllSubscriptionsDocumentation$ = void 0;
|
|
39
|
+
exports.ListAllSubscriptionsCustomer$inboundSchema = exports.ListAllSubscriptionsSubscriptionSelf$ = exports.ListAllSubscriptionsSubscriptionSelf$outboundSchema = exports.ListAllSubscriptionsSubscriptionSelf$inboundSchema = exports.ListAllSubscriptionsMetadataUnion$ = exports.ListAllSubscriptionsMetadataUnion$outboundSchema = exports.ListAllSubscriptionsMetadataUnion$inboundSchema = exports.ListAllSubscriptionsMetadata$ = exports.ListAllSubscriptionsMetadata$outboundSchema = exports.ListAllSubscriptionsMetadata$inboundSchema = exports.ListAllSubscriptionsApplicationFee$ = exports.ListAllSubscriptionsApplicationFee$outboundSchema = exports.ListAllSubscriptionsApplicationFee$inboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$ = exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema = exports.ListAllSubscriptionsMethod$ = exports.ListAllSubscriptionsMethod$outboundSchema = exports.ListAllSubscriptionsMethod$inboundSchema = exports.ListAllSubscriptionsInterval$ = exports.ListAllSubscriptionsInterval$outboundSchema = exports.ListAllSubscriptionsInterval$inboundSchema = exports.ListAllSubscriptionsAmount$ = exports.ListAllSubscriptionsAmount$outboundSchema = exports.ListAllSubscriptionsAmount$inboundSchema = exports.ListAllSubscriptionsStatus$ = exports.ListAllSubscriptionsStatus$outboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema = exports.ListAllSubscriptionsMode$ = exports.ListAllSubscriptionsMode$outboundSchema = exports.ListAllSubscriptionsMode$inboundSchema = exports.ListAllSubscriptionsBadRequestLinks$ = exports.ListAllSubscriptionsBadRequestLinks$outboundSchema = exports.ListAllSubscriptionsBadRequestLinks$inboundSchema = exports.ListAllSubscriptionsBadRequestDocumentation$ = exports.ListAllSubscriptionsBadRequestDocumentation$outboundSchema = exports.ListAllSubscriptionsBadRequestDocumentation$inboundSchema = exports.ListAllSubscriptionsNotFoundLinks$ = exports.ListAllSubscriptionsNotFoundLinks$outboundSchema = exports.ListAllSubscriptionsNotFoundLinks$inboundSchema = exports.ListAllSubscriptionsNotFoundDocumentation$ = exports.ListAllSubscriptionsNotFoundDocumentation$outboundSchema = exports.ListAllSubscriptionsNotFoundDocumentation$inboundSchema = exports.ListAllSubscriptionsRequest$ = exports.ListAllSubscriptionsRequest$outboundSchema = exports.ListAllSubscriptionsRequest$inboundSchema = exports.ListAllSubscriptionsMethod = exports.ListAllSubscriptionsInterval = exports.ListAllSubscriptionsStatus = exports.ListAllSubscriptionsMode = void 0;
|
|
40
|
+
exports.ListAllSubscriptionsResponse$ = exports.ListAllSubscriptionsResponse$outboundSchema = exports.ListAllSubscriptionsResponse$inboundSchema = exports.ListAllSubscriptionsLinks$ = exports.ListAllSubscriptionsLinks$outboundSchema = exports.ListAllSubscriptionsLinks$inboundSchema = exports.ListAllSubscriptionsDocumentation$ = exports.ListAllSubscriptionsDocumentation$outboundSchema = exports.ListAllSubscriptionsDocumentation$inboundSchema = exports.ListAllSubscriptionsNext$ = exports.ListAllSubscriptionsNext$outboundSchema = exports.ListAllSubscriptionsNext$inboundSchema = exports.ListAllSubscriptionsPrevious$ = exports.ListAllSubscriptionsPrevious$outboundSchema = exports.ListAllSubscriptionsPrevious$inboundSchema = exports.ListAllSubscriptionsSelf$ = exports.ListAllSubscriptionsSelf$outboundSchema = exports.ListAllSubscriptionsSelf$inboundSchema = exports.ListAllSubscriptionsEmbedded$ = exports.ListAllSubscriptionsEmbedded$outboundSchema = exports.ListAllSubscriptionsEmbedded$inboundSchema = exports.ListAllSubscriptionsSubscription$ = exports.ListAllSubscriptionsSubscription$outboundSchema = exports.ListAllSubscriptionsSubscription$inboundSchema = exports.ListAllSubscriptionsSubscriptionLinks$ = exports.ListAllSubscriptionsSubscriptionLinks$outboundSchema = exports.ListAllSubscriptionsSubscriptionLinks$inboundSchema = exports.ListAllSubscriptionsSubscriptionDocumentation$ = exports.ListAllSubscriptionsSubscriptionDocumentation$outboundSchema = exports.ListAllSubscriptionsSubscriptionDocumentation$inboundSchema = exports.ListAllSubscriptionsPayments$ = exports.ListAllSubscriptionsPayments$outboundSchema = exports.ListAllSubscriptionsPayments$inboundSchema = exports.ListAllSubscriptionsProfile$ = exports.ListAllSubscriptionsProfile$outboundSchema = exports.ListAllSubscriptionsProfile$inboundSchema = exports.ListAllSubscriptionsMandate$ = exports.ListAllSubscriptionsMandate$outboundSchema = exports.ListAllSubscriptionsMandate$inboundSchema = exports.ListAllSubscriptionsCustomer$ = exports.ListAllSubscriptionsCustomer$outboundSchema = void 0;
|
|
44
41
|
exports.listAllSubscriptionsRequestToJSON = listAllSubscriptionsRequestToJSON;
|
|
45
42
|
exports.listAllSubscriptionsRequestFromJSON = listAllSubscriptionsRequestFromJSON;
|
|
43
|
+
exports.listAllSubscriptionsNotFoundDocumentationToJSON = listAllSubscriptionsNotFoundDocumentationToJSON;
|
|
44
|
+
exports.listAllSubscriptionsNotFoundDocumentationFromJSON = listAllSubscriptionsNotFoundDocumentationFromJSON;
|
|
45
|
+
exports.listAllSubscriptionsNotFoundLinksToJSON = listAllSubscriptionsNotFoundLinksToJSON;
|
|
46
|
+
exports.listAllSubscriptionsNotFoundLinksFromJSON = listAllSubscriptionsNotFoundLinksFromJSON;
|
|
46
47
|
exports.listAllSubscriptionsBadRequestDocumentationToJSON = listAllSubscriptionsBadRequestDocumentationToJSON;
|
|
47
48
|
exports.listAllSubscriptionsBadRequestDocumentationFromJSON = listAllSubscriptionsBadRequestDocumentationFromJSON;
|
|
48
49
|
exports.listAllSubscriptionsBadRequestLinksToJSON = listAllSubscriptionsBadRequestLinksToJSON;
|
|
49
50
|
exports.listAllSubscriptionsBadRequestLinksFromJSON = listAllSubscriptionsBadRequestLinksFromJSON;
|
|
50
51
|
exports.listAllSubscriptionsAmountToJSON = listAllSubscriptionsAmountToJSON;
|
|
51
52
|
exports.listAllSubscriptionsAmountFromJSON = listAllSubscriptionsAmountFromJSON;
|
|
52
|
-
exports.listAllSubscriptionsAmountRefundedToJSON = listAllSubscriptionsAmountRefundedToJSON;
|
|
53
|
-
exports.listAllSubscriptionsAmountRefundedFromJSON = listAllSubscriptionsAmountRefundedFromJSON;
|
|
54
|
-
exports.listAllSubscriptionsAmountRemainingToJSON = listAllSubscriptionsAmountRemainingToJSON;
|
|
55
|
-
exports.listAllSubscriptionsAmountRemainingFromJSON = listAllSubscriptionsAmountRemainingFromJSON;
|
|
56
|
-
exports.listAllSubscriptionsAmountCapturedToJSON = listAllSubscriptionsAmountCapturedToJSON;
|
|
57
|
-
exports.listAllSubscriptionsAmountCapturedFromJSON = listAllSubscriptionsAmountCapturedFromJSON;
|
|
58
|
-
exports.listAllSubscriptionsAmountChargedBackToJSON = listAllSubscriptionsAmountChargedBackToJSON;
|
|
59
|
-
exports.listAllSubscriptionsAmountChargedBackFromJSON = listAllSubscriptionsAmountChargedBackFromJSON;
|
|
60
|
-
exports.listAllSubscriptionsSettlementAmountToJSON = listAllSubscriptionsSettlementAmountToJSON;
|
|
61
|
-
exports.listAllSubscriptionsSettlementAmountFromJSON = listAllSubscriptionsSettlementAmountFromJSON;
|
|
62
|
-
exports.listAllSubscriptionsUnitPriceToJSON = listAllSubscriptionsUnitPriceToJSON;
|
|
63
|
-
exports.listAllSubscriptionsUnitPriceFromJSON = listAllSubscriptionsUnitPriceFromJSON;
|
|
64
|
-
exports.listAllSubscriptionsDiscountAmountToJSON = listAllSubscriptionsDiscountAmountToJSON;
|
|
65
|
-
exports.listAllSubscriptionsDiscountAmountFromJSON = listAllSubscriptionsDiscountAmountFromJSON;
|
|
66
|
-
exports.listAllSubscriptionsTotalAmountToJSON = listAllSubscriptionsTotalAmountToJSON;
|
|
67
|
-
exports.listAllSubscriptionsTotalAmountFromJSON = listAllSubscriptionsTotalAmountFromJSON;
|
|
68
|
-
exports.listAllSubscriptionsVatAmountToJSON = listAllSubscriptionsVatAmountToJSON;
|
|
69
|
-
exports.listAllSubscriptionsVatAmountFromJSON = listAllSubscriptionsVatAmountFromJSON;
|
|
70
|
-
exports.listAllSubscriptionsRecurringAmountToJSON = listAllSubscriptionsRecurringAmountToJSON;
|
|
71
|
-
exports.listAllSubscriptionsRecurringAmountFromJSON = listAllSubscriptionsRecurringAmountFromJSON;
|
|
72
|
-
exports.listAllSubscriptionsRecurringToJSON = listAllSubscriptionsRecurringToJSON;
|
|
73
|
-
exports.listAllSubscriptionsRecurringFromJSON = listAllSubscriptionsRecurringFromJSON;
|
|
74
|
-
exports.listAllSubscriptionsLineToJSON = listAllSubscriptionsLineToJSON;
|
|
75
|
-
exports.listAllSubscriptionsLineFromJSON = listAllSubscriptionsLineFromJSON;
|
|
76
|
-
exports.listAllSubscriptionsBillingAddressToJSON = listAllSubscriptionsBillingAddressToJSON;
|
|
77
|
-
exports.listAllSubscriptionsBillingAddressFromJSON = listAllSubscriptionsBillingAddressFromJSON;
|
|
78
|
-
exports.listAllSubscriptionsShippingAddressToJSON = listAllSubscriptionsShippingAddressToJSON;
|
|
79
|
-
exports.listAllSubscriptionsShippingAddressFromJSON = listAllSubscriptionsShippingAddressFromJSON;
|
|
80
|
-
exports.listAllSubscriptionsMetadataToJSON = listAllSubscriptionsMetadataToJSON;
|
|
81
|
-
exports.listAllSubscriptionsMetadataFromJSON = listAllSubscriptionsMetadataFromJSON;
|
|
82
|
-
exports.listAllSubscriptionsMetadataUnionToJSON = listAllSubscriptionsMetadataUnionToJSON;
|
|
83
|
-
exports.listAllSubscriptionsMetadataUnionFromJSON = listAllSubscriptionsMetadataUnionFromJSON;
|
|
84
53
|
exports.listAllSubscriptionsApplicationFeeAmountToJSON = listAllSubscriptionsApplicationFeeAmountToJSON;
|
|
85
54
|
exports.listAllSubscriptionsApplicationFeeAmountFromJSON = listAllSubscriptionsApplicationFeeAmountFromJSON;
|
|
86
55
|
exports.listAllSubscriptionsApplicationFeeToJSON = listAllSubscriptionsApplicationFeeToJSON;
|
|
87
56
|
exports.listAllSubscriptionsApplicationFeeFromJSON = listAllSubscriptionsApplicationFeeFromJSON;
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.listAllSubscriptionsRoutingPaymentToJSON = listAllSubscriptionsRoutingPaymentToJSON;
|
|
95
|
-
exports.listAllSubscriptionsRoutingPaymentFromJSON = listAllSubscriptionsRoutingPaymentFromJSON;
|
|
96
|
-
exports.listAllSubscriptionsRoutingLinksToJSON = listAllSubscriptionsRoutingLinksToJSON;
|
|
97
|
-
exports.listAllSubscriptionsRoutingLinksFromJSON = listAllSubscriptionsRoutingLinksFromJSON;
|
|
98
|
-
exports.listAllSubscriptionsRoutingToJSON = listAllSubscriptionsRoutingToJSON;
|
|
99
|
-
exports.listAllSubscriptionsRoutingFromJSON = listAllSubscriptionsRoutingFromJSON;
|
|
100
|
-
exports.listAllSubscriptionsStatusReasonToJSON = listAllSubscriptionsStatusReasonToJSON;
|
|
101
|
-
exports.listAllSubscriptionsStatusReasonFromJSON = listAllSubscriptionsStatusReasonFromJSON;
|
|
102
|
-
exports.listAllSubscriptionsPaymentSelfToJSON = listAllSubscriptionsPaymentSelfToJSON;
|
|
103
|
-
exports.listAllSubscriptionsPaymentSelfFromJSON = listAllSubscriptionsPaymentSelfFromJSON;
|
|
104
|
-
exports.listAllSubscriptionsCheckoutToJSON = listAllSubscriptionsCheckoutToJSON;
|
|
105
|
-
exports.listAllSubscriptionsCheckoutFromJSON = listAllSubscriptionsCheckoutFromJSON;
|
|
106
|
-
exports.listAllSubscriptionsMobileAppCheckoutToJSON = listAllSubscriptionsMobileAppCheckoutToJSON;
|
|
107
|
-
exports.listAllSubscriptionsMobileAppCheckoutFromJSON = listAllSubscriptionsMobileAppCheckoutFromJSON;
|
|
108
|
-
exports.listAllSubscriptionsChangePaymentStateToJSON = listAllSubscriptionsChangePaymentStateToJSON;
|
|
109
|
-
exports.listAllSubscriptionsChangePaymentStateFromJSON = listAllSubscriptionsChangePaymentStateFromJSON;
|
|
110
|
-
exports.listAllSubscriptionsDashboardToJSON = listAllSubscriptionsDashboardToJSON;
|
|
111
|
-
exports.listAllSubscriptionsDashboardFromJSON = listAllSubscriptionsDashboardFromJSON;
|
|
112
|
-
exports.listAllSubscriptionsRefundsToJSON = listAllSubscriptionsRefundsToJSON;
|
|
113
|
-
exports.listAllSubscriptionsRefundsFromJSON = listAllSubscriptionsRefundsFromJSON;
|
|
114
|
-
exports.listAllSubscriptionsChargebacksToJSON = listAllSubscriptionsChargebacksToJSON;
|
|
115
|
-
exports.listAllSubscriptionsChargebacksFromJSON = listAllSubscriptionsChargebacksFromJSON;
|
|
116
|
-
exports.listAllSubscriptionsCapturesToJSON = listAllSubscriptionsCapturesToJSON;
|
|
117
|
-
exports.listAllSubscriptionsCapturesFromJSON = listAllSubscriptionsCapturesFromJSON;
|
|
118
|
-
exports.listAllSubscriptionsSettlementToJSON = listAllSubscriptionsSettlementToJSON;
|
|
119
|
-
exports.listAllSubscriptionsSettlementFromJSON = listAllSubscriptionsSettlementFromJSON;
|
|
57
|
+
exports.listAllSubscriptionsMetadataToJSON = listAllSubscriptionsMetadataToJSON;
|
|
58
|
+
exports.listAllSubscriptionsMetadataFromJSON = listAllSubscriptionsMetadataFromJSON;
|
|
59
|
+
exports.listAllSubscriptionsMetadataUnionToJSON = listAllSubscriptionsMetadataUnionToJSON;
|
|
60
|
+
exports.listAllSubscriptionsMetadataUnionFromJSON = listAllSubscriptionsMetadataUnionFromJSON;
|
|
61
|
+
exports.listAllSubscriptionsSubscriptionSelfToJSON = listAllSubscriptionsSubscriptionSelfToJSON;
|
|
62
|
+
exports.listAllSubscriptionsSubscriptionSelfFromJSON = listAllSubscriptionsSubscriptionSelfFromJSON;
|
|
120
63
|
exports.listAllSubscriptionsCustomerToJSON = listAllSubscriptionsCustomerToJSON;
|
|
121
64
|
exports.listAllSubscriptionsCustomerFromJSON = listAllSubscriptionsCustomerFromJSON;
|
|
122
65
|
exports.listAllSubscriptionsMandateToJSON = listAllSubscriptionsMandateToJSON;
|
|
123
66
|
exports.listAllSubscriptionsMandateFromJSON = listAllSubscriptionsMandateFromJSON;
|
|
67
|
+
exports.listAllSubscriptionsProfileToJSON = listAllSubscriptionsProfileToJSON;
|
|
68
|
+
exports.listAllSubscriptionsProfileFromJSON = listAllSubscriptionsProfileFromJSON;
|
|
69
|
+
exports.listAllSubscriptionsPaymentsToJSON = listAllSubscriptionsPaymentsToJSON;
|
|
70
|
+
exports.listAllSubscriptionsPaymentsFromJSON = listAllSubscriptionsPaymentsFromJSON;
|
|
71
|
+
exports.listAllSubscriptionsSubscriptionDocumentationToJSON = listAllSubscriptionsSubscriptionDocumentationToJSON;
|
|
72
|
+
exports.listAllSubscriptionsSubscriptionDocumentationFromJSON = listAllSubscriptionsSubscriptionDocumentationFromJSON;
|
|
73
|
+
exports.listAllSubscriptionsSubscriptionLinksToJSON = listAllSubscriptionsSubscriptionLinksToJSON;
|
|
74
|
+
exports.listAllSubscriptionsSubscriptionLinksFromJSON = listAllSubscriptionsSubscriptionLinksFromJSON;
|
|
124
75
|
exports.listAllSubscriptionsSubscriptionToJSON = listAllSubscriptionsSubscriptionToJSON;
|
|
125
76
|
exports.listAllSubscriptionsSubscriptionFromJSON = listAllSubscriptionsSubscriptionFromJSON;
|
|
126
|
-
exports.listAllSubscriptionsOrderToJSON = listAllSubscriptionsOrderToJSON;
|
|
127
|
-
exports.listAllSubscriptionsOrderFromJSON = listAllSubscriptionsOrderFromJSON;
|
|
128
|
-
exports.listAllSubscriptionsTerminalToJSON = listAllSubscriptionsTerminalToJSON;
|
|
129
|
-
exports.listAllSubscriptionsTerminalFromJSON = listAllSubscriptionsTerminalFromJSON;
|
|
130
|
-
exports.listAllSubscriptionsPaymentDocumentationToJSON = listAllSubscriptionsPaymentDocumentationToJSON;
|
|
131
|
-
exports.listAllSubscriptionsPaymentDocumentationFromJSON = listAllSubscriptionsPaymentDocumentationFromJSON;
|
|
132
|
-
exports.listAllSubscriptionsPaymentLinksToJSON = listAllSubscriptionsPaymentLinksToJSON;
|
|
133
|
-
exports.listAllSubscriptionsPaymentLinksFromJSON = listAllSubscriptionsPaymentLinksFromJSON;
|
|
134
|
-
exports.listAllSubscriptionsPaymentOutputToJSON = listAllSubscriptionsPaymentOutputToJSON;
|
|
135
|
-
exports.listAllSubscriptionsPaymentOutputFromJSON = listAllSubscriptionsPaymentOutputFromJSON;
|
|
136
77
|
exports.listAllSubscriptionsEmbeddedToJSON = listAllSubscriptionsEmbeddedToJSON;
|
|
137
78
|
exports.listAllSubscriptionsEmbeddedFromJSON = listAllSubscriptionsEmbeddedFromJSON;
|
|
138
79
|
exports.listAllSubscriptionsSelfToJSON = listAllSubscriptionsSelfToJSON;
|
|
@@ -150,16 +91,6 @@ exports.listAllSubscriptionsResponseFromJSON = listAllSubscriptionsResponseFromJ
|
|
|
150
91
|
const z = __importStar(require("zod"));
|
|
151
92
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
152
93
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
153
|
-
/**
|
|
154
|
-
* Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
|
|
155
|
-
*
|
|
156
|
-
* @remarks
|
|
157
|
-
* newest to oldest.
|
|
158
|
-
*/
|
|
159
|
-
exports.ListAllSubscriptionsSort = {
|
|
160
|
-
Asc: "asc",
|
|
161
|
-
Desc: "desc",
|
|
162
|
-
};
|
|
163
94
|
/**
|
|
164
95
|
* Whether this entity was created in live mode or in test mode.
|
|
165
96
|
*/
|
|
@@ -168,209 +99,50 @@ exports.ListAllSubscriptionsMode = {
|
|
|
168
99
|
Test: "test",
|
|
169
100
|
};
|
|
170
101
|
/**
|
|
171
|
-
* The
|
|
102
|
+
* The subscription's current status is directly related to the status of the underlying customer or mandate that is
|
|
172
103
|
*
|
|
173
104
|
* @remarks
|
|
174
|
-
*
|
|
175
|
-
* The `tip` payment line type is not available when creating a payment.
|
|
176
|
-
*/
|
|
177
|
-
exports.ListAllSubscriptionsLineType = {
|
|
178
|
-
Physical: "physical",
|
|
179
|
-
Digital: "digital",
|
|
180
|
-
ShippingFee: "shipping_fee",
|
|
181
|
-
Discount: "discount",
|
|
182
|
-
StoreCredit: "store_credit",
|
|
183
|
-
GiftCard: "gift_card",
|
|
184
|
-
Surcharge: "surcharge",
|
|
185
|
-
Tip: "tip",
|
|
186
|
-
};
|
|
187
|
-
exports.ListAllSubscriptionsCategory = {
|
|
188
|
-
Meal: "meal",
|
|
189
|
-
Eco: "eco",
|
|
190
|
-
Gift: "gift",
|
|
191
|
-
SportCulture: "sport_culture",
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
|
|
105
|
+
* enabling the subscription.
|
|
195
106
|
*/
|
|
196
|
-
exports.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
107
|
+
exports.ListAllSubscriptionsStatus = {
|
|
108
|
+
Pending: "pending",
|
|
109
|
+
Active: "active",
|
|
110
|
+
Canceled: "canceled",
|
|
111
|
+
Suspended: "suspended",
|
|
112
|
+
Completed: "completed",
|
|
200
113
|
};
|
|
201
114
|
/**
|
|
202
|
-
*
|
|
115
|
+
* Interval to wait between payments, for example `1 month` or `14 days`.
|
|
203
116
|
*
|
|
204
117
|
* @remarks
|
|
205
|
-
* is highly recommended and will greatly improve your conversion rate. When this parameter is omitted the browser
|
|
206
|
-
* language will be used instead if supported by the payment method. You can provide any `xx_XX` format ISO 15897
|
|
207
|
-
* locale, but our hosted payment pages currently only support the specified languages.
|
|
208
118
|
*
|
|
209
|
-
*
|
|
210
|
-
* transfer the money to. We have dedicated bank accounts for Belgium, Germany, and The Netherlands. Having the
|
|
211
|
-
* customer use a local bank account greatly increases the conversion and speed of payment.
|
|
119
|
+
* The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`).
|
|
212
120
|
*/
|
|
213
|
-
exports.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
NlBE: "nl_BE",
|
|
218
|
-
DEDE: "de_DE",
|
|
219
|
-
DeAT: "de_AT",
|
|
220
|
-
DeCH: "de_CH",
|
|
221
|
-
FRFR: "fr_FR",
|
|
222
|
-
FrBE: "fr_BE",
|
|
223
|
-
ESES: "es_ES",
|
|
224
|
-
CaES: "ca_ES",
|
|
225
|
-
PTPT: "pt_PT",
|
|
226
|
-
ITIT: "it_IT",
|
|
227
|
-
NbNO: "nb_NO",
|
|
228
|
-
SvSE: "sv_SE",
|
|
229
|
-
FIFI: "fi_FI",
|
|
230
|
-
DaDK: "da_DK",
|
|
231
|
-
ISIS: "is_IS",
|
|
232
|
-
HUHU: "hu_HU",
|
|
233
|
-
PLPL: "pl_PL",
|
|
234
|
-
LVLV: "lv_LV",
|
|
235
|
-
LTLT: "lt_LT",
|
|
121
|
+
exports.ListAllSubscriptionsInterval = {
|
|
122
|
+
DotDotDotDays: "... days",
|
|
123
|
+
DotDotDotWeeks: "... weeks",
|
|
124
|
+
DotDotDotMonths: "... months",
|
|
236
125
|
};
|
|
237
126
|
/**
|
|
238
|
-
* The payment method used for this
|
|
239
|
-
*
|
|
240
|
-
* @remarks
|
|
241
|
-
* this field reflects that choice.
|
|
127
|
+
* The payment method used for this subscription. If omitted, any of the customer's valid mandates may be used.
|
|
242
128
|
*/
|
|
243
129
|
exports.ListAllSubscriptionsMethod = {
|
|
244
|
-
Alma: "alma",
|
|
245
|
-
Applepay: "applepay",
|
|
246
|
-
Bacs: "bacs",
|
|
247
|
-
Bancomatpay: "bancomatpay",
|
|
248
|
-
Bancontact: "bancontact",
|
|
249
|
-
Banktransfer: "banktransfer",
|
|
250
|
-
Belfius: "belfius",
|
|
251
|
-
Billie: "billie",
|
|
252
|
-
Bizum: "bizum",
|
|
253
|
-
Blik: "blik",
|
|
254
130
|
Creditcard: "creditcard",
|
|
255
131
|
Directdebit: "directdebit",
|
|
256
|
-
Eps: "eps",
|
|
257
|
-
Giftcard: "giftcard",
|
|
258
|
-
Ideal: "ideal",
|
|
259
|
-
In3: "in3",
|
|
260
|
-
Kbc: "kbc",
|
|
261
|
-
Klarna: "klarna",
|
|
262
|
-
Klarnapaylater: "klarnapaylater",
|
|
263
|
-
Klarnapaynow: "klarnapaynow",
|
|
264
|
-
Klarnasliceit: "klarnasliceit",
|
|
265
|
-
Mbway: "mbway",
|
|
266
|
-
Multibanco: "multibanco",
|
|
267
|
-
Mybank: "mybank",
|
|
268
|
-
Paybybank: "paybybank",
|
|
269
|
-
Payconiq: "payconiq",
|
|
270
132
|
Paypal: "paypal",
|
|
271
|
-
Paysafecard: "paysafecard",
|
|
272
|
-
Pointofsale: "pointofsale",
|
|
273
|
-
Przelewy24: "przelewy24",
|
|
274
|
-
Riverty: "riverty",
|
|
275
|
-
Satispay: "satispay",
|
|
276
|
-
Swish: "swish",
|
|
277
|
-
Trustly: "trustly",
|
|
278
|
-
Twint: "twint",
|
|
279
|
-
Voucher: "voucher",
|
|
280
|
-
};
|
|
281
|
-
/**
|
|
282
|
-
* Indicate if the funds should be captured immediately or if you want to [place a hold](https://docs.mollie.com/docs/place-a-hold-for-a-payment#/)
|
|
283
|
-
*
|
|
284
|
-
* @remarks
|
|
285
|
-
* and capture at a later time.
|
|
286
|
-
*
|
|
287
|
-
* This field needs to be set to `manual` for method `riverty`.
|
|
288
|
-
*/
|
|
289
|
-
exports.ListAllSubscriptionsCaptureMode = {
|
|
290
|
-
Automatic: "automatic",
|
|
291
|
-
Manual: "manual",
|
|
292
|
-
};
|
|
293
|
-
/**
|
|
294
|
-
* Whether this entity was created in live mode or in test mode.
|
|
295
|
-
*/
|
|
296
|
-
exports.ListAllSubscriptionsRoutingMode = {
|
|
297
|
-
Live: "live",
|
|
298
|
-
Test: "test",
|
|
299
|
-
};
|
|
300
|
-
/**
|
|
301
|
-
* The type of destination. Currently only the destination type `organization` is supported.
|
|
302
|
-
*/
|
|
303
|
-
exports.ListAllSubscriptionsRoutingType = {
|
|
304
|
-
Organization: "organization",
|
|
305
|
-
};
|
|
306
|
-
/**
|
|
307
|
-
* **Only relevant for recurring payments.**
|
|
308
|
-
*
|
|
309
|
-
* @remarks
|
|
310
|
-
*
|
|
311
|
-
* Indicate which part of a recurring sequence this payment is for.
|
|
312
|
-
*
|
|
313
|
-
* Recurring payments can only take place if a mandate is available. A common way to establish such a mandate is
|
|
314
|
-
* through a `first` payment. With a `first` payment, the customer agrees to automatic recurring charges taking place
|
|
315
|
-
* on their account in the future.
|
|
316
|
-
*
|
|
317
|
-
* If set to `recurring`, the customer's card is charged automatically.
|
|
318
|
-
*
|
|
319
|
-
* Defaults to `oneoff`, which is a regular non-recurring payment.
|
|
320
|
-
*
|
|
321
|
-
* For PayPal payments, recurring is only possible if your connected PayPal account allows it. You can call our
|
|
322
|
-
* [Methods API](list-methods) with parameter `sequenceType: first` to discover which payment methods on your account
|
|
323
|
-
* are set up correctly for recurring payments.
|
|
324
|
-
*/
|
|
325
|
-
exports.ListAllSubscriptionsSequenceType = {
|
|
326
|
-
Oneoff: "oneoff",
|
|
327
|
-
First: "first",
|
|
328
|
-
Recurring: "recurring",
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
|
|
332
|
-
*
|
|
333
|
-
* @remarks
|
|
334
|
-
* statuses occur at what point.
|
|
335
|
-
*/
|
|
336
|
-
exports.ListAllSubscriptionsStatus = {
|
|
337
|
-
Open: "open",
|
|
338
|
-
Pending: "pending",
|
|
339
|
-
Authorized: "authorized",
|
|
340
|
-
Paid: "paid",
|
|
341
|
-
Canceled: "canceled",
|
|
342
|
-
Expired: "expired",
|
|
343
|
-
Failed: "failed",
|
|
344
133
|
};
|
|
345
134
|
/** @internal */
|
|
346
|
-
exports.ListAllSubscriptionsSort$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsSort);
|
|
347
|
-
/** @internal */
|
|
348
|
-
exports.ListAllSubscriptionsSort$outboundSchema = exports.ListAllSubscriptionsSort$inboundSchema;
|
|
349
|
-
/**
|
|
350
|
-
* @internal
|
|
351
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
352
|
-
*/
|
|
353
|
-
var ListAllSubscriptionsSort$;
|
|
354
|
-
(function (ListAllSubscriptionsSort$) {
|
|
355
|
-
/** @deprecated use `ListAllSubscriptionsSort$inboundSchema` instead. */
|
|
356
|
-
ListAllSubscriptionsSort$.inboundSchema = exports.ListAllSubscriptionsSort$inboundSchema;
|
|
357
|
-
/** @deprecated use `ListAllSubscriptionsSort$outboundSchema` instead. */
|
|
358
|
-
ListAllSubscriptionsSort$.outboundSchema = exports.ListAllSubscriptionsSort$outboundSchema;
|
|
359
|
-
})(ListAllSubscriptionsSort$ || (exports.ListAllSubscriptionsSort$ = ListAllSubscriptionsSort$ = {}));
|
|
360
|
-
/** @internal */
|
|
361
135
|
exports.ListAllSubscriptionsRequest$inboundSchema = z.object({
|
|
362
136
|
from: z.string().optional(),
|
|
363
137
|
limit: z.nullable(z.number().int().default(50)),
|
|
364
|
-
|
|
365
|
-
profileId: z.string().optional(),
|
|
138
|
+
profileId: z.nullable(z.string()).optional(),
|
|
366
139
|
testmode: z.nullable(z.boolean()).optional(),
|
|
367
140
|
});
|
|
368
141
|
/** @internal */
|
|
369
142
|
exports.ListAllSubscriptionsRequest$outboundSchema = z.object({
|
|
370
143
|
from: z.string().optional(),
|
|
371
144
|
limit: z.nullable(z.number().int().default(50)),
|
|
372
|
-
|
|
373
|
-
profileId: z.string().optional(),
|
|
145
|
+
profileId: z.nullable(z.string()).optional(),
|
|
374
146
|
testmode: z.nullable(z.boolean()).optional(),
|
|
375
147
|
});
|
|
376
148
|
/**
|
|
@@ -391,6 +163,58 @@ function listAllSubscriptionsRequestFromJSON(jsonString) {
|
|
|
391
163
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRequest' from JSON`);
|
|
392
164
|
}
|
|
393
165
|
/** @internal */
|
|
166
|
+
exports.ListAllSubscriptionsNotFoundDocumentation$inboundSchema = z.object({
|
|
167
|
+
href: z.string(),
|
|
168
|
+
type: z.string(),
|
|
169
|
+
});
|
|
170
|
+
/** @internal */
|
|
171
|
+
exports.ListAllSubscriptionsNotFoundDocumentation$outboundSchema = z.object({
|
|
172
|
+
href: z.string(),
|
|
173
|
+
type: z.string(),
|
|
174
|
+
});
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
178
|
+
*/
|
|
179
|
+
var ListAllSubscriptionsNotFoundDocumentation$;
|
|
180
|
+
(function (ListAllSubscriptionsNotFoundDocumentation$) {
|
|
181
|
+
/** @deprecated use `ListAllSubscriptionsNotFoundDocumentation$inboundSchema` instead. */
|
|
182
|
+
ListAllSubscriptionsNotFoundDocumentation$.inboundSchema = exports.ListAllSubscriptionsNotFoundDocumentation$inboundSchema;
|
|
183
|
+
/** @deprecated use `ListAllSubscriptionsNotFoundDocumentation$outboundSchema` instead. */
|
|
184
|
+
ListAllSubscriptionsNotFoundDocumentation$.outboundSchema = exports.ListAllSubscriptionsNotFoundDocumentation$outboundSchema;
|
|
185
|
+
})(ListAllSubscriptionsNotFoundDocumentation$ || (exports.ListAllSubscriptionsNotFoundDocumentation$ = ListAllSubscriptionsNotFoundDocumentation$ = {}));
|
|
186
|
+
function listAllSubscriptionsNotFoundDocumentationToJSON(listAllSubscriptionsNotFoundDocumentation) {
|
|
187
|
+
return JSON.stringify(exports.ListAllSubscriptionsNotFoundDocumentation$outboundSchema.parse(listAllSubscriptionsNotFoundDocumentation));
|
|
188
|
+
}
|
|
189
|
+
function listAllSubscriptionsNotFoundDocumentationFromJSON(jsonString) {
|
|
190
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsNotFoundDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsNotFoundDocumentation' from JSON`);
|
|
191
|
+
}
|
|
192
|
+
/** @internal */
|
|
193
|
+
exports.ListAllSubscriptionsNotFoundLinks$inboundSchema = z.object({
|
|
194
|
+
documentation: z.lazy(() => exports.ListAllSubscriptionsNotFoundDocumentation$inboundSchema),
|
|
195
|
+
});
|
|
196
|
+
/** @internal */
|
|
197
|
+
exports.ListAllSubscriptionsNotFoundLinks$outboundSchema = z.object({
|
|
198
|
+
documentation: z.lazy(() => exports.ListAllSubscriptionsNotFoundDocumentation$outboundSchema),
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
203
|
+
*/
|
|
204
|
+
var ListAllSubscriptionsNotFoundLinks$;
|
|
205
|
+
(function (ListAllSubscriptionsNotFoundLinks$) {
|
|
206
|
+
/** @deprecated use `ListAllSubscriptionsNotFoundLinks$inboundSchema` instead. */
|
|
207
|
+
ListAllSubscriptionsNotFoundLinks$.inboundSchema = exports.ListAllSubscriptionsNotFoundLinks$inboundSchema;
|
|
208
|
+
/** @deprecated use `ListAllSubscriptionsNotFoundLinks$outboundSchema` instead. */
|
|
209
|
+
ListAllSubscriptionsNotFoundLinks$.outboundSchema = exports.ListAllSubscriptionsNotFoundLinks$outboundSchema;
|
|
210
|
+
})(ListAllSubscriptionsNotFoundLinks$ || (exports.ListAllSubscriptionsNotFoundLinks$ = ListAllSubscriptionsNotFoundLinks$ = {}));
|
|
211
|
+
function listAllSubscriptionsNotFoundLinksToJSON(listAllSubscriptionsNotFoundLinks) {
|
|
212
|
+
return JSON.stringify(exports.ListAllSubscriptionsNotFoundLinks$outboundSchema.parse(listAllSubscriptionsNotFoundLinks));
|
|
213
|
+
}
|
|
214
|
+
function listAllSubscriptionsNotFoundLinksFromJSON(jsonString) {
|
|
215
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsNotFoundLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsNotFoundLinks' from JSON`);
|
|
216
|
+
}
|
|
217
|
+
/** @internal */
|
|
394
218
|
exports.ListAllSubscriptionsBadRequestDocumentation$inboundSchema = z.object({
|
|
395
219
|
href: z.string(),
|
|
396
220
|
type: z.string(),
|
|
@@ -458,6 +282,21 @@ var ListAllSubscriptionsMode$;
|
|
|
458
282
|
ListAllSubscriptionsMode$.outboundSchema = exports.ListAllSubscriptionsMode$outboundSchema;
|
|
459
283
|
})(ListAllSubscriptionsMode$ || (exports.ListAllSubscriptionsMode$ = ListAllSubscriptionsMode$ = {}));
|
|
460
284
|
/** @internal */
|
|
285
|
+
exports.ListAllSubscriptionsStatus$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsStatus);
|
|
286
|
+
/** @internal */
|
|
287
|
+
exports.ListAllSubscriptionsStatus$outboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema;
|
|
288
|
+
/**
|
|
289
|
+
* @internal
|
|
290
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
291
|
+
*/
|
|
292
|
+
var ListAllSubscriptionsStatus$;
|
|
293
|
+
(function (ListAllSubscriptionsStatus$) {
|
|
294
|
+
/** @deprecated use `ListAllSubscriptionsStatus$inboundSchema` instead. */
|
|
295
|
+
ListAllSubscriptionsStatus$.inboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema;
|
|
296
|
+
/** @deprecated use `ListAllSubscriptionsStatus$outboundSchema` instead. */
|
|
297
|
+
ListAllSubscriptionsStatus$.outboundSchema = exports.ListAllSubscriptionsStatus$outboundSchema;
|
|
298
|
+
})(ListAllSubscriptionsStatus$ || (exports.ListAllSubscriptionsStatus$ = ListAllSubscriptionsStatus$ = {}));
|
|
299
|
+
/** @internal */
|
|
461
300
|
exports.ListAllSubscriptionsAmount$inboundSchema = z.object({
|
|
462
301
|
currency: z.string(),
|
|
463
302
|
value: z.string(),
|
|
@@ -485,66 +324,42 @@ function listAllSubscriptionsAmountFromJSON(jsonString) {
|
|
|
485
324
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsAmount' from JSON`);
|
|
486
325
|
}
|
|
487
326
|
/** @internal */
|
|
488
|
-
exports.
|
|
489
|
-
currency: z.string(),
|
|
490
|
-
value: z.string(),
|
|
491
|
-
});
|
|
327
|
+
exports.ListAllSubscriptionsInterval$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsInterval);
|
|
492
328
|
/** @internal */
|
|
493
|
-
exports.
|
|
494
|
-
currency: z.string(),
|
|
495
|
-
value: z.string(),
|
|
496
|
-
});
|
|
329
|
+
exports.ListAllSubscriptionsInterval$outboundSchema = exports.ListAllSubscriptionsInterval$inboundSchema;
|
|
497
330
|
/**
|
|
498
331
|
* @internal
|
|
499
332
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
500
333
|
*/
|
|
501
|
-
var
|
|
502
|
-
(function (
|
|
503
|
-
/** @deprecated use `
|
|
504
|
-
|
|
505
|
-
/** @deprecated use `
|
|
506
|
-
|
|
507
|
-
})(
|
|
508
|
-
function listAllSubscriptionsAmountRefundedToJSON(listAllSubscriptionsAmountRefunded) {
|
|
509
|
-
return JSON.stringify(exports.ListAllSubscriptionsAmountRefunded$outboundSchema.parse(listAllSubscriptionsAmountRefunded));
|
|
510
|
-
}
|
|
511
|
-
function listAllSubscriptionsAmountRefundedFromJSON(jsonString) {
|
|
512
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsAmountRefunded$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsAmountRefunded' from JSON`);
|
|
513
|
-
}
|
|
334
|
+
var ListAllSubscriptionsInterval$;
|
|
335
|
+
(function (ListAllSubscriptionsInterval$) {
|
|
336
|
+
/** @deprecated use `ListAllSubscriptionsInterval$inboundSchema` instead. */
|
|
337
|
+
ListAllSubscriptionsInterval$.inboundSchema = exports.ListAllSubscriptionsInterval$inboundSchema;
|
|
338
|
+
/** @deprecated use `ListAllSubscriptionsInterval$outboundSchema` instead. */
|
|
339
|
+
ListAllSubscriptionsInterval$.outboundSchema = exports.ListAllSubscriptionsInterval$outboundSchema;
|
|
340
|
+
})(ListAllSubscriptionsInterval$ || (exports.ListAllSubscriptionsInterval$ = ListAllSubscriptionsInterval$ = {}));
|
|
514
341
|
/** @internal */
|
|
515
|
-
exports.
|
|
516
|
-
currency: z.string(),
|
|
517
|
-
value: z.string(),
|
|
518
|
-
});
|
|
342
|
+
exports.ListAllSubscriptionsMethod$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsMethod);
|
|
519
343
|
/** @internal */
|
|
520
|
-
exports.
|
|
521
|
-
currency: z.string(),
|
|
522
|
-
value: z.string(),
|
|
523
|
-
});
|
|
344
|
+
exports.ListAllSubscriptionsMethod$outboundSchema = exports.ListAllSubscriptionsMethod$inboundSchema;
|
|
524
345
|
/**
|
|
525
346
|
* @internal
|
|
526
347
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
527
348
|
*/
|
|
528
|
-
var
|
|
529
|
-
(function (
|
|
530
|
-
/** @deprecated use `
|
|
531
|
-
|
|
532
|
-
/** @deprecated use `
|
|
533
|
-
|
|
534
|
-
})(
|
|
535
|
-
function listAllSubscriptionsAmountRemainingToJSON(listAllSubscriptionsAmountRemaining) {
|
|
536
|
-
return JSON.stringify(exports.ListAllSubscriptionsAmountRemaining$outboundSchema.parse(listAllSubscriptionsAmountRemaining));
|
|
537
|
-
}
|
|
538
|
-
function listAllSubscriptionsAmountRemainingFromJSON(jsonString) {
|
|
539
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsAmountRemaining$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsAmountRemaining' from JSON`);
|
|
540
|
-
}
|
|
349
|
+
var ListAllSubscriptionsMethod$;
|
|
350
|
+
(function (ListAllSubscriptionsMethod$) {
|
|
351
|
+
/** @deprecated use `ListAllSubscriptionsMethod$inboundSchema` instead. */
|
|
352
|
+
ListAllSubscriptionsMethod$.inboundSchema = exports.ListAllSubscriptionsMethod$inboundSchema;
|
|
353
|
+
/** @deprecated use `ListAllSubscriptionsMethod$outboundSchema` instead. */
|
|
354
|
+
ListAllSubscriptionsMethod$.outboundSchema = exports.ListAllSubscriptionsMethod$outboundSchema;
|
|
355
|
+
})(ListAllSubscriptionsMethod$ || (exports.ListAllSubscriptionsMethod$ = ListAllSubscriptionsMethod$ = {}));
|
|
541
356
|
/** @internal */
|
|
542
|
-
exports.
|
|
357
|
+
exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema = z.object({
|
|
543
358
|
currency: z.string(),
|
|
544
359
|
value: z.string(),
|
|
545
360
|
});
|
|
546
361
|
/** @internal */
|
|
547
|
-
exports.
|
|
362
|
+
exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema = z.object({
|
|
548
363
|
currency: z.string(),
|
|
549
364
|
value: z.string(),
|
|
550
365
|
});
|
|
@@ -552,1137 +367,159 @@ exports.ListAllSubscriptionsAmountCaptured$outboundSchema = z.object({
|
|
|
552
367
|
* @internal
|
|
553
368
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
554
369
|
*/
|
|
555
|
-
var
|
|
556
|
-
(function (
|
|
557
|
-
/** @deprecated use `
|
|
558
|
-
|
|
559
|
-
/** @deprecated use `
|
|
560
|
-
|
|
561
|
-
})(
|
|
562
|
-
function
|
|
563
|
-
return JSON.stringify(exports.
|
|
370
|
+
var ListAllSubscriptionsApplicationFeeAmount$;
|
|
371
|
+
(function (ListAllSubscriptionsApplicationFeeAmount$) {
|
|
372
|
+
/** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$inboundSchema` instead. */
|
|
373
|
+
ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
|
|
374
|
+
/** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$outboundSchema` instead. */
|
|
375
|
+
ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
|
|
376
|
+
})(ListAllSubscriptionsApplicationFeeAmount$ || (exports.ListAllSubscriptionsApplicationFeeAmount$ = ListAllSubscriptionsApplicationFeeAmount$ = {}));
|
|
377
|
+
function listAllSubscriptionsApplicationFeeAmountToJSON(listAllSubscriptionsApplicationFeeAmount) {
|
|
378
|
+
return JSON.stringify(exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema.parse(listAllSubscriptionsApplicationFeeAmount));
|
|
564
379
|
}
|
|
565
|
-
function
|
|
566
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
380
|
+
function listAllSubscriptionsApplicationFeeAmountFromJSON(jsonString) {
|
|
381
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsApplicationFeeAmount' from JSON`);
|
|
567
382
|
}
|
|
568
383
|
/** @internal */
|
|
569
|
-
exports.
|
|
570
|
-
|
|
571
|
-
|
|
384
|
+
exports.ListAllSubscriptionsApplicationFee$inboundSchema = z.object({
|
|
385
|
+
amount: z.lazy(() => exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema),
|
|
386
|
+
description: z.string(),
|
|
572
387
|
});
|
|
573
388
|
/** @internal */
|
|
574
|
-
exports.
|
|
575
|
-
|
|
576
|
-
|
|
389
|
+
exports.ListAllSubscriptionsApplicationFee$outboundSchema = z.object({
|
|
390
|
+
amount: z.lazy(() => exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema),
|
|
391
|
+
description: z.string(),
|
|
577
392
|
});
|
|
578
393
|
/**
|
|
579
394
|
* @internal
|
|
580
395
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
581
396
|
*/
|
|
582
|
-
var
|
|
583
|
-
(function (
|
|
584
|
-
/** @deprecated use `
|
|
585
|
-
|
|
586
|
-
/** @deprecated use `
|
|
587
|
-
|
|
588
|
-
})(
|
|
589
|
-
function
|
|
590
|
-
return JSON.stringify(exports.
|
|
397
|
+
var ListAllSubscriptionsApplicationFee$;
|
|
398
|
+
(function (ListAllSubscriptionsApplicationFee$) {
|
|
399
|
+
/** @deprecated use `ListAllSubscriptionsApplicationFee$inboundSchema` instead. */
|
|
400
|
+
ListAllSubscriptionsApplicationFee$.inboundSchema = exports.ListAllSubscriptionsApplicationFee$inboundSchema;
|
|
401
|
+
/** @deprecated use `ListAllSubscriptionsApplicationFee$outboundSchema` instead. */
|
|
402
|
+
ListAllSubscriptionsApplicationFee$.outboundSchema = exports.ListAllSubscriptionsApplicationFee$outboundSchema;
|
|
403
|
+
})(ListAllSubscriptionsApplicationFee$ || (exports.ListAllSubscriptionsApplicationFee$ = ListAllSubscriptionsApplicationFee$ = {}));
|
|
404
|
+
function listAllSubscriptionsApplicationFeeToJSON(listAllSubscriptionsApplicationFee) {
|
|
405
|
+
return JSON.stringify(exports.ListAllSubscriptionsApplicationFee$outboundSchema.parse(listAllSubscriptionsApplicationFee));
|
|
591
406
|
}
|
|
592
|
-
function
|
|
593
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
407
|
+
function listAllSubscriptionsApplicationFeeFromJSON(jsonString) {
|
|
408
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsApplicationFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsApplicationFee' from JSON`);
|
|
594
409
|
}
|
|
595
410
|
/** @internal */
|
|
596
|
-
exports.
|
|
597
|
-
currency: z.string(),
|
|
598
|
-
value: z.string(),
|
|
599
|
-
});
|
|
411
|
+
exports.ListAllSubscriptionsMetadata$inboundSchema = z.object({});
|
|
600
412
|
/** @internal */
|
|
601
|
-
exports.
|
|
602
|
-
currency: z.string(),
|
|
603
|
-
value: z.string(),
|
|
604
|
-
});
|
|
413
|
+
exports.ListAllSubscriptionsMetadata$outboundSchema = z.object({});
|
|
605
414
|
/**
|
|
606
415
|
* @internal
|
|
607
416
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
608
417
|
*/
|
|
609
|
-
var
|
|
610
|
-
(function (
|
|
611
|
-
/** @deprecated use `
|
|
612
|
-
|
|
613
|
-
/** @deprecated use `
|
|
614
|
-
|
|
615
|
-
})(
|
|
616
|
-
function
|
|
617
|
-
return JSON.stringify(exports.
|
|
418
|
+
var ListAllSubscriptionsMetadata$;
|
|
419
|
+
(function (ListAllSubscriptionsMetadata$) {
|
|
420
|
+
/** @deprecated use `ListAllSubscriptionsMetadata$inboundSchema` instead. */
|
|
421
|
+
ListAllSubscriptionsMetadata$.inboundSchema = exports.ListAllSubscriptionsMetadata$inboundSchema;
|
|
422
|
+
/** @deprecated use `ListAllSubscriptionsMetadata$outboundSchema` instead. */
|
|
423
|
+
ListAllSubscriptionsMetadata$.outboundSchema = exports.ListAllSubscriptionsMetadata$outboundSchema;
|
|
424
|
+
})(ListAllSubscriptionsMetadata$ || (exports.ListAllSubscriptionsMetadata$ = ListAllSubscriptionsMetadata$ = {}));
|
|
425
|
+
function listAllSubscriptionsMetadataToJSON(listAllSubscriptionsMetadata) {
|
|
426
|
+
return JSON.stringify(exports.ListAllSubscriptionsMetadata$outboundSchema.parse(listAllSubscriptionsMetadata));
|
|
618
427
|
}
|
|
619
|
-
function
|
|
620
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
428
|
+
function listAllSubscriptionsMetadataFromJSON(jsonString) {
|
|
429
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMetadata' from JSON`);
|
|
621
430
|
}
|
|
622
431
|
/** @internal */
|
|
623
|
-
exports.
|
|
432
|
+
exports.ListAllSubscriptionsMetadataUnion$inboundSchema = z.union([
|
|
433
|
+
z.lazy(() => exports.ListAllSubscriptionsMetadata$inboundSchema),
|
|
434
|
+
z.string(),
|
|
435
|
+
z.array(z.string()),
|
|
436
|
+
]);
|
|
624
437
|
/** @internal */
|
|
625
|
-
exports.
|
|
438
|
+
exports.ListAllSubscriptionsMetadataUnion$outboundSchema = z.union([
|
|
439
|
+
z.lazy(() => exports.ListAllSubscriptionsMetadata$outboundSchema),
|
|
440
|
+
z.string(),
|
|
441
|
+
z.array(z.string()),
|
|
442
|
+
]);
|
|
626
443
|
/**
|
|
627
444
|
* @internal
|
|
628
445
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
629
446
|
*/
|
|
630
|
-
var
|
|
631
|
-
(function (
|
|
632
|
-
/** @deprecated use `
|
|
633
|
-
|
|
634
|
-
/** @deprecated use `
|
|
635
|
-
|
|
636
|
-
})(
|
|
447
|
+
var ListAllSubscriptionsMetadataUnion$;
|
|
448
|
+
(function (ListAllSubscriptionsMetadataUnion$) {
|
|
449
|
+
/** @deprecated use `ListAllSubscriptionsMetadataUnion$inboundSchema` instead. */
|
|
450
|
+
ListAllSubscriptionsMetadataUnion$.inboundSchema = exports.ListAllSubscriptionsMetadataUnion$inboundSchema;
|
|
451
|
+
/** @deprecated use `ListAllSubscriptionsMetadataUnion$outboundSchema` instead. */
|
|
452
|
+
ListAllSubscriptionsMetadataUnion$.outboundSchema = exports.ListAllSubscriptionsMetadataUnion$outboundSchema;
|
|
453
|
+
})(ListAllSubscriptionsMetadataUnion$ || (exports.ListAllSubscriptionsMetadataUnion$ = ListAllSubscriptionsMetadataUnion$ = {}));
|
|
454
|
+
function listAllSubscriptionsMetadataUnionToJSON(listAllSubscriptionsMetadataUnion) {
|
|
455
|
+
return JSON.stringify(exports.ListAllSubscriptionsMetadataUnion$outboundSchema.parse(listAllSubscriptionsMetadataUnion));
|
|
456
|
+
}
|
|
457
|
+
function listAllSubscriptionsMetadataUnionFromJSON(jsonString) {
|
|
458
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMetadataUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMetadataUnion' from JSON`);
|
|
459
|
+
}
|
|
637
460
|
/** @internal */
|
|
638
|
-
exports.
|
|
639
|
-
|
|
640
|
-
|
|
461
|
+
exports.ListAllSubscriptionsSubscriptionSelf$inboundSchema = z.object({
|
|
462
|
+
href: z.string(),
|
|
463
|
+
type: z.string(),
|
|
641
464
|
});
|
|
642
465
|
/** @internal */
|
|
643
|
-
exports.
|
|
644
|
-
|
|
645
|
-
|
|
466
|
+
exports.ListAllSubscriptionsSubscriptionSelf$outboundSchema = z.object({
|
|
467
|
+
href: z.string(),
|
|
468
|
+
type: z.string(),
|
|
646
469
|
});
|
|
647
470
|
/**
|
|
648
471
|
* @internal
|
|
649
472
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
650
473
|
*/
|
|
651
|
-
var
|
|
652
|
-
(function (
|
|
653
|
-
/** @deprecated use `
|
|
654
|
-
|
|
655
|
-
/** @deprecated use `
|
|
656
|
-
|
|
657
|
-
})(
|
|
658
|
-
function
|
|
659
|
-
return JSON.stringify(exports.
|
|
474
|
+
var ListAllSubscriptionsSubscriptionSelf$;
|
|
475
|
+
(function (ListAllSubscriptionsSubscriptionSelf$) {
|
|
476
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionSelf$inboundSchema` instead. */
|
|
477
|
+
ListAllSubscriptionsSubscriptionSelf$.inboundSchema = exports.ListAllSubscriptionsSubscriptionSelf$inboundSchema;
|
|
478
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionSelf$outboundSchema` instead. */
|
|
479
|
+
ListAllSubscriptionsSubscriptionSelf$.outboundSchema = exports.ListAllSubscriptionsSubscriptionSelf$outboundSchema;
|
|
480
|
+
})(ListAllSubscriptionsSubscriptionSelf$ || (exports.ListAllSubscriptionsSubscriptionSelf$ = ListAllSubscriptionsSubscriptionSelf$ = {}));
|
|
481
|
+
function listAllSubscriptionsSubscriptionSelfToJSON(listAllSubscriptionsSubscriptionSelf) {
|
|
482
|
+
return JSON.stringify(exports.ListAllSubscriptionsSubscriptionSelf$outboundSchema.parse(listAllSubscriptionsSubscriptionSelf));
|
|
660
483
|
}
|
|
661
|
-
function
|
|
662
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
484
|
+
function listAllSubscriptionsSubscriptionSelfFromJSON(jsonString) {
|
|
485
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSubscriptionSelf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSubscriptionSelf' from JSON`);
|
|
663
486
|
}
|
|
664
487
|
/** @internal */
|
|
665
|
-
exports.
|
|
666
|
-
|
|
667
|
-
|
|
488
|
+
exports.ListAllSubscriptionsCustomer$inboundSchema = z.object({
|
|
489
|
+
href: z.string().optional(),
|
|
490
|
+
type: z.string().optional(),
|
|
668
491
|
});
|
|
669
492
|
/** @internal */
|
|
670
|
-
exports.
|
|
671
|
-
|
|
672
|
-
|
|
493
|
+
exports.ListAllSubscriptionsCustomer$outboundSchema = z.object({
|
|
494
|
+
href: z.string().optional(),
|
|
495
|
+
type: z.string().optional(),
|
|
673
496
|
});
|
|
674
497
|
/**
|
|
675
498
|
* @internal
|
|
676
499
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
677
500
|
*/
|
|
678
|
-
var
|
|
679
|
-
(function (
|
|
680
|
-
/** @deprecated use `
|
|
681
|
-
|
|
682
|
-
/** @deprecated use `
|
|
683
|
-
|
|
684
|
-
})(
|
|
685
|
-
function
|
|
686
|
-
return JSON.stringify(exports.
|
|
501
|
+
var ListAllSubscriptionsCustomer$;
|
|
502
|
+
(function (ListAllSubscriptionsCustomer$) {
|
|
503
|
+
/** @deprecated use `ListAllSubscriptionsCustomer$inboundSchema` instead. */
|
|
504
|
+
ListAllSubscriptionsCustomer$.inboundSchema = exports.ListAllSubscriptionsCustomer$inboundSchema;
|
|
505
|
+
/** @deprecated use `ListAllSubscriptionsCustomer$outboundSchema` instead. */
|
|
506
|
+
ListAllSubscriptionsCustomer$.outboundSchema = exports.ListAllSubscriptionsCustomer$outboundSchema;
|
|
507
|
+
})(ListAllSubscriptionsCustomer$ || (exports.ListAllSubscriptionsCustomer$ = ListAllSubscriptionsCustomer$ = {}));
|
|
508
|
+
function listAllSubscriptionsCustomerToJSON(listAllSubscriptionsCustomer) {
|
|
509
|
+
return JSON.stringify(exports.ListAllSubscriptionsCustomer$outboundSchema.parse(listAllSubscriptionsCustomer));
|
|
687
510
|
}
|
|
688
|
-
function
|
|
689
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
511
|
+
function listAllSubscriptionsCustomerFromJSON(jsonString) {
|
|
512
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsCustomer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsCustomer' from JSON`);
|
|
690
513
|
}
|
|
691
514
|
/** @internal */
|
|
692
|
-
exports.
|
|
693
|
-
|
|
694
|
-
|
|
515
|
+
exports.ListAllSubscriptionsMandate$inboundSchema = z.object({
|
|
516
|
+
href: z.string().optional(),
|
|
517
|
+
type: z.string().optional(),
|
|
695
518
|
});
|
|
696
519
|
/** @internal */
|
|
697
|
-
exports.
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
});
|
|
701
|
-
/**
|
|
702
|
-
* @internal
|
|
703
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
704
|
-
*/
|
|
705
|
-
var ListAllSubscriptionsTotalAmount$;
|
|
706
|
-
(function (ListAllSubscriptionsTotalAmount$) {
|
|
707
|
-
/** @deprecated use `ListAllSubscriptionsTotalAmount$inboundSchema` instead. */
|
|
708
|
-
ListAllSubscriptionsTotalAmount$.inboundSchema = exports.ListAllSubscriptionsTotalAmount$inboundSchema;
|
|
709
|
-
/** @deprecated use `ListAllSubscriptionsTotalAmount$outboundSchema` instead. */
|
|
710
|
-
ListAllSubscriptionsTotalAmount$.outboundSchema = exports.ListAllSubscriptionsTotalAmount$outboundSchema;
|
|
711
|
-
})(ListAllSubscriptionsTotalAmount$ || (exports.ListAllSubscriptionsTotalAmount$ = ListAllSubscriptionsTotalAmount$ = {}));
|
|
712
|
-
function listAllSubscriptionsTotalAmountToJSON(listAllSubscriptionsTotalAmount) {
|
|
713
|
-
return JSON.stringify(exports.ListAllSubscriptionsTotalAmount$outboundSchema.parse(listAllSubscriptionsTotalAmount));
|
|
714
|
-
}
|
|
715
|
-
function listAllSubscriptionsTotalAmountFromJSON(jsonString) {
|
|
716
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsTotalAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsTotalAmount' from JSON`);
|
|
717
|
-
}
|
|
718
|
-
/** @internal */
|
|
719
|
-
exports.ListAllSubscriptionsVatAmount$inboundSchema = z.object({
|
|
720
|
-
currency: z.string(),
|
|
721
|
-
value: z.string(),
|
|
722
|
-
});
|
|
723
|
-
/** @internal */
|
|
724
|
-
exports.ListAllSubscriptionsVatAmount$outboundSchema = z.object({
|
|
725
|
-
currency: z.string(),
|
|
726
|
-
value: z.string(),
|
|
727
|
-
});
|
|
728
|
-
/**
|
|
729
|
-
* @internal
|
|
730
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
731
|
-
*/
|
|
732
|
-
var ListAllSubscriptionsVatAmount$;
|
|
733
|
-
(function (ListAllSubscriptionsVatAmount$) {
|
|
734
|
-
/** @deprecated use `ListAllSubscriptionsVatAmount$inboundSchema` instead. */
|
|
735
|
-
ListAllSubscriptionsVatAmount$.inboundSchema = exports.ListAllSubscriptionsVatAmount$inboundSchema;
|
|
736
|
-
/** @deprecated use `ListAllSubscriptionsVatAmount$outboundSchema` instead. */
|
|
737
|
-
ListAllSubscriptionsVatAmount$.outboundSchema = exports.ListAllSubscriptionsVatAmount$outboundSchema;
|
|
738
|
-
})(ListAllSubscriptionsVatAmount$ || (exports.ListAllSubscriptionsVatAmount$ = ListAllSubscriptionsVatAmount$ = {}));
|
|
739
|
-
function listAllSubscriptionsVatAmountToJSON(listAllSubscriptionsVatAmount) {
|
|
740
|
-
return JSON.stringify(exports.ListAllSubscriptionsVatAmount$outboundSchema.parse(listAllSubscriptionsVatAmount));
|
|
741
|
-
}
|
|
742
|
-
function listAllSubscriptionsVatAmountFromJSON(jsonString) {
|
|
743
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsVatAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsVatAmount' from JSON`);
|
|
744
|
-
}
|
|
745
|
-
/** @internal */
|
|
746
|
-
exports.ListAllSubscriptionsCategory$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsCategory);
|
|
747
|
-
/** @internal */
|
|
748
|
-
exports.ListAllSubscriptionsCategory$outboundSchema = exports.ListAllSubscriptionsCategory$inboundSchema;
|
|
749
|
-
/**
|
|
750
|
-
* @internal
|
|
751
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
752
|
-
*/
|
|
753
|
-
var ListAllSubscriptionsCategory$;
|
|
754
|
-
(function (ListAllSubscriptionsCategory$) {
|
|
755
|
-
/** @deprecated use `ListAllSubscriptionsCategory$inboundSchema` instead. */
|
|
756
|
-
ListAllSubscriptionsCategory$.inboundSchema = exports.ListAllSubscriptionsCategory$inboundSchema;
|
|
757
|
-
/** @deprecated use `ListAllSubscriptionsCategory$outboundSchema` instead. */
|
|
758
|
-
ListAllSubscriptionsCategory$.outboundSchema = exports.ListAllSubscriptionsCategory$outboundSchema;
|
|
759
|
-
})(ListAllSubscriptionsCategory$ || (exports.ListAllSubscriptionsCategory$ = ListAllSubscriptionsCategory$ = {}));
|
|
760
|
-
/** @internal */
|
|
761
|
-
exports.ListAllSubscriptionsInterval$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsInterval);
|
|
762
|
-
/** @internal */
|
|
763
|
-
exports.ListAllSubscriptionsInterval$outboundSchema = exports.ListAllSubscriptionsInterval$inboundSchema;
|
|
764
|
-
/**
|
|
765
|
-
* @internal
|
|
766
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
767
|
-
*/
|
|
768
|
-
var ListAllSubscriptionsInterval$;
|
|
769
|
-
(function (ListAllSubscriptionsInterval$) {
|
|
770
|
-
/** @deprecated use `ListAllSubscriptionsInterval$inboundSchema` instead. */
|
|
771
|
-
ListAllSubscriptionsInterval$.inboundSchema = exports.ListAllSubscriptionsInterval$inboundSchema;
|
|
772
|
-
/** @deprecated use `ListAllSubscriptionsInterval$outboundSchema` instead. */
|
|
773
|
-
ListAllSubscriptionsInterval$.outboundSchema = exports.ListAllSubscriptionsInterval$outboundSchema;
|
|
774
|
-
})(ListAllSubscriptionsInterval$ || (exports.ListAllSubscriptionsInterval$ = ListAllSubscriptionsInterval$ = {}));
|
|
775
|
-
/** @internal */
|
|
776
|
-
exports.ListAllSubscriptionsRecurringAmount$inboundSchema = z.object({
|
|
777
|
-
currency: z.string(),
|
|
778
|
-
value: z.string(),
|
|
779
|
-
});
|
|
780
|
-
/** @internal */
|
|
781
|
-
exports.ListAllSubscriptionsRecurringAmount$outboundSchema = z.object({
|
|
782
|
-
currency: z.string(),
|
|
783
|
-
value: z.string(),
|
|
784
|
-
});
|
|
785
|
-
/**
|
|
786
|
-
* @internal
|
|
787
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
788
|
-
*/
|
|
789
|
-
var ListAllSubscriptionsRecurringAmount$;
|
|
790
|
-
(function (ListAllSubscriptionsRecurringAmount$) {
|
|
791
|
-
/** @deprecated use `ListAllSubscriptionsRecurringAmount$inboundSchema` instead. */
|
|
792
|
-
ListAllSubscriptionsRecurringAmount$.inboundSchema = exports.ListAllSubscriptionsRecurringAmount$inboundSchema;
|
|
793
|
-
/** @deprecated use `ListAllSubscriptionsRecurringAmount$outboundSchema` instead. */
|
|
794
|
-
ListAllSubscriptionsRecurringAmount$.outboundSchema = exports.ListAllSubscriptionsRecurringAmount$outboundSchema;
|
|
795
|
-
})(ListAllSubscriptionsRecurringAmount$ || (exports.ListAllSubscriptionsRecurringAmount$ = ListAllSubscriptionsRecurringAmount$ = {}));
|
|
796
|
-
function listAllSubscriptionsRecurringAmountToJSON(listAllSubscriptionsRecurringAmount) {
|
|
797
|
-
return JSON.stringify(exports.ListAllSubscriptionsRecurringAmount$outboundSchema.parse(listAllSubscriptionsRecurringAmount));
|
|
798
|
-
}
|
|
799
|
-
function listAllSubscriptionsRecurringAmountFromJSON(jsonString) {
|
|
800
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRecurringAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRecurringAmount' from JSON`);
|
|
801
|
-
}
|
|
802
|
-
/** @internal */
|
|
803
|
-
exports.ListAllSubscriptionsRecurring$inboundSchema = z.object({
|
|
804
|
-
description: z.string().optional(),
|
|
805
|
-
interval: exports.ListAllSubscriptionsInterval$inboundSchema,
|
|
806
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsRecurringAmount$inboundSchema)
|
|
807
|
-
.optional(),
|
|
808
|
-
times: z.number().int().optional(),
|
|
809
|
-
startDate: z.nullable(z.string()).optional(),
|
|
810
|
-
});
|
|
811
|
-
/** @internal */
|
|
812
|
-
exports.ListAllSubscriptionsRecurring$outboundSchema = z.object({
|
|
813
|
-
description: z.string().optional(),
|
|
814
|
-
interval: exports.ListAllSubscriptionsInterval$outboundSchema,
|
|
815
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsRecurringAmount$outboundSchema)
|
|
816
|
-
.optional(),
|
|
817
|
-
times: z.number().int().optional(),
|
|
818
|
-
startDate: z.nullable(z.string()).optional(),
|
|
819
|
-
});
|
|
820
|
-
/**
|
|
821
|
-
* @internal
|
|
822
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
823
|
-
*/
|
|
824
|
-
var ListAllSubscriptionsRecurring$;
|
|
825
|
-
(function (ListAllSubscriptionsRecurring$) {
|
|
826
|
-
/** @deprecated use `ListAllSubscriptionsRecurring$inboundSchema` instead. */
|
|
827
|
-
ListAllSubscriptionsRecurring$.inboundSchema = exports.ListAllSubscriptionsRecurring$inboundSchema;
|
|
828
|
-
/** @deprecated use `ListAllSubscriptionsRecurring$outboundSchema` instead. */
|
|
829
|
-
ListAllSubscriptionsRecurring$.outboundSchema = exports.ListAllSubscriptionsRecurring$outboundSchema;
|
|
830
|
-
})(ListAllSubscriptionsRecurring$ || (exports.ListAllSubscriptionsRecurring$ = ListAllSubscriptionsRecurring$ = {}));
|
|
831
|
-
function listAllSubscriptionsRecurringToJSON(listAllSubscriptionsRecurring) {
|
|
832
|
-
return JSON.stringify(exports.ListAllSubscriptionsRecurring$outboundSchema.parse(listAllSubscriptionsRecurring));
|
|
833
|
-
}
|
|
834
|
-
function listAllSubscriptionsRecurringFromJSON(jsonString) {
|
|
835
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRecurring$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRecurring' from JSON`);
|
|
836
|
-
}
|
|
837
|
-
/** @internal */
|
|
838
|
-
exports.ListAllSubscriptionsLine$inboundSchema = z.object({
|
|
839
|
-
type: exports.ListAllSubscriptionsLineType$inboundSchema.default("physical"),
|
|
840
|
-
description: z.string(),
|
|
841
|
-
quantity: z.number().int(),
|
|
842
|
-
quantityUnit: z.string().optional(),
|
|
843
|
-
unitPrice: z.lazy(() => exports.ListAllSubscriptionsUnitPrice$inboundSchema),
|
|
844
|
-
discountAmount: z.lazy(() => exports.ListAllSubscriptionsDiscountAmount$inboundSchema)
|
|
845
|
-
.optional(),
|
|
846
|
-
totalAmount: z.lazy(() => exports.ListAllSubscriptionsTotalAmount$inboundSchema),
|
|
847
|
-
vatRate: z.string().optional(),
|
|
848
|
-
vatAmount: z.lazy(() => exports.ListAllSubscriptionsVatAmount$inboundSchema)
|
|
849
|
-
.optional(),
|
|
850
|
-
sku: z.string().optional(),
|
|
851
|
-
categories: z.array(exports.ListAllSubscriptionsCategory$inboundSchema).optional(),
|
|
852
|
-
imageUrl: z.string().optional(),
|
|
853
|
-
productUrl: z.string().optional(),
|
|
854
|
-
recurring: z.lazy(() => exports.ListAllSubscriptionsRecurring$inboundSchema)
|
|
855
|
-
.optional(),
|
|
856
|
-
});
|
|
857
|
-
/** @internal */
|
|
858
|
-
exports.ListAllSubscriptionsLine$outboundSchema = z.object({
|
|
859
|
-
type: exports.ListAllSubscriptionsLineType$outboundSchema.default("physical"),
|
|
860
|
-
description: z.string(),
|
|
861
|
-
quantity: z.number().int(),
|
|
862
|
-
quantityUnit: z.string().optional(),
|
|
863
|
-
unitPrice: z.lazy(() => exports.ListAllSubscriptionsUnitPrice$outboundSchema),
|
|
864
|
-
discountAmount: z.lazy(() => exports.ListAllSubscriptionsDiscountAmount$outboundSchema).optional(),
|
|
865
|
-
totalAmount: z.lazy(() => exports.ListAllSubscriptionsTotalAmount$outboundSchema),
|
|
866
|
-
vatRate: z.string().optional(),
|
|
867
|
-
vatAmount: z.lazy(() => exports.ListAllSubscriptionsVatAmount$outboundSchema)
|
|
868
|
-
.optional(),
|
|
869
|
-
sku: z.string().optional(),
|
|
870
|
-
categories: z.array(exports.ListAllSubscriptionsCategory$outboundSchema).optional(),
|
|
871
|
-
imageUrl: z.string().optional(),
|
|
872
|
-
productUrl: z.string().optional(),
|
|
873
|
-
recurring: z.lazy(() => exports.ListAllSubscriptionsRecurring$outboundSchema)
|
|
874
|
-
.optional(),
|
|
875
|
-
});
|
|
876
|
-
/**
|
|
877
|
-
* @internal
|
|
878
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
879
|
-
*/
|
|
880
|
-
var ListAllSubscriptionsLine$;
|
|
881
|
-
(function (ListAllSubscriptionsLine$) {
|
|
882
|
-
/** @deprecated use `ListAllSubscriptionsLine$inboundSchema` instead. */
|
|
883
|
-
ListAllSubscriptionsLine$.inboundSchema = exports.ListAllSubscriptionsLine$inboundSchema;
|
|
884
|
-
/** @deprecated use `ListAllSubscriptionsLine$outboundSchema` instead. */
|
|
885
|
-
ListAllSubscriptionsLine$.outboundSchema = exports.ListAllSubscriptionsLine$outboundSchema;
|
|
886
|
-
})(ListAllSubscriptionsLine$ || (exports.ListAllSubscriptionsLine$ = ListAllSubscriptionsLine$ = {}));
|
|
887
|
-
function listAllSubscriptionsLineToJSON(listAllSubscriptionsLine) {
|
|
888
|
-
return JSON.stringify(exports.ListAllSubscriptionsLine$outboundSchema.parse(listAllSubscriptionsLine));
|
|
889
|
-
}
|
|
890
|
-
function listAllSubscriptionsLineFromJSON(jsonString) {
|
|
891
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsLine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsLine' from JSON`);
|
|
892
|
-
}
|
|
893
|
-
/** @internal */
|
|
894
|
-
exports.ListAllSubscriptionsBillingAddress$inboundSchema = z.object({
|
|
895
|
-
title: z.string().optional(),
|
|
896
|
-
givenName: z.string().optional(),
|
|
897
|
-
familyName: z.string().optional(),
|
|
898
|
-
organizationName: z.string().optional(),
|
|
899
|
-
streetAndNumber: z.string().optional(),
|
|
900
|
-
streetAdditional: z.string().optional(),
|
|
901
|
-
postalCode: z.string().optional(),
|
|
902
|
-
email: z.string().optional(),
|
|
903
|
-
phone: z.string().optional(),
|
|
904
|
-
city: z.string().optional(),
|
|
905
|
-
region: z.string().optional(),
|
|
906
|
-
country: z.string().optional(),
|
|
907
|
-
});
|
|
908
|
-
/** @internal */
|
|
909
|
-
exports.ListAllSubscriptionsBillingAddress$outboundSchema = z.object({
|
|
910
|
-
title: z.string().optional(),
|
|
911
|
-
givenName: z.string().optional(),
|
|
912
|
-
familyName: z.string().optional(),
|
|
913
|
-
organizationName: z.string().optional(),
|
|
914
|
-
streetAndNumber: z.string().optional(),
|
|
915
|
-
streetAdditional: z.string().optional(),
|
|
916
|
-
postalCode: z.string().optional(),
|
|
917
|
-
email: z.string().optional(),
|
|
918
|
-
phone: z.string().optional(),
|
|
919
|
-
city: z.string().optional(),
|
|
920
|
-
region: z.string().optional(),
|
|
921
|
-
country: z.string().optional(),
|
|
922
|
-
});
|
|
923
|
-
/**
|
|
924
|
-
* @internal
|
|
925
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
926
|
-
*/
|
|
927
|
-
var ListAllSubscriptionsBillingAddress$;
|
|
928
|
-
(function (ListAllSubscriptionsBillingAddress$) {
|
|
929
|
-
/** @deprecated use `ListAllSubscriptionsBillingAddress$inboundSchema` instead. */
|
|
930
|
-
ListAllSubscriptionsBillingAddress$.inboundSchema = exports.ListAllSubscriptionsBillingAddress$inboundSchema;
|
|
931
|
-
/** @deprecated use `ListAllSubscriptionsBillingAddress$outboundSchema` instead. */
|
|
932
|
-
ListAllSubscriptionsBillingAddress$.outboundSchema = exports.ListAllSubscriptionsBillingAddress$outboundSchema;
|
|
933
|
-
})(ListAllSubscriptionsBillingAddress$ || (exports.ListAllSubscriptionsBillingAddress$ = ListAllSubscriptionsBillingAddress$ = {}));
|
|
934
|
-
function listAllSubscriptionsBillingAddressToJSON(listAllSubscriptionsBillingAddress) {
|
|
935
|
-
return JSON.stringify(exports.ListAllSubscriptionsBillingAddress$outboundSchema.parse(listAllSubscriptionsBillingAddress));
|
|
936
|
-
}
|
|
937
|
-
function listAllSubscriptionsBillingAddressFromJSON(jsonString) {
|
|
938
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsBillingAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsBillingAddress' from JSON`);
|
|
939
|
-
}
|
|
940
|
-
/** @internal */
|
|
941
|
-
exports.ListAllSubscriptionsShippingAddress$inboundSchema = z.object({
|
|
942
|
-
title: z.string().optional(),
|
|
943
|
-
givenName: z.string().optional(),
|
|
944
|
-
familyName: z.string().optional(),
|
|
945
|
-
organizationName: z.string().optional(),
|
|
946
|
-
streetAndNumber: z.string().optional(),
|
|
947
|
-
streetAdditional: z.string().optional(),
|
|
948
|
-
postalCode: z.string().optional(),
|
|
949
|
-
email: z.string().optional(),
|
|
950
|
-
phone: z.string().optional(),
|
|
951
|
-
city: z.string().optional(),
|
|
952
|
-
region: z.string().optional(),
|
|
953
|
-
country: z.string().optional(),
|
|
954
|
-
});
|
|
955
|
-
/** @internal */
|
|
956
|
-
exports.ListAllSubscriptionsShippingAddress$outboundSchema = z.object({
|
|
957
|
-
title: z.string().optional(),
|
|
958
|
-
givenName: z.string().optional(),
|
|
959
|
-
familyName: z.string().optional(),
|
|
960
|
-
organizationName: z.string().optional(),
|
|
961
|
-
streetAndNumber: z.string().optional(),
|
|
962
|
-
streetAdditional: z.string().optional(),
|
|
963
|
-
postalCode: z.string().optional(),
|
|
964
|
-
email: z.string().optional(),
|
|
965
|
-
phone: z.string().optional(),
|
|
966
|
-
city: z.string().optional(),
|
|
967
|
-
region: z.string().optional(),
|
|
968
|
-
country: z.string().optional(),
|
|
969
|
-
});
|
|
970
|
-
/**
|
|
971
|
-
* @internal
|
|
972
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
973
|
-
*/
|
|
974
|
-
var ListAllSubscriptionsShippingAddress$;
|
|
975
|
-
(function (ListAllSubscriptionsShippingAddress$) {
|
|
976
|
-
/** @deprecated use `ListAllSubscriptionsShippingAddress$inboundSchema` instead. */
|
|
977
|
-
ListAllSubscriptionsShippingAddress$.inboundSchema = exports.ListAllSubscriptionsShippingAddress$inboundSchema;
|
|
978
|
-
/** @deprecated use `ListAllSubscriptionsShippingAddress$outboundSchema` instead. */
|
|
979
|
-
ListAllSubscriptionsShippingAddress$.outboundSchema = exports.ListAllSubscriptionsShippingAddress$outboundSchema;
|
|
980
|
-
})(ListAllSubscriptionsShippingAddress$ || (exports.ListAllSubscriptionsShippingAddress$ = ListAllSubscriptionsShippingAddress$ = {}));
|
|
981
|
-
function listAllSubscriptionsShippingAddressToJSON(listAllSubscriptionsShippingAddress) {
|
|
982
|
-
return JSON.stringify(exports.ListAllSubscriptionsShippingAddress$outboundSchema.parse(listAllSubscriptionsShippingAddress));
|
|
983
|
-
}
|
|
984
|
-
function listAllSubscriptionsShippingAddressFromJSON(jsonString) {
|
|
985
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsShippingAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsShippingAddress' from JSON`);
|
|
986
|
-
}
|
|
987
|
-
/** @internal */
|
|
988
|
-
exports.ListAllSubscriptionsLocale$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsLocale);
|
|
989
|
-
/** @internal */
|
|
990
|
-
exports.ListAllSubscriptionsLocale$outboundSchema = exports.ListAllSubscriptionsLocale$inboundSchema;
|
|
991
|
-
/**
|
|
992
|
-
* @internal
|
|
993
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
994
|
-
*/
|
|
995
|
-
var ListAllSubscriptionsLocale$;
|
|
996
|
-
(function (ListAllSubscriptionsLocale$) {
|
|
997
|
-
/** @deprecated use `ListAllSubscriptionsLocale$inboundSchema` instead. */
|
|
998
|
-
ListAllSubscriptionsLocale$.inboundSchema = exports.ListAllSubscriptionsLocale$inboundSchema;
|
|
999
|
-
/** @deprecated use `ListAllSubscriptionsLocale$outboundSchema` instead. */
|
|
1000
|
-
ListAllSubscriptionsLocale$.outboundSchema = exports.ListAllSubscriptionsLocale$outboundSchema;
|
|
1001
|
-
})(ListAllSubscriptionsLocale$ || (exports.ListAllSubscriptionsLocale$ = ListAllSubscriptionsLocale$ = {}));
|
|
1002
|
-
/** @internal */
|
|
1003
|
-
exports.ListAllSubscriptionsMethod$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsMethod);
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
exports.ListAllSubscriptionsMethod$outboundSchema = exports.ListAllSubscriptionsMethod$inboundSchema;
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1009
|
-
*/
|
|
1010
|
-
var ListAllSubscriptionsMethod$;
|
|
1011
|
-
(function (ListAllSubscriptionsMethod$) {
|
|
1012
|
-
/** @deprecated use `ListAllSubscriptionsMethod$inboundSchema` instead. */
|
|
1013
|
-
ListAllSubscriptionsMethod$.inboundSchema = exports.ListAllSubscriptionsMethod$inboundSchema;
|
|
1014
|
-
/** @deprecated use `ListAllSubscriptionsMethod$outboundSchema` instead. */
|
|
1015
|
-
ListAllSubscriptionsMethod$.outboundSchema = exports.ListAllSubscriptionsMethod$outboundSchema;
|
|
1016
|
-
})(ListAllSubscriptionsMethod$ || (exports.ListAllSubscriptionsMethod$ = ListAllSubscriptionsMethod$ = {}));
|
|
1017
|
-
/** @internal */
|
|
1018
|
-
exports.ListAllSubscriptionsMetadata$inboundSchema = z.object({});
|
|
1019
|
-
/** @internal */
|
|
1020
|
-
exports.ListAllSubscriptionsMetadata$outboundSchema = z.object({});
|
|
1021
|
-
/**
|
|
1022
|
-
* @internal
|
|
1023
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1024
|
-
*/
|
|
1025
|
-
var ListAllSubscriptionsMetadata$;
|
|
1026
|
-
(function (ListAllSubscriptionsMetadata$) {
|
|
1027
|
-
/** @deprecated use `ListAllSubscriptionsMetadata$inboundSchema` instead. */
|
|
1028
|
-
ListAllSubscriptionsMetadata$.inboundSchema = exports.ListAllSubscriptionsMetadata$inboundSchema;
|
|
1029
|
-
/** @deprecated use `ListAllSubscriptionsMetadata$outboundSchema` instead. */
|
|
1030
|
-
ListAllSubscriptionsMetadata$.outboundSchema = exports.ListAllSubscriptionsMetadata$outboundSchema;
|
|
1031
|
-
})(ListAllSubscriptionsMetadata$ || (exports.ListAllSubscriptionsMetadata$ = ListAllSubscriptionsMetadata$ = {}));
|
|
1032
|
-
function listAllSubscriptionsMetadataToJSON(listAllSubscriptionsMetadata) {
|
|
1033
|
-
return JSON.stringify(exports.ListAllSubscriptionsMetadata$outboundSchema.parse(listAllSubscriptionsMetadata));
|
|
1034
|
-
}
|
|
1035
|
-
function listAllSubscriptionsMetadataFromJSON(jsonString) {
|
|
1036
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMetadata' from JSON`);
|
|
1037
|
-
}
|
|
1038
|
-
/** @internal */
|
|
1039
|
-
exports.ListAllSubscriptionsMetadataUnion$inboundSchema = z.union([
|
|
1040
|
-
z.lazy(() => exports.ListAllSubscriptionsMetadata$inboundSchema),
|
|
1041
|
-
z.string(),
|
|
1042
|
-
z.array(z.string()),
|
|
1043
|
-
]);
|
|
1044
|
-
/** @internal */
|
|
1045
|
-
exports.ListAllSubscriptionsMetadataUnion$outboundSchema = z.union([
|
|
1046
|
-
z.lazy(() => exports.ListAllSubscriptionsMetadata$outboundSchema),
|
|
1047
|
-
z.string(),
|
|
1048
|
-
z.array(z.string()),
|
|
1049
|
-
]);
|
|
1050
|
-
/**
|
|
1051
|
-
* @internal
|
|
1052
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1053
|
-
*/
|
|
1054
|
-
var ListAllSubscriptionsMetadataUnion$;
|
|
1055
|
-
(function (ListAllSubscriptionsMetadataUnion$) {
|
|
1056
|
-
/** @deprecated use `ListAllSubscriptionsMetadataUnion$inboundSchema` instead. */
|
|
1057
|
-
ListAllSubscriptionsMetadataUnion$.inboundSchema = exports.ListAllSubscriptionsMetadataUnion$inboundSchema;
|
|
1058
|
-
/** @deprecated use `ListAllSubscriptionsMetadataUnion$outboundSchema` instead. */
|
|
1059
|
-
ListAllSubscriptionsMetadataUnion$.outboundSchema = exports.ListAllSubscriptionsMetadataUnion$outboundSchema;
|
|
1060
|
-
})(ListAllSubscriptionsMetadataUnion$ || (exports.ListAllSubscriptionsMetadataUnion$ = ListAllSubscriptionsMetadataUnion$ = {}));
|
|
1061
|
-
function listAllSubscriptionsMetadataUnionToJSON(listAllSubscriptionsMetadataUnion) {
|
|
1062
|
-
return JSON.stringify(exports.ListAllSubscriptionsMetadataUnion$outboundSchema.parse(listAllSubscriptionsMetadataUnion));
|
|
1063
|
-
}
|
|
1064
|
-
function listAllSubscriptionsMetadataUnionFromJSON(jsonString) {
|
|
1065
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMetadataUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMetadataUnion' from JSON`);
|
|
1066
|
-
}
|
|
1067
|
-
/** @internal */
|
|
1068
|
-
exports.ListAllSubscriptionsCaptureMode$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsCaptureMode);
|
|
1069
|
-
/** @internal */
|
|
1070
|
-
exports.ListAllSubscriptionsCaptureMode$outboundSchema = exports.ListAllSubscriptionsCaptureMode$inboundSchema;
|
|
1071
|
-
/**
|
|
1072
|
-
* @internal
|
|
1073
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1074
|
-
*/
|
|
1075
|
-
var ListAllSubscriptionsCaptureMode$;
|
|
1076
|
-
(function (ListAllSubscriptionsCaptureMode$) {
|
|
1077
|
-
/** @deprecated use `ListAllSubscriptionsCaptureMode$inboundSchema` instead. */
|
|
1078
|
-
ListAllSubscriptionsCaptureMode$.inboundSchema = exports.ListAllSubscriptionsCaptureMode$inboundSchema;
|
|
1079
|
-
/** @deprecated use `ListAllSubscriptionsCaptureMode$outboundSchema` instead. */
|
|
1080
|
-
ListAllSubscriptionsCaptureMode$.outboundSchema = exports.ListAllSubscriptionsCaptureMode$outboundSchema;
|
|
1081
|
-
})(ListAllSubscriptionsCaptureMode$ || (exports.ListAllSubscriptionsCaptureMode$ = ListAllSubscriptionsCaptureMode$ = {}));
|
|
1082
|
-
/** @internal */
|
|
1083
|
-
exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema = z.object({
|
|
1084
|
-
currency: z.string(),
|
|
1085
|
-
value: z.string(),
|
|
1086
|
-
});
|
|
1087
|
-
/** @internal */
|
|
1088
|
-
exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema = z.object({
|
|
1089
|
-
currency: z.string(),
|
|
1090
|
-
value: z.string(),
|
|
1091
|
-
});
|
|
1092
|
-
/**
|
|
1093
|
-
* @internal
|
|
1094
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1095
|
-
*/
|
|
1096
|
-
var ListAllSubscriptionsApplicationFeeAmount$;
|
|
1097
|
-
(function (ListAllSubscriptionsApplicationFeeAmount$) {
|
|
1098
|
-
/** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$inboundSchema` instead. */
|
|
1099
|
-
ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
|
|
1100
|
-
/** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$outboundSchema` instead. */
|
|
1101
|
-
ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
|
|
1102
|
-
})(ListAllSubscriptionsApplicationFeeAmount$ || (exports.ListAllSubscriptionsApplicationFeeAmount$ = ListAllSubscriptionsApplicationFeeAmount$ = {}));
|
|
1103
|
-
function listAllSubscriptionsApplicationFeeAmountToJSON(listAllSubscriptionsApplicationFeeAmount) {
|
|
1104
|
-
return JSON.stringify(exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema.parse(listAllSubscriptionsApplicationFeeAmount));
|
|
1105
|
-
}
|
|
1106
|
-
function listAllSubscriptionsApplicationFeeAmountFromJSON(jsonString) {
|
|
1107
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsApplicationFeeAmount' from JSON`);
|
|
1108
|
-
}
|
|
1109
|
-
/** @internal */
|
|
1110
|
-
exports.ListAllSubscriptionsApplicationFee$inboundSchema = z.object({
|
|
1111
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsApplicationFeeAmount$inboundSchema)
|
|
1112
|
-
.optional(),
|
|
1113
|
-
description: z.string().optional(),
|
|
1114
|
-
});
|
|
1115
|
-
/** @internal */
|
|
1116
|
-
exports.ListAllSubscriptionsApplicationFee$outboundSchema = z.object({
|
|
1117
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsApplicationFeeAmount$outboundSchema)
|
|
1118
|
-
.optional(),
|
|
1119
|
-
description: z.string().optional(),
|
|
1120
|
-
});
|
|
1121
|
-
/**
|
|
1122
|
-
* @internal
|
|
1123
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1124
|
-
*/
|
|
1125
|
-
var ListAllSubscriptionsApplicationFee$;
|
|
1126
|
-
(function (ListAllSubscriptionsApplicationFee$) {
|
|
1127
|
-
/** @deprecated use `ListAllSubscriptionsApplicationFee$inboundSchema` instead. */
|
|
1128
|
-
ListAllSubscriptionsApplicationFee$.inboundSchema = exports.ListAllSubscriptionsApplicationFee$inboundSchema;
|
|
1129
|
-
/** @deprecated use `ListAllSubscriptionsApplicationFee$outboundSchema` instead. */
|
|
1130
|
-
ListAllSubscriptionsApplicationFee$.outboundSchema = exports.ListAllSubscriptionsApplicationFee$outboundSchema;
|
|
1131
|
-
})(ListAllSubscriptionsApplicationFee$ || (exports.ListAllSubscriptionsApplicationFee$ = ListAllSubscriptionsApplicationFee$ = {}));
|
|
1132
|
-
function listAllSubscriptionsApplicationFeeToJSON(listAllSubscriptionsApplicationFee) {
|
|
1133
|
-
return JSON.stringify(exports.ListAllSubscriptionsApplicationFee$outboundSchema.parse(listAllSubscriptionsApplicationFee));
|
|
1134
|
-
}
|
|
1135
|
-
function listAllSubscriptionsApplicationFeeFromJSON(jsonString) {
|
|
1136
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsApplicationFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsApplicationFee' from JSON`);
|
|
1137
|
-
}
|
|
1138
|
-
/** @internal */
|
|
1139
|
-
exports.ListAllSubscriptionsRoutingMode$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsRoutingMode);
|
|
1140
|
-
/** @internal */
|
|
1141
|
-
exports.ListAllSubscriptionsRoutingMode$outboundSchema = exports.ListAllSubscriptionsRoutingMode$inboundSchema;
|
|
1142
|
-
/**
|
|
1143
|
-
* @internal
|
|
1144
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1145
|
-
*/
|
|
1146
|
-
var ListAllSubscriptionsRoutingMode$;
|
|
1147
|
-
(function (ListAllSubscriptionsRoutingMode$) {
|
|
1148
|
-
/** @deprecated use `ListAllSubscriptionsRoutingMode$inboundSchema` instead. */
|
|
1149
|
-
ListAllSubscriptionsRoutingMode$.inboundSchema = exports.ListAllSubscriptionsRoutingMode$inboundSchema;
|
|
1150
|
-
/** @deprecated use `ListAllSubscriptionsRoutingMode$outboundSchema` instead. */
|
|
1151
|
-
ListAllSubscriptionsRoutingMode$.outboundSchema = exports.ListAllSubscriptionsRoutingMode$outboundSchema;
|
|
1152
|
-
})(ListAllSubscriptionsRoutingMode$ || (exports.ListAllSubscriptionsRoutingMode$ = ListAllSubscriptionsRoutingMode$ = {}));
|
|
1153
|
-
/** @internal */
|
|
1154
|
-
exports.ListAllSubscriptionsRoutingAmount$inboundSchema = z.object({
|
|
1155
|
-
currency: z.string(),
|
|
1156
|
-
value: z.string(),
|
|
1157
|
-
});
|
|
1158
|
-
/** @internal */
|
|
1159
|
-
exports.ListAllSubscriptionsRoutingAmount$outboundSchema = z.object({
|
|
1160
|
-
currency: z.string(),
|
|
1161
|
-
value: z.string(),
|
|
1162
|
-
});
|
|
1163
|
-
/**
|
|
1164
|
-
* @internal
|
|
1165
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1166
|
-
*/
|
|
1167
|
-
var ListAllSubscriptionsRoutingAmount$;
|
|
1168
|
-
(function (ListAllSubscriptionsRoutingAmount$) {
|
|
1169
|
-
/** @deprecated use `ListAllSubscriptionsRoutingAmount$inboundSchema` instead. */
|
|
1170
|
-
ListAllSubscriptionsRoutingAmount$.inboundSchema = exports.ListAllSubscriptionsRoutingAmount$inboundSchema;
|
|
1171
|
-
/** @deprecated use `ListAllSubscriptionsRoutingAmount$outboundSchema` instead. */
|
|
1172
|
-
ListAllSubscriptionsRoutingAmount$.outboundSchema = exports.ListAllSubscriptionsRoutingAmount$outboundSchema;
|
|
1173
|
-
})(ListAllSubscriptionsRoutingAmount$ || (exports.ListAllSubscriptionsRoutingAmount$ = ListAllSubscriptionsRoutingAmount$ = {}));
|
|
1174
|
-
function listAllSubscriptionsRoutingAmountToJSON(listAllSubscriptionsRoutingAmount) {
|
|
1175
|
-
return JSON.stringify(exports.ListAllSubscriptionsRoutingAmount$outboundSchema.parse(listAllSubscriptionsRoutingAmount));
|
|
1176
|
-
}
|
|
1177
|
-
function listAllSubscriptionsRoutingAmountFromJSON(jsonString) {
|
|
1178
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRoutingAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRoutingAmount' from JSON`);
|
|
1179
|
-
}
|
|
1180
|
-
/** @internal */
|
|
1181
|
-
exports.ListAllSubscriptionsRoutingType$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsRoutingType);
|
|
1182
|
-
/** @internal */
|
|
1183
|
-
exports.ListAllSubscriptionsRoutingType$outboundSchema = exports.ListAllSubscriptionsRoutingType$inboundSchema;
|
|
1184
|
-
/**
|
|
1185
|
-
* @internal
|
|
1186
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1187
|
-
*/
|
|
1188
|
-
var ListAllSubscriptionsRoutingType$;
|
|
1189
|
-
(function (ListAllSubscriptionsRoutingType$) {
|
|
1190
|
-
/** @deprecated use `ListAllSubscriptionsRoutingType$inboundSchema` instead. */
|
|
1191
|
-
ListAllSubscriptionsRoutingType$.inboundSchema = exports.ListAllSubscriptionsRoutingType$inboundSchema;
|
|
1192
|
-
/** @deprecated use `ListAllSubscriptionsRoutingType$outboundSchema` instead. */
|
|
1193
|
-
ListAllSubscriptionsRoutingType$.outboundSchema = exports.ListAllSubscriptionsRoutingType$outboundSchema;
|
|
1194
|
-
})(ListAllSubscriptionsRoutingType$ || (exports.ListAllSubscriptionsRoutingType$ = ListAllSubscriptionsRoutingType$ = {}));
|
|
1195
|
-
/** @internal */
|
|
1196
|
-
exports.ListAllSubscriptionsDestination$inboundSchema = z.object({
|
|
1197
|
-
type: exports.ListAllSubscriptionsRoutingType$inboundSchema,
|
|
1198
|
-
organizationId: z.string(),
|
|
1199
|
-
});
|
|
1200
|
-
/** @internal */
|
|
1201
|
-
exports.ListAllSubscriptionsDestination$outboundSchema = z.object({
|
|
1202
|
-
type: exports.ListAllSubscriptionsRoutingType$outboundSchema,
|
|
1203
|
-
organizationId: z.string(),
|
|
1204
|
-
});
|
|
1205
|
-
/**
|
|
1206
|
-
* @internal
|
|
1207
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1208
|
-
*/
|
|
1209
|
-
var ListAllSubscriptionsDestination$;
|
|
1210
|
-
(function (ListAllSubscriptionsDestination$) {
|
|
1211
|
-
/** @deprecated use `ListAllSubscriptionsDestination$inboundSchema` instead. */
|
|
1212
|
-
ListAllSubscriptionsDestination$.inboundSchema = exports.ListAllSubscriptionsDestination$inboundSchema;
|
|
1213
|
-
/** @deprecated use `ListAllSubscriptionsDestination$outboundSchema` instead. */
|
|
1214
|
-
ListAllSubscriptionsDestination$.outboundSchema = exports.ListAllSubscriptionsDestination$outboundSchema;
|
|
1215
|
-
})(ListAllSubscriptionsDestination$ || (exports.ListAllSubscriptionsDestination$ = ListAllSubscriptionsDestination$ = {}));
|
|
1216
|
-
function listAllSubscriptionsDestinationToJSON(listAllSubscriptionsDestination) {
|
|
1217
|
-
return JSON.stringify(exports.ListAllSubscriptionsDestination$outboundSchema.parse(listAllSubscriptionsDestination));
|
|
1218
|
-
}
|
|
1219
|
-
function listAllSubscriptionsDestinationFromJSON(jsonString) {
|
|
1220
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsDestination$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsDestination' from JSON`);
|
|
1221
|
-
}
|
|
1222
|
-
/** @internal */
|
|
1223
|
-
exports.ListAllSubscriptionsRoutingSelf$inboundSchema = z.object({
|
|
1224
|
-
href: z.string(),
|
|
1225
|
-
type: z.string(),
|
|
1226
|
-
});
|
|
1227
|
-
/** @internal */
|
|
1228
|
-
exports.ListAllSubscriptionsRoutingSelf$outboundSchema = z.object({
|
|
1229
|
-
href: z.string(),
|
|
1230
|
-
type: z.string(),
|
|
1231
|
-
});
|
|
1232
|
-
/**
|
|
1233
|
-
* @internal
|
|
1234
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1235
|
-
*/
|
|
1236
|
-
var ListAllSubscriptionsRoutingSelf$;
|
|
1237
|
-
(function (ListAllSubscriptionsRoutingSelf$) {
|
|
1238
|
-
/** @deprecated use `ListAllSubscriptionsRoutingSelf$inboundSchema` instead. */
|
|
1239
|
-
ListAllSubscriptionsRoutingSelf$.inboundSchema = exports.ListAllSubscriptionsRoutingSelf$inboundSchema;
|
|
1240
|
-
/** @deprecated use `ListAllSubscriptionsRoutingSelf$outboundSchema` instead. */
|
|
1241
|
-
ListAllSubscriptionsRoutingSelf$.outboundSchema = exports.ListAllSubscriptionsRoutingSelf$outboundSchema;
|
|
1242
|
-
})(ListAllSubscriptionsRoutingSelf$ || (exports.ListAllSubscriptionsRoutingSelf$ = ListAllSubscriptionsRoutingSelf$ = {}));
|
|
1243
|
-
function listAllSubscriptionsRoutingSelfToJSON(listAllSubscriptionsRoutingSelf) {
|
|
1244
|
-
return JSON.stringify(exports.ListAllSubscriptionsRoutingSelf$outboundSchema.parse(listAllSubscriptionsRoutingSelf));
|
|
1245
|
-
}
|
|
1246
|
-
function listAllSubscriptionsRoutingSelfFromJSON(jsonString) {
|
|
1247
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRoutingSelf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRoutingSelf' from JSON`);
|
|
1248
|
-
}
|
|
1249
|
-
/** @internal */
|
|
1250
|
-
exports.ListAllSubscriptionsRoutingPayment$inboundSchema = z.object({
|
|
1251
|
-
href: z.string(),
|
|
1252
|
-
type: z.string(),
|
|
1253
|
-
});
|
|
1254
|
-
/** @internal */
|
|
1255
|
-
exports.ListAllSubscriptionsRoutingPayment$outboundSchema = z.object({
|
|
1256
|
-
href: z.string(),
|
|
1257
|
-
type: z.string(),
|
|
1258
|
-
});
|
|
1259
|
-
/**
|
|
1260
|
-
* @internal
|
|
1261
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1262
|
-
*/
|
|
1263
|
-
var ListAllSubscriptionsRoutingPayment$;
|
|
1264
|
-
(function (ListAllSubscriptionsRoutingPayment$) {
|
|
1265
|
-
/** @deprecated use `ListAllSubscriptionsRoutingPayment$inboundSchema` instead. */
|
|
1266
|
-
ListAllSubscriptionsRoutingPayment$.inboundSchema = exports.ListAllSubscriptionsRoutingPayment$inboundSchema;
|
|
1267
|
-
/** @deprecated use `ListAllSubscriptionsRoutingPayment$outboundSchema` instead. */
|
|
1268
|
-
ListAllSubscriptionsRoutingPayment$.outboundSchema = exports.ListAllSubscriptionsRoutingPayment$outboundSchema;
|
|
1269
|
-
})(ListAllSubscriptionsRoutingPayment$ || (exports.ListAllSubscriptionsRoutingPayment$ = ListAllSubscriptionsRoutingPayment$ = {}));
|
|
1270
|
-
function listAllSubscriptionsRoutingPaymentToJSON(listAllSubscriptionsRoutingPayment) {
|
|
1271
|
-
return JSON.stringify(exports.ListAllSubscriptionsRoutingPayment$outboundSchema.parse(listAllSubscriptionsRoutingPayment));
|
|
1272
|
-
}
|
|
1273
|
-
function listAllSubscriptionsRoutingPaymentFromJSON(jsonString) {
|
|
1274
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRoutingPayment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRoutingPayment' from JSON`);
|
|
1275
|
-
}
|
|
1276
|
-
/** @internal */
|
|
1277
|
-
exports.ListAllSubscriptionsRoutingLinks$inboundSchema = z.object({
|
|
1278
|
-
self: z.lazy(() => exports.ListAllSubscriptionsRoutingSelf$inboundSchema),
|
|
1279
|
-
payment: z.lazy(() => exports.ListAllSubscriptionsRoutingPayment$inboundSchema),
|
|
1280
|
-
});
|
|
1281
|
-
/** @internal */
|
|
1282
|
-
exports.ListAllSubscriptionsRoutingLinks$outboundSchema = z.object({
|
|
1283
|
-
self: z.lazy(() => exports.ListAllSubscriptionsRoutingSelf$outboundSchema),
|
|
1284
|
-
payment: z.lazy(() => exports.ListAllSubscriptionsRoutingPayment$outboundSchema),
|
|
1285
|
-
});
|
|
1286
|
-
/**
|
|
1287
|
-
* @internal
|
|
1288
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1289
|
-
*/
|
|
1290
|
-
var ListAllSubscriptionsRoutingLinks$;
|
|
1291
|
-
(function (ListAllSubscriptionsRoutingLinks$) {
|
|
1292
|
-
/** @deprecated use `ListAllSubscriptionsRoutingLinks$inboundSchema` instead. */
|
|
1293
|
-
ListAllSubscriptionsRoutingLinks$.inboundSchema = exports.ListAllSubscriptionsRoutingLinks$inboundSchema;
|
|
1294
|
-
/** @deprecated use `ListAllSubscriptionsRoutingLinks$outboundSchema` instead. */
|
|
1295
|
-
ListAllSubscriptionsRoutingLinks$.outboundSchema = exports.ListAllSubscriptionsRoutingLinks$outboundSchema;
|
|
1296
|
-
})(ListAllSubscriptionsRoutingLinks$ || (exports.ListAllSubscriptionsRoutingLinks$ = ListAllSubscriptionsRoutingLinks$ = {}));
|
|
1297
|
-
function listAllSubscriptionsRoutingLinksToJSON(listAllSubscriptionsRoutingLinks) {
|
|
1298
|
-
return JSON.stringify(exports.ListAllSubscriptionsRoutingLinks$outboundSchema.parse(listAllSubscriptionsRoutingLinks));
|
|
1299
|
-
}
|
|
1300
|
-
function listAllSubscriptionsRoutingLinksFromJSON(jsonString) {
|
|
1301
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRoutingLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRoutingLinks' from JSON`);
|
|
1302
|
-
}
|
|
1303
|
-
/** @internal */
|
|
1304
|
-
exports.ListAllSubscriptionsRouting$inboundSchema = z.object({
|
|
1305
|
-
resource: z.string(),
|
|
1306
|
-
id: z.string(),
|
|
1307
|
-
mode: exports.ListAllSubscriptionsRoutingMode$inboundSchema,
|
|
1308
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsRoutingAmount$inboundSchema),
|
|
1309
|
-
destination: z.lazy(() => exports.ListAllSubscriptionsDestination$inboundSchema),
|
|
1310
|
-
createdAt: z.string(),
|
|
1311
|
-
releaseDate: z.nullable(z.string()).optional(),
|
|
1312
|
-
_links: z.lazy(() => exports.ListAllSubscriptionsRoutingLinks$inboundSchema),
|
|
1313
|
-
}).transform((v) => {
|
|
1314
|
-
return (0, primitives_js_1.remap)(v, {
|
|
1315
|
-
"_links": "links",
|
|
1316
|
-
});
|
|
1317
|
-
});
|
|
1318
|
-
/** @internal */
|
|
1319
|
-
exports.ListAllSubscriptionsRouting$outboundSchema = z.object({
|
|
1320
|
-
resource: z.string(),
|
|
1321
|
-
id: z.string(),
|
|
1322
|
-
mode: exports.ListAllSubscriptionsRoutingMode$outboundSchema,
|
|
1323
|
-
amount: z.lazy(() => exports.ListAllSubscriptionsRoutingAmount$outboundSchema),
|
|
1324
|
-
destination: z.lazy(() => exports.ListAllSubscriptionsDestination$outboundSchema),
|
|
1325
|
-
createdAt: z.string(),
|
|
1326
|
-
releaseDate: z.nullable(z.string()).optional(),
|
|
1327
|
-
links: z.lazy(() => exports.ListAllSubscriptionsRoutingLinks$outboundSchema),
|
|
1328
|
-
}).transform((v) => {
|
|
1329
|
-
return (0, primitives_js_1.remap)(v, {
|
|
1330
|
-
links: "_links",
|
|
1331
|
-
});
|
|
1332
|
-
});
|
|
1333
|
-
/**
|
|
1334
|
-
* @internal
|
|
1335
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1336
|
-
*/
|
|
1337
|
-
var ListAllSubscriptionsRouting$;
|
|
1338
|
-
(function (ListAllSubscriptionsRouting$) {
|
|
1339
|
-
/** @deprecated use `ListAllSubscriptionsRouting$inboundSchema` instead. */
|
|
1340
|
-
ListAllSubscriptionsRouting$.inboundSchema = exports.ListAllSubscriptionsRouting$inboundSchema;
|
|
1341
|
-
/** @deprecated use `ListAllSubscriptionsRouting$outboundSchema` instead. */
|
|
1342
|
-
ListAllSubscriptionsRouting$.outboundSchema = exports.ListAllSubscriptionsRouting$outboundSchema;
|
|
1343
|
-
})(ListAllSubscriptionsRouting$ || (exports.ListAllSubscriptionsRouting$ = ListAllSubscriptionsRouting$ = {}));
|
|
1344
|
-
function listAllSubscriptionsRoutingToJSON(listAllSubscriptionsRouting) {
|
|
1345
|
-
return JSON.stringify(exports.ListAllSubscriptionsRouting$outboundSchema.parse(listAllSubscriptionsRouting));
|
|
1346
|
-
}
|
|
1347
|
-
function listAllSubscriptionsRoutingFromJSON(jsonString) {
|
|
1348
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRouting$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRouting' from JSON`);
|
|
1349
|
-
}
|
|
1350
|
-
/** @internal */
|
|
1351
|
-
exports.ListAllSubscriptionsSequenceType$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsSequenceType);
|
|
1352
|
-
/** @internal */
|
|
1353
|
-
exports.ListAllSubscriptionsSequenceType$outboundSchema = exports.ListAllSubscriptionsSequenceType$inboundSchema;
|
|
1354
|
-
/**
|
|
1355
|
-
* @internal
|
|
1356
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1357
|
-
*/
|
|
1358
|
-
var ListAllSubscriptionsSequenceType$;
|
|
1359
|
-
(function (ListAllSubscriptionsSequenceType$) {
|
|
1360
|
-
/** @deprecated use `ListAllSubscriptionsSequenceType$inboundSchema` instead. */
|
|
1361
|
-
ListAllSubscriptionsSequenceType$.inboundSchema = exports.ListAllSubscriptionsSequenceType$inboundSchema;
|
|
1362
|
-
/** @deprecated use `ListAllSubscriptionsSequenceType$outboundSchema` instead. */
|
|
1363
|
-
ListAllSubscriptionsSequenceType$.outboundSchema = exports.ListAllSubscriptionsSequenceType$outboundSchema;
|
|
1364
|
-
})(ListAllSubscriptionsSequenceType$ || (exports.ListAllSubscriptionsSequenceType$ = ListAllSubscriptionsSequenceType$ = {}));
|
|
1365
|
-
/** @internal */
|
|
1366
|
-
exports.ListAllSubscriptionsStatus$inboundSchema = z.nativeEnum(exports.ListAllSubscriptionsStatus);
|
|
1367
|
-
/** @internal */
|
|
1368
|
-
exports.ListAllSubscriptionsStatus$outboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema;
|
|
1369
|
-
/**
|
|
1370
|
-
* @internal
|
|
1371
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1372
|
-
*/
|
|
1373
|
-
var ListAllSubscriptionsStatus$;
|
|
1374
|
-
(function (ListAllSubscriptionsStatus$) {
|
|
1375
|
-
/** @deprecated use `ListAllSubscriptionsStatus$inboundSchema` instead. */
|
|
1376
|
-
ListAllSubscriptionsStatus$.inboundSchema = exports.ListAllSubscriptionsStatus$inboundSchema;
|
|
1377
|
-
/** @deprecated use `ListAllSubscriptionsStatus$outboundSchema` instead. */
|
|
1378
|
-
ListAllSubscriptionsStatus$.outboundSchema = exports.ListAllSubscriptionsStatus$outboundSchema;
|
|
1379
|
-
})(ListAllSubscriptionsStatus$ || (exports.ListAllSubscriptionsStatus$ = ListAllSubscriptionsStatus$ = {}));
|
|
1380
|
-
/** @internal */
|
|
1381
|
-
exports.ListAllSubscriptionsStatusReason$inboundSchema = z.object({
|
|
1382
|
-
code: z.string(),
|
|
1383
|
-
message: z.string(),
|
|
1384
|
-
});
|
|
1385
|
-
/** @internal */
|
|
1386
|
-
exports.ListAllSubscriptionsStatusReason$outboundSchema = z.object({
|
|
1387
|
-
code: z.string(),
|
|
1388
|
-
message: z.string(),
|
|
1389
|
-
});
|
|
1390
|
-
/**
|
|
1391
|
-
* @internal
|
|
1392
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1393
|
-
*/
|
|
1394
|
-
var ListAllSubscriptionsStatusReason$;
|
|
1395
|
-
(function (ListAllSubscriptionsStatusReason$) {
|
|
1396
|
-
/** @deprecated use `ListAllSubscriptionsStatusReason$inboundSchema` instead. */
|
|
1397
|
-
ListAllSubscriptionsStatusReason$.inboundSchema = exports.ListAllSubscriptionsStatusReason$inboundSchema;
|
|
1398
|
-
/** @deprecated use `ListAllSubscriptionsStatusReason$outboundSchema` instead. */
|
|
1399
|
-
ListAllSubscriptionsStatusReason$.outboundSchema = exports.ListAllSubscriptionsStatusReason$outboundSchema;
|
|
1400
|
-
})(ListAllSubscriptionsStatusReason$ || (exports.ListAllSubscriptionsStatusReason$ = ListAllSubscriptionsStatusReason$ = {}));
|
|
1401
|
-
function listAllSubscriptionsStatusReasonToJSON(listAllSubscriptionsStatusReason) {
|
|
1402
|
-
return JSON.stringify(exports.ListAllSubscriptionsStatusReason$outboundSchema.parse(listAllSubscriptionsStatusReason));
|
|
1403
|
-
}
|
|
1404
|
-
function listAllSubscriptionsStatusReasonFromJSON(jsonString) {
|
|
1405
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsStatusReason' from JSON`);
|
|
1406
|
-
}
|
|
1407
|
-
/** @internal */
|
|
1408
|
-
exports.ListAllSubscriptionsPaymentSelf$inboundSchema = z.object({
|
|
1409
|
-
href: z.string(),
|
|
1410
|
-
type: z.string(),
|
|
1411
|
-
});
|
|
1412
|
-
/** @internal */
|
|
1413
|
-
exports.ListAllSubscriptionsPaymentSelf$outboundSchema = z.object({
|
|
1414
|
-
href: z.string(),
|
|
1415
|
-
type: z.string(),
|
|
1416
|
-
});
|
|
1417
|
-
/**
|
|
1418
|
-
* @internal
|
|
1419
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1420
|
-
*/
|
|
1421
|
-
var ListAllSubscriptionsPaymentSelf$;
|
|
1422
|
-
(function (ListAllSubscriptionsPaymentSelf$) {
|
|
1423
|
-
/** @deprecated use `ListAllSubscriptionsPaymentSelf$inboundSchema` instead. */
|
|
1424
|
-
ListAllSubscriptionsPaymentSelf$.inboundSchema = exports.ListAllSubscriptionsPaymentSelf$inboundSchema;
|
|
1425
|
-
/** @deprecated use `ListAllSubscriptionsPaymentSelf$outboundSchema` instead. */
|
|
1426
|
-
ListAllSubscriptionsPaymentSelf$.outboundSchema = exports.ListAllSubscriptionsPaymentSelf$outboundSchema;
|
|
1427
|
-
})(ListAllSubscriptionsPaymentSelf$ || (exports.ListAllSubscriptionsPaymentSelf$ = ListAllSubscriptionsPaymentSelf$ = {}));
|
|
1428
|
-
function listAllSubscriptionsPaymentSelfToJSON(listAllSubscriptionsPaymentSelf) {
|
|
1429
|
-
return JSON.stringify(exports.ListAllSubscriptionsPaymentSelf$outboundSchema.parse(listAllSubscriptionsPaymentSelf));
|
|
1430
|
-
}
|
|
1431
|
-
function listAllSubscriptionsPaymentSelfFromJSON(jsonString) {
|
|
1432
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsPaymentSelf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsPaymentSelf' from JSON`);
|
|
1433
|
-
}
|
|
1434
|
-
/** @internal */
|
|
1435
|
-
exports.ListAllSubscriptionsCheckout$inboundSchema = z.object({
|
|
1436
|
-
href: z.string(),
|
|
1437
|
-
type: z.string(),
|
|
1438
|
-
});
|
|
1439
|
-
/** @internal */
|
|
1440
|
-
exports.ListAllSubscriptionsCheckout$outboundSchema = z.object({
|
|
1441
|
-
href: z.string(),
|
|
1442
|
-
type: z.string(),
|
|
1443
|
-
});
|
|
1444
|
-
/**
|
|
1445
|
-
* @internal
|
|
1446
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1447
|
-
*/
|
|
1448
|
-
var ListAllSubscriptionsCheckout$;
|
|
1449
|
-
(function (ListAllSubscriptionsCheckout$) {
|
|
1450
|
-
/** @deprecated use `ListAllSubscriptionsCheckout$inboundSchema` instead. */
|
|
1451
|
-
ListAllSubscriptionsCheckout$.inboundSchema = exports.ListAllSubscriptionsCheckout$inboundSchema;
|
|
1452
|
-
/** @deprecated use `ListAllSubscriptionsCheckout$outboundSchema` instead. */
|
|
1453
|
-
ListAllSubscriptionsCheckout$.outboundSchema = exports.ListAllSubscriptionsCheckout$outboundSchema;
|
|
1454
|
-
})(ListAllSubscriptionsCheckout$ || (exports.ListAllSubscriptionsCheckout$ = ListAllSubscriptionsCheckout$ = {}));
|
|
1455
|
-
function listAllSubscriptionsCheckoutToJSON(listAllSubscriptionsCheckout) {
|
|
1456
|
-
return JSON.stringify(exports.ListAllSubscriptionsCheckout$outboundSchema.parse(listAllSubscriptionsCheckout));
|
|
1457
|
-
}
|
|
1458
|
-
function listAllSubscriptionsCheckoutFromJSON(jsonString) {
|
|
1459
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsCheckout$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsCheckout' from JSON`);
|
|
1460
|
-
}
|
|
1461
|
-
/** @internal */
|
|
1462
|
-
exports.ListAllSubscriptionsMobileAppCheckout$inboundSchema = z.object({
|
|
1463
|
-
href: z.string(),
|
|
1464
|
-
type: z.string(),
|
|
1465
|
-
});
|
|
1466
|
-
/** @internal */
|
|
1467
|
-
exports.ListAllSubscriptionsMobileAppCheckout$outboundSchema = z.object({
|
|
1468
|
-
href: z.string(),
|
|
1469
|
-
type: z.string(),
|
|
1470
|
-
});
|
|
1471
|
-
/**
|
|
1472
|
-
* @internal
|
|
1473
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1474
|
-
*/
|
|
1475
|
-
var ListAllSubscriptionsMobileAppCheckout$;
|
|
1476
|
-
(function (ListAllSubscriptionsMobileAppCheckout$) {
|
|
1477
|
-
/** @deprecated use `ListAllSubscriptionsMobileAppCheckout$inboundSchema` instead. */
|
|
1478
|
-
ListAllSubscriptionsMobileAppCheckout$.inboundSchema = exports.ListAllSubscriptionsMobileAppCheckout$inboundSchema;
|
|
1479
|
-
/** @deprecated use `ListAllSubscriptionsMobileAppCheckout$outboundSchema` instead. */
|
|
1480
|
-
ListAllSubscriptionsMobileAppCheckout$.outboundSchema = exports.ListAllSubscriptionsMobileAppCheckout$outboundSchema;
|
|
1481
|
-
})(ListAllSubscriptionsMobileAppCheckout$ || (exports.ListAllSubscriptionsMobileAppCheckout$ = ListAllSubscriptionsMobileAppCheckout$ = {}));
|
|
1482
|
-
function listAllSubscriptionsMobileAppCheckoutToJSON(listAllSubscriptionsMobileAppCheckout) {
|
|
1483
|
-
return JSON.stringify(exports.ListAllSubscriptionsMobileAppCheckout$outboundSchema.parse(listAllSubscriptionsMobileAppCheckout));
|
|
1484
|
-
}
|
|
1485
|
-
function listAllSubscriptionsMobileAppCheckoutFromJSON(jsonString) {
|
|
1486
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMobileAppCheckout$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMobileAppCheckout' from JSON`);
|
|
1487
|
-
}
|
|
1488
|
-
/** @internal */
|
|
1489
|
-
exports.ListAllSubscriptionsChangePaymentState$inboundSchema = z.object({
|
|
1490
|
-
href: z.string(),
|
|
1491
|
-
type: z.string(),
|
|
1492
|
-
});
|
|
1493
|
-
/** @internal */
|
|
1494
|
-
exports.ListAllSubscriptionsChangePaymentState$outboundSchema = z.object({
|
|
1495
|
-
href: z.string(),
|
|
1496
|
-
type: z.string(),
|
|
1497
|
-
});
|
|
1498
|
-
/**
|
|
1499
|
-
* @internal
|
|
1500
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1501
|
-
*/
|
|
1502
|
-
var ListAllSubscriptionsChangePaymentState$;
|
|
1503
|
-
(function (ListAllSubscriptionsChangePaymentState$) {
|
|
1504
|
-
/** @deprecated use `ListAllSubscriptionsChangePaymentState$inboundSchema` instead. */
|
|
1505
|
-
ListAllSubscriptionsChangePaymentState$.inboundSchema = exports.ListAllSubscriptionsChangePaymentState$inboundSchema;
|
|
1506
|
-
/** @deprecated use `ListAllSubscriptionsChangePaymentState$outboundSchema` instead. */
|
|
1507
|
-
ListAllSubscriptionsChangePaymentState$.outboundSchema = exports.ListAllSubscriptionsChangePaymentState$outboundSchema;
|
|
1508
|
-
})(ListAllSubscriptionsChangePaymentState$ || (exports.ListAllSubscriptionsChangePaymentState$ = ListAllSubscriptionsChangePaymentState$ = {}));
|
|
1509
|
-
function listAllSubscriptionsChangePaymentStateToJSON(listAllSubscriptionsChangePaymentState) {
|
|
1510
|
-
return JSON.stringify(exports.ListAllSubscriptionsChangePaymentState$outboundSchema.parse(listAllSubscriptionsChangePaymentState));
|
|
1511
|
-
}
|
|
1512
|
-
function listAllSubscriptionsChangePaymentStateFromJSON(jsonString) {
|
|
1513
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsChangePaymentState$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsChangePaymentState' from JSON`);
|
|
1514
|
-
}
|
|
1515
|
-
/** @internal */
|
|
1516
|
-
exports.ListAllSubscriptionsDashboard$inboundSchema = z.object({
|
|
1517
|
-
href: z.string(),
|
|
1518
|
-
type: z.string(),
|
|
1519
|
-
});
|
|
1520
|
-
/** @internal */
|
|
1521
|
-
exports.ListAllSubscriptionsDashboard$outboundSchema = z.object({
|
|
1522
|
-
href: z.string(),
|
|
1523
|
-
type: z.string(),
|
|
1524
|
-
});
|
|
1525
|
-
/**
|
|
1526
|
-
* @internal
|
|
1527
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1528
|
-
*/
|
|
1529
|
-
var ListAllSubscriptionsDashboard$;
|
|
1530
|
-
(function (ListAllSubscriptionsDashboard$) {
|
|
1531
|
-
/** @deprecated use `ListAllSubscriptionsDashboard$inboundSchema` instead. */
|
|
1532
|
-
ListAllSubscriptionsDashboard$.inboundSchema = exports.ListAllSubscriptionsDashboard$inboundSchema;
|
|
1533
|
-
/** @deprecated use `ListAllSubscriptionsDashboard$outboundSchema` instead. */
|
|
1534
|
-
ListAllSubscriptionsDashboard$.outboundSchema = exports.ListAllSubscriptionsDashboard$outboundSchema;
|
|
1535
|
-
})(ListAllSubscriptionsDashboard$ || (exports.ListAllSubscriptionsDashboard$ = ListAllSubscriptionsDashboard$ = {}));
|
|
1536
|
-
function listAllSubscriptionsDashboardToJSON(listAllSubscriptionsDashboard) {
|
|
1537
|
-
return JSON.stringify(exports.ListAllSubscriptionsDashboard$outboundSchema.parse(listAllSubscriptionsDashboard));
|
|
1538
|
-
}
|
|
1539
|
-
function listAllSubscriptionsDashboardFromJSON(jsonString) {
|
|
1540
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsDashboard$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsDashboard' from JSON`);
|
|
1541
|
-
}
|
|
1542
|
-
/** @internal */
|
|
1543
|
-
exports.ListAllSubscriptionsRefunds$inboundSchema = z.object({
|
|
1544
|
-
href: z.string(),
|
|
1545
|
-
type: z.string(),
|
|
1546
|
-
});
|
|
1547
|
-
/** @internal */
|
|
1548
|
-
exports.ListAllSubscriptionsRefunds$outboundSchema = z.object({
|
|
1549
|
-
href: z.string(),
|
|
1550
|
-
type: z.string(),
|
|
1551
|
-
});
|
|
1552
|
-
/**
|
|
1553
|
-
* @internal
|
|
1554
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1555
|
-
*/
|
|
1556
|
-
var ListAllSubscriptionsRefunds$;
|
|
1557
|
-
(function (ListAllSubscriptionsRefunds$) {
|
|
1558
|
-
/** @deprecated use `ListAllSubscriptionsRefunds$inboundSchema` instead. */
|
|
1559
|
-
ListAllSubscriptionsRefunds$.inboundSchema = exports.ListAllSubscriptionsRefunds$inboundSchema;
|
|
1560
|
-
/** @deprecated use `ListAllSubscriptionsRefunds$outboundSchema` instead. */
|
|
1561
|
-
ListAllSubscriptionsRefunds$.outboundSchema = exports.ListAllSubscriptionsRefunds$outboundSchema;
|
|
1562
|
-
})(ListAllSubscriptionsRefunds$ || (exports.ListAllSubscriptionsRefunds$ = ListAllSubscriptionsRefunds$ = {}));
|
|
1563
|
-
function listAllSubscriptionsRefundsToJSON(listAllSubscriptionsRefunds) {
|
|
1564
|
-
return JSON.stringify(exports.ListAllSubscriptionsRefunds$outboundSchema.parse(listAllSubscriptionsRefunds));
|
|
1565
|
-
}
|
|
1566
|
-
function listAllSubscriptionsRefundsFromJSON(jsonString) {
|
|
1567
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsRefunds$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsRefunds' from JSON`);
|
|
1568
|
-
}
|
|
1569
|
-
/** @internal */
|
|
1570
|
-
exports.ListAllSubscriptionsChargebacks$inboundSchema = z.object({
|
|
1571
|
-
href: z.string(),
|
|
1572
|
-
type: z.string(),
|
|
1573
|
-
});
|
|
1574
|
-
/** @internal */
|
|
1575
|
-
exports.ListAllSubscriptionsChargebacks$outboundSchema = z.object({
|
|
1576
|
-
href: z.string(),
|
|
1577
|
-
type: z.string(),
|
|
1578
|
-
});
|
|
1579
|
-
/**
|
|
1580
|
-
* @internal
|
|
1581
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1582
|
-
*/
|
|
1583
|
-
var ListAllSubscriptionsChargebacks$;
|
|
1584
|
-
(function (ListAllSubscriptionsChargebacks$) {
|
|
1585
|
-
/** @deprecated use `ListAllSubscriptionsChargebacks$inboundSchema` instead. */
|
|
1586
|
-
ListAllSubscriptionsChargebacks$.inboundSchema = exports.ListAllSubscriptionsChargebacks$inboundSchema;
|
|
1587
|
-
/** @deprecated use `ListAllSubscriptionsChargebacks$outboundSchema` instead. */
|
|
1588
|
-
ListAllSubscriptionsChargebacks$.outboundSchema = exports.ListAllSubscriptionsChargebacks$outboundSchema;
|
|
1589
|
-
})(ListAllSubscriptionsChargebacks$ || (exports.ListAllSubscriptionsChargebacks$ = ListAllSubscriptionsChargebacks$ = {}));
|
|
1590
|
-
function listAllSubscriptionsChargebacksToJSON(listAllSubscriptionsChargebacks) {
|
|
1591
|
-
return JSON.stringify(exports.ListAllSubscriptionsChargebacks$outboundSchema.parse(listAllSubscriptionsChargebacks));
|
|
1592
|
-
}
|
|
1593
|
-
function listAllSubscriptionsChargebacksFromJSON(jsonString) {
|
|
1594
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsChargebacks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsChargebacks' from JSON`);
|
|
1595
|
-
}
|
|
1596
|
-
/** @internal */
|
|
1597
|
-
exports.ListAllSubscriptionsCaptures$inboundSchema = z.object({
|
|
1598
|
-
href: z.string(),
|
|
1599
|
-
type: z.string(),
|
|
1600
|
-
});
|
|
1601
|
-
/** @internal */
|
|
1602
|
-
exports.ListAllSubscriptionsCaptures$outboundSchema = z.object({
|
|
1603
|
-
href: z.string(),
|
|
1604
|
-
type: z.string(),
|
|
1605
|
-
});
|
|
1606
|
-
/**
|
|
1607
|
-
* @internal
|
|
1608
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1609
|
-
*/
|
|
1610
|
-
var ListAllSubscriptionsCaptures$;
|
|
1611
|
-
(function (ListAllSubscriptionsCaptures$) {
|
|
1612
|
-
/** @deprecated use `ListAllSubscriptionsCaptures$inboundSchema` instead. */
|
|
1613
|
-
ListAllSubscriptionsCaptures$.inboundSchema = exports.ListAllSubscriptionsCaptures$inboundSchema;
|
|
1614
|
-
/** @deprecated use `ListAllSubscriptionsCaptures$outboundSchema` instead. */
|
|
1615
|
-
ListAllSubscriptionsCaptures$.outboundSchema = exports.ListAllSubscriptionsCaptures$outboundSchema;
|
|
1616
|
-
})(ListAllSubscriptionsCaptures$ || (exports.ListAllSubscriptionsCaptures$ = ListAllSubscriptionsCaptures$ = {}));
|
|
1617
|
-
function listAllSubscriptionsCapturesToJSON(listAllSubscriptionsCaptures) {
|
|
1618
|
-
return JSON.stringify(exports.ListAllSubscriptionsCaptures$outboundSchema.parse(listAllSubscriptionsCaptures));
|
|
1619
|
-
}
|
|
1620
|
-
function listAllSubscriptionsCapturesFromJSON(jsonString) {
|
|
1621
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsCaptures$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsCaptures' from JSON`);
|
|
1622
|
-
}
|
|
1623
|
-
/** @internal */
|
|
1624
|
-
exports.ListAllSubscriptionsSettlement$inboundSchema = z.object({
|
|
1625
|
-
href: z.string(),
|
|
1626
|
-
type: z.string(),
|
|
1627
|
-
});
|
|
1628
|
-
/** @internal */
|
|
1629
|
-
exports.ListAllSubscriptionsSettlement$outboundSchema = z.object({
|
|
1630
|
-
href: z.string(),
|
|
1631
|
-
type: z.string(),
|
|
1632
|
-
});
|
|
1633
|
-
/**
|
|
1634
|
-
* @internal
|
|
1635
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1636
|
-
*/
|
|
1637
|
-
var ListAllSubscriptionsSettlement$;
|
|
1638
|
-
(function (ListAllSubscriptionsSettlement$) {
|
|
1639
|
-
/** @deprecated use `ListAllSubscriptionsSettlement$inboundSchema` instead. */
|
|
1640
|
-
ListAllSubscriptionsSettlement$.inboundSchema = exports.ListAllSubscriptionsSettlement$inboundSchema;
|
|
1641
|
-
/** @deprecated use `ListAllSubscriptionsSettlement$outboundSchema` instead. */
|
|
1642
|
-
ListAllSubscriptionsSettlement$.outboundSchema = exports.ListAllSubscriptionsSettlement$outboundSchema;
|
|
1643
|
-
})(ListAllSubscriptionsSettlement$ || (exports.ListAllSubscriptionsSettlement$ = ListAllSubscriptionsSettlement$ = {}));
|
|
1644
|
-
function listAllSubscriptionsSettlementToJSON(listAllSubscriptionsSettlement) {
|
|
1645
|
-
return JSON.stringify(exports.ListAllSubscriptionsSettlement$outboundSchema.parse(listAllSubscriptionsSettlement));
|
|
1646
|
-
}
|
|
1647
|
-
function listAllSubscriptionsSettlementFromJSON(jsonString) {
|
|
1648
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSettlement$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSettlement' from JSON`);
|
|
1649
|
-
}
|
|
1650
|
-
/** @internal */
|
|
1651
|
-
exports.ListAllSubscriptionsCustomer$inboundSchema = z.object({
|
|
1652
|
-
href: z.string(),
|
|
1653
|
-
type: z.string(),
|
|
1654
|
-
});
|
|
1655
|
-
/** @internal */
|
|
1656
|
-
exports.ListAllSubscriptionsCustomer$outboundSchema = z.object({
|
|
1657
|
-
href: z.string(),
|
|
1658
|
-
type: z.string(),
|
|
1659
|
-
});
|
|
1660
|
-
/**
|
|
1661
|
-
* @internal
|
|
1662
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1663
|
-
*/
|
|
1664
|
-
var ListAllSubscriptionsCustomer$;
|
|
1665
|
-
(function (ListAllSubscriptionsCustomer$) {
|
|
1666
|
-
/** @deprecated use `ListAllSubscriptionsCustomer$inboundSchema` instead. */
|
|
1667
|
-
ListAllSubscriptionsCustomer$.inboundSchema = exports.ListAllSubscriptionsCustomer$inboundSchema;
|
|
1668
|
-
/** @deprecated use `ListAllSubscriptionsCustomer$outboundSchema` instead. */
|
|
1669
|
-
ListAllSubscriptionsCustomer$.outboundSchema = exports.ListAllSubscriptionsCustomer$outboundSchema;
|
|
1670
|
-
})(ListAllSubscriptionsCustomer$ || (exports.ListAllSubscriptionsCustomer$ = ListAllSubscriptionsCustomer$ = {}));
|
|
1671
|
-
function listAllSubscriptionsCustomerToJSON(listAllSubscriptionsCustomer) {
|
|
1672
|
-
return JSON.stringify(exports.ListAllSubscriptionsCustomer$outboundSchema.parse(listAllSubscriptionsCustomer));
|
|
1673
|
-
}
|
|
1674
|
-
function listAllSubscriptionsCustomerFromJSON(jsonString) {
|
|
1675
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsCustomer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsCustomer' from JSON`);
|
|
1676
|
-
}
|
|
1677
|
-
/** @internal */
|
|
1678
|
-
exports.ListAllSubscriptionsMandate$inboundSchema = z.object({
|
|
1679
|
-
href: z.string(),
|
|
1680
|
-
type: z.string(),
|
|
1681
|
-
});
|
|
1682
|
-
/** @internal */
|
|
1683
|
-
exports.ListAllSubscriptionsMandate$outboundSchema = z.object({
|
|
1684
|
-
href: z.string(),
|
|
1685
|
-
type: z.string(),
|
|
520
|
+
exports.ListAllSubscriptionsMandate$outboundSchema = z.object({
|
|
521
|
+
href: z.string().optional(),
|
|
522
|
+
type: z.string().optional(),
|
|
1686
523
|
});
|
|
1687
524
|
/**
|
|
1688
525
|
* @internal
|
|
@@ -1702,93 +539,66 @@ function listAllSubscriptionsMandateFromJSON(jsonString) {
|
|
|
1702
539
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsMandate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsMandate' from JSON`);
|
|
1703
540
|
}
|
|
1704
541
|
/** @internal */
|
|
1705
|
-
exports.
|
|
1706
|
-
href: z.string(),
|
|
1707
|
-
type: z.string(),
|
|
1708
|
-
});
|
|
1709
|
-
/** @internal */
|
|
1710
|
-
exports.ListAllSubscriptionsSubscription$outboundSchema = z.object({
|
|
1711
|
-
href: z.string(),
|
|
1712
|
-
type: z.string(),
|
|
1713
|
-
});
|
|
1714
|
-
/**
|
|
1715
|
-
* @internal
|
|
1716
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1717
|
-
*/
|
|
1718
|
-
var ListAllSubscriptionsSubscription$;
|
|
1719
|
-
(function (ListAllSubscriptionsSubscription$) {
|
|
1720
|
-
/** @deprecated use `ListAllSubscriptionsSubscription$inboundSchema` instead. */
|
|
1721
|
-
ListAllSubscriptionsSubscription$.inboundSchema = exports.ListAllSubscriptionsSubscription$inboundSchema;
|
|
1722
|
-
/** @deprecated use `ListAllSubscriptionsSubscription$outboundSchema` instead. */
|
|
1723
|
-
ListAllSubscriptionsSubscription$.outboundSchema = exports.ListAllSubscriptionsSubscription$outboundSchema;
|
|
1724
|
-
})(ListAllSubscriptionsSubscription$ || (exports.ListAllSubscriptionsSubscription$ = ListAllSubscriptionsSubscription$ = {}));
|
|
1725
|
-
function listAllSubscriptionsSubscriptionToJSON(listAllSubscriptionsSubscription) {
|
|
1726
|
-
return JSON.stringify(exports.ListAllSubscriptionsSubscription$outboundSchema.parse(listAllSubscriptionsSubscription));
|
|
1727
|
-
}
|
|
1728
|
-
function listAllSubscriptionsSubscriptionFromJSON(jsonString) {
|
|
1729
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSubscription$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSubscription' from JSON`);
|
|
1730
|
-
}
|
|
1731
|
-
/** @internal */
|
|
1732
|
-
exports.ListAllSubscriptionsOrder$inboundSchema = z.object({
|
|
1733
|
-
href: z.string(),
|
|
1734
|
-
type: z.string(),
|
|
542
|
+
exports.ListAllSubscriptionsProfile$inboundSchema = z.object({
|
|
543
|
+
href: z.string().optional(),
|
|
544
|
+
type: z.string().optional(),
|
|
1735
545
|
});
|
|
1736
546
|
/** @internal */
|
|
1737
|
-
exports.
|
|
1738
|
-
href: z.string(),
|
|
1739
|
-
type: z.string(),
|
|
547
|
+
exports.ListAllSubscriptionsProfile$outboundSchema = z.object({
|
|
548
|
+
href: z.string().optional(),
|
|
549
|
+
type: z.string().optional(),
|
|
1740
550
|
});
|
|
1741
551
|
/**
|
|
1742
552
|
* @internal
|
|
1743
553
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1744
554
|
*/
|
|
1745
|
-
var
|
|
1746
|
-
(function (
|
|
1747
|
-
/** @deprecated use `
|
|
1748
|
-
|
|
1749
|
-
/** @deprecated use `
|
|
1750
|
-
|
|
1751
|
-
})(
|
|
1752
|
-
function
|
|
1753
|
-
return JSON.stringify(exports.
|
|
555
|
+
var ListAllSubscriptionsProfile$;
|
|
556
|
+
(function (ListAllSubscriptionsProfile$) {
|
|
557
|
+
/** @deprecated use `ListAllSubscriptionsProfile$inboundSchema` instead. */
|
|
558
|
+
ListAllSubscriptionsProfile$.inboundSchema = exports.ListAllSubscriptionsProfile$inboundSchema;
|
|
559
|
+
/** @deprecated use `ListAllSubscriptionsProfile$outboundSchema` instead. */
|
|
560
|
+
ListAllSubscriptionsProfile$.outboundSchema = exports.ListAllSubscriptionsProfile$outboundSchema;
|
|
561
|
+
})(ListAllSubscriptionsProfile$ || (exports.ListAllSubscriptionsProfile$ = ListAllSubscriptionsProfile$ = {}));
|
|
562
|
+
function listAllSubscriptionsProfileToJSON(listAllSubscriptionsProfile) {
|
|
563
|
+
return JSON.stringify(exports.ListAllSubscriptionsProfile$outboundSchema.parse(listAllSubscriptionsProfile));
|
|
1754
564
|
}
|
|
1755
|
-
function
|
|
1756
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
565
|
+
function listAllSubscriptionsProfileFromJSON(jsonString) {
|
|
566
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsProfile' from JSON`);
|
|
1757
567
|
}
|
|
1758
568
|
/** @internal */
|
|
1759
|
-
exports.
|
|
1760
|
-
href: z.string(),
|
|
1761
|
-
type: z.string(),
|
|
569
|
+
exports.ListAllSubscriptionsPayments$inboundSchema = z.object({
|
|
570
|
+
href: z.string().optional(),
|
|
571
|
+
type: z.string().optional(),
|
|
1762
572
|
});
|
|
1763
573
|
/** @internal */
|
|
1764
|
-
exports.
|
|
1765
|
-
href: z.string(),
|
|
1766
|
-
type: z.string(),
|
|
574
|
+
exports.ListAllSubscriptionsPayments$outboundSchema = z.object({
|
|
575
|
+
href: z.string().optional(),
|
|
576
|
+
type: z.string().optional(),
|
|
1767
577
|
});
|
|
1768
578
|
/**
|
|
1769
579
|
* @internal
|
|
1770
580
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1771
581
|
*/
|
|
1772
|
-
var
|
|
1773
|
-
(function (
|
|
1774
|
-
/** @deprecated use `
|
|
1775
|
-
|
|
1776
|
-
/** @deprecated use `
|
|
1777
|
-
|
|
1778
|
-
})(
|
|
1779
|
-
function
|
|
1780
|
-
return JSON.stringify(exports.
|
|
582
|
+
var ListAllSubscriptionsPayments$;
|
|
583
|
+
(function (ListAllSubscriptionsPayments$) {
|
|
584
|
+
/** @deprecated use `ListAllSubscriptionsPayments$inboundSchema` instead. */
|
|
585
|
+
ListAllSubscriptionsPayments$.inboundSchema = exports.ListAllSubscriptionsPayments$inboundSchema;
|
|
586
|
+
/** @deprecated use `ListAllSubscriptionsPayments$outboundSchema` instead. */
|
|
587
|
+
ListAllSubscriptionsPayments$.outboundSchema = exports.ListAllSubscriptionsPayments$outboundSchema;
|
|
588
|
+
})(ListAllSubscriptionsPayments$ || (exports.ListAllSubscriptionsPayments$ = ListAllSubscriptionsPayments$ = {}));
|
|
589
|
+
function listAllSubscriptionsPaymentsToJSON(listAllSubscriptionsPayments) {
|
|
590
|
+
return JSON.stringify(exports.ListAllSubscriptionsPayments$outboundSchema.parse(listAllSubscriptionsPayments));
|
|
1781
591
|
}
|
|
1782
|
-
function
|
|
1783
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
592
|
+
function listAllSubscriptionsPaymentsFromJSON(jsonString) {
|
|
593
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsPayments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsPayments' from JSON`);
|
|
1784
594
|
}
|
|
1785
595
|
/** @internal */
|
|
1786
|
-
exports.
|
|
596
|
+
exports.ListAllSubscriptionsSubscriptionDocumentation$inboundSchema = z.object({
|
|
1787
597
|
href: z.string(),
|
|
1788
598
|
type: z.string(),
|
|
1789
599
|
});
|
|
1790
600
|
/** @internal */
|
|
1791
|
-
exports.
|
|
601
|
+
exports.ListAllSubscriptionsSubscriptionDocumentation$outboundSchema = z.object({
|
|
1792
602
|
href: z.string(),
|
|
1793
603
|
type: z.string(),
|
|
1794
604
|
});
|
|
@@ -1796,194 +606,117 @@ exports.ListAllSubscriptionsPaymentDocumentation$outboundSchema = z.object({
|
|
|
1796
606
|
* @internal
|
|
1797
607
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1798
608
|
*/
|
|
1799
|
-
var
|
|
1800
|
-
(function (
|
|
1801
|
-
/** @deprecated use `
|
|
1802
|
-
|
|
1803
|
-
/** @deprecated use `
|
|
1804
|
-
|
|
1805
|
-
})(
|
|
1806
|
-
function
|
|
1807
|
-
return JSON.stringify(exports.
|
|
609
|
+
var ListAllSubscriptionsSubscriptionDocumentation$;
|
|
610
|
+
(function (ListAllSubscriptionsSubscriptionDocumentation$) {
|
|
611
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionDocumentation$inboundSchema` instead. */
|
|
612
|
+
ListAllSubscriptionsSubscriptionDocumentation$.inboundSchema = exports.ListAllSubscriptionsSubscriptionDocumentation$inboundSchema;
|
|
613
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionDocumentation$outboundSchema` instead. */
|
|
614
|
+
ListAllSubscriptionsSubscriptionDocumentation$.outboundSchema = exports.ListAllSubscriptionsSubscriptionDocumentation$outboundSchema;
|
|
615
|
+
})(ListAllSubscriptionsSubscriptionDocumentation$ || (exports.ListAllSubscriptionsSubscriptionDocumentation$ = ListAllSubscriptionsSubscriptionDocumentation$ = {}));
|
|
616
|
+
function listAllSubscriptionsSubscriptionDocumentationToJSON(listAllSubscriptionsSubscriptionDocumentation) {
|
|
617
|
+
return JSON.stringify(exports.ListAllSubscriptionsSubscriptionDocumentation$outboundSchema.parse(listAllSubscriptionsSubscriptionDocumentation));
|
|
1808
618
|
}
|
|
1809
|
-
function
|
|
1810
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
619
|
+
function listAllSubscriptionsSubscriptionDocumentationFromJSON(jsonString) {
|
|
620
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSubscriptionDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSubscriptionDocumentation' from JSON`);
|
|
1811
621
|
}
|
|
1812
622
|
/** @internal */
|
|
1813
|
-
exports.
|
|
1814
|
-
self: z.lazy(() => exports.
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
changePaymentState: z.lazy(() => exports.ListAllSubscriptionsChangePaymentState$inboundSchema).optional(),
|
|
1818
|
-
dashboard: z.lazy(() => exports.ListAllSubscriptionsDashboard$inboundSchema),
|
|
1819
|
-
refunds: z.lazy(() => exports.ListAllSubscriptionsRefunds$inboundSchema).optional(),
|
|
1820
|
-
chargebacks: z.lazy(() => exports.ListAllSubscriptionsChargebacks$inboundSchema)
|
|
623
|
+
exports.ListAllSubscriptionsSubscriptionLinks$inboundSchema = z.object({
|
|
624
|
+
self: z.lazy(() => exports.ListAllSubscriptionsSubscriptionSelf$inboundSchema),
|
|
625
|
+
customer: z.nullable(z.lazy(() => exports.ListAllSubscriptionsCustomer$inboundSchema)),
|
|
626
|
+
mandate: z.nullable(z.lazy(() => exports.ListAllSubscriptionsMandate$inboundSchema))
|
|
1821
627
|
.optional(),
|
|
1822
|
-
|
|
1823
|
-
|
|
628
|
+
profile: z.nullable(z.lazy(() => exports.ListAllSubscriptionsProfile$inboundSchema)),
|
|
629
|
+
payments: z.nullable(z.lazy(() => exports.ListAllSubscriptionsPayments$inboundSchema))
|
|
1824
630
|
.optional(),
|
|
1825
|
-
|
|
1826
|
-
mandate: z.lazy(() => exports.ListAllSubscriptionsMandate$inboundSchema).optional(),
|
|
1827
|
-
subscription: z.lazy(() => exports.ListAllSubscriptionsSubscription$inboundSchema)
|
|
1828
|
-
.optional(),
|
|
1829
|
-
order: z.lazy(() => exports.ListAllSubscriptionsOrder$inboundSchema).optional(),
|
|
1830
|
-
terminal: z.lazy(() => exports.ListAllSubscriptionsTerminal$inboundSchema).optional(),
|
|
1831
|
-
documentation: z.lazy(() => exports.ListAllSubscriptionsPaymentDocumentation$inboundSchema).optional(),
|
|
631
|
+
documentation: z.lazy(() => exports.ListAllSubscriptionsSubscriptionDocumentation$inboundSchema),
|
|
1832
632
|
});
|
|
1833
633
|
/** @internal */
|
|
1834
|
-
exports.
|
|
1835
|
-
self: z.lazy(() => exports.
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
mobileAppCheckout: z.lazy(() => exports.ListAllSubscriptionsMobileAppCheckout$outboundSchema).optional(),
|
|
1839
|
-
changePaymentState: z.lazy(() => exports.ListAllSubscriptionsChangePaymentState$outboundSchema).optional(),
|
|
1840
|
-
dashboard: z.lazy(() => exports.ListAllSubscriptionsDashboard$outboundSchema),
|
|
1841
|
-
refunds: z.lazy(() => exports.ListAllSubscriptionsRefunds$outboundSchema).optional(),
|
|
1842
|
-
chargebacks: z.lazy(() => exports.ListAllSubscriptionsChargebacks$outboundSchema)
|
|
1843
|
-
.optional(),
|
|
1844
|
-
captures: z.lazy(() => exports.ListAllSubscriptionsCaptures$outboundSchema)
|
|
1845
|
-
.optional(),
|
|
1846
|
-
settlement: z.lazy(() => exports.ListAllSubscriptionsSettlement$outboundSchema)
|
|
634
|
+
exports.ListAllSubscriptionsSubscriptionLinks$outboundSchema = z.object({
|
|
635
|
+
self: z.lazy(() => exports.ListAllSubscriptionsSubscriptionSelf$outboundSchema),
|
|
636
|
+
customer: z.nullable(z.lazy(() => exports.ListAllSubscriptionsCustomer$outboundSchema)),
|
|
637
|
+
mandate: z.nullable(z.lazy(() => exports.ListAllSubscriptionsMandate$outboundSchema))
|
|
1847
638
|
.optional(),
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
subscription: z.lazy(() => exports.ListAllSubscriptionsSubscription$outboundSchema)
|
|
1852
|
-
.optional(),
|
|
1853
|
-
order: z.lazy(() => exports.ListAllSubscriptionsOrder$outboundSchema).optional(),
|
|
1854
|
-
terminal: z.lazy(() => exports.ListAllSubscriptionsTerminal$outboundSchema)
|
|
1855
|
-
.optional(),
|
|
1856
|
-
documentation: z.lazy(() => exports.ListAllSubscriptionsPaymentDocumentation$outboundSchema).optional(),
|
|
639
|
+
profile: z.nullable(z.lazy(() => exports.ListAllSubscriptionsProfile$outboundSchema)),
|
|
640
|
+
payments: z.nullable(z.lazy(() => exports.ListAllSubscriptionsPayments$outboundSchema)).optional(),
|
|
641
|
+
documentation: z.lazy(() => exports.ListAllSubscriptionsSubscriptionDocumentation$outboundSchema),
|
|
1857
642
|
});
|
|
1858
643
|
/**
|
|
1859
644
|
* @internal
|
|
1860
645
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1861
646
|
*/
|
|
1862
|
-
var
|
|
1863
|
-
(function (
|
|
1864
|
-
/** @deprecated use `
|
|
1865
|
-
|
|
1866
|
-
/** @deprecated use `
|
|
1867
|
-
|
|
1868
|
-
})(
|
|
1869
|
-
function
|
|
1870
|
-
return JSON.stringify(exports.
|
|
647
|
+
var ListAllSubscriptionsSubscriptionLinks$;
|
|
648
|
+
(function (ListAllSubscriptionsSubscriptionLinks$) {
|
|
649
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionLinks$inboundSchema` instead. */
|
|
650
|
+
ListAllSubscriptionsSubscriptionLinks$.inboundSchema = exports.ListAllSubscriptionsSubscriptionLinks$inboundSchema;
|
|
651
|
+
/** @deprecated use `ListAllSubscriptionsSubscriptionLinks$outboundSchema` instead. */
|
|
652
|
+
ListAllSubscriptionsSubscriptionLinks$.outboundSchema = exports.ListAllSubscriptionsSubscriptionLinks$outboundSchema;
|
|
653
|
+
})(ListAllSubscriptionsSubscriptionLinks$ || (exports.ListAllSubscriptionsSubscriptionLinks$ = ListAllSubscriptionsSubscriptionLinks$ = {}));
|
|
654
|
+
function listAllSubscriptionsSubscriptionLinksToJSON(listAllSubscriptionsSubscriptionLinks) {
|
|
655
|
+
return JSON.stringify(exports.ListAllSubscriptionsSubscriptionLinks$outboundSchema.parse(listAllSubscriptionsSubscriptionLinks));
|
|
1871
656
|
}
|
|
1872
|
-
function
|
|
1873
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
657
|
+
function listAllSubscriptionsSubscriptionLinksFromJSON(jsonString) {
|
|
658
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSubscriptionLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSubscriptionLinks' from JSON`);
|
|
1874
659
|
}
|
|
1875
660
|
/** @internal */
|
|
1876
|
-
exports.
|
|
1877
|
-
resource: z.string(),
|
|
661
|
+
exports.ListAllSubscriptionsSubscription$inboundSchema = z.object({
|
|
662
|
+
resource: z.string().default("subscription"),
|
|
1878
663
|
id: z.string(),
|
|
1879
664
|
mode: exports.ListAllSubscriptionsMode$inboundSchema,
|
|
1880
|
-
|
|
665
|
+
status: exports.ListAllSubscriptionsStatus$inboundSchema,
|
|
1881
666
|
amount: z.lazy(() => exports.ListAllSubscriptionsAmount$inboundSchema),
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
cancelUrl: z.nullable(z.string()).optional(),
|
|
1891
|
-
webhookUrl: z.nullable(z.string()).optional(),
|
|
1892
|
-
lines: z.nullable(z.array(z.lazy(() => exports.ListAllSubscriptionsLine$inboundSchema))).optional(),
|
|
1893
|
-
billingAddress: z.lazy(() => exports.ListAllSubscriptionsBillingAddress$inboundSchema)
|
|
667
|
+
times: z.nullable(z.number().int()),
|
|
668
|
+
timesRemaining: z.number().int(),
|
|
669
|
+
interval: exports.ListAllSubscriptionsInterval$inboundSchema,
|
|
670
|
+
startDate: z.string(),
|
|
671
|
+
nextPaymentDate: z.nullable(z.string()).optional(),
|
|
672
|
+
description: z.string(),
|
|
673
|
+
method: z.nullable(exports.ListAllSubscriptionsMethod$inboundSchema),
|
|
674
|
+
applicationFee: z.lazy(() => exports.ListAllSubscriptionsApplicationFee$inboundSchema)
|
|
1894
675
|
.optional(),
|
|
1895
|
-
shippingAddress: z.lazy(() => exports.ListAllSubscriptionsShippingAddress$inboundSchema).optional(),
|
|
1896
|
-
locale: z.nullable(exports.ListAllSubscriptionsLocale$inboundSchema).optional(),
|
|
1897
|
-
countryCode: z.nullable(z.string()).optional(),
|
|
1898
|
-
method: z.nullable(exports.ListAllSubscriptionsMethod$inboundSchema).optional(),
|
|
1899
|
-
restrictPaymentMethodsToCountry: z.nullable(z.string()).optional(),
|
|
1900
676
|
metadata: z.nullable(z.union([
|
|
1901
677
|
z.lazy(() => exports.ListAllSubscriptionsMetadata$inboundSchema),
|
|
1902
678
|
z.string(),
|
|
1903
679
|
z.array(z.string()),
|
|
1904
|
-
]))
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
captureDelay: z.nullable(z.string()).optional(),
|
|
1908
|
-
captureBefore: z.nullable(z.string()).optional(),
|
|
1909
|
-
applicationFee: z.nullable(z.lazy(() => exports.ListAllSubscriptionsApplicationFee$inboundSchema)).optional(),
|
|
1910
|
-
routing: z.nullable(z.array(z.lazy(() => exports.ListAllSubscriptionsRouting$inboundSchema))).optional(),
|
|
1911
|
-
sequenceType: z.nullable(exports.ListAllSubscriptionsSequenceType$inboundSchema.default("oneoff")),
|
|
1912
|
-
subscriptionId: z.nullable(z.string()).optional(),
|
|
680
|
+
])),
|
|
681
|
+
webhookUrl: z.string(),
|
|
682
|
+
customerId: z.string(),
|
|
1913
683
|
mandateId: z.nullable(z.string()).optional(),
|
|
1914
|
-
customerId: z.nullable(z.string()).optional(),
|
|
1915
|
-
profileId: z.string(),
|
|
1916
|
-
settlementId: z.nullable(z.string()).optional(),
|
|
1917
|
-
orderId: z.nullable(z.string()).optional(),
|
|
1918
|
-
status: exports.ListAllSubscriptionsStatus$inboundSchema,
|
|
1919
|
-
statusReason: z.nullable(z.lazy(() => exports.ListAllSubscriptionsStatusReason$inboundSchema)).optional(),
|
|
1920
|
-
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1921
|
-
details: z.nullable(z.record(z.any())).optional(),
|
|
1922
684
|
createdAt: z.string(),
|
|
1923
|
-
authorizedAt: z.nullable(z.string()).optional(),
|
|
1924
|
-
paidAt: z.nullable(z.string()).optional(),
|
|
1925
685
|
canceledAt: z.nullable(z.string()).optional(),
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
failedAt: z.nullable(z.string()).optional(),
|
|
1929
|
-
_links: z.lazy(() => exports.ListAllSubscriptionsPaymentLinks$inboundSchema),
|
|
686
|
+
_links: z.lazy(() => exports.ListAllSubscriptionsSubscriptionLinks$inboundSchema)
|
|
687
|
+
.optional(),
|
|
1930
688
|
}).transform((v) => {
|
|
1931
689
|
return (0, primitives_js_1.remap)(v, {
|
|
1932
690
|
"_links": "links",
|
|
1933
691
|
});
|
|
1934
692
|
});
|
|
1935
693
|
/** @internal */
|
|
1936
|
-
exports.
|
|
1937
|
-
resource: z.string(),
|
|
694
|
+
exports.ListAllSubscriptionsSubscription$outboundSchema = z.object({
|
|
695
|
+
resource: z.string().default("subscription"),
|
|
1938
696
|
id: z.string(),
|
|
1939
697
|
mode: exports.ListAllSubscriptionsMode$outboundSchema,
|
|
1940
|
-
|
|
698
|
+
status: exports.ListAllSubscriptionsStatus$outboundSchema,
|
|
1941
699
|
amount: z.lazy(() => exports.ListAllSubscriptionsAmount$outboundSchema),
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
lines: z.nullable(z.array(z.lazy(() => exports.ListAllSubscriptionsLine$outboundSchema))).optional(),
|
|
1951
|
-
billingAddress: z.lazy(() => exports.ListAllSubscriptionsBillingAddress$outboundSchema).optional(),
|
|
1952
|
-
shippingAddress: z.lazy(() => exports.ListAllSubscriptionsShippingAddress$outboundSchema).optional(),
|
|
1953
|
-
locale: z.nullable(exports.ListAllSubscriptionsLocale$outboundSchema).optional(),
|
|
1954
|
-
countryCode: z.nullable(z.string()).optional(),
|
|
1955
|
-
method: z.nullable(exports.ListAllSubscriptionsMethod$outboundSchema).optional(),
|
|
1956
|
-
restrictPaymentMethodsToCountry: z.nullable(z.string()).optional(),
|
|
700
|
+
times: z.nullable(z.number().int()),
|
|
701
|
+
timesRemaining: z.number().int(),
|
|
702
|
+
interval: exports.ListAllSubscriptionsInterval$outboundSchema,
|
|
703
|
+
startDate: z.string(),
|
|
704
|
+
nextPaymentDate: z.nullable(z.string()).optional(),
|
|
705
|
+
description: z.string(),
|
|
706
|
+
method: z.nullable(exports.ListAllSubscriptionsMethod$outboundSchema),
|
|
707
|
+
applicationFee: z.lazy(() => exports.ListAllSubscriptionsApplicationFee$outboundSchema).optional(),
|
|
1957
708
|
metadata: z.nullable(z.union([
|
|
1958
709
|
z.lazy(() => exports.ListAllSubscriptionsMetadata$outboundSchema),
|
|
1959
710
|
z.string(),
|
|
1960
711
|
z.array(z.string()),
|
|
1961
|
-
]))
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
captureDelay: z.nullable(z.string()).optional(),
|
|
1965
|
-
captureBefore: z.nullable(z.string()).optional(),
|
|
1966
|
-
applicationFee: z.nullable(z.lazy(() => exports.ListAllSubscriptionsApplicationFee$outboundSchema)).optional(),
|
|
1967
|
-
routing: z.nullable(z.array(z.lazy(() => exports.ListAllSubscriptionsRouting$outboundSchema))).optional(),
|
|
1968
|
-
sequenceType: z.nullable(exports.ListAllSubscriptionsSequenceType$outboundSchema.default("oneoff")),
|
|
1969
|
-
subscriptionId: z.nullable(z.string()).optional(),
|
|
712
|
+
])),
|
|
713
|
+
webhookUrl: z.string(),
|
|
714
|
+
customerId: z.string(),
|
|
1970
715
|
mandateId: z.nullable(z.string()).optional(),
|
|
1971
|
-
customerId: z.nullable(z.string()).optional(),
|
|
1972
|
-
profileId: z.string(),
|
|
1973
|
-
settlementId: z.nullable(z.string()).optional(),
|
|
1974
|
-
orderId: z.nullable(z.string()).optional(),
|
|
1975
|
-
status: exports.ListAllSubscriptionsStatus$outboundSchema,
|
|
1976
|
-
statusReason: z.nullable(z.lazy(() => exports.ListAllSubscriptionsStatusReason$outboundSchema)).optional(),
|
|
1977
|
-
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1978
|
-
details: z.nullable(z.record(z.any())).optional(),
|
|
1979
716
|
createdAt: z.string(),
|
|
1980
|
-
authorizedAt: z.nullable(z.string()).optional(),
|
|
1981
|
-
paidAt: z.nullable(z.string()).optional(),
|
|
1982
717
|
canceledAt: z.nullable(z.string()).optional(),
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
failedAt: z.nullable(z.string()).optional(),
|
|
1986
|
-
links: z.lazy(() => exports.ListAllSubscriptionsPaymentLinks$outboundSchema),
|
|
718
|
+
links: z.lazy(() => exports.ListAllSubscriptionsSubscriptionLinks$outboundSchema)
|
|
719
|
+
.optional(),
|
|
1987
720
|
}).transform((v) => {
|
|
1988
721
|
return (0, primitives_js_1.remap)(v, {
|
|
1989
722
|
links: "_links",
|
|
@@ -1993,26 +726,26 @@ exports.ListAllSubscriptionsPaymentOutput$outboundSchema = z.object({
|
|
|
1993
726
|
* @internal
|
|
1994
727
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1995
728
|
*/
|
|
1996
|
-
var
|
|
1997
|
-
(function (
|
|
1998
|
-
/** @deprecated use `
|
|
1999
|
-
|
|
2000
|
-
/** @deprecated use `
|
|
2001
|
-
|
|
2002
|
-
})(
|
|
2003
|
-
function
|
|
2004
|
-
return JSON.stringify(exports.
|
|
729
|
+
var ListAllSubscriptionsSubscription$;
|
|
730
|
+
(function (ListAllSubscriptionsSubscription$) {
|
|
731
|
+
/** @deprecated use `ListAllSubscriptionsSubscription$inboundSchema` instead. */
|
|
732
|
+
ListAllSubscriptionsSubscription$.inboundSchema = exports.ListAllSubscriptionsSubscription$inboundSchema;
|
|
733
|
+
/** @deprecated use `ListAllSubscriptionsSubscription$outboundSchema` instead. */
|
|
734
|
+
ListAllSubscriptionsSubscription$.outboundSchema = exports.ListAllSubscriptionsSubscription$outboundSchema;
|
|
735
|
+
})(ListAllSubscriptionsSubscription$ || (exports.ListAllSubscriptionsSubscription$ = ListAllSubscriptionsSubscription$ = {}));
|
|
736
|
+
function listAllSubscriptionsSubscriptionToJSON(listAllSubscriptionsSubscription) {
|
|
737
|
+
return JSON.stringify(exports.ListAllSubscriptionsSubscription$outboundSchema.parse(listAllSubscriptionsSubscription));
|
|
2005
738
|
}
|
|
2006
|
-
function
|
|
2007
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
739
|
+
function listAllSubscriptionsSubscriptionFromJSON(jsonString) {
|
|
740
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAllSubscriptionsSubscription$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAllSubscriptionsSubscription' from JSON`);
|
|
2008
741
|
}
|
|
2009
742
|
/** @internal */
|
|
2010
743
|
exports.ListAllSubscriptionsEmbedded$inboundSchema = z.object({
|
|
2011
|
-
|
|
744
|
+
subscriptions: z.array(z.lazy(() => exports.ListAllSubscriptionsSubscription$inboundSchema)).optional(),
|
|
2012
745
|
});
|
|
2013
746
|
/** @internal */
|
|
2014
747
|
exports.ListAllSubscriptionsEmbedded$outboundSchema = z.object({
|
|
2015
|
-
|
|
748
|
+
subscriptions: z.array(z.lazy(() => exports.ListAllSubscriptionsSubscription$outboundSchema)).optional(),
|
|
2016
749
|
});
|
|
2017
750
|
/**
|
|
2018
751
|
* @internal
|