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