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