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
package/bin/mcp-server.js
CHANGED
|
@@ -34269,9 +34269,9 @@ var init_config = __esm(() => {
|
|
|
34269
34269
|
SDK_METADATA = {
|
|
34270
34270
|
language: "typescript",
|
|
34271
34271
|
openapiDocVersion: "1.0.0",
|
|
34272
|
-
sdkVersion: "0.0.
|
|
34273
|
-
genVersion: "2.
|
|
34274
|
-
userAgent: "speakeasy-sdk/typescript 0.0.
|
|
34272
|
+
sdkVersion: "0.0.7",
|
|
34273
|
+
genVersion: "2.674.1",
|
|
34274
|
+
userAgent: "speakeasy-sdk/typescript 0.0.7 2.674.1 1.0.0 mollie-api-typescript"
|
|
34275
34275
|
};
|
|
34276
34276
|
});
|
|
34277
34277
|
|
|
@@ -36902,12 +36902,12 @@ var init_cancelsubscription = __esm(() => {
|
|
|
36902
36902
|
CancelSubscriptionApplicationFeeAmount$.outboundSchema = CancelSubscriptionApplicationFeeAmount$outboundSchema;
|
|
36903
36903
|
})(CancelSubscriptionApplicationFeeAmount$ ||= {});
|
|
36904
36904
|
CancelSubscriptionApplicationFee$inboundSchema = objectType({
|
|
36905
|
-
amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$inboundSchema)
|
|
36906
|
-
description: stringType()
|
|
36905
|
+
amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$inboundSchema),
|
|
36906
|
+
description: stringType()
|
|
36907
36907
|
});
|
|
36908
36908
|
CancelSubscriptionApplicationFee$outboundSchema = objectType({
|
|
36909
|
-
amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$outboundSchema)
|
|
36910
|
-
description: stringType()
|
|
36909
|
+
amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$outboundSchema),
|
|
36910
|
+
description: stringType()
|
|
36911
36911
|
});
|
|
36912
36912
|
((CancelSubscriptionApplicationFee$) => {
|
|
36913
36913
|
CancelSubscriptionApplicationFee$.inboundSchema = CancelSubscriptionApplicationFee$inboundSchema;
|
|
@@ -37006,20 +37006,20 @@ var init_cancelsubscription = __esm(() => {
|
|
|
37006
37006
|
CancelSubscriptionDocumentation$.outboundSchema = CancelSubscriptionDocumentation$outboundSchema;
|
|
37007
37007
|
})(CancelSubscriptionDocumentation$ ||= {});
|
|
37008
37008
|
CancelSubscriptionLinks$inboundSchema = objectType({
|
|
37009
|
-
self: lazyType(() => CancelSubscriptionSelf$inboundSchema)
|
|
37010
|
-
customer: nullableType(lazyType(() => CancelSubscriptionCustomer$inboundSchema))
|
|
37009
|
+
self: lazyType(() => CancelSubscriptionSelf$inboundSchema),
|
|
37010
|
+
customer: nullableType(lazyType(() => CancelSubscriptionCustomer$inboundSchema)),
|
|
37011
37011
|
mandate: nullableType(lazyType(() => CancelSubscriptionMandate$inboundSchema)).optional(),
|
|
37012
|
-
profile: nullableType(lazyType(() => CancelSubscriptionProfile$inboundSchema))
|
|
37012
|
+
profile: nullableType(lazyType(() => CancelSubscriptionProfile$inboundSchema)),
|
|
37013
37013
|
payments: nullableType(lazyType(() => CancelSubscriptionPayments$inboundSchema)).optional(),
|
|
37014
|
-
documentation: lazyType(() => CancelSubscriptionDocumentation$inboundSchema)
|
|
37014
|
+
documentation: lazyType(() => CancelSubscriptionDocumentation$inboundSchema)
|
|
37015
37015
|
});
|
|
37016
37016
|
CancelSubscriptionLinks$outboundSchema = objectType({
|
|
37017
|
-
self: lazyType(() => CancelSubscriptionSelf$outboundSchema)
|
|
37018
|
-
customer: nullableType(lazyType(() => CancelSubscriptionCustomer$outboundSchema))
|
|
37017
|
+
self: lazyType(() => CancelSubscriptionSelf$outboundSchema),
|
|
37018
|
+
customer: nullableType(lazyType(() => CancelSubscriptionCustomer$outboundSchema)),
|
|
37019
37019
|
mandate: nullableType(lazyType(() => CancelSubscriptionMandate$outboundSchema)).optional(),
|
|
37020
|
-
profile: nullableType(lazyType(() => CancelSubscriptionProfile$outboundSchema))
|
|
37020
|
+
profile: nullableType(lazyType(() => CancelSubscriptionProfile$outboundSchema)),
|
|
37021
37021
|
payments: nullableType(lazyType(() => CancelSubscriptionPayments$outboundSchema)).optional(),
|
|
37022
|
-
documentation: lazyType(() => CancelSubscriptionDocumentation$outboundSchema)
|
|
37022
|
+
documentation: lazyType(() => CancelSubscriptionDocumentation$outboundSchema)
|
|
37023
37023
|
});
|
|
37024
37024
|
((CancelSubscriptionLinks$) => {
|
|
37025
37025
|
CancelSubscriptionLinks$.inboundSchema = CancelSubscriptionLinks$inboundSchema;
|
|
@@ -37027,27 +37027,27 @@ var init_cancelsubscription = __esm(() => {
|
|
|
37027
37027
|
})(CancelSubscriptionLinks$ ||= {});
|
|
37028
37028
|
CancelSubscriptionResponse$inboundSchema = objectType({
|
|
37029
37029
|
resource: stringType().default("subscription"),
|
|
37030
|
-
id: stringType()
|
|
37031
|
-
mode: CancelSubscriptionMode$inboundSchema
|
|
37032
|
-
status: CancelSubscriptionStatus$inboundSchema
|
|
37033
|
-
amount: lazyType(() => CancelSubscriptionAmount$inboundSchema)
|
|
37034
|
-
times: nullableType(numberType().int())
|
|
37035
|
-
timesRemaining: numberType().int()
|
|
37036
|
-
interval: CancelSubscriptionInterval$inboundSchema
|
|
37037
|
-
startDate: stringType()
|
|
37030
|
+
id: stringType(),
|
|
37031
|
+
mode: CancelSubscriptionMode$inboundSchema,
|
|
37032
|
+
status: CancelSubscriptionStatus$inboundSchema,
|
|
37033
|
+
amount: lazyType(() => CancelSubscriptionAmount$inboundSchema),
|
|
37034
|
+
times: nullableType(numberType().int()),
|
|
37035
|
+
timesRemaining: numberType().int(),
|
|
37036
|
+
interval: CancelSubscriptionInterval$inboundSchema,
|
|
37037
|
+
startDate: stringType(),
|
|
37038
37038
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
37039
|
-
description: stringType()
|
|
37040
|
-
method: nullableType(CancelSubscriptionMethod$inboundSchema)
|
|
37039
|
+
description: stringType(),
|
|
37040
|
+
method: nullableType(CancelSubscriptionMethod$inboundSchema),
|
|
37041
37041
|
applicationFee: lazyType(() => CancelSubscriptionApplicationFee$inboundSchema).optional(),
|
|
37042
37042
|
metadata: nullableType(unionType([
|
|
37043
37043
|
lazyType(() => CancelSubscriptionMetadata$inboundSchema),
|
|
37044
37044
|
stringType(),
|
|
37045
37045
|
arrayType(stringType())
|
|
37046
|
-
]))
|
|
37047
|
-
webhookUrl: stringType()
|
|
37048
|
-
customerId: stringType()
|
|
37046
|
+
])),
|
|
37047
|
+
webhookUrl: stringType(),
|
|
37048
|
+
customerId: stringType(),
|
|
37049
37049
|
mandateId: nullableType(stringType()).optional(),
|
|
37050
|
-
createdAt: stringType()
|
|
37050
|
+
createdAt: stringType(),
|
|
37051
37051
|
canceledAt: nullableType(stringType()).optional(),
|
|
37052
37052
|
_links: lazyType(() => CancelSubscriptionLinks$inboundSchema).optional()
|
|
37053
37053
|
}).transform((v2) => {
|
|
@@ -37057,27 +37057,27 @@ var init_cancelsubscription = __esm(() => {
|
|
|
37057
37057
|
});
|
|
37058
37058
|
CancelSubscriptionResponse$outboundSchema = objectType({
|
|
37059
37059
|
resource: stringType().default("subscription"),
|
|
37060
|
-
id: stringType()
|
|
37061
|
-
mode: CancelSubscriptionMode$outboundSchema
|
|
37062
|
-
status: CancelSubscriptionStatus$outboundSchema
|
|
37063
|
-
amount: lazyType(() => CancelSubscriptionAmount$outboundSchema)
|
|
37064
|
-
times: nullableType(numberType().int())
|
|
37065
|
-
timesRemaining: numberType().int()
|
|
37066
|
-
interval: CancelSubscriptionInterval$outboundSchema
|
|
37067
|
-
startDate: stringType()
|
|
37060
|
+
id: stringType(),
|
|
37061
|
+
mode: CancelSubscriptionMode$outboundSchema,
|
|
37062
|
+
status: CancelSubscriptionStatus$outboundSchema,
|
|
37063
|
+
amount: lazyType(() => CancelSubscriptionAmount$outboundSchema),
|
|
37064
|
+
times: nullableType(numberType().int()),
|
|
37065
|
+
timesRemaining: numberType().int(),
|
|
37066
|
+
interval: CancelSubscriptionInterval$outboundSchema,
|
|
37067
|
+
startDate: stringType(),
|
|
37068
37068
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
37069
|
-
description: stringType()
|
|
37070
|
-
method: nullableType(CancelSubscriptionMethod$outboundSchema)
|
|
37069
|
+
description: stringType(),
|
|
37070
|
+
method: nullableType(CancelSubscriptionMethod$outboundSchema),
|
|
37071
37071
|
applicationFee: lazyType(() => CancelSubscriptionApplicationFee$outboundSchema).optional(),
|
|
37072
37072
|
metadata: nullableType(unionType([
|
|
37073
37073
|
lazyType(() => CancelSubscriptionMetadata$outboundSchema),
|
|
37074
37074
|
stringType(),
|
|
37075
37075
|
arrayType(stringType())
|
|
37076
|
-
]))
|
|
37077
|
-
webhookUrl: stringType()
|
|
37078
|
-
customerId: stringType()
|
|
37076
|
+
])),
|
|
37077
|
+
webhookUrl: stringType(),
|
|
37078
|
+
customerId: stringType(),
|
|
37079
37079
|
mandateId: nullableType(stringType()).optional(),
|
|
37080
|
-
createdAt: stringType()
|
|
37080
|
+
createdAt: stringType(),
|
|
37081
37081
|
canceledAt: nullableType(stringType()).optional(),
|
|
37082
37082
|
links: lazyType(() => CancelSubscriptionLinks$outboundSchema).optional()
|
|
37083
37083
|
}).transform((v2) => {
|
|
@@ -37848,20 +37848,20 @@ var init_createcustomer = __esm(() => {
|
|
|
37848
37848
|
CreateCustomerDocumentation$.outboundSchema = CreateCustomerDocumentation$outboundSchema;
|
|
37849
37849
|
})(CreateCustomerDocumentation$ ||= {});
|
|
37850
37850
|
CreateCustomerLinks$inboundSchema = objectType({
|
|
37851
|
-
self: lazyType(() => CreateCustomerSelf$inboundSchema)
|
|
37852
|
-
dashboard: lazyType(() => CreateCustomerDashboard$inboundSchema)
|
|
37851
|
+
self: lazyType(() => CreateCustomerSelf$inboundSchema),
|
|
37852
|
+
dashboard: lazyType(() => CreateCustomerDashboard$inboundSchema),
|
|
37853
37853
|
payments: nullableType(lazyType(() => CreateCustomerPayments$inboundSchema)).optional(),
|
|
37854
37854
|
mandates: nullableType(lazyType(() => CreateCustomerMandates$inboundSchema)).optional(),
|
|
37855
37855
|
subscriptions: nullableType(lazyType(() => CreateCustomerSubscriptions$inboundSchema)).optional(),
|
|
37856
|
-
documentation: lazyType(() => CreateCustomerDocumentation$inboundSchema)
|
|
37856
|
+
documentation: lazyType(() => CreateCustomerDocumentation$inboundSchema)
|
|
37857
37857
|
});
|
|
37858
37858
|
CreateCustomerLinks$outboundSchema = objectType({
|
|
37859
|
-
self: lazyType(() => CreateCustomerSelf$outboundSchema)
|
|
37860
|
-
dashboard: lazyType(() => CreateCustomerDashboard$outboundSchema)
|
|
37859
|
+
self: lazyType(() => CreateCustomerSelf$outboundSchema),
|
|
37860
|
+
dashboard: lazyType(() => CreateCustomerDashboard$outboundSchema),
|
|
37861
37861
|
payments: nullableType(lazyType(() => CreateCustomerPayments$outboundSchema)).optional(),
|
|
37862
37862
|
mandates: nullableType(lazyType(() => CreateCustomerMandates$outboundSchema)).optional(),
|
|
37863
37863
|
subscriptions: nullableType(lazyType(() => CreateCustomerSubscriptions$outboundSchema)).optional(),
|
|
37864
|
-
documentation: lazyType(() => CreateCustomerDocumentation$outboundSchema)
|
|
37864
|
+
documentation: lazyType(() => CreateCustomerDocumentation$outboundSchema)
|
|
37865
37865
|
});
|
|
37866
37866
|
((CreateCustomerLinks$) => {
|
|
37867
37867
|
CreateCustomerLinks$.inboundSchema = CreateCustomerLinks$inboundSchema;
|
|
@@ -37869,18 +37869,18 @@ var init_createcustomer = __esm(() => {
|
|
|
37869
37869
|
})(CreateCustomerLinks$ ||= {});
|
|
37870
37870
|
CreateCustomerResponse$inboundSchema = objectType({
|
|
37871
37871
|
resource: stringType().default("customer"),
|
|
37872
|
-
id: stringType()
|
|
37873
|
-
mode: CreateCustomerMode$inboundSchema
|
|
37874
|
-
name: nullableType(stringType())
|
|
37875
|
-
email: nullableType(stringType())
|
|
37876
|
-
locale: nullableType(CreateCustomerLocaleResponse$inboundSchema)
|
|
37872
|
+
id: stringType(),
|
|
37873
|
+
mode: CreateCustomerMode$inboundSchema,
|
|
37874
|
+
name: nullableType(stringType()),
|
|
37875
|
+
email: nullableType(stringType()),
|
|
37876
|
+
locale: nullableType(CreateCustomerLocaleResponse$inboundSchema),
|
|
37877
37877
|
metadata: nullableType(unionType([
|
|
37878
37878
|
lazyType(() => CreateCustomerMetadataResponse$inboundSchema),
|
|
37879
37879
|
stringType(),
|
|
37880
37880
|
arrayType(stringType())
|
|
37881
|
-
]))
|
|
37882
|
-
createdAt: stringType()
|
|
37883
|
-
_links: lazyType(() => CreateCustomerLinks$inboundSchema)
|
|
37881
|
+
])),
|
|
37882
|
+
createdAt: stringType(),
|
|
37883
|
+
_links: lazyType(() => CreateCustomerLinks$inboundSchema)
|
|
37884
37884
|
}).transform((v2) => {
|
|
37885
37885
|
return remap(v2, {
|
|
37886
37886
|
_links: "links"
|
|
@@ -37888,18 +37888,18 @@ var init_createcustomer = __esm(() => {
|
|
|
37888
37888
|
});
|
|
37889
37889
|
CreateCustomerResponse$outboundSchema = objectType({
|
|
37890
37890
|
resource: stringType().default("customer"),
|
|
37891
|
-
id: stringType()
|
|
37892
|
-
mode: CreateCustomerMode$outboundSchema
|
|
37893
|
-
name: nullableType(stringType())
|
|
37894
|
-
email: nullableType(stringType())
|
|
37895
|
-
locale: nullableType(CreateCustomerLocaleResponse$outboundSchema)
|
|
37891
|
+
id: stringType(),
|
|
37892
|
+
mode: CreateCustomerMode$outboundSchema,
|
|
37893
|
+
name: nullableType(stringType()),
|
|
37894
|
+
email: nullableType(stringType()),
|
|
37895
|
+
locale: nullableType(CreateCustomerLocaleResponse$outboundSchema),
|
|
37896
37896
|
metadata: nullableType(unionType([
|
|
37897
37897
|
lazyType(() => CreateCustomerMetadataResponse$outboundSchema),
|
|
37898
37898
|
stringType(),
|
|
37899
37899
|
arrayType(stringType())
|
|
37900
|
-
]))
|
|
37901
|
-
createdAt: stringType()
|
|
37902
|
-
links: lazyType(() => CreateCustomerLinks$outboundSchema)
|
|
37900
|
+
])),
|
|
37901
|
+
createdAt: stringType(),
|
|
37902
|
+
links: lazyType(() => CreateCustomerLinks$outboundSchema)
|
|
37903
37903
|
}).transform((v2) => {
|
|
37904
37904
|
return remap(v2, {
|
|
37905
37905
|
links: "_links"
|
|
@@ -39614,14 +39614,14 @@ var init_createmandate = __esm(() => {
|
|
|
39614
39614
|
CreateMandateDocumentation$.outboundSchema = CreateMandateDocumentation$outboundSchema;
|
|
39615
39615
|
})(CreateMandateDocumentation$ ||= {});
|
|
39616
39616
|
CreateMandateLinks$inboundSchema = objectType({
|
|
39617
|
-
self: lazyType(() => CreateMandateSelf$inboundSchema)
|
|
39618
|
-
customer: lazyType(() => CreateMandateCustomer$inboundSchema)
|
|
39619
|
-
documentation: lazyType(() => CreateMandateDocumentation$inboundSchema)
|
|
39617
|
+
self: lazyType(() => CreateMandateSelf$inboundSchema),
|
|
39618
|
+
customer: lazyType(() => CreateMandateCustomer$inboundSchema),
|
|
39619
|
+
documentation: lazyType(() => CreateMandateDocumentation$inboundSchema)
|
|
39620
39620
|
});
|
|
39621
39621
|
CreateMandateLinks$outboundSchema = objectType({
|
|
39622
|
-
self: lazyType(() => CreateMandateSelf$outboundSchema)
|
|
39623
|
-
customer: lazyType(() => CreateMandateCustomer$outboundSchema)
|
|
39624
|
-
documentation: lazyType(() => CreateMandateDocumentation$outboundSchema)
|
|
39622
|
+
self: lazyType(() => CreateMandateSelf$outboundSchema),
|
|
39623
|
+
customer: lazyType(() => CreateMandateCustomer$outboundSchema),
|
|
39624
|
+
documentation: lazyType(() => CreateMandateDocumentation$outboundSchema)
|
|
39625
39625
|
});
|
|
39626
39626
|
((CreateMandateLinks$) => {
|
|
39627
39627
|
CreateMandateLinks$.inboundSchema = CreateMandateLinks$inboundSchema;
|
|
@@ -39629,16 +39629,16 @@ var init_createmandate = __esm(() => {
|
|
|
39629
39629
|
})(CreateMandateLinks$ ||= {});
|
|
39630
39630
|
CreateMandateResponse$inboundSchema = objectType({
|
|
39631
39631
|
resource: stringType().default("mandate"),
|
|
39632
|
-
id: stringType()
|
|
39633
|
-
mode: CreateMandateMode$inboundSchema
|
|
39634
|
-
method: CreateMandateMethodResponse$inboundSchema
|
|
39635
|
-
details: lazyType(() => CreateMandateDetails$inboundSchema)
|
|
39636
|
-
signatureDate: nullableType(stringType())
|
|
39637
|
-
mandateReference: nullableType(stringType())
|
|
39638
|
-
status: CreateMandateStatus$inboundSchema
|
|
39639
|
-
customerId: stringType()
|
|
39640
|
-
createdAt: stringType()
|
|
39641
|
-
_links: lazyType(() => CreateMandateLinks$inboundSchema)
|
|
39632
|
+
id: stringType(),
|
|
39633
|
+
mode: CreateMandateMode$inboundSchema,
|
|
39634
|
+
method: CreateMandateMethodResponse$inboundSchema,
|
|
39635
|
+
details: lazyType(() => CreateMandateDetails$inboundSchema),
|
|
39636
|
+
signatureDate: nullableType(stringType()),
|
|
39637
|
+
mandateReference: nullableType(stringType()),
|
|
39638
|
+
status: CreateMandateStatus$inboundSchema,
|
|
39639
|
+
customerId: stringType(),
|
|
39640
|
+
createdAt: stringType(),
|
|
39641
|
+
_links: lazyType(() => CreateMandateLinks$inboundSchema)
|
|
39642
39642
|
}).transform((v2) => {
|
|
39643
39643
|
return remap(v2, {
|
|
39644
39644
|
_links: "links"
|
|
@@ -39646,16 +39646,16 @@ var init_createmandate = __esm(() => {
|
|
|
39646
39646
|
});
|
|
39647
39647
|
CreateMandateResponse$outboundSchema = objectType({
|
|
39648
39648
|
resource: stringType().default("mandate"),
|
|
39649
|
-
id: stringType()
|
|
39650
|
-
mode: CreateMandateMode$outboundSchema
|
|
39651
|
-
method: CreateMandateMethodResponse$outboundSchema
|
|
39652
|
-
details: lazyType(() => CreateMandateDetails$outboundSchema)
|
|
39653
|
-
signatureDate: nullableType(stringType())
|
|
39654
|
-
mandateReference: nullableType(stringType())
|
|
39655
|
-
status: CreateMandateStatus$outboundSchema
|
|
39656
|
-
customerId: stringType()
|
|
39657
|
-
createdAt: stringType()
|
|
39658
|
-
links: lazyType(() => CreateMandateLinks$outboundSchema)
|
|
39649
|
+
id: stringType(),
|
|
39650
|
+
mode: CreateMandateMode$outboundSchema,
|
|
39651
|
+
method: CreateMandateMethodResponse$outboundSchema,
|
|
39652
|
+
details: lazyType(() => CreateMandateDetails$outboundSchema),
|
|
39653
|
+
signatureDate: nullableType(stringType()),
|
|
39654
|
+
mandateReference: nullableType(stringType()),
|
|
39655
|
+
status: CreateMandateStatus$outboundSchema,
|
|
39656
|
+
customerId: stringType(),
|
|
39657
|
+
createdAt: stringType(),
|
|
39658
|
+
links: lazyType(() => CreateMandateLinks$outboundSchema)
|
|
39659
39659
|
}).transform((v2) => {
|
|
39660
39660
|
return remap(v2, {
|
|
39661
39661
|
links: "_links"
|
|
@@ -42484,23 +42484,23 @@ var init_createrefund = __esm(() => {
|
|
|
42484
42484
|
CreateRefundDocumentation$.outboundSchema = CreateRefundDocumentation$outboundSchema;
|
|
42485
42485
|
})(CreateRefundDocumentation$ ||= {});
|
|
42486
42486
|
CreateRefundLinks$inboundSchema = objectType({
|
|
42487
|
-
self: lazyType(() => CreateRefundSelf$inboundSchema)
|
|
42488
|
-
payment: lazyType(() => CreateRefundPayment$inboundSchema)
|
|
42487
|
+
self: lazyType(() => CreateRefundSelf$inboundSchema),
|
|
42488
|
+
payment: lazyType(() => CreateRefundPayment$inboundSchema),
|
|
42489
42489
|
settlement: nullableType(lazyType(() => CreateRefundSettlement$inboundSchema)).optional(),
|
|
42490
|
-
documentation: lazyType(() => CreateRefundDocumentation$inboundSchema)
|
|
42490
|
+
documentation: lazyType(() => CreateRefundDocumentation$inboundSchema)
|
|
42491
42491
|
});
|
|
42492
42492
|
CreateRefundLinks$outboundSchema = objectType({
|
|
42493
|
-
self: lazyType(() => CreateRefundSelf$outboundSchema)
|
|
42494
|
-
payment: lazyType(() => CreateRefundPayment$outboundSchema)
|
|
42493
|
+
self: lazyType(() => CreateRefundSelf$outboundSchema),
|
|
42494
|
+
payment: lazyType(() => CreateRefundPayment$outboundSchema),
|
|
42495
42495
|
settlement: nullableType(lazyType(() => CreateRefundSettlement$outboundSchema)).optional(),
|
|
42496
|
-
documentation: lazyType(() => CreateRefundDocumentation$outboundSchema)
|
|
42496
|
+
documentation: lazyType(() => CreateRefundDocumentation$outboundSchema)
|
|
42497
42497
|
});
|
|
42498
42498
|
((CreateRefundLinks$) => {
|
|
42499
42499
|
CreateRefundLinks$.inboundSchema = CreateRefundLinks$inboundSchema;
|
|
42500
42500
|
CreateRefundLinks$.outboundSchema = CreateRefundLinks$outboundSchema;
|
|
42501
42501
|
})(CreateRefundLinks$ ||= {});
|
|
42502
42502
|
CreateRefundResponse$inboundSchema = objectType({
|
|
42503
|
-
resource: stringType().
|
|
42503
|
+
resource: stringType().optional(),
|
|
42504
42504
|
id: stringType().optional(),
|
|
42505
42505
|
mode: CreateRefundMode$inboundSchema.optional(),
|
|
42506
42506
|
description: stringType().optional(),
|
|
@@ -42524,7 +42524,7 @@ var init_createrefund = __esm(() => {
|
|
|
42524
42524
|
});
|
|
42525
42525
|
});
|
|
42526
42526
|
CreateRefundResponse$outboundSchema = objectType({
|
|
42527
|
-
resource: stringType().
|
|
42527
|
+
resource: stringType().optional(),
|
|
42528
42528
|
id: stringType().optional(),
|
|
42529
42529
|
mode: CreateRefundMode$outboundSchema.optional(),
|
|
42530
42530
|
description: stringType().optional(),
|
|
@@ -43367,12 +43367,12 @@ var init_createsubscription = __esm(() => {
|
|
|
43367
43367
|
CreateSubscriptionApplicationFeeAmountRequest$.outboundSchema = CreateSubscriptionApplicationFeeAmountRequest$outboundSchema;
|
|
43368
43368
|
})(CreateSubscriptionApplicationFeeAmountRequest$ ||= {});
|
|
43369
43369
|
CreateSubscriptionApplicationFeeRequest$inboundSchema = objectType({
|
|
43370
|
-
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$inboundSchema)
|
|
43371
|
-
description: stringType()
|
|
43370
|
+
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$inboundSchema),
|
|
43371
|
+
description: stringType()
|
|
43372
43372
|
});
|
|
43373
43373
|
CreateSubscriptionApplicationFeeRequest$outboundSchema = objectType({
|
|
43374
|
-
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$outboundSchema)
|
|
43375
|
-
description: stringType()
|
|
43374
|
+
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$outboundSchema),
|
|
43375
|
+
description: stringType()
|
|
43376
43376
|
});
|
|
43377
43377
|
((CreateSubscriptionApplicationFeeRequest$) => {
|
|
43378
43378
|
CreateSubscriptionApplicationFeeRequest$.inboundSchema = CreateSubscriptionApplicationFeeRequest$inboundSchema;
|
|
@@ -43527,12 +43527,12 @@ var init_createsubscription = __esm(() => {
|
|
|
43527
43527
|
CreateSubscriptionApplicationFeeAmountResponse$.outboundSchema = CreateSubscriptionApplicationFeeAmountResponse$outboundSchema;
|
|
43528
43528
|
})(CreateSubscriptionApplicationFeeAmountResponse$ ||= {});
|
|
43529
43529
|
CreateSubscriptionApplicationFeeResponse$inboundSchema = objectType({
|
|
43530
|
-
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$inboundSchema)
|
|
43531
|
-
description: stringType()
|
|
43530
|
+
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$inboundSchema),
|
|
43531
|
+
description: stringType()
|
|
43532
43532
|
});
|
|
43533
43533
|
CreateSubscriptionApplicationFeeResponse$outboundSchema = objectType({
|
|
43534
|
-
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$outboundSchema)
|
|
43535
|
-
description: stringType()
|
|
43534
|
+
amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$outboundSchema),
|
|
43535
|
+
description: stringType()
|
|
43536
43536
|
});
|
|
43537
43537
|
((CreateSubscriptionApplicationFeeResponse$) => {
|
|
43538
43538
|
CreateSubscriptionApplicationFeeResponse$.inboundSchema = CreateSubscriptionApplicationFeeResponse$inboundSchema;
|
|
@@ -43631,20 +43631,20 @@ var init_createsubscription = __esm(() => {
|
|
|
43631
43631
|
CreateSubscriptionDocumentation$.outboundSchema = CreateSubscriptionDocumentation$outboundSchema;
|
|
43632
43632
|
})(CreateSubscriptionDocumentation$ ||= {});
|
|
43633
43633
|
CreateSubscriptionLinks$inboundSchema = objectType({
|
|
43634
|
-
self: lazyType(() => CreateSubscriptionSelf$inboundSchema)
|
|
43635
|
-
customer: nullableType(lazyType(() => CreateSubscriptionCustomer$inboundSchema))
|
|
43634
|
+
self: lazyType(() => CreateSubscriptionSelf$inboundSchema),
|
|
43635
|
+
customer: nullableType(lazyType(() => CreateSubscriptionCustomer$inboundSchema)),
|
|
43636
43636
|
mandate: nullableType(lazyType(() => CreateSubscriptionMandate$inboundSchema)).optional(),
|
|
43637
|
-
profile: nullableType(lazyType(() => CreateSubscriptionProfile$inboundSchema))
|
|
43637
|
+
profile: nullableType(lazyType(() => CreateSubscriptionProfile$inboundSchema)),
|
|
43638
43638
|
payments: nullableType(lazyType(() => CreateSubscriptionPayments$inboundSchema)).optional(),
|
|
43639
|
-
documentation: lazyType(() => CreateSubscriptionDocumentation$inboundSchema)
|
|
43639
|
+
documentation: lazyType(() => CreateSubscriptionDocumentation$inboundSchema)
|
|
43640
43640
|
});
|
|
43641
43641
|
CreateSubscriptionLinks$outboundSchema = objectType({
|
|
43642
|
-
self: lazyType(() => CreateSubscriptionSelf$outboundSchema)
|
|
43643
|
-
customer: nullableType(lazyType(() => CreateSubscriptionCustomer$outboundSchema))
|
|
43642
|
+
self: lazyType(() => CreateSubscriptionSelf$outboundSchema),
|
|
43643
|
+
customer: nullableType(lazyType(() => CreateSubscriptionCustomer$outboundSchema)),
|
|
43644
43644
|
mandate: nullableType(lazyType(() => CreateSubscriptionMandate$outboundSchema)).optional(),
|
|
43645
|
-
profile: nullableType(lazyType(() => CreateSubscriptionProfile$outboundSchema))
|
|
43645
|
+
profile: nullableType(lazyType(() => CreateSubscriptionProfile$outboundSchema)),
|
|
43646
43646
|
payments: nullableType(lazyType(() => CreateSubscriptionPayments$outboundSchema)).optional(),
|
|
43647
|
-
documentation: lazyType(() => CreateSubscriptionDocumentation$outboundSchema)
|
|
43647
|
+
documentation: lazyType(() => CreateSubscriptionDocumentation$outboundSchema)
|
|
43648
43648
|
});
|
|
43649
43649
|
((CreateSubscriptionLinks$) => {
|
|
43650
43650
|
CreateSubscriptionLinks$.inboundSchema = CreateSubscriptionLinks$inboundSchema;
|
|
@@ -43652,27 +43652,27 @@ var init_createsubscription = __esm(() => {
|
|
|
43652
43652
|
})(CreateSubscriptionLinks$ ||= {});
|
|
43653
43653
|
CreateSubscriptionResponse$inboundSchema = objectType({
|
|
43654
43654
|
resource: stringType().default("subscription"),
|
|
43655
|
-
id: stringType()
|
|
43656
|
-
mode: CreateSubscriptionMode$inboundSchema
|
|
43657
|
-
status: CreateSubscriptionStatus$inboundSchema
|
|
43658
|
-
amount: lazyType(() => CreateSubscriptionAmountResponse$inboundSchema)
|
|
43659
|
-
times: nullableType(numberType().int())
|
|
43660
|
-
timesRemaining: numberType().int()
|
|
43661
|
-
interval: CreateSubscriptionIntervalResponse$inboundSchema
|
|
43662
|
-
startDate: stringType()
|
|
43655
|
+
id: stringType(),
|
|
43656
|
+
mode: CreateSubscriptionMode$inboundSchema,
|
|
43657
|
+
status: CreateSubscriptionStatus$inboundSchema,
|
|
43658
|
+
amount: lazyType(() => CreateSubscriptionAmountResponse$inboundSchema),
|
|
43659
|
+
times: nullableType(numberType().int()),
|
|
43660
|
+
timesRemaining: numberType().int(),
|
|
43661
|
+
interval: CreateSubscriptionIntervalResponse$inboundSchema,
|
|
43662
|
+
startDate: stringType(),
|
|
43663
43663
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
43664
|
-
description: stringType()
|
|
43665
|
-
method: nullableType(CreateSubscriptionMethodResponse$inboundSchema)
|
|
43664
|
+
description: stringType(),
|
|
43665
|
+
method: nullableType(CreateSubscriptionMethodResponse$inboundSchema),
|
|
43666
43666
|
applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$inboundSchema).optional(),
|
|
43667
43667
|
metadata: nullableType(unionType([
|
|
43668
43668
|
lazyType(() => CreateSubscriptionMetadataResponse$inboundSchema),
|
|
43669
43669
|
stringType(),
|
|
43670
43670
|
arrayType(stringType())
|
|
43671
|
-
]))
|
|
43672
|
-
webhookUrl: stringType()
|
|
43673
|
-
customerId: stringType()
|
|
43671
|
+
])),
|
|
43672
|
+
webhookUrl: stringType(),
|
|
43673
|
+
customerId: stringType(),
|
|
43674
43674
|
mandateId: nullableType(stringType()).optional(),
|
|
43675
|
-
createdAt: stringType()
|
|
43675
|
+
createdAt: stringType(),
|
|
43676
43676
|
canceledAt: nullableType(stringType()).optional(),
|
|
43677
43677
|
_links: lazyType(() => CreateSubscriptionLinks$inboundSchema).optional()
|
|
43678
43678
|
}).transform((v2) => {
|
|
@@ -43682,27 +43682,27 @@ var init_createsubscription = __esm(() => {
|
|
|
43682
43682
|
});
|
|
43683
43683
|
CreateSubscriptionResponse$outboundSchema = objectType({
|
|
43684
43684
|
resource: stringType().default("subscription"),
|
|
43685
|
-
id: stringType()
|
|
43686
|
-
mode: CreateSubscriptionMode$outboundSchema
|
|
43687
|
-
status: CreateSubscriptionStatus$outboundSchema
|
|
43688
|
-
amount: lazyType(() => CreateSubscriptionAmountResponse$outboundSchema)
|
|
43689
|
-
times: nullableType(numberType().int())
|
|
43690
|
-
timesRemaining: numberType().int()
|
|
43691
|
-
interval: CreateSubscriptionIntervalResponse$outboundSchema
|
|
43692
|
-
startDate: stringType()
|
|
43685
|
+
id: stringType(),
|
|
43686
|
+
mode: CreateSubscriptionMode$outboundSchema,
|
|
43687
|
+
status: CreateSubscriptionStatus$outboundSchema,
|
|
43688
|
+
amount: lazyType(() => CreateSubscriptionAmountResponse$outboundSchema),
|
|
43689
|
+
times: nullableType(numberType().int()),
|
|
43690
|
+
timesRemaining: numberType().int(),
|
|
43691
|
+
interval: CreateSubscriptionIntervalResponse$outboundSchema,
|
|
43692
|
+
startDate: stringType(),
|
|
43693
43693
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
43694
|
-
description: stringType()
|
|
43695
|
-
method: nullableType(CreateSubscriptionMethodResponse$outboundSchema)
|
|
43694
|
+
description: stringType(),
|
|
43695
|
+
method: nullableType(CreateSubscriptionMethodResponse$outboundSchema),
|
|
43696
43696
|
applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$outboundSchema).optional(),
|
|
43697
43697
|
metadata: nullableType(unionType([
|
|
43698
43698
|
lazyType(() => CreateSubscriptionMetadataResponse$outboundSchema),
|
|
43699
43699
|
stringType(),
|
|
43700
43700
|
arrayType(stringType())
|
|
43701
|
-
]))
|
|
43702
|
-
webhookUrl: stringType()
|
|
43703
|
-
customerId: stringType()
|
|
43701
|
+
])),
|
|
43702
|
+
webhookUrl: stringType(),
|
|
43703
|
+
customerId: stringType(),
|
|
43704
43704
|
mandateId: nullableType(stringType()).optional(),
|
|
43705
|
-
createdAt: stringType()
|
|
43705
|
+
createdAt: stringType(),
|
|
43706
43706
|
canceledAt: nullableType(stringType()).optional(),
|
|
43707
43707
|
links: lazyType(() => CreateSubscriptionLinks$outboundSchema).optional()
|
|
43708
43708
|
}).transform((v2) => {
|
|
@@ -62125,20 +62125,20 @@ var init_getcustomer = __esm(() => {
|
|
|
62125
62125
|
GetCustomerDocumentation$.outboundSchema = GetCustomerDocumentation$outboundSchema;
|
|
62126
62126
|
})(GetCustomerDocumentation$ ||= {});
|
|
62127
62127
|
GetCustomerLinks$inboundSchema = objectType({
|
|
62128
|
-
self: lazyType(() => GetCustomerSelf$inboundSchema)
|
|
62129
|
-
dashboard: lazyType(() => GetCustomerDashboard$inboundSchema)
|
|
62128
|
+
self: lazyType(() => GetCustomerSelf$inboundSchema),
|
|
62129
|
+
dashboard: lazyType(() => GetCustomerDashboard$inboundSchema),
|
|
62130
62130
|
payments: nullableType(lazyType(() => GetCustomerPayments$inboundSchema)).optional(),
|
|
62131
62131
|
mandates: nullableType(lazyType(() => GetCustomerMandates$inboundSchema)).optional(),
|
|
62132
62132
|
subscriptions: nullableType(lazyType(() => GetCustomerSubscriptions$inboundSchema)).optional(),
|
|
62133
|
-
documentation: lazyType(() => GetCustomerDocumentation$inboundSchema)
|
|
62133
|
+
documentation: lazyType(() => GetCustomerDocumentation$inboundSchema)
|
|
62134
62134
|
});
|
|
62135
62135
|
GetCustomerLinks$outboundSchema = objectType({
|
|
62136
|
-
self: lazyType(() => GetCustomerSelf$outboundSchema)
|
|
62137
|
-
dashboard: lazyType(() => GetCustomerDashboard$outboundSchema)
|
|
62136
|
+
self: lazyType(() => GetCustomerSelf$outboundSchema),
|
|
62137
|
+
dashboard: lazyType(() => GetCustomerDashboard$outboundSchema),
|
|
62138
62138
|
payments: nullableType(lazyType(() => GetCustomerPayments$outboundSchema)).optional(),
|
|
62139
62139
|
mandates: nullableType(lazyType(() => GetCustomerMandates$outboundSchema)).optional(),
|
|
62140
62140
|
subscriptions: nullableType(lazyType(() => GetCustomerSubscriptions$outboundSchema)).optional(),
|
|
62141
|
-
documentation: lazyType(() => GetCustomerDocumentation$outboundSchema)
|
|
62141
|
+
documentation: lazyType(() => GetCustomerDocumentation$outboundSchema)
|
|
62142
62142
|
});
|
|
62143
62143
|
((GetCustomerLinks$) => {
|
|
62144
62144
|
GetCustomerLinks$.inboundSchema = GetCustomerLinks$inboundSchema;
|
|
@@ -62168,9 +62168,9 @@ var init_getcustomer = __esm(() => {
|
|
|
62168
62168
|
})(EventLinks$ ||= {});
|
|
62169
62169
|
Event$inboundSchema = objectType({
|
|
62170
62170
|
resource: stringType().default("event"),
|
|
62171
|
-
type: numberType().int()
|
|
62172
|
-
createdAt: stringType()
|
|
62173
|
-
message: stringType()
|
|
62171
|
+
type: numberType().int(),
|
|
62172
|
+
createdAt: stringType(),
|
|
62173
|
+
message: stringType(),
|
|
62174
62174
|
_links: lazyType(() => EventLinks$inboundSchema).optional()
|
|
62175
62175
|
}).transform((v2) => {
|
|
62176
62176
|
return remap(v2, {
|
|
@@ -62179,9 +62179,9 @@ var init_getcustomer = __esm(() => {
|
|
|
62179
62179
|
});
|
|
62180
62180
|
Event$outboundSchema = objectType({
|
|
62181
62181
|
resource: stringType().default("event"),
|
|
62182
|
-
type: numberType().int()
|
|
62183
|
-
createdAt: stringType()
|
|
62184
|
-
message: stringType()
|
|
62182
|
+
type: numberType().int(),
|
|
62183
|
+
createdAt: stringType(),
|
|
62184
|
+
message: stringType(),
|
|
62185
62185
|
links: lazyType(() => EventLinks$outboundSchema).optional()
|
|
62186
62186
|
}).transform((v2) => {
|
|
62187
62187
|
return remap(v2, {
|
|
@@ -62194,18 +62194,18 @@ var init_getcustomer = __esm(() => {
|
|
|
62194
62194
|
})(Event$ ||= {});
|
|
62195
62195
|
GetCustomerResponse$inboundSchema = objectType({
|
|
62196
62196
|
resource: stringType().default("customer"),
|
|
62197
|
-
id: stringType()
|
|
62198
|
-
mode: GetCustomerMode$inboundSchema
|
|
62199
|
-
name: nullableType(stringType())
|
|
62200
|
-
email: nullableType(stringType())
|
|
62201
|
-
locale: nullableType(GetCustomerLocale$inboundSchema)
|
|
62197
|
+
id: stringType(),
|
|
62198
|
+
mode: GetCustomerMode$inboundSchema,
|
|
62199
|
+
name: nullableType(stringType()),
|
|
62200
|
+
email: nullableType(stringType()),
|
|
62201
|
+
locale: nullableType(GetCustomerLocale$inboundSchema),
|
|
62202
62202
|
metadata: nullableType(unionType([
|
|
62203
62203
|
lazyType(() => GetCustomerMetadata$inboundSchema),
|
|
62204
62204
|
stringType(),
|
|
62205
62205
|
arrayType(stringType())
|
|
62206
|
-
]))
|
|
62207
|
-
createdAt: stringType()
|
|
62208
|
-
_links: lazyType(() => GetCustomerLinks$inboundSchema)
|
|
62206
|
+
])),
|
|
62207
|
+
createdAt: stringType(),
|
|
62208
|
+
_links: lazyType(() => GetCustomerLinks$inboundSchema),
|
|
62209
62209
|
events: arrayType(lazyType(() => Event$inboundSchema)).optional()
|
|
62210
62210
|
}).transform((v2) => {
|
|
62211
62211
|
return remap(v2, {
|
|
@@ -62214,18 +62214,18 @@ var init_getcustomer = __esm(() => {
|
|
|
62214
62214
|
});
|
|
62215
62215
|
GetCustomerResponse$outboundSchema = objectType({
|
|
62216
62216
|
resource: stringType().default("customer"),
|
|
62217
|
-
id: stringType()
|
|
62218
|
-
mode: GetCustomerMode$outboundSchema
|
|
62219
|
-
name: nullableType(stringType())
|
|
62220
|
-
email: nullableType(stringType())
|
|
62221
|
-
locale: nullableType(GetCustomerLocale$outboundSchema)
|
|
62217
|
+
id: stringType(),
|
|
62218
|
+
mode: GetCustomerMode$outboundSchema,
|
|
62219
|
+
name: nullableType(stringType()),
|
|
62220
|
+
email: nullableType(stringType()),
|
|
62221
|
+
locale: nullableType(GetCustomerLocale$outboundSchema),
|
|
62222
62222
|
metadata: nullableType(unionType([
|
|
62223
62223
|
lazyType(() => GetCustomerMetadata$outboundSchema),
|
|
62224
62224
|
stringType(),
|
|
62225
62225
|
arrayType(stringType())
|
|
62226
|
-
]))
|
|
62227
|
-
createdAt: stringType()
|
|
62228
|
-
links: lazyType(() => GetCustomerLinks$outboundSchema)
|
|
62226
|
+
])),
|
|
62227
|
+
createdAt: stringType(),
|
|
62228
|
+
links: lazyType(() => GetCustomerLinks$outboundSchema),
|
|
62229
62229
|
events: arrayType(lazyType(() => Event$outboundSchema)).optional()
|
|
62230
62230
|
}).transform((v2) => {
|
|
62231
62231
|
return remap(v2, {
|
|
@@ -62600,14 +62600,14 @@ var init_getmandate = __esm(() => {
|
|
|
62600
62600
|
GetMandateDocumentation$.outboundSchema = GetMandateDocumentation$outboundSchema;
|
|
62601
62601
|
})(GetMandateDocumentation$ ||= {});
|
|
62602
62602
|
GetMandateLinks$inboundSchema = objectType({
|
|
62603
|
-
self: lazyType(() => GetMandateSelf$inboundSchema)
|
|
62604
|
-
customer: lazyType(() => GetMandateCustomer$inboundSchema)
|
|
62605
|
-
documentation: lazyType(() => GetMandateDocumentation$inboundSchema)
|
|
62603
|
+
self: lazyType(() => GetMandateSelf$inboundSchema),
|
|
62604
|
+
customer: lazyType(() => GetMandateCustomer$inboundSchema),
|
|
62605
|
+
documentation: lazyType(() => GetMandateDocumentation$inboundSchema)
|
|
62606
62606
|
});
|
|
62607
62607
|
GetMandateLinks$outboundSchema = objectType({
|
|
62608
|
-
self: lazyType(() => GetMandateSelf$outboundSchema)
|
|
62609
|
-
customer: lazyType(() => GetMandateCustomer$outboundSchema)
|
|
62610
|
-
documentation: lazyType(() => GetMandateDocumentation$outboundSchema)
|
|
62608
|
+
self: lazyType(() => GetMandateSelf$outboundSchema),
|
|
62609
|
+
customer: lazyType(() => GetMandateCustomer$outboundSchema),
|
|
62610
|
+
documentation: lazyType(() => GetMandateDocumentation$outboundSchema)
|
|
62611
62611
|
});
|
|
62612
62612
|
((GetMandateLinks$) => {
|
|
62613
62613
|
GetMandateLinks$.inboundSchema = GetMandateLinks$inboundSchema;
|
|
@@ -62615,16 +62615,16 @@ var init_getmandate = __esm(() => {
|
|
|
62615
62615
|
})(GetMandateLinks$ ||= {});
|
|
62616
62616
|
GetMandateResponse$inboundSchema = objectType({
|
|
62617
62617
|
resource: stringType().default("mandate"),
|
|
62618
|
-
id: stringType()
|
|
62619
|
-
mode: GetMandateMode$inboundSchema
|
|
62620
|
-
method: GetMandateMethod$inboundSchema
|
|
62621
|
-
details: lazyType(() => GetMandateDetails$inboundSchema)
|
|
62622
|
-
signatureDate: nullableType(stringType())
|
|
62623
|
-
mandateReference: nullableType(stringType())
|
|
62624
|
-
status: GetMandateStatus$inboundSchema
|
|
62625
|
-
customerId: stringType()
|
|
62626
|
-
createdAt: stringType()
|
|
62627
|
-
_links: lazyType(() => GetMandateLinks$inboundSchema)
|
|
62618
|
+
id: stringType(),
|
|
62619
|
+
mode: GetMandateMode$inboundSchema,
|
|
62620
|
+
method: GetMandateMethod$inboundSchema,
|
|
62621
|
+
details: lazyType(() => GetMandateDetails$inboundSchema),
|
|
62622
|
+
signatureDate: nullableType(stringType()),
|
|
62623
|
+
mandateReference: nullableType(stringType()),
|
|
62624
|
+
status: GetMandateStatus$inboundSchema,
|
|
62625
|
+
customerId: stringType(),
|
|
62626
|
+
createdAt: stringType(),
|
|
62627
|
+
_links: lazyType(() => GetMandateLinks$inboundSchema)
|
|
62628
62628
|
}).transform((v2) => {
|
|
62629
62629
|
return remap(v2, {
|
|
62630
62630
|
_links: "links"
|
|
@@ -62632,16 +62632,16 @@ var init_getmandate = __esm(() => {
|
|
|
62632
62632
|
});
|
|
62633
62633
|
GetMandateResponse$outboundSchema = objectType({
|
|
62634
62634
|
resource: stringType().default("mandate"),
|
|
62635
|
-
id: stringType()
|
|
62636
|
-
mode: GetMandateMode$outboundSchema
|
|
62637
|
-
method: GetMandateMethod$outboundSchema
|
|
62638
|
-
details: lazyType(() => GetMandateDetails$outboundSchema)
|
|
62639
|
-
signatureDate: nullableType(stringType())
|
|
62640
|
-
mandateReference: nullableType(stringType())
|
|
62641
|
-
status: GetMandateStatus$outboundSchema
|
|
62642
|
-
customerId: stringType()
|
|
62643
|
-
createdAt: stringType()
|
|
62644
|
-
links: lazyType(() => GetMandateLinks$outboundSchema)
|
|
62635
|
+
id: stringType(),
|
|
62636
|
+
mode: GetMandateMode$outboundSchema,
|
|
62637
|
+
method: GetMandateMethod$outboundSchema,
|
|
62638
|
+
details: lazyType(() => GetMandateDetails$outboundSchema),
|
|
62639
|
+
signatureDate: nullableType(stringType()),
|
|
62640
|
+
mandateReference: nullableType(stringType()),
|
|
62641
|
+
status: GetMandateStatus$outboundSchema,
|
|
62642
|
+
customerId: stringType(),
|
|
62643
|
+
createdAt: stringType(),
|
|
62644
|
+
links: lazyType(() => GetMandateLinks$outboundSchema)
|
|
62645
62645
|
}).transform((v2) => {
|
|
62646
62646
|
return remap(v2, {
|
|
62647
62647
|
links: "_links"
|
|
@@ -67325,11 +67325,11 @@ var init_getprofile = __esm(() => {
|
|
|
67325
67325
|
});
|
|
67326
67326
|
|
|
67327
67327
|
// src/models/operations/getrefund.ts
|
|
67328
|
-
var
|
|
67328
|
+
var GetRefundEmbed, GetRefundMode, GetRefundStatus, GetRefundType, GetRefundEmbed$inboundSchema, GetRefundEmbed$outboundSchema, GetRefundEmbed$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$, GetRefundNotFoundDocumentation$inboundSchema, GetRefundNotFoundDocumentation$outboundSchema, GetRefundNotFoundDocumentation$, GetRefundNotFoundLinks$inboundSchema, GetRefundNotFoundLinks$outboundSchema, GetRefundNotFoundLinks$, GetRefundMode$inboundSchema, GetRefundMode$outboundSchema, GetRefundMode$, GetRefundAmount$inboundSchema, GetRefundAmount$outboundSchema, GetRefundAmount$, GetRefundSettlementAmount$inboundSchema, GetRefundSettlementAmount$outboundSchema, GetRefundSettlementAmount$, GetRefundMetadata$inboundSchema, GetRefundMetadata$outboundSchema, GetRefundMetadata$, GetRefundMetadataUnion$inboundSchema, GetRefundMetadataUnion$outboundSchema, GetRefundMetadataUnion$, GetRefundStatus$inboundSchema, GetRefundStatus$outboundSchema, GetRefundStatus$, GetRefundType$inboundSchema, GetRefundType$outboundSchema, GetRefundType$, GetRefundExternalReference$inboundSchema, GetRefundExternalReference$outboundSchema, GetRefundExternalReference$, GetRefundRoutingReversalAmount$inboundSchema, GetRefundRoutingReversalAmount$outboundSchema, GetRefundRoutingReversalAmount$, GetRefundSource$inboundSchema, GetRefundSource$outboundSchema, GetRefundSource$, GetRefundRoutingReversal$inboundSchema, GetRefundRoutingReversal$outboundSchema, GetRefundRoutingReversal$, GetRefundSelf$inboundSchema, GetRefundSelf$outboundSchema, GetRefundSelf$, GetRefundPayment$inboundSchema, GetRefundPayment$outboundSchema, GetRefundPayment$, GetRefundSettlement$inboundSchema, GetRefundSettlement$outboundSchema, GetRefundSettlement$, GetRefundDocumentation$inboundSchema, GetRefundDocumentation$outboundSchema, GetRefundDocumentation$, GetRefundLinks$inboundSchema, GetRefundLinks$outboundSchema, GetRefundLinks$, GetRefundResponse$inboundSchema, GetRefundResponse$outboundSchema, GetRefundResponse$;
|
|
67329
67329
|
var init_getrefund = __esm(() => {
|
|
67330
67330
|
init_esm();
|
|
67331
67331
|
init_primitives();
|
|
67332
|
-
|
|
67332
|
+
GetRefundEmbed = {
|
|
67333
67333
|
Payment: "payment"
|
|
67334
67334
|
};
|
|
67335
67335
|
GetRefundMode = {
|
|
@@ -67347,22 +67347,22 @@ var init_getrefund = __esm(() => {
|
|
|
67347
67347
|
GetRefundType = {
|
|
67348
67348
|
AcquirerReference: "acquirer-reference"
|
|
67349
67349
|
};
|
|
67350
|
-
|
|
67351
|
-
|
|
67352
|
-
((
|
|
67353
|
-
|
|
67354
|
-
|
|
67355
|
-
})(
|
|
67350
|
+
GetRefundEmbed$inboundSchema = nativeEnumType(GetRefundEmbed);
|
|
67351
|
+
GetRefundEmbed$outboundSchema = GetRefundEmbed$inboundSchema;
|
|
67352
|
+
((GetRefundEmbed$) => {
|
|
67353
|
+
GetRefundEmbed$.inboundSchema = GetRefundEmbed$inboundSchema;
|
|
67354
|
+
GetRefundEmbed$.outboundSchema = GetRefundEmbed$outboundSchema;
|
|
67355
|
+
})(GetRefundEmbed$ ||= {});
|
|
67356
67356
|
GetRefundRequest$inboundSchema = objectType({
|
|
67357
67357
|
paymentId: stringType(),
|
|
67358
67358
|
refundId: stringType(),
|
|
67359
|
-
|
|
67359
|
+
embed: GetRefundEmbed$inboundSchema.optional(),
|
|
67360
67360
|
testmode: nullableType(booleanType()).optional()
|
|
67361
67361
|
});
|
|
67362
67362
|
GetRefundRequest$outboundSchema = objectType({
|
|
67363
67363
|
paymentId: stringType(),
|
|
67364
67364
|
refundId: stringType(),
|
|
67365
|
-
|
|
67365
|
+
embed: GetRefundEmbed$outboundSchema.optional(),
|
|
67366
67366
|
testmode: nullableType(booleanType()).optional()
|
|
67367
67367
|
});
|
|
67368
67368
|
((GetRefundRequest$) => {
|
|
@@ -67548,23 +67548,23 @@ var init_getrefund = __esm(() => {
|
|
|
67548
67548
|
GetRefundDocumentation$.outboundSchema = GetRefundDocumentation$outboundSchema;
|
|
67549
67549
|
})(GetRefundDocumentation$ ||= {});
|
|
67550
67550
|
GetRefundLinks$inboundSchema = objectType({
|
|
67551
|
-
self: lazyType(() => GetRefundSelf$inboundSchema)
|
|
67552
|
-
payment: lazyType(() => GetRefundPayment$inboundSchema)
|
|
67551
|
+
self: lazyType(() => GetRefundSelf$inboundSchema),
|
|
67552
|
+
payment: lazyType(() => GetRefundPayment$inboundSchema),
|
|
67553
67553
|
settlement: nullableType(lazyType(() => GetRefundSettlement$inboundSchema)).optional(),
|
|
67554
|
-
documentation: lazyType(() => GetRefundDocumentation$inboundSchema)
|
|
67554
|
+
documentation: lazyType(() => GetRefundDocumentation$inboundSchema)
|
|
67555
67555
|
});
|
|
67556
67556
|
GetRefundLinks$outboundSchema = objectType({
|
|
67557
|
-
self: lazyType(() => GetRefundSelf$outboundSchema)
|
|
67558
|
-
payment: lazyType(() => GetRefundPayment$outboundSchema)
|
|
67557
|
+
self: lazyType(() => GetRefundSelf$outboundSchema),
|
|
67558
|
+
payment: lazyType(() => GetRefundPayment$outboundSchema),
|
|
67559
67559
|
settlement: nullableType(lazyType(() => GetRefundSettlement$outboundSchema)).optional(),
|
|
67560
|
-
documentation: lazyType(() => GetRefundDocumentation$outboundSchema)
|
|
67560
|
+
documentation: lazyType(() => GetRefundDocumentation$outboundSchema)
|
|
67561
67561
|
});
|
|
67562
67562
|
((GetRefundLinks$) => {
|
|
67563
67563
|
GetRefundLinks$.inboundSchema = GetRefundLinks$inboundSchema;
|
|
67564
67564
|
GetRefundLinks$.outboundSchema = GetRefundLinks$outboundSchema;
|
|
67565
67565
|
})(GetRefundLinks$ ||= {});
|
|
67566
67566
|
GetRefundResponse$inboundSchema = objectType({
|
|
67567
|
-
resource: stringType().
|
|
67567
|
+
resource: stringType().optional(),
|
|
67568
67568
|
id: stringType().optional(),
|
|
67569
67569
|
mode: GetRefundMode$inboundSchema.optional(),
|
|
67570
67570
|
description: stringType().optional(),
|
|
@@ -67588,7 +67588,7 @@ var init_getrefund = __esm(() => {
|
|
|
67588
67588
|
});
|
|
67589
67589
|
});
|
|
67590
67590
|
GetRefundResponse$outboundSchema = objectType({
|
|
67591
|
-
resource: stringType().
|
|
67591
|
+
resource: stringType().optional(),
|
|
67592
67592
|
id: stringType().optional(),
|
|
67593
67593
|
mode: GetRefundMode$outboundSchema.optional(),
|
|
67594
67594
|
description: stringType().optional(),
|
|
@@ -68700,12 +68700,12 @@ var init_getsubscription = __esm(() => {
|
|
|
68700
68700
|
GetSubscriptionApplicationFeeAmount$.outboundSchema = GetSubscriptionApplicationFeeAmount$outboundSchema;
|
|
68701
68701
|
})(GetSubscriptionApplicationFeeAmount$ ||= {});
|
|
68702
68702
|
GetSubscriptionApplicationFee$inboundSchema = objectType({
|
|
68703
|
-
amount: lazyType(() => GetSubscriptionApplicationFeeAmount$inboundSchema)
|
|
68704
|
-
description: stringType()
|
|
68703
|
+
amount: lazyType(() => GetSubscriptionApplicationFeeAmount$inboundSchema),
|
|
68704
|
+
description: stringType()
|
|
68705
68705
|
});
|
|
68706
68706
|
GetSubscriptionApplicationFee$outboundSchema = objectType({
|
|
68707
|
-
amount: lazyType(() => GetSubscriptionApplicationFeeAmount$outboundSchema)
|
|
68708
|
-
description: stringType()
|
|
68707
|
+
amount: lazyType(() => GetSubscriptionApplicationFeeAmount$outboundSchema),
|
|
68708
|
+
description: stringType()
|
|
68709
68709
|
});
|
|
68710
68710
|
((GetSubscriptionApplicationFee$) => {
|
|
68711
68711
|
GetSubscriptionApplicationFee$.inboundSchema = GetSubscriptionApplicationFee$inboundSchema;
|
|
@@ -68804,20 +68804,20 @@ var init_getsubscription = __esm(() => {
|
|
|
68804
68804
|
GetSubscriptionDocumentation$.outboundSchema = GetSubscriptionDocumentation$outboundSchema;
|
|
68805
68805
|
})(GetSubscriptionDocumentation$ ||= {});
|
|
68806
68806
|
GetSubscriptionLinks$inboundSchema = objectType({
|
|
68807
|
-
self: lazyType(() => GetSubscriptionSelf$inboundSchema)
|
|
68808
|
-
customer: nullableType(lazyType(() => GetSubscriptionCustomer$inboundSchema))
|
|
68807
|
+
self: lazyType(() => GetSubscriptionSelf$inboundSchema),
|
|
68808
|
+
customer: nullableType(lazyType(() => GetSubscriptionCustomer$inboundSchema)),
|
|
68809
68809
|
mandate: nullableType(lazyType(() => GetSubscriptionMandate$inboundSchema)).optional(),
|
|
68810
|
-
profile: nullableType(lazyType(() => GetSubscriptionProfile$inboundSchema))
|
|
68810
|
+
profile: nullableType(lazyType(() => GetSubscriptionProfile$inboundSchema)),
|
|
68811
68811
|
payments: nullableType(lazyType(() => GetSubscriptionPayments$inboundSchema)).optional(),
|
|
68812
|
-
documentation: lazyType(() => GetSubscriptionDocumentation$inboundSchema)
|
|
68812
|
+
documentation: lazyType(() => GetSubscriptionDocumentation$inboundSchema)
|
|
68813
68813
|
});
|
|
68814
68814
|
GetSubscriptionLinks$outboundSchema = objectType({
|
|
68815
|
-
self: lazyType(() => GetSubscriptionSelf$outboundSchema)
|
|
68816
|
-
customer: nullableType(lazyType(() => GetSubscriptionCustomer$outboundSchema))
|
|
68815
|
+
self: lazyType(() => GetSubscriptionSelf$outboundSchema),
|
|
68816
|
+
customer: nullableType(lazyType(() => GetSubscriptionCustomer$outboundSchema)),
|
|
68817
68817
|
mandate: nullableType(lazyType(() => GetSubscriptionMandate$outboundSchema)).optional(),
|
|
68818
|
-
profile: nullableType(lazyType(() => GetSubscriptionProfile$outboundSchema))
|
|
68818
|
+
profile: nullableType(lazyType(() => GetSubscriptionProfile$outboundSchema)),
|
|
68819
68819
|
payments: nullableType(lazyType(() => GetSubscriptionPayments$outboundSchema)).optional(),
|
|
68820
|
-
documentation: lazyType(() => GetSubscriptionDocumentation$outboundSchema)
|
|
68820
|
+
documentation: lazyType(() => GetSubscriptionDocumentation$outboundSchema)
|
|
68821
68821
|
});
|
|
68822
68822
|
((GetSubscriptionLinks$) => {
|
|
68823
68823
|
GetSubscriptionLinks$.inboundSchema = GetSubscriptionLinks$inboundSchema;
|
|
@@ -68825,27 +68825,27 @@ var init_getsubscription = __esm(() => {
|
|
|
68825
68825
|
})(GetSubscriptionLinks$ ||= {});
|
|
68826
68826
|
GetSubscriptionResponse$inboundSchema = objectType({
|
|
68827
68827
|
resource: stringType().default("subscription"),
|
|
68828
|
-
id: stringType()
|
|
68829
|
-
mode: GetSubscriptionMode$inboundSchema
|
|
68830
|
-
status: GetSubscriptionStatus$inboundSchema
|
|
68831
|
-
amount: lazyType(() => GetSubscriptionAmount$inboundSchema)
|
|
68832
|
-
times: nullableType(numberType().int())
|
|
68833
|
-
timesRemaining: numberType().int()
|
|
68834
|
-
interval: GetSubscriptionInterval$inboundSchema
|
|
68835
|
-
startDate: stringType()
|
|
68828
|
+
id: stringType(),
|
|
68829
|
+
mode: GetSubscriptionMode$inboundSchema,
|
|
68830
|
+
status: GetSubscriptionStatus$inboundSchema,
|
|
68831
|
+
amount: lazyType(() => GetSubscriptionAmount$inboundSchema),
|
|
68832
|
+
times: nullableType(numberType().int()),
|
|
68833
|
+
timesRemaining: numberType().int(),
|
|
68834
|
+
interval: GetSubscriptionInterval$inboundSchema,
|
|
68835
|
+
startDate: stringType(),
|
|
68836
68836
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
68837
|
-
description: stringType()
|
|
68838
|
-
method: nullableType(GetSubscriptionMethod$inboundSchema)
|
|
68837
|
+
description: stringType(),
|
|
68838
|
+
method: nullableType(GetSubscriptionMethod$inboundSchema),
|
|
68839
68839
|
applicationFee: lazyType(() => GetSubscriptionApplicationFee$inboundSchema).optional(),
|
|
68840
68840
|
metadata: nullableType(unionType([
|
|
68841
68841
|
lazyType(() => GetSubscriptionMetadata$inboundSchema),
|
|
68842
68842
|
stringType(),
|
|
68843
68843
|
arrayType(stringType())
|
|
68844
|
-
]))
|
|
68845
|
-
webhookUrl: stringType()
|
|
68846
|
-
customerId: stringType()
|
|
68844
|
+
])),
|
|
68845
|
+
webhookUrl: stringType(),
|
|
68846
|
+
customerId: stringType(),
|
|
68847
68847
|
mandateId: nullableType(stringType()).optional(),
|
|
68848
|
-
createdAt: stringType()
|
|
68848
|
+
createdAt: stringType(),
|
|
68849
68849
|
canceledAt: nullableType(stringType()).optional(),
|
|
68850
68850
|
_links: lazyType(() => GetSubscriptionLinks$inboundSchema).optional()
|
|
68851
68851
|
}).transform((v2) => {
|
|
@@ -68855,27 +68855,27 @@ var init_getsubscription = __esm(() => {
|
|
|
68855
68855
|
});
|
|
68856
68856
|
GetSubscriptionResponse$outboundSchema = objectType({
|
|
68857
68857
|
resource: stringType().default("subscription"),
|
|
68858
|
-
id: stringType()
|
|
68859
|
-
mode: GetSubscriptionMode$outboundSchema
|
|
68860
|
-
status: GetSubscriptionStatus$outboundSchema
|
|
68861
|
-
amount: lazyType(() => GetSubscriptionAmount$outboundSchema)
|
|
68862
|
-
times: nullableType(numberType().int())
|
|
68863
|
-
timesRemaining: numberType().int()
|
|
68864
|
-
interval: GetSubscriptionInterval$outboundSchema
|
|
68865
|
-
startDate: stringType()
|
|
68858
|
+
id: stringType(),
|
|
68859
|
+
mode: GetSubscriptionMode$outboundSchema,
|
|
68860
|
+
status: GetSubscriptionStatus$outboundSchema,
|
|
68861
|
+
amount: lazyType(() => GetSubscriptionAmount$outboundSchema),
|
|
68862
|
+
times: nullableType(numberType().int()),
|
|
68863
|
+
timesRemaining: numberType().int(),
|
|
68864
|
+
interval: GetSubscriptionInterval$outboundSchema,
|
|
68865
|
+
startDate: stringType(),
|
|
68866
68866
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
68867
|
-
description: stringType()
|
|
68868
|
-
method: nullableType(GetSubscriptionMethod$outboundSchema)
|
|
68867
|
+
description: stringType(),
|
|
68868
|
+
method: nullableType(GetSubscriptionMethod$outboundSchema),
|
|
68869
68869
|
applicationFee: lazyType(() => GetSubscriptionApplicationFee$outboundSchema).optional(),
|
|
68870
68870
|
metadata: nullableType(unionType([
|
|
68871
68871
|
lazyType(() => GetSubscriptionMetadata$outboundSchema),
|
|
68872
68872
|
stringType(),
|
|
68873
68873
|
arrayType(stringType())
|
|
68874
|
-
]))
|
|
68875
|
-
webhookUrl: stringType()
|
|
68876
|
-
customerId: stringType()
|
|
68874
|
+
])),
|
|
68875
|
+
webhookUrl: stringType(),
|
|
68876
|
+
customerId: stringType(),
|
|
68877
68877
|
mandateId: nullableType(stringType()).optional(),
|
|
68878
|
-
createdAt: stringType()
|
|
68878
|
+
createdAt: stringType(),
|
|
68879
68879
|
canceledAt: nullableType(stringType()).optional(),
|
|
68880
68880
|
links: lazyType(() => GetSubscriptionLinks$outboundSchema).optional()
|
|
68881
68881
|
}).transform((v2) => {
|
|
@@ -70821,23 +70821,23 @@ var init_listallrefunds = __esm(() => {
|
|
|
70821
70821
|
ListAllRefundsRefundDocumentation$.outboundSchema = ListAllRefundsRefundDocumentation$outboundSchema;
|
|
70822
70822
|
})(ListAllRefundsRefundDocumentation$ ||= {});
|
|
70823
70823
|
ListAllRefundsRefundLinks$inboundSchema = objectType({
|
|
70824
|
-
self: lazyType(() => ListAllRefundsRefundSelf$inboundSchema)
|
|
70825
|
-
payment: lazyType(() => ListAllRefundsPayment$inboundSchema)
|
|
70824
|
+
self: lazyType(() => ListAllRefundsRefundSelf$inboundSchema),
|
|
70825
|
+
payment: lazyType(() => ListAllRefundsPayment$inboundSchema),
|
|
70826
70826
|
settlement: nullableType(lazyType(() => ListAllRefundsSettlement$inboundSchema)).optional(),
|
|
70827
|
-
documentation: lazyType(() => ListAllRefundsRefundDocumentation$inboundSchema)
|
|
70827
|
+
documentation: lazyType(() => ListAllRefundsRefundDocumentation$inboundSchema)
|
|
70828
70828
|
});
|
|
70829
70829
|
ListAllRefundsRefundLinks$outboundSchema = objectType({
|
|
70830
|
-
self: lazyType(() => ListAllRefundsRefundSelf$outboundSchema)
|
|
70831
|
-
payment: lazyType(() => ListAllRefundsPayment$outboundSchema)
|
|
70830
|
+
self: lazyType(() => ListAllRefundsRefundSelf$outboundSchema),
|
|
70831
|
+
payment: lazyType(() => ListAllRefundsPayment$outboundSchema),
|
|
70832
70832
|
settlement: nullableType(lazyType(() => ListAllRefundsSettlement$outboundSchema)).optional(),
|
|
70833
|
-
documentation: lazyType(() => ListAllRefundsRefundDocumentation$outboundSchema)
|
|
70833
|
+
documentation: lazyType(() => ListAllRefundsRefundDocumentation$outboundSchema)
|
|
70834
70834
|
});
|
|
70835
70835
|
((ListAllRefundsRefundLinks$) => {
|
|
70836
70836
|
ListAllRefundsRefundLinks$.inboundSchema = ListAllRefundsRefundLinks$inboundSchema;
|
|
70837
70837
|
ListAllRefundsRefundLinks$.outboundSchema = ListAllRefundsRefundLinks$outboundSchema;
|
|
70838
70838
|
})(ListAllRefundsRefundLinks$ ||= {});
|
|
70839
70839
|
ListAllRefundsRefund$inboundSchema = objectType({
|
|
70840
|
-
resource: stringType().
|
|
70840
|
+
resource: stringType().optional(),
|
|
70841
70841
|
id: stringType().optional(),
|
|
70842
70842
|
mode: ListAllRefundsMode$inboundSchema.optional(),
|
|
70843
70843
|
description: stringType().optional(),
|
|
@@ -70861,7 +70861,7 @@ var init_listallrefunds = __esm(() => {
|
|
|
70861
70861
|
});
|
|
70862
70862
|
});
|
|
70863
70863
|
ListAllRefundsRefund$outboundSchema = objectType({
|
|
70864
|
-
resource: stringType().
|
|
70864
|
+
resource: stringType().optional(),
|
|
70865
70865
|
id: stringType().optional(),
|
|
70866
70866
|
mode: ListAllRefundsMode$outboundSchema.optional(),
|
|
70867
70867
|
description: stringType().optional(),
|
|
@@ -70989,150 +70989,69 @@ var init_listallrefunds = __esm(() => {
|
|
|
70989
70989
|
});
|
|
70990
70990
|
|
|
70991
70991
|
// src/models/operations/listallsubscriptions.ts
|
|
70992
|
-
var
|
|
70992
|
+
var ListAllSubscriptionsMode, ListAllSubscriptionsStatus, ListAllSubscriptionsInterval, ListAllSubscriptionsMethod, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsNotFoundDocumentation$inboundSchema, ListAllSubscriptionsNotFoundDocumentation$outboundSchema, ListAllSubscriptionsNotFoundDocumentation$, ListAllSubscriptionsNotFoundLinks$inboundSchema, ListAllSubscriptionsNotFoundLinks$outboundSchema, ListAllSubscriptionsNotFoundLinks$, ListAllSubscriptionsBadRequestDocumentation$inboundSchema, ListAllSubscriptionsBadRequestDocumentation$outboundSchema, ListAllSubscriptionsBadRequestDocumentation$, ListAllSubscriptionsBadRequestLinks$inboundSchema, ListAllSubscriptionsBadRequestLinks$outboundSchema, ListAllSubscriptionsBadRequestLinks$, ListAllSubscriptionsMode$inboundSchema, ListAllSubscriptionsMode$outboundSchema, ListAllSubscriptionsMode$, ListAllSubscriptionsStatus$inboundSchema, ListAllSubscriptionsStatus$outboundSchema, ListAllSubscriptionsStatus$, ListAllSubscriptionsAmount$inboundSchema, ListAllSubscriptionsAmount$outboundSchema, ListAllSubscriptionsAmount$, ListAllSubscriptionsInterval$inboundSchema, ListAllSubscriptionsInterval$outboundSchema, ListAllSubscriptionsInterval$, ListAllSubscriptionsMethod$inboundSchema, ListAllSubscriptionsMethod$outboundSchema, ListAllSubscriptionsMethod$, ListAllSubscriptionsApplicationFeeAmount$inboundSchema, ListAllSubscriptionsApplicationFeeAmount$outboundSchema, ListAllSubscriptionsApplicationFeeAmount$, ListAllSubscriptionsApplicationFee$inboundSchema, ListAllSubscriptionsApplicationFee$outboundSchema, ListAllSubscriptionsApplicationFee$, ListAllSubscriptionsMetadata$inboundSchema, ListAllSubscriptionsMetadata$outboundSchema, ListAllSubscriptionsMetadata$, ListAllSubscriptionsMetadataUnion$inboundSchema, ListAllSubscriptionsMetadataUnion$outboundSchema, ListAllSubscriptionsMetadataUnion$, ListAllSubscriptionsSubscriptionSelf$inboundSchema, ListAllSubscriptionsSubscriptionSelf$outboundSchema, ListAllSubscriptionsSubscriptionSelf$, ListAllSubscriptionsCustomer$inboundSchema, ListAllSubscriptionsCustomer$outboundSchema, ListAllSubscriptionsCustomer$, ListAllSubscriptionsMandate$inboundSchema, ListAllSubscriptionsMandate$outboundSchema, ListAllSubscriptionsMandate$, ListAllSubscriptionsProfile$inboundSchema, ListAllSubscriptionsProfile$outboundSchema, ListAllSubscriptionsProfile$, ListAllSubscriptionsPayments$inboundSchema, ListAllSubscriptionsPayments$outboundSchema, ListAllSubscriptionsPayments$, ListAllSubscriptionsSubscriptionDocumentation$inboundSchema, ListAllSubscriptionsSubscriptionDocumentation$outboundSchema, ListAllSubscriptionsSubscriptionDocumentation$, ListAllSubscriptionsSubscriptionLinks$inboundSchema, ListAllSubscriptionsSubscriptionLinks$outboundSchema, ListAllSubscriptionsSubscriptionLinks$, ListAllSubscriptionsSubscription$inboundSchema, ListAllSubscriptionsSubscription$outboundSchema, ListAllSubscriptionsSubscription$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsSelf$inboundSchema, ListAllSubscriptionsSelf$outboundSchema, ListAllSubscriptionsSelf$, ListAllSubscriptionsPrevious$inboundSchema, ListAllSubscriptionsPrevious$outboundSchema, ListAllSubscriptionsPrevious$, ListAllSubscriptionsNext$inboundSchema, ListAllSubscriptionsNext$outboundSchema, ListAllSubscriptionsNext$, ListAllSubscriptionsDocumentation$inboundSchema, ListAllSubscriptionsDocumentation$outboundSchema, ListAllSubscriptionsDocumentation$, ListAllSubscriptionsLinks$inboundSchema, ListAllSubscriptionsLinks$outboundSchema, ListAllSubscriptionsLinks$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
|
|
70993
70993
|
var init_listallsubscriptions = __esm(() => {
|
|
70994
70994
|
init_esm();
|
|
70995
70995
|
init_primitives();
|
|
70996
|
-
ListAllSubscriptionsSort = {
|
|
70997
|
-
Asc: "asc",
|
|
70998
|
-
Desc: "desc"
|
|
70999
|
-
};
|
|
71000
70996
|
ListAllSubscriptionsMode = {
|
|
71001
70997
|
Live: "live",
|
|
71002
70998
|
Test: "test"
|
|
71003
70999
|
};
|
|
71004
|
-
|
|
71005
|
-
|
|
71006
|
-
|
|
71007
|
-
|
|
71008
|
-
|
|
71009
|
-
|
|
71010
|
-
GiftCard: "gift_card",
|
|
71011
|
-
Surcharge: "surcharge",
|
|
71012
|
-
Tip: "tip"
|
|
71013
|
-
};
|
|
71014
|
-
ListAllSubscriptionsCategory = {
|
|
71015
|
-
Meal: "meal",
|
|
71016
|
-
Eco: "eco",
|
|
71017
|
-
Gift: "gift",
|
|
71018
|
-
SportCulture: "sport_culture"
|
|
71000
|
+
ListAllSubscriptionsStatus = {
|
|
71001
|
+
Pending: "pending",
|
|
71002
|
+
Active: "active",
|
|
71003
|
+
Canceled: "canceled",
|
|
71004
|
+
Suspended: "suspended",
|
|
71005
|
+
Completed: "completed"
|
|
71019
71006
|
};
|
|
71020
71007
|
ListAllSubscriptionsInterval = {
|
|
71021
|
-
|
|
71008
|
+
DotDotDotDays: "... days",
|
|
71022
71009
|
DotDotDotWeeks: "... weeks",
|
|
71023
|
-
|
|
71024
|
-
};
|
|
71025
|
-
ListAllSubscriptionsLocale = {
|
|
71026
|
-
EnUS: "en_US",
|
|
71027
|
-
EnGB: "en_GB",
|
|
71028
|
-
NLNL: "nl_NL",
|
|
71029
|
-
NlBE: "nl_BE",
|
|
71030
|
-
DEDE: "de_DE",
|
|
71031
|
-
DeAT: "de_AT",
|
|
71032
|
-
DeCH: "de_CH",
|
|
71033
|
-
FRFR: "fr_FR",
|
|
71034
|
-
FrBE: "fr_BE",
|
|
71035
|
-
ESES: "es_ES",
|
|
71036
|
-
CaES: "ca_ES",
|
|
71037
|
-
PTPT: "pt_PT",
|
|
71038
|
-
ITIT: "it_IT",
|
|
71039
|
-
NbNO: "nb_NO",
|
|
71040
|
-
SvSE: "sv_SE",
|
|
71041
|
-
FIFI: "fi_FI",
|
|
71042
|
-
DaDK: "da_DK",
|
|
71043
|
-
ISIS: "is_IS",
|
|
71044
|
-
HUHU: "hu_HU",
|
|
71045
|
-
PLPL: "pl_PL",
|
|
71046
|
-
LVLV: "lv_LV",
|
|
71047
|
-
LTLT: "lt_LT"
|
|
71010
|
+
DotDotDotMonths: "... months"
|
|
71048
71011
|
};
|
|
71049
71012
|
ListAllSubscriptionsMethod = {
|
|
71050
|
-
Alma: "alma",
|
|
71051
|
-
Applepay: "applepay",
|
|
71052
|
-
Bacs: "bacs",
|
|
71053
|
-
Bancomatpay: "bancomatpay",
|
|
71054
|
-
Bancontact: "bancontact",
|
|
71055
|
-
Banktransfer: "banktransfer",
|
|
71056
|
-
Belfius: "belfius",
|
|
71057
|
-
Billie: "billie",
|
|
71058
|
-
Bizum: "bizum",
|
|
71059
|
-
Blik: "blik",
|
|
71060
71013
|
Creditcard: "creditcard",
|
|
71061
71014
|
Directdebit: "directdebit",
|
|
71062
|
-
|
|
71063
|
-
Giftcard: "giftcard",
|
|
71064
|
-
Ideal: "ideal",
|
|
71065
|
-
In3: "in3",
|
|
71066
|
-
Kbc: "kbc",
|
|
71067
|
-
Klarna: "klarna",
|
|
71068
|
-
Klarnapaylater: "klarnapaylater",
|
|
71069
|
-
Klarnapaynow: "klarnapaynow",
|
|
71070
|
-
Klarnasliceit: "klarnasliceit",
|
|
71071
|
-
Mbway: "mbway",
|
|
71072
|
-
Multibanco: "multibanco",
|
|
71073
|
-
Mybank: "mybank",
|
|
71074
|
-
Paybybank: "paybybank",
|
|
71075
|
-
Payconiq: "payconiq",
|
|
71076
|
-
Paypal: "paypal",
|
|
71077
|
-
Paysafecard: "paysafecard",
|
|
71078
|
-
Pointofsale: "pointofsale",
|
|
71079
|
-
Przelewy24: "przelewy24",
|
|
71080
|
-
Riverty: "riverty",
|
|
71081
|
-
Satispay: "satispay",
|
|
71082
|
-
Swish: "swish",
|
|
71083
|
-
Trustly: "trustly",
|
|
71084
|
-
Twint: "twint",
|
|
71085
|
-
Voucher: "voucher"
|
|
71086
|
-
};
|
|
71087
|
-
ListAllSubscriptionsCaptureMode = {
|
|
71088
|
-
Automatic: "automatic",
|
|
71089
|
-
Manual: "manual"
|
|
71090
|
-
};
|
|
71091
|
-
ListAllSubscriptionsRoutingMode = {
|
|
71092
|
-
Live: "live",
|
|
71093
|
-
Test: "test"
|
|
71094
|
-
};
|
|
71095
|
-
ListAllSubscriptionsRoutingType = {
|
|
71096
|
-
Organization: "organization"
|
|
71097
|
-
};
|
|
71098
|
-
ListAllSubscriptionsSequenceType = {
|
|
71099
|
-
Oneoff: "oneoff",
|
|
71100
|
-
First: "first",
|
|
71101
|
-
Recurring: "recurring"
|
|
71102
|
-
};
|
|
71103
|
-
ListAllSubscriptionsStatus = {
|
|
71104
|
-
Open: "open",
|
|
71105
|
-
Pending: "pending",
|
|
71106
|
-
Authorized: "authorized",
|
|
71107
|
-
Paid: "paid",
|
|
71108
|
-
Canceled: "canceled",
|
|
71109
|
-
Expired: "expired",
|
|
71110
|
-
Failed: "failed"
|
|
71015
|
+
Paypal: "paypal"
|
|
71111
71016
|
};
|
|
71112
|
-
ListAllSubscriptionsSort$inboundSchema = nativeEnumType(ListAllSubscriptionsSort);
|
|
71113
|
-
ListAllSubscriptionsSort$outboundSchema = ListAllSubscriptionsSort$inboundSchema;
|
|
71114
|
-
((ListAllSubscriptionsSort$) => {
|
|
71115
|
-
ListAllSubscriptionsSort$.inboundSchema = ListAllSubscriptionsSort$inboundSchema;
|
|
71116
|
-
ListAllSubscriptionsSort$.outboundSchema = ListAllSubscriptionsSort$outboundSchema;
|
|
71117
|
-
})(ListAllSubscriptionsSort$ ||= {});
|
|
71118
71017
|
ListAllSubscriptionsRequest$inboundSchema = objectType({
|
|
71119
71018
|
from: stringType().optional(),
|
|
71120
71019
|
limit: nullableType(numberType().int().default(50)),
|
|
71121
|
-
|
|
71122
|
-
profileId: stringType().optional(),
|
|
71020
|
+
profileId: nullableType(stringType()).optional(),
|
|
71123
71021
|
testmode: nullableType(booleanType()).optional()
|
|
71124
71022
|
});
|
|
71125
71023
|
ListAllSubscriptionsRequest$outboundSchema = objectType({
|
|
71126
71024
|
from: stringType().optional(),
|
|
71127
71025
|
limit: nullableType(numberType().int().default(50)),
|
|
71128
|
-
|
|
71129
|
-
profileId: stringType().optional(),
|
|
71026
|
+
profileId: nullableType(stringType()).optional(),
|
|
71130
71027
|
testmode: nullableType(booleanType()).optional()
|
|
71131
71028
|
});
|
|
71132
71029
|
((ListAllSubscriptionsRequest$) => {
|
|
71133
71030
|
ListAllSubscriptionsRequest$.inboundSchema = ListAllSubscriptionsRequest$inboundSchema;
|
|
71134
71031
|
ListAllSubscriptionsRequest$.outboundSchema = ListAllSubscriptionsRequest$outboundSchema;
|
|
71135
71032
|
})(ListAllSubscriptionsRequest$ ||= {});
|
|
71033
|
+
ListAllSubscriptionsNotFoundDocumentation$inboundSchema = objectType({
|
|
71034
|
+
href: stringType(),
|
|
71035
|
+
type: stringType()
|
|
71036
|
+
});
|
|
71037
|
+
ListAllSubscriptionsNotFoundDocumentation$outboundSchema = objectType({
|
|
71038
|
+
href: stringType(),
|
|
71039
|
+
type: stringType()
|
|
71040
|
+
});
|
|
71041
|
+
((ListAllSubscriptionsNotFoundDocumentation$) => {
|
|
71042
|
+
ListAllSubscriptionsNotFoundDocumentation$.inboundSchema = ListAllSubscriptionsNotFoundDocumentation$inboundSchema;
|
|
71043
|
+
ListAllSubscriptionsNotFoundDocumentation$.outboundSchema = ListAllSubscriptionsNotFoundDocumentation$outboundSchema;
|
|
71044
|
+
})(ListAllSubscriptionsNotFoundDocumentation$ ||= {});
|
|
71045
|
+
ListAllSubscriptionsNotFoundLinks$inboundSchema = objectType({
|
|
71046
|
+
documentation: lazyType(() => ListAllSubscriptionsNotFoundDocumentation$inboundSchema)
|
|
71047
|
+
});
|
|
71048
|
+
ListAllSubscriptionsNotFoundLinks$outboundSchema = objectType({
|
|
71049
|
+
documentation: lazyType(() => ListAllSubscriptionsNotFoundDocumentation$outboundSchema)
|
|
71050
|
+
});
|
|
71051
|
+
((ListAllSubscriptionsNotFoundLinks$) => {
|
|
71052
|
+
ListAllSubscriptionsNotFoundLinks$.inboundSchema = ListAllSubscriptionsNotFoundLinks$inboundSchema;
|
|
71053
|
+
ListAllSubscriptionsNotFoundLinks$.outboundSchema = ListAllSubscriptionsNotFoundLinks$outboundSchema;
|
|
71054
|
+
})(ListAllSubscriptionsNotFoundLinks$ ||= {});
|
|
71136
71055
|
ListAllSubscriptionsBadRequestDocumentation$inboundSchema = objectType({
|
|
71137
71056
|
href: stringType(),
|
|
71138
71057
|
type: stringType()
|
|
@@ -71161,6 +71080,12 @@ var init_listallsubscriptions = __esm(() => {
|
|
|
71161
71080
|
ListAllSubscriptionsMode$.inboundSchema = ListAllSubscriptionsMode$inboundSchema;
|
|
71162
71081
|
ListAllSubscriptionsMode$.outboundSchema = ListAllSubscriptionsMode$outboundSchema;
|
|
71163
71082
|
})(ListAllSubscriptionsMode$ ||= {});
|
|
71083
|
+
ListAllSubscriptionsStatus$inboundSchema = nativeEnumType(ListAllSubscriptionsStatus);
|
|
71084
|
+
ListAllSubscriptionsStatus$outboundSchema = ListAllSubscriptionsStatus$inboundSchema;
|
|
71085
|
+
((ListAllSubscriptionsStatus$) => {
|
|
71086
|
+
ListAllSubscriptionsStatus$.inboundSchema = ListAllSubscriptionsStatus$inboundSchema;
|
|
71087
|
+
ListAllSubscriptionsStatus$.outboundSchema = ListAllSubscriptionsStatus$outboundSchema;
|
|
71088
|
+
})(ListAllSubscriptionsStatus$ ||= {});
|
|
71164
71089
|
ListAllSubscriptionsAmount$inboundSchema = objectType({
|
|
71165
71090
|
currency: stringType(),
|
|
71166
71091
|
value: stringType()
|
|
@@ -71173,274 +71098,42 @@ var init_listallsubscriptions = __esm(() => {
|
|
|
71173
71098
|
ListAllSubscriptionsAmount$.inboundSchema = ListAllSubscriptionsAmount$inboundSchema;
|
|
71174
71099
|
ListAllSubscriptionsAmount$.outboundSchema = ListAllSubscriptionsAmount$outboundSchema;
|
|
71175
71100
|
})(ListAllSubscriptionsAmount$ ||= {});
|
|
71176
|
-
ListAllSubscriptionsAmountRefunded$inboundSchema = objectType({
|
|
71177
|
-
currency: stringType(),
|
|
71178
|
-
value: stringType()
|
|
71179
|
-
});
|
|
71180
|
-
ListAllSubscriptionsAmountRefunded$outboundSchema = objectType({
|
|
71181
|
-
currency: stringType(),
|
|
71182
|
-
value: stringType()
|
|
71183
|
-
});
|
|
71184
|
-
((ListAllSubscriptionsAmountRefunded$) => {
|
|
71185
|
-
ListAllSubscriptionsAmountRefunded$.inboundSchema = ListAllSubscriptionsAmountRefunded$inboundSchema;
|
|
71186
|
-
ListAllSubscriptionsAmountRefunded$.outboundSchema = ListAllSubscriptionsAmountRefunded$outboundSchema;
|
|
71187
|
-
})(ListAllSubscriptionsAmountRefunded$ ||= {});
|
|
71188
|
-
ListAllSubscriptionsAmountRemaining$inboundSchema = objectType({
|
|
71189
|
-
currency: stringType(),
|
|
71190
|
-
value: stringType()
|
|
71191
|
-
});
|
|
71192
|
-
ListAllSubscriptionsAmountRemaining$outboundSchema = objectType({
|
|
71193
|
-
currency: stringType(),
|
|
71194
|
-
value: stringType()
|
|
71195
|
-
});
|
|
71196
|
-
((ListAllSubscriptionsAmountRemaining$) => {
|
|
71197
|
-
ListAllSubscriptionsAmountRemaining$.inboundSchema = ListAllSubscriptionsAmountRemaining$inboundSchema;
|
|
71198
|
-
ListAllSubscriptionsAmountRemaining$.outboundSchema = ListAllSubscriptionsAmountRemaining$outboundSchema;
|
|
71199
|
-
})(ListAllSubscriptionsAmountRemaining$ ||= {});
|
|
71200
|
-
ListAllSubscriptionsAmountCaptured$inboundSchema = objectType({
|
|
71201
|
-
currency: stringType(),
|
|
71202
|
-
value: stringType()
|
|
71203
|
-
});
|
|
71204
|
-
ListAllSubscriptionsAmountCaptured$outboundSchema = objectType({
|
|
71205
|
-
currency: stringType(),
|
|
71206
|
-
value: stringType()
|
|
71207
|
-
});
|
|
71208
|
-
((ListAllSubscriptionsAmountCaptured$) => {
|
|
71209
|
-
ListAllSubscriptionsAmountCaptured$.inboundSchema = ListAllSubscriptionsAmountCaptured$inboundSchema;
|
|
71210
|
-
ListAllSubscriptionsAmountCaptured$.outboundSchema = ListAllSubscriptionsAmountCaptured$outboundSchema;
|
|
71211
|
-
})(ListAllSubscriptionsAmountCaptured$ ||= {});
|
|
71212
|
-
ListAllSubscriptionsAmountChargedBack$inboundSchema = objectType({
|
|
71213
|
-
currency: stringType(),
|
|
71214
|
-
value: stringType()
|
|
71215
|
-
});
|
|
71216
|
-
ListAllSubscriptionsAmountChargedBack$outboundSchema = objectType({
|
|
71217
|
-
currency: stringType(),
|
|
71218
|
-
value: stringType()
|
|
71219
|
-
});
|
|
71220
|
-
((ListAllSubscriptionsAmountChargedBack$) => {
|
|
71221
|
-
ListAllSubscriptionsAmountChargedBack$.inboundSchema = ListAllSubscriptionsAmountChargedBack$inboundSchema;
|
|
71222
|
-
ListAllSubscriptionsAmountChargedBack$.outboundSchema = ListAllSubscriptionsAmountChargedBack$outboundSchema;
|
|
71223
|
-
})(ListAllSubscriptionsAmountChargedBack$ ||= {});
|
|
71224
|
-
ListAllSubscriptionsSettlementAmount$inboundSchema = objectType({
|
|
71225
|
-
currency: stringType(),
|
|
71226
|
-
value: stringType()
|
|
71227
|
-
});
|
|
71228
|
-
ListAllSubscriptionsSettlementAmount$outboundSchema = objectType({
|
|
71229
|
-
currency: stringType(),
|
|
71230
|
-
value: stringType()
|
|
71231
|
-
});
|
|
71232
|
-
((ListAllSubscriptionsSettlementAmount$) => {
|
|
71233
|
-
ListAllSubscriptionsSettlementAmount$.inboundSchema = ListAllSubscriptionsSettlementAmount$inboundSchema;
|
|
71234
|
-
ListAllSubscriptionsSettlementAmount$.outboundSchema = ListAllSubscriptionsSettlementAmount$outboundSchema;
|
|
71235
|
-
})(ListAllSubscriptionsSettlementAmount$ ||= {});
|
|
71236
|
-
ListAllSubscriptionsLineType$inboundSchema = nativeEnumType(ListAllSubscriptionsLineType);
|
|
71237
|
-
ListAllSubscriptionsLineType$outboundSchema = ListAllSubscriptionsLineType$inboundSchema;
|
|
71238
|
-
((ListAllSubscriptionsLineType$) => {
|
|
71239
|
-
ListAllSubscriptionsLineType$.inboundSchema = ListAllSubscriptionsLineType$inboundSchema;
|
|
71240
|
-
ListAllSubscriptionsLineType$.outboundSchema = ListAllSubscriptionsLineType$outboundSchema;
|
|
71241
|
-
})(ListAllSubscriptionsLineType$ ||= {});
|
|
71242
|
-
ListAllSubscriptionsUnitPrice$inboundSchema = objectType({
|
|
71243
|
-
currency: stringType(),
|
|
71244
|
-
value: stringType()
|
|
71245
|
-
});
|
|
71246
|
-
ListAllSubscriptionsUnitPrice$outboundSchema = objectType({
|
|
71247
|
-
currency: stringType(),
|
|
71248
|
-
value: stringType()
|
|
71249
|
-
});
|
|
71250
|
-
((ListAllSubscriptionsUnitPrice$) => {
|
|
71251
|
-
ListAllSubscriptionsUnitPrice$.inboundSchema = ListAllSubscriptionsUnitPrice$inboundSchema;
|
|
71252
|
-
ListAllSubscriptionsUnitPrice$.outboundSchema = ListAllSubscriptionsUnitPrice$outboundSchema;
|
|
71253
|
-
})(ListAllSubscriptionsUnitPrice$ ||= {});
|
|
71254
|
-
ListAllSubscriptionsDiscountAmount$inboundSchema = objectType({
|
|
71255
|
-
currency: stringType(),
|
|
71256
|
-
value: stringType()
|
|
71257
|
-
});
|
|
71258
|
-
ListAllSubscriptionsDiscountAmount$outboundSchema = objectType({
|
|
71259
|
-
currency: stringType(),
|
|
71260
|
-
value: stringType()
|
|
71261
|
-
});
|
|
71262
|
-
((ListAllSubscriptionsDiscountAmount$) => {
|
|
71263
|
-
ListAllSubscriptionsDiscountAmount$.inboundSchema = ListAllSubscriptionsDiscountAmount$inboundSchema;
|
|
71264
|
-
ListAllSubscriptionsDiscountAmount$.outboundSchema = ListAllSubscriptionsDiscountAmount$outboundSchema;
|
|
71265
|
-
})(ListAllSubscriptionsDiscountAmount$ ||= {});
|
|
71266
|
-
ListAllSubscriptionsTotalAmount$inboundSchema = objectType({
|
|
71267
|
-
currency: stringType(),
|
|
71268
|
-
value: stringType()
|
|
71269
|
-
});
|
|
71270
|
-
ListAllSubscriptionsTotalAmount$outboundSchema = objectType({
|
|
71271
|
-
currency: stringType(),
|
|
71272
|
-
value: stringType()
|
|
71273
|
-
});
|
|
71274
|
-
((ListAllSubscriptionsTotalAmount$) => {
|
|
71275
|
-
ListAllSubscriptionsTotalAmount$.inboundSchema = ListAllSubscriptionsTotalAmount$inboundSchema;
|
|
71276
|
-
ListAllSubscriptionsTotalAmount$.outboundSchema = ListAllSubscriptionsTotalAmount$outboundSchema;
|
|
71277
|
-
})(ListAllSubscriptionsTotalAmount$ ||= {});
|
|
71278
|
-
ListAllSubscriptionsVatAmount$inboundSchema = objectType({
|
|
71279
|
-
currency: stringType(),
|
|
71280
|
-
value: stringType()
|
|
71281
|
-
});
|
|
71282
|
-
ListAllSubscriptionsVatAmount$outboundSchema = objectType({
|
|
71283
|
-
currency: stringType(),
|
|
71284
|
-
value: stringType()
|
|
71285
|
-
});
|
|
71286
|
-
((ListAllSubscriptionsVatAmount$) => {
|
|
71287
|
-
ListAllSubscriptionsVatAmount$.inboundSchema = ListAllSubscriptionsVatAmount$inboundSchema;
|
|
71288
|
-
ListAllSubscriptionsVatAmount$.outboundSchema = ListAllSubscriptionsVatAmount$outboundSchema;
|
|
71289
|
-
})(ListAllSubscriptionsVatAmount$ ||= {});
|
|
71290
|
-
ListAllSubscriptionsCategory$inboundSchema = nativeEnumType(ListAllSubscriptionsCategory);
|
|
71291
|
-
ListAllSubscriptionsCategory$outboundSchema = ListAllSubscriptionsCategory$inboundSchema;
|
|
71292
|
-
((ListAllSubscriptionsCategory$) => {
|
|
71293
|
-
ListAllSubscriptionsCategory$.inboundSchema = ListAllSubscriptionsCategory$inboundSchema;
|
|
71294
|
-
ListAllSubscriptionsCategory$.outboundSchema = ListAllSubscriptionsCategory$outboundSchema;
|
|
71295
|
-
})(ListAllSubscriptionsCategory$ ||= {});
|
|
71296
71101
|
ListAllSubscriptionsInterval$inboundSchema = nativeEnumType(ListAllSubscriptionsInterval);
|
|
71297
71102
|
ListAllSubscriptionsInterval$outboundSchema = ListAllSubscriptionsInterval$inboundSchema;
|
|
71298
71103
|
((ListAllSubscriptionsInterval$) => {
|
|
71299
71104
|
ListAllSubscriptionsInterval$.inboundSchema = ListAllSubscriptionsInterval$inboundSchema;
|
|
71300
71105
|
ListAllSubscriptionsInterval$.outboundSchema = ListAllSubscriptionsInterval$outboundSchema;
|
|
71301
71106
|
})(ListAllSubscriptionsInterval$ ||= {});
|
|
71302
|
-
|
|
71107
|
+
ListAllSubscriptionsMethod$inboundSchema = nativeEnumType(ListAllSubscriptionsMethod);
|
|
71108
|
+
ListAllSubscriptionsMethod$outboundSchema = ListAllSubscriptionsMethod$inboundSchema;
|
|
71109
|
+
((ListAllSubscriptionsMethod$) => {
|
|
71110
|
+
ListAllSubscriptionsMethod$.inboundSchema = ListAllSubscriptionsMethod$inboundSchema;
|
|
71111
|
+
ListAllSubscriptionsMethod$.outboundSchema = ListAllSubscriptionsMethod$outboundSchema;
|
|
71112
|
+
})(ListAllSubscriptionsMethod$ ||= {});
|
|
71113
|
+
ListAllSubscriptionsApplicationFeeAmount$inboundSchema = objectType({
|
|
71303
71114
|
currency: stringType(),
|
|
71304
71115
|
value: stringType()
|
|
71305
71116
|
});
|
|
71306
|
-
|
|
71117
|
+
ListAllSubscriptionsApplicationFeeAmount$outboundSchema = objectType({
|
|
71307
71118
|
currency: stringType(),
|
|
71308
71119
|
value: stringType()
|
|
71309
71120
|
});
|
|
71310
|
-
((
|
|
71311
|
-
|
|
71312
|
-
|
|
71313
|
-
})(
|
|
71314
|
-
|
|
71315
|
-
|
|
71316
|
-
|
|
71317
|
-
amount: lazyType(() => ListAllSubscriptionsRecurringAmount$inboundSchema).optional(),
|
|
71318
|
-
times: numberType().int().optional(),
|
|
71319
|
-
startDate: nullableType(stringType()).optional()
|
|
71320
|
-
});
|
|
71321
|
-
ListAllSubscriptionsRecurring$outboundSchema = objectType({
|
|
71322
|
-
description: stringType().optional(),
|
|
71323
|
-
interval: ListAllSubscriptionsInterval$outboundSchema,
|
|
71324
|
-
amount: lazyType(() => ListAllSubscriptionsRecurringAmount$outboundSchema).optional(),
|
|
71325
|
-
times: numberType().int().optional(),
|
|
71326
|
-
startDate: nullableType(stringType()).optional()
|
|
71327
|
-
});
|
|
71328
|
-
((ListAllSubscriptionsRecurring$) => {
|
|
71329
|
-
ListAllSubscriptionsRecurring$.inboundSchema = ListAllSubscriptionsRecurring$inboundSchema;
|
|
71330
|
-
ListAllSubscriptionsRecurring$.outboundSchema = ListAllSubscriptionsRecurring$outboundSchema;
|
|
71331
|
-
})(ListAllSubscriptionsRecurring$ ||= {});
|
|
71332
|
-
ListAllSubscriptionsLine$inboundSchema = objectType({
|
|
71333
|
-
type: ListAllSubscriptionsLineType$inboundSchema.default("physical"),
|
|
71334
|
-
description: stringType(),
|
|
71335
|
-
quantity: numberType().int(),
|
|
71336
|
-
quantityUnit: stringType().optional(),
|
|
71337
|
-
unitPrice: lazyType(() => ListAllSubscriptionsUnitPrice$inboundSchema),
|
|
71338
|
-
discountAmount: lazyType(() => ListAllSubscriptionsDiscountAmount$inboundSchema).optional(),
|
|
71339
|
-
totalAmount: lazyType(() => ListAllSubscriptionsTotalAmount$inboundSchema),
|
|
71340
|
-
vatRate: stringType().optional(),
|
|
71341
|
-
vatAmount: lazyType(() => ListAllSubscriptionsVatAmount$inboundSchema).optional(),
|
|
71342
|
-
sku: stringType().optional(),
|
|
71343
|
-
categories: arrayType(ListAllSubscriptionsCategory$inboundSchema).optional(),
|
|
71344
|
-
imageUrl: stringType().optional(),
|
|
71345
|
-
productUrl: stringType().optional(),
|
|
71346
|
-
recurring: lazyType(() => ListAllSubscriptionsRecurring$inboundSchema).optional()
|
|
71347
|
-
});
|
|
71348
|
-
ListAllSubscriptionsLine$outboundSchema = objectType({
|
|
71349
|
-
type: ListAllSubscriptionsLineType$outboundSchema.default("physical"),
|
|
71350
|
-
description: stringType(),
|
|
71351
|
-
quantity: numberType().int(),
|
|
71352
|
-
quantityUnit: stringType().optional(),
|
|
71353
|
-
unitPrice: lazyType(() => ListAllSubscriptionsUnitPrice$outboundSchema),
|
|
71354
|
-
discountAmount: lazyType(() => ListAllSubscriptionsDiscountAmount$outboundSchema).optional(),
|
|
71355
|
-
totalAmount: lazyType(() => ListAllSubscriptionsTotalAmount$outboundSchema),
|
|
71356
|
-
vatRate: stringType().optional(),
|
|
71357
|
-
vatAmount: lazyType(() => ListAllSubscriptionsVatAmount$outboundSchema).optional(),
|
|
71358
|
-
sku: stringType().optional(),
|
|
71359
|
-
categories: arrayType(ListAllSubscriptionsCategory$outboundSchema).optional(),
|
|
71360
|
-
imageUrl: stringType().optional(),
|
|
71361
|
-
productUrl: stringType().optional(),
|
|
71362
|
-
recurring: lazyType(() => ListAllSubscriptionsRecurring$outboundSchema).optional()
|
|
71363
|
-
});
|
|
71364
|
-
((ListAllSubscriptionsLine$) => {
|
|
71365
|
-
ListAllSubscriptionsLine$.inboundSchema = ListAllSubscriptionsLine$inboundSchema;
|
|
71366
|
-
ListAllSubscriptionsLine$.outboundSchema = ListAllSubscriptionsLine$outboundSchema;
|
|
71367
|
-
})(ListAllSubscriptionsLine$ ||= {});
|
|
71368
|
-
ListAllSubscriptionsBillingAddress$inboundSchema = objectType({
|
|
71369
|
-
title: stringType().optional(),
|
|
71370
|
-
givenName: stringType().optional(),
|
|
71371
|
-
familyName: stringType().optional(),
|
|
71372
|
-
organizationName: stringType().optional(),
|
|
71373
|
-
streetAndNumber: stringType().optional(),
|
|
71374
|
-
streetAdditional: stringType().optional(),
|
|
71375
|
-
postalCode: stringType().optional(),
|
|
71376
|
-
email: stringType().optional(),
|
|
71377
|
-
phone: stringType().optional(),
|
|
71378
|
-
city: stringType().optional(),
|
|
71379
|
-
region: stringType().optional(),
|
|
71380
|
-
country: stringType().optional()
|
|
71381
|
-
});
|
|
71382
|
-
ListAllSubscriptionsBillingAddress$outboundSchema = objectType({
|
|
71383
|
-
title: stringType().optional(),
|
|
71384
|
-
givenName: stringType().optional(),
|
|
71385
|
-
familyName: stringType().optional(),
|
|
71386
|
-
organizationName: stringType().optional(),
|
|
71387
|
-
streetAndNumber: stringType().optional(),
|
|
71388
|
-
streetAdditional: stringType().optional(),
|
|
71389
|
-
postalCode: stringType().optional(),
|
|
71390
|
-
email: stringType().optional(),
|
|
71391
|
-
phone: stringType().optional(),
|
|
71392
|
-
city: stringType().optional(),
|
|
71393
|
-
region: stringType().optional(),
|
|
71394
|
-
country: stringType().optional()
|
|
71395
|
-
});
|
|
71396
|
-
((ListAllSubscriptionsBillingAddress$) => {
|
|
71397
|
-
ListAllSubscriptionsBillingAddress$.inboundSchema = ListAllSubscriptionsBillingAddress$inboundSchema;
|
|
71398
|
-
ListAllSubscriptionsBillingAddress$.outboundSchema = ListAllSubscriptionsBillingAddress$outboundSchema;
|
|
71399
|
-
})(ListAllSubscriptionsBillingAddress$ ||= {});
|
|
71400
|
-
ListAllSubscriptionsShippingAddress$inboundSchema = objectType({
|
|
71401
|
-
title: stringType().optional(),
|
|
71402
|
-
givenName: stringType().optional(),
|
|
71403
|
-
familyName: stringType().optional(),
|
|
71404
|
-
organizationName: stringType().optional(),
|
|
71405
|
-
streetAndNumber: stringType().optional(),
|
|
71406
|
-
streetAdditional: stringType().optional(),
|
|
71407
|
-
postalCode: stringType().optional(),
|
|
71408
|
-
email: stringType().optional(),
|
|
71409
|
-
phone: stringType().optional(),
|
|
71410
|
-
city: stringType().optional(),
|
|
71411
|
-
region: stringType().optional(),
|
|
71412
|
-
country: stringType().optional()
|
|
71121
|
+
((ListAllSubscriptionsApplicationFeeAmount$) => {
|
|
71122
|
+
ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
|
|
71123
|
+
ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
|
|
71124
|
+
})(ListAllSubscriptionsApplicationFeeAmount$ ||= {});
|
|
71125
|
+
ListAllSubscriptionsApplicationFee$inboundSchema = objectType({
|
|
71126
|
+
amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$inboundSchema),
|
|
71127
|
+
description: stringType()
|
|
71413
71128
|
});
|
|
71414
|
-
|
|
71415
|
-
|
|
71416
|
-
|
|
71417
|
-
familyName: stringType().optional(),
|
|
71418
|
-
organizationName: stringType().optional(),
|
|
71419
|
-
streetAndNumber: stringType().optional(),
|
|
71420
|
-
streetAdditional: stringType().optional(),
|
|
71421
|
-
postalCode: stringType().optional(),
|
|
71422
|
-
email: stringType().optional(),
|
|
71423
|
-
phone: stringType().optional(),
|
|
71424
|
-
city: stringType().optional(),
|
|
71425
|
-
region: stringType().optional(),
|
|
71426
|
-
country: stringType().optional()
|
|
71129
|
+
ListAllSubscriptionsApplicationFee$outboundSchema = objectType({
|
|
71130
|
+
amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$outboundSchema),
|
|
71131
|
+
description: stringType()
|
|
71427
71132
|
});
|
|
71428
|
-
((
|
|
71429
|
-
|
|
71430
|
-
|
|
71431
|
-
})(
|
|
71432
|
-
ListAllSubscriptionsLocale$inboundSchema = nativeEnumType(ListAllSubscriptionsLocale);
|
|
71433
|
-
ListAllSubscriptionsLocale$outboundSchema = ListAllSubscriptionsLocale$inboundSchema;
|
|
71434
|
-
((ListAllSubscriptionsLocale$) => {
|
|
71435
|
-
ListAllSubscriptionsLocale$.inboundSchema = ListAllSubscriptionsLocale$inboundSchema;
|
|
71436
|
-
ListAllSubscriptionsLocale$.outboundSchema = ListAllSubscriptionsLocale$outboundSchema;
|
|
71437
|
-
})(ListAllSubscriptionsLocale$ ||= {});
|
|
71438
|
-
ListAllSubscriptionsMethod$inboundSchema = nativeEnumType(ListAllSubscriptionsMethod);
|
|
71439
|
-
ListAllSubscriptionsMethod$outboundSchema = ListAllSubscriptionsMethod$inboundSchema;
|
|
71440
|
-
((ListAllSubscriptionsMethod$) => {
|
|
71441
|
-
ListAllSubscriptionsMethod$.inboundSchema = ListAllSubscriptionsMethod$inboundSchema;
|
|
71442
|
-
ListAllSubscriptionsMethod$.outboundSchema = ListAllSubscriptionsMethod$outboundSchema;
|
|
71443
|
-
})(ListAllSubscriptionsMethod$ ||= {});
|
|
71133
|
+
((ListAllSubscriptionsApplicationFee$) => {
|
|
71134
|
+
ListAllSubscriptionsApplicationFee$.inboundSchema = ListAllSubscriptionsApplicationFee$inboundSchema;
|
|
71135
|
+
ListAllSubscriptionsApplicationFee$.outboundSchema = ListAllSubscriptionsApplicationFee$outboundSchema;
|
|
71136
|
+
})(ListAllSubscriptionsApplicationFee$ ||= {});
|
|
71444
71137
|
ListAllSubscriptionsMetadata$inboundSchema = objectType({});
|
|
71445
71138
|
ListAllSubscriptionsMetadata$outboundSchema = objectType({});
|
|
71446
71139
|
((ListAllSubscriptionsMetadata$) => {
|
|
@@ -71461,501 +71154,167 @@ var init_listallsubscriptions = __esm(() => {
|
|
|
71461
71154
|
ListAllSubscriptionsMetadataUnion$.inboundSchema = ListAllSubscriptionsMetadataUnion$inboundSchema;
|
|
71462
71155
|
ListAllSubscriptionsMetadataUnion$.outboundSchema = ListAllSubscriptionsMetadataUnion$outboundSchema;
|
|
71463
71156
|
})(ListAllSubscriptionsMetadataUnion$ ||= {});
|
|
71464
|
-
|
|
71465
|
-
ListAllSubscriptionsCaptureMode$outboundSchema = ListAllSubscriptionsCaptureMode$inboundSchema;
|
|
71466
|
-
((ListAllSubscriptionsCaptureMode$) => {
|
|
71467
|
-
ListAllSubscriptionsCaptureMode$.inboundSchema = ListAllSubscriptionsCaptureMode$inboundSchema;
|
|
71468
|
-
ListAllSubscriptionsCaptureMode$.outboundSchema = ListAllSubscriptionsCaptureMode$outboundSchema;
|
|
71469
|
-
})(ListAllSubscriptionsCaptureMode$ ||= {});
|
|
71470
|
-
ListAllSubscriptionsApplicationFeeAmount$inboundSchema = objectType({
|
|
71471
|
-
currency: stringType(),
|
|
71472
|
-
value: stringType()
|
|
71473
|
-
});
|
|
71474
|
-
ListAllSubscriptionsApplicationFeeAmount$outboundSchema = objectType({
|
|
71475
|
-
currency: stringType(),
|
|
71476
|
-
value: stringType()
|
|
71477
|
-
});
|
|
71478
|
-
((ListAllSubscriptionsApplicationFeeAmount$) => {
|
|
71479
|
-
ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
|
|
71480
|
-
ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
|
|
71481
|
-
})(ListAllSubscriptionsApplicationFeeAmount$ ||= {});
|
|
71482
|
-
ListAllSubscriptionsApplicationFee$inboundSchema = objectType({
|
|
71483
|
-
amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$inboundSchema).optional(),
|
|
71484
|
-
description: stringType().optional()
|
|
71485
|
-
});
|
|
71486
|
-
ListAllSubscriptionsApplicationFee$outboundSchema = objectType({
|
|
71487
|
-
amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$outboundSchema).optional(),
|
|
71488
|
-
description: stringType().optional()
|
|
71489
|
-
});
|
|
71490
|
-
((ListAllSubscriptionsApplicationFee$) => {
|
|
71491
|
-
ListAllSubscriptionsApplicationFee$.inboundSchema = ListAllSubscriptionsApplicationFee$inboundSchema;
|
|
71492
|
-
ListAllSubscriptionsApplicationFee$.outboundSchema = ListAllSubscriptionsApplicationFee$outboundSchema;
|
|
71493
|
-
})(ListAllSubscriptionsApplicationFee$ ||= {});
|
|
71494
|
-
ListAllSubscriptionsRoutingMode$inboundSchema = nativeEnumType(ListAllSubscriptionsRoutingMode);
|
|
71495
|
-
ListAllSubscriptionsRoutingMode$outboundSchema = ListAllSubscriptionsRoutingMode$inboundSchema;
|
|
71496
|
-
((ListAllSubscriptionsRoutingMode$) => {
|
|
71497
|
-
ListAllSubscriptionsRoutingMode$.inboundSchema = ListAllSubscriptionsRoutingMode$inboundSchema;
|
|
71498
|
-
ListAllSubscriptionsRoutingMode$.outboundSchema = ListAllSubscriptionsRoutingMode$outboundSchema;
|
|
71499
|
-
})(ListAllSubscriptionsRoutingMode$ ||= {});
|
|
71500
|
-
ListAllSubscriptionsRoutingAmount$inboundSchema = objectType({
|
|
71501
|
-
currency: stringType(),
|
|
71502
|
-
value: stringType()
|
|
71503
|
-
});
|
|
71504
|
-
ListAllSubscriptionsRoutingAmount$outboundSchema = objectType({
|
|
71505
|
-
currency: stringType(),
|
|
71506
|
-
value: stringType()
|
|
71507
|
-
});
|
|
71508
|
-
((ListAllSubscriptionsRoutingAmount$) => {
|
|
71509
|
-
ListAllSubscriptionsRoutingAmount$.inboundSchema = ListAllSubscriptionsRoutingAmount$inboundSchema;
|
|
71510
|
-
ListAllSubscriptionsRoutingAmount$.outboundSchema = ListAllSubscriptionsRoutingAmount$outboundSchema;
|
|
71511
|
-
})(ListAllSubscriptionsRoutingAmount$ ||= {});
|
|
71512
|
-
ListAllSubscriptionsRoutingType$inboundSchema = nativeEnumType(ListAllSubscriptionsRoutingType);
|
|
71513
|
-
ListAllSubscriptionsRoutingType$outboundSchema = ListAllSubscriptionsRoutingType$inboundSchema;
|
|
71514
|
-
((ListAllSubscriptionsRoutingType$) => {
|
|
71515
|
-
ListAllSubscriptionsRoutingType$.inboundSchema = ListAllSubscriptionsRoutingType$inboundSchema;
|
|
71516
|
-
ListAllSubscriptionsRoutingType$.outboundSchema = ListAllSubscriptionsRoutingType$outboundSchema;
|
|
71517
|
-
})(ListAllSubscriptionsRoutingType$ ||= {});
|
|
71518
|
-
ListAllSubscriptionsDestination$inboundSchema = objectType({
|
|
71519
|
-
type: ListAllSubscriptionsRoutingType$inboundSchema,
|
|
71520
|
-
organizationId: stringType()
|
|
71521
|
-
});
|
|
71522
|
-
ListAllSubscriptionsDestination$outboundSchema = objectType({
|
|
71523
|
-
type: ListAllSubscriptionsRoutingType$outboundSchema,
|
|
71524
|
-
organizationId: stringType()
|
|
71525
|
-
});
|
|
71526
|
-
((ListAllSubscriptionsDestination$) => {
|
|
71527
|
-
ListAllSubscriptionsDestination$.inboundSchema = ListAllSubscriptionsDestination$inboundSchema;
|
|
71528
|
-
ListAllSubscriptionsDestination$.outboundSchema = ListAllSubscriptionsDestination$outboundSchema;
|
|
71529
|
-
})(ListAllSubscriptionsDestination$ ||= {});
|
|
71530
|
-
ListAllSubscriptionsRoutingSelf$inboundSchema = objectType({
|
|
71531
|
-
href: stringType(),
|
|
71532
|
-
type: stringType()
|
|
71533
|
-
});
|
|
71534
|
-
ListAllSubscriptionsRoutingSelf$outboundSchema = objectType({
|
|
71535
|
-
href: stringType(),
|
|
71536
|
-
type: stringType()
|
|
71537
|
-
});
|
|
71538
|
-
((ListAllSubscriptionsRoutingSelf$) => {
|
|
71539
|
-
ListAllSubscriptionsRoutingSelf$.inboundSchema = ListAllSubscriptionsRoutingSelf$inboundSchema;
|
|
71540
|
-
ListAllSubscriptionsRoutingSelf$.outboundSchema = ListAllSubscriptionsRoutingSelf$outboundSchema;
|
|
71541
|
-
})(ListAllSubscriptionsRoutingSelf$ ||= {});
|
|
71542
|
-
ListAllSubscriptionsRoutingPayment$inboundSchema = objectType({
|
|
71543
|
-
href: stringType(),
|
|
71544
|
-
type: stringType()
|
|
71545
|
-
});
|
|
71546
|
-
ListAllSubscriptionsRoutingPayment$outboundSchema = objectType({
|
|
71547
|
-
href: stringType(),
|
|
71548
|
-
type: stringType()
|
|
71549
|
-
});
|
|
71550
|
-
((ListAllSubscriptionsRoutingPayment$) => {
|
|
71551
|
-
ListAllSubscriptionsRoutingPayment$.inboundSchema = ListAllSubscriptionsRoutingPayment$inboundSchema;
|
|
71552
|
-
ListAllSubscriptionsRoutingPayment$.outboundSchema = ListAllSubscriptionsRoutingPayment$outboundSchema;
|
|
71553
|
-
})(ListAllSubscriptionsRoutingPayment$ ||= {});
|
|
71554
|
-
ListAllSubscriptionsRoutingLinks$inboundSchema = objectType({
|
|
71555
|
-
self: lazyType(() => ListAllSubscriptionsRoutingSelf$inboundSchema),
|
|
71556
|
-
payment: lazyType(() => ListAllSubscriptionsRoutingPayment$inboundSchema)
|
|
71557
|
-
});
|
|
71558
|
-
ListAllSubscriptionsRoutingLinks$outboundSchema = objectType({
|
|
71559
|
-
self: lazyType(() => ListAllSubscriptionsRoutingSelf$outboundSchema),
|
|
71560
|
-
payment: lazyType(() => ListAllSubscriptionsRoutingPayment$outboundSchema)
|
|
71561
|
-
});
|
|
71562
|
-
((ListAllSubscriptionsRoutingLinks$) => {
|
|
71563
|
-
ListAllSubscriptionsRoutingLinks$.inboundSchema = ListAllSubscriptionsRoutingLinks$inboundSchema;
|
|
71564
|
-
ListAllSubscriptionsRoutingLinks$.outboundSchema = ListAllSubscriptionsRoutingLinks$outboundSchema;
|
|
71565
|
-
})(ListAllSubscriptionsRoutingLinks$ ||= {});
|
|
71566
|
-
ListAllSubscriptionsRouting$inboundSchema = objectType({
|
|
71567
|
-
resource: stringType(),
|
|
71568
|
-
id: stringType(),
|
|
71569
|
-
mode: ListAllSubscriptionsRoutingMode$inboundSchema,
|
|
71570
|
-
amount: lazyType(() => ListAllSubscriptionsRoutingAmount$inboundSchema),
|
|
71571
|
-
destination: lazyType(() => ListAllSubscriptionsDestination$inboundSchema),
|
|
71572
|
-
createdAt: stringType(),
|
|
71573
|
-
releaseDate: nullableType(stringType()).optional(),
|
|
71574
|
-
_links: lazyType(() => ListAllSubscriptionsRoutingLinks$inboundSchema)
|
|
71575
|
-
}).transform((v2) => {
|
|
71576
|
-
return remap(v2, {
|
|
71577
|
-
_links: "links"
|
|
71578
|
-
});
|
|
71579
|
-
});
|
|
71580
|
-
ListAllSubscriptionsRouting$outboundSchema = objectType({
|
|
71581
|
-
resource: stringType(),
|
|
71582
|
-
id: stringType(),
|
|
71583
|
-
mode: ListAllSubscriptionsRoutingMode$outboundSchema,
|
|
71584
|
-
amount: lazyType(() => ListAllSubscriptionsRoutingAmount$outboundSchema),
|
|
71585
|
-
destination: lazyType(() => ListAllSubscriptionsDestination$outboundSchema),
|
|
71586
|
-
createdAt: stringType(),
|
|
71587
|
-
releaseDate: nullableType(stringType()).optional(),
|
|
71588
|
-
links: lazyType(() => ListAllSubscriptionsRoutingLinks$outboundSchema)
|
|
71589
|
-
}).transform((v2) => {
|
|
71590
|
-
return remap(v2, {
|
|
71591
|
-
links: "_links"
|
|
71592
|
-
});
|
|
71593
|
-
});
|
|
71594
|
-
((ListAllSubscriptionsRouting$) => {
|
|
71595
|
-
ListAllSubscriptionsRouting$.inboundSchema = ListAllSubscriptionsRouting$inboundSchema;
|
|
71596
|
-
ListAllSubscriptionsRouting$.outboundSchema = ListAllSubscriptionsRouting$outboundSchema;
|
|
71597
|
-
})(ListAllSubscriptionsRouting$ ||= {});
|
|
71598
|
-
ListAllSubscriptionsSequenceType$inboundSchema = nativeEnumType(ListAllSubscriptionsSequenceType);
|
|
71599
|
-
ListAllSubscriptionsSequenceType$outboundSchema = ListAllSubscriptionsSequenceType$inboundSchema;
|
|
71600
|
-
((ListAllSubscriptionsSequenceType$) => {
|
|
71601
|
-
ListAllSubscriptionsSequenceType$.inboundSchema = ListAllSubscriptionsSequenceType$inboundSchema;
|
|
71602
|
-
ListAllSubscriptionsSequenceType$.outboundSchema = ListAllSubscriptionsSequenceType$outboundSchema;
|
|
71603
|
-
})(ListAllSubscriptionsSequenceType$ ||= {});
|
|
71604
|
-
ListAllSubscriptionsStatus$inboundSchema = nativeEnumType(ListAllSubscriptionsStatus);
|
|
71605
|
-
ListAllSubscriptionsStatus$outboundSchema = ListAllSubscriptionsStatus$inboundSchema;
|
|
71606
|
-
((ListAllSubscriptionsStatus$) => {
|
|
71607
|
-
ListAllSubscriptionsStatus$.inboundSchema = ListAllSubscriptionsStatus$inboundSchema;
|
|
71608
|
-
ListAllSubscriptionsStatus$.outboundSchema = ListAllSubscriptionsStatus$outboundSchema;
|
|
71609
|
-
})(ListAllSubscriptionsStatus$ ||= {});
|
|
71610
|
-
ListAllSubscriptionsStatusReason$inboundSchema = objectType({
|
|
71611
|
-
code: stringType(),
|
|
71612
|
-
message: stringType()
|
|
71613
|
-
});
|
|
71614
|
-
ListAllSubscriptionsStatusReason$outboundSchema = objectType({
|
|
71615
|
-
code: stringType(),
|
|
71616
|
-
message: stringType()
|
|
71617
|
-
});
|
|
71618
|
-
((ListAllSubscriptionsStatusReason$) => {
|
|
71619
|
-
ListAllSubscriptionsStatusReason$.inboundSchema = ListAllSubscriptionsStatusReason$inboundSchema;
|
|
71620
|
-
ListAllSubscriptionsStatusReason$.outboundSchema = ListAllSubscriptionsStatusReason$outboundSchema;
|
|
71621
|
-
})(ListAllSubscriptionsStatusReason$ ||= {});
|
|
71622
|
-
ListAllSubscriptionsPaymentSelf$inboundSchema = objectType({
|
|
71623
|
-
href: stringType(),
|
|
71624
|
-
type: stringType()
|
|
71625
|
-
});
|
|
71626
|
-
ListAllSubscriptionsPaymentSelf$outboundSchema = objectType({
|
|
71627
|
-
href: stringType(),
|
|
71628
|
-
type: stringType()
|
|
71629
|
-
});
|
|
71630
|
-
((ListAllSubscriptionsPaymentSelf$) => {
|
|
71631
|
-
ListAllSubscriptionsPaymentSelf$.inboundSchema = ListAllSubscriptionsPaymentSelf$inboundSchema;
|
|
71632
|
-
ListAllSubscriptionsPaymentSelf$.outboundSchema = ListAllSubscriptionsPaymentSelf$outboundSchema;
|
|
71633
|
-
})(ListAllSubscriptionsPaymentSelf$ ||= {});
|
|
71634
|
-
ListAllSubscriptionsCheckout$inboundSchema = objectType({
|
|
71635
|
-
href: stringType(),
|
|
71636
|
-
type: stringType()
|
|
71637
|
-
});
|
|
71638
|
-
ListAllSubscriptionsCheckout$outboundSchema = objectType({
|
|
71639
|
-
href: stringType(),
|
|
71640
|
-
type: stringType()
|
|
71641
|
-
});
|
|
71642
|
-
((ListAllSubscriptionsCheckout$) => {
|
|
71643
|
-
ListAllSubscriptionsCheckout$.inboundSchema = ListAllSubscriptionsCheckout$inboundSchema;
|
|
71644
|
-
ListAllSubscriptionsCheckout$.outboundSchema = ListAllSubscriptionsCheckout$outboundSchema;
|
|
71645
|
-
})(ListAllSubscriptionsCheckout$ ||= {});
|
|
71646
|
-
ListAllSubscriptionsMobileAppCheckout$inboundSchema = objectType({
|
|
71647
|
-
href: stringType(),
|
|
71648
|
-
type: stringType()
|
|
71649
|
-
});
|
|
71650
|
-
ListAllSubscriptionsMobileAppCheckout$outboundSchema = objectType({
|
|
71651
|
-
href: stringType(),
|
|
71652
|
-
type: stringType()
|
|
71653
|
-
});
|
|
71654
|
-
((ListAllSubscriptionsMobileAppCheckout$) => {
|
|
71655
|
-
ListAllSubscriptionsMobileAppCheckout$.inboundSchema = ListAllSubscriptionsMobileAppCheckout$inboundSchema;
|
|
71656
|
-
ListAllSubscriptionsMobileAppCheckout$.outboundSchema = ListAllSubscriptionsMobileAppCheckout$outboundSchema;
|
|
71657
|
-
})(ListAllSubscriptionsMobileAppCheckout$ ||= {});
|
|
71658
|
-
ListAllSubscriptionsChangePaymentState$inboundSchema = objectType({
|
|
71659
|
-
href: stringType(),
|
|
71660
|
-
type: stringType()
|
|
71661
|
-
});
|
|
71662
|
-
ListAllSubscriptionsChangePaymentState$outboundSchema = objectType({
|
|
71663
|
-
href: stringType(),
|
|
71664
|
-
type: stringType()
|
|
71665
|
-
});
|
|
71666
|
-
((ListAllSubscriptionsChangePaymentState$) => {
|
|
71667
|
-
ListAllSubscriptionsChangePaymentState$.inboundSchema = ListAllSubscriptionsChangePaymentState$inboundSchema;
|
|
71668
|
-
ListAllSubscriptionsChangePaymentState$.outboundSchema = ListAllSubscriptionsChangePaymentState$outboundSchema;
|
|
71669
|
-
})(ListAllSubscriptionsChangePaymentState$ ||= {});
|
|
71670
|
-
ListAllSubscriptionsDashboard$inboundSchema = objectType({
|
|
71671
|
-
href: stringType(),
|
|
71672
|
-
type: stringType()
|
|
71673
|
-
});
|
|
71674
|
-
ListAllSubscriptionsDashboard$outboundSchema = objectType({
|
|
71675
|
-
href: stringType(),
|
|
71676
|
-
type: stringType()
|
|
71677
|
-
});
|
|
71678
|
-
((ListAllSubscriptionsDashboard$) => {
|
|
71679
|
-
ListAllSubscriptionsDashboard$.inboundSchema = ListAllSubscriptionsDashboard$inboundSchema;
|
|
71680
|
-
ListAllSubscriptionsDashboard$.outboundSchema = ListAllSubscriptionsDashboard$outboundSchema;
|
|
71681
|
-
})(ListAllSubscriptionsDashboard$ ||= {});
|
|
71682
|
-
ListAllSubscriptionsRefunds$inboundSchema = objectType({
|
|
71683
|
-
href: stringType(),
|
|
71684
|
-
type: stringType()
|
|
71685
|
-
});
|
|
71686
|
-
ListAllSubscriptionsRefunds$outboundSchema = objectType({
|
|
71687
|
-
href: stringType(),
|
|
71688
|
-
type: stringType()
|
|
71689
|
-
});
|
|
71690
|
-
((ListAllSubscriptionsRefunds$) => {
|
|
71691
|
-
ListAllSubscriptionsRefunds$.inboundSchema = ListAllSubscriptionsRefunds$inboundSchema;
|
|
71692
|
-
ListAllSubscriptionsRefunds$.outboundSchema = ListAllSubscriptionsRefunds$outboundSchema;
|
|
71693
|
-
})(ListAllSubscriptionsRefunds$ ||= {});
|
|
71694
|
-
ListAllSubscriptionsChargebacks$inboundSchema = objectType({
|
|
71695
|
-
href: stringType(),
|
|
71696
|
-
type: stringType()
|
|
71697
|
-
});
|
|
71698
|
-
ListAllSubscriptionsChargebacks$outboundSchema = objectType({
|
|
71699
|
-
href: stringType(),
|
|
71700
|
-
type: stringType()
|
|
71701
|
-
});
|
|
71702
|
-
((ListAllSubscriptionsChargebacks$) => {
|
|
71703
|
-
ListAllSubscriptionsChargebacks$.inboundSchema = ListAllSubscriptionsChargebacks$inboundSchema;
|
|
71704
|
-
ListAllSubscriptionsChargebacks$.outboundSchema = ListAllSubscriptionsChargebacks$outboundSchema;
|
|
71705
|
-
})(ListAllSubscriptionsChargebacks$ ||= {});
|
|
71706
|
-
ListAllSubscriptionsCaptures$inboundSchema = objectType({
|
|
71707
|
-
href: stringType(),
|
|
71708
|
-
type: stringType()
|
|
71709
|
-
});
|
|
71710
|
-
ListAllSubscriptionsCaptures$outboundSchema = objectType({
|
|
71711
|
-
href: stringType(),
|
|
71712
|
-
type: stringType()
|
|
71713
|
-
});
|
|
71714
|
-
((ListAllSubscriptionsCaptures$) => {
|
|
71715
|
-
ListAllSubscriptionsCaptures$.inboundSchema = ListAllSubscriptionsCaptures$inboundSchema;
|
|
71716
|
-
ListAllSubscriptionsCaptures$.outboundSchema = ListAllSubscriptionsCaptures$outboundSchema;
|
|
71717
|
-
})(ListAllSubscriptionsCaptures$ ||= {});
|
|
71718
|
-
ListAllSubscriptionsSettlement$inboundSchema = objectType({
|
|
71157
|
+
ListAllSubscriptionsSubscriptionSelf$inboundSchema = objectType({
|
|
71719
71158
|
href: stringType(),
|
|
71720
71159
|
type: stringType()
|
|
71721
71160
|
});
|
|
71722
|
-
|
|
71161
|
+
ListAllSubscriptionsSubscriptionSelf$outboundSchema = objectType({
|
|
71723
71162
|
href: stringType(),
|
|
71724
71163
|
type: stringType()
|
|
71725
71164
|
});
|
|
71726
|
-
((
|
|
71727
|
-
|
|
71728
|
-
|
|
71729
|
-
})(
|
|
71165
|
+
((ListAllSubscriptionsSubscriptionSelf$) => {
|
|
71166
|
+
ListAllSubscriptionsSubscriptionSelf$.inboundSchema = ListAllSubscriptionsSubscriptionSelf$inboundSchema;
|
|
71167
|
+
ListAllSubscriptionsSubscriptionSelf$.outboundSchema = ListAllSubscriptionsSubscriptionSelf$outboundSchema;
|
|
71168
|
+
})(ListAllSubscriptionsSubscriptionSelf$ ||= {});
|
|
71730
71169
|
ListAllSubscriptionsCustomer$inboundSchema = objectType({
|
|
71731
|
-
href: stringType(),
|
|
71732
|
-
type: stringType()
|
|
71170
|
+
href: stringType().optional(),
|
|
71171
|
+
type: stringType().optional()
|
|
71733
71172
|
});
|
|
71734
71173
|
ListAllSubscriptionsCustomer$outboundSchema = objectType({
|
|
71735
|
-
href: stringType(),
|
|
71736
|
-
type: stringType()
|
|
71174
|
+
href: stringType().optional(),
|
|
71175
|
+
type: stringType().optional()
|
|
71737
71176
|
});
|
|
71738
71177
|
((ListAllSubscriptionsCustomer$) => {
|
|
71739
71178
|
ListAllSubscriptionsCustomer$.inboundSchema = ListAllSubscriptionsCustomer$inboundSchema;
|
|
71740
71179
|
ListAllSubscriptionsCustomer$.outboundSchema = ListAllSubscriptionsCustomer$outboundSchema;
|
|
71741
71180
|
})(ListAllSubscriptionsCustomer$ ||= {});
|
|
71742
71181
|
ListAllSubscriptionsMandate$inboundSchema = objectType({
|
|
71743
|
-
href: stringType(),
|
|
71744
|
-
type: stringType()
|
|
71182
|
+
href: stringType().optional(),
|
|
71183
|
+
type: stringType().optional()
|
|
71745
71184
|
});
|
|
71746
71185
|
ListAllSubscriptionsMandate$outboundSchema = objectType({
|
|
71747
|
-
href: stringType(),
|
|
71748
|
-
type: stringType()
|
|
71186
|
+
href: stringType().optional(),
|
|
71187
|
+
type: stringType().optional()
|
|
71749
71188
|
});
|
|
71750
71189
|
((ListAllSubscriptionsMandate$) => {
|
|
71751
71190
|
ListAllSubscriptionsMandate$.inboundSchema = ListAllSubscriptionsMandate$inboundSchema;
|
|
71752
71191
|
ListAllSubscriptionsMandate$.outboundSchema = ListAllSubscriptionsMandate$outboundSchema;
|
|
71753
71192
|
})(ListAllSubscriptionsMandate$ ||= {});
|
|
71754
|
-
|
|
71755
|
-
href: stringType(),
|
|
71756
|
-
type: stringType()
|
|
71757
|
-
});
|
|
71758
|
-
ListAllSubscriptionsSubscription$outboundSchema = objectType({
|
|
71759
|
-
href: stringType(),
|
|
71760
|
-
type: stringType()
|
|
71761
|
-
});
|
|
71762
|
-
((ListAllSubscriptionsSubscription$) => {
|
|
71763
|
-
ListAllSubscriptionsSubscription$.inboundSchema = ListAllSubscriptionsSubscription$inboundSchema;
|
|
71764
|
-
ListAllSubscriptionsSubscription$.outboundSchema = ListAllSubscriptionsSubscription$outboundSchema;
|
|
71765
|
-
})(ListAllSubscriptionsSubscription$ ||= {});
|
|
71766
|
-
ListAllSubscriptionsOrder$inboundSchema = objectType({
|
|
71767
|
-
href: stringType(),
|
|
71768
|
-
type: stringType()
|
|
71193
|
+
ListAllSubscriptionsProfile$inboundSchema = objectType({
|
|
71194
|
+
href: stringType().optional(),
|
|
71195
|
+
type: stringType().optional()
|
|
71769
71196
|
});
|
|
71770
|
-
|
|
71771
|
-
href: stringType(),
|
|
71772
|
-
type: stringType()
|
|
71197
|
+
ListAllSubscriptionsProfile$outboundSchema = objectType({
|
|
71198
|
+
href: stringType().optional(),
|
|
71199
|
+
type: stringType().optional()
|
|
71773
71200
|
});
|
|
71774
|
-
((
|
|
71775
|
-
|
|
71776
|
-
|
|
71777
|
-
})(
|
|
71778
|
-
|
|
71779
|
-
href: stringType(),
|
|
71780
|
-
type: stringType()
|
|
71201
|
+
((ListAllSubscriptionsProfile$) => {
|
|
71202
|
+
ListAllSubscriptionsProfile$.inboundSchema = ListAllSubscriptionsProfile$inboundSchema;
|
|
71203
|
+
ListAllSubscriptionsProfile$.outboundSchema = ListAllSubscriptionsProfile$outboundSchema;
|
|
71204
|
+
})(ListAllSubscriptionsProfile$ ||= {});
|
|
71205
|
+
ListAllSubscriptionsPayments$inboundSchema = objectType({
|
|
71206
|
+
href: stringType().optional(),
|
|
71207
|
+
type: stringType().optional()
|
|
71781
71208
|
});
|
|
71782
|
-
|
|
71783
|
-
href: stringType(),
|
|
71784
|
-
type: stringType()
|
|
71209
|
+
ListAllSubscriptionsPayments$outboundSchema = objectType({
|
|
71210
|
+
href: stringType().optional(),
|
|
71211
|
+
type: stringType().optional()
|
|
71785
71212
|
});
|
|
71786
|
-
((
|
|
71787
|
-
|
|
71788
|
-
|
|
71789
|
-
})(
|
|
71790
|
-
|
|
71213
|
+
((ListAllSubscriptionsPayments$) => {
|
|
71214
|
+
ListAllSubscriptionsPayments$.inboundSchema = ListAllSubscriptionsPayments$inboundSchema;
|
|
71215
|
+
ListAllSubscriptionsPayments$.outboundSchema = ListAllSubscriptionsPayments$outboundSchema;
|
|
71216
|
+
})(ListAllSubscriptionsPayments$ ||= {});
|
|
71217
|
+
ListAllSubscriptionsSubscriptionDocumentation$inboundSchema = objectType({
|
|
71791
71218
|
href: stringType(),
|
|
71792
71219
|
type: stringType()
|
|
71793
71220
|
});
|
|
71794
|
-
|
|
71221
|
+
ListAllSubscriptionsSubscriptionDocumentation$outboundSchema = objectType({
|
|
71795
71222
|
href: stringType(),
|
|
71796
71223
|
type: stringType()
|
|
71797
71224
|
});
|
|
71798
|
-
((
|
|
71799
|
-
|
|
71800
|
-
|
|
71801
|
-
})(
|
|
71802
|
-
|
|
71803
|
-
self: lazyType(() =>
|
|
71804
|
-
|
|
71805
|
-
|
|
71806
|
-
|
|
71807
|
-
|
|
71808
|
-
|
|
71809
|
-
chargebacks: lazyType(() => ListAllSubscriptionsChargebacks$inboundSchema).optional(),
|
|
71810
|
-
captures: lazyType(() => ListAllSubscriptionsCaptures$inboundSchema).optional(),
|
|
71811
|
-
settlement: lazyType(() => ListAllSubscriptionsSettlement$inboundSchema).optional(),
|
|
71812
|
-
customer: lazyType(() => ListAllSubscriptionsCustomer$inboundSchema).optional(),
|
|
71813
|
-
mandate: lazyType(() => ListAllSubscriptionsMandate$inboundSchema).optional(),
|
|
71814
|
-
subscription: lazyType(() => ListAllSubscriptionsSubscription$inboundSchema).optional(),
|
|
71815
|
-
order: lazyType(() => ListAllSubscriptionsOrder$inboundSchema).optional(),
|
|
71816
|
-
terminal: lazyType(() => ListAllSubscriptionsTerminal$inboundSchema).optional(),
|
|
71817
|
-
documentation: lazyType(() => ListAllSubscriptionsPaymentDocumentation$inboundSchema).optional()
|
|
71225
|
+
((ListAllSubscriptionsSubscriptionDocumentation$) => {
|
|
71226
|
+
ListAllSubscriptionsSubscriptionDocumentation$.inboundSchema = ListAllSubscriptionsSubscriptionDocumentation$inboundSchema;
|
|
71227
|
+
ListAllSubscriptionsSubscriptionDocumentation$.outboundSchema = ListAllSubscriptionsSubscriptionDocumentation$outboundSchema;
|
|
71228
|
+
})(ListAllSubscriptionsSubscriptionDocumentation$ ||= {});
|
|
71229
|
+
ListAllSubscriptionsSubscriptionLinks$inboundSchema = objectType({
|
|
71230
|
+
self: lazyType(() => ListAllSubscriptionsSubscriptionSelf$inboundSchema),
|
|
71231
|
+
customer: nullableType(lazyType(() => ListAllSubscriptionsCustomer$inboundSchema)),
|
|
71232
|
+
mandate: nullableType(lazyType(() => ListAllSubscriptionsMandate$inboundSchema)).optional(),
|
|
71233
|
+
profile: nullableType(lazyType(() => ListAllSubscriptionsProfile$inboundSchema)),
|
|
71234
|
+
payments: nullableType(lazyType(() => ListAllSubscriptionsPayments$inboundSchema)).optional(),
|
|
71235
|
+
documentation: lazyType(() => ListAllSubscriptionsSubscriptionDocumentation$inboundSchema)
|
|
71818
71236
|
});
|
|
71819
|
-
|
|
71820
|
-
self: lazyType(() =>
|
|
71821
|
-
|
|
71822
|
-
|
|
71823
|
-
|
|
71824
|
-
|
|
71825
|
-
|
|
71826
|
-
chargebacks: lazyType(() => ListAllSubscriptionsChargebacks$outboundSchema).optional(),
|
|
71827
|
-
captures: lazyType(() => ListAllSubscriptionsCaptures$outboundSchema).optional(),
|
|
71828
|
-
settlement: lazyType(() => ListAllSubscriptionsSettlement$outboundSchema).optional(),
|
|
71829
|
-
customer: lazyType(() => ListAllSubscriptionsCustomer$outboundSchema).optional(),
|
|
71830
|
-
mandate: lazyType(() => ListAllSubscriptionsMandate$outboundSchema).optional(),
|
|
71831
|
-
subscription: lazyType(() => ListAllSubscriptionsSubscription$outboundSchema).optional(),
|
|
71832
|
-
order: lazyType(() => ListAllSubscriptionsOrder$outboundSchema).optional(),
|
|
71833
|
-
terminal: lazyType(() => ListAllSubscriptionsTerminal$outboundSchema).optional(),
|
|
71834
|
-
documentation: lazyType(() => ListAllSubscriptionsPaymentDocumentation$outboundSchema).optional()
|
|
71237
|
+
ListAllSubscriptionsSubscriptionLinks$outboundSchema = objectType({
|
|
71238
|
+
self: lazyType(() => ListAllSubscriptionsSubscriptionSelf$outboundSchema),
|
|
71239
|
+
customer: nullableType(lazyType(() => ListAllSubscriptionsCustomer$outboundSchema)),
|
|
71240
|
+
mandate: nullableType(lazyType(() => ListAllSubscriptionsMandate$outboundSchema)).optional(),
|
|
71241
|
+
profile: nullableType(lazyType(() => ListAllSubscriptionsProfile$outboundSchema)),
|
|
71242
|
+
payments: nullableType(lazyType(() => ListAllSubscriptionsPayments$outboundSchema)).optional(),
|
|
71243
|
+
documentation: lazyType(() => ListAllSubscriptionsSubscriptionDocumentation$outboundSchema)
|
|
71835
71244
|
});
|
|
71836
|
-
((
|
|
71837
|
-
|
|
71838
|
-
|
|
71839
|
-
})(
|
|
71840
|
-
|
|
71841
|
-
resource: stringType(),
|
|
71245
|
+
((ListAllSubscriptionsSubscriptionLinks$) => {
|
|
71246
|
+
ListAllSubscriptionsSubscriptionLinks$.inboundSchema = ListAllSubscriptionsSubscriptionLinks$inboundSchema;
|
|
71247
|
+
ListAllSubscriptionsSubscriptionLinks$.outboundSchema = ListAllSubscriptionsSubscriptionLinks$outboundSchema;
|
|
71248
|
+
})(ListAllSubscriptionsSubscriptionLinks$ ||= {});
|
|
71249
|
+
ListAllSubscriptionsSubscription$inboundSchema = objectType({
|
|
71250
|
+
resource: stringType().default("subscription"),
|
|
71842
71251
|
id: stringType(),
|
|
71843
71252
|
mode: ListAllSubscriptionsMode$inboundSchema,
|
|
71844
|
-
|
|
71253
|
+
status: ListAllSubscriptionsStatus$inboundSchema,
|
|
71845
71254
|
amount: lazyType(() => ListAllSubscriptionsAmount$inboundSchema),
|
|
71846
|
-
|
|
71847
|
-
|
|
71848
|
-
|
|
71849
|
-
|
|
71850
|
-
|
|
71851
|
-
|
|
71852
|
-
|
|
71853
|
-
|
|
71854
|
-
lines: nullableType(arrayType(lazyType(() => ListAllSubscriptionsLine$inboundSchema))).optional(),
|
|
71855
|
-
billingAddress: lazyType(() => ListAllSubscriptionsBillingAddress$inboundSchema).optional(),
|
|
71856
|
-
shippingAddress: lazyType(() => ListAllSubscriptionsShippingAddress$inboundSchema).optional(),
|
|
71857
|
-
locale: nullableType(ListAllSubscriptionsLocale$inboundSchema).optional(),
|
|
71858
|
-
countryCode: nullableType(stringType()).optional(),
|
|
71859
|
-
method: nullableType(ListAllSubscriptionsMethod$inboundSchema).optional(),
|
|
71860
|
-
restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
|
|
71255
|
+
times: nullableType(numberType().int()),
|
|
71256
|
+
timesRemaining: numberType().int(),
|
|
71257
|
+
interval: ListAllSubscriptionsInterval$inboundSchema,
|
|
71258
|
+
startDate: stringType(),
|
|
71259
|
+
nextPaymentDate: nullableType(stringType()).optional(),
|
|
71260
|
+
description: stringType(),
|
|
71261
|
+
method: nullableType(ListAllSubscriptionsMethod$inboundSchema),
|
|
71262
|
+
applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$inboundSchema).optional(),
|
|
71861
71263
|
metadata: nullableType(unionType([
|
|
71862
71264
|
lazyType(() => ListAllSubscriptionsMetadata$inboundSchema),
|
|
71863
71265
|
stringType(),
|
|
71864
71266
|
arrayType(stringType())
|
|
71865
|
-
]))
|
|
71866
|
-
|
|
71867
|
-
|
|
71868
|
-
captureBefore: nullableType(stringType()).optional(),
|
|
71869
|
-
applicationFee: nullableType(lazyType(() => ListAllSubscriptionsApplicationFee$inboundSchema)).optional(),
|
|
71870
|
-
routing: nullableType(arrayType(lazyType(() => ListAllSubscriptionsRouting$inboundSchema))).optional(),
|
|
71871
|
-
sequenceType: nullableType(ListAllSubscriptionsSequenceType$inboundSchema.default("oneoff")),
|
|
71872
|
-
subscriptionId: nullableType(stringType()).optional(),
|
|
71267
|
+
])),
|
|
71268
|
+
webhookUrl: stringType(),
|
|
71269
|
+
customerId: stringType(),
|
|
71873
71270
|
mandateId: nullableType(stringType()).optional(),
|
|
71874
|
-
customerId: nullableType(stringType()).optional(),
|
|
71875
|
-
profileId: stringType(),
|
|
71876
|
-
settlementId: nullableType(stringType()).optional(),
|
|
71877
|
-
orderId: nullableType(stringType()).optional(),
|
|
71878
|
-
status: ListAllSubscriptionsStatus$inboundSchema,
|
|
71879
|
-
statusReason: nullableType(lazyType(() => ListAllSubscriptionsStatusReason$inboundSchema)).optional(),
|
|
71880
|
-
isCancelable: nullableType(booleanType()).optional(),
|
|
71881
|
-
details: nullableType(recordType(anyType())).optional(),
|
|
71882
71271
|
createdAt: stringType(),
|
|
71883
|
-
authorizedAt: nullableType(stringType()).optional(),
|
|
71884
|
-
paidAt: nullableType(stringType()).optional(),
|
|
71885
71272
|
canceledAt: nullableType(stringType()).optional(),
|
|
71886
|
-
|
|
71887
|
-
expiredAt: nullableType(stringType()).optional(),
|
|
71888
|
-
failedAt: nullableType(stringType()).optional(),
|
|
71889
|
-
_links: lazyType(() => ListAllSubscriptionsPaymentLinks$inboundSchema)
|
|
71273
|
+
_links: lazyType(() => ListAllSubscriptionsSubscriptionLinks$inboundSchema).optional()
|
|
71890
71274
|
}).transform((v2) => {
|
|
71891
71275
|
return remap(v2, {
|
|
71892
71276
|
_links: "links"
|
|
71893
71277
|
});
|
|
71894
71278
|
});
|
|
71895
|
-
|
|
71896
|
-
resource: stringType(),
|
|
71279
|
+
ListAllSubscriptionsSubscription$outboundSchema = objectType({
|
|
71280
|
+
resource: stringType().default("subscription"),
|
|
71897
71281
|
id: stringType(),
|
|
71898
71282
|
mode: ListAllSubscriptionsMode$outboundSchema,
|
|
71899
|
-
|
|
71283
|
+
status: ListAllSubscriptionsStatus$outboundSchema,
|
|
71900
71284
|
amount: lazyType(() => ListAllSubscriptionsAmount$outboundSchema),
|
|
71901
|
-
|
|
71902
|
-
|
|
71903
|
-
|
|
71904
|
-
|
|
71905
|
-
|
|
71906
|
-
|
|
71907
|
-
|
|
71908
|
-
|
|
71909
|
-
lines: nullableType(arrayType(lazyType(() => ListAllSubscriptionsLine$outboundSchema))).optional(),
|
|
71910
|
-
billingAddress: lazyType(() => ListAllSubscriptionsBillingAddress$outboundSchema).optional(),
|
|
71911
|
-
shippingAddress: lazyType(() => ListAllSubscriptionsShippingAddress$outboundSchema).optional(),
|
|
71912
|
-
locale: nullableType(ListAllSubscriptionsLocale$outboundSchema).optional(),
|
|
71913
|
-
countryCode: nullableType(stringType()).optional(),
|
|
71914
|
-
method: nullableType(ListAllSubscriptionsMethod$outboundSchema).optional(),
|
|
71915
|
-
restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
|
|
71285
|
+
times: nullableType(numberType().int()),
|
|
71286
|
+
timesRemaining: numberType().int(),
|
|
71287
|
+
interval: ListAllSubscriptionsInterval$outboundSchema,
|
|
71288
|
+
startDate: stringType(),
|
|
71289
|
+
nextPaymentDate: nullableType(stringType()).optional(),
|
|
71290
|
+
description: stringType(),
|
|
71291
|
+
method: nullableType(ListAllSubscriptionsMethod$outboundSchema),
|
|
71292
|
+
applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$outboundSchema).optional(),
|
|
71916
71293
|
metadata: nullableType(unionType([
|
|
71917
71294
|
lazyType(() => ListAllSubscriptionsMetadata$outboundSchema),
|
|
71918
71295
|
stringType(),
|
|
71919
71296
|
arrayType(stringType())
|
|
71920
|
-
]))
|
|
71921
|
-
|
|
71922
|
-
|
|
71923
|
-
captureBefore: nullableType(stringType()).optional(),
|
|
71924
|
-
applicationFee: nullableType(lazyType(() => ListAllSubscriptionsApplicationFee$outboundSchema)).optional(),
|
|
71925
|
-
routing: nullableType(arrayType(lazyType(() => ListAllSubscriptionsRouting$outboundSchema))).optional(),
|
|
71926
|
-
sequenceType: nullableType(ListAllSubscriptionsSequenceType$outboundSchema.default("oneoff")),
|
|
71927
|
-
subscriptionId: nullableType(stringType()).optional(),
|
|
71297
|
+
])),
|
|
71298
|
+
webhookUrl: stringType(),
|
|
71299
|
+
customerId: stringType(),
|
|
71928
71300
|
mandateId: nullableType(stringType()).optional(),
|
|
71929
|
-
customerId: nullableType(stringType()).optional(),
|
|
71930
|
-
profileId: stringType(),
|
|
71931
|
-
settlementId: nullableType(stringType()).optional(),
|
|
71932
|
-
orderId: nullableType(stringType()).optional(),
|
|
71933
|
-
status: ListAllSubscriptionsStatus$outboundSchema,
|
|
71934
|
-
statusReason: nullableType(lazyType(() => ListAllSubscriptionsStatusReason$outboundSchema)).optional(),
|
|
71935
|
-
isCancelable: nullableType(booleanType()).optional(),
|
|
71936
|
-
details: nullableType(recordType(anyType())).optional(),
|
|
71937
71301
|
createdAt: stringType(),
|
|
71938
|
-
authorizedAt: nullableType(stringType()).optional(),
|
|
71939
|
-
paidAt: nullableType(stringType()).optional(),
|
|
71940
71302
|
canceledAt: nullableType(stringType()).optional(),
|
|
71941
|
-
|
|
71942
|
-
expiredAt: nullableType(stringType()).optional(),
|
|
71943
|
-
failedAt: nullableType(stringType()).optional(),
|
|
71944
|
-
links: lazyType(() => ListAllSubscriptionsPaymentLinks$outboundSchema)
|
|
71303
|
+
links: lazyType(() => ListAllSubscriptionsSubscriptionLinks$outboundSchema).optional()
|
|
71945
71304
|
}).transform((v2) => {
|
|
71946
71305
|
return remap(v2, {
|
|
71947
71306
|
links: "_links"
|
|
71948
71307
|
});
|
|
71949
71308
|
});
|
|
71950
|
-
((
|
|
71951
|
-
|
|
71952
|
-
|
|
71953
|
-
})(
|
|
71309
|
+
((ListAllSubscriptionsSubscription$) => {
|
|
71310
|
+
ListAllSubscriptionsSubscription$.inboundSchema = ListAllSubscriptionsSubscription$inboundSchema;
|
|
71311
|
+
ListAllSubscriptionsSubscription$.outboundSchema = ListAllSubscriptionsSubscription$outboundSchema;
|
|
71312
|
+
})(ListAllSubscriptionsSubscription$ ||= {});
|
|
71954
71313
|
ListAllSubscriptionsEmbedded$inboundSchema = objectType({
|
|
71955
|
-
|
|
71314
|
+
subscriptions: arrayType(lazyType(() => ListAllSubscriptionsSubscription$inboundSchema)).optional()
|
|
71956
71315
|
});
|
|
71957
71316
|
ListAllSubscriptionsEmbedded$outboundSchema = objectType({
|
|
71958
|
-
|
|
71317
|
+
subscriptions: arrayType(lazyType(() => ListAllSubscriptionsSubscription$outboundSchema)).optional()
|
|
71959
71318
|
});
|
|
71960
71319
|
((ListAllSubscriptionsEmbedded$) => {
|
|
71961
71320
|
ListAllSubscriptionsEmbedded$.inboundSchema = ListAllSubscriptionsEmbedded$inboundSchema;
|
|
@@ -76024,20 +75383,20 @@ var init_listcustomers = __esm(() => {
|
|
|
76024
75383
|
CustomerDocumentation$.outboundSchema = CustomerDocumentation$outboundSchema;
|
|
76025
75384
|
})(CustomerDocumentation$ ||= {});
|
|
76026
75385
|
CustomerLinks$inboundSchema = objectType({
|
|
76027
|
-
self: lazyType(() => CustomerSelf$inboundSchema)
|
|
76028
|
-
dashboard: lazyType(() => ListCustomersDashboard$inboundSchema)
|
|
75386
|
+
self: lazyType(() => CustomerSelf$inboundSchema),
|
|
75387
|
+
dashboard: lazyType(() => ListCustomersDashboard$inboundSchema),
|
|
76029
75388
|
payments: nullableType(lazyType(() => ListCustomersPayments$inboundSchema)).optional(),
|
|
76030
75389
|
mandates: nullableType(lazyType(() => ListCustomersMandates$inboundSchema)).optional(),
|
|
76031
75390
|
subscriptions: nullableType(lazyType(() => ListCustomersSubscriptions$inboundSchema)).optional(),
|
|
76032
|
-
documentation: lazyType(() => CustomerDocumentation$inboundSchema)
|
|
75391
|
+
documentation: lazyType(() => CustomerDocumentation$inboundSchema)
|
|
76033
75392
|
});
|
|
76034
75393
|
CustomerLinks$outboundSchema = objectType({
|
|
76035
|
-
self: lazyType(() => CustomerSelf$outboundSchema)
|
|
76036
|
-
dashboard: lazyType(() => ListCustomersDashboard$outboundSchema)
|
|
75394
|
+
self: lazyType(() => CustomerSelf$outboundSchema),
|
|
75395
|
+
dashboard: lazyType(() => ListCustomersDashboard$outboundSchema),
|
|
76037
75396
|
payments: nullableType(lazyType(() => ListCustomersPayments$outboundSchema)).optional(),
|
|
76038
75397
|
mandates: nullableType(lazyType(() => ListCustomersMandates$outboundSchema)).optional(),
|
|
76039
75398
|
subscriptions: nullableType(lazyType(() => ListCustomersSubscriptions$outboundSchema)).optional(),
|
|
76040
|
-
documentation: lazyType(() => CustomerDocumentation$outboundSchema)
|
|
75399
|
+
documentation: lazyType(() => CustomerDocumentation$outboundSchema)
|
|
76041
75400
|
});
|
|
76042
75401
|
((CustomerLinks$) => {
|
|
76043
75402
|
CustomerLinks$.inboundSchema = CustomerLinks$inboundSchema;
|
|
@@ -76045,18 +75404,18 @@ var init_listcustomers = __esm(() => {
|
|
|
76045
75404
|
})(CustomerLinks$ ||= {});
|
|
76046
75405
|
ListCustomersCustomer$inboundSchema = objectType({
|
|
76047
75406
|
resource: stringType().default("customer"),
|
|
76048
|
-
id: stringType()
|
|
76049
|
-
mode: ListCustomersMode$inboundSchema
|
|
76050
|
-
name: nullableType(stringType())
|
|
76051
|
-
email: nullableType(stringType())
|
|
76052
|
-
locale: nullableType(ListCustomersLocale$inboundSchema)
|
|
75407
|
+
id: stringType(),
|
|
75408
|
+
mode: ListCustomersMode$inboundSchema,
|
|
75409
|
+
name: nullableType(stringType()),
|
|
75410
|
+
email: nullableType(stringType()),
|
|
75411
|
+
locale: nullableType(ListCustomersLocale$inboundSchema),
|
|
76053
75412
|
metadata: nullableType(unionType([
|
|
76054
75413
|
lazyType(() => ListCustomersMetadata$inboundSchema),
|
|
76055
75414
|
stringType(),
|
|
76056
75415
|
arrayType(stringType())
|
|
76057
|
-
]))
|
|
76058
|
-
createdAt: stringType()
|
|
76059
|
-
_links: lazyType(() => CustomerLinks$inboundSchema)
|
|
75416
|
+
])),
|
|
75417
|
+
createdAt: stringType(),
|
|
75418
|
+
_links: lazyType(() => CustomerLinks$inboundSchema)
|
|
76060
75419
|
}).transform((v2) => {
|
|
76061
75420
|
return remap(v2, {
|
|
76062
75421
|
_links: "links"
|
|
@@ -76064,18 +75423,18 @@ var init_listcustomers = __esm(() => {
|
|
|
76064
75423
|
});
|
|
76065
75424
|
ListCustomersCustomer$outboundSchema = objectType({
|
|
76066
75425
|
resource: stringType().default("customer"),
|
|
76067
|
-
id: stringType()
|
|
76068
|
-
mode: ListCustomersMode$outboundSchema
|
|
76069
|
-
name: nullableType(stringType())
|
|
76070
|
-
email: nullableType(stringType())
|
|
76071
|
-
locale: nullableType(ListCustomersLocale$outboundSchema)
|
|
75426
|
+
id: stringType(),
|
|
75427
|
+
mode: ListCustomersMode$outboundSchema,
|
|
75428
|
+
name: nullableType(stringType()),
|
|
75429
|
+
email: nullableType(stringType()),
|
|
75430
|
+
locale: nullableType(ListCustomersLocale$outboundSchema),
|
|
76072
75431
|
metadata: nullableType(unionType([
|
|
76073
75432
|
lazyType(() => ListCustomersMetadata$outboundSchema),
|
|
76074
75433
|
stringType(),
|
|
76075
75434
|
arrayType(stringType())
|
|
76076
|
-
]))
|
|
76077
|
-
createdAt: stringType()
|
|
76078
|
-
links: lazyType(() => CustomerLinks$outboundSchema)
|
|
75435
|
+
])),
|
|
75436
|
+
createdAt: stringType(),
|
|
75437
|
+
links: lazyType(() => CustomerLinks$outboundSchema)
|
|
76079
75438
|
}).transform((v2) => {
|
|
76080
75439
|
return remap(v2, {
|
|
76081
75440
|
links: "_links"
|
|
@@ -76560,14 +75919,14 @@ var init_listmandates = __esm(() => {
|
|
|
76560
75919
|
MandateDocumentation$.outboundSchema = MandateDocumentation$outboundSchema;
|
|
76561
75920
|
})(MandateDocumentation$ ||= {});
|
|
76562
75921
|
MandateLinks$inboundSchema = objectType({
|
|
76563
|
-
self: lazyType(() => MandateSelf$inboundSchema)
|
|
76564
|
-
customer: lazyType(() => ListMandatesCustomer$inboundSchema)
|
|
76565
|
-
documentation: lazyType(() => MandateDocumentation$inboundSchema)
|
|
75922
|
+
self: lazyType(() => MandateSelf$inboundSchema),
|
|
75923
|
+
customer: lazyType(() => ListMandatesCustomer$inboundSchema),
|
|
75924
|
+
documentation: lazyType(() => MandateDocumentation$inboundSchema)
|
|
76566
75925
|
});
|
|
76567
75926
|
MandateLinks$outboundSchema = objectType({
|
|
76568
|
-
self: lazyType(() => MandateSelf$outboundSchema)
|
|
76569
|
-
customer: lazyType(() => ListMandatesCustomer$outboundSchema)
|
|
76570
|
-
documentation: lazyType(() => MandateDocumentation$outboundSchema)
|
|
75927
|
+
self: lazyType(() => MandateSelf$outboundSchema),
|
|
75928
|
+
customer: lazyType(() => ListMandatesCustomer$outboundSchema),
|
|
75929
|
+
documentation: lazyType(() => MandateDocumentation$outboundSchema)
|
|
76571
75930
|
});
|
|
76572
75931
|
((MandateLinks$) => {
|
|
76573
75932
|
MandateLinks$.inboundSchema = MandateLinks$inboundSchema;
|
|
@@ -76575,16 +75934,16 @@ var init_listmandates = __esm(() => {
|
|
|
76575
75934
|
})(MandateLinks$ ||= {});
|
|
76576
75935
|
ListMandatesMandate$inboundSchema = objectType({
|
|
76577
75936
|
resource: stringType().default("mandate"),
|
|
76578
|
-
id: stringType()
|
|
76579
|
-
mode: ListMandatesMode$inboundSchema
|
|
76580
|
-
method: ListMandatesMethod$inboundSchema
|
|
76581
|
-
details: lazyType(() => ListMandatesDetails$inboundSchema)
|
|
76582
|
-
signatureDate: nullableType(stringType())
|
|
76583
|
-
mandateReference: nullableType(stringType())
|
|
76584
|
-
status: ListMandatesStatus$inboundSchema
|
|
76585
|
-
customerId: stringType()
|
|
76586
|
-
createdAt: stringType()
|
|
76587
|
-
_links: lazyType(() => MandateLinks$inboundSchema)
|
|
75937
|
+
id: stringType(),
|
|
75938
|
+
mode: ListMandatesMode$inboundSchema,
|
|
75939
|
+
method: ListMandatesMethod$inboundSchema,
|
|
75940
|
+
details: lazyType(() => ListMandatesDetails$inboundSchema),
|
|
75941
|
+
signatureDate: nullableType(stringType()),
|
|
75942
|
+
mandateReference: nullableType(stringType()),
|
|
75943
|
+
status: ListMandatesStatus$inboundSchema,
|
|
75944
|
+
customerId: stringType(),
|
|
75945
|
+
createdAt: stringType(),
|
|
75946
|
+
_links: lazyType(() => MandateLinks$inboundSchema)
|
|
76588
75947
|
}).transform((v2) => {
|
|
76589
75948
|
return remap(v2, {
|
|
76590
75949
|
_links: "links"
|
|
@@ -76592,16 +75951,16 @@ var init_listmandates = __esm(() => {
|
|
|
76592
75951
|
});
|
|
76593
75952
|
ListMandatesMandate$outboundSchema = objectType({
|
|
76594
75953
|
resource: stringType().default("mandate"),
|
|
76595
|
-
id: stringType()
|
|
76596
|
-
mode: ListMandatesMode$outboundSchema
|
|
76597
|
-
method: ListMandatesMethod$outboundSchema
|
|
76598
|
-
details: lazyType(() => ListMandatesDetails$outboundSchema)
|
|
76599
|
-
signatureDate: nullableType(stringType())
|
|
76600
|
-
mandateReference: nullableType(stringType())
|
|
76601
|
-
status: ListMandatesStatus$outboundSchema
|
|
76602
|
-
customerId: stringType()
|
|
76603
|
-
createdAt: stringType()
|
|
76604
|
-
links: lazyType(() => MandateLinks$outboundSchema)
|
|
75954
|
+
id: stringType(),
|
|
75955
|
+
mode: ListMandatesMode$outboundSchema,
|
|
75956
|
+
method: ListMandatesMethod$outboundSchema,
|
|
75957
|
+
details: lazyType(() => ListMandatesDetails$outboundSchema),
|
|
75958
|
+
signatureDate: nullableType(stringType()),
|
|
75959
|
+
mandateReference: nullableType(stringType()),
|
|
75960
|
+
status: ListMandatesStatus$outboundSchema,
|
|
75961
|
+
customerId: stringType(),
|
|
75962
|
+
createdAt: stringType(),
|
|
75963
|
+
links: lazyType(() => MandateLinks$outboundSchema)
|
|
76605
75964
|
}).transform((v2) => {
|
|
76606
75965
|
return remap(v2, {
|
|
76607
75966
|
links: "_links"
|
|
@@ -79184,11 +78543,11 @@ var init_listprofiles = __esm(() => {
|
|
|
79184
78543
|
});
|
|
79185
78544
|
|
|
79186
78545
|
// src/models/operations/listrefunds.ts
|
|
79187
|
-
var
|
|
78546
|
+
var ListRefundsEmbed, ListRefundsMode, ListRefundsStatus, ListRefundsType, ListRefundsEmbed$inboundSchema, ListRefundsEmbed$outboundSchema, ListRefundsEmbed$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsNotFoundDocumentation$inboundSchema, ListRefundsNotFoundDocumentation$outboundSchema, ListRefundsNotFoundDocumentation$, ListRefundsNotFoundLinks$inboundSchema, ListRefundsNotFoundLinks$outboundSchema, ListRefundsNotFoundLinks$, ListRefundsBadRequestDocumentation$inboundSchema, ListRefundsBadRequestDocumentation$outboundSchema, ListRefundsBadRequestDocumentation$, ListRefundsBadRequestLinks$inboundSchema, ListRefundsBadRequestLinks$outboundSchema, ListRefundsBadRequestLinks$, ListRefundsMode$inboundSchema, ListRefundsMode$outboundSchema, ListRefundsMode$, ListRefundsAmount$inboundSchema, ListRefundsAmount$outboundSchema, ListRefundsAmount$, ListRefundsSettlementAmount$inboundSchema, ListRefundsSettlementAmount$outboundSchema, ListRefundsSettlementAmount$, ListRefundsMetadata$inboundSchema, ListRefundsMetadata$outboundSchema, ListRefundsMetadata$, ListRefundsMetadataUnion$inboundSchema, ListRefundsMetadataUnion$outboundSchema, ListRefundsMetadataUnion$, ListRefundsStatus$inboundSchema, ListRefundsStatus$outboundSchema, ListRefundsStatus$, ListRefundsType$inboundSchema, ListRefundsType$outboundSchema, ListRefundsType$, ListRefundsExternalReference$inboundSchema, ListRefundsExternalReference$outboundSchema, ListRefundsExternalReference$, ListRefundsRoutingReversalAmount$inboundSchema, ListRefundsRoutingReversalAmount$outboundSchema, ListRefundsRoutingReversalAmount$, ListRefundsSource$inboundSchema, ListRefundsSource$outboundSchema, ListRefundsSource$, ListRefundsRoutingReversal$inboundSchema, ListRefundsRoutingReversal$outboundSchema, ListRefundsRoutingReversal$, ListRefundsRefundSelf$inboundSchema, ListRefundsRefundSelf$outboundSchema, ListRefundsRefundSelf$, ListRefundsPayment$inboundSchema, ListRefundsPayment$outboundSchema, ListRefundsPayment$, ListRefundsSettlement$inboundSchema, ListRefundsSettlement$outboundSchema, ListRefundsSettlement$, ListRefundsRefundDocumentation$inboundSchema, ListRefundsRefundDocumentation$outboundSchema, ListRefundsRefundDocumentation$, ListRefundsRefundLinks$inboundSchema, ListRefundsRefundLinks$outboundSchema, ListRefundsRefundLinks$, ListRefundsRefund$inboundSchema, ListRefundsRefund$outboundSchema, ListRefundsRefund$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsSelf$inboundSchema, ListRefundsSelf$outboundSchema, ListRefundsSelf$, ListRefundsPrevious$inboundSchema, ListRefundsPrevious$outboundSchema, ListRefundsPrevious$, ListRefundsNext$inboundSchema, ListRefundsNext$outboundSchema, ListRefundsNext$, ListRefundsDocumentation$inboundSchema, ListRefundsDocumentation$outboundSchema, ListRefundsDocumentation$, ListRefundsLinks$inboundSchema, ListRefundsLinks$outboundSchema, ListRefundsLinks$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
|
|
79188
78547
|
var init_listrefunds = __esm(() => {
|
|
79189
78548
|
init_esm();
|
|
79190
78549
|
init_primitives();
|
|
79191
|
-
|
|
78550
|
+
ListRefundsEmbed = {
|
|
79192
78551
|
Payment: "payment"
|
|
79193
78552
|
};
|
|
79194
78553
|
ListRefundsMode = {
|
|
@@ -79206,24 +78565,24 @@ var init_listrefunds = __esm(() => {
|
|
|
79206
78565
|
ListRefundsType = {
|
|
79207
78566
|
AcquirerReference: "acquirer-reference"
|
|
79208
78567
|
};
|
|
79209
|
-
|
|
79210
|
-
|
|
79211
|
-
((
|
|
79212
|
-
|
|
79213
|
-
|
|
79214
|
-
})(
|
|
78568
|
+
ListRefundsEmbed$inboundSchema = nativeEnumType(ListRefundsEmbed);
|
|
78569
|
+
ListRefundsEmbed$outboundSchema = ListRefundsEmbed$inboundSchema;
|
|
78570
|
+
((ListRefundsEmbed$) => {
|
|
78571
|
+
ListRefundsEmbed$.inboundSchema = ListRefundsEmbed$inboundSchema;
|
|
78572
|
+
ListRefundsEmbed$.outboundSchema = ListRefundsEmbed$outboundSchema;
|
|
78573
|
+
})(ListRefundsEmbed$ ||= {});
|
|
79215
78574
|
ListRefundsRequest$inboundSchema = objectType({
|
|
79216
78575
|
paymentId: stringType(),
|
|
79217
78576
|
from: stringType().optional(),
|
|
79218
78577
|
limit: nullableType(numberType().int().default(50)),
|
|
79219
|
-
|
|
78578
|
+
embed: ListRefundsEmbed$inboundSchema.optional(),
|
|
79220
78579
|
testmode: nullableType(booleanType()).optional()
|
|
79221
78580
|
});
|
|
79222
78581
|
ListRefundsRequest$outboundSchema = objectType({
|
|
79223
78582
|
paymentId: stringType(),
|
|
79224
78583
|
from: stringType().optional(),
|
|
79225
78584
|
limit: nullableType(numberType().int().default(50)),
|
|
79226
|
-
|
|
78585
|
+
embed: ListRefundsEmbed$outboundSchema.optional(),
|
|
79227
78586
|
testmode: nullableType(booleanType()).optional()
|
|
79228
78587
|
});
|
|
79229
78588
|
((ListRefundsRequest$) => {
|
|
@@ -79431,23 +78790,23 @@ var init_listrefunds = __esm(() => {
|
|
|
79431
78790
|
ListRefundsRefundDocumentation$.outboundSchema = ListRefundsRefundDocumentation$outboundSchema;
|
|
79432
78791
|
})(ListRefundsRefundDocumentation$ ||= {});
|
|
79433
78792
|
ListRefundsRefundLinks$inboundSchema = objectType({
|
|
79434
|
-
self: lazyType(() => ListRefundsRefundSelf$inboundSchema)
|
|
79435
|
-
payment: lazyType(() => ListRefundsPayment$inboundSchema)
|
|
78793
|
+
self: lazyType(() => ListRefundsRefundSelf$inboundSchema),
|
|
78794
|
+
payment: lazyType(() => ListRefundsPayment$inboundSchema),
|
|
79436
78795
|
settlement: nullableType(lazyType(() => ListRefundsSettlement$inboundSchema)).optional(),
|
|
79437
|
-
documentation: lazyType(() => ListRefundsRefundDocumentation$inboundSchema)
|
|
78796
|
+
documentation: lazyType(() => ListRefundsRefundDocumentation$inboundSchema)
|
|
79438
78797
|
});
|
|
79439
78798
|
ListRefundsRefundLinks$outboundSchema = objectType({
|
|
79440
|
-
self: lazyType(() => ListRefundsRefundSelf$outboundSchema)
|
|
79441
|
-
payment: lazyType(() => ListRefundsPayment$outboundSchema)
|
|
78799
|
+
self: lazyType(() => ListRefundsRefundSelf$outboundSchema),
|
|
78800
|
+
payment: lazyType(() => ListRefundsPayment$outboundSchema),
|
|
79442
78801
|
settlement: nullableType(lazyType(() => ListRefundsSettlement$outboundSchema)).optional(),
|
|
79443
|
-
documentation: lazyType(() => ListRefundsRefundDocumentation$outboundSchema)
|
|
78802
|
+
documentation: lazyType(() => ListRefundsRefundDocumentation$outboundSchema)
|
|
79444
78803
|
});
|
|
79445
78804
|
((ListRefundsRefundLinks$) => {
|
|
79446
78805
|
ListRefundsRefundLinks$.inboundSchema = ListRefundsRefundLinks$inboundSchema;
|
|
79447
78806
|
ListRefundsRefundLinks$.outboundSchema = ListRefundsRefundLinks$outboundSchema;
|
|
79448
78807
|
})(ListRefundsRefundLinks$ ||= {});
|
|
79449
78808
|
ListRefundsRefund$inboundSchema = objectType({
|
|
79450
|
-
resource: stringType().
|
|
78809
|
+
resource: stringType().optional(),
|
|
79451
78810
|
id: stringType().optional(),
|
|
79452
78811
|
mode: ListRefundsMode$inboundSchema.optional(),
|
|
79453
78812
|
description: stringType().optional(),
|
|
@@ -79471,7 +78830,7 @@ var init_listrefunds = __esm(() => {
|
|
|
79471
78830
|
});
|
|
79472
78831
|
});
|
|
79473
78832
|
ListRefundsRefund$outboundSchema = objectType({
|
|
79474
|
-
resource: stringType().
|
|
78833
|
+
resource: stringType().optional(),
|
|
79475
78834
|
id: stringType().optional(),
|
|
79476
78835
|
mode: ListRefundsMode$outboundSchema.optional(),
|
|
79477
78836
|
description: stringType().optional(),
|
|
@@ -81916,11 +81275,11 @@ var init_listsettlementpayments = __esm(() => {
|
|
|
81916
81275
|
});
|
|
81917
81276
|
|
|
81918
81277
|
// src/models/operations/listsettlementrefunds.ts
|
|
81919
|
-
var
|
|
81278
|
+
var ListSettlementRefundsEmbed, ListSettlementRefundsMode, ListSettlementRefundsStatus, ListSettlementRefundsType, ListSettlementRefundsEmbed$inboundSchema, ListSettlementRefundsEmbed$outboundSchema, ListSettlementRefundsEmbed$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsNotFoundDocumentation$inboundSchema, ListSettlementRefundsNotFoundDocumentation$outboundSchema, ListSettlementRefundsNotFoundDocumentation$, ListSettlementRefundsNotFoundLinks$inboundSchema, ListSettlementRefundsNotFoundLinks$outboundSchema, ListSettlementRefundsNotFoundLinks$, ListSettlementRefundsBadRequestDocumentation$inboundSchema, ListSettlementRefundsBadRequestDocumentation$outboundSchema, ListSettlementRefundsBadRequestDocumentation$, ListSettlementRefundsBadRequestLinks$inboundSchema, ListSettlementRefundsBadRequestLinks$outboundSchema, ListSettlementRefundsBadRequestLinks$, ListSettlementRefundsMode$inboundSchema, ListSettlementRefundsMode$outboundSchema, ListSettlementRefundsMode$, ListSettlementRefundsAmount$inboundSchema, ListSettlementRefundsAmount$outboundSchema, ListSettlementRefundsAmount$, ListSettlementRefundsSettlementAmount$inboundSchema, ListSettlementRefundsSettlementAmount$outboundSchema, ListSettlementRefundsSettlementAmount$, ListSettlementRefundsMetadata$inboundSchema, ListSettlementRefundsMetadata$outboundSchema, ListSettlementRefundsMetadata$, ListSettlementRefundsMetadataUnion$inboundSchema, ListSettlementRefundsMetadataUnion$outboundSchema, ListSettlementRefundsMetadataUnion$, ListSettlementRefundsStatus$inboundSchema, ListSettlementRefundsStatus$outboundSchema, ListSettlementRefundsStatus$, ListSettlementRefundsType$inboundSchema, ListSettlementRefundsType$outboundSchema, ListSettlementRefundsType$, ListSettlementRefundsExternalReference$inboundSchema, ListSettlementRefundsExternalReference$outboundSchema, ListSettlementRefundsExternalReference$, ListSettlementRefundsRoutingReversalAmount$inboundSchema, ListSettlementRefundsRoutingReversalAmount$outboundSchema, ListSettlementRefundsRoutingReversalAmount$, ListSettlementRefundsSource$inboundSchema, ListSettlementRefundsSource$outboundSchema, ListSettlementRefundsSource$, ListSettlementRefundsRoutingReversal$inboundSchema, ListSettlementRefundsRoutingReversal$outboundSchema, ListSettlementRefundsRoutingReversal$, ListSettlementRefundsRefundSelf$inboundSchema, ListSettlementRefundsRefundSelf$outboundSchema, ListSettlementRefundsRefundSelf$, ListSettlementRefundsPayment$inboundSchema, ListSettlementRefundsPayment$outboundSchema, ListSettlementRefundsPayment$, ListSettlementRefundsSettlement$inboundSchema, ListSettlementRefundsSettlement$outboundSchema, ListSettlementRefundsSettlement$, ListSettlementRefundsRefundDocumentation$inboundSchema, ListSettlementRefundsRefundDocumentation$outboundSchema, ListSettlementRefundsRefundDocumentation$, ListSettlementRefundsRefundLinks$inboundSchema, ListSettlementRefundsRefundLinks$outboundSchema, ListSettlementRefundsRefundLinks$, ListSettlementRefundsRefund$inboundSchema, ListSettlementRefundsRefund$outboundSchema, ListSettlementRefundsRefund$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsSelf$inboundSchema, ListSettlementRefundsSelf$outboundSchema, ListSettlementRefundsSelf$, ListSettlementRefundsPrevious$inboundSchema, ListSettlementRefundsPrevious$outboundSchema, ListSettlementRefundsPrevious$, ListSettlementRefundsNext$inboundSchema, ListSettlementRefundsNext$outboundSchema, ListSettlementRefundsNext$, ListSettlementRefundsDocumentation$inboundSchema, ListSettlementRefundsDocumentation$outboundSchema, ListSettlementRefundsDocumentation$, ListSettlementRefundsLinks$inboundSchema, ListSettlementRefundsLinks$outboundSchema, ListSettlementRefundsLinks$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
|
|
81920
81279
|
var init_listsettlementrefunds = __esm(() => {
|
|
81921
81280
|
init_esm();
|
|
81922
81281
|
init_primitives();
|
|
81923
|
-
|
|
81282
|
+
ListSettlementRefundsEmbed = {
|
|
81924
81283
|
Payment: "payment"
|
|
81925
81284
|
};
|
|
81926
81285
|
ListSettlementRefundsMode = {
|
|
@@ -81938,24 +81297,24 @@ var init_listsettlementrefunds = __esm(() => {
|
|
|
81938
81297
|
ListSettlementRefundsType = {
|
|
81939
81298
|
AcquirerReference: "acquirer-reference"
|
|
81940
81299
|
};
|
|
81941
|
-
|
|
81942
|
-
|
|
81943
|
-
((
|
|
81944
|
-
|
|
81945
|
-
|
|
81946
|
-
})(
|
|
81300
|
+
ListSettlementRefundsEmbed$inboundSchema = nativeEnumType(ListSettlementRefundsEmbed);
|
|
81301
|
+
ListSettlementRefundsEmbed$outboundSchema = ListSettlementRefundsEmbed$inboundSchema;
|
|
81302
|
+
((ListSettlementRefundsEmbed$) => {
|
|
81303
|
+
ListSettlementRefundsEmbed$.inboundSchema = ListSettlementRefundsEmbed$inboundSchema;
|
|
81304
|
+
ListSettlementRefundsEmbed$.outboundSchema = ListSettlementRefundsEmbed$outboundSchema;
|
|
81305
|
+
})(ListSettlementRefundsEmbed$ ||= {});
|
|
81947
81306
|
ListSettlementRefundsRequest$inboundSchema = objectType({
|
|
81948
81307
|
settlementId: stringType(),
|
|
81949
81308
|
from: stringType().optional(),
|
|
81950
81309
|
limit: nullableType(numberType().int().default(50)),
|
|
81951
|
-
|
|
81310
|
+
embed: ListSettlementRefundsEmbed$inboundSchema.optional(),
|
|
81952
81311
|
testmode: nullableType(booleanType()).optional()
|
|
81953
81312
|
});
|
|
81954
81313
|
ListSettlementRefundsRequest$outboundSchema = objectType({
|
|
81955
81314
|
settlementId: stringType(),
|
|
81956
81315
|
from: stringType().optional(),
|
|
81957
81316
|
limit: nullableType(numberType().int().default(50)),
|
|
81958
|
-
|
|
81317
|
+
embed: ListSettlementRefundsEmbed$outboundSchema.optional(),
|
|
81959
81318
|
testmode: nullableType(booleanType()).optional()
|
|
81960
81319
|
});
|
|
81961
81320
|
((ListSettlementRefundsRequest$) => {
|
|
@@ -82163,23 +81522,23 @@ var init_listsettlementrefunds = __esm(() => {
|
|
|
82163
81522
|
ListSettlementRefundsRefundDocumentation$.outboundSchema = ListSettlementRefundsRefundDocumentation$outboundSchema;
|
|
82164
81523
|
})(ListSettlementRefundsRefundDocumentation$ ||= {});
|
|
82165
81524
|
ListSettlementRefundsRefundLinks$inboundSchema = objectType({
|
|
82166
|
-
self: lazyType(() => ListSettlementRefundsRefundSelf$inboundSchema)
|
|
82167
|
-
payment: lazyType(() => ListSettlementRefundsPayment$inboundSchema)
|
|
81525
|
+
self: lazyType(() => ListSettlementRefundsRefundSelf$inboundSchema),
|
|
81526
|
+
payment: lazyType(() => ListSettlementRefundsPayment$inboundSchema),
|
|
82168
81527
|
settlement: nullableType(lazyType(() => ListSettlementRefundsSettlement$inboundSchema)).optional(),
|
|
82169
|
-
documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$inboundSchema)
|
|
81528
|
+
documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$inboundSchema)
|
|
82170
81529
|
});
|
|
82171
81530
|
ListSettlementRefundsRefundLinks$outboundSchema = objectType({
|
|
82172
|
-
self: lazyType(() => ListSettlementRefundsRefundSelf$outboundSchema)
|
|
82173
|
-
payment: lazyType(() => ListSettlementRefundsPayment$outboundSchema)
|
|
81531
|
+
self: lazyType(() => ListSettlementRefundsRefundSelf$outboundSchema),
|
|
81532
|
+
payment: lazyType(() => ListSettlementRefundsPayment$outboundSchema),
|
|
82174
81533
|
settlement: nullableType(lazyType(() => ListSettlementRefundsSettlement$outboundSchema)).optional(),
|
|
82175
|
-
documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$outboundSchema)
|
|
81534
|
+
documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$outboundSchema)
|
|
82176
81535
|
});
|
|
82177
81536
|
((ListSettlementRefundsRefundLinks$) => {
|
|
82178
81537
|
ListSettlementRefundsRefundLinks$.inboundSchema = ListSettlementRefundsRefundLinks$inboundSchema;
|
|
82179
81538
|
ListSettlementRefundsRefundLinks$.outboundSchema = ListSettlementRefundsRefundLinks$outboundSchema;
|
|
82180
81539
|
})(ListSettlementRefundsRefundLinks$ ||= {});
|
|
82181
81540
|
ListSettlementRefundsRefund$inboundSchema = objectType({
|
|
82182
|
-
resource: stringType().
|
|
81541
|
+
resource: stringType().optional(),
|
|
82183
81542
|
id: stringType().optional(),
|
|
82184
81543
|
mode: ListSettlementRefundsMode$inboundSchema.optional(),
|
|
82185
81544
|
description: stringType().optional(),
|
|
@@ -82203,7 +81562,7 @@ var init_listsettlementrefunds = __esm(() => {
|
|
|
82203
81562
|
});
|
|
82204
81563
|
});
|
|
82205
81564
|
ListSettlementRefundsRefund$outboundSchema = objectType({
|
|
82206
|
-
resource: stringType().
|
|
81565
|
+
resource: stringType().optional(),
|
|
82207
81566
|
id: stringType().optional(),
|
|
82208
81567
|
mode: ListSettlementRefundsMode$outboundSchema.optional(),
|
|
82209
81568
|
description: stringType().optional(),
|
|
@@ -84057,7 +83416,7 @@ var init_listsubscriptionpayments = __esm(() => {
|
|
|
84057
83416
|
});
|
|
84058
83417
|
|
|
84059
83418
|
// src/models/operations/listsubscriptions.ts
|
|
84060
|
-
var ListSubscriptionsSort, ListSubscriptionsMode, ListSubscriptionsStatus, ListSubscriptionsInterval, ListSubscriptionsMethod, ListSubscriptionsSort$inboundSchema, ListSubscriptionsSort$outboundSchema, ListSubscriptionsSort$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsNotFoundDocumentation$inboundSchema, ListSubscriptionsNotFoundDocumentation$outboundSchema, ListSubscriptionsNotFoundDocumentation$, ListSubscriptionsNotFoundLinks$inboundSchema, ListSubscriptionsNotFoundLinks$outboundSchema, ListSubscriptionsNotFoundLinks$, ListSubscriptionsBadRequestDocumentation$inboundSchema, ListSubscriptionsBadRequestDocumentation$outboundSchema, ListSubscriptionsBadRequestDocumentation$, ListSubscriptionsBadRequestLinks$inboundSchema, ListSubscriptionsBadRequestLinks$outboundSchema, ListSubscriptionsBadRequestLinks$, ListSubscriptionsMode$inboundSchema, ListSubscriptionsMode$outboundSchema, ListSubscriptionsMode$, ListSubscriptionsStatus$inboundSchema, ListSubscriptionsStatus$outboundSchema, ListSubscriptionsStatus$, ListSubscriptionsAmount$inboundSchema, ListSubscriptionsAmount$outboundSchema, ListSubscriptionsAmount$, ListSubscriptionsInterval$inboundSchema, ListSubscriptionsInterval$outboundSchema, ListSubscriptionsInterval$, ListSubscriptionsMethod$inboundSchema, ListSubscriptionsMethod$outboundSchema, ListSubscriptionsMethod$, ListSubscriptionsApplicationFeeAmount$inboundSchema, ListSubscriptionsApplicationFeeAmount$outboundSchema, ListSubscriptionsApplicationFeeAmount$, ListSubscriptionsApplicationFee$inboundSchema, ListSubscriptionsApplicationFee$outboundSchema, ListSubscriptionsApplicationFee$, ListSubscriptionsMetadata$inboundSchema, ListSubscriptionsMetadata$outboundSchema, ListSubscriptionsMetadata$, ListSubscriptionsMetadataUnion$inboundSchema, ListSubscriptionsMetadataUnion$outboundSchema, ListSubscriptionsMetadataUnion$,
|
|
83419
|
+
var ListSubscriptionsSort, ListSubscriptionsMode, ListSubscriptionsStatus, ListSubscriptionsInterval, ListSubscriptionsMethod, ListSubscriptionsSort$inboundSchema, ListSubscriptionsSort$outboundSchema, ListSubscriptionsSort$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsNotFoundDocumentation$inboundSchema, ListSubscriptionsNotFoundDocumentation$outboundSchema, ListSubscriptionsNotFoundDocumentation$, ListSubscriptionsNotFoundLinks$inboundSchema, ListSubscriptionsNotFoundLinks$outboundSchema, ListSubscriptionsNotFoundLinks$, ListSubscriptionsBadRequestDocumentation$inboundSchema, ListSubscriptionsBadRequestDocumentation$outboundSchema, ListSubscriptionsBadRequestDocumentation$, ListSubscriptionsBadRequestLinks$inboundSchema, ListSubscriptionsBadRequestLinks$outboundSchema, ListSubscriptionsBadRequestLinks$, ListSubscriptionsMode$inboundSchema, ListSubscriptionsMode$outboundSchema, ListSubscriptionsMode$, ListSubscriptionsStatus$inboundSchema, ListSubscriptionsStatus$outboundSchema, ListSubscriptionsStatus$, ListSubscriptionsAmount$inboundSchema, ListSubscriptionsAmount$outboundSchema, ListSubscriptionsAmount$, ListSubscriptionsInterval$inboundSchema, ListSubscriptionsInterval$outboundSchema, ListSubscriptionsInterval$, ListSubscriptionsMethod$inboundSchema, ListSubscriptionsMethod$outboundSchema, ListSubscriptionsMethod$, ListSubscriptionsApplicationFeeAmount$inboundSchema, ListSubscriptionsApplicationFeeAmount$outboundSchema, ListSubscriptionsApplicationFeeAmount$, ListSubscriptionsApplicationFee$inboundSchema, ListSubscriptionsApplicationFee$outboundSchema, ListSubscriptionsApplicationFee$, ListSubscriptionsMetadata$inboundSchema, ListSubscriptionsMetadata$outboundSchema, ListSubscriptionsMetadata$, ListSubscriptionsMetadataUnion$inboundSchema, ListSubscriptionsMetadataUnion$outboundSchema, ListSubscriptionsMetadataUnion$, ListSubscriptionsSubscriptionSelf$inboundSchema, ListSubscriptionsSubscriptionSelf$outboundSchema, ListSubscriptionsSubscriptionSelf$, ListSubscriptionsCustomer$inboundSchema, ListSubscriptionsCustomer$outboundSchema, ListSubscriptionsCustomer$, ListSubscriptionsMandate$inboundSchema, ListSubscriptionsMandate$outboundSchema, ListSubscriptionsMandate$, ListSubscriptionsProfile$inboundSchema, ListSubscriptionsProfile$outboundSchema, ListSubscriptionsProfile$, ListSubscriptionsPayments$inboundSchema, ListSubscriptionsPayments$outboundSchema, ListSubscriptionsPayments$, ListSubscriptionsSubscriptionDocumentation$inboundSchema, ListSubscriptionsSubscriptionDocumentation$outboundSchema, ListSubscriptionsSubscriptionDocumentation$, ListSubscriptionsSubscriptionLinks$inboundSchema, ListSubscriptionsSubscriptionLinks$outboundSchema, ListSubscriptionsSubscriptionLinks$, ListSubscriptionsSubscription$inboundSchema, ListSubscriptionsSubscription$outboundSchema, ListSubscriptionsSubscription$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsSelf$inboundSchema, ListSubscriptionsSelf$outboundSchema, ListSubscriptionsSelf$, ListSubscriptionsPrevious$inboundSchema, ListSubscriptionsPrevious$outboundSchema, ListSubscriptionsPrevious$, ListSubscriptionsNext$inboundSchema, ListSubscriptionsNext$outboundSchema, ListSubscriptionsNext$, ListSubscriptionsDocumentation$inboundSchema, ListSubscriptionsDocumentation$outboundSchema, ListSubscriptionsDocumentation$, ListSubscriptionsLinks$inboundSchema, ListSubscriptionsLinks$outboundSchema, ListSubscriptionsLinks$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
|
|
84061
83420
|
var init_listsubscriptions = __esm(() => {
|
|
84062
83421
|
init_esm();
|
|
84063
83422
|
init_primitives();
|
|
@@ -84203,12 +83562,12 @@ var init_listsubscriptions = __esm(() => {
|
|
|
84203
83562
|
ListSubscriptionsApplicationFeeAmount$.outboundSchema = ListSubscriptionsApplicationFeeAmount$outboundSchema;
|
|
84204
83563
|
})(ListSubscriptionsApplicationFeeAmount$ ||= {});
|
|
84205
83564
|
ListSubscriptionsApplicationFee$inboundSchema = objectType({
|
|
84206
|
-
amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$inboundSchema)
|
|
84207
|
-
description: stringType()
|
|
83565
|
+
amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$inboundSchema),
|
|
83566
|
+
description: stringType()
|
|
84208
83567
|
});
|
|
84209
83568
|
ListSubscriptionsApplicationFee$outboundSchema = objectType({
|
|
84210
|
-
amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$outboundSchema)
|
|
84211
|
-
description: stringType()
|
|
83569
|
+
amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$outboundSchema),
|
|
83570
|
+
description: stringType()
|
|
84212
83571
|
});
|
|
84213
83572
|
((ListSubscriptionsApplicationFee$) => {
|
|
84214
83573
|
ListSubscriptionsApplicationFee$.inboundSchema = ListSubscriptionsApplicationFee$inboundSchema;
|
|
@@ -84234,18 +83593,18 @@ var init_listsubscriptions = __esm(() => {
|
|
|
84234
83593
|
ListSubscriptionsMetadataUnion$.inboundSchema = ListSubscriptionsMetadataUnion$inboundSchema;
|
|
84235
83594
|
ListSubscriptionsMetadataUnion$.outboundSchema = ListSubscriptionsMetadataUnion$outboundSchema;
|
|
84236
83595
|
})(ListSubscriptionsMetadataUnion$ ||= {});
|
|
84237
|
-
|
|
83596
|
+
ListSubscriptionsSubscriptionSelf$inboundSchema = objectType({
|
|
84238
83597
|
href: stringType(),
|
|
84239
83598
|
type: stringType()
|
|
84240
83599
|
});
|
|
84241
|
-
|
|
83600
|
+
ListSubscriptionsSubscriptionSelf$outboundSchema = objectType({
|
|
84242
83601
|
href: stringType(),
|
|
84243
83602
|
type: stringType()
|
|
84244
83603
|
});
|
|
84245
|
-
((
|
|
84246
|
-
|
|
84247
|
-
|
|
84248
|
-
})(
|
|
83604
|
+
((ListSubscriptionsSubscriptionSelf$) => {
|
|
83605
|
+
ListSubscriptionsSubscriptionSelf$.inboundSchema = ListSubscriptionsSubscriptionSelf$inboundSchema;
|
|
83606
|
+
ListSubscriptionsSubscriptionSelf$.outboundSchema = ListSubscriptionsSubscriptionSelf$outboundSchema;
|
|
83607
|
+
})(ListSubscriptionsSubscriptionSelf$ ||= {});
|
|
84249
83608
|
ListSubscriptionsCustomer$inboundSchema = objectType({
|
|
84250
83609
|
href: stringType().optional(),
|
|
84251
83610
|
type: stringType().optional()
|
|
@@ -84294,63 +83653,63 @@ var init_listsubscriptions = __esm(() => {
|
|
|
84294
83653
|
ListSubscriptionsPayments$.inboundSchema = ListSubscriptionsPayments$inboundSchema;
|
|
84295
83654
|
ListSubscriptionsPayments$.outboundSchema = ListSubscriptionsPayments$outboundSchema;
|
|
84296
83655
|
})(ListSubscriptionsPayments$ ||= {});
|
|
84297
|
-
|
|
83656
|
+
ListSubscriptionsSubscriptionDocumentation$inboundSchema = objectType({
|
|
84298
83657
|
href: stringType(),
|
|
84299
83658
|
type: stringType()
|
|
84300
83659
|
});
|
|
84301
|
-
|
|
83660
|
+
ListSubscriptionsSubscriptionDocumentation$outboundSchema = objectType({
|
|
84302
83661
|
href: stringType(),
|
|
84303
83662
|
type: stringType()
|
|
84304
83663
|
});
|
|
84305
|
-
((
|
|
84306
|
-
|
|
84307
|
-
|
|
84308
|
-
})(
|
|
84309
|
-
|
|
84310
|
-
self: lazyType(() =>
|
|
84311
|
-
customer: nullableType(lazyType(() => ListSubscriptionsCustomer$inboundSchema))
|
|
83664
|
+
((ListSubscriptionsSubscriptionDocumentation$) => {
|
|
83665
|
+
ListSubscriptionsSubscriptionDocumentation$.inboundSchema = ListSubscriptionsSubscriptionDocumentation$inboundSchema;
|
|
83666
|
+
ListSubscriptionsSubscriptionDocumentation$.outboundSchema = ListSubscriptionsSubscriptionDocumentation$outboundSchema;
|
|
83667
|
+
})(ListSubscriptionsSubscriptionDocumentation$ ||= {});
|
|
83668
|
+
ListSubscriptionsSubscriptionLinks$inboundSchema = objectType({
|
|
83669
|
+
self: lazyType(() => ListSubscriptionsSubscriptionSelf$inboundSchema),
|
|
83670
|
+
customer: nullableType(lazyType(() => ListSubscriptionsCustomer$inboundSchema)),
|
|
84312
83671
|
mandate: nullableType(lazyType(() => ListSubscriptionsMandate$inboundSchema)).optional(),
|
|
84313
|
-
profile: nullableType(lazyType(() => ListSubscriptionsProfile$inboundSchema))
|
|
83672
|
+
profile: nullableType(lazyType(() => ListSubscriptionsProfile$inboundSchema)),
|
|
84314
83673
|
payments: nullableType(lazyType(() => ListSubscriptionsPayments$inboundSchema)).optional(),
|
|
84315
|
-
documentation: lazyType(() =>
|
|
83674
|
+
documentation: lazyType(() => ListSubscriptionsSubscriptionDocumentation$inboundSchema)
|
|
84316
83675
|
});
|
|
84317
|
-
|
|
84318
|
-
self: lazyType(() =>
|
|
84319
|
-
customer: nullableType(lazyType(() => ListSubscriptionsCustomer$outboundSchema))
|
|
83676
|
+
ListSubscriptionsSubscriptionLinks$outboundSchema = objectType({
|
|
83677
|
+
self: lazyType(() => ListSubscriptionsSubscriptionSelf$outboundSchema),
|
|
83678
|
+
customer: nullableType(lazyType(() => ListSubscriptionsCustomer$outboundSchema)),
|
|
84320
83679
|
mandate: nullableType(lazyType(() => ListSubscriptionsMandate$outboundSchema)).optional(),
|
|
84321
|
-
profile: nullableType(lazyType(() => ListSubscriptionsProfile$outboundSchema))
|
|
83680
|
+
profile: nullableType(lazyType(() => ListSubscriptionsProfile$outboundSchema)),
|
|
84322
83681
|
payments: nullableType(lazyType(() => ListSubscriptionsPayments$outboundSchema)).optional(),
|
|
84323
|
-
documentation: lazyType(() =>
|
|
83682
|
+
documentation: lazyType(() => ListSubscriptionsSubscriptionDocumentation$outboundSchema)
|
|
84324
83683
|
});
|
|
84325
|
-
((
|
|
84326
|
-
|
|
84327
|
-
|
|
84328
|
-
})(
|
|
83684
|
+
((ListSubscriptionsSubscriptionLinks$) => {
|
|
83685
|
+
ListSubscriptionsSubscriptionLinks$.inboundSchema = ListSubscriptionsSubscriptionLinks$inboundSchema;
|
|
83686
|
+
ListSubscriptionsSubscriptionLinks$.outboundSchema = ListSubscriptionsSubscriptionLinks$outboundSchema;
|
|
83687
|
+
})(ListSubscriptionsSubscriptionLinks$ ||= {});
|
|
84329
83688
|
ListSubscriptionsSubscription$inboundSchema = objectType({
|
|
84330
83689
|
resource: stringType().default("subscription"),
|
|
84331
|
-
id: stringType()
|
|
84332
|
-
mode: ListSubscriptionsMode$inboundSchema
|
|
84333
|
-
status: ListSubscriptionsStatus$inboundSchema
|
|
84334
|
-
amount: lazyType(() => ListSubscriptionsAmount$inboundSchema)
|
|
84335
|
-
times: nullableType(numberType().int())
|
|
84336
|
-
timesRemaining: numberType().int()
|
|
84337
|
-
interval: ListSubscriptionsInterval$inboundSchema
|
|
84338
|
-
startDate: stringType()
|
|
83690
|
+
id: stringType(),
|
|
83691
|
+
mode: ListSubscriptionsMode$inboundSchema,
|
|
83692
|
+
status: ListSubscriptionsStatus$inboundSchema,
|
|
83693
|
+
amount: lazyType(() => ListSubscriptionsAmount$inboundSchema),
|
|
83694
|
+
times: nullableType(numberType().int()),
|
|
83695
|
+
timesRemaining: numberType().int(),
|
|
83696
|
+
interval: ListSubscriptionsInterval$inboundSchema,
|
|
83697
|
+
startDate: stringType(),
|
|
84339
83698
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
84340
|
-
description: stringType()
|
|
84341
|
-
method: nullableType(ListSubscriptionsMethod$inboundSchema)
|
|
83699
|
+
description: stringType(),
|
|
83700
|
+
method: nullableType(ListSubscriptionsMethod$inboundSchema),
|
|
84342
83701
|
applicationFee: lazyType(() => ListSubscriptionsApplicationFee$inboundSchema).optional(),
|
|
84343
83702
|
metadata: nullableType(unionType([
|
|
84344
83703
|
lazyType(() => ListSubscriptionsMetadata$inboundSchema),
|
|
84345
83704
|
stringType(),
|
|
84346
83705
|
arrayType(stringType())
|
|
84347
|
-
]))
|
|
84348
|
-
webhookUrl: stringType()
|
|
84349
|
-
customerId: stringType()
|
|
83706
|
+
])),
|
|
83707
|
+
webhookUrl: stringType(),
|
|
83708
|
+
customerId: stringType(),
|
|
84350
83709
|
mandateId: nullableType(stringType()).optional(),
|
|
84351
|
-
createdAt: stringType()
|
|
83710
|
+
createdAt: stringType(),
|
|
84352
83711
|
canceledAt: nullableType(stringType()).optional(),
|
|
84353
|
-
_links: lazyType(() =>
|
|
83712
|
+
_links: lazyType(() => ListSubscriptionsSubscriptionLinks$inboundSchema).optional()
|
|
84354
83713
|
}).transform((v2) => {
|
|
84355
83714
|
return remap(v2, {
|
|
84356
83715
|
_links: "links"
|
|
@@ -84358,29 +83717,29 @@ var init_listsubscriptions = __esm(() => {
|
|
|
84358
83717
|
});
|
|
84359
83718
|
ListSubscriptionsSubscription$outboundSchema = objectType({
|
|
84360
83719
|
resource: stringType().default("subscription"),
|
|
84361
|
-
id: stringType()
|
|
84362
|
-
mode: ListSubscriptionsMode$outboundSchema
|
|
84363
|
-
status: ListSubscriptionsStatus$outboundSchema
|
|
84364
|
-
amount: lazyType(() => ListSubscriptionsAmount$outboundSchema)
|
|
84365
|
-
times: nullableType(numberType().int())
|
|
84366
|
-
timesRemaining: numberType().int()
|
|
84367
|
-
interval: ListSubscriptionsInterval$outboundSchema
|
|
84368
|
-
startDate: stringType()
|
|
83720
|
+
id: stringType(),
|
|
83721
|
+
mode: ListSubscriptionsMode$outboundSchema,
|
|
83722
|
+
status: ListSubscriptionsStatus$outboundSchema,
|
|
83723
|
+
amount: lazyType(() => ListSubscriptionsAmount$outboundSchema),
|
|
83724
|
+
times: nullableType(numberType().int()),
|
|
83725
|
+
timesRemaining: numberType().int(),
|
|
83726
|
+
interval: ListSubscriptionsInterval$outboundSchema,
|
|
83727
|
+
startDate: stringType(),
|
|
84369
83728
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
84370
|
-
description: stringType()
|
|
84371
|
-
method: nullableType(ListSubscriptionsMethod$outboundSchema)
|
|
83729
|
+
description: stringType(),
|
|
83730
|
+
method: nullableType(ListSubscriptionsMethod$outboundSchema),
|
|
84372
83731
|
applicationFee: lazyType(() => ListSubscriptionsApplicationFee$outboundSchema).optional(),
|
|
84373
83732
|
metadata: nullableType(unionType([
|
|
84374
83733
|
lazyType(() => ListSubscriptionsMetadata$outboundSchema),
|
|
84375
83734
|
stringType(),
|
|
84376
83735
|
arrayType(stringType())
|
|
84377
|
-
]))
|
|
84378
|
-
webhookUrl: stringType()
|
|
84379
|
-
customerId: stringType()
|
|
83736
|
+
])),
|
|
83737
|
+
webhookUrl: stringType(),
|
|
83738
|
+
customerId: stringType(),
|
|
84380
83739
|
mandateId: nullableType(stringType()).optional(),
|
|
84381
|
-
createdAt: stringType()
|
|
83740
|
+
createdAt: stringType(),
|
|
84382
83741
|
canceledAt: nullableType(stringType()).optional(),
|
|
84383
|
-
links: lazyType(() =>
|
|
83742
|
+
links: lazyType(() => ListSubscriptionsSubscriptionLinks$outboundSchema).optional()
|
|
84384
83743
|
}).transform((v2) => {
|
|
84385
83744
|
return remap(v2, {
|
|
84386
83745
|
links: "_links"
|
|
@@ -85023,12 +84382,14 @@ var init_paymentcreateroute = __esm(() => {
|
|
|
85023
84382
|
PaymentCreateRouteRequestBody$inboundSchema = objectType({
|
|
85024
84383
|
amount: lazyType(() => PaymentCreateRouteAmountRequest$inboundSchema).optional(),
|
|
85025
84384
|
description: stringType().optional(),
|
|
85026
|
-
destination: lazyType(() => PaymentCreateRouteDestinationRequest$inboundSchema).optional()
|
|
84385
|
+
destination: lazyType(() => PaymentCreateRouteDestinationRequest$inboundSchema).optional(),
|
|
84386
|
+
testmode: nullableType(booleanType()).optional()
|
|
85027
84387
|
});
|
|
85028
84388
|
PaymentCreateRouteRequestBody$outboundSchema = objectType({
|
|
85029
84389
|
amount: lazyType(() => PaymentCreateRouteAmountRequest$outboundSchema).optional(),
|
|
85030
84390
|
description: stringType().optional(),
|
|
85031
|
-
destination: lazyType(() => PaymentCreateRouteDestinationRequest$outboundSchema).optional()
|
|
84391
|
+
destination: lazyType(() => PaymentCreateRouteDestinationRequest$outboundSchema).optional(),
|
|
84392
|
+
testmode: nullableType(booleanType()).optional()
|
|
85032
84393
|
});
|
|
85033
84394
|
((PaymentCreateRouteRequestBody$) => {
|
|
85034
84395
|
PaymentCreateRouteRequestBody$.inboundSchema = PaymentCreateRouteRequestBody$inboundSchema;
|
|
@@ -85183,10 +84544,12 @@ var init_paymentlistroutes = __esm(() => {
|
|
|
85183
84544
|
Organization: "organization"
|
|
85184
84545
|
};
|
|
85185
84546
|
PaymentListRoutesRequest$inboundSchema = objectType({
|
|
85186
|
-
paymentId: stringType()
|
|
84547
|
+
paymentId: stringType(),
|
|
84548
|
+
testmode: nullableType(booleanType()).optional()
|
|
85187
84549
|
});
|
|
85188
84550
|
PaymentListRoutesRequest$outboundSchema = objectType({
|
|
85189
|
-
paymentId: stringType()
|
|
84551
|
+
paymentId: stringType(),
|
|
84552
|
+
testmode: nullableType(booleanType()).optional()
|
|
85190
84553
|
});
|
|
85191
84554
|
((PaymentListRoutesRequest$) => {
|
|
85192
84555
|
PaymentListRoutesRequest$.inboundSchema = PaymentListRoutesRequest$inboundSchema;
|
|
@@ -85990,20 +85353,20 @@ var init_updatecustomer = __esm(() => {
|
|
|
85990
85353
|
UpdateCustomerDocumentation$.outboundSchema = UpdateCustomerDocumentation$outboundSchema;
|
|
85991
85354
|
})(UpdateCustomerDocumentation$ ||= {});
|
|
85992
85355
|
UpdateCustomerLinks$inboundSchema = objectType({
|
|
85993
|
-
self: lazyType(() => UpdateCustomerSelf$inboundSchema)
|
|
85994
|
-
dashboard: lazyType(() => UpdateCustomerDashboard$inboundSchema)
|
|
85356
|
+
self: lazyType(() => UpdateCustomerSelf$inboundSchema),
|
|
85357
|
+
dashboard: lazyType(() => UpdateCustomerDashboard$inboundSchema),
|
|
85995
85358
|
payments: nullableType(lazyType(() => UpdateCustomerPayments$inboundSchema)).optional(),
|
|
85996
85359
|
mandates: nullableType(lazyType(() => UpdateCustomerMandates$inboundSchema)).optional(),
|
|
85997
85360
|
subscriptions: nullableType(lazyType(() => UpdateCustomerSubscriptions$inboundSchema)).optional(),
|
|
85998
|
-
documentation: lazyType(() => UpdateCustomerDocumentation$inboundSchema)
|
|
85361
|
+
documentation: lazyType(() => UpdateCustomerDocumentation$inboundSchema)
|
|
85999
85362
|
});
|
|
86000
85363
|
UpdateCustomerLinks$outboundSchema = objectType({
|
|
86001
|
-
self: lazyType(() => UpdateCustomerSelf$outboundSchema)
|
|
86002
|
-
dashboard: lazyType(() => UpdateCustomerDashboard$outboundSchema)
|
|
85364
|
+
self: lazyType(() => UpdateCustomerSelf$outboundSchema),
|
|
85365
|
+
dashboard: lazyType(() => UpdateCustomerDashboard$outboundSchema),
|
|
86003
85366
|
payments: nullableType(lazyType(() => UpdateCustomerPayments$outboundSchema)).optional(),
|
|
86004
85367
|
mandates: nullableType(lazyType(() => UpdateCustomerMandates$outboundSchema)).optional(),
|
|
86005
85368
|
subscriptions: nullableType(lazyType(() => UpdateCustomerSubscriptions$outboundSchema)).optional(),
|
|
86006
|
-
documentation: lazyType(() => UpdateCustomerDocumentation$outboundSchema)
|
|
85369
|
+
documentation: lazyType(() => UpdateCustomerDocumentation$outboundSchema)
|
|
86007
85370
|
});
|
|
86008
85371
|
((UpdateCustomerLinks$) => {
|
|
86009
85372
|
UpdateCustomerLinks$.inboundSchema = UpdateCustomerLinks$inboundSchema;
|
|
@@ -86011,18 +85374,18 @@ var init_updatecustomer = __esm(() => {
|
|
|
86011
85374
|
})(UpdateCustomerLinks$ ||= {});
|
|
86012
85375
|
UpdateCustomerResponse$inboundSchema = objectType({
|
|
86013
85376
|
resource: stringType().default("customer"),
|
|
86014
|
-
id: stringType()
|
|
86015
|
-
mode: UpdateCustomerMode$inboundSchema
|
|
86016
|
-
name: nullableType(stringType())
|
|
86017
|
-
email: nullableType(stringType())
|
|
86018
|
-
locale: nullableType(UpdateCustomerLocaleResponse$inboundSchema)
|
|
85377
|
+
id: stringType(),
|
|
85378
|
+
mode: UpdateCustomerMode$inboundSchema,
|
|
85379
|
+
name: nullableType(stringType()),
|
|
85380
|
+
email: nullableType(stringType()),
|
|
85381
|
+
locale: nullableType(UpdateCustomerLocaleResponse$inboundSchema),
|
|
86019
85382
|
metadata: nullableType(unionType([
|
|
86020
85383
|
lazyType(() => UpdateCustomerMetadataResponse$inboundSchema),
|
|
86021
85384
|
stringType(),
|
|
86022
85385
|
arrayType(stringType())
|
|
86023
|
-
]))
|
|
86024
|
-
createdAt: stringType()
|
|
86025
|
-
_links: lazyType(() => UpdateCustomerLinks$inboundSchema)
|
|
85386
|
+
])),
|
|
85387
|
+
createdAt: stringType(),
|
|
85388
|
+
_links: lazyType(() => UpdateCustomerLinks$inboundSchema)
|
|
86026
85389
|
}).transform((v2) => {
|
|
86027
85390
|
return remap(v2, {
|
|
86028
85391
|
_links: "links"
|
|
@@ -86030,18 +85393,18 @@ var init_updatecustomer = __esm(() => {
|
|
|
86030
85393
|
});
|
|
86031
85394
|
UpdateCustomerResponse$outboundSchema = objectType({
|
|
86032
85395
|
resource: stringType().default("customer"),
|
|
86033
|
-
id: stringType()
|
|
86034
|
-
mode: UpdateCustomerMode$outboundSchema
|
|
86035
|
-
name: nullableType(stringType())
|
|
86036
|
-
email: nullableType(stringType())
|
|
86037
|
-
locale: nullableType(UpdateCustomerLocaleResponse$outboundSchema)
|
|
85396
|
+
id: stringType(),
|
|
85397
|
+
mode: UpdateCustomerMode$outboundSchema,
|
|
85398
|
+
name: nullableType(stringType()),
|
|
85399
|
+
email: nullableType(stringType()),
|
|
85400
|
+
locale: nullableType(UpdateCustomerLocaleResponse$outboundSchema),
|
|
86038
85401
|
metadata: nullableType(unionType([
|
|
86039
85402
|
lazyType(() => UpdateCustomerMetadataResponse$outboundSchema),
|
|
86040
85403
|
stringType(),
|
|
86041
85404
|
arrayType(stringType())
|
|
86042
|
-
]))
|
|
86043
|
-
createdAt: stringType()
|
|
86044
|
-
links: lazyType(() => UpdateCustomerLinks$outboundSchema)
|
|
85405
|
+
])),
|
|
85406
|
+
createdAt: stringType(),
|
|
85407
|
+
links: lazyType(() => UpdateCustomerLinks$outboundSchema)
|
|
86045
85408
|
}).transform((v2) => {
|
|
86046
85409
|
return remap(v2, {
|
|
86047
85410
|
links: "_links"
|
|
@@ -89104,12 +88467,12 @@ var init_updatesubscription = __esm(() => {
|
|
|
89104
88467
|
UpdateSubscriptionApplicationFeeAmount$.outboundSchema = UpdateSubscriptionApplicationFeeAmount$outboundSchema;
|
|
89105
88468
|
})(UpdateSubscriptionApplicationFeeAmount$ ||= {});
|
|
89106
88469
|
UpdateSubscriptionApplicationFee$inboundSchema = objectType({
|
|
89107
|
-
amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$inboundSchema)
|
|
89108
|
-
description: stringType()
|
|
88470
|
+
amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$inboundSchema),
|
|
88471
|
+
description: stringType()
|
|
89109
88472
|
});
|
|
89110
88473
|
UpdateSubscriptionApplicationFee$outboundSchema = objectType({
|
|
89111
|
-
amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$outboundSchema)
|
|
89112
|
-
description: stringType()
|
|
88474
|
+
amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$outboundSchema),
|
|
88475
|
+
description: stringType()
|
|
89113
88476
|
});
|
|
89114
88477
|
((UpdateSubscriptionApplicationFee$) => {
|
|
89115
88478
|
UpdateSubscriptionApplicationFee$.inboundSchema = UpdateSubscriptionApplicationFee$inboundSchema;
|
|
@@ -89208,20 +88571,20 @@ var init_updatesubscription = __esm(() => {
|
|
|
89208
88571
|
UpdateSubscriptionDocumentation$.outboundSchema = UpdateSubscriptionDocumentation$outboundSchema;
|
|
89209
88572
|
})(UpdateSubscriptionDocumentation$ ||= {});
|
|
89210
88573
|
UpdateSubscriptionLinks$inboundSchema = objectType({
|
|
89211
|
-
self: lazyType(() => UpdateSubscriptionSelf$inboundSchema)
|
|
89212
|
-
customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$inboundSchema))
|
|
88574
|
+
self: lazyType(() => UpdateSubscriptionSelf$inboundSchema),
|
|
88575
|
+
customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$inboundSchema)),
|
|
89213
88576
|
mandate: nullableType(lazyType(() => UpdateSubscriptionMandate$inboundSchema)).optional(),
|
|
89214
|
-
profile: nullableType(lazyType(() => UpdateSubscriptionProfile$inboundSchema))
|
|
88577
|
+
profile: nullableType(lazyType(() => UpdateSubscriptionProfile$inboundSchema)),
|
|
89215
88578
|
payments: nullableType(lazyType(() => UpdateSubscriptionPayments$inboundSchema)).optional(),
|
|
89216
|
-
documentation: lazyType(() => UpdateSubscriptionDocumentation$inboundSchema)
|
|
88579
|
+
documentation: lazyType(() => UpdateSubscriptionDocumentation$inboundSchema)
|
|
89217
88580
|
});
|
|
89218
88581
|
UpdateSubscriptionLinks$outboundSchema = objectType({
|
|
89219
|
-
self: lazyType(() => UpdateSubscriptionSelf$outboundSchema)
|
|
89220
|
-
customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$outboundSchema))
|
|
88582
|
+
self: lazyType(() => UpdateSubscriptionSelf$outboundSchema),
|
|
88583
|
+
customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$outboundSchema)),
|
|
89221
88584
|
mandate: nullableType(lazyType(() => UpdateSubscriptionMandate$outboundSchema)).optional(),
|
|
89222
|
-
profile: nullableType(lazyType(() => UpdateSubscriptionProfile$outboundSchema))
|
|
88585
|
+
profile: nullableType(lazyType(() => UpdateSubscriptionProfile$outboundSchema)),
|
|
89223
88586
|
payments: nullableType(lazyType(() => UpdateSubscriptionPayments$outboundSchema)).optional(),
|
|
89224
|
-
documentation: lazyType(() => UpdateSubscriptionDocumentation$outboundSchema)
|
|
88587
|
+
documentation: lazyType(() => UpdateSubscriptionDocumentation$outboundSchema)
|
|
89225
88588
|
});
|
|
89226
88589
|
((UpdateSubscriptionLinks$) => {
|
|
89227
88590
|
UpdateSubscriptionLinks$.inboundSchema = UpdateSubscriptionLinks$inboundSchema;
|
|
@@ -89229,27 +88592,27 @@ var init_updatesubscription = __esm(() => {
|
|
|
89229
88592
|
})(UpdateSubscriptionLinks$ ||= {});
|
|
89230
88593
|
UpdateSubscriptionResponse$inboundSchema = objectType({
|
|
89231
88594
|
resource: stringType().default("subscription"),
|
|
89232
|
-
id: stringType()
|
|
89233
|
-
mode: UpdateSubscriptionMode$inboundSchema
|
|
89234
|
-
status: UpdateSubscriptionStatus$inboundSchema
|
|
89235
|
-
amount: lazyType(() => UpdateSubscriptionAmountResponse$inboundSchema)
|
|
89236
|
-
times: nullableType(numberType().int())
|
|
89237
|
-
timesRemaining: numberType().int()
|
|
89238
|
-
interval: UpdateSubscriptionIntervalResponse$inboundSchema
|
|
89239
|
-
startDate: stringType()
|
|
88595
|
+
id: stringType(),
|
|
88596
|
+
mode: UpdateSubscriptionMode$inboundSchema,
|
|
88597
|
+
status: UpdateSubscriptionStatus$inboundSchema,
|
|
88598
|
+
amount: lazyType(() => UpdateSubscriptionAmountResponse$inboundSchema),
|
|
88599
|
+
times: nullableType(numberType().int()),
|
|
88600
|
+
timesRemaining: numberType().int(),
|
|
88601
|
+
interval: UpdateSubscriptionIntervalResponse$inboundSchema,
|
|
88602
|
+
startDate: stringType(),
|
|
89240
88603
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
89241
|
-
description: stringType()
|
|
89242
|
-
method: nullableType(UpdateSubscriptionMethod$inboundSchema)
|
|
88604
|
+
description: stringType(),
|
|
88605
|
+
method: nullableType(UpdateSubscriptionMethod$inboundSchema),
|
|
89243
88606
|
applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$inboundSchema).optional(),
|
|
89244
88607
|
metadata: nullableType(unionType([
|
|
89245
88608
|
lazyType(() => UpdateSubscriptionMetadataResponse$inboundSchema),
|
|
89246
88609
|
stringType(),
|
|
89247
88610
|
arrayType(stringType())
|
|
89248
|
-
]))
|
|
89249
|
-
webhookUrl: stringType()
|
|
89250
|
-
customerId: stringType()
|
|
88611
|
+
])),
|
|
88612
|
+
webhookUrl: stringType(),
|
|
88613
|
+
customerId: stringType(),
|
|
89251
88614
|
mandateId: nullableType(stringType()).optional(),
|
|
89252
|
-
createdAt: stringType()
|
|
88615
|
+
createdAt: stringType(),
|
|
89253
88616
|
canceledAt: nullableType(stringType()).optional(),
|
|
89254
88617
|
_links: lazyType(() => UpdateSubscriptionLinks$inboundSchema).optional()
|
|
89255
88618
|
}).transform((v2) => {
|
|
@@ -89259,27 +88622,27 @@ var init_updatesubscription = __esm(() => {
|
|
|
89259
88622
|
});
|
|
89260
88623
|
UpdateSubscriptionResponse$outboundSchema = objectType({
|
|
89261
88624
|
resource: stringType().default("subscription"),
|
|
89262
|
-
id: stringType()
|
|
89263
|
-
mode: UpdateSubscriptionMode$outboundSchema
|
|
89264
|
-
status: UpdateSubscriptionStatus$outboundSchema
|
|
89265
|
-
amount: lazyType(() => UpdateSubscriptionAmountResponse$outboundSchema)
|
|
89266
|
-
times: nullableType(numberType().int())
|
|
89267
|
-
timesRemaining: numberType().int()
|
|
89268
|
-
interval: UpdateSubscriptionIntervalResponse$outboundSchema
|
|
89269
|
-
startDate: stringType()
|
|
88625
|
+
id: stringType(),
|
|
88626
|
+
mode: UpdateSubscriptionMode$outboundSchema,
|
|
88627
|
+
status: UpdateSubscriptionStatus$outboundSchema,
|
|
88628
|
+
amount: lazyType(() => UpdateSubscriptionAmountResponse$outboundSchema),
|
|
88629
|
+
times: nullableType(numberType().int()),
|
|
88630
|
+
timesRemaining: numberType().int(),
|
|
88631
|
+
interval: UpdateSubscriptionIntervalResponse$outboundSchema,
|
|
88632
|
+
startDate: stringType(),
|
|
89270
88633
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
89271
|
-
description: stringType()
|
|
89272
|
-
method: nullableType(UpdateSubscriptionMethod$outboundSchema)
|
|
88634
|
+
description: stringType(),
|
|
88635
|
+
method: nullableType(UpdateSubscriptionMethod$outboundSchema),
|
|
89273
88636
|
applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$outboundSchema).optional(),
|
|
89274
88637
|
metadata: nullableType(unionType([
|
|
89275
88638
|
lazyType(() => UpdateSubscriptionMetadataResponse$outboundSchema),
|
|
89276
88639
|
stringType(),
|
|
89277
88640
|
arrayType(stringType())
|
|
89278
|
-
]))
|
|
89279
|
-
webhookUrl: stringType()
|
|
89280
|
-
customerId: stringType()
|
|
88641
|
+
])),
|
|
88642
|
+
webhookUrl: stringType(),
|
|
88643
|
+
customerId: stringType(),
|
|
89281
88644
|
mandateId: nullableType(stringType()).optional(),
|
|
89282
|
-
createdAt: stringType()
|
|
88645
|
+
createdAt: stringType(),
|
|
89283
88646
|
canceledAt: nullableType(stringType()).optional(),
|
|
89284
88647
|
links: lazyType(() => UpdateSubscriptionLinks$outboundSchema).optional()
|
|
89285
88648
|
}).transform((v2) => {
|
|
@@ -93341,13 +92704,13 @@ var init_listallrefunds2 = __esm(() => {
|
|
|
93341
92704
|
});
|
|
93342
92705
|
|
|
93343
92706
|
// src/models/errors/listallsubscriptions.ts
|
|
93344
|
-
var
|
|
92707
|
+
var ListAllSubscriptionsNotFoundHalJSONError, ListAllSubscriptionsBadRequestHalJSONError, ListAllSubscriptionsNotFoundHalJSONError$inboundSchema, ListAllSubscriptionsNotFoundHalJSONError$outboundSchema, ListAllSubscriptionsNotFoundHalJSONError$, ListAllSubscriptionsBadRequestHalJSONError$inboundSchema, ListAllSubscriptionsBadRequestHalJSONError$outboundSchema, ListAllSubscriptionsBadRequestHalJSONError$;
|
|
93345
92708
|
var init_listallsubscriptions2 = __esm(() => {
|
|
93346
92709
|
init_esm();
|
|
93347
92710
|
init_primitives();
|
|
93348
92711
|
init_operations();
|
|
93349
92712
|
init_clienterror();
|
|
93350
|
-
|
|
92713
|
+
ListAllSubscriptionsNotFoundHalJSONError = class ListAllSubscriptionsNotFoundHalJSONError extends ClientError {
|
|
93351
92714
|
status;
|
|
93352
92715
|
title;
|
|
93353
92716
|
detail;
|
|
@@ -93364,10 +92727,64 @@ var init_listallsubscriptions2 = __esm(() => {
|
|
|
93364
92727
|
if (err.field != null)
|
|
93365
92728
|
this.field = err.field;
|
|
93366
92729
|
this.links = err.links;
|
|
93367
|
-
this.name = "
|
|
92730
|
+
this.name = "ListAllSubscriptionsNotFoundHalJSONError";
|
|
93368
92731
|
}
|
|
93369
92732
|
};
|
|
93370
|
-
|
|
92733
|
+
ListAllSubscriptionsBadRequestHalJSONError = class ListAllSubscriptionsBadRequestHalJSONError extends ClientError {
|
|
92734
|
+
status;
|
|
92735
|
+
title;
|
|
92736
|
+
detail;
|
|
92737
|
+
field;
|
|
92738
|
+
links;
|
|
92739
|
+
data$;
|
|
92740
|
+
constructor(err, httpMeta) {
|
|
92741
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
92742
|
+
super(message, httpMeta);
|
|
92743
|
+
this.data$ = err;
|
|
92744
|
+
this.status = err.status;
|
|
92745
|
+
this.title = err.title;
|
|
92746
|
+
this.detail = err.detail;
|
|
92747
|
+
if (err.field != null)
|
|
92748
|
+
this.field = err.field;
|
|
92749
|
+
this.links = err.links;
|
|
92750
|
+
this.name = "ListAllSubscriptionsBadRequestHalJSONError";
|
|
92751
|
+
}
|
|
92752
|
+
};
|
|
92753
|
+
ListAllSubscriptionsNotFoundHalJSONError$inboundSchema = objectType({
|
|
92754
|
+
status: numberType().int(),
|
|
92755
|
+
title: stringType(),
|
|
92756
|
+
detail: stringType(),
|
|
92757
|
+
field: stringType().optional(),
|
|
92758
|
+
_links: lazyType(() => ListAllSubscriptionsNotFoundLinks$inboundSchema),
|
|
92759
|
+
request$: instanceOfType(Request),
|
|
92760
|
+
response$: instanceOfType(Response),
|
|
92761
|
+
body$: stringType()
|
|
92762
|
+
}).transform((v2) => {
|
|
92763
|
+
const remapped = remap(v2, {
|
|
92764
|
+
_links: "links"
|
|
92765
|
+
});
|
|
92766
|
+
return new ListAllSubscriptionsNotFoundHalJSONError(remapped, {
|
|
92767
|
+
request: v2.request$,
|
|
92768
|
+
response: v2.response$,
|
|
92769
|
+
body: v2.body$
|
|
92770
|
+
});
|
|
92771
|
+
});
|
|
92772
|
+
ListAllSubscriptionsNotFoundHalJSONError$outboundSchema = instanceOfType(ListAllSubscriptionsNotFoundHalJSONError).transform((v2) => v2.data$).pipe(objectType({
|
|
92773
|
+
status: numberType().int(),
|
|
92774
|
+
title: stringType(),
|
|
92775
|
+
detail: stringType(),
|
|
92776
|
+
field: stringType().optional(),
|
|
92777
|
+
links: lazyType(() => ListAllSubscriptionsNotFoundLinks$outboundSchema)
|
|
92778
|
+
}).transform((v2) => {
|
|
92779
|
+
return remap(v2, {
|
|
92780
|
+
links: "_links"
|
|
92781
|
+
});
|
|
92782
|
+
}));
|
|
92783
|
+
((ListAllSubscriptionsNotFoundHalJSONError$) => {
|
|
92784
|
+
ListAllSubscriptionsNotFoundHalJSONError$.inboundSchema = ListAllSubscriptionsNotFoundHalJSONError$inboundSchema;
|
|
92785
|
+
ListAllSubscriptionsNotFoundHalJSONError$.outboundSchema = ListAllSubscriptionsNotFoundHalJSONError$outboundSchema;
|
|
92786
|
+
})(ListAllSubscriptionsNotFoundHalJSONError$ ||= {});
|
|
92787
|
+
ListAllSubscriptionsBadRequestHalJSONError$inboundSchema = objectType({
|
|
93371
92788
|
status: numberType().int(),
|
|
93372
92789
|
title: stringType(),
|
|
93373
92790
|
detail: stringType(),
|
|
@@ -93380,13 +92797,13 @@ var init_listallsubscriptions2 = __esm(() => {
|
|
|
93380
92797
|
const remapped = remap(v2, {
|
|
93381
92798
|
_links: "links"
|
|
93382
92799
|
});
|
|
93383
|
-
return new
|
|
92800
|
+
return new ListAllSubscriptionsBadRequestHalJSONError(remapped, {
|
|
93384
92801
|
request: v2.request$,
|
|
93385
92802
|
response: v2.response$,
|
|
93386
92803
|
body: v2.body$
|
|
93387
92804
|
});
|
|
93388
92805
|
});
|
|
93389
|
-
|
|
92806
|
+
ListAllSubscriptionsBadRequestHalJSONError$outboundSchema = instanceOfType(ListAllSubscriptionsBadRequestHalJSONError).transform((v2) => v2.data$).pipe(objectType({
|
|
93390
92807
|
status: numberType().int(),
|
|
93391
92808
|
title: stringType(),
|
|
93392
92809
|
detail: stringType(),
|
|
@@ -93397,10 +92814,10 @@ var init_listallsubscriptions2 = __esm(() => {
|
|
|
93397
92814
|
links: "_links"
|
|
93398
92815
|
});
|
|
93399
92816
|
}));
|
|
93400
|
-
((
|
|
93401
|
-
|
|
93402
|
-
|
|
93403
|
-
})(
|
|
92817
|
+
((ListAllSubscriptionsBadRequestHalJSONError$) => {
|
|
92818
|
+
ListAllSubscriptionsBadRequestHalJSONError$.inboundSchema = ListAllSubscriptionsBadRequestHalJSONError$inboundSchema;
|
|
92819
|
+
ListAllSubscriptionsBadRequestHalJSONError$.outboundSchema = ListAllSubscriptionsBadRequestHalJSONError$outboundSchema;
|
|
92820
|
+
})(ListAllSubscriptionsBadRequestHalJSONError$ ||= {});
|
|
93404
92821
|
});
|
|
93405
92822
|
|
|
93406
92823
|
// src/models/errors/listbalances.ts
|
|
@@ -100087,6 +99504,9 @@ async function $do24(client, request, options) {
|
|
|
100087
99504
|
})
|
|
100088
99505
|
};
|
|
100089
99506
|
const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
|
|
99507
|
+
const query = encodeFormQuery({
|
|
99508
|
+
testmode: payload.testmode
|
|
99509
|
+
});
|
|
100090
99510
|
const headers = new Headers(compactMap({
|
|
100091
99511
|
Accept: "application/hal+json"
|
|
100092
99512
|
}));
|
|
@@ -100117,6 +99537,7 @@ async function $do24(client, request, options) {
|
|
|
100117
99537
|
baseURL: options?.serverURL,
|
|
100118
99538
|
path,
|
|
100119
99539
|
headers,
|
|
99540
|
+
query,
|
|
100120
99541
|
body,
|
|
100121
99542
|
userAgent: client._options.userAgent,
|
|
100122
99543
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -104719,7 +104140,7 @@ async function $do62(client, request, options) {
|
|
|
104719
104140
|
};
|
|
104720
104141
|
const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
|
|
104721
104142
|
const query = encodeFormQuery({
|
|
104722
|
-
|
|
104143
|
+
embed: payload.embed,
|
|
104723
104144
|
testmode: payload.testmode
|
|
104724
104145
|
});
|
|
104725
104146
|
const headers = new Headers(compactMap({
|
|
@@ -104844,8 +104265,8 @@ async function $do63(client, request, options) {
|
|
|
104844
104265
|
};
|
|
104845
104266
|
const path = pathToFunc("/payments/{paymentId}/refunds")(pathParams);
|
|
104846
104267
|
const query = encodeFormQuery({
|
|
104268
|
+
embed: payload.embed,
|
|
104847
104269
|
from: payload.from,
|
|
104848
|
-
include: payload.include,
|
|
104849
104270
|
limit: payload.limit,
|
|
104850
104271
|
testmode: payload.testmode
|
|
104851
104272
|
});
|
|
@@ -106440,8 +105861,8 @@ async function $do76(client, request, options) {
|
|
|
106440
105861
|
};
|
|
106441
105862
|
const path = pathToFunc("/settlements/{settlementId}/refunds")(pathParams);
|
|
106442
105863
|
const query = encodeFormQuery({
|
|
105864
|
+
embed: payload.embed,
|
|
106443
105865
|
from: payload.from,
|
|
106444
|
-
include: payload.include,
|
|
106445
105866
|
limit: payload.limit,
|
|
106446
105867
|
testmode: payload.testmode
|
|
106447
105868
|
});
|
|
@@ -106564,7 +105985,6 @@ async function $do77(client, request, options) {
|
|
|
106564
105985
|
from: payload?.from,
|
|
106565
105986
|
limit: payload?.limit,
|
|
106566
105987
|
profileId: payload?.profileId,
|
|
106567
|
-
sort: payload?.sort,
|
|
106568
105988
|
testmode: payload?.testmode
|
|
106569
105989
|
});
|
|
106570
105990
|
const headers = new Headers(compactMap({
|
|
@@ -106608,7 +106028,7 @@ async function $do77(client, request, options) {
|
|
|
106608
106028
|
const req = requestRes.value;
|
|
106609
106029
|
const doResult = await client._do(req, {
|
|
106610
106030
|
context,
|
|
106611
|
-
errorCodes: ["400", "4XX", "5XX"],
|
|
106031
|
+
errorCodes: ["400", "404", "4XX", "5XX"],
|
|
106612
106032
|
retryConfig: context.retryConfig,
|
|
106613
106033
|
retryCodes: context.retryCodes
|
|
106614
106034
|
});
|
|
@@ -106621,9 +106041,7 @@ async function $do77(client, request, options) {
|
|
|
106621
106041
|
};
|
|
106622
106042
|
const [result] = await match(json(200, ListAllSubscriptionsResponse$inboundSchema, {
|
|
106623
106043
|
ctype: "application/hal+json"
|
|
106624
|
-
}), jsonErr(400,
|
|
106625
|
-
ctype: "application/hal+json"
|
|
106626
|
-
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
106044
|
+
}), jsonErr(400, ListAllSubscriptionsBadRequestHalJSONError$inboundSchema, { ctype: "application/hal+json" }), jsonErr(404, ListAllSubscriptionsNotFoundHalJSONError$inboundSchema, { ctype: "application/hal+json" }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
106627
106045
|
if (!result.ok) {
|
|
106628
106046
|
return [result, { status: "complete", request: req, response }];
|
|
106629
106047
|
}
|
|
@@ -108682,7 +108100,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
108682
108100
|
function createMCPServer(deps) {
|
|
108683
108101
|
const server = new McpServer({
|
|
108684
108102
|
name: "Client",
|
|
108685
|
-
version: "0.0.
|
|
108103
|
+
version: "0.0.7"
|
|
108686
108104
|
});
|
|
108687
108105
|
const client = new ClientCore({
|
|
108688
108106
|
security: deps.security,
|
|
@@ -110071,7 +109489,7 @@ var routes = an({
|
|
|
110071
109489
|
var app = He(routes, {
|
|
110072
109490
|
name: "mcp",
|
|
110073
109491
|
versionInfo: {
|
|
110074
|
-
currentVersion: "0.0.
|
|
109492
|
+
currentVersion: "0.0.7"
|
|
110075
109493
|
}
|
|
110076
109494
|
});
|
|
110077
109495
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -110079,5 +109497,5 @@ export {
|
|
|
110079
109497
|
app
|
|
110080
109498
|
};
|
|
110081
109499
|
|
|
110082
|
-
//# debugId=
|
|
109500
|
+
//# debugId=18F2AA1B7F4D0F7764756E2164756E21
|
|
110083
109501
|
//# sourceMappingURL=mcp-server.js.map
|