mollie-api-typescript 0.0.5 → 0.0.6

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.
Files changed (222) hide show
  1. package/README.md +3 -2
  2. package/bin/mcp-server.js +676 -1258
  3. package/bin/mcp-server.js.map +28 -28
  4. package/dist/commonjs/funcs/delayedRoutingList.js +4 -0
  5. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  6. package/dist/commonjs/funcs/subscriptionsAll.d.ts +1 -1
  7. package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/subscriptionsAll.js +2 -5
  9. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  10. package/dist/commonjs/lib/config.d.ts +2 -2
  11. package/dist/commonjs/lib/config.js +2 -2
  12. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  13. package/dist/commonjs/mcp-server/server.js +1 -1
  14. package/dist/commonjs/models/errors/listallsubscriptions.d.ts +95 -14
  15. package/dist/commonjs/models/errors/listallsubscriptions.d.ts.map +1 -1
  16. package/dist/commonjs/models/errors/listallsubscriptions.js +80 -14
  17. package/dist/commonjs/models/errors/listallsubscriptions.js.map +1 -1
  18. package/dist/commonjs/models/operations/cancelsubscription.d.ts +40 -40
  19. package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
  20. package/dist/commonjs/models/operations/cancelsubscription.js +40 -48
  21. package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
  22. package/dist/commonjs/models/operations/createcustomer.d.ts +22 -22
  23. package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/createcustomer.js +22 -24
  25. package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
  26. package/dist/commonjs/models/operations/createmandate.d.ts +26 -26
  27. package/dist/commonjs/models/operations/createmandate.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/createmandate.js +26 -28
  29. package/dist/commonjs/models/operations/createmandate.js.map +1 -1
  30. package/dist/commonjs/models/operations/createrefund.d.ts +7 -7
  31. package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/createrefund.js +8 -10
  33. package/dist/commonjs/models/operations/createrefund.js.map +1 -1
  34. package/dist/commonjs/models/operations/createsubscription.d.ts +44 -44
  35. package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/createsubscription.js +44 -53
  37. package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
  38. package/dist/commonjs/models/operations/getcustomer.d.ts +28 -28
  39. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/getcustomer.js +28 -30
  41. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  42. package/dist/commonjs/models/operations/getmandate.d.ts +26 -26
  43. package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/getmandate.js +26 -27
  45. package/dist/commonjs/models/operations/getmandate.js.map +1 -1
  46. package/dist/commonjs/models/operations/getrefund.d.ts +7 -7
  47. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/getrefund.js +8 -8
  49. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  50. package/dist/commonjs/models/operations/getsubscription.d.ts +40 -40
  51. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/getsubscription.js +40 -48
  53. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  54. package/dist/commonjs/models/operations/listallrefunds.d.ts +9 -15
  55. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  56. package/dist/commonjs/models/operations/listallrefunds.js +8 -10
  57. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  58. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +532 -2849
  59. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/listallsubscriptions.js +345 -1612
  61. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  62. package/dist/commonjs/models/operations/listcustomers.d.ts +22 -22
  63. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/listcustomers.js +22 -22
  65. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  66. package/dist/commonjs/models/operations/listmandates.d.ts +26 -26
  67. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/listmandates.js +26 -26
  69. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  70. package/dist/commonjs/models/operations/listrefunds.d.ts +7 -7
  71. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/listrefunds.js +8 -10
  73. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  74. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +7 -7
  75. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -8
  77. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  78. package/dist/commonjs/models/operations/listsubscriptions.d.ts +81 -81
  79. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/listsubscriptions.js +90 -96
  81. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  82. package/dist/commonjs/models/operations/paymentcreateroute.d.ts +11 -0
  83. package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/paymentcreateroute.js +2 -0
  85. package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
  86. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +11 -0
  87. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  88. package/dist/commonjs/models/operations/paymentlistroutes.js +2 -0
  89. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  90. package/dist/commonjs/models/operations/updatecustomer.d.ts +22 -22
  91. package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/updatecustomer.js +22 -24
  93. package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
  94. package/dist/commonjs/models/operations/updatesubscription.d.ts +40 -40
  95. package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/updatesubscription.js +40 -50
  97. package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
  98. package/dist/esm/funcs/delayedRoutingList.js +5 -1
  99. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  100. package/dist/esm/funcs/subscriptionsAll.d.ts +1 -1
  101. package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
  102. package/dist/esm/funcs/subscriptionsAll.js +2 -5
  103. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  104. package/dist/esm/lib/config.d.ts +2 -2
  105. package/dist/esm/lib/config.js +2 -2
  106. package/dist/esm/mcp-server/mcp-server.js +1 -1
  107. package/dist/esm/mcp-server/server.js +1 -1
  108. package/dist/esm/models/errors/listallsubscriptions.d.ts +95 -14
  109. package/dist/esm/models/errors/listallsubscriptions.d.ts.map +1 -1
  110. package/dist/esm/models/errors/listallsubscriptions.js +77 -12
  111. package/dist/esm/models/errors/listallsubscriptions.js.map +1 -1
  112. package/dist/esm/models/operations/cancelsubscription.d.ts +40 -40
  113. package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
  114. package/dist/esm/models/operations/cancelsubscription.js +40 -48
  115. package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
  116. package/dist/esm/models/operations/createcustomer.d.ts +22 -22
  117. package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
  118. package/dist/esm/models/operations/createcustomer.js +22 -24
  119. package/dist/esm/models/operations/createcustomer.js.map +1 -1
  120. package/dist/esm/models/operations/createmandate.d.ts +26 -26
  121. package/dist/esm/models/operations/createmandate.d.ts.map +1 -1
  122. package/dist/esm/models/operations/createmandate.js +26 -28
  123. package/dist/esm/models/operations/createmandate.js.map +1 -1
  124. package/dist/esm/models/operations/createrefund.d.ts +7 -7
  125. package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
  126. package/dist/esm/models/operations/createrefund.js +8 -10
  127. package/dist/esm/models/operations/createrefund.js.map +1 -1
  128. package/dist/esm/models/operations/createsubscription.d.ts +44 -44
  129. package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
  130. package/dist/esm/models/operations/createsubscription.js +44 -53
  131. package/dist/esm/models/operations/createsubscription.js.map +1 -1
  132. package/dist/esm/models/operations/getcustomer.d.ts +28 -28
  133. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  134. package/dist/esm/models/operations/getcustomer.js +28 -30
  135. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  136. package/dist/esm/models/operations/getmandate.d.ts +26 -26
  137. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  138. package/dist/esm/models/operations/getmandate.js +26 -27
  139. package/dist/esm/models/operations/getmandate.js.map +1 -1
  140. package/dist/esm/models/operations/getrefund.d.ts +7 -7
  141. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  142. package/dist/esm/models/operations/getrefund.js +8 -8
  143. package/dist/esm/models/operations/getrefund.js.map +1 -1
  144. package/dist/esm/models/operations/getsubscription.d.ts +40 -40
  145. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  146. package/dist/esm/models/operations/getsubscription.js +40 -48
  147. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  148. package/dist/esm/models/operations/listallrefunds.d.ts +9 -15
  149. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  150. package/dist/esm/models/operations/listallrefunds.js +8 -10
  151. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  152. package/dist/esm/models/operations/listallsubscriptions.d.ts +532 -2849
  153. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  154. package/dist/esm/models/operations/listallsubscriptions.js +325 -1533
  155. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  156. package/dist/esm/models/operations/listcustomers.d.ts +22 -22
  157. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  158. package/dist/esm/models/operations/listcustomers.js +22 -22
  159. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  160. package/dist/esm/models/operations/listmandates.d.ts +26 -26
  161. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  162. package/dist/esm/models/operations/listmandates.js +26 -26
  163. package/dist/esm/models/operations/listmandates.js.map +1 -1
  164. package/dist/esm/models/operations/listrefunds.d.ts +7 -7
  165. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  166. package/dist/esm/models/operations/listrefunds.js +8 -10
  167. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  168. package/dist/esm/models/operations/listsettlementrefunds.d.ts +7 -7
  169. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  170. package/dist/esm/models/operations/listsettlementrefunds.js +8 -8
  171. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  172. package/dist/esm/models/operations/listsubscriptions.d.ts +81 -81
  173. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  174. package/dist/esm/models/operations/listsubscriptions.js +83 -89
  175. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  176. package/dist/esm/models/operations/paymentcreateroute.d.ts +11 -0
  177. package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
  178. package/dist/esm/models/operations/paymentcreateroute.js +2 -0
  179. package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
  180. package/dist/esm/models/operations/paymentlistroutes.d.ts +11 -0
  181. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  182. package/dist/esm/models/operations/paymentlistroutes.js +2 -0
  183. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  184. package/dist/esm/models/operations/updatecustomer.d.ts +22 -22
  185. package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
  186. package/dist/esm/models/operations/updatecustomer.js +22 -24
  187. package/dist/esm/models/operations/updatecustomer.js.map +1 -1
  188. package/dist/esm/models/operations/updatesubscription.d.ts +40 -40
  189. package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
  190. package/dist/esm/models/operations/updatesubscription.js +40 -50
  191. package/dist/esm/models/operations/updatesubscription.js.map +1 -1
  192. package/docs/sdks/delayedrouting/README.md +4 -0
  193. package/docs/sdks/subscriptions/README.md +5 -4
  194. package/examples/package-lock.json +1 -1
  195. package/jsr.json +1 -1
  196. package/package.json +1 -1
  197. package/src/funcs/delayedRoutingList.ts +6 -1
  198. package/src/funcs/subscriptionsAll.ts +17 -8
  199. package/src/lib/config.ts +2 -2
  200. package/src/mcp-server/mcp-server.ts +1 -1
  201. package/src/mcp-server/server.ts +1 -1
  202. package/src/models/errors/listallsubscriptions.ts +173 -23
  203. package/src/models/operations/cancelsubscription.ts +80 -98
  204. package/src/models/operations/createcustomer.ts +45 -53
  205. package/src/models/operations/createmandate.ts +52 -54
  206. package/src/models/operations/createrefund.ts +15 -17
  207. package/src/models/operations/createsubscription.ts +89 -104
  208. package/src/models/operations/getcustomer.ts +56 -63
  209. package/src/models/operations/getmandate.ts +52 -53
  210. package/src/models/operations/getrefund.ts +15 -15
  211. package/src/models/operations/getsubscription.ts +80 -98
  212. package/src/models/operations/listallrefunds.ts +17 -25
  213. package/src/models/operations/listallsubscriptions.ts +894 -4395
  214. package/src/models/operations/listcustomers.ts +44 -49
  215. package/src/models/operations/listmandates.ts +52 -52
  216. package/src/models/operations/listrefunds.ts +15 -17
  217. package/src/models/operations/listsettlementrefunds.ts +15 -15
  218. package/src/models/operations/listsubscriptions.ts +181 -176
  219. package/src/models/operations/paymentcreateroute.ts +13 -0
  220. package/src/models/operations/paymentlistroutes.ts +13 -0
  221. package/src/models/operations/updatecustomer.ts +45 -53
  222. package/src/models/operations/updatesubscription.ts +81 -97
@@ -2,29 +2,12 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
7
- *
8
- * @remarks
9
- * newest to oldest.
10
- */
11
- export declare const ListAllSubscriptionsSort: {
12
- readonly Asc: "asc";
13
- readonly Desc: "desc";
14
- };
15
- /**
16
- * Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
17
- *
18
- * @remarks
19
- * newest to oldest.
20
- */
21
- export type ListAllSubscriptionsSort = ClosedEnum<typeof ListAllSubscriptionsSort>;
22
5
  export type ListAllSubscriptionsRequest = {
23
6
  /**
24
- * Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate
7
+ * Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the
25
8
  *
26
9
  * @remarks
27
- * the result set.
10
+ * result set.
28
11
  */
29
12
  from?: string | undefined;
30
13
  /**
@@ -32,22 +15,16 @@ export type ListAllSubscriptionsRequest = {
32
15
  */
33
16
  limit?: number | null | undefined;
34
17
  /**
35
- * Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
18
+ * The identifier referring to the [profile](get-profile) you wish to retrieve subscriptions for.
36
19
  *
37
20
  * @remarks
38
- * newest to oldest.
39
- */
40
- sort?: ListAllSubscriptionsSort | null | undefined;
41
- /**
42
- * The identifier referring to the [profile](get-profile) you wish to
43
21
  *
44
- * @remarks
45
- * retrieve the resources for.
22
+ * Most API credentials are linked to a single profile. In these cases the `profileId` is already implied.
46
23
  *
47
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
48
- * organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
24
+ * To retrieve all subscriptions across the organization, use an organization-level API credential and omit the
25
+ * `profileId` parameter.
49
26
  */
50
- profileId?: string | undefined;
27
+ profileId?: string | null | undefined;
51
28
  /**
52
29
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
53
30
  *
@@ -59,6 +36,19 @@ export type ListAllSubscriptionsRequest = {
59
36
  */
60
37
  testmode?: boolean | null | undefined;
61
38
  };
39
+ /**
40
+ * The URL to the generic Mollie API error handling guide.
41
+ */
42
+ export type ListAllSubscriptionsNotFoundDocumentation = {
43
+ href: string;
44
+ type: string;
45
+ };
46
+ export type ListAllSubscriptionsNotFoundLinks = {
47
+ /**
48
+ * The URL to the generic Mollie API error handling guide.
49
+ */
50
+ documentation: ListAllSubscriptionsNotFoundDocumentation;
51
+ };
62
52
  /**
63
53
  * The URL to the generic Mollie API error handling guide.
64
54
  */
@@ -84,15 +74,30 @@ export declare const ListAllSubscriptionsMode: {
84
74
  */
85
75
  export type ListAllSubscriptionsMode = ClosedEnum<typeof ListAllSubscriptionsMode>;
86
76
  /**
87
- * The amount that you want to charge, e.g. `{currency:"EUR", value:"1000.00"}` if you would want to charge €1000.00.
77
+ * The subscription's current status is directly related to the status of the underlying customer or mandate that is
88
78
  *
89
79
  * @remarks
80
+ * enabling the subscription.
81
+ */
82
+ export declare const ListAllSubscriptionsStatus: {
83
+ readonly Pending: "pending";
84
+ readonly Active: "active";
85
+ readonly Canceled: "canceled";
86
+ readonly Suspended: "suspended";
87
+ readonly Completed: "completed";
88
+ };
89
+ /**
90
+ * The subscription's current status is directly related to the status of the underlying customer or mandate that is
90
91
  *
91
- * You can find the minimum and maximum amounts per payment method in our help center. Additionally, they can be
92
- * retrieved using the Get method endpoint.
92
+ * @remarks
93
+ * enabling the subscription.
94
+ */
95
+ export type ListAllSubscriptionsStatus = ClosedEnum<typeof ListAllSubscriptionsStatus>;
96
+ /**
97
+ * The amount for each individual payment that is charged with this subscription. For example, for a monthly
93
98
  *
94
- * If a tip was added for a Point-of-Sale payment, the amount will be updated to reflect the initial amount plus the
95
- * tip amount.
99
+ * @remarks
100
+ * subscription of €10, the subscription amount should be set to €10.
96
101
  */
97
102
  export type ListAllSubscriptionsAmount = {
98
103
  /**
@@ -105,55 +110,41 @@ export type ListAllSubscriptionsAmount = {
105
110
  value: string;
106
111
  };
107
112
  /**
108
- * The total amount that is already refunded. Only available when refunds are available for this payment. For some
113
+ * Interval to wait between payments, for example `1 month` or `14 days`.
109
114
  *
110
115
  * @remarks
111
- * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
112
- * costs for a return shipment to the customer.
116
+ *
117
+ * The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`).
113
118
  */
114
- export type ListAllSubscriptionsAmountRefunded = {
115
- /**
116
- * A three-character ISO 4217 currency code.
117
- */
118
- currency: string;
119
- /**
120
- * A string containing an exact monetary amount in the given currency.
121
- */
122
- value: string;
119
+ export declare const ListAllSubscriptionsInterval: {
120
+ readonly DotDotDotDays: "... days";
121
+ readonly DotDotDotWeeks: "... weeks";
122
+ readonly DotDotDotMonths: "... months";
123
123
  };
124
124
  /**
125
- * The remaining amount that can be refunded. Only available when refunds are available for this payment.
125
+ * Interval to wait between payments, for example `1 month` or `14 days`.
126
+ *
127
+ * @remarks
128
+ *
129
+ * The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`).
126
130
  */
127
- export type ListAllSubscriptionsAmountRemaining = {
128
- /**
129
- * A three-character ISO 4217 currency code.
130
- */
131
- currency: string;
132
- /**
133
- * A string containing an exact monetary amount in the given currency.
134
- */
135
- value: string;
136
- };
131
+ export type ListAllSubscriptionsInterval = ClosedEnum<typeof ListAllSubscriptionsInterval>;
137
132
  /**
138
- * The total amount that is already captured for this payment. Only available when this payment supports captures.
133
+ * The payment method used for this subscription. If omitted, any of the customer's valid mandates may be used.
139
134
  */
140
- export type ListAllSubscriptionsAmountCaptured = {
141
- /**
142
- * A three-character ISO 4217 currency code.
143
- */
144
- currency: string;
145
- /**
146
- * A string containing an exact monetary amount in the given currency.
147
- */
148
- value: string;
135
+ export declare const ListAllSubscriptionsMethod: {
136
+ readonly Creditcard: "creditcard";
137
+ readonly Directdebit: "directdebit";
138
+ readonly Paypal: "paypal";
149
139
  };
150
140
  /**
151
- * The total amount that was charged back for this payment. Only available when the total charged back amount is not
152
- *
153
- * @remarks
154
- * zero.
141
+ * The payment method used for this subscription. If omitted, any of the customer's valid mandates may be used.
142
+ */
143
+ export type ListAllSubscriptionsMethod = ClosedEnum<typeof ListAllSubscriptionsMethod>;
144
+ /**
145
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
155
146
  */
156
- export type ListAllSubscriptionsAmountChargedBack = {
147
+ export type ListAllSubscriptionsApplicationFeeAmount = {
157
148
  /**
158
149
  * A three-character ISO 4217 currency code.
159
150
  */
@@ -164,716 +155,326 @@ export type ListAllSubscriptionsAmountChargedBack = {
164
155
  value: string;
165
156
  };
166
157
  /**
167
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
158
+ * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
168
159
  *
169
160
  * @remarks
170
- * currency your account is settled in.
161
+ * merchants.
171
162
  *
172
- * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
173
- * settled by Mollie the `settlementAmount` is omitted from the response.
163
+ * Setting an application fee on the subscription will ensure this fee is charged on each individual payment.
174
164
  *
175
- * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
176
- * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
165
+ * Refer to the `applicationFee` parameter on the [Get payment endpoint](get-payment) documentation for more
166
+ * information.
177
167
  */
178
- export type ListAllSubscriptionsSettlementAmount = {
179
- /**
180
- * A three-character ISO 4217 currency code.
181
- */
182
- currency: string;
168
+ export type ListAllSubscriptionsApplicationFee = {
183
169
  /**
184
- * A string containing an exact monetary amount in the given currency.
170
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
185
171
  */
186
- value: string;
172
+ amount: ListAllSubscriptionsApplicationFeeAmount;
173
+ description: string;
187
174
  };
175
+ export type ListAllSubscriptionsMetadata = {};
188
176
  /**
189
- * The type of product purchased. For example, a physical or a digital product.
177
+ * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity.
190
178
  *
191
179
  * @remarks
180
+ * Whenever you fetch the entity with our API, we will also include the metadata. You can use up to approximately
181
+ * 1kB.
192
182
  *
193
- * The `tip` payment line type is not available when creating a payment.
183
+ * Any metadata added to the subscription will be automatically forwarded to the payments generated for it.
194
184
  */
195
- export declare const ListAllSubscriptionsLineType: {
196
- readonly Physical: "physical";
197
- readonly Digital: "digital";
198
- readonly ShippingFee: "shipping_fee";
199
- readonly Discount: "discount";
200
- readonly StoreCredit: "store_credit";
201
- readonly GiftCard: "gift_card";
202
- readonly Surcharge: "surcharge";
203
- readonly Tip: "tip";
204
- };
185
+ export type ListAllSubscriptionsMetadataUnion = ListAllSubscriptionsMetadata | string | Array<string>;
205
186
  /**
206
- * The type of product purchased. For example, a physical or a digital product.
207
- *
208
- * @remarks
209
- *
210
- * The `tip` payment line type is not available when creating a payment.
187
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
211
188
  */
212
- export type ListAllSubscriptionsLineType = ClosedEnum<typeof ListAllSubscriptionsLineType>;
189
+ export type ListAllSubscriptionsSubscriptionSelf = {
190
+ /**
191
+ * The actual URL string.
192
+ */
193
+ href: string;
194
+ /**
195
+ * The content type of the page or endpoint the URL points to.
196
+ */
197
+ type: string;
198
+ };
213
199
  /**
214
- * The price of a single item including VAT.
215
- *
216
- * @remarks
217
- *
218
- * For example: `{"currency":"EUR", "value":"89.00"}` if the box of LEGO costs €89.00 each.
219
- *
220
- * For types `discount`, `store_credit`, and `gift_card`, the unit price must be negative.
221
- *
222
- * The unit price can be zero in case of free items.
200
+ * The API resource URL of the [customer](get-customer) this subscription was created for.
223
201
  */
224
- export type ListAllSubscriptionsUnitPrice = {
202
+ export type ListAllSubscriptionsCustomer = {
225
203
  /**
226
- * A three-character ISO 4217 currency code.
204
+ * The actual URL string.
227
205
  */
228
- currency: string;
206
+ href?: string | undefined;
229
207
  /**
230
- * A string containing an exact monetary amount in the given currency.
208
+ * The content type of the page or endpoint the URL points to.
231
209
  */
232
- value: string;
210
+ type?: string | undefined;
233
211
  };
234
212
  /**
235
- * Any line-specific discounts, as a positive amount. Not relevant if the line itself is already a discount
236
- *
237
- * @remarks
238
- * type.
213
+ * The API resource URL of the [mandate](get-mandate) this subscription was created for.
239
214
  */
240
- export type ListAllSubscriptionsDiscountAmount = {
215
+ export type ListAllSubscriptionsMandate = {
241
216
  /**
242
- * A three-character ISO 4217 currency code.
217
+ * The actual URL string.
243
218
  */
244
- currency: string;
219
+ href?: string | undefined;
245
220
  /**
246
- * A string containing an exact monetary amount in the given currency.
221
+ * The content type of the page or endpoint the URL points to.
247
222
  */
248
- value: string;
223
+ type?: string | undefined;
249
224
  };
250
225
  /**
251
- * The total amount of the line, including VAT and discounts.
252
- *
253
- * @remarks
254
- *
255
- * Should match the following formula: `(unitPrice × quantity) - discountAmount`.
256
- *
257
- * The sum of all `totalAmount` values of all order lines should be equal to the full payment amount.
226
+ * The API resource URL of the [profile](get-profile) this subscription was created for.
258
227
  */
259
- export type ListAllSubscriptionsTotalAmount = {
228
+ export type ListAllSubscriptionsProfile = {
260
229
  /**
261
- * A three-character ISO 4217 currency code.
230
+ * The actual URL string.
262
231
  */
263
- currency: string;
232
+ href?: string | undefined;
264
233
  /**
265
- * A string containing an exact monetary amount in the given currency.
234
+ * The content type of the page or endpoint the URL points to.
266
235
  */
267
- value: string;
236
+ type?: string | undefined;
268
237
  };
269
238
  /**
270
- * The amount of value-added tax on the line. The `totalAmount` field includes VAT, so the `vatAmount` can be
239
+ * The API resource URL of the [payments](list-payments) created for this subscription. Omitted if no such
271
240
  *
272
241
  * @remarks
273
- * calculated with the formula `totalAmount × (vatRate / (100 + vatRate))`.
274
- *
275
- * Any deviations from this will result in an error.
276
- *
277
- * For example, for a `totalAmount` of SEK 100.00 with a 25.00% VAT rate, we expect a VAT amount of
278
- * `SEK 100.00 × (25 / 125) = SEK 20.00`.
242
+ * payments exist (yet).
279
243
  */
280
- export type ListAllSubscriptionsVatAmount = {
244
+ export type ListAllSubscriptionsPayments = {
281
245
  /**
282
- * A three-character ISO 4217 currency code.
246
+ * The actual URL string.
283
247
  */
284
- currency: string;
248
+ href?: string | undefined;
285
249
  /**
286
- * A string containing an exact monetary amount in the given currency.
250
+ * The content type of the page or endpoint the URL points to.
287
251
  */
288
- value: string;
289
- };
290
- export declare const ListAllSubscriptionsCategory: {
291
- readonly Meal: "meal";
292
- readonly Eco: "eco";
293
- readonly Gift: "gift";
294
- readonly SportCulture: "sport_culture";
295
- };
296
- export type ListAllSubscriptionsCategory = ClosedEnum<typeof ListAllSubscriptionsCategory>;
297
- /**
298
- * Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
299
- */
300
- export declare const ListAllSubscriptionsInterval: {
301
- readonly DotDotDotMonths: "... months";
302
- readonly DotDotDotWeeks: "... weeks";
303
- readonly DotDotDotDays: "... days";
252
+ type?: string | undefined;
304
253
  };
305
254
  /**
306
- * Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
307
- */
308
- export type ListAllSubscriptionsInterval = ClosedEnum<typeof ListAllSubscriptionsInterval>;
309
- /**
310
- * Total amount and currency of the recurring item.
255
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
311
256
  */
312
- export type ListAllSubscriptionsRecurringAmount = {
257
+ export type ListAllSubscriptionsSubscriptionDocumentation = {
313
258
  /**
314
- * A three-character ISO 4217 currency code.
259
+ * The actual URL string.
315
260
  */
316
- currency: string;
261
+ href: string;
317
262
  /**
318
- * A string containing an exact monetary amount in the given currency.
263
+ * The content type of the page or endpoint the URL points to.
319
264
  */
320
- value: string;
265
+ type: string;
321
266
  };
322
267
  /**
323
- * The details of subsequent recurring billing cycles. These parameters are used in the Mollie Checkout
324
- *
325
- * @remarks
326
- * to inform the shopper of the details for recurring products in the payments.
268
+ * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
327
269
  */
328
- export type ListAllSubscriptionsRecurring = {
270
+ export type ListAllSubscriptionsSubscriptionLinks = {
329
271
  /**
330
- * A description of the recurring item. If not present, the main description of the item will be used.
272
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
331
273
  */
332
- description?: string | undefined;
274
+ self: ListAllSubscriptionsSubscriptionSelf;
333
275
  /**
334
- * Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
276
+ * The API resource URL of the [customer](get-customer) this subscription was created for.
335
277
  */
336
- interval: ListAllSubscriptionsInterval;
278
+ customer: ListAllSubscriptionsCustomer | null;
279
+ /**
280
+ * The API resource URL of the [mandate](get-mandate) this subscription was created for.
281
+ */
282
+ mandate?: ListAllSubscriptionsMandate | null | undefined;
337
283
  /**
338
- * Total amount and currency of the recurring item.
284
+ * The API resource URL of the [profile](get-profile) this subscription was created for.
339
285
  */
340
- amount?: ListAllSubscriptionsRecurringAmount | undefined;
286
+ profile: ListAllSubscriptionsProfile | null;
341
287
  /**
342
- * Total number of charges for the subscription to complete. Leave empty for ongoing subscription.
288
+ * The API resource URL of the [payments](list-payments) created for this subscription. Omitted if no such
289
+ *
290
+ * @remarks
291
+ * payments exist (yet).
343
292
  */
344
- times?: number | undefined;
293
+ payments?: ListAllSubscriptionsPayments | null | undefined;
345
294
  /**
346
- * The start date of the subscription if it does not start right away (format `YYYY-MM-DD`)
295
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
347
296
  */
348
- startDate?: string | null | undefined;
297
+ documentation: ListAllSubscriptionsSubscriptionDocumentation;
349
298
  };
350
- export type ListAllSubscriptionsLine = {
299
+ export type ListAllSubscriptionsSubscription = {
351
300
  /**
352
- * The type of product purchased. For example, a physical or a digital product.
301
+ * Indicates the response contains a subscription object. Will always contain the string `subscription` for this
353
302
  *
354
303
  * @remarks
355
- *
356
- * The `tip` payment line type is not available when creating a payment.
357
- */
358
- type?: ListAllSubscriptionsLineType | undefined;
359
- /**
360
- * A description of the line item. For example *LEGO 4440 Forest Police Station*.
304
+ * endpoint.
361
305
  */
362
- description: string;
306
+ resource?: string | undefined;
363
307
  /**
364
- * The number of items.
308
+ * The identifier uniquely referring to this subscription. Example: `sub_rVKGtNd6s3`.
365
309
  */
366
- quantity: number;
310
+ id: string;
367
311
  /**
368
- * The unit for the quantity. For example *pcs*, *kg*, or *cm*.
312
+ * Whether this entity was created in live mode or in test mode.
369
313
  */
370
- quantityUnit?: string | undefined;
314
+ mode: ListAllSubscriptionsMode;
371
315
  /**
372
- * The price of a single item including VAT.
316
+ * The subscription's current status is directly related to the status of the underlying customer or mandate that is
373
317
  *
374
318
  * @remarks
375
- *
376
- * For example: `{"currency":"EUR", "value":"89.00"}` if the box of LEGO costs €89.00 each.
377
- *
378
- * For types `discount`, `store_credit`, and `gift_card`, the unit price must be negative.
379
- *
380
- * The unit price can be zero in case of free items.
319
+ * enabling the subscription.
381
320
  */
382
- unitPrice: ListAllSubscriptionsUnitPrice;
321
+ status: ListAllSubscriptionsStatus;
383
322
  /**
384
- * Any line-specific discounts, as a positive amount. Not relevant if the line itself is already a discount
323
+ * The amount for each individual payment that is charged with this subscription. For example, for a monthly
385
324
  *
386
325
  * @remarks
387
- * type.
326
+ * subscription of €10, the subscription amount should be set to €10.
388
327
  */
389
- discountAmount?: ListAllSubscriptionsDiscountAmount | undefined;
328
+ amount: ListAllSubscriptionsAmount;
390
329
  /**
391
- * The total amount of the line, including VAT and discounts.
330
+ * Total number of payments for the subscription. Once this number of payments is reached, the subscription is
392
331
  *
393
332
  * @remarks
333
+ * considered completed.
394
334
  *
395
- * Should match the following formula: `(unitPrice × quantity) - discountAmount`.
396
- *
397
- * The sum of all `totalAmount` values of all order lines should be equal to the full payment amount.
335
+ * Test mode subscriptions will get canceled automatically after 10 payments.
398
336
  */
399
- totalAmount: ListAllSubscriptionsTotalAmount;
337
+ times: number | null;
400
338
  /**
401
- * The VAT rate applied to the line, for example `21.00` for 21%. The vatRate should be passed as a string and
402
- *
403
- * @remarks
404
- * not as a float, to ensure the correct number of decimals are passed.
339
+ * Number of payments left for the subscription.
405
340
  */
406
- vatRate?: string | undefined;
341
+ timesRemaining: number;
407
342
  /**
408
- * The amount of value-added tax on the line. The `totalAmount` field includes VAT, so the `vatAmount` can be
343
+ * Interval to wait between payments, for example `1 month` or `14 days`.
409
344
  *
410
345
  * @remarks
411
- * calculated with the formula `totalAmount × (vatRate / (100 + vatRate))`.
412
346
  *
413
- * Any deviations from this will result in an error.
414
- *
415
- * For example, for a `totalAmount` of SEK 100.00 with a 25.00% VAT rate, we expect a VAT amount of
416
- * `SEK 100.00 × (25 / 125) = SEK 20.00`.
347
+ * The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`).
417
348
  */
418
- vatAmount?: ListAllSubscriptionsVatAmount | undefined;
349
+ interval: ListAllSubscriptionsInterval;
419
350
  /**
420
- * The SKU, EAN, ISBN or UPC of the product sold.
351
+ * The start date of the subscription in `YYYY-MM-DD` format.
421
352
  */
422
- sku?: string | undefined;
353
+ startDate: string;
423
354
  /**
424
- * An array with the voucher categories, in case of a line eligible for a voucher. See the
355
+ * The date of the next scheduled payment in `YYYY-MM-DD` format. If the subscription has been completed or canceled,
425
356
  *
426
357
  * @remarks
427
- * [Integrating Vouchers](integrating-vouchers) guide for more information.
428
- */
429
- categories?: Array<ListAllSubscriptionsCategory> | undefined;
430
- /**
431
- * A link pointing to an image of the product sold.
358
+ * this parameter will not be returned.
432
359
  */
433
- imageUrl?: string | undefined;
360
+ nextPaymentDate?: string | null | undefined;
434
361
  /**
435
- * A link pointing to the product page in your web shop of the product sold.
436
- */
437
- productUrl?: string | undefined;
438
- /**
439
- * The details of subsequent recurring billing cycles. These parameters are used in the Mollie Checkout
362
+ * The subscription's description will be used as the description of the resulting individual payments and so showing
440
363
  *
441
364
  * @remarks
442
- * to inform the shopper of the details for recurring products in the payments.
365
+ * up on the bank statement of the consumer.
366
+ *
367
+ * **Please note:** the description needs to be unique for the Customer in case it has multiple active subscriptions.
443
368
  */
444
- recurring?: ListAllSubscriptionsRecurring | undefined;
445
- };
446
- /**
447
- * The customer's billing address details. We advise to provide these details to improve fraud protection and
448
- *
449
- * @remarks
450
- * conversion.
451
- *
452
- * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
453
- * `country`.
454
- *
455
- * Required for payment method `in3`, `klarna`, `billie` and `riverty`.
456
- */
457
- export type ListAllSubscriptionsBillingAddress = {
369
+ description: string;
458
370
  /**
459
- * The title of the person, for example *Mr.* or *Mrs.*.
371
+ * The payment method used for this subscription. If omitted, any of the customer's valid mandates may be used.
460
372
  */
461
- title?: string | undefined;
373
+ method: ListAllSubscriptionsMethod | null;
462
374
  /**
463
- * The given name (first name) of the person should be at least two characters and cannot contain only
375
+ * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
464
376
  *
465
377
  * @remarks
466
- * numbers.
378
+ * merchants.
379
+ *
380
+ * Setting an application fee on the subscription will ensure this fee is charged on each individual payment.
467
381
  *
468
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
382
+ * Refer to the `applicationFee` parameter on the [Get payment endpoint](get-payment) documentation for more
383
+ * information.
469
384
  */
470
- givenName?: string | undefined;
385
+ applicationFee?: ListAllSubscriptionsApplicationFee | undefined;
471
386
  /**
472
- * The given family name (surname) of the person should be at least two characters and cannot contain only
387
+ * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity.
473
388
  *
474
389
  * @remarks
475
- * numbers.
390
+ * Whenever you fetch the entity with our API, we will also include the metadata. You can use up to approximately
391
+ * 1kB.
476
392
  *
477
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
478
- */
479
- familyName?: string | undefined;
480
- /**
481
- * The name of the organization, in case the addressee is an organization.
393
+ * Any metadata added to the subscription will be automatically forwarded to the payments generated for it.
482
394
  */
483
- organizationName?: string | undefined;
395
+ metadata: ListAllSubscriptionsMetadata | string | Array<string> | null;
484
396
  /**
485
- * A street and street number.
397
+ * We will call this URL for any payment status changes of payments resulting from this subscription.
486
398
  *
487
399
  * @remarks
488
400
  *
489
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
401
+ * This webhook will receive **all** events for the subscription's payments. This may include payment failures as
402
+ * well. Be sure to verify the payment's subscription ID and its status.
490
403
  */
491
- streetAndNumber?: string | undefined;
404
+ webhookUrl: string;
492
405
  /**
493
- * Any additional addressing details, for example an apartment number.
406
+ * The customer this subscription belongs to.
494
407
  */
495
- streetAdditional?: string | undefined;
408
+ customerId: string;
496
409
  /**
497
- * A postal code. This field may be required if the provided country has a postal code system.
498
- *
499
- * @remarks
500
- *
501
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
410
+ * The mandate used for this subscription, if any.
411
+ */
412
+ mandateId?: string | null | undefined;
413
+ /**
414
+ * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
502
415
  */
503
- postalCode?: string | undefined;
416
+ createdAt: string;
504
417
  /**
505
- * A valid e-mail address.
418
+ * The subscription's date and time of cancellation, in ISO 8601 format. This parameter is omitted if the
506
419
  *
507
420
  * @remarks
508
- *
509
- * If you provide the email address for a `banktransfer` payment, we will automatically send the instructions
510
- * email upon payment creation. The language of the email will follow the locale parameter of the payment.
511
- *
512
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
421
+ * subscription is not canceled (yet).
513
422
  */
514
- email?: string | undefined;
423
+ canceledAt?: string | null | undefined;
515
424
  /**
516
- * If provided, it must be in the [E.164](https://en.wikipedia.org/wiki/E.164) format. For example: +31208202070.
425
+ * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
517
426
  */
518
- phone?: string | undefined;
427
+ links?: ListAllSubscriptionsSubscriptionLinks | undefined;
428
+ };
429
+ export type ListAllSubscriptionsEmbedded = {
519
430
  /**
520
- * A city name.
521
- *
522
- * @remarks
523
- *
524
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
431
+ * A list of subscription objects.
525
432
  */
526
- city?: string | undefined;
433
+ subscriptions?: Array<ListAllSubscriptionsSubscription> | undefined;
434
+ };
435
+ /**
436
+ * The URL to the current set of items.
437
+ */
438
+ export type ListAllSubscriptionsSelf = {
527
439
  /**
528
- * The top-level administrative subdivision of the country. For example: Noord-Holland.
440
+ * The actual URL string.
529
441
  */
530
- region?: string | undefined;
442
+ href: string;
531
443
  /**
532
- * A country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
533
- *
534
- * @remarks
535
- *
536
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
444
+ * The content type of the page or endpoint the URL points to.
537
445
  */
538
- country?: string | undefined;
446
+ type: string;
539
447
  };
540
448
  /**
541
- * The customer's shipping address details. We advise to provide these details to improve fraud protection and
542
- *
543
- * @remarks
544
- * conversion.
545
- *
546
- * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
547
- * `country`.
449
+ * The previous set of items, if available.
548
450
  */
549
- export type ListAllSubscriptionsShippingAddress = {
451
+ export type ListAllSubscriptionsPrevious = {
550
452
  /**
551
- * The title of the person, for example *Mr.* or *Mrs.*.
453
+ * The actual URL string.
552
454
  */
553
- title?: string | undefined;
455
+ href?: string | undefined;
554
456
  /**
555
- * The given name (first name) of the person should be at least two characters and cannot contain only
556
- *
557
- * @remarks
558
- * numbers.
559
- *
560
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
457
+ * The content type of the page or endpoint the URL points to.
561
458
  */
562
- givenName?: string | undefined;
563
- /**
564
- * The given family name (surname) of the person should be at least two characters and cannot contain only
565
- *
566
- * @remarks
567
- * numbers.
568
- *
569
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
570
- */
571
- familyName?: string | undefined;
572
- /**
573
- * The name of the organization, in case the addressee is an organization.
574
- */
575
- organizationName?: string | undefined;
576
- /**
577
- * A street and street number.
578
- *
579
- * @remarks
580
- *
581
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
582
- */
583
- streetAndNumber?: string | undefined;
584
- /**
585
- * Any additional addressing details, for example an apartment number.
586
- */
587
- streetAdditional?: string | undefined;
588
- /**
589
- * A postal code. This field may be required if the provided country has a postal code system.
590
- *
591
- * @remarks
592
- *
593
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
594
- */
595
- postalCode?: string | undefined;
596
- /**
597
- * A valid e-mail address.
598
- *
599
- * @remarks
600
- *
601
- * If you provide the email address for a `banktransfer` payment, we will automatically send the instructions
602
- * email upon payment creation. The language of the email will follow the locale parameter of the payment.
603
- *
604
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
605
- */
606
- email?: string | undefined;
607
- /**
608
- * If provided, it must be in the [E.164](https://en.wikipedia.org/wiki/E.164) format. For example: +31208202070.
609
- */
610
- phone?: string | undefined;
611
- /**
612
- * A city name.
613
- *
614
- * @remarks
615
- *
616
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
617
- */
618
- city?: string | undefined;
619
- /**
620
- * The top-level administrative subdivision of the country. For example: Noord-Holland.
621
- */
622
- region?: string | undefined;
623
- /**
624
- * A country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
625
- *
626
- * @remarks
627
- *
628
- * Required for payment methods `billie`, `in3`, `klarna` and `riverty`.
629
- */
630
- country?: string | undefined;
631
- };
632
- /**
633
- * Allows you to preset the language to be used in the hosted payment pages shown to the customer. Setting a locale
634
- *
635
- * @remarks
636
- * is highly recommended and will greatly improve your conversion rate. When this parameter is omitted the browser
637
- * language will be used instead if supported by the payment method. You can provide any `xx_XX` format ISO 15897
638
- * locale, but our hosted payment pages currently only support the specified languages.
639
- *
640
- * For bank transfer payments specifically, the locale will determine the target bank account the customer has to
641
- * transfer the money to. We have dedicated bank accounts for Belgium, Germany, and The Netherlands. Having the
642
- * customer use a local bank account greatly increases the conversion and speed of payment.
643
- */
644
- export declare const ListAllSubscriptionsLocale: {
645
- readonly EnUS: "en_US";
646
- readonly EnGB: "en_GB";
647
- readonly NLNL: "nl_NL";
648
- readonly NlBE: "nl_BE";
649
- readonly DEDE: "de_DE";
650
- readonly DeAT: "de_AT";
651
- readonly DeCH: "de_CH";
652
- readonly FRFR: "fr_FR";
653
- readonly FrBE: "fr_BE";
654
- readonly ESES: "es_ES";
655
- readonly CaES: "ca_ES";
656
- readonly PTPT: "pt_PT";
657
- readonly ITIT: "it_IT";
658
- readonly NbNO: "nb_NO";
659
- readonly SvSE: "sv_SE";
660
- readonly FIFI: "fi_FI";
661
- readonly DaDK: "da_DK";
662
- readonly ISIS: "is_IS";
663
- readonly HUHU: "hu_HU";
664
- readonly PLPL: "pl_PL";
665
- readonly LVLV: "lv_LV";
666
- readonly LTLT: "lt_LT";
667
- };
668
- /**
669
- * Allows you to preset the language to be used in the hosted payment pages shown to the customer. Setting a locale
670
- *
671
- * @remarks
672
- * is highly recommended and will greatly improve your conversion rate. When this parameter is omitted the browser
673
- * language will be used instead if supported by the payment method. You can provide any `xx_XX` format ISO 15897
674
- * locale, but our hosted payment pages currently only support the specified languages.
675
- *
676
- * For bank transfer payments specifically, the locale will determine the target bank account the customer has to
677
- * transfer the money to. We have dedicated bank accounts for Belgium, Germany, and The Netherlands. Having the
678
- * customer use a local bank account greatly increases the conversion and speed of payment.
679
- */
680
- export type ListAllSubscriptionsLocale = ClosedEnum<typeof ListAllSubscriptionsLocale>;
681
- /**
682
- * The payment method used for this transaction. If a specific method was selected during payment initialization,
683
- *
684
- * @remarks
685
- * this field reflects that choice.
686
- */
687
- export declare const ListAllSubscriptionsMethod: {
688
- readonly Alma: "alma";
689
- readonly Applepay: "applepay";
690
- readonly Bacs: "bacs";
691
- readonly Bancomatpay: "bancomatpay";
692
- readonly Bancontact: "bancontact";
693
- readonly Banktransfer: "banktransfer";
694
- readonly Belfius: "belfius";
695
- readonly Billie: "billie";
696
- readonly Bizum: "bizum";
697
- readonly Blik: "blik";
698
- readonly Creditcard: "creditcard";
699
- readonly Directdebit: "directdebit";
700
- readonly Eps: "eps";
701
- readonly Giftcard: "giftcard";
702
- readonly Ideal: "ideal";
703
- readonly In3: "in3";
704
- readonly Kbc: "kbc";
705
- readonly Klarna: "klarna";
706
- readonly Klarnapaylater: "klarnapaylater";
707
- readonly Klarnapaynow: "klarnapaynow";
708
- readonly Klarnasliceit: "klarnasliceit";
709
- readonly Mbway: "mbway";
710
- readonly Multibanco: "multibanco";
711
- readonly Mybank: "mybank";
712
- readonly Paybybank: "paybybank";
713
- readonly Payconiq: "payconiq";
714
- readonly Paypal: "paypal";
715
- readonly Paysafecard: "paysafecard";
716
- readonly Pointofsale: "pointofsale";
717
- readonly Przelewy24: "przelewy24";
718
- readonly Riverty: "riverty";
719
- readonly Satispay: "satispay";
720
- readonly Swish: "swish";
721
- readonly Trustly: "trustly";
722
- readonly Twint: "twint";
723
- readonly Voucher: "voucher";
724
- };
725
- /**
726
- * The payment method used for this transaction. If a specific method was selected during payment initialization,
727
- *
728
- * @remarks
729
- * this field reflects that choice.
730
- */
731
- export type ListAllSubscriptionsMethod = ClosedEnum<typeof ListAllSubscriptionsMethod>;
732
- export type ListAllSubscriptionsMetadata = {};
733
- /**
734
- * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
735
- *
736
- * @remarks
737
- * you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
738
- */
739
- export type ListAllSubscriptionsMetadataUnion = ListAllSubscriptionsMetadata | string | Array<string>;
740
- /**
741
- * 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#/)
742
- *
743
- * @remarks
744
- * and capture at a later time.
745
- *
746
- * This field needs to be set to `manual` for method `riverty`.
747
- */
748
- export declare const ListAllSubscriptionsCaptureMode: {
749
- readonly Automatic: "automatic";
750
- readonly Manual: "manual";
751
- };
752
- /**
753
- * 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#/)
754
- *
755
- * @remarks
756
- * and capture at a later time.
757
- *
758
- * This field needs to be set to `manual` for method `riverty`.
759
- */
760
- export type ListAllSubscriptionsCaptureMode = ClosedEnum<typeof ListAllSubscriptionsCaptureMode>;
761
- /**
762
- * The fee that you wish to charge.
763
- *
764
- * @remarks
765
- *
766
- * Be careful to leave enough space for Mollie's own fees to be deducted as well. For example, you cannot charge
767
- * a €0.99 fee on a €1.00 payment.
768
- */
769
- export type ListAllSubscriptionsApplicationFeeAmount = {
770
- /**
771
- * A three-character ISO 4217 currency code.
772
- */
773
- currency: string;
774
- /**
775
- * A string containing an exact monetary amount in the given currency.
776
- */
777
- value: string;
778
- };
779
- /**
780
- * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
781
- *
782
- * @remarks
783
- * merchants.
784
- *
785
- * If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
786
- * `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
787
- * to your own account balance.
788
- *
789
- * If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
790
- * `routing` parameter.
791
- */
792
- export type ListAllSubscriptionsApplicationFee = {
793
- /**
794
- * The fee that you wish to charge.
795
- *
796
- * @remarks
797
- *
798
- * Be careful to leave enough space for Mollie's own fees to be deducted as well. For example, you cannot charge
799
- * a €0.99 fee on a €1.00 payment.
800
- */
801
- amount?: ListAllSubscriptionsApplicationFeeAmount | undefined;
802
- /**
803
- * The description of the application fee. This will appear on settlement reports towards both you and the
804
- *
805
- * @remarks
806
- * connected merchant.
807
- */
808
- description?: string | undefined;
809
- };
810
- /**
811
- * Whether this entity was created in live mode or in test mode.
812
- */
813
- export declare const ListAllSubscriptionsRoutingMode: {
814
- readonly Live: "live";
815
- readonly Test: "test";
816
- };
817
- /**
818
- * Whether this entity was created in live mode or in test mode.
819
- */
820
- export type ListAllSubscriptionsRoutingMode = ClosedEnum<typeof ListAllSubscriptionsRoutingMode>;
821
- /**
822
- * The portion of the total payment amount being routed. Currently only `EUR` payments can be routed.
823
- */
824
- export type ListAllSubscriptionsRoutingAmount = {
825
- /**
826
- * A three-character ISO 4217 currency code.
827
- */
828
- currency: string;
829
- /**
830
- * A string containing an exact monetary amount in the given currency.
831
- */
832
- value: string;
833
- };
834
- /**
835
- * The type of destination. Currently only the destination type `organization` is supported.
836
- */
837
- export declare const ListAllSubscriptionsRoutingType: {
838
- readonly Organization: "organization";
839
- };
840
- /**
841
- * The type of destination. Currently only the destination type `organization` is supported.
842
- */
843
- export type ListAllSubscriptionsRoutingType = ClosedEnum<typeof ListAllSubscriptionsRoutingType>;
844
- /**
845
- * The destination of this portion of the payment.
846
- */
847
- export type ListAllSubscriptionsDestination = {
848
- /**
849
- * The type of destination. Currently only the destination type `organization` is supported.
850
- */
851
- type: ListAllSubscriptionsRoutingType;
852
- /**
853
- * Required for destination type `organization`. The ID of the connected organization the funds should be
854
- *
855
- * @remarks
856
- * routed to.
857
- */
858
- organizationId: string;
459
+ type?: string | undefined;
859
460
  };
860
461
  /**
861
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
462
+ * The next set of items, if available.
862
463
  */
863
- export type ListAllSubscriptionsRoutingSelf = {
464
+ export type ListAllSubscriptionsNext = {
864
465
  /**
865
466
  * The actual URL string.
866
467
  */
867
- href: string;
468
+ href?: string | undefined;
868
469
  /**
869
470
  * The content type of the page or endpoint the URL points to.
870
471
  */
871
- type: string;
472
+ type?: string | undefined;
872
473
  };
873
474
  /**
874
- * The API resource URL of the [payment](get-payment) that belong to this route.
475
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
875
476
  */
876
- export type ListAllSubscriptionsRoutingPayment = {
477
+ export type ListAllSubscriptionsDocumentation = {
877
478
  /**
878
479
  * The actual URL string.
879
480
  */
@@ -884,1980 +485,179 @@ export type ListAllSubscriptionsRoutingPayment = {
884
485
  type: string;
885
486
  };
886
487
  /**
887
- * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
888
- */
889
- export type ListAllSubscriptionsRoutingLinks = {
890
- /**
891
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
892
- */
893
- self: ListAllSubscriptionsRoutingSelf;
894
- /**
895
- * The API resource URL of the [payment](get-payment) that belong to this route.
896
- */
897
- payment: ListAllSubscriptionsRoutingPayment;
898
- };
899
- export type ListAllSubscriptionsRouting = {
900
- /**
901
- * Indicates the response contains a route object. Will always contain the string `route` for this endpoint.
902
- */
903
- resource: string;
904
- /**
905
- * The identifier uniquely referring to this route. Mollie will always refer to the route by this ID.
906
- *
907
- * @remarks
908
- * Example: `rt_5B8cwPMGnU6qLbRvo7qEZo`.
909
- */
910
- id: string;
911
- /**
912
- * Whether this entity was created in live mode or in test mode.
913
- */
914
- mode: ListAllSubscriptionsRoutingMode;
915
- /**
916
- * The portion of the total payment amount being routed. Currently only `EUR` payments can be routed.
917
- */
918
- amount: ListAllSubscriptionsRoutingAmount;
919
- /**
920
- * The destination of this portion of the payment.
921
- */
922
- destination: ListAllSubscriptionsDestination;
923
- /**
924
- * The date and time when the route was created. The date is given in ISO 8601 format.
925
- */
926
- createdAt: string;
927
- /**
928
- * Optionally, schedule this portion of the payment to be transferred to its destination on a later date. The
929
- *
930
- * @remarks
931
- * date must be given in `YYYY-MM-DD` format.
932
- *
933
- * If no date is given, the funds become available to the connected merchant as soon as the payment succeeds.
934
- */
935
- releaseDate?: string | null | undefined;
936
- /**
937
- * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
938
- */
939
- links: ListAllSubscriptionsRoutingLinks;
940
- };
941
- /**
942
- * **Only relevant for recurring payments.**
943
- *
944
- * @remarks
945
- *
946
- * Indicate which part of a recurring sequence this payment is for.
947
- *
948
- * Recurring payments can only take place if a mandate is available. A common way to establish such a mandate is
949
- * through a `first` payment. With a `first` payment, the customer agrees to automatic recurring charges taking place
950
- * on their account in the future.
951
- *
952
- * If set to `recurring`, the customer's card is charged automatically.
953
- *
954
- * Defaults to `oneoff`, which is a regular non-recurring payment.
955
- *
956
- * For PayPal payments, recurring is only possible if your connected PayPal account allows it. You can call our
957
- * [Methods API](list-methods) with parameter `sequenceType: first` to discover which payment methods on your account
958
- * are set up correctly for recurring payments.
959
- */
960
- export declare const ListAllSubscriptionsSequenceType: {
961
- readonly Oneoff: "oneoff";
962
- readonly First: "first";
963
- readonly Recurring: "recurring";
964
- };
965
- /**
966
- * **Only relevant for recurring payments.**
967
- *
968
- * @remarks
969
- *
970
- * Indicate which part of a recurring sequence this payment is for.
971
- *
972
- * Recurring payments can only take place if a mandate is available. A common way to establish such a mandate is
973
- * through a `first` payment. With a `first` payment, the customer agrees to automatic recurring charges taking place
974
- * on their account in the future.
975
- *
976
- * If set to `recurring`, the customer's card is charged automatically.
977
- *
978
- * Defaults to `oneoff`, which is a regular non-recurring payment.
979
- *
980
- * For PayPal payments, recurring is only possible if your connected PayPal account allows it. You can call our
981
- * [Methods API](list-methods) with parameter `sequenceType: first` to discover which payment methods on your account
982
- * are set up correctly for recurring payments.
983
- */
984
- export type ListAllSubscriptionsSequenceType = ClosedEnum<typeof ListAllSubscriptionsSequenceType>;
985
- /**
986
- * The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
987
- *
988
- * @remarks
989
- * statuses occur at what point.
990
- */
991
- export declare const ListAllSubscriptionsStatus: {
992
- readonly Open: "open";
993
- readonly Pending: "pending";
994
- readonly Authorized: "authorized";
995
- readonly Paid: "paid";
996
- readonly Canceled: "canceled";
997
- readonly Expired: "expired";
998
- readonly Failed: "failed";
999
- };
1000
- /**
1001
- * The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
1002
- *
1003
- * @remarks
1004
- * statuses occur at what point.
1005
- */
1006
- export type ListAllSubscriptionsStatus = ClosedEnum<typeof ListAllSubscriptionsStatus>;
1007
- /**
1008
- * This object offers details about the status of a payment. Currently it is only available for point-of-sale
1009
- *
1010
- * @remarks
1011
- * payments.
1012
- *
1013
- * You can find more information about the possible values of this object on
1014
- * [this page](status-reasons).**
488
+ * Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
1015
489
  */
1016
- export type ListAllSubscriptionsStatusReason = {
490
+ export type ListAllSubscriptionsLinks = {
1017
491
  /**
1018
- * A machine-readable code that indicates the reason for the payment's status.
492
+ * The URL to the current set of items.
1019
493
  */
1020
- code: string;
494
+ self?: ListAllSubscriptionsSelf | undefined;
1021
495
  /**
1022
- * A description of the status reason, localized according to the payment `locale`.
496
+ * The previous set of items, if available.
1023
497
  */
1024
- message: string;
1025
- };
1026
- /**
1027
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1028
- */
1029
- export type ListAllSubscriptionsPaymentSelf = {
498
+ previous?: ListAllSubscriptionsPrevious | null | undefined;
1030
499
  /**
1031
- * The actual URL string.
500
+ * The next set of items, if available.
1032
501
  */
1033
- href: string;
502
+ next?: ListAllSubscriptionsNext | null | undefined;
1034
503
  /**
1035
- * The content type of the page or endpoint the URL points to.
504
+ * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1036
505
  */
1037
- type: string;
506
+ documentation?: ListAllSubscriptionsDocumentation | undefined;
1038
507
  };
1039
508
  /**
1040
- * The URL your customer should visit to make the payment. This is where you should redirect the customer to.
509
+ * A list of subscription objects.
1041
510
  */
1042
- export type ListAllSubscriptionsCheckout = {
1043
- /**
1044
- * The actual URL string.
1045
- */
1046
- href: string;
511
+ export type ListAllSubscriptionsResponse = {
1047
512
  /**
1048
- * The content type of the page or endpoint the URL points to.
1049
- */
1050
- type: string;
1051
- };
1052
- /**
1053
- * The deeplink URL to the app of the payment method. Currently only available for `bancontact`.
1054
- */
1055
- export type ListAllSubscriptionsMobileAppCheckout = {
1056
- /**
1057
- * The actual URL string.
1058
- */
1059
- href: string;
1060
- /**
1061
- * The content type of the page or endpoint the URL points to.
1062
- */
1063
- type: string;
1064
- };
1065
- /**
1066
- * For test mode payments in certain scenarios, a hosted interface is available to help you test different
1067
- *
1068
- * @remarks
1069
- * payment states.
1070
- *
1071
- * Firstly, for recurring test mode payments. Recurring payments do not have a checkout URL, because these
1072
- * payments are executed without any user interaction.
1073
- *
1074
- * Secondly, for paid test mode payments. The payment state screen will then allow you to create a refund or
1075
- * chargeback for the test payment.
1076
- */
1077
- export type ListAllSubscriptionsChangePaymentState = {
1078
- /**
1079
- * The actual URL string.
1080
- */
1081
- href: string;
1082
- /**
1083
- * The content type of the page or endpoint the URL points to.
1084
- */
1085
- type: string;
1086
- };
1087
- /**
1088
- * Direct link to the payment in the Mollie Dashboard.
1089
- */
1090
- export type ListAllSubscriptionsDashboard = {
1091
- /**
1092
- * The actual URL string.
1093
- */
1094
- href: string;
1095
- /**
1096
- * The content type of the page or endpoint the URL points to.
1097
- */
1098
- type: string;
1099
- };
1100
- /**
1101
- * The API resource URL of the [refunds](list-payment-refunds) that belong to this payment.
1102
- */
1103
- export type ListAllSubscriptionsRefunds = {
1104
- /**
1105
- * The actual URL string.
1106
- */
1107
- href: string;
1108
- /**
1109
- * The content type of the page or endpoint the URL points to.
1110
- */
1111
- type: string;
1112
- };
1113
- /**
1114
- * The API resource URL of the [chargebacks](list-payment-chargebacks) that belong to this
1115
- *
1116
- * @remarks
1117
- * payment.
1118
- */
1119
- export type ListAllSubscriptionsChargebacks = {
1120
- /**
1121
- * The actual URL string.
1122
- */
1123
- href: string;
1124
- /**
1125
- * The content type of the page or endpoint the URL points to.
1126
- */
1127
- type: string;
1128
- };
1129
- /**
1130
- * The API resource URL of the [captures](list-payment-captures) that belong to this payment.
1131
- */
1132
- export type ListAllSubscriptionsCaptures = {
1133
- /**
1134
- * The actual URL string.
1135
- */
1136
- href: string;
1137
- /**
1138
- * The content type of the page or endpoint the URL points to.
1139
- */
1140
- type: string;
1141
- };
1142
- /**
1143
- * The API resource URL of the [settlement](get-settlement) this payment has been settled with.
1144
- *
1145
- * @remarks
1146
- * Not present if not yet settled.
1147
- */
1148
- export type ListAllSubscriptionsSettlement = {
1149
- /**
1150
- * The actual URL string.
1151
- */
1152
- href: string;
1153
- /**
1154
- * The content type of the page or endpoint the URL points to.
1155
- */
1156
- type: string;
1157
- };
1158
- /**
1159
- * The API resource URL of the [customer](get-customer).
1160
- */
1161
- export type ListAllSubscriptionsCustomer = {
1162
- /**
1163
- * The actual URL string.
1164
- */
1165
- href: string;
1166
- /**
1167
- * The content type of the page or endpoint the URL points to.
1168
- */
1169
- type: string;
1170
- };
1171
- /**
1172
- * The API resource URL of the [mandate](get-mandate).
1173
- */
1174
- export type ListAllSubscriptionsMandate = {
1175
- /**
1176
- * The actual URL string.
1177
- */
1178
- href: string;
1179
- /**
1180
- * The content type of the page or endpoint the URL points to.
1181
- */
1182
- type: string;
1183
- };
1184
- /**
1185
- * The API resource URL of the [subscription](get-subscription).
1186
- */
1187
- export type ListAllSubscriptionsSubscription = {
1188
- /**
1189
- * The actual URL string.
1190
- */
1191
- href: string;
1192
- /**
1193
- * The content type of the page or endpoint the URL points to.
1194
- */
1195
- type: string;
1196
- };
1197
- /**
1198
- * The API resource URL of the [order](get-order) this payment was created for. Not present if not created for an
1199
- *
1200
- * @remarks
1201
- * order.
1202
- */
1203
- export type ListAllSubscriptionsOrder = {
1204
- /**
1205
- * The actual URL string.
1206
- */
1207
- href: string;
1208
- /**
1209
- * The content type of the page or endpoint the URL points to.
1210
- */
1211
- type: string;
1212
- };
1213
- /**
1214
- * The API resource URL of the [terminal](get-terminal) this payment was created for. Only present for
1215
- *
1216
- * @remarks
1217
- * point-of-sale payments.
1218
- */
1219
- export type ListAllSubscriptionsTerminal = {
1220
- /**
1221
- * The actual URL string.
1222
- */
1223
- href: string;
1224
- /**
1225
- * The content type of the page or endpoint the URL points to.
1226
- */
1227
- type: string;
1228
- };
1229
- /**
1230
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1231
- */
1232
- export type ListAllSubscriptionsPaymentDocumentation = {
1233
- /**
1234
- * The actual URL string.
1235
- */
1236
- href: string;
1237
- /**
1238
- * The content type of the page or endpoint the URL points to.
1239
- */
1240
- type: string;
1241
- };
1242
- /**
1243
- * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
1244
- */
1245
- export type ListAllSubscriptionsPaymentLinks = {
1246
- /**
1247
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1248
- */
1249
- self: ListAllSubscriptionsPaymentSelf;
1250
- /**
1251
- * The URL your customer should visit to make the payment. This is where you should redirect the customer to.
1252
- */
1253
- checkout?: ListAllSubscriptionsCheckout | undefined;
1254
- /**
1255
- * The deeplink URL to the app of the payment method. Currently only available for `bancontact`.
1256
- */
1257
- mobileAppCheckout?: ListAllSubscriptionsMobileAppCheckout | undefined;
1258
- /**
1259
- * For test mode payments in certain scenarios, a hosted interface is available to help you test different
1260
- *
1261
- * @remarks
1262
- * payment states.
1263
- *
1264
- * Firstly, for recurring test mode payments. Recurring payments do not have a checkout URL, because these
1265
- * payments are executed without any user interaction.
1266
- *
1267
- * Secondly, for paid test mode payments. The payment state screen will then allow you to create a refund or
1268
- * chargeback for the test payment.
1269
- */
1270
- changePaymentState?: ListAllSubscriptionsChangePaymentState | undefined;
1271
- /**
1272
- * Direct link to the payment in the Mollie Dashboard.
1273
- */
1274
- dashboard: ListAllSubscriptionsDashboard;
1275
- /**
1276
- * The API resource URL of the [refunds](list-payment-refunds) that belong to this payment.
1277
- */
1278
- refunds?: ListAllSubscriptionsRefunds | undefined;
1279
- /**
1280
- * The API resource URL of the [chargebacks](list-payment-chargebacks) that belong to this
1281
- *
1282
- * @remarks
1283
- * payment.
1284
- */
1285
- chargebacks?: ListAllSubscriptionsChargebacks | undefined;
1286
- /**
1287
- * The API resource URL of the [captures](list-payment-captures) that belong to this payment.
1288
- */
1289
- captures?: ListAllSubscriptionsCaptures | undefined;
1290
- /**
1291
- * The API resource URL of the [settlement](get-settlement) this payment has been settled with.
1292
- *
1293
- * @remarks
1294
- * Not present if not yet settled.
1295
- */
1296
- settlement?: ListAllSubscriptionsSettlement | undefined;
1297
- /**
1298
- * The API resource URL of the [customer](get-customer).
1299
- */
1300
- customer?: ListAllSubscriptionsCustomer | undefined;
1301
- /**
1302
- * The API resource URL of the [mandate](get-mandate).
1303
- */
1304
- mandate?: ListAllSubscriptionsMandate | undefined;
1305
- /**
1306
- * The API resource URL of the [subscription](get-subscription).
1307
- */
1308
- subscription?: ListAllSubscriptionsSubscription | undefined;
1309
- /**
1310
- * The API resource URL of the [order](get-order) this payment was created for. Not present if not created for an
1311
- *
1312
- * @remarks
1313
- * order.
1314
- */
1315
- order?: ListAllSubscriptionsOrder | undefined;
1316
- /**
1317
- * The API resource URL of the [terminal](get-terminal) this payment was created for. Only present for
1318
- *
1319
- * @remarks
1320
- * point-of-sale payments.
1321
- */
1322
- terminal?: ListAllSubscriptionsTerminal | undefined;
1323
- /**
1324
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1325
- */
1326
- documentation?: ListAllSubscriptionsPaymentDocumentation | undefined;
1327
- };
1328
- export type ListAllSubscriptionsPaymentOutput = {
1329
- /**
1330
- * Indicates the response contains a payment object. Will always contain the string `payment` for this endpoint.
1331
- */
1332
- resource: string;
1333
- /**
1334
- * The identifier uniquely referring to this payment. Mollie assigns this identifier at payment creation time. Mollie
1335
- *
1336
- * @remarks
1337
- * will always refer to the payment by this ID. Example: `tr_5B8cwPMGnU6qLbRvo7qEZo`.
1338
- */
1339
- id: string;
1340
- /**
1341
- * Whether this entity was created in live mode or in test mode.
1342
- */
1343
- mode: ListAllSubscriptionsMode;
1344
- /**
1345
- * The description of the payment. This will be shown to your customer on their card or bank statement when possible.
1346
- *
1347
- * @remarks
1348
- * We truncate the description automatically according to the limits of the used payment method. The description is
1349
- * also visible in any exports you generate.
1350
- *
1351
- * We recommend you use a unique identifier so that you can always link the payment to the order in your back office.
1352
- * This is particularly useful for bookkeeping.
1353
- *
1354
- * The maximum length of the description field differs per payment method, with the absolute maximum being 255
1355
- * characters. The API will not reject strings longer than the maximum length but it will truncate them to fit.
1356
- */
1357
- description: string;
1358
- /**
1359
- * The amount that you want to charge, e.g. `{currency:"EUR", value:"1000.00"}` if you would want to charge €1000.00.
1360
- *
1361
- * @remarks
1362
- *
1363
- * You can find the minimum and maximum amounts per payment method in our help center. Additionally, they can be
1364
- * retrieved using the Get method endpoint.
1365
- *
1366
- * If a tip was added for a Point-of-Sale payment, the amount will be updated to reflect the initial amount plus the
1367
- * tip amount.
1368
- */
1369
- amount: ListAllSubscriptionsAmount;
1370
- /**
1371
- * The total amount that is already refunded. Only available when refunds are available for this payment. For some
1372
- *
1373
- * @remarks
1374
- * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
1375
- * costs for a return shipment to the customer.
1376
- */
1377
- amountRefunded?: ListAllSubscriptionsAmountRefunded | undefined;
1378
- /**
1379
- * The remaining amount that can be refunded. Only available when refunds are available for this payment.
1380
- */
1381
- amountRemaining?: ListAllSubscriptionsAmountRemaining | undefined;
1382
- /**
1383
- * The total amount that is already captured for this payment. Only available when this payment supports captures.
1384
- */
1385
- amountCaptured?: ListAllSubscriptionsAmountCaptured | undefined;
1386
- /**
1387
- * The total amount that was charged back for this payment. Only available when the total charged back amount is not
1388
- *
1389
- * @remarks
1390
- * zero.
1391
- */
1392
- amountChargedBack?: ListAllSubscriptionsAmountChargedBack | undefined;
1393
- /**
1394
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
1395
- *
1396
- * @remarks
1397
- * currency your account is settled in.
1398
- *
1399
- * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
1400
- * settled by Mollie the `settlementAmount` is omitted from the response.
1401
- *
1402
- * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
1403
- * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
1404
- */
1405
- settlementAmount?: ListAllSubscriptionsSettlementAmount | undefined;
1406
- /**
1407
- * The URL your customer will be redirected to after the payment process.
513
+ * The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result
1408
514
  *
1409
515
  * @remarks
516
+ * as well.
1410
517
  *
1411
- * It could make sense for the redirectUrl to contain a unique identifier like your order ID so you can show the
1412
- * right page referencing the order when your customer returns.
1413
- *
1414
- * The parameter is normally required, but can be omitted for recurring payments (`sequenceType: recurring`) and for
1415
- * Apple Pay payments with an `applePayPaymentToken`.
1416
- */
1417
- redirectUrl?: string | null | undefined;
1418
- /**
1419
- * The URL your customer will be redirected to when the customer explicitly cancels the payment. If this URL is not
1420
- *
1421
- * @remarks
1422
- * provided, the customer will be redirected to the `redirectUrl` instead — see above.
1423
- *
1424
- * Mollie will always give you status updates via webhooks, including for the canceled status. This parameter is
1425
- * therefore entirely optional, but can be useful when implementing a dedicated customer-facing flow to handle
1426
- * payment cancellations.
1427
- */
1428
- cancelUrl?: string | null | undefined;
1429
- /**
1430
- * The webhook URL where we will send payment status updates to.
1431
- *
1432
- * @remarks
1433
- *
1434
- * The webhookUrl is optional, but without a webhook you will miss out on important status changes to your payment.
1435
- *
1436
- * The webhookUrl must be reachable from Mollie's point of view, so you cannot use `localhost`. If you want to use
1437
- * webhook during development on `localhost`, you must use a tool like ngrok to have the webhooks delivered to your
1438
- * local machine.
1439
- */
1440
- webhookUrl?: string | null | undefined;
1441
- /**
1442
- * Optionally provide the order lines for the payment. Each line contains details such as a description of the item
1443
- *
1444
- * @remarks
1445
- * ordered and its price.
1446
- *
1447
- * All lines must have the same currency as the payment.
1448
- *
1449
- * Required for payment methods `billie`, `in3`, `klarna`, `riverty` and `voucher`.
1450
- */
1451
- lines?: Array<ListAllSubscriptionsLine> | null | undefined;
1452
- /**
1453
- * The customer's billing address details. We advise to provide these details to improve fraud protection and
1454
- *
1455
- * @remarks
1456
- * conversion.
1457
- *
1458
- * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
1459
- * `country`.
1460
- *
1461
- * Required for payment method `in3`, `klarna`, `billie` and `riverty`.
1462
- */
1463
- billingAddress?: ListAllSubscriptionsBillingAddress | undefined;
1464
- /**
1465
- * The customer's shipping address details. We advise to provide these details to improve fraud protection and
1466
- *
1467
- * @remarks
1468
- * conversion.
1469
- *
1470
- * Should include `email` or a valid postal address consisting of `streetAndNumber`, `postalCode`, `city` and
1471
- * `country`.
1472
- */
1473
- shippingAddress?: ListAllSubscriptionsShippingAddress | undefined;
1474
- /**
1475
- * Allows you to preset the language to be used in the hosted payment pages shown to the customer. Setting a locale
1476
- *
1477
- * @remarks
1478
- * is highly recommended and will greatly improve your conversion rate. When this parameter is omitted the browser
1479
- * language will be used instead if supported by the payment method. You can provide any `xx_XX` format ISO 15897
1480
- * locale, but our hosted payment pages currently only support the specified languages.
1481
- *
1482
- * For bank transfer payments specifically, the locale will determine the target bank account the customer has to
1483
- * transfer the money to. We have dedicated bank accounts for Belgium, Germany, and The Netherlands. Having the
1484
- * customer use a local bank account greatly increases the conversion and speed of payment.
1485
- */
1486
- locale?: ListAllSubscriptionsLocale | null | undefined;
1487
- /**
1488
- * This optional field contains your customer's ISO 3166-1 alpha-2 country code, detected by us during checkout. This
1489
- *
1490
- * @remarks
1491
- * field is omitted if the country code was not detected.
1492
- */
1493
- countryCode?: string | null | undefined;
1494
- /**
1495
- * The payment method used for this transaction. If a specific method was selected during payment initialization,
1496
- *
1497
- * @remarks
1498
- * this field reflects that choice.
1499
- */
1500
- method?: ListAllSubscriptionsMethod | null | undefined;
1501
- /**
1502
- * For digital goods in most jurisdictions, you must apply the VAT rate from your customer's country. Choose the VAT
1503
- *
1504
- * @remarks
1505
- * rates you have used for the order to ensure your customer's country matches the VAT country.
1506
- *
1507
- * Use this parameter to restrict the payment methods available to your customer to those from a single country.
1508
- *
1509
- * If available, the credit card method will still be offered, but only cards from the allowed country are accepted.
1510
- *
1511
- * The field expects a country code in ISO 3166-1 alpha-2 format, for example `NL`.
1512
- */
1513
- restrictPaymentMethodsToCountry?: string | null | undefined;
1514
- /**
1515
- * Provide any data you like, for example a string or a JSON object. We will save the data alongside the entity. Whenever
1516
- *
1517
- * @remarks
1518
- * you fetch the entity with our API, we will also include the metadata. You can use up to approximately 1kB.
1519
- */
1520
- metadata?: ListAllSubscriptionsMetadata | string | Array<string> | null | undefined;
1521
- /**
1522
- * 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#/)
1523
- *
1524
- * @remarks
1525
- * and capture at a later time.
1526
- *
1527
- * This field needs to be set to `manual` for method `riverty`.
1528
- */
1529
- captureMode?: ListAllSubscriptionsCaptureMode | null | undefined;
1530
- /**
1531
- * **Only relevant if you wish to manage authorization and capturing separately.**
1532
- *
1533
- * @remarks
1534
- *
1535
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
1536
- * later point either be 'captured' or canceled.
1537
- *
1538
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
1539
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
1540
- * example `8 hours` or `2 days`.
1541
- *
1542
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1543
- *
1544
- * The maximum delay is 7 days (168 hours).
1545
- *
1546
- * Possible values: `... hours` `... days`
1547
- */
1548
- captureDelay?: string | null | undefined;
1549
- /**
1550
- * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
1551
- *
1552
- * @remarks
1553
- * can no longer guarantee a successful capture. The parameter is omitted if the payment is not authorized (yet).
1554
- */
1555
- captureBefore?: string | null | undefined;
1556
- /**
1557
- * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
1558
- *
1559
- * @remarks
1560
- * merchants.
1561
- *
1562
- * If you use OAuth to create payments on a connected merchant's account, you can charge a fee using this
1563
- * `applicationFee` parameter. If the payment succeeds, the fee will be deducted from the merchant's balance and sent
1564
- * to your own account balance.
1565
- *
1566
- * If instead you want to split a payment on your own account between yourself and a connected merchant, refer to the
1567
- * `routing` parameter.
1568
- */
1569
- applicationFee?: ListAllSubscriptionsApplicationFee | null | undefined;
1570
- /**
1571
- * *This functionality is not enabled by default. Reach out to our partner management team if you wish to use it.*
1572
- *
1573
- * @remarks
1574
- *
1575
- * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
1576
- * merchants.
1577
- *
1578
- * If you create payments on your own account that you want to split between yourself and one or more connected
1579
- * merchants, you can use this `routing` parameter to route the payment accordingly.
1580
- *
1581
- * The `routing` parameter should contain an array of objects, with each object describing the destination for a
1582
- * specific portion of the payment.
1583
- *
1584
- * It is not necessary to indicate in the array which portion goes to yourself. After all portions of the total
1585
- * payment amount have been routed, the amount left will be routed to the current organization automatically.
1586
- *
1587
- * If instead you use OAuth to create payments on a connected merchant's account, refer to the `applicationFee`
1588
- * parameter.
1589
- */
1590
- routing?: Array<ListAllSubscriptionsRouting> | null | undefined;
1591
- /**
1592
- * **Only relevant for recurring payments.**
1593
- *
1594
- * @remarks
1595
- *
1596
- * Indicate which part of a recurring sequence this payment is for.
1597
- *
1598
- * Recurring payments can only take place if a mandate is available. A common way to establish such a mandate is
1599
- * through a `first` payment. With a `first` payment, the customer agrees to automatic recurring charges taking place
1600
- * on their account in the future.
1601
- *
1602
- * If set to `recurring`, the customer's card is charged automatically.
1603
- *
1604
- * Defaults to `oneoff`, which is a regular non-recurring payment.
1605
- *
1606
- * For PayPal payments, recurring is only possible if your connected PayPal account allows it. You can call our
1607
- * [Methods API](list-methods) with parameter `sequenceType: first` to discover which payment methods on your account
1608
- * are set up correctly for recurring payments.
1609
- */
1610
- sequenceType?: ListAllSubscriptionsSequenceType | null | undefined;
1611
- /**
1612
- * If the payment was automatically created via a subscription, the ID of the [subscription](get-subscription) will
1613
- *
1614
- * @remarks
1615
- * be added to the response.
1616
- */
1617
- subscriptionId?: string | null | undefined;
1618
- /**
1619
- * **Only relevant for recurring payments.**
1620
- *
1621
- * @remarks
1622
- *
1623
- * When creating recurring payments, the ID of a specific [mandate](get-mandate) can be supplied to indicate which of
1624
- * the customer's accounts should be credited.
1625
- */
1626
- mandateId?: string | null | undefined;
1627
- /**
1628
- * The ID of the [customer](get-customer) the payment is being created for. This is used primarily for recurring
1629
- *
1630
- * @remarks
1631
- * payments, but can also be used on regular payments to enable single-click payments.
1632
- *
1633
- * If `sequenceType` is set to `recurring`, this field is required.
1634
- */
1635
- customerId?: string | null | undefined;
1636
- /**
1637
- * The identifier referring to the [profile](get-profile) this entity belongs to.
1638
- *
1639
- * @remarks
1640
- *
1641
- * When using an API Key, the `profileId` can be omitted since it is linked to the key. However, for OAuth and
1642
- * Organization tokens, the `profileId` is required.
1643
- *
1644
- * For more information, see [Authentication](authentication).
1645
- */
1646
- profileId: string;
1647
- /**
1648
- * The identifier referring to the [settlement](get-settlement) this payment was settled with.
1649
- */
1650
- settlementId?: string | null | undefined;
1651
- /**
1652
- * If the payment was created for an [order](get-order), the ID of that order will be part of the response.
1653
- */
1654
- orderId?: string | null | undefined;
1655
- /**
1656
- * The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
1657
- *
1658
- * @remarks
1659
- * statuses occur at what point.
1660
- */
1661
- status: ListAllSubscriptionsStatus;
1662
- /**
1663
- * This object offers details about the status of a payment. Currently it is only available for point-of-sale
1664
- *
1665
- * @remarks
1666
- * payments.
1667
- *
1668
- * You can find more information about the possible values of this object on
1669
- * [this page](status-reasons).**
1670
- */
1671
- statusReason?: ListAllSubscriptionsStatusReason | null | undefined;
1672
- /**
1673
- * Whether the payment can be canceled. This parameter is omitted if the payment reaches a final state.
1674
- */
1675
- isCancelable?: boolean | null | undefined;
1676
- /**
1677
- * An object containing payment details collected during the payment process. For example, details may include the
1678
- *
1679
- * @remarks
1680
- * customer's card or bank details and a payment reference. For the full list of details, please refer to the
1681
- * [method-specific parameters](extra-payment-parameters) guide.
1682
- */
1683
- details?: {
1684
- [k: string]: any;
1685
- } | null | undefined;
1686
- /**
1687
- * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
1688
- */
1689
- createdAt: string;
1690
- /**
1691
- * The date and time the payment became authorized, in ISO 8601 format. This parameter is omitted if the payment is
1692
- *
1693
- * @remarks
1694
- * not authorized (yet).
1695
- */
1696
- authorizedAt?: string | null | undefined;
1697
- /**
1698
- * The date and time the payment became paid, in ISO 8601 format. This parameter is omitted if the payment is not
1699
- *
1700
- * @remarks
1701
- * completed (yet).
1702
- */
1703
- paidAt?: string | null | undefined;
1704
- /**
1705
- * The date and time the payment was canceled, in ISO 8601 format. This parameter is omitted if the payment is not
1706
- *
1707
- * @remarks
1708
- * canceled (yet).
1709
- */
1710
- canceledAt?: string | null | undefined;
1711
- /**
1712
- * The date and time the payment will expire, in ISO 8601 format. This parameter is omitted if the payment can no
1713
- *
1714
- * @remarks
1715
- * longer expire.
1716
- */
1717
- expiresAt?: string | null | undefined;
1718
- /**
1719
- * The date and time the payment was expired, in ISO 8601 format. This parameter is omitted if the payment did not
1720
- *
1721
- * @remarks
1722
- * expire (yet).
1723
- */
1724
- expiredAt?: string | null | undefined;
1725
- /**
1726
- * The date and time the payment failed, in ISO 8601 format. This parameter is omitted if the payment did not fail
1727
- *
1728
- * @remarks
1729
- * (yet).
1730
- */
1731
- failedAt?: string | null | undefined;
1732
- /**
1733
- * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
1734
- */
1735
- links: ListAllSubscriptionsPaymentLinks;
1736
- };
1737
- export type ListAllSubscriptionsEmbedded = {
1738
- /**
1739
- * An array of payment objects.
1740
- */
1741
- payments?: Array<ListAllSubscriptionsPaymentOutput> | undefined;
1742
- };
1743
- /**
1744
- * The URL to the current set of items.
1745
- */
1746
- export type ListAllSubscriptionsSelf = {
1747
- /**
1748
- * The actual URL string.
1749
- */
1750
- href: string;
1751
- /**
1752
- * The content type of the page or endpoint the URL points to.
1753
- */
1754
- type: string;
1755
- };
1756
- /**
1757
- * The previous set of items, if available.
1758
- */
1759
- export type ListAllSubscriptionsPrevious = {
1760
- /**
1761
- * The actual URL string.
1762
- */
1763
- href?: string | undefined;
1764
- /**
1765
- * The content type of the page or endpoint the URL points to.
1766
- */
1767
- type?: string | undefined;
1768
- };
1769
- /**
1770
- * The next set of items, if available.
1771
- */
1772
- export type ListAllSubscriptionsNext = {
1773
- /**
1774
- * The actual URL string.
1775
- */
1776
- href?: string | undefined;
1777
- /**
1778
- * The content type of the page or endpoint the URL points to.
1779
- */
1780
- type?: string | undefined;
1781
- };
1782
- /**
1783
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1784
- */
1785
- export type ListAllSubscriptionsDocumentation = {
1786
- /**
1787
- * The actual URL string.
1788
- */
1789
- href: string;
1790
- /**
1791
- * The content type of the page or endpoint the URL points to.
1792
- */
1793
- type: string;
1794
- };
1795
- /**
1796
- * Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
1797
- */
1798
- export type ListAllSubscriptionsLinks = {
1799
- /**
1800
- * The URL to the current set of items.
1801
- */
1802
- self?: ListAllSubscriptionsSelf | undefined;
1803
- /**
1804
- * The previous set of items, if available.
1805
- */
1806
- previous?: ListAllSubscriptionsPrevious | null | undefined;
1807
- /**
1808
- * The next set of items, if available.
1809
- */
1810
- next?: ListAllSubscriptionsNext | null | undefined;
1811
- /**
1812
- * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
1813
- */
1814
- documentation?: ListAllSubscriptionsDocumentation | undefined;
1815
- };
1816
- /**
1817
- * A list of payment objects.
1818
- */
1819
- export type ListAllSubscriptionsResponse = {
1820
- /**
1821
- * The number of items in this result set. If more items are available, a `_links.next` URL will be present in the result
1822
- *
1823
- * @remarks
1824
- * as well.
1825
- *
1826
- * The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
1827
- * limit is 50 items.
1828
- */
1829
- count?: number | undefined;
1830
- embedded?: ListAllSubscriptionsEmbedded | undefined;
1831
- /**
1832
- * Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
1833
- */
1834
- links?: ListAllSubscriptionsLinks | undefined;
1835
- };
1836
- /** @internal */
1837
- export declare const ListAllSubscriptionsSort$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsSort>;
1838
- /** @internal */
1839
- export declare const ListAllSubscriptionsSort$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsSort>;
1840
- /**
1841
- * @internal
1842
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1843
- */
1844
- export declare namespace ListAllSubscriptionsSort$ {
1845
- /** @deprecated use `ListAllSubscriptionsSort$inboundSchema` instead. */
1846
- const inboundSchema: z.ZodNativeEnum<{
1847
- readonly Asc: "asc";
1848
- readonly Desc: "desc";
1849
- }>;
1850
- /** @deprecated use `ListAllSubscriptionsSort$outboundSchema` instead. */
1851
- const outboundSchema: z.ZodNativeEnum<{
1852
- readonly Asc: "asc";
1853
- readonly Desc: "desc";
1854
- }>;
1855
- }
1856
- /** @internal */
1857
- export declare const ListAllSubscriptionsRequest$inboundSchema: z.ZodType<ListAllSubscriptionsRequest, z.ZodTypeDef, unknown>;
1858
- /** @internal */
1859
- export type ListAllSubscriptionsRequest$Outbound = {
1860
- from?: string | undefined;
1861
- limit: number | null;
1862
- sort: string | null;
1863
- profileId?: string | undefined;
1864
- testmode?: boolean | null | undefined;
1865
- };
1866
- /** @internal */
1867
- export declare const ListAllSubscriptionsRequest$outboundSchema: z.ZodType<ListAllSubscriptionsRequest$Outbound, z.ZodTypeDef, ListAllSubscriptionsRequest>;
1868
- /**
1869
- * @internal
1870
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1871
- */
1872
- export declare namespace ListAllSubscriptionsRequest$ {
1873
- /** @deprecated use `ListAllSubscriptionsRequest$inboundSchema` instead. */
1874
- const inboundSchema: z.ZodType<ListAllSubscriptionsRequest, z.ZodTypeDef, unknown>;
1875
- /** @deprecated use `ListAllSubscriptionsRequest$outboundSchema` instead. */
1876
- const outboundSchema: z.ZodType<ListAllSubscriptionsRequest$Outbound, z.ZodTypeDef, ListAllSubscriptionsRequest>;
1877
- /** @deprecated use `ListAllSubscriptionsRequest$Outbound` instead. */
1878
- type Outbound = ListAllSubscriptionsRequest$Outbound;
1879
- }
1880
- export declare function listAllSubscriptionsRequestToJSON(listAllSubscriptionsRequest: ListAllSubscriptionsRequest): string;
1881
- export declare function listAllSubscriptionsRequestFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRequest, SDKValidationError>;
1882
- /** @internal */
1883
- export declare const ListAllSubscriptionsBadRequestDocumentation$inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation, z.ZodTypeDef, unknown>;
1884
- /** @internal */
1885
- export type ListAllSubscriptionsBadRequestDocumentation$Outbound = {
1886
- href: string;
1887
- type: string;
1888
- };
1889
- /** @internal */
1890
- export declare const ListAllSubscriptionsBadRequestDocumentation$outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestDocumentation>;
1891
- /**
1892
- * @internal
1893
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1894
- */
1895
- export declare namespace ListAllSubscriptionsBadRequestDocumentation$ {
1896
- /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$inboundSchema` instead. */
1897
- const inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation, z.ZodTypeDef, unknown>;
1898
- /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$outboundSchema` instead. */
1899
- const outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestDocumentation>;
1900
- /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$Outbound` instead. */
1901
- type Outbound = ListAllSubscriptionsBadRequestDocumentation$Outbound;
1902
- }
1903
- export declare function listAllSubscriptionsBadRequestDocumentationToJSON(listAllSubscriptionsBadRequestDocumentation: ListAllSubscriptionsBadRequestDocumentation): string;
1904
- export declare function listAllSubscriptionsBadRequestDocumentationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsBadRequestDocumentation, SDKValidationError>;
1905
- /** @internal */
1906
- export declare const ListAllSubscriptionsBadRequestLinks$inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks, z.ZodTypeDef, unknown>;
1907
- /** @internal */
1908
- export type ListAllSubscriptionsBadRequestLinks$Outbound = {
1909
- documentation: ListAllSubscriptionsBadRequestDocumentation$Outbound;
1910
- };
1911
- /** @internal */
1912
- export declare const ListAllSubscriptionsBadRequestLinks$outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestLinks>;
1913
- /**
1914
- * @internal
1915
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1916
- */
1917
- export declare namespace ListAllSubscriptionsBadRequestLinks$ {
1918
- /** @deprecated use `ListAllSubscriptionsBadRequestLinks$inboundSchema` instead. */
1919
- const inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks, z.ZodTypeDef, unknown>;
1920
- /** @deprecated use `ListAllSubscriptionsBadRequestLinks$outboundSchema` instead. */
1921
- const outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestLinks>;
1922
- /** @deprecated use `ListAllSubscriptionsBadRequestLinks$Outbound` instead. */
1923
- type Outbound = ListAllSubscriptionsBadRequestLinks$Outbound;
1924
- }
1925
- export declare function listAllSubscriptionsBadRequestLinksToJSON(listAllSubscriptionsBadRequestLinks: ListAllSubscriptionsBadRequestLinks): string;
1926
- export declare function listAllSubscriptionsBadRequestLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsBadRequestLinks, SDKValidationError>;
1927
- /** @internal */
1928
- export declare const ListAllSubscriptionsMode$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMode>;
1929
- /** @internal */
1930
- export declare const ListAllSubscriptionsMode$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMode>;
1931
- /**
1932
- * @internal
1933
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1934
- */
1935
- export declare namespace ListAllSubscriptionsMode$ {
1936
- /** @deprecated use `ListAllSubscriptionsMode$inboundSchema` instead. */
1937
- const inboundSchema: z.ZodNativeEnum<{
1938
- readonly Live: "live";
1939
- readonly Test: "test";
1940
- }>;
1941
- /** @deprecated use `ListAllSubscriptionsMode$outboundSchema` instead. */
1942
- const outboundSchema: z.ZodNativeEnum<{
1943
- readonly Live: "live";
1944
- readonly Test: "test";
1945
- }>;
1946
- }
1947
- /** @internal */
1948
- export declare const ListAllSubscriptionsAmount$inboundSchema: z.ZodType<ListAllSubscriptionsAmount, z.ZodTypeDef, unknown>;
1949
- /** @internal */
1950
- export type ListAllSubscriptionsAmount$Outbound = {
1951
- currency: string;
1952
- value: string;
1953
- };
1954
- /** @internal */
1955
- export declare const ListAllSubscriptionsAmount$outboundSchema: z.ZodType<ListAllSubscriptionsAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmount>;
1956
- /**
1957
- * @internal
1958
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1959
- */
1960
- export declare namespace ListAllSubscriptionsAmount$ {
1961
- /** @deprecated use `ListAllSubscriptionsAmount$inboundSchema` instead. */
1962
- const inboundSchema: z.ZodType<ListAllSubscriptionsAmount, z.ZodTypeDef, unknown>;
1963
- /** @deprecated use `ListAllSubscriptionsAmount$outboundSchema` instead. */
1964
- const outboundSchema: z.ZodType<ListAllSubscriptionsAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmount>;
1965
- /** @deprecated use `ListAllSubscriptionsAmount$Outbound` instead. */
1966
- type Outbound = ListAllSubscriptionsAmount$Outbound;
1967
- }
1968
- export declare function listAllSubscriptionsAmountToJSON(listAllSubscriptionsAmount: ListAllSubscriptionsAmount): string;
1969
- export declare function listAllSubscriptionsAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmount, SDKValidationError>;
1970
- /** @internal */
1971
- export declare const ListAllSubscriptionsAmountRefunded$inboundSchema: z.ZodType<ListAllSubscriptionsAmountRefunded, z.ZodTypeDef, unknown>;
1972
- /** @internal */
1973
- export type ListAllSubscriptionsAmountRefunded$Outbound = {
1974
- currency: string;
1975
- value: string;
1976
- };
1977
- /** @internal */
1978
- export declare const ListAllSubscriptionsAmountRefunded$outboundSchema: z.ZodType<ListAllSubscriptionsAmountRefunded$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountRefunded>;
1979
- /**
1980
- * @internal
1981
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1982
- */
1983
- export declare namespace ListAllSubscriptionsAmountRefunded$ {
1984
- /** @deprecated use `ListAllSubscriptionsAmountRefunded$inboundSchema` instead. */
1985
- const inboundSchema: z.ZodType<ListAllSubscriptionsAmountRefunded, z.ZodTypeDef, unknown>;
1986
- /** @deprecated use `ListAllSubscriptionsAmountRefunded$outboundSchema` instead. */
1987
- const outboundSchema: z.ZodType<ListAllSubscriptionsAmountRefunded$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountRefunded>;
1988
- /** @deprecated use `ListAllSubscriptionsAmountRefunded$Outbound` instead. */
1989
- type Outbound = ListAllSubscriptionsAmountRefunded$Outbound;
1990
- }
1991
- export declare function listAllSubscriptionsAmountRefundedToJSON(listAllSubscriptionsAmountRefunded: ListAllSubscriptionsAmountRefunded): string;
1992
- export declare function listAllSubscriptionsAmountRefundedFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmountRefunded, SDKValidationError>;
1993
- /** @internal */
1994
- export declare const ListAllSubscriptionsAmountRemaining$inboundSchema: z.ZodType<ListAllSubscriptionsAmountRemaining, z.ZodTypeDef, unknown>;
1995
- /** @internal */
1996
- export type ListAllSubscriptionsAmountRemaining$Outbound = {
1997
- currency: string;
1998
- value: string;
1999
- };
2000
- /** @internal */
2001
- export declare const ListAllSubscriptionsAmountRemaining$outboundSchema: z.ZodType<ListAllSubscriptionsAmountRemaining$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountRemaining>;
2002
- /**
2003
- * @internal
2004
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2005
- */
2006
- export declare namespace ListAllSubscriptionsAmountRemaining$ {
2007
- /** @deprecated use `ListAllSubscriptionsAmountRemaining$inboundSchema` instead. */
2008
- const inboundSchema: z.ZodType<ListAllSubscriptionsAmountRemaining, z.ZodTypeDef, unknown>;
2009
- /** @deprecated use `ListAllSubscriptionsAmountRemaining$outboundSchema` instead. */
2010
- const outboundSchema: z.ZodType<ListAllSubscriptionsAmountRemaining$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountRemaining>;
2011
- /** @deprecated use `ListAllSubscriptionsAmountRemaining$Outbound` instead. */
2012
- type Outbound = ListAllSubscriptionsAmountRemaining$Outbound;
2013
- }
2014
- export declare function listAllSubscriptionsAmountRemainingToJSON(listAllSubscriptionsAmountRemaining: ListAllSubscriptionsAmountRemaining): string;
2015
- export declare function listAllSubscriptionsAmountRemainingFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmountRemaining, SDKValidationError>;
2016
- /** @internal */
2017
- export declare const ListAllSubscriptionsAmountCaptured$inboundSchema: z.ZodType<ListAllSubscriptionsAmountCaptured, z.ZodTypeDef, unknown>;
2018
- /** @internal */
2019
- export type ListAllSubscriptionsAmountCaptured$Outbound = {
2020
- currency: string;
2021
- value: string;
2022
- };
2023
- /** @internal */
2024
- export declare const ListAllSubscriptionsAmountCaptured$outboundSchema: z.ZodType<ListAllSubscriptionsAmountCaptured$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountCaptured>;
2025
- /**
2026
- * @internal
2027
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2028
- */
2029
- export declare namespace ListAllSubscriptionsAmountCaptured$ {
2030
- /** @deprecated use `ListAllSubscriptionsAmountCaptured$inboundSchema` instead. */
2031
- const inboundSchema: z.ZodType<ListAllSubscriptionsAmountCaptured, z.ZodTypeDef, unknown>;
2032
- /** @deprecated use `ListAllSubscriptionsAmountCaptured$outboundSchema` instead. */
2033
- const outboundSchema: z.ZodType<ListAllSubscriptionsAmountCaptured$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountCaptured>;
2034
- /** @deprecated use `ListAllSubscriptionsAmountCaptured$Outbound` instead. */
2035
- type Outbound = ListAllSubscriptionsAmountCaptured$Outbound;
2036
- }
2037
- export declare function listAllSubscriptionsAmountCapturedToJSON(listAllSubscriptionsAmountCaptured: ListAllSubscriptionsAmountCaptured): string;
2038
- export declare function listAllSubscriptionsAmountCapturedFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmountCaptured, SDKValidationError>;
2039
- /** @internal */
2040
- export declare const ListAllSubscriptionsAmountChargedBack$inboundSchema: z.ZodType<ListAllSubscriptionsAmountChargedBack, z.ZodTypeDef, unknown>;
2041
- /** @internal */
2042
- export type ListAllSubscriptionsAmountChargedBack$Outbound = {
2043
- currency: string;
2044
- value: string;
2045
- };
2046
- /** @internal */
2047
- export declare const ListAllSubscriptionsAmountChargedBack$outboundSchema: z.ZodType<ListAllSubscriptionsAmountChargedBack$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountChargedBack>;
2048
- /**
2049
- * @internal
2050
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2051
- */
2052
- export declare namespace ListAllSubscriptionsAmountChargedBack$ {
2053
- /** @deprecated use `ListAllSubscriptionsAmountChargedBack$inboundSchema` instead. */
2054
- const inboundSchema: z.ZodType<ListAllSubscriptionsAmountChargedBack, z.ZodTypeDef, unknown>;
2055
- /** @deprecated use `ListAllSubscriptionsAmountChargedBack$outboundSchema` instead. */
2056
- const outboundSchema: z.ZodType<ListAllSubscriptionsAmountChargedBack$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmountChargedBack>;
2057
- /** @deprecated use `ListAllSubscriptionsAmountChargedBack$Outbound` instead. */
2058
- type Outbound = ListAllSubscriptionsAmountChargedBack$Outbound;
2059
- }
2060
- export declare function listAllSubscriptionsAmountChargedBackToJSON(listAllSubscriptionsAmountChargedBack: ListAllSubscriptionsAmountChargedBack): string;
2061
- export declare function listAllSubscriptionsAmountChargedBackFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmountChargedBack, SDKValidationError>;
2062
- /** @internal */
2063
- export declare const ListAllSubscriptionsSettlementAmount$inboundSchema: z.ZodType<ListAllSubscriptionsSettlementAmount, z.ZodTypeDef, unknown>;
2064
- /** @internal */
2065
- export type ListAllSubscriptionsSettlementAmount$Outbound = {
2066
- currency: string;
2067
- value: string;
2068
- };
2069
- /** @internal */
2070
- export declare const ListAllSubscriptionsSettlementAmount$outboundSchema: z.ZodType<ListAllSubscriptionsSettlementAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsSettlementAmount>;
2071
- /**
2072
- * @internal
2073
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2074
- */
2075
- export declare namespace ListAllSubscriptionsSettlementAmount$ {
2076
- /** @deprecated use `ListAllSubscriptionsSettlementAmount$inboundSchema` instead. */
2077
- const inboundSchema: z.ZodType<ListAllSubscriptionsSettlementAmount, z.ZodTypeDef, unknown>;
2078
- /** @deprecated use `ListAllSubscriptionsSettlementAmount$outboundSchema` instead. */
2079
- const outboundSchema: z.ZodType<ListAllSubscriptionsSettlementAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsSettlementAmount>;
2080
- /** @deprecated use `ListAllSubscriptionsSettlementAmount$Outbound` instead. */
2081
- type Outbound = ListAllSubscriptionsSettlementAmount$Outbound;
2082
- }
2083
- export declare function listAllSubscriptionsSettlementAmountToJSON(listAllSubscriptionsSettlementAmount: ListAllSubscriptionsSettlementAmount): string;
2084
- export declare function listAllSubscriptionsSettlementAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSettlementAmount, SDKValidationError>;
2085
- /** @internal */
2086
- export declare const ListAllSubscriptionsLineType$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsLineType>;
2087
- /** @internal */
2088
- export declare const ListAllSubscriptionsLineType$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsLineType>;
2089
- /**
2090
- * @internal
2091
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2092
- */
2093
- export declare namespace ListAllSubscriptionsLineType$ {
2094
- /** @deprecated use `ListAllSubscriptionsLineType$inboundSchema` instead. */
2095
- const inboundSchema: z.ZodNativeEnum<{
2096
- readonly Physical: "physical";
2097
- readonly Digital: "digital";
2098
- readonly ShippingFee: "shipping_fee";
2099
- readonly Discount: "discount";
2100
- readonly StoreCredit: "store_credit";
2101
- readonly GiftCard: "gift_card";
2102
- readonly Surcharge: "surcharge";
2103
- readonly Tip: "tip";
2104
- }>;
2105
- /** @deprecated use `ListAllSubscriptionsLineType$outboundSchema` instead. */
2106
- const outboundSchema: z.ZodNativeEnum<{
2107
- readonly Physical: "physical";
2108
- readonly Digital: "digital";
2109
- readonly ShippingFee: "shipping_fee";
2110
- readonly Discount: "discount";
2111
- readonly StoreCredit: "store_credit";
2112
- readonly GiftCard: "gift_card";
2113
- readonly Surcharge: "surcharge";
2114
- readonly Tip: "tip";
2115
- }>;
2116
- }
2117
- /** @internal */
2118
- export declare const ListAllSubscriptionsUnitPrice$inboundSchema: z.ZodType<ListAllSubscriptionsUnitPrice, z.ZodTypeDef, unknown>;
2119
- /** @internal */
2120
- export type ListAllSubscriptionsUnitPrice$Outbound = {
2121
- currency: string;
2122
- value: string;
2123
- };
2124
- /** @internal */
2125
- export declare const ListAllSubscriptionsUnitPrice$outboundSchema: z.ZodType<ListAllSubscriptionsUnitPrice$Outbound, z.ZodTypeDef, ListAllSubscriptionsUnitPrice>;
2126
- /**
2127
- * @internal
2128
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2129
- */
2130
- export declare namespace ListAllSubscriptionsUnitPrice$ {
2131
- /** @deprecated use `ListAllSubscriptionsUnitPrice$inboundSchema` instead. */
2132
- const inboundSchema: z.ZodType<ListAllSubscriptionsUnitPrice, z.ZodTypeDef, unknown>;
2133
- /** @deprecated use `ListAllSubscriptionsUnitPrice$outboundSchema` instead. */
2134
- const outboundSchema: z.ZodType<ListAllSubscriptionsUnitPrice$Outbound, z.ZodTypeDef, ListAllSubscriptionsUnitPrice>;
2135
- /** @deprecated use `ListAllSubscriptionsUnitPrice$Outbound` instead. */
2136
- type Outbound = ListAllSubscriptionsUnitPrice$Outbound;
2137
- }
2138
- export declare function listAllSubscriptionsUnitPriceToJSON(listAllSubscriptionsUnitPrice: ListAllSubscriptionsUnitPrice): string;
2139
- export declare function listAllSubscriptionsUnitPriceFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsUnitPrice, SDKValidationError>;
2140
- /** @internal */
2141
- export declare const ListAllSubscriptionsDiscountAmount$inboundSchema: z.ZodType<ListAllSubscriptionsDiscountAmount, z.ZodTypeDef, unknown>;
2142
- /** @internal */
2143
- export type ListAllSubscriptionsDiscountAmount$Outbound = {
2144
- currency: string;
2145
- value: string;
2146
- };
2147
- /** @internal */
2148
- export declare const ListAllSubscriptionsDiscountAmount$outboundSchema: z.ZodType<ListAllSubscriptionsDiscountAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsDiscountAmount>;
2149
- /**
2150
- * @internal
2151
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2152
- */
2153
- export declare namespace ListAllSubscriptionsDiscountAmount$ {
2154
- /** @deprecated use `ListAllSubscriptionsDiscountAmount$inboundSchema` instead. */
2155
- const inboundSchema: z.ZodType<ListAllSubscriptionsDiscountAmount, z.ZodTypeDef, unknown>;
2156
- /** @deprecated use `ListAllSubscriptionsDiscountAmount$outboundSchema` instead. */
2157
- const outboundSchema: z.ZodType<ListAllSubscriptionsDiscountAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsDiscountAmount>;
2158
- /** @deprecated use `ListAllSubscriptionsDiscountAmount$Outbound` instead. */
2159
- type Outbound = ListAllSubscriptionsDiscountAmount$Outbound;
2160
- }
2161
- export declare function listAllSubscriptionsDiscountAmountToJSON(listAllSubscriptionsDiscountAmount: ListAllSubscriptionsDiscountAmount): string;
2162
- export declare function listAllSubscriptionsDiscountAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsDiscountAmount, SDKValidationError>;
2163
- /** @internal */
2164
- export declare const ListAllSubscriptionsTotalAmount$inboundSchema: z.ZodType<ListAllSubscriptionsTotalAmount, z.ZodTypeDef, unknown>;
2165
- /** @internal */
2166
- export type ListAllSubscriptionsTotalAmount$Outbound = {
2167
- currency: string;
2168
- value: string;
2169
- };
2170
- /** @internal */
2171
- export declare const ListAllSubscriptionsTotalAmount$outboundSchema: z.ZodType<ListAllSubscriptionsTotalAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsTotalAmount>;
2172
- /**
2173
- * @internal
2174
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2175
- */
2176
- export declare namespace ListAllSubscriptionsTotalAmount$ {
2177
- /** @deprecated use `ListAllSubscriptionsTotalAmount$inboundSchema` instead. */
2178
- const inboundSchema: z.ZodType<ListAllSubscriptionsTotalAmount, z.ZodTypeDef, unknown>;
2179
- /** @deprecated use `ListAllSubscriptionsTotalAmount$outboundSchema` instead. */
2180
- const outboundSchema: z.ZodType<ListAllSubscriptionsTotalAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsTotalAmount>;
2181
- /** @deprecated use `ListAllSubscriptionsTotalAmount$Outbound` instead. */
2182
- type Outbound = ListAllSubscriptionsTotalAmount$Outbound;
2183
- }
2184
- export declare function listAllSubscriptionsTotalAmountToJSON(listAllSubscriptionsTotalAmount: ListAllSubscriptionsTotalAmount): string;
2185
- export declare function listAllSubscriptionsTotalAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsTotalAmount, SDKValidationError>;
2186
- /** @internal */
2187
- export declare const ListAllSubscriptionsVatAmount$inboundSchema: z.ZodType<ListAllSubscriptionsVatAmount, z.ZodTypeDef, unknown>;
2188
- /** @internal */
2189
- export type ListAllSubscriptionsVatAmount$Outbound = {
2190
- currency: string;
2191
- value: string;
2192
- };
2193
- /** @internal */
2194
- export declare const ListAllSubscriptionsVatAmount$outboundSchema: z.ZodType<ListAllSubscriptionsVatAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsVatAmount>;
2195
- /**
2196
- * @internal
2197
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2198
- */
2199
- export declare namespace ListAllSubscriptionsVatAmount$ {
2200
- /** @deprecated use `ListAllSubscriptionsVatAmount$inboundSchema` instead. */
2201
- const inboundSchema: z.ZodType<ListAllSubscriptionsVatAmount, z.ZodTypeDef, unknown>;
2202
- /** @deprecated use `ListAllSubscriptionsVatAmount$outboundSchema` instead. */
2203
- const outboundSchema: z.ZodType<ListAllSubscriptionsVatAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsVatAmount>;
2204
- /** @deprecated use `ListAllSubscriptionsVatAmount$Outbound` instead. */
2205
- type Outbound = ListAllSubscriptionsVatAmount$Outbound;
2206
- }
2207
- export declare function listAllSubscriptionsVatAmountToJSON(listAllSubscriptionsVatAmount: ListAllSubscriptionsVatAmount): string;
2208
- export declare function listAllSubscriptionsVatAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsVatAmount, SDKValidationError>;
2209
- /** @internal */
2210
- export declare const ListAllSubscriptionsCategory$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsCategory>;
2211
- /** @internal */
2212
- export declare const ListAllSubscriptionsCategory$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsCategory>;
2213
- /**
2214
- * @internal
2215
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2216
- */
2217
- export declare namespace ListAllSubscriptionsCategory$ {
2218
- /** @deprecated use `ListAllSubscriptionsCategory$inboundSchema` instead. */
2219
- const inboundSchema: z.ZodNativeEnum<{
2220
- readonly Meal: "meal";
2221
- readonly Eco: "eco";
2222
- readonly Gift: "gift";
2223
- readonly SportCulture: "sport_culture";
2224
- }>;
2225
- /** @deprecated use `ListAllSubscriptionsCategory$outboundSchema` instead. */
2226
- const outboundSchema: z.ZodNativeEnum<{
2227
- readonly Meal: "meal";
2228
- readonly Eco: "eco";
2229
- readonly Gift: "gift";
2230
- readonly SportCulture: "sport_culture";
2231
- }>;
2232
- }
2233
- /** @internal */
2234
- export declare const ListAllSubscriptionsInterval$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsInterval>;
2235
- /** @internal */
2236
- export declare const ListAllSubscriptionsInterval$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsInterval>;
2237
- /**
2238
- * @internal
2239
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2240
- */
2241
- export declare namespace ListAllSubscriptionsInterval$ {
2242
- /** @deprecated use `ListAllSubscriptionsInterval$inboundSchema` instead. */
2243
- const inboundSchema: z.ZodNativeEnum<{
2244
- readonly DotDotDotMonths: "... months";
2245
- readonly DotDotDotWeeks: "... weeks";
2246
- readonly DotDotDotDays: "... days";
2247
- }>;
2248
- /** @deprecated use `ListAllSubscriptionsInterval$outboundSchema` instead. */
2249
- const outboundSchema: z.ZodNativeEnum<{
2250
- readonly DotDotDotMonths: "... months";
2251
- readonly DotDotDotWeeks: "... weeks";
2252
- readonly DotDotDotDays: "... days";
2253
- }>;
2254
- }
2255
- /** @internal */
2256
- export declare const ListAllSubscriptionsRecurringAmount$inboundSchema: z.ZodType<ListAllSubscriptionsRecurringAmount, z.ZodTypeDef, unknown>;
2257
- /** @internal */
2258
- export type ListAllSubscriptionsRecurringAmount$Outbound = {
2259
- currency: string;
2260
- value: string;
2261
- };
2262
- /** @internal */
2263
- export declare const ListAllSubscriptionsRecurringAmount$outboundSchema: z.ZodType<ListAllSubscriptionsRecurringAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsRecurringAmount>;
2264
- /**
2265
- * @internal
2266
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2267
- */
2268
- export declare namespace ListAllSubscriptionsRecurringAmount$ {
2269
- /** @deprecated use `ListAllSubscriptionsRecurringAmount$inboundSchema` instead. */
2270
- const inboundSchema: z.ZodType<ListAllSubscriptionsRecurringAmount, z.ZodTypeDef, unknown>;
2271
- /** @deprecated use `ListAllSubscriptionsRecurringAmount$outboundSchema` instead. */
2272
- const outboundSchema: z.ZodType<ListAllSubscriptionsRecurringAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsRecurringAmount>;
2273
- /** @deprecated use `ListAllSubscriptionsRecurringAmount$Outbound` instead. */
2274
- type Outbound = ListAllSubscriptionsRecurringAmount$Outbound;
2275
- }
2276
- export declare function listAllSubscriptionsRecurringAmountToJSON(listAllSubscriptionsRecurringAmount: ListAllSubscriptionsRecurringAmount): string;
2277
- export declare function listAllSubscriptionsRecurringAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRecurringAmount, SDKValidationError>;
2278
- /** @internal */
2279
- export declare const ListAllSubscriptionsRecurring$inboundSchema: z.ZodType<ListAllSubscriptionsRecurring, z.ZodTypeDef, unknown>;
2280
- /** @internal */
2281
- export type ListAllSubscriptionsRecurring$Outbound = {
2282
- description?: string | undefined;
2283
- interval: string;
2284
- amount?: ListAllSubscriptionsRecurringAmount$Outbound | undefined;
2285
- times?: number | undefined;
2286
- startDate?: string | null | undefined;
2287
- };
2288
- /** @internal */
2289
- export declare const ListAllSubscriptionsRecurring$outboundSchema: z.ZodType<ListAllSubscriptionsRecurring$Outbound, z.ZodTypeDef, ListAllSubscriptionsRecurring>;
2290
- /**
2291
- * @internal
2292
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2293
- */
2294
- export declare namespace ListAllSubscriptionsRecurring$ {
2295
- /** @deprecated use `ListAllSubscriptionsRecurring$inboundSchema` instead. */
2296
- const inboundSchema: z.ZodType<ListAllSubscriptionsRecurring, z.ZodTypeDef, unknown>;
2297
- /** @deprecated use `ListAllSubscriptionsRecurring$outboundSchema` instead. */
2298
- const outboundSchema: z.ZodType<ListAllSubscriptionsRecurring$Outbound, z.ZodTypeDef, ListAllSubscriptionsRecurring>;
2299
- /** @deprecated use `ListAllSubscriptionsRecurring$Outbound` instead. */
2300
- type Outbound = ListAllSubscriptionsRecurring$Outbound;
2301
- }
2302
- export declare function listAllSubscriptionsRecurringToJSON(listAllSubscriptionsRecurring: ListAllSubscriptionsRecurring): string;
2303
- export declare function listAllSubscriptionsRecurringFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRecurring, SDKValidationError>;
2304
- /** @internal */
2305
- export declare const ListAllSubscriptionsLine$inboundSchema: z.ZodType<ListAllSubscriptionsLine, z.ZodTypeDef, unknown>;
2306
- /** @internal */
2307
- export type ListAllSubscriptionsLine$Outbound = {
2308
- type: string;
2309
- description: string;
2310
- quantity: number;
2311
- quantityUnit?: string | undefined;
2312
- unitPrice: ListAllSubscriptionsUnitPrice$Outbound;
2313
- discountAmount?: ListAllSubscriptionsDiscountAmount$Outbound | undefined;
2314
- totalAmount: ListAllSubscriptionsTotalAmount$Outbound;
2315
- vatRate?: string | undefined;
2316
- vatAmount?: ListAllSubscriptionsVatAmount$Outbound | undefined;
2317
- sku?: string | undefined;
2318
- categories?: Array<string> | undefined;
2319
- imageUrl?: string | undefined;
2320
- productUrl?: string | undefined;
2321
- recurring?: ListAllSubscriptionsRecurring$Outbound | undefined;
2322
- };
2323
- /** @internal */
2324
- export declare const ListAllSubscriptionsLine$outboundSchema: z.ZodType<ListAllSubscriptionsLine$Outbound, z.ZodTypeDef, ListAllSubscriptionsLine>;
2325
- /**
2326
- * @internal
2327
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2328
- */
2329
- export declare namespace ListAllSubscriptionsLine$ {
2330
- /** @deprecated use `ListAllSubscriptionsLine$inboundSchema` instead. */
2331
- const inboundSchema: z.ZodType<ListAllSubscriptionsLine, z.ZodTypeDef, unknown>;
2332
- /** @deprecated use `ListAllSubscriptionsLine$outboundSchema` instead. */
2333
- const outboundSchema: z.ZodType<ListAllSubscriptionsLine$Outbound, z.ZodTypeDef, ListAllSubscriptionsLine>;
2334
- /** @deprecated use `ListAllSubscriptionsLine$Outbound` instead. */
2335
- type Outbound = ListAllSubscriptionsLine$Outbound;
2336
- }
2337
- export declare function listAllSubscriptionsLineToJSON(listAllSubscriptionsLine: ListAllSubscriptionsLine): string;
2338
- export declare function listAllSubscriptionsLineFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsLine, SDKValidationError>;
2339
- /** @internal */
2340
- export declare const ListAllSubscriptionsBillingAddress$inboundSchema: z.ZodType<ListAllSubscriptionsBillingAddress, z.ZodTypeDef, unknown>;
2341
- /** @internal */
2342
- export type ListAllSubscriptionsBillingAddress$Outbound = {
2343
- title?: string | undefined;
2344
- givenName?: string | undefined;
2345
- familyName?: string | undefined;
2346
- organizationName?: string | undefined;
2347
- streetAndNumber?: string | undefined;
2348
- streetAdditional?: string | undefined;
2349
- postalCode?: string | undefined;
2350
- email?: string | undefined;
2351
- phone?: string | undefined;
2352
- city?: string | undefined;
2353
- region?: string | undefined;
2354
- country?: string | undefined;
2355
- };
2356
- /** @internal */
2357
- export declare const ListAllSubscriptionsBillingAddress$outboundSchema: z.ZodType<ListAllSubscriptionsBillingAddress$Outbound, z.ZodTypeDef, ListAllSubscriptionsBillingAddress>;
2358
- /**
2359
- * @internal
2360
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2361
- */
2362
- export declare namespace ListAllSubscriptionsBillingAddress$ {
2363
- /** @deprecated use `ListAllSubscriptionsBillingAddress$inboundSchema` instead. */
2364
- const inboundSchema: z.ZodType<ListAllSubscriptionsBillingAddress, z.ZodTypeDef, unknown>;
2365
- /** @deprecated use `ListAllSubscriptionsBillingAddress$outboundSchema` instead. */
2366
- const outboundSchema: z.ZodType<ListAllSubscriptionsBillingAddress$Outbound, z.ZodTypeDef, ListAllSubscriptionsBillingAddress>;
2367
- /** @deprecated use `ListAllSubscriptionsBillingAddress$Outbound` instead. */
2368
- type Outbound = ListAllSubscriptionsBillingAddress$Outbound;
2369
- }
2370
- export declare function listAllSubscriptionsBillingAddressToJSON(listAllSubscriptionsBillingAddress: ListAllSubscriptionsBillingAddress): string;
2371
- export declare function listAllSubscriptionsBillingAddressFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsBillingAddress, SDKValidationError>;
2372
- /** @internal */
2373
- export declare const ListAllSubscriptionsShippingAddress$inboundSchema: z.ZodType<ListAllSubscriptionsShippingAddress, z.ZodTypeDef, unknown>;
2374
- /** @internal */
2375
- export type ListAllSubscriptionsShippingAddress$Outbound = {
2376
- title?: string | undefined;
2377
- givenName?: string | undefined;
2378
- familyName?: string | undefined;
2379
- organizationName?: string | undefined;
2380
- streetAndNumber?: string | undefined;
2381
- streetAdditional?: string | undefined;
2382
- postalCode?: string | undefined;
2383
- email?: string | undefined;
2384
- phone?: string | undefined;
2385
- city?: string | undefined;
2386
- region?: string | undefined;
2387
- country?: string | undefined;
2388
- };
2389
- /** @internal */
2390
- export declare const ListAllSubscriptionsShippingAddress$outboundSchema: z.ZodType<ListAllSubscriptionsShippingAddress$Outbound, z.ZodTypeDef, ListAllSubscriptionsShippingAddress>;
2391
- /**
2392
- * @internal
2393
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2394
- */
2395
- export declare namespace ListAllSubscriptionsShippingAddress$ {
2396
- /** @deprecated use `ListAllSubscriptionsShippingAddress$inboundSchema` instead. */
2397
- const inboundSchema: z.ZodType<ListAllSubscriptionsShippingAddress, z.ZodTypeDef, unknown>;
2398
- /** @deprecated use `ListAllSubscriptionsShippingAddress$outboundSchema` instead. */
2399
- const outboundSchema: z.ZodType<ListAllSubscriptionsShippingAddress$Outbound, z.ZodTypeDef, ListAllSubscriptionsShippingAddress>;
2400
- /** @deprecated use `ListAllSubscriptionsShippingAddress$Outbound` instead. */
2401
- type Outbound = ListAllSubscriptionsShippingAddress$Outbound;
2402
- }
2403
- export declare function listAllSubscriptionsShippingAddressToJSON(listAllSubscriptionsShippingAddress: ListAllSubscriptionsShippingAddress): string;
2404
- export declare function listAllSubscriptionsShippingAddressFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsShippingAddress, SDKValidationError>;
2405
- /** @internal */
2406
- export declare const ListAllSubscriptionsLocale$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsLocale>;
2407
- /** @internal */
2408
- export declare const ListAllSubscriptionsLocale$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsLocale>;
2409
- /**
2410
- * @internal
2411
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2412
- */
2413
- export declare namespace ListAllSubscriptionsLocale$ {
2414
- /** @deprecated use `ListAllSubscriptionsLocale$inboundSchema` instead. */
2415
- const inboundSchema: z.ZodNativeEnum<{
2416
- readonly EnUS: "en_US";
2417
- readonly EnGB: "en_GB";
2418
- readonly NLNL: "nl_NL";
2419
- readonly NlBE: "nl_BE";
2420
- readonly DEDE: "de_DE";
2421
- readonly DeAT: "de_AT";
2422
- readonly DeCH: "de_CH";
2423
- readonly FRFR: "fr_FR";
2424
- readonly FrBE: "fr_BE";
2425
- readonly ESES: "es_ES";
2426
- readonly CaES: "ca_ES";
2427
- readonly PTPT: "pt_PT";
2428
- readonly ITIT: "it_IT";
2429
- readonly NbNO: "nb_NO";
2430
- readonly SvSE: "sv_SE";
2431
- readonly FIFI: "fi_FI";
2432
- readonly DaDK: "da_DK";
2433
- readonly ISIS: "is_IS";
2434
- readonly HUHU: "hu_HU";
2435
- readonly PLPL: "pl_PL";
2436
- readonly LVLV: "lv_LV";
2437
- readonly LTLT: "lt_LT";
2438
- }>;
2439
- /** @deprecated use `ListAllSubscriptionsLocale$outboundSchema` instead. */
2440
- const outboundSchema: z.ZodNativeEnum<{
2441
- readonly EnUS: "en_US";
2442
- readonly EnGB: "en_GB";
2443
- readonly NLNL: "nl_NL";
2444
- readonly NlBE: "nl_BE";
2445
- readonly DEDE: "de_DE";
2446
- readonly DeAT: "de_AT";
2447
- readonly DeCH: "de_CH";
2448
- readonly FRFR: "fr_FR";
2449
- readonly FrBE: "fr_BE";
2450
- readonly ESES: "es_ES";
2451
- readonly CaES: "ca_ES";
2452
- readonly PTPT: "pt_PT";
2453
- readonly ITIT: "it_IT";
2454
- readonly NbNO: "nb_NO";
2455
- readonly SvSE: "sv_SE";
2456
- readonly FIFI: "fi_FI";
2457
- readonly DaDK: "da_DK";
2458
- readonly ISIS: "is_IS";
2459
- readonly HUHU: "hu_HU";
2460
- readonly PLPL: "pl_PL";
2461
- readonly LVLV: "lv_LV";
2462
- readonly LTLT: "lt_LT";
2463
- }>;
2464
- }
2465
- /** @internal */
2466
- export declare const ListAllSubscriptionsMethod$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMethod>;
2467
- /** @internal */
2468
- export declare const ListAllSubscriptionsMethod$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMethod>;
2469
- /**
2470
- * @internal
2471
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2472
- */
2473
- export declare namespace ListAllSubscriptionsMethod$ {
2474
- /** @deprecated use `ListAllSubscriptionsMethod$inboundSchema` instead. */
2475
- const inboundSchema: z.ZodNativeEnum<{
2476
- readonly Alma: "alma";
2477
- readonly Applepay: "applepay";
2478
- readonly Bacs: "bacs";
2479
- readonly Bancomatpay: "bancomatpay";
2480
- readonly Bancontact: "bancontact";
2481
- readonly Banktransfer: "banktransfer";
2482
- readonly Belfius: "belfius";
2483
- readonly Billie: "billie";
2484
- readonly Bizum: "bizum";
2485
- readonly Blik: "blik";
2486
- readonly Creditcard: "creditcard";
2487
- readonly Directdebit: "directdebit";
2488
- readonly Eps: "eps";
2489
- readonly Giftcard: "giftcard";
2490
- readonly Ideal: "ideal";
2491
- readonly In3: "in3";
2492
- readonly Kbc: "kbc";
2493
- readonly Klarna: "klarna";
2494
- readonly Klarnapaylater: "klarnapaylater";
2495
- readonly Klarnapaynow: "klarnapaynow";
2496
- readonly Klarnasliceit: "klarnasliceit";
2497
- readonly Mbway: "mbway";
2498
- readonly Multibanco: "multibanco";
2499
- readonly Mybank: "mybank";
2500
- readonly Paybybank: "paybybank";
2501
- readonly Payconiq: "payconiq";
2502
- readonly Paypal: "paypal";
2503
- readonly Paysafecard: "paysafecard";
2504
- readonly Pointofsale: "pointofsale";
2505
- readonly Przelewy24: "przelewy24";
2506
- readonly Riverty: "riverty";
2507
- readonly Satispay: "satispay";
2508
- readonly Swish: "swish";
2509
- readonly Trustly: "trustly";
2510
- readonly Twint: "twint";
2511
- readonly Voucher: "voucher";
2512
- }>;
2513
- /** @deprecated use `ListAllSubscriptionsMethod$outboundSchema` instead. */
2514
- const outboundSchema: z.ZodNativeEnum<{
2515
- readonly Alma: "alma";
2516
- readonly Applepay: "applepay";
2517
- readonly Bacs: "bacs";
2518
- readonly Bancomatpay: "bancomatpay";
2519
- readonly Bancontact: "bancontact";
2520
- readonly Banktransfer: "banktransfer";
2521
- readonly Belfius: "belfius";
2522
- readonly Billie: "billie";
2523
- readonly Bizum: "bizum";
2524
- readonly Blik: "blik";
2525
- readonly Creditcard: "creditcard";
2526
- readonly Directdebit: "directdebit";
2527
- readonly Eps: "eps";
2528
- readonly Giftcard: "giftcard";
2529
- readonly Ideal: "ideal";
2530
- readonly In3: "in3";
2531
- readonly Kbc: "kbc";
2532
- readonly Klarna: "klarna";
2533
- readonly Klarnapaylater: "klarnapaylater";
2534
- readonly Klarnapaynow: "klarnapaynow";
2535
- readonly Klarnasliceit: "klarnasliceit";
2536
- readonly Mbway: "mbway";
2537
- readonly Multibanco: "multibanco";
2538
- readonly Mybank: "mybank";
2539
- readonly Paybybank: "paybybank";
2540
- readonly Payconiq: "payconiq";
2541
- readonly Paypal: "paypal";
2542
- readonly Paysafecard: "paysafecard";
2543
- readonly Pointofsale: "pointofsale";
2544
- readonly Przelewy24: "przelewy24";
2545
- readonly Riverty: "riverty";
2546
- readonly Satispay: "satispay";
2547
- readonly Swish: "swish";
2548
- readonly Trustly: "trustly";
2549
- readonly Twint: "twint";
2550
- readonly Voucher: "voucher";
2551
- }>;
2552
- }
2553
- /** @internal */
2554
- export declare const ListAllSubscriptionsMetadata$inboundSchema: z.ZodType<ListAllSubscriptionsMetadata, z.ZodTypeDef, unknown>;
2555
- /** @internal */
2556
- export type ListAllSubscriptionsMetadata$Outbound = {};
2557
- /** @internal */
2558
- export declare const ListAllSubscriptionsMetadata$outboundSchema: z.ZodType<ListAllSubscriptionsMetadata$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadata>;
2559
- /**
2560
- * @internal
2561
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2562
- */
2563
- export declare namespace ListAllSubscriptionsMetadata$ {
2564
- /** @deprecated use `ListAllSubscriptionsMetadata$inboundSchema` instead. */
2565
- const inboundSchema: z.ZodType<ListAllSubscriptionsMetadata, z.ZodTypeDef, unknown>;
2566
- /** @deprecated use `ListAllSubscriptionsMetadata$outboundSchema` instead. */
2567
- const outboundSchema: z.ZodType<ListAllSubscriptionsMetadata$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadata>;
2568
- /** @deprecated use `ListAllSubscriptionsMetadata$Outbound` instead. */
2569
- type Outbound = ListAllSubscriptionsMetadata$Outbound;
2570
- }
2571
- export declare function listAllSubscriptionsMetadataToJSON(listAllSubscriptionsMetadata: ListAllSubscriptionsMetadata): string;
2572
- export declare function listAllSubscriptionsMetadataFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMetadata, SDKValidationError>;
2573
- /** @internal */
2574
- export declare const ListAllSubscriptionsMetadataUnion$inboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion, z.ZodTypeDef, unknown>;
2575
- /** @internal */
2576
- export type ListAllSubscriptionsMetadataUnion$Outbound = ListAllSubscriptionsMetadata$Outbound | string | Array<string>;
2577
- /** @internal */
2578
- export declare const ListAllSubscriptionsMetadataUnion$outboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadataUnion>;
2579
- /**
2580
- * @internal
2581
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2582
- */
2583
- export declare namespace ListAllSubscriptionsMetadataUnion$ {
2584
- /** @deprecated use `ListAllSubscriptionsMetadataUnion$inboundSchema` instead. */
2585
- const inboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion, z.ZodTypeDef, unknown>;
2586
- /** @deprecated use `ListAllSubscriptionsMetadataUnion$outboundSchema` instead. */
2587
- const outboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadataUnion>;
2588
- /** @deprecated use `ListAllSubscriptionsMetadataUnion$Outbound` instead. */
2589
- type Outbound = ListAllSubscriptionsMetadataUnion$Outbound;
2590
- }
2591
- export declare function listAllSubscriptionsMetadataUnionToJSON(listAllSubscriptionsMetadataUnion: ListAllSubscriptionsMetadataUnion): string;
2592
- export declare function listAllSubscriptionsMetadataUnionFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMetadataUnion, SDKValidationError>;
2593
- /** @internal */
2594
- export declare const ListAllSubscriptionsCaptureMode$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsCaptureMode>;
2595
- /** @internal */
2596
- export declare const ListAllSubscriptionsCaptureMode$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsCaptureMode>;
2597
- /**
2598
- * @internal
2599
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2600
- */
2601
- export declare namespace ListAllSubscriptionsCaptureMode$ {
2602
- /** @deprecated use `ListAllSubscriptionsCaptureMode$inboundSchema` instead. */
2603
- const inboundSchema: z.ZodNativeEnum<{
2604
- readonly Automatic: "automatic";
2605
- readonly Manual: "manual";
2606
- }>;
2607
- /** @deprecated use `ListAllSubscriptionsCaptureMode$outboundSchema` instead. */
2608
- const outboundSchema: z.ZodNativeEnum<{
2609
- readonly Automatic: "automatic";
2610
- readonly Manual: "manual";
2611
- }>;
2612
- }
2613
- /** @internal */
2614
- export declare const ListAllSubscriptionsApplicationFeeAmount$inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount, z.ZodTypeDef, unknown>;
2615
- /** @internal */
2616
- export type ListAllSubscriptionsApplicationFeeAmount$Outbound = {
2617
- currency: string;
2618
- value: string;
2619
- };
2620
- /** @internal */
2621
- export declare const ListAllSubscriptionsApplicationFeeAmount$outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFeeAmount>;
2622
- /**
2623
- * @internal
2624
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2625
- */
2626
- export declare namespace ListAllSubscriptionsApplicationFeeAmount$ {
2627
- /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$inboundSchema` instead. */
2628
- const inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount, z.ZodTypeDef, unknown>;
2629
- /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$outboundSchema` instead. */
2630
- const outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFeeAmount>;
2631
- /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$Outbound` instead. */
2632
- type Outbound = ListAllSubscriptionsApplicationFeeAmount$Outbound;
2633
- }
2634
- export declare function listAllSubscriptionsApplicationFeeAmountToJSON(listAllSubscriptionsApplicationFeeAmount: ListAllSubscriptionsApplicationFeeAmount): string;
2635
- export declare function listAllSubscriptionsApplicationFeeAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsApplicationFeeAmount, SDKValidationError>;
2636
- /** @internal */
2637
- export declare const ListAllSubscriptionsApplicationFee$inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee, z.ZodTypeDef, unknown>;
2638
- /** @internal */
2639
- export type ListAllSubscriptionsApplicationFee$Outbound = {
2640
- amount?: ListAllSubscriptionsApplicationFeeAmount$Outbound | undefined;
2641
- description?: string | undefined;
2642
- };
2643
- /** @internal */
2644
- export declare const ListAllSubscriptionsApplicationFee$outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFee>;
2645
- /**
2646
- * @internal
2647
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2648
- */
2649
- export declare namespace ListAllSubscriptionsApplicationFee$ {
2650
- /** @deprecated use `ListAllSubscriptionsApplicationFee$inboundSchema` instead. */
2651
- const inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee, z.ZodTypeDef, unknown>;
2652
- /** @deprecated use `ListAllSubscriptionsApplicationFee$outboundSchema` instead. */
2653
- const outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFee>;
2654
- /** @deprecated use `ListAllSubscriptionsApplicationFee$Outbound` instead. */
2655
- type Outbound = ListAllSubscriptionsApplicationFee$Outbound;
2656
- }
2657
- export declare function listAllSubscriptionsApplicationFeeToJSON(listAllSubscriptionsApplicationFee: ListAllSubscriptionsApplicationFee): string;
2658
- export declare function listAllSubscriptionsApplicationFeeFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsApplicationFee, SDKValidationError>;
2659
- /** @internal */
2660
- export declare const ListAllSubscriptionsRoutingMode$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsRoutingMode>;
2661
- /** @internal */
2662
- export declare const ListAllSubscriptionsRoutingMode$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsRoutingMode>;
2663
- /**
2664
- * @internal
2665
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2666
- */
2667
- export declare namespace ListAllSubscriptionsRoutingMode$ {
2668
- /** @deprecated use `ListAllSubscriptionsRoutingMode$inboundSchema` instead. */
2669
- const inboundSchema: z.ZodNativeEnum<{
2670
- readonly Live: "live";
2671
- readonly Test: "test";
2672
- }>;
2673
- /** @deprecated use `ListAllSubscriptionsRoutingMode$outboundSchema` instead. */
2674
- const outboundSchema: z.ZodNativeEnum<{
2675
- readonly Live: "live";
2676
- readonly Test: "test";
2677
- }>;
2678
- }
2679
- /** @internal */
2680
- export declare const ListAllSubscriptionsRoutingAmount$inboundSchema: z.ZodType<ListAllSubscriptionsRoutingAmount, z.ZodTypeDef, unknown>;
2681
- /** @internal */
2682
- export type ListAllSubscriptionsRoutingAmount$Outbound = {
2683
- currency: string;
2684
- value: string;
2685
- };
2686
- /** @internal */
2687
- export declare const ListAllSubscriptionsRoutingAmount$outboundSchema: z.ZodType<ListAllSubscriptionsRoutingAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingAmount>;
2688
- /**
2689
- * @internal
2690
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2691
- */
2692
- export declare namespace ListAllSubscriptionsRoutingAmount$ {
2693
- /** @deprecated use `ListAllSubscriptionsRoutingAmount$inboundSchema` instead. */
2694
- const inboundSchema: z.ZodType<ListAllSubscriptionsRoutingAmount, z.ZodTypeDef, unknown>;
2695
- /** @deprecated use `ListAllSubscriptionsRoutingAmount$outboundSchema` instead. */
2696
- const outboundSchema: z.ZodType<ListAllSubscriptionsRoutingAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingAmount>;
2697
- /** @deprecated use `ListAllSubscriptionsRoutingAmount$Outbound` instead. */
2698
- type Outbound = ListAllSubscriptionsRoutingAmount$Outbound;
2699
- }
2700
- export declare function listAllSubscriptionsRoutingAmountToJSON(listAllSubscriptionsRoutingAmount: ListAllSubscriptionsRoutingAmount): string;
2701
- export declare function listAllSubscriptionsRoutingAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRoutingAmount, SDKValidationError>;
2702
- /** @internal */
2703
- export declare const ListAllSubscriptionsRoutingType$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsRoutingType>;
2704
- /** @internal */
2705
- export declare const ListAllSubscriptionsRoutingType$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsRoutingType>;
2706
- /**
2707
- * @internal
2708
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2709
- */
2710
- export declare namespace ListAllSubscriptionsRoutingType$ {
2711
- /** @deprecated use `ListAllSubscriptionsRoutingType$inboundSchema` instead. */
2712
- const inboundSchema: z.ZodNativeEnum<{
2713
- readonly Organization: "organization";
2714
- }>;
2715
- /** @deprecated use `ListAllSubscriptionsRoutingType$outboundSchema` instead. */
2716
- const outboundSchema: z.ZodNativeEnum<{
2717
- readonly Organization: "organization";
2718
- }>;
2719
- }
518
+ * The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
519
+ * limit is 50 items.
520
+ */
521
+ count?: number | undefined;
522
+ embedded?: ListAllSubscriptionsEmbedded | undefined;
523
+ /**
524
+ * Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
525
+ */
526
+ links?: ListAllSubscriptionsLinks | undefined;
527
+ };
2720
528
  /** @internal */
2721
- export declare const ListAllSubscriptionsDestination$inboundSchema: z.ZodType<ListAllSubscriptionsDestination, z.ZodTypeDef, unknown>;
529
+ export declare const ListAllSubscriptionsRequest$inboundSchema: z.ZodType<ListAllSubscriptionsRequest, z.ZodTypeDef, unknown>;
2722
530
  /** @internal */
2723
- export type ListAllSubscriptionsDestination$Outbound = {
2724
- type: string;
2725
- organizationId: string;
531
+ export type ListAllSubscriptionsRequest$Outbound = {
532
+ from?: string | undefined;
533
+ limit: number | null;
534
+ profileId?: string | null | undefined;
535
+ testmode?: boolean | null | undefined;
2726
536
  };
2727
537
  /** @internal */
2728
- export declare const ListAllSubscriptionsDestination$outboundSchema: z.ZodType<ListAllSubscriptionsDestination$Outbound, z.ZodTypeDef, ListAllSubscriptionsDestination>;
538
+ export declare const ListAllSubscriptionsRequest$outboundSchema: z.ZodType<ListAllSubscriptionsRequest$Outbound, z.ZodTypeDef, ListAllSubscriptionsRequest>;
2729
539
  /**
2730
540
  * @internal
2731
541
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2732
542
  */
2733
- export declare namespace ListAllSubscriptionsDestination$ {
2734
- /** @deprecated use `ListAllSubscriptionsDestination$inboundSchema` instead. */
2735
- const inboundSchema: z.ZodType<ListAllSubscriptionsDestination, z.ZodTypeDef, unknown>;
2736
- /** @deprecated use `ListAllSubscriptionsDestination$outboundSchema` instead. */
2737
- const outboundSchema: z.ZodType<ListAllSubscriptionsDestination$Outbound, z.ZodTypeDef, ListAllSubscriptionsDestination>;
2738
- /** @deprecated use `ListAllSubscriptionsDestination$Outbound` instead. */
2739
- type Outbound = ListAllSubscriptionsDestination$Outbound;
543
+ export declare namespace ListAllSubscriptionsRequest$ {
544
+ /** @deprecated use `ListAllSubscriptionsRequest$inboundSchema` instead. */
545
+ const inboundSchema: z.ZodType<ListAllSubscriptionsRequest, z.ZodTypeDef, unknown>;
546
+ /** @deprecated use `ListAllSubscriptionsRequest$outboundSchema` instead. */
547
+ const outboundSchema: z.ZodType<ListAllSubscriptionsRequest$Outbound, z.ZodTypeDef, ListAllSubscriptionsRequest>;
548
+ /** @deprecated use `ListAllSubscriptionsRequest$Outbound` instead. */
549
+ type Outbound = ListAllSubscriptionsRequest$Outbound;
2740
550
  }
2741
- export declare function listAllSubscriptionsDestinationToJSON(listAllSubscriptionsDestination: ListAllSubscriptionsDestination): string;
2742
- export declare function listAllSubscriptionsDestinationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsDestination, SDKValidationError>;
551
+ export declare function listAllSubscriptionsRequestToJSON(listAllSubscriptionsRequest: ListAllSubscriptionsRequest): string;
552
+ export declare function listAllSubscriptionsRequestFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRequest, SDKValidationError>;
2743
553
  /** @internal */
2744
- export declare const ListAllSubscriptionsRoutingSelf$inboundSchema: z.ZodType<ListAllSubscriptionsRoutingSelf, z.ZodTypeDef, unknown>;
554
+ export declare const ListAllSubscriptionsNotFoundDocumentation$inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundDocumentation, z.ZodTypeDef, unknown>;
2745
555
  /** @internal */
2746
- export type ListAllSubscriptionsRoutingSelf$Outbound = {
556
+ export type ListAllSubscriptionsNotFoundDocumentation$Outbound = {
2747
557
  href: string;
2748
558
  type: string;
2749
559
  };
2750
560
  /** @internal */
2751
- export declare const ListAllSubscriptionsRoutingSelf$outboundSchema: z.ZodType<ListAllSubscriptionsRoutingSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingSelf>;
561
+ export declare const ListAllSubscriptionsNotFoundDocumentation$outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundDocumentation>;
2752
562
  /**
2753
563
  * @internal
2754
564
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2755
565
  */
2756
- export declare namespace ListAllSubscriptionsRoutingSelf$ {
2757
- /** @deprecated use `ListAllSubscriptionsRoutingSelf$inboundSchema` instead. */
2758
- const inboundSchema: z.ZodType<ListAllSubscriptionsRoutingSelf, z.ZodTypeDef, unknown>;
2759
- /** @deprecated use `ListAllSubscriptionsRoutingSelf$outboundSchema` instead. */
2760
- const outboundSchema: z.ZodType<ListAllSubscriptionsRoutingSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingSelf>;
2761
- /** @deprecated use `ListAllSubscriptionsRoutingSelf$Outbound` instead. */
2762
- type Outbound = ListAllSubscriptionsRoutingSelf$Outbound;
566
+ export declare namespace ListAllSubscriptionsNotFoundDocumentation$ {
567
+ /** @deprecated use `ListAllSubscriptionsNotFoundDocumentation$inboundSchema` instead. */
568
+ const inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundDocumentation, z.ZodTypeDef, unknown>;
569
+ /** @deprecated use `ListAllSubscriptionsNotFoundDocumentation$outboundSchema` instead. */
570
+ const outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundDocumentation>;
571
+ /** @deprecated use `ListAllSubscriptionsNotFoundDocumentation$Outbound` instead. */
572
+ type Outbound = ListAllSubscriptionsNotFoundDocumentation$Outbound;
2763
573
  }
2764
- export declare function listAllSubscriptionsRoutingSelfToJSON(listAllSubscriptionsRoutingSelf: ListAllSubscriptionsRoutingSelf): string;
2765
- export declare function listAllSubscriptionsRoutingSelfFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRoutingSelf, SDKValidationError>;
574
+ export declare function listAllSubscriptionsNotFoundDocumentationToJSON(listAllSubscriptionsNotFoundDocumentation: ListAllSubscriptionsNotFoundDocumentation): string;
575
+ export declare function listAllSubscriptionsNotFoundDocumentationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsNotFoundDocumentation, SDKValidationError>;
2766
576
  /** @internal */
2767
- export declare const ListAllSubscriptionsRoutingPayment$inboundSchema: z.ZodType<ListAllSubscriptionsRoutingPayment, z.ZodTypeDef, unknown>;
577
+ export declare const ListAllSubscriptionsNotFoundLinks$inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundLinks, z.ZodTypeDef, unknown>;
2768
578
  /** @internal */
2769
- export type ListAllSubscriptionsRoutingPayment$Outbound = {
2770
- href: string;
2771
- type: string;
579
+ export type ListAllSubscriptionsNotFoundLinks$Outbound = {
580
+ documentation: ListAllSubscriptionsNotFoundDocumentation$Outbound;
2772
581
  };
2773
582
  /** @internal */
2774
- export declare const ListAllSubscriptionsRoutingPayment$outboundSchema: z.ZodType<ListAllSubscriptionsRoutingPayment$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingPayment>;
583
+ export declare const ListAllSubscriptionsNotFoundLinks$outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundLinks>;
2775
584
  /**
2776
585
  * @internal
2777
586
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2778
587
  */
2779
- export declare namespace ListAllSubscriptionsRoutingPayment$ {
2780
- /** @deprecated use `ListAllSubscriptionsRoutingPayment$inboundSchema` instead. */
2781
- const inboundSchema: z.ZodType<ListAllSubscriptionsRoutingPayment, z.ZodTypeDef, unknown>;
2782
- /** @deprecated use `ListAllSubscriptionsRoutingPayment$outboundSchema` instead. */
2783
- const outboundSchema: z.ZodType<ListAllSubscriptionsRoutingPayment$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingPayment>;
2784
- /** @deprecated use `ListAllSubscriptionsRoutingPayment$Outbound` instead. */
2785
- type Outbound = ListAllSubscriptionsRoutingPayment$Outbound;
588
+ export declare namespace ListAllSubscriptionsNotFoundLinks$ {
589
+ /** @deprecated use `ListAllSubscriptionsNotFoundLinks$inboundSchema` instead. */
590
+ const inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundLinks, z.ZodTypeDef, unknown>;
591
+ /** @deprecated use `ListAllSubscriptionsNotFoundLinks$outboundSchema` instead. */
592
+ const outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundLinks>;
593
+ /** @deprecated use `ListAllSubscriptionsNotFoundLinks$Outbound` instead. */
594
+ type Outbound = ListAllSubscriptionsNotFoundLinks$Outbound;
2786
595
  }
2787
- export declare function listAllSubscriptionsRoutingPaymentToJSON(listAllSubscriptionsRoutingPayment: ListAllSubscriptionsRoutingPayment): string;
2788
- export declare function listAllSubscriptionsRoutingPaymentFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRoutingPayment, SDKValidationError>;
596
+ export declare function listAllSubscriptionsNotFoundLinksToJSON(listAllSubscriptionsNotFoundLinks: ListAllSubscriptionsNotFoundLinks): string;
597
+ export declare function listAllSubscriptionsNotFoundLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsNotFoundLinks, SDKValidationError>;
2789
598
  /** @internal */
2790
- export declare const ListAllSubscriptionsRoutingLinks$inboundSchema: z.ZodType<ListAllSubscriptionsRoutingLinks, z.ZodTypeDef, unknown>;
599
+ export declare const ListAllSubscriptionsBadRequestDocumentation$inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation, z.ZodTypeDef, unknown>;
2791
600
  /** @internal */
2792
- export type ListAllSubscriptionsRoutingLinks$Outbound = {
2793
- self: ListAllSubscriptionsRoutingSelf$Outbound;
2794
- payment: ListAllSubscriptionsRoutingPayment$Outbound;
601
+ export type ListAllSubscriptionsBadRequestDocumentation$Outbound = {
602
+ href: string;
603
+ type: string;
2795
604
  };
2796
605
  /** @internal */
2797
- export declare const ListAllSubscriptionsRoutingLinks$outboundSchema: z.ZodType<ListAllSubscriptionsRoutingLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingLinks>;
606
+ export declare const ListAllSubscriptionsBadRequestDocumentation$outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestDocumentation>;
2798
607
  /**
2799
608
  * @internal
2800
609
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2801
610
  */
2802
- export declare namespace ListAllSubscriptionsRoutingLinks$ {
2803
- /** @deprecated use `ListAllSubscriptionsRoutingLinks$inboundSchema` instead. */
2804
- const inboundSchema: z.ZodType<ListAllSubscriptionsRoutingLinks, z.ZodTypeDef, unknown>;
2805
- /** @deprecated use `ListAllSubscriptionsRoutingLinks$outboundSchema` instead. */
2806
- const outboundSchema: z.ZodType<ListAllSubscriptionsRoutingLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsRoutingLinks>;
2807
- /** @deprecated use `ListAllSubscriptionsRoutingLinks$Outbound` instead. */
2808
- type Outbound = ListAllSubscriptionsRoutingLinks$Outbound;
611
+ export declare namespace ListAllSubscriptionsBadRequestDocumentation$ {
612
+ /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$inboundSchema` instead. */
613
+ const inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation, z.ZodTypeDef, unknown>;
614
+ /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$outboundSchema` instead. */
615
+ const outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestDocumentation>;
616
+ /** @deprecated use `ListAllSubscriptionsBadRequestDocumentation$Outbound` instead. */
617
+ type Outbound = ListAllSubscriptionsBadRequestDocumentation$Outbound;
2809
618
  }
2810
- export declare function listAllSubscriptionsRoutingLinksToJSON(listAllSubscriptionsRoutingLinks: ListAllSubscriptionsRoutingLinks): string;
2811
- export declare function listAllSubscriptionsRoutingLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRoutingLinks, SDKValidationError>;
619
+ export declare function listAllSubscriptionsBadRequestDocumentationToJSON(listAllSubscriptionsBadRequestDocumentation: ListAllSubscriptionsBadRequestDocumentation): string;
620
+ export declare function listAllSubscriptionsBadRequestDocumentationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsBadRequestDocumentation, SDKValidationError>;
2812
621
  /** @internal */
2813
- export declare const ListAllSubscriptionsRouting$inboundSchema: z.ZodType<ListAllSubscriptionsRouting, z.ZodTypeDef, unknown>;
622
+ export declare const ListAllSubscriptionsBadRequestLinks$inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks, z.ZodTypeDef, unknown>;
2814
623
  /** @internal */
2815
- export type ListAllSubscriptionsRouting$Outbound = {
2816
- resource: string;
2817
- id: string;
2818
- mode: string;
2819
- amount: ListAllSubscriptionsRoutingAmount$Outbound;
2820
- destination: ListAllSubscriptionsDestination$Outbound;
2821
- createdAt: string;
2822
- releaseDate?: string | null | undefined;
2823
- _links: ListAllSubscriptionsRoutingLinks$Outbound;
624
+ export type ListAllSubscriptionsBadRequestLinks$Outbound = {
625
+ documentation: ListAllSubscriptionsBadRequestDocumentation$Outbound;
2824
626
  };
2825
627
  /** @internal */
2826
- export declare const ListAllSubscriptionsRouting$outboundSchema: z.ZodType<ListAllSubscriptionsRouting$Outbound, z.ZodTypeDef, ListAllSubscriptionsRouting>;
628
+ export declare const ListAllSubscriptionsBadRequestLinks$outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestLinks>;
2827
629
  /**
2828
630
  * @internal
2829
631
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2830
632
  */
2831
- export declare namespace ListAllSubscriptionsRouting$ {
2832
- /** @deprecated use `ListAllSubscriptionsRouting$inboundSchema` instead. */
2833
- const inboundSchema: z.ZodType<ListAllSubscriptionsRouting, z.ZodTypeDef, unknown>;
2834
- /** @deprecated use `ListAllSubscriptionsRouting$outboundSchema` instead. */
2835
- const outboundSchema: z.ZodType<ListAllSubscriptionsRouting$Outbound, z.ZodTypeDef, ListAllSubscriptionsRouting>;
2836
- /** @deprecated use `ListAllSubscriptionsRouting$Outbound` instead. */
2837
- type Outbound = ListAllSubscriptionsRouting$Outbound;
633
+ export declare namespace ListAllSubscriptionsBadRequestLinks$ {
634
+ /** @deprecated use `ListAllSubscriptionsBadRequestLinks$inboundSchema` instead. */
635
+ const inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks, z.ZodTypeDef, unknown>;
636
+ /** @deprecated use `ListAllSubscriptionsBadRequestLinks$outboundSchema` instead. */
637
+ const outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestLinks>;
638
+ /** @deprecated use `ListAllSubscriptionsBadRequestLinks$Outbound` instead. */
639
+ type Outbound = ListAllSubscriptionsBadRequestLinks$Outbound;
2838
640
  }
2839
- export declare function listAllSubscriptionsRoutingToJSON(listAllSubscriptionsRouting: ListAllSubscriptionsRouting): string;
2840
- export declare function listAllSubscriptionsRoutingFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRouting, SDKValidationError>;
641
+ export declare function listAllSubscriptionsBadRequestLinksToJSON(listAllSubscriptionsBadRequestLinks: ListAllSubscriptionsBadRequestLinks): string;
642
+ export declare function listAllSubscriptionsBadRequestLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsBadRequestLinks, SDKValidationError>;
2841
643
  /** @internal */
2842
- export declare const ListAllSubscriptionsSequenceType$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsSequenceType>;
644
+ export declare const ListAllSubscriptionsMode$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMode>;
2843
645
  /** @internal */
2844
- export declare const ListAllSubscriptionsSequenceType$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsSequenceType>;
646
+ export declare const ListAllSubscriptionsMode$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMode>;
2845
647
  /**
2846
648
  * @internal
2847
649
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2848
650
  */
2849
- export declare namespace ListAllSubscriptionsSequenceType$ {
2850
- /** @deprecated use `ListAllSubscriptionsSequenceType$inboundSchema` instead. */
651
+ export declare namespace ListAllSubscriptionsMode$ {
652
+ /** @deprecated use `ListAllSubscriptionsMode$inboundSchema` instead. */
2851
653
  const inboundSchema: z.ZodNativeEnum<{
2852
- readonly Oneoff: "oneoff";
2853
- readonly First: "first";
2854
- readonly Recurring: "recurring";
654
+ readonly Live: "live";
655
+ readonly Test: "test";
2855
656
  }>;
2856
- /** @deprecated use `ListAllSubscriptionsSequenceType$outboundSchema` instead. */
657
+ /** @deprecated use `ListAllSubscriptionsMode$outboundSchema` instead. */
2857
658
  const outboundSchema: z.ZodNativeEnum<{
2858
- readonly Oneoff: "oneoff";
2859
- readonly First: "first";
2860
- readonly Recurring: "recurring";
659
+ readonly Live: "live";
660
+ readonly Test: "test";
2861
661
  }>;
2862
662
  }
2863
663
  /** @internal */
@@ -2871,261 +671,203 @@ export declare const ListAllSubscriptionsStatus$outboundSchema: z.ZodNativeEnum<
2871
671
  export declare namespace ListAllSubscriptionsStatus$ {
2872
672
  /** @deprecated use `ListAllSubscriptionsStatus$inboundSchema` instead. */
2873
673
  const inboundSchema: z.ZodNativeEnum<{
2874
- readonly Open: "open";
2875
674
  readonly Pending: "pending";
2876
- readonly Authorized: "authorized";
2877
- readonly Paid: "paid";
675
+ readonly Active: "active";
2878
676
  readonly Canceled: "canceled";
2879
- readonly Expired: "expired";
2880
- readonly Failed: "failed";
677
+ readonly Suspended: "suspended";
678
+ readonly Completed: "completed";
2881
679
  }>;
2882
680
  /** @deprecated use `ListAllSubscriptionsStatus$outboundSchema` instead. */
2883
681
  const outboundSchema: z.ZodNativeEnum<{
2884
- readonly Open: "open";
2885
682
  readonly Pending: "pending";
2886
- readonly Authorized: "authorized";
2887
- readonly Paid: "paid";
683
+ readonly Active: "active";
2888
684
  readonly Canceled: "canceled";
2889
- readonly Expired: "expired";
2890
- readonly Failed: "failed";
685
+ readonly Suspended: "suspended";
686
+ readonly Completed: "completed";
2891
687
  }>;
2892
688
  }
2893
689
  /** @internal */
2894
- export declare const ListAllSubscriptionsStatusReason$inboundSchema: z.ZodType<ListAllSubscriptionsStatusReason, z.ZodTypeDef, unknown>;
2895
- /** @internal */
2896
- export type ListAllSubscriptionsStatusReason$Outbound = {
2897
- code: string;
2898
- message: string;
2899
- };
2900
- /** @internal */
2901
- export declare const ListAllSubscriptionsStatusReason$outboundSchema: z.ZodType<ListAllSubscriptionsStatusReason$Outbound, z.ZodTypeDef, ListAllSubscriptionsStatusReason>;
2902
- /**
2903
- * @internal
2904
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2905
- */
2906
- export declare namespace ListAllSubscriptionsStatusReason$ {
2907
- /** @deprecated use `ListAllSubscriptionsStatusReason$inboundSchema` instead. */
2908
- const inboundSchema: z.ZodType<ListAllSubscriptionsStatusReason, z.ZodTypeDef, unknown>;
2909
- /** @deprecated use `ListAllSubscriptionsStatusReason$outboundSchema` instead. */
2910
- const outboundSchema: z.ZodType<ListAllSubscriptionsStatusReason$Outbound, z.ZodTypeDef, ListAllSubscriptionsStatusReason>;
2911
- /** @deprecated use `ListAllSubscriptionsStatusReason$Outbound` instead. */
2912
- type Outbound = ListAllSubscriptionsStatusReason$Outbound;
2913
- }
2914
- export declare function listAllSubscriptionsStatusReasonToJSON(listAllSubscriptionsStatusReason: ListAllSubscriptionsStatusReason): string;
2915
- export declare function listAllSubscriptionsStatusReasonFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsStatusReason, SDKValidationError>;
2916
- /** @internal */
2917
- export declare const ListAllSubscriptionsPaymentSelf$inboundSchema: z.ZodType<ListAllSubscriptionsPaymentSelf, z.ZodTypeDef, unknown>;
2918
- /** @internal */
2919
- export type ListAllSubscriptionsPaymentSelf$Outbound = {
2920
- href: string;
2921
- type: string;
2922
- };
2923
- /** @internal */
2924
- export declare const ListAllSubscriptionsPaymentSelf$outboundSchema: z.ZodType<ListAllSubscriptionsPaymentSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentSelf>;
2925
- /**
2926
- * @internal
2927
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2928
- */
2929
- export declare namespace ListAllSubscriptionsPaymentSelf$ {
2930
- /** @deprecated use `ListAllSubscriptionsPaymentSelf$inboundSchema` instead. */
2931
- const inboundSchema: z.ZodType<ListAllSubscriptionsPaymentSelf, z.ZodTypeDef, unknown>;
2932
- /** @deprecated use `ListAllSubscriptionsPaymentSelf$outboundSchema` instead. */
2933
- const outboundSchema: z.ZodType<ListAllSubscriptionsPaymentSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentSelf>;
2934
- /** @deprecated use `ListAllSubscriptionsPaymentSelf$Outbound` instead. */
2935
- type Outbound = ListAllSubscriptionsPaymentSelf$Outbound;
2936
- }
2937
- export declare function listAllSubscriptionsPaymentSelfToJSON(listAllSubscriptionsPaymentSelf: ListAllSubscriptionsPaymentSelf): string;
2938
- export declare function listAllSubscriptionsPaymentSelfFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsPaymentSelf, SDKValidationError>;
2939
- /** @internal */
2940
- export declare const ListAllSubscriptionsCheckout$inboundSchema: z.ZodType<ListAllSubscriptionsCheckout, z.ZodTypeDef, unknown>;
690
+ export declare const ListAllSubscriptionsAmount$inboundSchema: z.ZodType<ListAllSubscriptionsAmount, z.ZodTypeDef, unknown>;
2941
691
  /** @internal */
2942
- export type ListAllSubscriptionsCheckout$Outbound = {
2943
- href: string;
2944
- type: string;
692
+ export type ListAllSubscriptionsAmount$Outbound = {
693
+ currency: string;
694
+ value: string;
2945
695
  };
2946
696
  /** @internal */
2947
- export declare const ListAllSubscriptionsCheckout$outboundSchema: z.ZodType<ListAllSubscriptionsCheckout$Outbound, z.ZodTypeDef, ListAllSubscriptionsCheckout>;
697
+ export declare const ListAllSubscriptionsAmount$outboundSchema: z.ZodType<ListAllSubscriptionsAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmount>;
2948
698
  /**
2949
699
  * @internal
2950
700
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2951
701
  */
2952
- export declare namespace ListAllSubscriptionsCheckout$ {
2953
- /** @deprecated use `ListAllSubscriptionsCheckout$inboundSchema` instead. */
2954
- const inboundSchema: z.ZodType<ListAllSubscriptionsCheckout, z.ZodTypeDef, unknown>;
2955
- /** @deprecated use `ListAllSubscriptionsCheckout$outboundSchema` instead. */
2956
- const outboundSchema: z.ZodType<ListAllSubscriptionsCheckout$Outbound, z.ZodTypeDef, ListAllSubscriptionsCheckout>;
2957
- /** @deprecated use `ListAllSubscriptionsCheckout$Outbound` instead. */
2958
- type Outbound = ListAllSubscriptionsCheckout$Outbound;
702
+ export declare namespace ListAllSubscriptionsAmount$ {
703
+ /** @deprecated use `ListAllSubscriptionsAmount$inboundSchema` instead. */
704
+ const inboundSchema: z.ZodType<ListAllSubscriptionsAmount, z.ZodTypeDef, unknown>;
705
+ /** @deprecated use `ListAllSubscriptionsAmount$outboundSchema` instead. */
706
+ const outboundSchema: z.ZodType<ListAllSubscriptionsAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsAmount>;
707
+ /** @deprecated use `ListAllSubscriptionsAmount$Outbound` instead. */
708
+ type Outbound = ListAllSubscriptionsAmount$Outbound;
2959
709
  }
2960
- export declare function listAllSubscriptionsCheckoutToJSON(listAllSubscriptionsCheckout: ListAllSubscriptionsCheckout): string;
2961
- export declare function listAllSubscriptionsCheckoutFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsCheckout, SDKValidationError>;
2962
- /** @internal */
2963
- export declare const ListAllSubscriptionsMobileAppCheckout$inboundSchema: z.ZodType<ListAllSubscriptionsMobileAppCheckout, z.ZodTypeDef, unknown>;
710
+ export declare function listAllSubscriptionsAmountToJSON(listAllSubscriptionsAmount: ListAllSubscriptionsAmount): string;
711
+ export declare function listAllSubscriptionsAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsAmount, SDKValidationError>;
2964
712
  /** @internal */
2965
- export type ListAllSubscriptionsMobileAppCheckout$Outbound = {
2966
- href: string;
2967
- type: string;
2968
- };
713
+ export declare const ListAllSubscriptionsInterval$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsInterval>;
2969
714
  /** @internal */
2970
- export declare const ListAllSubscriptionsMobileAppCheckout$outboundSchema: z.ZodType<ListAllSubscriptionsMobileAppCheckout$Outbound, z.ZodTypeDef, ListAllSubscriptionsMobileAppCheckout>;
715
+ export declare const ListAllSubscriptionsInterval$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsInterval>;
2971
716
  /**
2972
717
  * @internal
2973
718
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2974
719
  */
2975
- export declare namespace ListAllSubscriptionsMobileAppCheckout$ {
2976
- /** @deprecated use `ListAllSubscriptionsMobileAppCheckout$inboundSchema` instead. */
2977
- const inboundSchema: z.ZodType<ListAllSubscriptionsMobileAppCheckout, z.ZodTypeDef, unknown>;
2978
- /** @deprecated use `ListAllSubscriptionsMobileAppCheckout$outboundSchema` instead. */
2979
- const outboundSchema: z.ZodType<ListAllSubscriptionsMobileAppCheckout$Outbound, z.ZodTypeDef, ListAllSubscriptionsMobileAppCheckout>;
2980
- /** @deprecated use `ListAllSubscriptionsMobileAppCheckout$Outbound` instead. */
2981
- type Outbound = ListAllSubscriptionsMobileAppCheckout$Outbound;
720
+ export declare namespace ListAllSubscriptionsInterval$ {
721
+ /** @deprecated use `ListAllSubscriptionsInterval$inboundSchema` instead. */
722
+ const inboundSchema: z.ZodNativeEnum<{
723
+ readonly DotDotDotDays: "... days";
724
+ readonly DotDotDotWeeks: "... weeks";
725
+ readonly DotDotDotMonths: "... months";
726
+ }>;
727
+ /** @deprecated use `ListAllSubscriptionsInterval$outboundSchema` instead. */
728
+ const outboundSchema: z.ZodNativeEnum<{
729
+ readonly DotDotDotDays: "... days";
730
+ readonly DotDotDotWeeks: "... weeks";
731
+ readonly DotDotDotMonths: "... months";
732
+ }>;
2982
733
  }
2983
- export declare function listAllSubscriptionsMobileAppCheckoutToJSON(listAllSubscriptionsMobileAppCheckout: ListAllSubscriptionsMobileAppCheckout): string;
2984
- export declare function listAllSubscriptionsMobileAppCheckoutFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMobileAppCheckout, SDKValidationError>;
2985
734
  /** @internal */
2986
- export declare const ListAllSubscriptionsChangePaymentState$inboundSchema: z.ZodType<ListAllSubscriptionsChangePaymentState, z.ZodTypeDef, unknown>;
2987
- /** @internal */
2988
- export type ListAllSubscriptionsChangePaymentState$Outbound = {
2989
- href: string;
2990
- type: string;
2991
- };
735
+ export declare const ListAllSubscriptionsMethod$inboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMethod>;
2992
736
  /** @internal */
2993
- export declare const ListAllSubscriptionsChangePaymentState$outboundSchema: z.ZodType<ListAllSubscriptionsChangePaymentState$Outbound, z.ZodTypeDef, ListAllSubscriptionsChangePaymentState>;
737
+ export declare const ListAllSubscriptionsMethod$outboundSchema: z.ZodNativeEnum<typeof ListAllSubscriptionsMethod>;
2994
738
  /**
2995
739
  * @internal
2996
740
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2997
741
  */
2998
- export declare namespace ListAllSubscriptionsChangePaymentState$ {
2999
- /** @deprecated use `ListAllSubscriptionsChangePaymentState$inboundSchema` instead. */
3000
- const inboundSchema: z.ZodType<ListAllSubscriptionsChangePaymentState, z.ZodTypeDef, unknown>;
3001
- /** @deprecated use `ListAllSubscriptionsChangePaymentState$outboundSchema` instead. */
3002
- const outboundSchema: z.ZodType<ListAllSubscriptionsChangePaymentState$Outbound, z.ZodTypeDef, ListAllSubscriptionsChangePaymentState>;
3003
- /** @deprecated use `ListAllSubscriptionsChangePaymentState$Outbound` instead. */
3004
- type Outbound = ListAllSubscriptionsChangePaymentState$Outbound;
742
+ export declare namespace ListAllSubscriptionsMethod$ {
743
+ /** @deprecated use `ListAllSubscriptionsMethod$inboundSchema` instead. */
744
+ const inboundSchema: z.ZodNativeEnum<{
745
+ readonly Creditcard: "creditcard";
746
+ readonly Directdebit: "directdebit";
747
+ readonly Paypal: "paypal";
748
+ }>;
749
+ /** @deprecated use `ListAllSubscriptionsMethod$outboundSchema` instead. */
750
+ const outboundSchema: z.ZodNativeEnum<{
751
+ readonly Creditcard: "creditcard";
752
+ readonly Directdebit: "directdebit";
753
+ readonly Paypal: "paypal";
754
+ }>;
3005
755
  }
3006
- export declare function listAllSubscriptionsChangePaymentStateToJSON(listAllSubscriptionsChangePaymentState: ListAllSubscriptionsChangePaymentState): string;
3007
- export declare function listAllSubscriptionsChangePaymentStateFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsChangePaymentState, SDKValidationError>;
3008
756
  /** @internal */
3009
- export declare const ListAllSubscriptionsDashboard$inboundSchema: z.ZodType<ListAllSubscriptionsDashboard, z.ZodTypeDef, unknown>;
757
+ export declare const ListAllSubscriptionsApplicationFeeAmount$inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount, z.ZodTypeDef, unknown>;
3010
758
  /** @internal */
3011
- export type ListAllSubscriptionsDashboard$Outbound = {
3012
- href: string;
3013
- type: string;
759
+ export type ListAllSubscriptionsApplicationFeeAmount$Outbound = {
760
+ currency: string;
761
+ value: string;
3014
762
  };
3015
763
  /** @internal */
3016
- export declare const ListAllSubscriptionsDashboard$outboundSchema: z.ZodType<ListAllSubscriptionsDashboard$Outbound, z.ZodTypeDef, ListAllSubscriptionsDashboard>;
764
+ export declare const ListAllSubscriptionsApplicationFeeAmount$outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFeeAmount>;
3017
765
  /**
3018
766
  * @internal
3019
767
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3020
768
  */
3021
- export declare namespace ListAllSubscriptionsDashboard$ {
3022
- /** @deprecated use `ListAllSubscriptionsDashboard$inboundSchema` instead. */
3023
- const inboundSchema: z.ZodType<ListAllSubscriptionsDashboard, z.ZodTypeDef, unknown>;
3024
- /** @deprecated use `ListAllSubscriptionsDashboard$outboundSchema` instead. */
3025
- const outboundSchema: z.ZodType<ListAllSubscriptionsDashboard$Outbound, z.ZodTypeDef, ListAllSubscriptionsDashboard>;
3026
- /** @deprecated use `ListAllSubscriptionsDashboard$Outbound` instead. */
3027
- type Outbound = ListAllSubscriptionsDashboard$Outbound;
769
+ export declare namespace ListAllSubscriptionsApplicationFeeAmount$ {
770
+ /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$inboundSchema` instead. */
771
+ const inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount, z.ZodTypeDef, unknown>;
772
+ /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$outboundSchema` instead. */
773
+ const outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFeeAmount$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFeeAmount>;
774
+ /** @deprecated use `ListAllSubscriptionsApplicationFeeAmount$Outbound` instead. */
775
+ type Outbound = ListAllSubscriptionsApplicationFeeAmount$Outbound;
3028
776
  }
3029
- export declare function listAllSubscriptionsDashboardToJSON(listAllSubscriptionsDashboard: ListAllSubscriptionsDashboard): string;
3030
- export declare function listAllSubscriptionsDashboardFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsDashboard, SDKValidationError>;
777
+ export declare function listAllSubscriptionsApplicationFeeAmountToJSON(listAllSubscriptionsApplicationFeeAmount: ListAllSubscriptionsApplicationFeeAmount): string;
778
+ export declare function listAllSubscriptionsApplicationFeeAmountFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsApplicationFeeAmount, SDKValidationError>;
3031
779
  /** @internal */
3032
- export declare const ListAllSubscriptionsRefunds$inboundSchema: z.ZodType<ListAllSubscriptionsRefunds, z.ZodTypeDef, unknown>;
780
+ export declare const ListAllSubscriptionsApplicationFee$inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee, z.ZodTypeDef, unknown>;
3033
781
  /** @internal */
3034
- export type ListAllSubscriptionsRefunds$Outbound = {
3035
- href: string;
3036
- type: string;
782
+ export type ListAllSubscriptionsApplicationFee$Outbound = {
783
+ amount: ListAllSubscriptionsApplicationFeeAmount$Outbound;
784
+ description: string;
3037
785
  };
3038
786
  /** @internal */
3039
- export declare const ListAllSubscriptionsRefunds$outboundSchema: z.ZodType<ListAllSubscriptionsRefunds$Outbound, z.ZodTypeDef, ListAllSubscriptionsRefunds>;
787
+ export declare const ListAllSubscriptionsApplicationFee$outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFee>;
3040
788
  /**
3041
789
  * @internal
3042
790
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3043
791
  */
3044
- export declare namespace ListAllSubscriptionsRefunds$ {
3045
- /** @deprecated use `ListAllSubscriptionsRefunds$inboundSchema` instead. */
3046
- const inboundSchema: z.ZodType<ListAllSubscriptionsRefunds, z.ZodTypeDef, unknown>;
3047
- /** @deprecated use `ListAllSubscriptionsRefunds$outboundSchema` instead. */
3048
- const outboundSchema: z.ZodType<ListAllSubscriptionsRefunds$Outbound, z.ZodTypeDef, ListAllSubscriptionsRefunds>;
3049
- /** @deprecated use `ListAllSubscriptionsRefunds$Outbound` instead. */
3050
- type Outbound = ListAllSubscriptionsRefunds$Outbound;
792
+ export declare namespace ListAllSubscriptionsApplicationFee$ {
793
+ /** @deprecated use `ListAllSubscriptionsApplicationFee$inboundSchema` instead. */
794
+ const inboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee, z.ZodTypeDef, unknown>;
795
+ /** @deprecated use `ListAllSubscriptionsApplicationFee$outboundSchema` instead. */
796
+ const outboundSchema: z.ZodType<ListAllSubscriptionsApplicationFee$Outbound, z.ZodTypeDef, ListAllSubscriptionsApplicationFee>;
797
+ /** @deprecated use `ListAllSubscriptionsApplicationFee$Outbound` instead. */
798
+ type Outbound = ListAllSubscriptionsApplicationFee$Outbound;
3051
799
  }
3052
- export declare function listAllSubscriptionsRefundsToJSON(listAllSubscriptionsRefunds: ListAllSubscriptionsRefunds): string;
3053
- export declare function listAllSubscriptionsRefundsFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsRefunds, SDKValidationError>;
800
+ export declare function listAllSubscriptionsApplicationFeeToJSON(listAllSubscriptionsApplicationFee: ListAllSubscriptionsApplicationFee): string;
801
+ export declare function listAllSubscriptionsApplicationFeeFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsApplicationFee, SDKValidationError>;
3054
802
  /** @internal */
3055
- export declare const ListAllSubscriptionsChargebacks$inboundSchema: z.ZodType<ListAllSubscriptionsChargebacks, z.ZodTypeDef, unknown>;
803
+ export declare const ListAllSubscriptionsMetadata$inboundSchema: z.ZodType<ListAllSubscriptionsMetadata, z.ZodTypeDef, unknown>;
3056
804
  /** @internal */
3057
- export type ListAllSubscriptionsChargebacks$Outbound = {
3058
- href: string;
3059
- type: string;
3060
- };
805
+ export type ListAllSubscriptionsMetadata$Outbound = {};
3061
806
  /** @internal */
3062
- export declare const ListAllSubscriptionsChargebacks$outboundSchema: z.ZodType<ListAllSubscriptionsChargebacks$Outbound, z.ZodTypeDef, ListAllSubscriptionsChargebacks>;
807
+ export declare const ListAllSubscriptionsMetadata$outboundSchema: z.ZodType<ListAllSubscriptionsMetadata$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadata>;
3063
808
  /**
3064
809
  * @internal
3065
810
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3066
811
  */
3067
- export declare namespace ListAllSubscriptionsChargebacks$ {
3068
- /** @deprecated use `ListAllSubscriptionsChargebacks$inboundSchema` instead. */
3069
- const inboundSchema: z.ZodType<ListAllSubscriptionsChargebacks, z.ZodTypeDef, unknown>;
3070
- /** @deprecated use `ListAllSubscriptionsChargebacks$outboundSchema` instead. */
3071
- const outboundSchema: z.ZodType<ListAllSubscriptionsChargebacks$Outbound, z.ZodTypeDef, ListAllSubscriptionsChargebacks>;
3072
- /** @deprecated use `ListAllSubscriptionsChargebacks$Outbound` instead. */
3073
- type Outbound = ListAllSubscriptionsChargebacks$Outbound;
812
+ export declare namespace ListAllSubscriptionsMetadata$ {
813
+ /** @deprecated use `ListAllSubscriptionsMetadata$inboundSchema` instead. */
814
+ const inboundSchema: z.ZodType<ListAllSubscriptionsMetadata, z.ZodTypeDef, unknown>;
815
+ /** @deprecated use `ListAllSubscriptionsMetadata$outboundSchema` instead. */
816
+ const outboundSchema: z.ZodType<ListAllSubscriptionsMetadata$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadata>;
817
+ /** @deprecated use `ListAllSubscriptionsMetadata$Outbound` instead. */
818
+ type Outbound = ListAllSubscriptionsMetadata$Outbound;
3074
819
  }
3075
- export declare function listAllSubscriptionsChargebacksToJSON(listAllSubscriptionsChargebacks: ListAllSubscriptionsChargebacks): string;
3076
- export declare function listAllSubscriptionsChargebacksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsChargebacks, SDKValidationError>;
820
+ export declare function listAllSubscriptionsMetadataToJSON(listAllSubscriptionsMetadata: ListAllSubscriptionsMetadata): string;
821
+ export declare function listAllSubscriptionsMetadataFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMetadata, SDKValidationError>;
3077
822
  /** @internal */
3078
- export declare const ListAllSubscriptionsCaptures$inboundSchema: z.ZodType<ListAllSubscriptionsCaptures, z.ZodTypeDef, unknown>;
823
+ export declare const ListAllSubscriptionsMetadataUnion$inboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion, z.ZodTypeDef, unknown>;
3079
824
  /** @internal */
3080
- export type ListAllSubscriptionsCaptures$Outbound = {
3081
- href: string;
3082
- type: string;
3083
- };
825
+ export type ListAllSubscriptionsMetadataUnion$Outbound = ListAllSubscriptionsMetadata$Outbound | string | Array<string>;
3084
826
  /** @internal */
3085
- export declare const ListAllSubscriptionsCaptures$outboundSchema: z.ZodType<ListAllSubscriptionsCaptures$Outbound, z.ZodTypeDef, ListAllSubscriptionsCaptures>;
827
+ export declare const ListAllSubscriptionsMetadataUnion$outboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadataUnion>;
3086
828
  /**
3087
829
  * @internal
3088
830
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3089
831
  */
3090
- export declare namespace ListAllSubscriptionsCaptures$ {
3091
- /** @deprecated use `ListAllSubscriptionsCaptures$inboundSchema` instead. */
3092
- const inboundSchema: z.ZodType<ListAllSubscriptionsCaptures, z.ZodTypeDef, unknown>;
3093
- /** @deprecated use `ListAllSubscriptionsCaptures$outboundSchema` instead. */
3094
- const outboundSchema: z.ZodType<ListAllSubscriptionsCaptures$Outbound, z.ZodTypeDef, ListAllSubscriptionsCaptures>;
3095
- /** @deprecated use `ListAllSubscriptionsCaptures$Outbound` instead. */
3096
- type Outbound = ListAllSubscriptionsCaptures$Outbound;
832
+ export declare namespace ListAllSubscriptionsMetadataUnion$ {
833
+ /** @deprecated use `ListAllSubscriptionsMetadataUnion$inboundSchema` instead. */
834
+ const inboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion, z.ZodTypeDef, unknown>;
835
+ /** @deprecated use `ListAllSubscriptionsMetadataUnion$outboundSchema` instead. */
836
+ const outboundSchema: z.ZodType<ListAllSubscriptionsMetadataUnion$Outbound, z.ZodTypeDef, ListAllSubscriptionsMetadataUnion>;
837
+ /** @deprecated use `ListAllSubscriptionsMetadataUnion$Outbound` instead. */
838
+ type Outbound = ListAllSubscriptionsMetadataUnion$Outbound;
3097
839
  }
3098
- export declare function listAllSubscriptionsCapturesToJSON(listAllSubscriptionsCaptures: ListAllSubscriptionsCaptures): string;
3099
- export declare function listAllSubscriptionsCapturesFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsCaptures, SDKValidationError>;
840
+ export declare function listAllSubscriptionsMetadataUnionToJSON(listAllSubscriptionsMetadataUnion: ListAllSubscriptionsMetadataUnion): string;
841
+ export declare function listAllSubscriptionsMetadataUnionFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMetadataUnion, SDKValidationError>;
3100
842
  /** @internal */
3101
- export declare const ListAllSubscriptionsSettlement$inboundSchema: z.ZodType<ListAllSubscriptionsSettlement, z.ZodTypeDef, unknown>;
843
+ export declare const ListAllSubscriptionsSubscriptionSelf$inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionSelf, z.ZodTypeDef, unknown>;
3102
844
  /** @internal */
3103
- export type ListAllSubscriptionsSettlement$Outbound = {
845
+ export type ListAllSubscriptionsSubscriptionSelf$Outbound = {
3104
846
  href: string;
3105
847
  type: string;
3106
848
  };
3107
849
  /** @internal */
3108
- export declare const ListAllSubscriptionsSettlement$outboundSchema: z.ZodType<ListAllSubscriptionsSettlement$Outbound, z.ZodTypeDef, ListAllSubscriptionsSettlement>;
850
+ export declare const ListAllSubscriptionsSubscriptionSelf$outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionSelf>;
3109
851
  /**
3110
852
  * @internal
3111
853
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3112
854
  */
3113
- export declare namespace ListAllSubscriptionsSettlement$ {
3114
- /** @deprecated use `ListAllSubscriptionsSettlement$inboundSchema` instead. */
3115
- const inboundSchema: z.ZodType<ListAllSubscriptionsSettlement, z.ZodTypeDef, unknown>;
3116
- /** @deprecated use `ListAllSubscriptionsSettlement$outboundSchema` instead. */
3117
- const outboundSchema: z.ZodType<ListAllSubscriptionsSettlement$Outbound, z.ZodTypeDef, ListAllSubscriptionsSettlement>;
3118
- /** @deprecated use `ListAllSubscriptionsSettlement$Outbound` instead. */
3119
- type Outbound = ListAllSubscriptionsSettlement$Outbound;
855
+ export declare namespace ListAllSubscriptionsSubscriptionSelf$ {
856
+ /** @deprecated use `ListAllSubscriptionsSubscriptionSelf$inboundSchema` instead. */
857
+ const inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionSelf, z.ZodTypeDef, unknown>;
858
+ /** @deprecated use `ListAllSubscriptionsSubscriptionSelf$outboundSchema` instead. */
859
+ const outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionSelf$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionSelf>;
860
+ /** @deprecated use `ListAllSubscriptionsSubscriptionSelf$Outbound` instead. */
861
+ type Outbound = ListAllSubscriptionsSubscriptionSelf$Outbound;
3120
862
  }
3121
- export declare function listAllSubscriptionsSettlementToJSON(listAllSubscriptionsSettlement: ListAllSubscriptionsSettlement): string;
3122
- export declare function listAllSubscriptionsSettlementFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSettlement, SDKValidationError>;
863
+ export declare function listAllSubscriptionsSubscriptionSelfToJSON(listAllSubscriptionsSubscriptionSelf: ListAllSubscriptionsSubscriptionSelf): string;
864
+ export declare function listAllSubscriptionsSubscriptionSelfFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSubscriptionSelf, SDKValidationError>;
3123
865
  /** @internal */
3124
866
  export declare const ListAllSubscriptionsCustomer$inboundSchema: z.ZodType<ListAllSubscriptionsCustomer, z.ZodTypeDef, unknown>;
3125
867
  /** @internal */
3126
868
  export type ListAllSubscriptionsCustomer$Outbound = {
3127
- href: string;
3128
- type: string;
869
+ href?: string | undefined;
870
+ type?: string | undefined;
3129
871
  };
3130
872
  /** @internal */
3131
873
  export declare const ListAllSubscriptionsCustomer$outboundSchema: z.ZodType<ListAllSubscriptionsCustomer$Outbound, z.ZodTypeDef, ListAllSubscriptionsCustomer>;
@@ -3147,8 +889,8 @@ export declare function listAllSubscriptionsCustomerFromJSON(jsonString: string)
3147
889
  export declare const ListAllSubscriptionsMandate$inboundSchema: z.ZodType<ListAllSubscriptionsMandate, z.ZodTypeDef, unknown>;
3148
890
  /** @internal */
3149
891
  export type ListAllSubscriptionsMandate$Outbound = {
3150
- href: string;
3151
- type: string;
892
+ href?: string | undefined;
893
+ type?: string | undefined;
3152
894
  };
3153
895
  /** @internal */
3154
896
  export declare const ListAllSubscriptionsMandate$outboundSchema: z.ZodType<ListAllSubscriptionsMandate$Outbound, z.ZodTypeDef, ListAllSubscriptionsMandate>;
@@ -3167,206 +909,147 @@ export declare namespace ListAllSubscriptionsMandate$ {
3167
909
  export declare function listAllSubscriptionsMandateToJSON(listAllSubscriptionsMandate: ListAllSubscriptionsMandate): string;
3168
910
  export declare function listAllSubscriptionsMandateFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsMandate, SDKValidationError>;
3169
911
  /** @internal */
3170
- export declare const ListAllSubscriptionsSubscription$inboundSchema: z.ZodType<ListAllSubscriptionsSubscription, z.ZodTypeDef, unknown>;
912
+ export declare const ListAllSubscriptionsProfile$inboundSchema: z.ZodType<ListAllSubscriptionsProfile, z.ZodTypeDef, unknown>;
3171
913
  /** @internal */
3172
- export type ListAllSubscriptionsSubscription$Outbound = {
3173
- href: string;
3174
- type: string;
914
+ export type ListAllSubscriptionsProfile$Outbound = {
915
+ href?: string | undefined;
916
+ type?: string | undefined;
3175
917
  };
3176
918
  /** @internal */
3177
- export declare const ListAllSubscriptionsSubscription$outboundSchema: z.ZodType<ListAllSubscriptionsSubscription$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscription>;
919
+ export declare const ListAllSubscriptionsProfile$outboundSchema: z.ZodType<ListAllSubscriptionsProfile$Outbound, z.ZodTypeDef, ListAllSubscriptionsProfile>;
3178
920
  /**
3179
921
  * @internal
3180
922
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3181
923
  */
3182
- export declare namespace ListAllSubscriptionsSubscription$ {
3183
- /** @deprecated use `ListAllSubscriptionsSubscription$inboundSchema` instead. */
3184
- const inboundSchema: z.ZodType<ListAllSubscriptionsSubscription, z.ZodTypeDef, unknown>;
3185
- /** @deprecated use `ListAllSubscriptionsSubscription$outboundSchema` instead. */
3186
- const outboundSchema: z.ZodType<ListAllSubscriptionsSubscription$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscription>;
3187
- /** @deprecated use `ListAllSubscriptionsSubscription$Outbound` instead. */
3188
- type Outbound = ListAllSubscriptionsSubscription$Outbound;
924
+ export declare namespace ListAllSubscriptionsProfile$ {
925
+ /** @deprecated use `ListAllSubscriptionsProfile$inboundSchema` instead. */
926
+ const inboundSchema: z.ZodType<ListAllSubscriptionsProfile, z.ZodTypeDef, unknown>;
927
+ /** @deprecated use `ListAllSubscriptionsProfile$outboundSchema` instead. */
928
+ const outboundSchema: z.ZodType<ListAllSubscriptionsProfile$Outbound, z.ZodTypeDef, ListAllSubscriptionsProfile>;
929
+ /** @deprecated use `ListAllSubscriptionsProfile$Outbound` instead. */
930
+ type Outbound = ListAllSubscriptionsProfile$Outbound;
3189
931
  }
3190
- export declare function listAllSubscriptionsSubscriptionToJSON(listAllSubscriptionsSubscription: ListAllSubscriptionsSubscription): string;
3191
- export declare function listAllSubscriptionsSubscriptionFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSubscription, SDKValidationError>;
932
+ export declare function listAllSubscriptionsProfileToJSON(listAllSubscriptionsProfile: ListAllSubscriptionsProfile): string;
933
+ export declare function listAllSubscriptionsProfileFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsProfile, SDKValidationError>;
3192
934
  /** @internal */
3193
- export declare const ListAllSubscriptionsOrder$inboundSchema: z.ZodType<ListAllSubscriptionsOrder, z.ZodTypeDef, unknown>;
935
+ export declare const ListAllSubscriptionsPayments$inboundSchema: z.ZodType<ListAllSubscriptionsPayments, z.ZodTypeDef, unknown>;
3194
936
  /** @internal */
3195
- export type ListAllSubscriptionsOrder$Outbound = {
3196
- href: string;
3197
- type: string;
937
+ export type ListAllSubscriptionsPayments$Outbound = {
938
+ href?: string | undefined;
939
+ type?: string | undefined;
3198
940
  };
3199
941
  /** @internal */
3200
- export declare const ListAllSubscriptionsOrder$outboundSchema: z.ZodType<ListAllSubscriptionsOrder$Outbound, z.ZodTypeDef, ListAllSubscriptionsOrder>;
942
+ export declare const ListAllSubscriptionsPayments$outboundSchema: z.ZodType<ListAllSubscriptionsPayments$Outbound, z.ZodTypeDef, ListAllSubscriptionsPayments>;
3201
943
  /**
3202
944
  * @internal
3203
945
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3204
946
  */
3205
- export declare namespace ListAllSubscriptionsOrder$ {
3206
- /** @deprecated use `ListAllSubscriptionsOrder$inboundSchema` instead. */
3207
- const inboundSchema: z.ZodType<ListAllSubscriptionsOrder, z.ZodTypeDef, unknown>;
3208
- /** @deprecated use `ListAllSubscriptionsOrder$outboundSchema` instead. */
3209
- const outboundSchema: z.ZodType<ListAllSubscriptionsOrder$Outbound, z.ZodTypeDef, ListAllSubscriptionsOrder>;
3210
- /** @deprecated use `ListAllSubscriptionsOrder$Outbound` instead. */
3211
- type Outbound = ListAllSubscriptionsOrder$Outbound;
947
+ export declare namespace ListAllSubscriptionsPayments$ {
948
+ /** @deprecated use `ListAllSubscriptionsPayments$inboundSchema` instead. */
949
+ const inboundSchema: z.ZodType<ListAllSubscriptionsPayments, z.ZodTypeDef, unknown>;
950
+ /** @deprecated use `ListAllSubscriptionsPayments$outboundSchema` instead. */
951
+ const outboundSchema: z.ZodType<ListAllSubscriptionsPayments$Outbound, z.ZodTypeDef, ListAllSubscriptionsPayments>;
952
+ /** @deprecated use `ListAllSubscriptionsPayments$Outbound` instead. */
953
+ type Outbound = ListAllSubscriptionsPayments$Outbound;
3212
954
  }
3213
- export declare function listAllSubscriptionsOrderToJSON(listAllSubscriptionsOrder: ListAllSubscriptionsOrder): string;
3214
- export declare function listAllSubscriptionsOrderFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsOrder, SDKValidationError>;
955
+ export declare function listAllSubscriptionsPaymentsToJSON(listAllSubscriptionsPayments: ListAllSubscriptionsPayments): string;
956
+ export declare function listAllSubscriptionsPaymentsFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsPayments, SDKValidationError>;
3215
957
  /** @internal */
3216
- export declare const ListAllSubscriptionsTerminal$inboundSchema: z.ZodType<ListAllSubscriptionsTerminal, z.ZodTypeDef, unknown>;
958
+ export declare const ListAllSubscriptionsSubscriptionDocumentation$inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionDocumentation, z.ZodTypeDef, unknown>;
3217
959
  /** @internal */
3218
- export type ListAllSubscriptionsTerminal$Outbound = {
960
+ export type ListAllSubscriptionsSubscriptionDocumentation$Outbound = {
3219
961
  href: string;
3220
962
  type: string;
3221
963
  };
3222
964
  /** @internal */
3223
- export declare const ListAllSubscriptionsTerminal$outboundSchema: z.ZodType<ListAllSubscriptionsTerminal$Outbound, z.ZodTypeDef, ListAllSubscriptionsTerminal>;
965
+ export declare const ListAllSubscriptionsSubscriptionDocumentation$outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionDocumentation>;
3224
966
  /**
3225
967
  * @internal
3226
968
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3227
969
  */
3228
- export declare namespace ListAllSubscriptionsTerminal$ {
3229
- /** @deprecated use `ListAllSubscriptionsTerminal$inboundSchema` instead. */
3230
- const inboundSchema: z.ZodType<ListAllSubscriptionsTerminal, z.ZodTypeDef, unknown>;
3231
- /** @deprecated use `ListAllSubscriptionsTerminal$outboundSchema` instead. */
3232
- const outboundSchema: z.ZodType<ListAllSubscriptionsTerminal$Outbound, z.ZodTypeDef, ListAllSubscriptionsTerminal>;
3233
- /** @deprecated use `ListAllSubscriptionsTerminal$Outbound` instead. */
3234
- type Outbound = ListAllSubscriptionsTerminal$Outbound;
970
+ export declare namespace ListAllSubscriptionsSubscriptionDocumentation$ {
971
+ /** @deprecated use `ListAllSubscriptionsSubscriptionDocumentation$inboundSchema` instead. */
972
+ const inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionDocumentation, z.ZodTypeDef, unknown>;
973
+ /** @deprecated use `ListAllSubscriptionsSubscriptionDocumentation$outboundSchema` instead. */
974
+ const outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionDocumentation>;
975
+ /** @deprecated use `ListAllSubscriptionsSubscriptionDocumentation$Outbound` instead. */
976
+ type Outbound = ListAllSubscriptionsSubscriptionDocumentation$Outbound;
3235
977
  }
3236
- export declare function listAllSubscriptionsTerminalToJSON(listAllSubscriptionsTerminal: ListAllSubscriptionsTerminal): string;
3237
- export declare function listAllSubscriptionsTerminalFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsTerminal, SDKValidationError>;
978
+ export declare function listAllSubscriptionsSubscriptionDocumentationToJSON(listAllSubscriptionsSubscriptionDocumentation: ListAllSubscriptionsSubscriptionDocumentation): string;
979
+ export declare function listAllSubscriptionsSubscriptionDocumentationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSubscriptionDocumentation, SDKValidationError>;
3238
980
  /** @internal */
3239
- export declare const ListAllSubscriptionsPaymentDocumentation$inboundSchema: z.ZodType<ListAllSubscriptionsPaymentDocumentation, z.ZodTypeDef, unknown>;
3240
- /** @internal */
3241
- export type ListAllSubscriptionsPaymentDocumentation$Outbound = {
3242
- href: string;
3243
- type: string;
3244
- };
981
+ export declare const ListAllSubscriptionsSubscriptionLinks$inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionLinks, z.ZodTypeDef, unknown>;
3245
982
  /** @internal */
3246
- export declare const ListAllSubscriptionsPaymentDocumentation$outboundSchema: z.ZodType<ListAllSubscriptionsPaymentDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentDocumentation>;
3247
- /**
3248
- * @internal
3249
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3250
- */
3251
- export declare namespace ListAllSubscriptionsPaymentDocumentation$ {
3252
- /** @deprecated use `ListAllSubscriptionsPaymentDocumentation$inboundSchema` instead. */
3253
- const inboundSchema: z.ZodType<ListAllSubscriptionsPaymentDocumentation, z.ZodTypeDef, unknown>;
3254
- /** @deprecated use `ListAllSubscriptionsPaymentDocumentation$outboundSchema` instead. */
3255
- const outboundSchema: z.ZodType<ListAllSubscriptionsPaymentDocumentation$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentDocumentation>;
3256
- /** @deprecated use `ListAllSubscriptionsPaymentDocumentation$Outbound` instead. */
3257
- type Outbound = ListAllSubscriptionsPaymentDocumentation$Outbound;
3258
- }
3259
- export declare function listAllSubscriptionsPaymentDocumentationToJSON(listAllSubscriptionsPaymentDocumentation: ListAllSubscriptionsPaymentDocumentation): string;
3260
- export declare function listAllSubscriptionsPaymentDocumentationFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsPaymentDocumentation, SDKValidationError>;
3261
- /** @internal */
3262
- export declare const ListAllSubscriptionsPaymentLinks$inboundSchema: z.ZodType<ListAllSubscriptionsPaymentLinks, z.ZodTypeDef, unknown>;
3263
- /** @internal */
3264
- export type ListAllSubscriptionsPaymentLinks$Outbound = {
3265
- self: ListAllSubscriptionsPaymentSelf$Outbound;
3266
- checkout?: ListAllSubscriptionsCheckout$Outbound | undefined;
3267
- mobileAppCheckout?: ListAllSubscriptionsMobileAppCheckout$Outbound | undefined;
3268
- changePaymentState?: ListAllSubscriptionsChangePaymentState$Outbound | undefined;
3269
- dashboard: ListAllSubscriptionsDashboard$Outbound;
3270
- refunds?: ListAllSubscriptionsRefunds$Outbound | undefined;
3271
- chargebacks?: ListAllSubscriptionsChargebacks$Outbound | undefined;
3272
- captures?: ListAllSubscriptionsCaptures$Outbound | undefined;
3273
- settlement?: ListAllSubscriptionsSettlement$Outbound | undefined;
3274
- customer?: ListAllSubscriptionsCustomer$Outbound | undefined;
3275
- mandate?: ListAllSubscriptionsMandate$Outbound | undefined;
3276
- subscription?: ListAllSubscriptionsSubscription$Outbound | undefined;
3277
- order?: ListAllSubscriptionsOrder$Outbound | undefined;
3278
- terminal?: ListAllSubscriptionsTerminal$Outbound | undefined;
3279
- documentation?: ListAllSubscriptionsPaymentDocumentation$Outbound | undefined;
983
+ export type ListAllSubscriptionsSubscriptionLinks$Outbound = {
984
+ self: ListAllSubscriptionsSubscriptionSelf$Outbound;
985
+ customer: ListAllSubscriptionsCustomer$Outbound | null;
986
+ mandate?: ListAllSubscriptionsMandate$Outbound | null | undefined;
987
+ profile: ListAllSubscriptionsProfile$Outbound | null;
988
+ payments?: ListAllSubscriptionsPayments$Outbound | null | undefined;
989
+ documentation: ListAllSubscriptionsSubscriptionDocumentation$Outbound;
3280
990
  };
3281
991
  /** @internal */
3282
- export declare const ListAllSubscriptionsPaymentLinks$outboundSchema: z.ZodType<ListAllSubscriptionsPaymentLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentLinks>;
992
+ export declare const ListAllSubscriptionsSubscriptionLinks$outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionLinks>;
3283
993
  /**
3284
994
  * @internal
3285
995
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3286
996
  */
3287
- export declare namespace ListAllSubscriptionsPaymentLinks$ {
3288
- /** @deprecated use `ListAllSubscriptionsPaymentLinks$inboundSchema` instead. */
3289
- const inboundSchema: z.ZodType<ListAllSubscriptionsPaymentLinks, z.ZodTypeDef, unknown>;
3290
- /** @deprecated use `ListAllSubscriptionsPaymentLinks$outboundSchema` instead. */
3291
- const outboundSchema: z.ZodType<ListAllSubscriptionsPaymentLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentLinks>;
3292
- /** @deprecated use `ListAllSubscriptionsPaymentLinks$Outbound` instead. */
3293
- type Outbound = ListAllSubscriptionsPaymentLinks$Outbound;
997
+ export declare namespace ListAllSubscriptionsSubscriptionLinks$ {
998
+ /** @deprecated use `ListAllSubscriptionsSubscriptionLinks$inboundSchema` instead. */
999
+ const inboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionLinks, z.ZodTypeDef, unknown>;
1000
+ /** @deprecated use `ListAllSubscriptionsSubscriptionLinks$outboundSchema` instead. */
1001
+ const outboundSchema: z.ZodType<ListAllSubscriptionsSubscriptionLinks$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscriptionLinks>;
1002
+ /** @deprecated use `ListAllSubscriptionsSubscriptionLinks$Outbound` instead. */
1003
+ type Outbound = ListAllSubscriptionsSubscriptionLinks$Outbound;
3294
1004
  }
3295
- export declare function listAllSubscriptionsPaymentLinksToJSON(listAllSubscriptionsPaymentLinks: ListAllSubscriptionsPaymentLinks): string;
3296
- export declare function listAllSubscriptionsPaymentLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsPaymentLinks, SDKValidationError>;
1005
+ export declare function listAllSubscriptionsSubscriptionLinksToJSON(listAllSubscriptionsSubscriptionLinks: ListAllSubscriptionsSubscriptionLinks): string;
1006
+ export declare function listAllSubscriptionsSubscriptionLinksFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSubscriptionLinks, SDKValidationError>;
3297
1007
  /** @internal */
3298
- export declare const ListAllSubscriptionsPaymentOutput$inboundSchema: z.ZodType<ListAllSubscriptionsPaymentOutput, z.ZodTypeDef, unknown>;
1008
+ export declare const ListAllSubscriptionsSubscription$inboundSchema: z.ZodType<ListAllSubscriptionsSubscription, z.ZodTypeDef, unknown>;
3299
1009
  /** @internal */
3300
- export type ListAllSubscriptionsPaymentOutput$Outbound = {
1010
+ export type ListAllSubscriptionsSubscription$Outbound = {
3301
1011
  resource: string;
3302
1012
  id: string;
3303
1013
  mode: string;
3304
- description: string;
1014
+ status: string;
3305
1015
  amount: ListAllSubscriptionsAmount$Outbound;
3306
- amountRefunded?: ListAllSubscriptionsAmountRefunded$Outbound | undefined;
3307
- amountRemaining?: ListAllSubscriptionsAmountRemaining$Outbound | undefined;
3308
- amountCaptured?: ListAllSubscriptionsAmountCaptured$Outbound | undefined;
3309
- amountChargedBack?: ListAllSubscriptionsAmountChargedBack$Outbound | undefined;
3310
- settlementAmount?: ListAllSubscriptionsSettlementAmount$Outbound | undefined;
3311
- redirectUrl?: string | null | undefined;
3312
- cancelUrl?: string | null | undefined;
3313
- webhookUrl?: string | null | undefined;
3314
- lines?: Array<ListAllSubscriptionsLine$Outbound> | null | undefined;
3315
- billingAddress?: ListAllSubscriptionsBillingAddress$Outbound | undefined;
3316
- shippingAddress?: ListAllSubscriptionsShippingAddress$Outbound | undefined;
3317
- locale?: string | null | undefined;
3318
- countryCode?: string | null | undefined;
3319
- method?: string | null | undefined;
3320
- restrictPaymentMethodsToCountry?: string | null | undefined;
3321
- metadata?: ListAllSubscriptionsMetadata$Outbound | string | Array<string> | null | undefined;
3322
- captureMode?: string | null | undefined;
3323
- captureDelay?: string | null | undefined;
3324
- captureBefore?: string | null | undefined;
3325
- applicationFee?: ListAllSubscriptionsApplicationFee$Outbound | null | undefined;
3326
- routing?: Array<ListAllSubscriptionsRouting$Outbound> | null | undefined;
3327
- sequenceType: string | null;
3328
- subscriptionId?: string | null | undefined;
1016
+ times: number | null;
1017
+ timesRemaining: number;
1018
+ interval: string;
1019
+ startDate: string;
1020
+ nextPaymentDate?: string | null | undefined;
1021
+ description: string;
1022
+ method: string | null;
1023
+ applicationFee?: ListAllSubscriptionsApplicationFee$Outbound | undefined;
1024
+ metadata: ListAllSubscriptionsMetadata$Outbound | string | Array<string> | null;
1025
+ webhookUrl: string;
1026
+ customerId: string;
3329
1027
  mandateId?: string | null | undefined;
3330
- customerId?: string | null | undefined;
3331
- profileId: string;
3332
- settlementId?: string | null | undefined;
3333
- orderId?: string | null | undefined;
3334
- status: string;
3335
- statusReason?: ListAllSubscriptionsStatusReason$Outbound | null | undefined;
3336
- isCancelable?: boolean | null | undefined;
3337
- details?: {
3338
- [k: string]: any;
3339
- } | null | undefined;
3340
1028
  createdAt: string;
3341
- authorizedAt?: string | null | undefined;
3342
- paidAt?: string | null | undefined;
3343
1029
  canceledAt?: string | null | undefined;
3344
- expiresAt?: string | null | undefined;
3345
- expiredAt?: string | null | undefined;
3346
- failedAt?: string | null | undefined;
3347
- _links: ListAllSubscriptionsPaymentLinks$Outbound;
1030
+ _links?: ListAllSubscriptionsSubscriptionLinks$Outbound | undefined;
3348
1031
  };
3349
1032
  /** @internal */
3350
- export declare const ListAllSubscriptionsPaymentOutput$outboundSchema: z.ZodType<ListAllSubscriptionsPaymentOutput$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentOutput>;
1033
+ export declare const ListAllSubscriptionsSubscription$outboundSchema: z.ZodType<ListAllSubscriptionsSubscription$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscription>;
3351
1034
  /**
3352
1035
  * @internal
3353
1036
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3354
1037
  */
3355
- export declare namespace ListAllSubscriptionsPaymentOutput$ {
3356
- /** @deprecated use `ListAllSubscriptionsPaymentOutput$inboundSchema` instead. */
3357
- const inboundSchema: z.ZodType<ListAllSubscriptionsPaymentOutput, z.ZodTypeDef, unknown>;
3358
- /** @deprecated use `ListAllSubscriptionsPaymentOutput$outboundSchema` instead. */
3359
- const outboundSchema: z.ZodType<ListAllSubscriptionsPaymentOutput$Outbound, z.ZodTypeDef, ListAllSubscriptionsPaymentOutput>;
3360
- /** @deprecated use `ListAllSubscriptionsPaymentOutput$Outbound` instead. */
3361
- type Outbound = ListAllSubscriptionsPaymentOutput$Outbound;
1038
+ export declare namespace ListAllSubscriptionsSubscription$ {
1039
+ /** @deprecated use `ListAllSubscriptionsSubscription$inboundSchema` instead. */
1040
+ const inboundSchema: z.ZodType<ListAllSubscriptionsSubscription, z.ZodTypeDef, unknown>;
1041
+ /** @deprecated use `ListAllSubscriptionsSubscription$outboundSchema` instead. */
1042
+ const outboundSchema: z.ZodType<ListAllSubscriptionsSubscription$Outbound, z.ZodTypeDef, ListAllSubscriptionsSubscription>;
1043
+ /** @deprecated use `ListAllSubscriptionsSubscription$Outbound` instead. */
1044
+ type Outbound = ListAllSubscriptionsSubscription$Outbound;
3362
1045
  }
3363
- export declare function listAllSubscriptionsPaymentOutputToJSON(listAllSubscriptionsPaymentOutput: ListAllSubscriptionsPaymentOutput): string;
3364
- export declare function listAllSubscriptionsPaymentOutputFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsPaymentOutput, SDKValidationError>;
1046
+ export declare function listAllSubscriptionsSubscriptionToJSON(listAllSubscriptionsSubscription: ListAllSubscriptionsSubscription): string;
1047
+ export declare function listAllSubscriptionsSubscriptionFromJSON(jsonString: string): SafeParseResult<ListAllSubscriptionsSubscription, SDKValidationError>;
3365
1048
  /** @internal */
3366
1049
  export declare const ListAllSubscriptionsEmbedded$inboundSchema: z.ZodType<ListAllSubscriptionsEmbedded, z.ZodTypeDef, unknown>;
3367
1050
  /** @internal */
3368
1051
  export type ListAllSubscriptionsEmbedded$Outbound = {
3369
- payments?: Array<ListAllSubscriptionsPaymentOutput$Outbound> | undefined;
1052
+ subscriptions?: Array<ListAllSubscriptionsSubscription$Outbound> | undefined;
3370
1053
  };
3371
1054
  /** @internal */
3372
1055
  export declare const ListAllSubscriptionsEmbedded$outboundSchema: z.ZodType<ListAllSubscriptionsEmbedded$Outbound, z.ZodTypeDef, ListAllSubscriptionsEmbedded>;