mollie-api-typescript 0.1.1 → 0.1.2

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 (282) hide show
  1. package/bin/mcp-server.js +187 -1023
  2. package/bin/mcp-server.js.map +35 -35
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/lib/security.d.ts.map +1 -1
  6. package/dist/commonjs/lib/security.js.map +1 -1
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +12 -25
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +7 -46
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/cancelsubscription.d.ts +12 -25
  14. package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/cancelsubscription.js +6 -45
  16. package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
  17. package/dist/commonjs/models/operations/createcapture.d.ts +24 -50
  18. package/dist/commonjs/models/operations/createcapture.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createcapture.js +10 -88
  20. package/dist/commonjs/models/operations/createcapture.js.map +1 -1
  21. package/dist/commonjs/models/operations/createcustomer.d.ts +24 -50
  22. package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/createcustomer.js +10 -88
  24. package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
  25. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +24 -50
  26. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  27. package/dist/commonjs/models/operations/createcustomerpayment.js +13 -91
  28. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  29. package/dist/commonjs/models/operations/createpayment.d.ts +24 -50
  30. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  31. package/dist/commonjs/models/operations/createpayment.js +13 -91
  32. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  33. package/dist/commonjs/models/operations/createrefund.d.ts +24 -50
  34. package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
  35. package/dist/commonjs/models/operations/createrefund.js +11 -89
  36. package/dist/commonjs/models/operations/createrefund.js.map +1 -1
  37. package/dist/commonjs/models/operations/createsubscription.d.ts +24 -50
  38. package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
  39. package/dist/commonjs/models/operations/createsubscription.js +10 -88
  40. package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
  41. package/dist/commonjs/models/operations/getcapture.d.ts +12 -25
  42. package/dist/commonjs/models/operations/getcapture.d.ts.map +1 -1
  43. package/dist/commonjs/models/operations/getcapture.js +6 -45
  44. package/dist/commonjs/models/operations/getcapture.js.map +1 -1
  45. package/dist/commonjs/models/operations/getcustomer.d.ts +12 -25
  46. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  47. package/dist/commonjs/models/operations/getcustomer.js +6 -45
  48. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  49. package/dist/commonjs/models/operations/getpayment.d.ts +12 -25
  50. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  51. package/dist/commonjs/models/operations/getpayment.js +7 -46
  52. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  53. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +12 -25
  54. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +8 -47
  56. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  57. package/dist/commonjs/models/operations/getrefund.d.ts +12 -25
  58. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  59. package/dist/commonjs/models/operations/getrefund.js +6 -45
  60. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  61. package/dist/commonjs/models/operations/getsubscription.d.ts +12 -25
  62. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  63. package/dist/commonjs/models/operations/getsubscription.js +6 -45
  64. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  65. package/dist/commonjs/models/operations/listallrefunds.d.ts +12 -25
  66. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  67. package/dist/commonjs/models/operations/listallrefunds.js +6 -45
  68. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  69. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +12 -25
  70. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  71. package/dist/commonjs/models/operations/listallsubscriptions.js +6 -45
  72. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  73. package/dist/commonjs/models/operations/listcaptures.d.ts +12 -25
  74. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  75. package/dist/commonjs/models/operations/listcaptures.js +6 -45
  76. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  77. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +12 -25
  78. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  79. package/dist/commonjs/models/operations/listcustomerpayments.js +8 -47
  80. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  81. package/dist/commonjs/models/operations/listcustomers.d.ts +12 -25
  82. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  83. package/dist/commonjs/models/operations/listcustomers.js +6 -45
  84. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  85. package/dist/commonjs/models/operations/listpayments.d.ts +12 -25
  86. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/listpayments.js +8 -47
  88. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  89. package/dist/commonjs/models/operations/listrefunds.d.ts +12 -25
  90. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  91. package/dist/commonjs/models/operations/listrefunds.js +6 -45
  92. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  93. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +12 -25
  94. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  95. package/dist/commonjs/models/operations/listsettlementcaptures.js +6 -45
  96. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  97. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +12 -25
  98. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  99. package/dist/commonjs/models/operations/listsettlementpayments.js +8 -47
  100. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  101. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +12 -25
  102. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  103. package/dist/commonjs/models/operations/listsettlementrefunds.js +6 -45
  104. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  105. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +12 -25
  106. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  107. package/dist/commonjs/models/operations/listsubscriptionpayments.js +8 -47
  108. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  109. package/dist/commonjs/models/operations/listsubscriptions.d.ts +12 -25
  110. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  111. package/dist/commonjs/models/operations/listsubscriptions.js +6 -45
  112. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  113. package/dist/commonjs/models/operations/updatecustomer.d.ts +24 -50
  114. package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
  115. package/dist/commonjs/models/operations/updatecustomer.js +10 -88
  116. package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
  117. package/dist/commonjs/models/operations/updatepayment.d.ts +24 -50
  118. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  119. package/dist/commonjs/models/operations/updatepayment.js +13 -91
  120. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  121. package/dist/commonjs/models/operations/updatesubscription.d.ts +24 -50
  122. package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
  123. package/dist/commonjs/models/operations/updatesubscription.js +10 -88
  124. package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
  125. package/dist/esm/lib/config.d.ts +3 -3
  126. package/dist/esm/lib/config.js +3 -3
  127. package/dist/esm/lib/security.d.ts.map +1 -1
  128. package/dist/esm/lib/security.js.map +1 -1
  129. package/dist/esm/mcp-server/mcp-server.js +1 -1
  130. package/dist/esm/mcp-server/server.js +1 -1
  131. package/dist/esm/models/operations/cancelpayment.d.ts +12 -25
  132. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  133. package/dist/esm/models/operations/cancelpayment.js +4 -41
  134. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  135. package/dist/esm/models/operations/cancelsubscription.d.ts +12 -25
  136. package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
  137. package/dist/esm/models/operations/cancelsubscription.js +4 -41
  138. package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
  139. package/dist/esm/models/operations/createcapture.d.ts +24 -50
  140. package/dist/esm/models/operations/createcapture.d.ts.map +1 -1
  141. package/dist/esm/models/operations/createcapture.js +8 -82
  142. package/dist/esm/models/operations/createcapture.js.map +1 -1
  143. package/dist/esm/models/operations/createcustomer.d.ts +24 -50
  144. package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
  145. package/dist/esm/models/operations/createcustomer.js +8 -82
  146. package/dist/esm/models/operations/createcustomer.js.map +1 -1
  147. package/dist/esm/models/operations/createcustomerpayment.d.ts +24 -50
  148. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  149. package/dist/esm/models/operations/createcustomerpayment.js +8 -82
  150. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  151. package/dist/esm/models/operations/createpayment.d.ts +24 -50
  152. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  153. package/dist/esm/models/operations/createpayment.js +8 -82
  154. package/dist/esm/models/operations/createpayment.js.map +1 -1
  155. package/dist/esm/models/operations/createrefund.d.ts +24 -50
  156. package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
  157. package/dist/esm/models/operations/createrefund.js +8 -82
  158. package/dist/esm/models/operations/createrefund.js.map +1 -1
  159. package/dist/esm/models/operations/createsubscription.d.ts +24 -50
  160. package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
  161. package/dist/esm/models/operations/createsubscription.js +8 -82
  162. package/dist/esm/models/operations/createsubscription.js.map +1 -1
  163. package/dist/esm/models/operations/getcapture.d.ts +12 -25
  164. package/dist/esm/models/operations/getcapture.d.ts.map +1 -1
  165. package/dist/esm/models/operations/getcapture.js +4 -41
  166. package/dist/esm/models/operations/getcapture.js.map +1 -1
  167. package/dist/esm/models/operations/getcustomer.d.ts +12 -25
  168. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  169. package/dist/esm/models/operations/getcustomer.js +4 -41
  170. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  171. package/dist/esm/models/operations/getpayment.d.ts +12 -25
  172. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  173. package/dist/esm/models/operations/getpayment.js +4 -41
  174. package/dist/esm/models/operations/getpayment.js.map +1 -1
  175. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +12 -25
  176. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  177. package/dist/esm/models/operations/getpaymentlinkpayments.js +4 -41
  178. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  179. package/dist/esm/models/operations/getrefund.d.ts +12 -25
  180. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  181. package/dist/esm/models/operations/getrefund.js +4 -41
  182. package/dist/esm/models/operations/getrefund.js.map +1 -1
  183. package/dist/esm/models/operations/getsubscription.d.ts +12 -25
  184. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  185. package/dist/esm/models/operations/getsubscription.js +4 -41
  186. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  187. package/dist/esm/models/operations/listallrefunds.d.ts +12 -25
  188. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  189. package/dist/esm/models/operations/listallrefunds.js +4 -41
  190. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  191. package/dist/esm/models/operations/listallsubscriptions.d.ts +12 -25
  192. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  193. package/dist/esm/models/operations/listallsubscriptions.js +4 -41
  194. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  195. package/dist/esm/models/operations/listcaptures.d.ts +12 -25
  196. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  197. package/dist/esm/models/operations/listcaptures.js +4 -41
  198. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  199. package/dist/esm/models/operations/listcustomerpayments.d.ts +12 -25
  200. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  201. package/dist/esm/models/operations/listcustomerpayments.js +4 -41
  202. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  203. package/dist/esm/models/operations/listcustomers.d.ts +12 -25
  204. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  205. package/dist/esm/models/operations/listcustomers.js +4 -41
  206. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  207. package/dist/esm/models/operations/listpayments.d.ts +12 -25
  208. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  209. package/dist/esm/models/operations/listpayments.js +4 -41
  210. package/dist/esm/models/operations/listpayments.js.map +1 -1
  211. package/dist/esm/models/operations/listrefunds.d.ts +12 -25
  212. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  213. package/dist/esm/models/operations/listrefunds.js +4 -41
  214. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  215. package/dist/esm/models/operations/listsettlementcaptures.d.ts +12 -25
  216. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  217. package/dist/esm/models/operations/listsettlementcaptures.js +4 -41
  218. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  219. package/dist/esm/models/operations/listsettlementpayments.d.ts +12 -25
  220. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  221. package/dist/esm/models/operations/listsettlementpayments.js +4 -41
  222. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  223. package/dist/esm/models/operations/listsettlementrefunds.d.ts +12 -25
  224. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  225. package/dist/esm/models/operations/listsettlementrefunds.js +4 -41
  226. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  227. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +12 -25
  228. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  229. package/dist/esm/models/operations/listsubscriptionpayments.js +4 -41
  230. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  231. package/dist/esm/models/operations/listsubscriptions.d.ts +12 -25
  232. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  233. package/dist/esm/models/operations/listsubscriptions.js +4 -41
  234. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  235. package/dist/esm/models/operations/updatecustomer.d.ts +24 -50
  236. package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
  237. package/dist/esm/models/operations/updatecustomer.js +8 -82
  238. package/dist/esm/models/operations/updatecustomer.js.map +1 -1
  239. package/dist/esm/models/operations/updatepayment.d.ts +24 -50
  240. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  241. package/dist/esm/models/operations/updatepayment.js +8 -82
  242. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  243. package/dist/esm/models/operations/updatesubscription.d.ts +24 -50
  244. package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
  245. package/dist/esm/models/operations/updatesubscription.js +8 -82
  246. package/dist/esm/models/operations/updatesubscription.js.map +1 -1
  247. package/examples/package-lock.json +1 -1
  248. package/jsr.json +1 -1
  249. package/package.json +1 -1
  250. package/src/lib/config.ts +3 -3
  251. package/src/lib/security.ts +4 -1
  252. package/src/mcp-server/mcp-server.ts +1 -1
  253. package/src/mcp-server/server.ts +1 -1
  254. package/src/models/operations/cancelpayment.ts +12 -83
  255. package/src/models/operations/cancelsubscription.ts +12 -80
  256. package/src/models/operations/createcapture.ts +22 -183
  257. package/src/models/operations/createcustomer.ts +22 -179
  258. package/src/models/operations/createcustomerpayment.ts +23 -200
  259. package/src/models/operations/createpayment.ts +22 -183
  260. package/src/models/operations/createrefund.ts +23 -181
  261. package/src/models/operations/createsubscription.ts +22 -187
  262. package/src/models/operations/getcapture.ts +11 -85
  263. package/src/models/operations/getcustomer.ts +11 -80
  264. package/src/models/operations/getpayment.ts +11 -85
  265. package/src/models/operations/getpaymentlinkpayments.ts +11 -93
  266. package/src/models/operations/getrefund.ts +11 -82
  267. package/src/models/operations/getsubscription.ts +12 -80
  268. package/src/models/operations/listallrefunds.ts +12 -85
  269. package/src/models/operations/listallsubscriptions.ts +11 -85
  270. package/src/models/operations/listcaptures.ts +12 -83
  271. package/src/models/operations/listcustomerpayments.ts +11 -91
  272. package/src/models/operations/listcustomers.ts +12 -78
  273. package/src/models/operations/listpayments.ts +12 -83
  274. package/src/models/operations/listrefunds.ts +11 -85
  275. package/src/models/operations/listsettlementcaptures.ts +11 -93
  276. package/src/models/operations/listsettlementpayments.ts +11 -93
  277. package/src/models/operations/listsettlementrefunds.ts +11 -92
  278. package/src/models/operations/listsubscriptionpayments.ts +11 -93
  279. package/src/models/operations/listsubscriptions.ts +12 -80
  280. package/src/models/operations/updatecustomer.ts +22 -179
  281. package/src/models/operations/updatepayment.ts +22 -183
  282. package/src/models/operations/updatesubscription.ts +22 -187
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.1.1",
34273
- genVersion: "2.681.1",
34274
- userAgent: "speakeasy-sdk/typescript 0.1.1 2.681.1 1.0.0 mollie-api-typescript"
34272
+ sdkVersion: "0.1.2",
34273
+ genVersion: "2.684.0",
34274
+ userAgent: "speakeasy-sdk/typescript 0.1.2 2.684.0 1.0.0 mollie-api-typescript"
34275
34275
  };
34276
34276
  });
34277
34277
 
@@ -35743,7 +35743,7 @@ var init_security = __esm(() => {
35743
35743
  });
35744
35744
 
35745
35745
  // src/models/operations/cancelpayment.ts
35746
- var CancelPaymentMode, CancelPaymentLineType, CancelPaymentCategory, CancelPaymentInterval, CancelPaymentLocale, CancelPaymentMethod, CancelPaymentCaptureMode, CancelPaymentRoutingMode, CancelPaymentRoutingType, CancelPaymentSequenceType, CancelPaymentStatus, CancelPaymentRequestBody$inboundSchema, CancelPaymentRequestBody$outboundSchema, CancelPaymentRequestBody$, CancelPaymentRequest$inboundSchema, CancelPaymentRequest$outboundSchema, CancelPaymentRequest$, CancelPaymentUnprocessableEntityDocumentation$inboundSchema, CancelPaymentUnprocessableEntityDocumentation$outboundSchema, CancelPaymentUnprocessableEntityDocumentation$, CancelPaymentUnprocessableEntityLinks$inboundSchema, CancelPaymentUnprocessableEntityLinks$outboundSchema, CancelPaymentUnprocessableEntityLinks$, CancelPaymentNotFoundDocumentation$inboundSchema, CancelPaymentNotFoundDocumentation$outboundSchema, CancelPaymentNotFoundDocumentation$, CancelPaymentNotFoundLinks$inboundSchema, CancelPaymentNotFoundLinks$outboundSchema, CancelPaymentNotFoundLinks$, CancelPaymentMode$inboundSchema, CancelPaymentMode$outboundSchema, CancelPaymentMode$, CancelPaymentAmount$inboundSchema, CancelPaymentAmount$outboundSchema, CancelPaymentAmount$, CancelPaymentAmountRefunded$inboundSchema, CancelPaymentAmountRefunded$outboundSchema, CancelPaymentAmountRefunded$, CancelPaymentAmountRemaining$inboundSchema, CancelPaymentAmountRemaining$outboundSchema, CancelPaymentAmountRemaining$, CancelPaymentAmountCaptured$inboundSchema, CancelPaymentAmountCaptured$outboundSchema, CancelPaymentAmountCaptured$, CancelPaymentAmountChargedBack$inboundSchema, CancelPaymentAmountChargedBack$outboundSchema, CancelPaymentAmountChargedBack$, CancelPaymentSettlementAmount$inboundSchema, CancelPaymentSettlementAmount$outboundSchema, CancelPaymentSettlementAmount$, CancelPaymentLineType$inboundSchema, CancelPaymentLineType$outboundSchema, CancelPaymentLineType$, CancelPaymentUnitPrice$inboundSchema, CancelPaymentUnitPrice$outboundSchema, CancelPaymentUnitPrice$, CancelPaymentDiscountAmount$inboundSchema, CancelPaymentDiscountAmount$outboundSchema, CancelPaymentDiscountAmount$, CancelPaymentTotalAmount$inboundSchema, CancelPaymentTotalAmount$outboundSchema, CancelPaymentTotalAmount$, CancelPaymentVatAmount$inboundSchema, CancelPaymentVatAmount$outboundSchema, CancelPaymentVatAmount$, CancelPaymentCategory$inboundSchema, CancelPaymentCategory$outboundSchema, CancelPaymentCategory$, CancelPaymentInterval$inboundSchema, CancelPaymentInterval$outboundSchema, CancelPaymentInterval$, CancelPaymentRecurringAmount$inboundSchema, CancelPaymentRecurringAmount$outboundSchema, CancelPaymentRecurringAmount$, CancelPaymentRecurring$inboundSchema, CancelPaymentRecurring$outboundSchema, CancelPaymentRecurring$, CancelPaymentLine$inboundSchema, CancelPaymentLine$outboundSchema, CancelPaymentLine$, CancelPaymentBillingAddress$inboundSchema, CancelPaymentBillingAddress$outboundSchema, CancelPaymentBillingAddress$, CancelPaymentShippingAddress$inboundSchema, CancelPaymentShippingAddress$outboundSchema, CancelPaymentShippingAddress$, CancelPaymentLocale$inboundSchema, CancelPaymentLocale$outboundSchema, CancelPaymentLocale$, CancelPaymentMethod$inboundSchema, CancelPaymentMethod$outboundSchema, CancelPaymentMethod$, CancelPaymentMetadata$inboundSchema, CancelPaymentMetadata$outboundSchema, CancelPaymentMetadata$, CancelPaymentMetadataUnion$inboundSchema, CancelPaymentMetadataUnion$outboundSchema, CancelPaymentMetadataUnion$, CancelPaymentCaptureMode$inboundSchema, CancelPaymentCaptureMode$outboundSchema, CancelPaymentCaptureMode$, CancelPaymentApplicationFeeAmount$inboundSchema, CancelPaymentApplicationFeeAmount$outboundSchema, CancelPaymentApplicationFeeAmount$, CancelPaymentApplicationFee$inboundSchema, CancelPaymentApplicationFee$outboundSchema, CancelPaymentApplicationFee$, CancelPaymentRoutingMode$inboundSchema, CancelPaymentRoutingMode$outboundSchema, CancelPaymentRoutingMode$, CancelPaymentRoutingAmount$inboundSchema, CancelPaymentRoutingAmount$outboundSchema, CancelPaymentRoutingAmount$, CancelPaymentRoutingType$inboundSchema, CancelPaymentRoutingType$outboundSchema, CancelPaymentRoutingType$, CancelPaymentDestination$inboundSchema, CancelPaymentDestination$outboundSchema, CancelPaymentDestination$, CancelPaymentRoutingSelf$inboundSchema, CancelPaymentRoutingSelf$outboundSchema, CancelPaymentRoutingSelf$, CancelPaymentPayment$inboundSchema, CancelPaymentPayment$outboundSchema, CancelPaymentPayment$, CancelPaymentRoutingLinks$inboundSchema, CancelPaymentRoutingLinks$outboundSchema, CancelPaymentRoutingLinks$, CancelPaymentRouting$inboundSchema, CancelPaymentRouting$outboundSchema, CancelPaymentRouting$, CancelPaymentSequenceType$inboundSchema, CancelPaymentSequenceType$outboundSchema, CancelPaymentSequenceType$, CancelPaymentStatus$inboundSchema, CancelPaymentStatus$outboundSchema, CancelPaymentStatus$, CancelPaymentStatusReason$inboundSchema, CancelPaymentStatusReason$outboundSchema, CancelPaymentStatusReason$, CancelPaymentSelf$inboundSchema, CancelPaymentSelf$outboundSchema, CancelPaymentSelf$, CancelPaymentCheckout$inboundSchema, CancelPaymentCheckout$outboundSchema, CancelPaymentCheckout$, CancelPaymentMobileAppCheckout$inboundSchema, CancelPaymentMobileAppCheckout$outboundSchema, CancelPaymentMobileAppCheckout$, CancelPaymentChangePaymentState$inboundSchema, CancelPaymentChangePaymentState$outboundSchema, CancelPaymentChangePaymentState$, CancelPaymentDashboard$inboundSchema, CancelPaymentDashboard$outboundSchema, CancelPaymentDashboard$, CancelPaymentRefunds$inboundSchema, CancelPaymentRefunds$outboundSchema, CancelPaymentRefunds$, CancelPaymentChargebacks$inboundSchema, CancelPaymentChargebacks$outboundSchema, CancelPaymentChargebacks$, CancelPaymentCaptures$inboundSchema, CancelPaymentCaptures$outboundSchema, CancelPaymentCaptures$, CancelPaymentSettlement$inboundSchema, CancelPaymentSettlement$outboundSchema, CancelPaymentSettlement$, CancelPaymentCustomer$inboundSchema, CancelPaymentCustomer$outboundSchema, CancelPaymentCustomer$, CancelPaymentMandate$inboundSchema, CancelPaymentMandate$outboundSchema, CancelPaymentMandate$, CancelPaymentSubscription$inboundSchema, CancelPaymentSubscription$outboundSchema, CancelPaymentSubscription$, CancelPaymentOrder$inboundSchema, CancelPaymentOrder$outboundSchema, CancelPaymentOrder$, CancelPaymentTerminal$inboundSchema, CancelPaymentTerminal$outboundSchema, CancelPaymentTerminal$, CancelPaymentDocumentation$inboundSchema, CancelPaymentDocumentation$outboundSchema, CancelPaymentDocumentation$, CancelPaymentLinks$inboundSchema, CancelPaymentLinks$outboundSchema, CancelPaymentLinks$, CancelPaymentResponse$inboundSchema, CancelPaymentResponse$outboundSchema, CancelPaymentResponse$;
35746
+ var CancelPaymentMode, CancelPaymentLineType, CancelPaymentCategory, CancelPaymentInterval, CancelPaymentLocale, CancelPaymentMethod, CancelPaymentCaptureMode, CancelPaymentRoutingMode, CancelPaymentRoutingType, CancelPaymentSequenceType, CancelPaymentStatus, CancelPaymentRequestBody$inboundSchema, CancelPaymentRequestBody$outboundSchema, CancelPaymentRequestBody$, CancelPaymentRequest$inboundSchema, CancelPaymentRequest$outboundSchema, CancelPaymentRequest$, CancelPaymentUnprocessableEntityDocumentation$inboundSchema, CancelPaymentUnprocessableEntityDocumentation$outboundSchema, CancelPaymentUnprocessableEntityDocumentation$, CancelPaymentUnprocessableEntityLinks$inboundSchema, CancelPaymentUnprocessableEntityLinks$outboundSchema, CancelPaymentUnprocessableEntityLinks$, CancelPaymentNotFoundDocumentation$inboundSchema, CancelPaymentNotFoundDocumentation$outboundSchema, CancelPaymentNotFoundDocumentation$, CancelPaymentNotFoundLinks$inboundSchema, CancelPaymentNotFoundLinks$outboundSchema, CancelPaymentNotFoundLinks$, CancelPaymentMode$inboundSchema, CancelPaymentMode$outboundSchema, CancelPaymentMode$, CancelPaymentAmount$inboundSchema, CancelPaymentAmount$outboundSchema, CancelPaymentAmount$, CancelPaymentAmountRefunded$inboundSchema, CancelPaymentAmountRefunded$outboundSchema, CancelPaymentAmountRefunded$, CancelPaymentAmountRemaining$inboundSchema, CancelPaymentAmountRemaining$outboundSchema, CancelPaymentAmountRemaining$, CancelPaymentAmountCaptured$inboundSchema, CancelPaymentAmountCaptured$outboundSchema, CancelPaymentAmountCaptured$, CancelPaymentAmountChargedBack$inboundSchema, CancelPaymentAmountChargedBack$outboundSchema, CancelPaymentAmountChargedBack$, CancelPaymentSettlementAmount$inboundSchema, CancelPaymentSettlementAmount$outboundSchema, CancelPaymentSettlementAmount$, CancelPaymentLineType$inboundSchema, CancelPaymentLineType$outboundSchema, CancelPaymentLineType$, CancelPaymentUnitPrice$inboundSchema, CancelPaymentUnitPrice$outboundSchema, CancelPaymentUnitPrice$, CancelPaymentDiscountAmount$inboundSchema, CancelPaymentDiscountAmount$outboundSchema, CancelPaymentDiscountAmount$, CancelPaymentTotalAmount$inboundSchema, CancelPaymentTotalAmount$outboundSchema, CancelPaymentTotalAmount$, CancelPaymentVatAmount$inboundSchema, CancelPaymentVatAmount$outboundSchema, CancelPaymentVatAmount$, CancelPaymentCategory$inboundSchema, CancelPaymentCategory$outboundSchema, CancelPaymentCategory$, CancelPaymentInterval$inboundSchema, CancelPaymentInterval$outboundSchema, CancelPaymentInterval$, CancelPaymentRecurringAmount$inboundSchema, CancelPaymentRecurringAmount$outboundSchema, CancelPaymentRecurringAmount$, CancelPaymentRecurring$inboundSchema, CancelPaymentRecurring$outboundSchema, CancelPaymentRecurring$, CancelPaymentLine$inboundSchema, CancelPaymentLine$outboundSchema, CancelPaymentLine$, CancelPaymentBillingAddress$inboundSchema, CancelPaymentBillingAddress$outboundSchema, CancelPaymentBillingAddress$, CancelPaymentShippingAddress$inboundSchema, CancelPaymentShippingAddress$outboundSchema, CancelPaymentShippingAddress$, CancelPaymentLocale$inboundSchema, CancelPaymentLocale$outboundSchema, CancelPaymentLocale$, CancelPaymentMethod$inboundSchema, CancelPaymentMethod$outboundSchema, CancelPaymentMethod$, CancelPaymentMetadata$inboundSchema, CancelPaymentMetadata$outboundSchema, CancelPaymentMetadata$, CancelPaymentCaptureMode$inboundSchema, CancelPaymentCaptureMode$outboundSchema, CancelPaymentCaptureMode$, CancelPaymentApplicationFeeAmount$inboundSchema, CancelPaymentApplicationFeeAmount$outboundSchema, CancelPaymentApplicationFeeAmount$, CancelPaymentApplicationFee$inboundSchema, CancelPaymentApplicationFee$outboundSchema, CancelPaymentApplicationFee$, CancelPaymentRoutingMode$inboundSchema, CancelPaymentRoutingMode$outboundSchema, CancelPaymentRoutingMode$, CancelPaymentRoutingAmount$inboundSchema, CancelPaymentRoutingAmount$outboundSchema, CancelPaymentRoutingAmount$, CancelPaymentRoutingType$inboundSchema, CancelPaymentRoutingType$outboundSchema, CancelPaymentRoutingType$, CancelPaymentDestination$inboundSchema, CancelPaymentDestination$outboundSchema, CancelPaymentDestination$, CancelPaymentRoutingSelf$inboundSchema, CancelPaymentRoutingSelf$outboundSchema, CancelPaymentRoutingSelf$, CancelPaymentPayment$inboundSchema, CancelPaymentPayment$outboundSchema, CancelPaymentPayment$, CancelPaymentRoutingLinks$inboundSchema, CancelPaymentRoutingLinks$outboundSchema, CancelPaymentRoutingLinks$, CancelPaymentRouting$inboundSchema, CancelPaymentRouting$outboundSchema, CancelPaymentRouting$, CancelPaymentSequenceType$inboundSchema, CancelPaymentSequenceType$outboundSchema, CancelPaymentSequenceType$, CancelPaymentStatus$inboundSchema, CancelPaymentStatus$outboundSchema, CancelPaymentStatus$, CancelPaymentStatusReason$inboundSchema, CancelPaymentStatusReason$outboundSchema, CancelPaymentStatusReason$, CancelPaymentSelf$inboundSchema, CancelPaymentSelf$outboundSchema, CancelPaymentSelf$, CancelPaymentCheckout$inboundSchema, CancelPaymentCheckout$outboundSchema, CancelPaymentCheckout$, CancelPaymentMobileAppCheckout$inboundSchema, CancelPaymentMobileAppCheckout$outboundSchema, CancelPaymentMobileAppCheckout$, CancelPaymentChangePaymentState$inboundSchema, CancelPaymentChangePaymentState$outboundSchema, CancelPaymentChangePaymentState$, CancelPaymentDashboard$inboundSchema, CancelPaymentDashboard$outboundSchema, CancelPaymentDashboard$, CancelPaymentRefunds$inboundSchema, CancelPaymentRefunds$outboundSchema, CancelPaymentRefunds$, CancelPaymentChargebacks$inboundSchema, CancelPaymentChargebacks$outboundSchema, CancelPaymentChargebacks$, CancelPaymentCaptures$inboundSchema, CancelPaymentCaptures$outboundSchema, CancelPaymentCaptures$, CancelPaymentSettlement$inboundSchema, CancelPaymentSettlement$outboundSchema, CancelPaymentSettlement$, CancelPaymentCustomer$inboundSchema, CancelPaymentCustomer$outboundSchema, CancelPaymentCustomer$, CancelPaymentMandate$inboundSchema, CancelPaymentMandate$outboundSchema, CancelPaymentMandate$, CancelPaymentSubscription$inboundSchema, CancelPaymentSubscription$outboundSchema, CancelPaymentSubscription$, CancelPaymentOrder$inboundSchema, CancelPaymentOrder$outboundSchema, CancelPaymentOrder$, CancelPaymentTerminal$inboundSchema, CancelPaymentTerminal$outboundSchema, CancelPaymentTerminal$, CancelPaymentDocumentation$inboundSchema, CancelPaymentDocumentation$outboundSchema, CancelPaymentDocumentation$, CancelPaymentLinks$inboundSchema, CancelPaymentLinks$outboundSchema, CancelPaymentLinks$, CancelPaymentResponse$inboundSchema, CancelPaymentResponse$outboundSchema, CancelPaymentResponse$;
35747
35747
  var init_cancelpayment = __esm(() => {
35748
35748
  init_esm();
35749
35749
  init_primitives();
@@ -36219,26 +36219,12 @@ var init_cancelpayment = __esm(() => {
36219
36219
  CancelPaymentMethod$.inboundSchema = CancelPaymentMethod$inboundSchema;
36220
36220
  CancelPaymentMethod$.outboundSchema = CancelPaymentMethod$outboundSchema;
36221
36221
  })(CancelPaymentMethod$ ||= {});
36222
- CancelPaymentMetadata$inboundSchema = objectType({});
36223
- CancelPaymentMetadata$outboundSchema = objectType({});
36222
+ CancelPaymentMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
36223
+ CancelPaymentMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
36224
36224
  ((CancelPaymentMetadata$) => {
36225
36225
  CancelPaymentMetadata$.inboundSchema = CancelPaymentMetadata$inboundSchema;
36226
36226
  CancelPaymentMetadata$.outboundSchema = CancelPaymentMetadata$outboundSchema;
36227
36227
  })(CancelPaymentMetadata$ ||= {});
36228
- CancelPaymentMetadataUnion$inboundSchema = unionType([
36229
- lazyType(() => CancelPaymentMetadata$inboundSchema),
36230
- stringType(),
36231
- arrayType(stringType())
36232
- ]);
36233
- CancelPaymentMetadataUnion$outboundSchema = unionType([
36234
- lazyType(() => CancelPaymentMetadata$outboundSchema),
36235
- stringType(),
36236
- arrayType(stringType())
36237
- ]);
36238
- ((CancelPaymentMetadataUnion$) => {
36239
- CancelPaymentMetadataUnion$.inboundSchema = CancelPaymentMetadataUnion$inboundSchema;
36240
- CancelPaymentMetadataUnion$.outboundSchema = CancelPaymentMetadataUnion$outboundSchema;
36241
- })(CancelPaymentMetadataUnion$ ||= {});
36242
36228
  CancelPaymentCaptureMode$inboundSchema = nativeEnumType(CancelPaymentCaptureMode);
36243
36229
  CancelPaymentCaptureMode$outboundSchema = CancelPaymentCaptureMode$inboundSchema;
36244
36230
  ((CancelPaymentCaptureMode$) => {
@@ -36636,11 +36622,7 @@ var init_cancelpayment = __esm(() => {
36636
36622
  countryCode: nullableType(stringType()).optional(),
36637
36623
  method: nullableType(CancelPaymentMethod$inboundSchema).optional(),
36638
36624
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
36639
- metadata: nullableType(unionType([
36640
- lazyType(() => CancelPaymentMetadata$inboundSchema),
36641
- stringType(),
36642
- arrayType(stringType())
36643
- ])).optional(),
36625
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
36644
36626
  captureMode: nullableType(CancelPaymentCaptureMode$inboundSchema).optional(),
36645
36627
  captureDelay: nullableType(stringType()).optional(),
36646
36628
  captureBefore: nullableType(stringType()).optional(),
@@ -36691,11 +36673,7 @@ var init_cancelpayment = __esm(() => {
36691
36673
  countryCode: nullableType(stringType()).optional(),
36692
36674
  method: nullableType(CancelPaymentMethod$outboundSchema).optional(),
36693
36675
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
36694
- metadata: nullableType(unionType([
36695
- lazyType(() => CancelPaymentMetadata$outboundSchema),
36696
- stringType(),
36697
- arrayType(stringType())
36698
- ])).optional(),
36676
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
36699
36677
  captureMode: nullableType(CancelPaymentCaptureMode$outboundSchema).optional(),
36700
36678
  captureDelay: nullableType(stringType()).optional(),
36701
36679
  captureBefore: nullableType(stringType()).optional(),
@@ -36774,7 +36752,7 @@ var init_cancelrefund = __esm(() => {
36774
36752
  });
36775
36753
 
36776
36754
  // src/models/operations/cancelsubscription.ts
36777
- var CancelSubscriptionMode, CancelSubscriptionStatus, CancelSubscriptionInterval, CancelSubscriptionMethod, CancelSubscriptionRequestBody$inboundSchema, CancelSubscriptionRequestBody$outboundSchema, CancelSubscriptionRequestBody$, CancelSubscriptionRequest$inboundSchema, CancelSubscriptionRequest$outboundSchema, CancelSubscriptionRequest$, CancelSubscriptionNotFoundDocumentation$inboundSchema, CancelSubscriptionNotFoundDocumentation$outboundSchema, CancelSubscriptionNotFoundDocumentation$, CancelSubscriptionNotFoundLinks$inboundSchema, CancelSubscriptionNotFoundLinks$outboundSchema, CancelSubscriptionNotFoundLinks$, CancelSubscriptionMode$inboundSchema, CancelSubscriptionMode$outboundSchema, CancelSubscriptionMode$, CancelSubscriptionStatus$inboundSchema, CancelSubscriptionStatus$outboundSchema, CancelSubscriptionStatus$, CancelSubscriptionAmount$inboundSchema, CancelSubscriptionAmount$outboundSchema, CancelSubscriptionAmount$, CancelSubscriptionInterval$inboundSchema, CancelSubscriptionInterval$outboundSchema, CancelSubscriptionInterval$, CancelSubscriptionMethod$inboundSchema, CancelSubscriptionMethod$outboundSchema, CancelSubscriptionMethod$, CancelSubscriptionApplicationFeeAmount$inboundSchema, CancelSubscriptionApplicationFeeAmount$outboundSchema, CancelSubscriptionApplicationFeeAmount$, CancelSubscriptionApplicationFee$inboundSchema, CancelSubscriptionApplicationFee$outboundSchema, CancelSubscriptionApplicationFee$, CancelSubscriptionMetadata$inboundSchema, CancelSubscriptionMetadata$outboundSchema, CancelSubscriptionMetadata$, CancelSubscriptionMetadataUnion$inboundSchema, CancelSubscriptionMetadataUnion$outboundSchema, CancelSubscriptionMetadataUnion$, CancelSubscriptionSelf$inboundSchema, CancelSubscriptionSelf$outboundSchema, CancelSubscriptionSelf$, CancelSubscriptionCustomer$inboundSchema, CancelSubscriptionCustomer$outboundSchema, CancelSubscriptionCustomer$, CancelSubscriptionMandate$inboundSchema, CancelSubscriptionMandate$outboundSchema, CancelSubscriptionMandate$, CancelSubscriptionProfile$inboundSchema, CancelSubscriptionProfile$outboundSchema, CancelSubscriptionProfile$, CancelSubscriptionPayments$inboundSchema, CancelSubscriptionPayments$outboundSchema, CancelSubscriptionPayments$, CancelSubscriptionDocumentation$inboundSchema, CancelSubscriptionDocumentation$outboundSchema, CancelSubscriptionDocumentation$, CancelSubscriptionLinks$inboundSchema, CancelSubscriptionLinks$outboundSchema, CancelSubscriptionLinks$, CancelSubscriptionResponse$inboundSchema, CancelSubscriptionResponse$outboundSchema, CancelSubscriptionResponse$;
36755
+ var CancelSubscriptionMode, CancelSubscriptionStatus, CancelSubscriptionInterval, CancelSubscriptionMethod, CancelSubscriptionRequestBody$inboundSchema, CancelSubscriptionRequestBody$outboundSchema, CancelSubscriptionRequestBody$, CancelSubscriptionRequest$inboundSchema, CancelSubscriptionRequest$outboundSchema, CancelSubscriptionRequest$, CancelSubscriptionNotFoundDocumentation$inboundSchema, CancelSubscriptionNotFoundDocumentation$outboundSchema, CancelSubscriptionNotFoundDocumentation$, CancelSubscriptionNotFoundLinks$inboundSchema, CancelSubscriptionNotFoundLinks$outboundSchema, CancelSubscriptionNotFoundLinks$, CancelSubscriptionMode$inboundSchema, CancelSubscriptionMode$outboundSchema, CancelSubscriptionMode$, CancelSubscriptionStatus$inboundSchema, CancelSubscriptionStatus$outboundSchema, CancelSubscriptionStatus$, CancelSubscriptionAmount$inboundSchema, CancelSubscriptionAmount$outboundSchema, CancelSubscriptionAmount$, CancelSubscriptionInterval$inboundSchema, CancelSubscriptionInterval$outboundSchema, CancelSubscriptionInterval$, CancelSubscriptionMethod$inboundSchema, CancelSubscriptionMethod$outboundSchema, CancelSubscriptionMethod$, CancelSubscriptionApplicationFeeAmount$inboundSchema, CancelSubscriptionApplicationFeeAmount$outboundSchema, CancelSubscriptionApplicationFeeAmount$, CancelSubscriptionApplicationFee$inboundSchema, CancelSubscriptionApplicationFee$outboundSchema, CancelSubscriptionApplicationFee$, CancelSubscriptionMetadata$inboundSchema, CancelSubscriptionMetadata$outboundSchema, CancelSubscriptionMetadata$, CancelSubscriptionSelf$inboundSchema, CancelSubscriptionSelf$outboundSchema, CancelSubscriptionSelf$, CancelSubscriptionCustomer$inboundSchema, CancelSubscriptionCustomer$outboundSchema, CancelSubscriptionCustomer$, CancelSubscriptionMandate$inboundSchema, CancelSubscriptionMandate$outboundSchema, CancelSubscriptionMandate$, CancelSubscriptionProfile$inboundSchema, CancelSubscriptionProfile$outboundSchema, CancelSubscriptionProfile$, CancelSubscriptionPayments$inboundSchema, CancelSubscriptionPayments$outboundSchema, CancelSubscriptionPayments$, CancelSubscriptionDocumentation$inboundSchema, CancelSubscriptionDocumentation$outboundSchema, CancelSubscriptionDocumentation$, CancelSubscriptionLinks$inboundSchema, CancelSubscriptionLinks$outboundSchema, CancelSubscriptionLinks$, CancelSubscriptionResponse$inboundSchema, CancelSubscriptionResponse$outboundSchema, CancelSubscriptionResponse$;
36778
36756
  var init_cancelsubscription = __esm(() => {
36779
36757
  init_esm();
36780
36758
  init_primitives();
@@ -36913,26 +36891,12 @@ var init_cancelsubscription = __esm(() => {
36913
36891
  CancelSubscriptionApplicationFee$.inboundSchema = CancelSubscriptionApplicationFee$inboundSchema;
36914
36892
  CancelSubscriptionApplicationFee$.outboundSchema = CancelSubscriptionApplicationFee$outboundSchema;
36915
36893
  })(CancelSubscriptionApplicationFee$ ||= {});
36916
- CancelSubscriptionMetadata$inboundSchema = objectType({});
36917
- CancelSubscriptionMetadata$outboundSchema = objectType({});
36894
+ CancelSubscriptionMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
36895
+ CancelSubscriptionMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
36918
36896
  ((CancelSubscriptionMetadata$) => {
36919
36897
  CancelSubscriptionMetadata$.inboundSchema = CancelSubscriptionMetadata$inboundSchema;
36920
36898
  CancelSubscriptionMetadata$.outboundSchema = CancelSubscriptionMetadata$outboundSchema;
36921
36899
  })(CancelSubscriptionMetadata$ ||= {});
36922
- CancelSubscriptionMetadataUnion$inboundSchema = unionType([
36923
- lazyType(() => CancelSubscriptionMetadata$inboundSchema),
36924
- stringType(),
36925
- arrayType(stringType())
36926
- ]);
36927
- CancelSubscriptionMetadataUnion$outboundSchema = unionType([
36928
- lazyType(() => CancelSubscriptionMetadata$outboundSchema),
36929
- stringType(),
36930
- arrayType(stringType())
36931
- ]);
36932
- ((CancelSubscriptionMetadataUnion$) => {
36933
- CancelSubscriptionMetadataUnion$.inboundSchema = CancelSubscriptionMetadataUnion$inboundSchema;
36934
- CancelSubscriptionMetadataUnion$.outboundSchema = CancelSubscriptionMetadataUnion$outboundSchema;
36935
- })(CancelSubscriptionMetadataUnion$ ||= {});
36936
36900
  CancelSubscriptionSelf$inboundSchema = objectType({
36937
36901
  href: stringType(),
36938
36902
  type: stringType()
@@ -37039,11 +37003,7 @@ var init_cancelsubscription = __esm(() => {
37039
37003
  description: stringType(),
37040
37004
  method: nullableType(CancelSubscriptionMethod$inboundSchema),
37041
37005
  applicationFee: lazyType(() => CancelSubscriptionApplicationFee$inboundSchema).optional(),
37042
- metadata: nullableType(unionType([
37043
- lazyType(() => CancelSubscriptionMetadata$inboundSchema),
37044
- stringType(),
37045
- arrayType(stringType())
37046
- ])),
37006
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
37047
37007
  webhookUrl: stringType(),
37048
37008
  customerId: stringType(),
37049
37009
  mandateId: nullableType(stringType()).optional(),
@@ -37069,11 +37029,7 @@ var init_cancelsubscription = __esm(() => {
37069
37029
  description: stringType(),
37070
37030
  method: nullableType(CancelSubscriptionMethod$outboundSchema),
37071
37031
  applicationFee: lazyType(() => CancelSubscriptionApplicationFee$outboundSchema).optional(),
37072
- metadata: nullableType(unionType([
37073
- lazyType(() => CancelSubscriptionMetadata$outboundSchema),
37074
- stringType(),
37075
- arrayType(stringType())
37076
- ])),
37032
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
37077
37033
  webhookUrl: stringType(),
37078
37034
  customerId: stringType(),
37079
37035
  mandateId: nullableType(stringType()).optional(),
@@ -37092,7 +37048,7 @@ var init_cancelsubscription = __esm(() => {
37092
37048
  });
37093
37049
 
37094
37050
  // src/models/operations/createcapture.ts
37095
- var CreateCaptureMode, CreateCaptureStatus, CreateCaptureAmountRequest$inboundSchema, CreateCaptureAmountRequest$outboundSchema, CreateCaptureAmountRequest$, CreateCaptureMetadataRequest$inboundSchema, CreateCaptureMetadataRequest$outboundSchema, CreateCaptureMetadataRequest$, CreateCaptureMetadataRequestUnion$inboundSchema, CreateCaptureMetadataRequestUnion$outboundSchema, CreateCaptureMetadataRequestUnion$, CreateCaptureRequestBody$inboundSchema, CreateCaptureRequestBody$outboundSchema, CreateCaptureRequestBody$, CreateCaptureRequest$inboundSchema, CreateCaptureRequest$outboundSchema, CreateCaptureRequest$, CreateCaptureUnprocessableEntityDocumentation$inboundSchema, CreateCaptureUnprocessableEntityDocumentation$outboundSchema, CreateCaptureUnprocessableEntityDocumentation$, CreateCaptureUnprocessableEntityLinks$inboundSchema, CreateCaptureUnprocessableEntityLinks$outboundSchema, CreateCaptureUnprocessableEntityLinks$, CreateCaptureNotFoundDocumentation$inboundSchema, CreateCaptureNotFoundDocumentation$outboundSchema, CreateCaptureNotFoundDocumentation$, CreateCaptureNotFoundLinks$inboundSchema, CreateCaptureNotFoundLinks$outboundSchema, CreateCaptureNotFoundLinks$, CreateCaptureMode$inboundSchema, CreateCaptureMode$outboundSchema, CreateCaptureMode$, CreateCaptureAmountResponse$inboundSchema, CreateCaptureAmountResponse$outboundSchema, CreateCaptureAmountResponse$, CreateCaptureSettlementAmount$inboundSchema, CreateCaptureSettlementAmount$outboundSchema, CreateCaptureSettlementAmount$, CreateCaptureStatus$inboundSchema, CreateCaptureStatus$outboundSchema, CreateCaptureStatus$, CreateCaptureMetadataResponse$inboundSchema, CreateCaptureMetadataResponse$outboundSchema, CreateCaptureMetadataResponse$, CreateCaptureMetadataResponseUnion$inboundSchema, CreateCaptureMetadataResponseUnion$outboundSchema, CreateCaptureMetadataResponseUnion$, CreateCaptureSelf$inboundSchema, CreateCaptureSelf$outboundSchema, CreateCaptureSelf$, CreateCapturePayment$inboundSchema, CreateCapturePayment$outboundSchema, CreateCapturePayment$, CreateCaptureSettlement$inboundSchema, CreateCaptureSettlement$outboundSchema, CreateCaptureSettlement$, CreateCaptureShipment$inboundSchema, CreateCaptureShipment$outboundSchema, CreateCaptureShipment$, CreateCaptureDocumentation$inboundSchema, CreateCaptureDocumentation$outboundSchema, CreateCaptureDocumentation$, CreateCaptureLinks$inboundSchema, CreateCaptureLinks$outboundSchema, CreateCaptureLinks$, CreateCaptureResponse$inboundSchema, CreateCaptureResponse$outboundSchema, CreateCaptureResponse$;
37051
+ var CreateCaptureMode, CreateCaptureStatus, CreateCaptureAmountRequest$inboundSchema, CreateCaptureAmountRequest$outboundSchema, CreateCaptureAmountRequest$, CreateCaptureMetadataRequest$inboundSchema, CreateCaptureMetadataRequest$outboundSchema, CreateCaptureMetadataRequest$, CreateCaptureRequestBody$inboundSchema, CreateCaptureRequestBody$outboundSchema, CreateCaptureRequestBody$, CreateCaptureRequest$inboundSchema, CreateCaptureRequest$outboundSchema, CreateCaptureRequest$, CreateCaptureUnprocessableEntityDocumentation$inboundSchema, CreateCaptureUnprocessableEntityDocumentation$outboundSchema, CreateCaptureUnprocessableEntityDocumentation$, CreateCaptureUnprocessableEntityLinks$inboundSchema, CreateCaptureUnprocessableEntityLinks$outboundSchema, CreateCaptureUnprocessableEntityLinks$, CreateCaptureNotFoundDocumentation$inboundSchema, CreateCaptureNotFoundDocumentation$outboundSchema, CreateCaptureNotFoundDocumentation$, CreateCaptureNotFoundLinks$inboundSchema, CreateCaptureNotFoundLinks$outboundSchema, CreateCaptureNotFoundLinks$, CreateCaptureMode$inboundSchema, CreateCaptureMode$outboundSchema, CreateCaptureMode$, CreateCaptureAmountResponse$inboundSchema, CreateCaptureAmountResponse$outboundSchema, CreateCaptureAmountResponse$, CreateCaptureSettlementAmount$inboundSchema, CreateCaptureSettlementAmount$outboundSchema, CreateCaptureSettlementAmount$, CreateCaptureStatus$inboundSchema, CreateCaptureStatus$outboundSchema, CreateCaptureStatus$, CreateCaptureMetadataResponse$inboundSchema, CreateCaptureMetadataResponse$outboundSchema, CreateCaptureMetadataResponse$, CreateCaptureSelf$inboundSchema, CreateCaptureSelf$outboundSchema, CreateCaptureSelf$, CreateCapturePayment$inboundSchema, CreateCapturePayment$outboundSchema, CreateCapturePayment$, CreateCaptureSettlement$inboundSchema, CreateCaptureSettlement$outboundSchema, CreateCaptureSettlement$, CreateCaptureShipment$inboundSchema, CreateCaptureShipment$outboundSchema, CreateCaptureShipment$, CreateCaptureDocumentation$inboundSchema, CreateCaptureDocumentation$outboundSchema, CreateCaptureDocumentation$, CreateCaptureLinks$inboundSchema, CreateCaptureLinks$outboundSchema, CreateCaptureLinks$, CreateCaptureResponse$inboundSchema, CreateCaptureResponse$outboundSchema, CreateCaptureResponse$;
37096
37052
  var init_createcapture = __esm(() => {
37097
37053
  init_esm();
37098
37054
  init_primitives();
@@ -37117,43 +37073,21 @@ var init_createcapture = __esm(() => {
37117
37073
  CreateCaptureAmountRequest$.inboundSchema = CreateCaptureAmountRequest$inboundSchema;
37118
37074
  CreateCaptureAmountRequest$.outboundSchema = CreateCaptureAmountRequest$outboundSchema;
37119
37075
  })(CreateCaptureAmountRequest$ ||= {});
37120
- CreateCaptureMetadataRequest$inboundSchema = objectType({});
37121
- CreateCaptureMetadataRequest$outboundSchema = objectType({});
37076
+ CreateCaptureMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37077
+ CreateCaptureMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37122
37078
  ((CreateCaptureMetadataRequest$) => {
37123
37079
  CreateCaptureMetadataRequest$.inboundSchema = CreateCaptureMetadataRequest$inboundSchema;
37124
37080
  CreateCaptureMetadataRequest$.outboundSchema = CreateCaptureMetadataRequest$outboundSchema;
37125
37081
  })(CreateCaptureMetadataRequest$ ||= {});
37126
- CreateCaptureMetadataRequestUnion$inboundSchema = unionType([
37127
- lazyType(() => CreateCaptureMetadataRequest$inboundSchema),
37128
- stringType(),
37129
- arrayType(stringType())
37130
- ]);
37131
- CreateCaptureMetadataRequestUnion$outboundSchema = unionType([
37132
- lazyType(() => CreateCaptureMetadataRequest$outboundSchema),
37133
- stringType(),
37134
- arrayType(stringType())
37135
- ]);
37136
- ((CreateCaptureMetadataRequestUnion$) => {
37137
- CreateCaptureMetadataRequestUnion$.inboundSchema = CreateCaptureMetadataRequestUnion$inboundSchema;
37138
- CreateCaptureMetadataRequestUnion$.outboundSchema = CreateCaptureMetadataRequestUnion$outboundSchema;
37139
- })(CreateCaptureMetadataRequestUnion$ ||= {});
37140
37082
  CreateCaptureRequestBody$inboundSchema = objectType({
37141
37083
  description: stringType().optional(),
37142
37084
  amount: nullableType(lazyType(() => CreateCaptureAmountRequest$inboundSchema)).optional(),
37143
- metadata: nullableType(unionType([
37144
- lazyType(() => CreateCaptureMetadataRequest$inboundSchema),
37145
- stringType(),
37146
- arrayType(stringType())
37147
- ])).optional()
37085
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional()
37148
37086
  });
37149
37087
  CreateCaptureRequestBody$outboundSchema = objectType({
37150
37088
  description: stringType().optional(),
37151
37089
  amount: nullableType(lazyType(() => CreateCaptureAmountRequest$outboundSchema)).optional(),
37152
- metadata: nullableType(unionType([
37153
- lazyType(() => CreateCaptureMetadataRequest$outboundSchema),
37154
- stringType(),
37155
- arrayType(stringType())
37156
- ])).optional()
37090
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional()
37157
37091
  });
37158
37092
  ((CreateCaptureRequestBody$) => {
37159
37093
  CreateCaptureRequestBody$.inboundSchema = CreateCaptureRequestBody$inboundSchema;
@@ -37259,26 +37193,12 @@ var init_createcapture = __esm(() => {
37259
37193
  CreateCaptureStatus$.inboundSchema = CreateCaptureStatus$inboundSchema;
37260
37194
  CreateCaptureStatus$.outboundSchema = CreateCaptureStatus$outboundSchema;
37261
37195
  })(CreateCaptureStatus$ ||= {});
37262
- CreateCaptureMetadataResponse$inboundSchema = objectType({});
37263
- CreateCaptureMetadataResponse$outboundSchema = objectType({});
37196
+ CreateCaptureMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37197
+ CreateCaptureMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37264
37198
  ((CreateCaptureMetadataResponse$) => {
37265
37199
  CreateCaptureMetadataResponse$.inboundSchema = CreateCaptureMetadataResponse$inboundSchema;
37266
37200
  CreateCaptureMetadataResponse$.outboundSchema = CreateCaptureMetadataResponse$outboundSchema;
37267
37201
  })(CreateCaptureMetadataResponse$ ||= {});
37268
- CreateCaptureMetadataResponseUnion$inboundSchema = unionType([
37269
- lazyType(() => CreateCaptureMetadataResponse$inboundSchema),
37270
- stringType(),
37271
- arrayType(stringType())
37272
- ]);
37273
- CreateCaptureMetadataResponseUnion$outboundSchema = unionType([
37274
- lazyType(() => CreateCaptureMetadataResponse$outboundSchema),
37275
- stringType(),
37276
- arrayType(stringType())
37277
- ]);
37278
- ((CreateCaptureMetadataResponseUnion$) => {
37279
- CreateCaptureMetadataResponseUnion$.inboundSchema = CreateCaptureMetadataResponseUnion$inboundSchema;
37280
- CreateCaptureMetadataResponseUnion$.outboundSchema = CreateCaptureMetadataResponseUnion$outboundSchema;
37281
- })(CreateCaptureMetadataResponseUnion$ ||= {});
37282
37202
  CreateCaptureSelf$inboundSchema = objectType({
37283
37203
  href: stringType(),
37284
37204
  type: stringType()
@@ -37365,11 +37285,7 @@ var init_createcapture = __esm(() => {
37365
37285
  amount: nullableType(lazyType(() => CreateCaptureAmountResponse$inboundSchema)),
37366
37286
  settlementAmount: nullableType(lazyType(() => CreateCaptureSettlementAmount$inboundSchema)).optional(),
37367
37287
  status: CreateCaptureStatus$inboundSchema,
37368
- metadata: nullableType(unionType([
37369
- lazyType(() => CreateCaptureMetadataResponse$inboundSchema),
37370
- stringType(),
37371
- arrayType(stringType())
37372
- ])).optional(),
37288
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
37373
37289
  paymentId: stringType(),
37374
37290
  shipmentId: nullableType(stringType()).optional(),
37375
37291
  settlementId: nullableType(stringType()).optional(),
@@ -37388,11 +37304,7 @@ var init_createcapture = __esm(() => {
37388
37304
  amount: nullableType(lazyType(() => CreateCaptureAmountResponse$outboundSchema)),
37389
37305
  settlementAmount: nullableType(lazyType(() => CreateCaptureSettlementAmount$outboundSchema)).optional(),
37390
37306
  status: CreateCaptureStatus$outboundSchema,
37391
- metadata: nullableType(unionType([
37392
- lazyType(() => CreateCaptureMetadataResponse$outboundSchema),
37393
- stringType(),
37394
- arrayType(stringType())
37395
- ])).optional(),
37307
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
37396
37308
  paymentId: stringType(),
37397
37309
  shipmentId: nullableType(stringType()).optional(),
37398
37310
  settlementId: nullableType(stringType()).optional(),
@@ -37613,7 +37525,7 @@ var init_createclientlink = __esm(() => {
37613
37525
  });
37614
37526
 
37615
37527
  // src/models/operations/createcustomer.ts
37616
- var CreateCustomerLocaleRequest, CreateCustomerMode, CreateCustomerLocaleResponse, CreateCustomerLocaleRequest$inboundSchema, CreateCustomerLocaleRequest$outboundSchema, CreateCustomerLocaleRequest$, CreateCustomerMetadataRequest$inboundSchema, CreateCustomerMetadataRequest$outboundSchema, CreateCustomerMetadataRequest$, CreateCustomerMetadataRequestUnion$inboundSchema, CreateCustomerMetadataRequestUnion$outboundSchema, CreateCustomerMetadataRequestUnion$, CreateCustomerRequest$inboundSchema, CreateCustomerRequest$outboundSchema, CreateCustomerRequest$, CreateCustomerNotFoundDocumentation$inboundSchema, CreateCustomerNotFoundDocumentation$outboundSchema, CreateCustomerNotFoundDocumentation$, CreateCustomerNotFoundLinks$inboundSchema, CreateCustomerNotFoundLinks$outboundSchema, CreateCustomerNotFoundLinks$, CreateCustomerMode$inboundSchema, CreateCustomerMode$outboundSchema, CreateCustomerMode$, CreateCustomerLocaleResponse$inboundSchema, CreateCustomerLocaleResponse$outboundSchema, CreateCustomerLocaleResponse$, CreateCustomerMetadataResponse$inboundSchema, CreateCustomerMetadataResponse$outboundSchema, CreateCustomerMetadataResponse$, CreateCustomerMetadataResponseUnion$inboundSchema, CreateCustomerMetadataResponseUnion$outboundSchema, CreateCustomerMetadataResponseUnion$, CreateCustomerSelf$inboundSchema, CreateCustomerSelf$outboundSchema, CreateCustomerSelf$, CreateCustomerDashboard$inboundSchema, CreateCustomerDashboard$outboundSchema, CreateCustomerDashboard$, CreateCustomerPayments$inboundSchema, CreateCustomerPayments$outboundSchema, CreateCustomerPayments$, CreateCustomerMandates$inboundSchema, CreateCustomerMandates$outboundSchema, CreateCustomerMandates$, CreateCustomerSubscriptions$inboundSchema, CreateCustomerSubscriptions$outboundSchema, CreateCustomerSubscriptions$, CreateCustomerDocumentation$inboundSchema, CreateCustomerDocumentation$outboundSchema, CreateCustomerDocumentation$, CreateCustomerLinks$inboundSchema, CreateCustomerLinks$outboundSchema, CreateCustomerLinks$, CreateCustomerResponse$inboundSchema, CreateCustomerResponse$outboundSchema, CreateCustomerResponse$;
37528
+ var CreateCustomerLocaleRequest, CreateCustomerMode, CreateCustomerLocaleResponse, CreateCustomerLocaleRequest$inboundSchema, CreateCustomerLocaleRequest$outboundSchema, CreateCustomerLocaleRequest$, CreateCustomerMetadataRequest$inboundSchema, CreateCustomerMetadataRequest$outboundSchema, CreateCustomerMetadataRequest$, CreateCustomerRequest$inboundSchema, CreateCustomerRequest$outboundSchema, CreateCustomerRequest$, CreateCustomerNotFoundDocumentation$inboundSchema, CreateCustomerNotFoundDocumentation$outboundSchema, CreateCustomerNotFoundDocumentation$, CreateCustomerNotFoundLinks$inboundSchema, CreateCustomerNotFoundLinks$outboundSchema, CreateCustomerNotFoundLinks$, CreateCustomerMode$inboundSchema, CreateCustomerMode$outboundSchema, CreateCustomerMode$, CreateCustomerLocaleResponse$inboundSchema, CreateCustomerLocaleResponse$outboundSchema, CreateCustomerLocaleResponse$, CreateCustomerMetadataResponse$inboundSchema, CreateCustomerMetadataResponse$outboundSchema, CreateCustomerMetadataResponse$, CreateCustomerSelf$inboundSchema, CreateCustomerSelf$outboundSchema, CreateCustomerSelf$, CreateCustomerDashboard$inboundSchema, CreateCustomerDashboard$outboundSchema, CreateCustomerDashboard$, CreateCustomerPayments$inboundSchema, CreateCustomerPayments$outboundSchema, CreateCustomerPayments$, CreateCustomerMandates$inboundSchema, CreateCustomerMandates$outboundSchema, CreateCustomerMandates$, CreateCustomerSubscriptions$inboundSchema, CreateCustomerSubscriptions$outboundSchema, CreateCustomerSubscriptions$, CreateCustomerDocumentation$inboundSchema, CreateCustomerDocumentation$outboundSchema, CreateCustomerDocumentation$, CreateCustomerLinks$inboundSchema, CreateCustomerLinks$outboundSchema, CreateCustomerLinks$, CreateCustomerResponse$inboundSchema, CreateCustomerResponse$outboundSchema, CreateCustomerResponse$;
37617
37529
  var init_createcustomer = __esm(() => {
37618
37530
  init_esm();
37619
37531
  init_primitives();
@@ -37675,46 +37587,24 @@ var init_createcustomer = __esm(() => {
37675
37587
  CreateCustomerLocaleRequest$.inboundSchema = CreateCustomerLocaleRequest$inboundSchema;
37676
37588
  CreateCustomerLocaleRequest$.outboundSchema = CreateCustomerLocaleRequest$outboundSchema;
37677
37589
  })(CreateCustomerLocaleRequest$ ||= {});
37678
- CreateCustomerMetadataRequest$inboundSchema = objectType({});
37679
- CreateCustomerMetadataRequest$outboundSchema = objectType({});
37590
+ CreateCustomerMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37591
+ CreateCustomerMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37680
37592
  ((CreateCustomerMetadataRequest$) => {
37681
37593
  CreateCustomerMetadataRequest$.inboundSchema = CreateCustomerMetadataRequest$inboundSchema;
37682
37594
  CreateCustomerMetadataRequest$.outboundSchema = CreateCustomerMetadataRequest$outboundSchema;
37683
37595
  })(CreateCustomerMetadataRequest$ ||= {});
37684
- CreateCustomerMetadataRequestUnion$inboundSchema = unionType([
37685
- lazyType(() => CreateCustomerMetadataRequest$inboundSchema),
37686
- stringType(),
37687
- arrayType(stringType())
37688
- ]);
37689
- CreateCustomerMetadataRequestUnion$outboundSchema = unionType([
37690
- lazyType(() => CreateCustomerMetadataRequest$outboundSchema),
37691
- stringType(),
37692
- arrayType(stringType())
37693
- ]);
37694
- ((CreateCustomerMetadataRequestUnion$) => {
37695
- CreateCustomerMetadataRequestUnion$.inboundSchema = CreateCustomerMetadataRequestUnion$inboundSchema;
37696
- CreateCustomerMetadataRequestUnion$.outboundSchema = CreateCustomerMetadataRequestUnion$outboundSchema;
37697
- })(CreateCustomerMetadataRequestUnion$ ||= {});
37698
37596
  CreateCustomerRequest$inboundSchema = objectType({
37699
37597
  name: nullableType(stringType()).optional(),
37700
37598
  email: nullableType(stringType()).optional(),
37701
37599
  locale: nullableType(CreateCustomerLocaleRequest$inboundSchema).optional(),
37702
- metadata: nullableType(unionType([
37703
- lazyType(() => CreateCustomerMetadataRequest$inboundSchema),
37704
- stringType(),
37705
- arrayType(stringType())
37706
- ])).optional(),
37600
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
37707
37601
  testmode: nullableType(booleanType()).optional()
37708
37602
  });
37709
37603
  CreateCustomerRequest$outboundSchema = objectType({
37710
37604
  name: nullableType(stringType()).optional(),
37711
37605
  email: nullableType(stringType()).optional(),
37712
37606
  locale: nullableType(CreateCustomerLocaleRequest$outboundSchema).optional(),
37713
- metadata: nullableType(unionType([
37714
- lazyType(() => CreateCustomerMetadataRequest$outboundSchema),
37715
- stringType(),
37716
- arrayType(stringType())
37717
- ])).optional(),
37607
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
37718
37608
  testmode: nullableType(booleanType()).optional()
37719
37609
  });
37720
37610
  ((CreateCustomerRequest$) => {
@@ -37755,26 +37645,12 @@ var init_createcustomer = __esm(() => {
37755
37645
  CreateCustomerLocaleResponse$.inboundSchema = CreateCustomerLocaleResponse$inboundSchema;
37756
37646
  CreateCustomerLocaleResponse$.outboundSchema = CreateCustomerLocaleResponse$outboundSchema;
37757
37647
  })(CreateCustomerLocaleResponse$ ||= {});
37758
- CreateCustomerMetadataResponse$inboundSchema = objectType({});
37759
- CreateCustomerMetadataResponse$outboundSchema = objectType({});
37648
+ CreateCustomerMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37649
+ CreateCustomerMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
37760
37650
  ((CreateCustomerMetadataResponse$) => {
37761
37651
  CreateCustomerMetadataResponse$.inboundSchema = CreateCustomerMetadataResponse$inboundSchema;
37762
37652
  CreateCustomerMetadataResponse$.outboundSchema = CreateCustomerMetadataResponse$outboundSchema;
37763
37653
  })(CreateCustomerMetadataResponse$ ||= {});
37764
- CreateCustomerMetadataResponseUnion$inboundSchema = unionType([
37765
- lazyType(() => CreateCustomerMetadataResponse$inboundSchema),
37766
- stringType(),
37767
- arrayType(stringType())
37768
- ]);
37769
- CreateCustomerMetadataResponseUnion$outboundSchema = unionType([
37770
- lazyType(() => CreateCustomerMetadataResponse$outboundSchema),
37771
- stringType(),
37772
- arrayType(stringType())
37773
- ]);
37774
- ((CreateCustomerMetadataResponseUnion$) => {
37775
- CreateCustomerMetadataResponseUnion$.inboundSchema = CreateCustomerMetadataResponseUnion$inboundSchema;
37776
- CreateCustomerMetadataResponseUnion$.outboundSchema = CreateCustomerMetadataResponseUnion$outboundSchema;
37777
- })(CreateCustomerMetadataResponseUnion$ ||= {});
37778
37654
  CreateCustomerSelf$inboundSchema = objectType({
37779
37655
  href: stringType(),
37780
37656
  type: stringType()
@@ -37874,11 +37750,7 @@ var init_createcustomer = __esm(() => {
37874
37750
  name: nullableType(stringType()),
37875
37751
  email: nullableType(stringType()),
37876
37752
  locale: nullableType(CreateCustomerLocaleResponse$inboundSchema),
37877
- metadata: nullableType(unionType([
37878
- lazyType(() => CreateCustomerMetadataResponse$inboundSchema),
37879
- stringType(),
37880
- arrayType(stringType())
37881
- ])),
37753
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
37882
37754
  createdAt: stringType(),
37883
37755
  _links: lazyType(() => CreateCustomerLinks$inboundSchema)
37884
37756
  }).transform((v2) => {
@@ -37893,11 +37765,7 @@ var init_createcustomer = __esm(() => {
37893
37765
  name: nullableType(stringType()),
37894
37766
  email: nullableType(stringType()),
37895
37767
  locale: nullableType(CreateCustomerLocaleResponse$outboundSchema),
37896
- metadata: nullableType(unionType([
37897
- lazyType(() => CreateCustomerMetadataResponse$outboundSchema),
37898
- stringType(),
37899
- arrayType(stringType())
37900
- ])),
37768
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
37901
37769
  createdAt: stringType(),
37902
37770
  links: lazyType(() => CreateCustomerLinks$outboundSchema)
37903
37771
  }).transform((v2) => {
@@ -37912,7 +37780,7 @@ var init_createcustomer = __esm(() => {
37912
37780
  });
37913
37781
 
37914
37782
  // src/models/operations/createcustomerpayment.ts
37915
- var CreateCustomerPaymentLineTypeRequest, CreateCustomerPaymentCategoryRequest, CreateCustomerPaymentIntervalRequest, CreateCustomerPaymentLocaleRequest, CreateCustomerPaymentMethodRequest, CreateCustomerPaymentCaptureModeRequest, CreateCustomerPaymentRoutingTypeRequest, CreateCustomerPaymentSequenceTypeRequest, CreateCustomerPaymentMode, CreateCustomerPaymentLineTypeResponse, CreateCustomerPaymentCategoryResponse, CreateCustomerPaymentIntervalResponse, CreateCustomerPaymentLocaleResponse, CreateCustomerPaymentMethodResponse, CreateCustomerPaymentCaptureModeResponse, CreateCustomerPaymentRoutingMode, CreateCustomerPaymentRoutingTypeResponse, CreateCustomerPaymentSequenceTypeResponse, CreateCustomerPaymentStatus, CreateCustomerPaymentAmountRequest$inboundSchema, CreateCustomerPaymentAmountRequest$outboundSchema, CreateCustomerPaymentAmountRequest$, CreateCustomerPaymentLineTypeRequest$inboundSchema, CreateCustomerPaymentLineTypeRequest$outboundSchema, CreateCustomerPaymentLineTypeRequest$, CreateCustomerPaymentUnitPriceRequest$inboundSchema, CreateCustomerPaymentUnitPriceRequest$outboundSchema, CreateCustomerPaymentUnitPriceRequest$, CreateCustomerPaymentDiscountAmountRequest$inboundSchema, CreateCustomerPaymentDiscountAmountRequest$outboundSchema, CreateCustomerPaymentDiscountAmountRequest$, CreateCustomerPaymentTotalAmountRequest$inboundSchema, CreateCustomerPaymentTotalAmountRequest$outboundSchema, CreateCustomerPaymentTotalAmountRequest$, CreateCustomerPaymentVatAmountRequest$inboundSchema, CreateCustomerPaymentVatAmountRequest$outboundSchema, CreateCustomerPaymentVatAmountRequest$, CreateCustomerPaymentCategoryRequest$inboundSchema, CreateCustomerPaymentCategoryRequest$outboundSchema, CreateCustomerPaymentCategoryRequest$, CreateCustomerPaymentIntervalRequest$inboundSchema, CreateCustomerPaymentIntervalRequest$outboundSchema, CreateCustomerPaymentIntervalRequest$, CreateCustomerPaymentRecurringAmountRequest$inboundSchema, CreateCustomerPaymentRecurringAmountRequest$outboundSchema, CreateCustomerPaymentRecurringAmountRequest$, CreateCustomerPaymentRecurringRequest$inboundSchema, CreateCustomerPaymentRecurringRequest$outboundSchema, CreateCustomerPaymentRecurringRequest$, CreateCustomerPaymentLineRequest$inboundSchema, CreateCustomerPaymentLineRequest$outboundSchema, CreateCustomerPaymentLineRequest$, CreateCustomerPaymentBillingAddressRequest$inboundSchema, CreateCustomerPaymentBillingAddressRequest$outboundSchema, CreateCustomerPaymentBillingAddressRequest$, CreateCustomerPaymentShippingAddressRequest$inboundSchema, CreateCustomerPaymentShippingAddressRequest$outboundSchema, CreateCustomerPaymentShippingAddressRequest$, CreateCustomerPaymentLocaleRequest$inboundSchema, CreateCustomerPaymentLocaleRequest$outboundSchema, CreateCustomerPaymentLocaleRequest$, CreateCustomerPaymentMethodRequest$inboundSchema, CreateCustomerPaymentMethodRequest$outboundSchema, CreateCustomerPaymentMethodRequest$, CreateCustomerPaymentMetadataRequest$inboundSchema, CreateCustomerPaymentMetadataRequest$outboundSchema, CreateCustomerPaymentMetadataRequest$, CreateCustomerPaymentMetadataRequestUnion$inboundSchema, CreateCustomerPaymentMetadataRequestUnion$outboundSchema, CreateCustomerPaymentMetadataRequestUnion$, CreateCustomerPaymentCaptureModeRequest$inboundSchema, CreateCustomerPaymentCaptureModeRequest$outboundSchema, CreateCustomerPaymentCaptureModeRequest$, CreateCustomerPaymentApplicationFeeAmountRequest$inboundSchema, CreateCustomerPaymentApplicationFeeAmountRequest$outboundSchema, CreateCustomerPaymentApplicationFeeAmountRequest$, CreateCustomerPaymentApplicationFeeRequest$inboundSchema, CreateCustomerPaymentApplicationFeeRequest$outboundSchema, CreateCustomerPaymentApplicationFeeRequest$, CreateCustomerPaymentRoutingAmountRequest$inboundSchema, CreateCustomerPaymentRoutingAmountRequest$outboundSchema, CreateCustomerPaymentRoutingAmountRequest$, CreateCustomerPaymentRoutingTypeRequest$inboundSchema, CreateCustomerPaymentRoutingTypeRequest$outboundSchema, CreateCustomerPaymentRoutingTypeRequest$, CreateCustomerPaymentDestinationRequest$inboundSchema, CreateCustomerPaymentDestinationRequest$outboundSchema, CreateCustomerPaymentDestinationRequest$, CreateCustomerPaymentSelfRequest$inboundSchema, CreateCustomerPaymentSelfRequest$outboundSchema, CreateCustomerPaymentSelfRequest$, CreateCustomerPaymentPaymentRequest$inboundSchema, CreateCustomerPaymentPaymentRequest$outboundSchema, CreateCustomerPaymentPaymentRequest$, CreateCustomerPaymentLinksRequest$inboundSchema, CreateCustomerPaymentLinksRequest$outboundSchema, CreateCustomerPaymentLinksRequest$, CreateCustomerPaymentRoutingRequest$inboundSchema, CreateCustomerPaymentRoutingRequest$outboundSchema, CreateCustomerPaymentRoutingRequest$, CreateCustomerPaymentSequenceTypeRequest$inboundSchema, CreateCustomerPaymentSequenceTypeRequest$outboundSchema, CreateCustomerPaymentSequenceTypeRequest$, CreateCustomerPaymentRequestBody$inboundSchema, CreateCustomerPaymentRequestBody$outboundSchema, CreateCustomerPaymentRequestBody$, CreateCustomerPaymentRequest$inboundSchema, CreateCustomerPaymentRequest$outboundSchema, CreateCustomerPaymentRequest$, CreateCustomerPaymentServiceUnavailableDocumentation$inboundSchema, CreateCustomerPaymentServiceUnavailableDocumentation$outboundSchema, CreateCustomerPaymentServiceUnavailableDocumentation$, CreateCustomerPaymentServiceUnavailableLinks$inboundSchema, CreateCustomerPaymentServiceUnavailableLinks$outboundSchema, CreateCustomerPaymentServiceUnavailableLinks$, CreateCustomerPaymentUnprocessableEntityDocumentation$inboundSchema, CreateCustomerPaymentUnprocessableEntityDocumentation$outboundSchema, CreateCustomerPaymentUnprocessableEntityDocumentation$, CreateCustomerPaymentUnprocessableEntityLinks$inboundSchema, CreateCustomerPaymentUnprocessableEntityLinks$outboundSchema, CreateCustomerPaymentUnprocessableEntityLinks$, CreateCustomerPaymentMode$inboundSchema, CreateCustomerPaymentMode$outboundSchema, CreateCustomerPaymentMode$, CreateCustomerPaymentAmountResponse$inboundSchema, CreateCustomerPaymentAmountResponse$outboundSchema, CreateCustomerPaymentAmountResponse$, CreateCustomerPaymentAmountRefunded$inboundSchema, CreateCustomerPaymentAmountRefunded$outboundSchema, CreateCustomerPaymentAmountRefunded$, CreateCustomerPaymentAmountRemaining$inboundSchema, CreateCustomerPaymentAmountRemaining$outboundSchema, CreateCustomerPaymentAmountRemaining$, CreateCustomerPaymentAmountCaptured$inboundSchema, CreateCustomerPaymentAmountCaptured$outboundSchema, CreateCustomerPaymentAmountCaptured$, CreateCustomerPaymentAmountChargedBack$inboundSchema, CreateCustomerPaymentAmountChargedBack$outboundSchema, CreateCustomerPaymentAmountChargedBack$, CreateCustomerPaymentSettlementAmount$inboundSchema, CreateCustomerPaymentSettlementAmount$outboundSchema, CreateCustomerPaymentSettlementAmount$, CreateCustomerPaymentLineTypeResponse$inboundSchema, CreateCustomerPaymentLineTypeResponse$outboundSchema, CreateCustomerPaymentLineTypeResponse$, CreateCustomerPaymentUnitPriceResponse$inboundSchema, CreateCustomerPaymentUnitPriceResponse$outboundSchema, CreateCustomerPaymentUnitPriceResponse$, CreateCustomerPaymentDiscountAmountResponse$inboundSchema, CreateCustomerPaymentDiscountAmountResponse$outboundSchema, CreateCustomerPaymentDiscountAmountResponse$, CreateCustomerPaymentTotalAmountResponse$inboundSchema, CreateCustomerPaymentTotalAmountResponse$outboundSchema, CreateCustomerPaymentTotalAmountResponse$, CreateCustomerPaymentVatAmountResponse$inboundSchema, CreateCustomerPaymentVatAmountResponse$outboundSchema, CreateCustomerPaymentVatAmountResponse$, CreateCustomerPaymentCategoryResponse$inboundSchema, CreateCustomerPaymentCategoryResponse$outboundSchema, CreateCustomerPaymentCategoryResponse$, CreateCustomerPaymentIntervalResponse$inboundSchema, CreateCustomerPaymentIntervalResponse$outboundSchema, CreateCustomerPaymentIntervalResponse$, CreateCustomerPaymentRecurringAmountResponse$inboundSchema, CreateCustomerPaymentRecurringAmountResponse$outboundSchema, CreateCustomerPaymentRecurringAmountResponse$, CreateCustomerPaymentRecurringResponse$inboundSchema, CreateCustomerPaymentRecurringResponse$outboundSchema, CreateCustomerPaymentRecurringResponse$, CreateCustomerPaymentLineResponse$inboundSchema, CreateCustomerPaymentLineResponse$outboundSchema, CreateCustomerPaymentLineResponse$, CreateCustomerPaymentBillingAddressResponse$inboundSchema, CreateCustomerPaymentBillingAddressResponse$outboundSchema, CreateCustomerPaymentBillingAddressResponse$, CreateCustomerPaymentShippingAddressResponse$inboundSchema, CreateCustomerPaymentShippingAddressResponse$outboundSchema, CreateCustomerPaymentShippingAddressResponse$, CreateCustomerPaymentLocaleResponse$inboundSchema, CreateCustomerPaymentLocaleResponse$outboundSchema, CreateCustomerPaymentLocaleResponse$, CreateCustomerPaymentMethodResponse$inboundSchema, CreateCustomerPaymentMethodResponse$outboundSchema, CreateCustomerPaymentMethodResponse$, CreateCustomerPaymentMetadataResponse$inboundSchema, CreateCustomerPaymentMetadataResponse$outboundSchema, CreateCustomerPaymentMetadataResponse$, CreateCustomerPaymentMetadataResponseUnion$inboundSchema, CreateCustomerPaymentMetadataResponseUnion$outboundSchema, CreateCustomerPaymentMetadataResponseUnion$, CreateCustomerPaymentCaptureModeResponse$inboundSchema, CreateCustomerPaymentCaptureModeResponse$outboundSchema, CreateCustomerPaymentCaptureModeResponse$, CreateCustomerPaymentApplicationFeeAmountResponse$inboundSchema, CreateCustomerPaymentApplicationFeeAmountResponse$outboundSchema, CreateCustomerPaymentApplicationFeeAmountResponse$, CreateCustomerPaymentApplicationFeeResponse$inboundSchema, CreateCustomerPaymentApplicationFeeResponse$outboundSchema, CreateCustomerPaymentApplicationFeeResponse$, CreateCustomerPaymentRoutingMode$inboundSchema, CreateCustomerPaymentRoutingMode$outboundSchema, CreateCustomerPaymentRoutingMode$, CreateCustomerPaymentRoutingAmountResponse$inboundSchema, CreateCustomerPaymentRoutingAmountResponse$outboundSchema, CreateCustomerPaymentRoutingAmountResponse$, CreateCustomerPaymentRoutingTypeResponse$inboundSchema, CreateCustomerPaymentRoutingTypeResponse$outboundSchema, CreateCustomerPaymentRoutingTypeResponse$, CreateCustomerPaymentDestinationResponse$inboundSchema, CreateCustomerPaymentDestinationResponse$outboundSchema, CreateCustomerPaymentDestinationResponse$, CreateCustomerPaymentRoutingSelfResponse$inboundSchema, CreateCustomerPaymentRoutingSelfResponse$outboundSchema, CreateCustomerPaymentRoutingSelfResponse$, CreateCustomerPaymentPaymentResponse$inboundSchema, CreateCustomerPaymentPaymentResponse$outboundSchema, CreateCustomerPaymentPaymentResponse$, CreateCustomerPaymentRoutingLinksResponse$inboundSchema, CreateCustomerPaymentRoutingLinksResponse$outboundSchema, CreateCustomerPaymentRoutingLinksResponse$, CreateCustomerPaymentRoutingResponse$inboundSchema, CreateCustomerPaymentRoutingResponse$outboundSchema, CreateCustomerPaymentRoutingResponse$, CreateCustomerPaymentSequenceTypeResponse$inboundSchema, CreateCustomerPaymentSequenceTypeResponse$outboundSchema, CreateCustomerPaymentSequenceTypeResponse$, CreateCustomerPaymentStatus$inboundSchema, CreateCustomerPaymentStatus$outboundSchema, CreateCustomerPaymentStatus$, CreateCustomerPaymentStatusReason$inboundSchema, CreateCustomerPaymentStatusReason$outboundSchema, CreateCustomerPaymentStatusReason$, CreateCustomerPaymentSelfResponse$inboundSchema, CreateCustomerPaymentSelfResponse$outboundSchema, CreateCustomerPaymentSelfResponse$, CreateCustomerPaymentCheckout$inboundSchema, CreateCustomerPaymentCheckout$outboundSchema, CreateCustomerPaymentCheckout$, CreateCustomerPaymentMobileAppCheckout$inboundSchema, CreateCustomerPaymentMobileAppCheckout$outboundSchema, CreateCustomerPaymentMobileAppCheckout$, CreateCustomerPaymentChangePaymentState$inboundSchema, CreateCustomerPaymentChangePaymentState$outboundSchema, CreateCustomerPaymentChangePaymentState$, CreateCustomerPaymentDashboard$inboundSchema, CreateCustomerPaymentDashboard$outboundSchema, CreateCustomerPaymentDashboard$, CreateCustomerPaymentRefunds$inboundSchema, CreateCustomerPaymentRefunds$outboundSchema, CreateCustomerPaymentRefunds$, CreateCustomerPaymentChargebacks$inboundSchema, CreateCustomerPaymentChargebacks$outboundSchema, CreateCustomerPaymentChargebacks$, CreateCustomerPaymentCaptures$inboundSchema, CreateCustomerPaymentCaptures$outboundSchema, CreateCustomerPaymentCaptures$, CreateCustomerPaymentSettlement$inboundSchema, CreateCustomerPaymentSettlement$outboundSchema, CreateCustomerPaymentSettlement$, CreateCustomerPaymentCustomer$inboundSchema, CreateCustomerPaymentCustomer$outboundSchema, CreateCustomerPaymentCustomer$, CreateCustomerPaymentMandate$inboundSchema, CreateCustomerPaymentMandate$outboundSchema, CreateCustomerPaymentMandate$, CreateCustomerPaymentSubscription$inboundSchema, CreateCustomerPaymentSubscription$outboundSchema, CreateCustomerPaymentSubscription$, CreateCustomerPaymentOrder$inboundSchema, CreateCustomerPaymentOrder$outboundSchema, CreateCustomerPaymentOrder$, CreateCustomerPaymentTerminal$inboundSchema, CreateCustomerPaymentTerminal$outboundSchema, CreateCustomerPaymentTerminal$, CreateCustomerPaymentDocumentation$inboundSchema, CreateCustomerPaymentDocumentation$outboundSchema, CreateCustomerPaymentDocumentation$, CreateCustomerPaymentLinksResponse$inboundSchema, CreateCustomerPaymentLinksResponse$outboundSchema, CreateCustomerPaymentLinksResponse$, CreateCustomerPaymentResponse$inboundSchema, CreateCustomerPaymentResponse$outboundSchema, CreateCustomerPaymentResponse$;
37783
+ var CreateCustomerPaymentLineTypeRequest, CreateCustomerPaymentCategoryRequest, CreateCustomerPaymentIntervalRequest, CreateCustomerPaymentLocaleRequest, CreateCustomerPaymentMethodRequest, CreateCustomerPaymentCaptureModeRequest, CreateCustomerPaymentRoutingTypeRequest, CreateCustomerPaymentSequenceTypeRequest, CreateCustomerPaymentMode, CreateCustomerPaymentLineTypeResponse, CreateCustomerPaymentCategoryResponse, CreateCustomerPaymentIntervalResponse, CreateCustomerPaymentLocaleResponse, CreateCustomerPaymentMethodResponse, CreateCustomerPaymentCaptureModeResponse, CreateCustomerPaymentRoutingMode, CreateCustomerPaymentRoutingTypeResponse, CreateCustomerPaymentSequenceTypeResponse, CreateCustomerPaymentStatus, CreateCustomerPaymentAmountRequest$inboundSchema, CreateCustomerPaymentAmountRequest$outboundSchema, CreateCustomerPaymentAmountRequest$, CreateCustomerPaymentLineTypeRequest$inboundSchema, CreateCustomerPaymentLineTypeRequest$outboundSchema, CreateCustomerPaymentLineTypeRequest$, CreateCustomerPaymentUnitPriceRequest$inboundSchema, CreateCustomerPaymentUnitPriceRequest$outboundSchema, CreateCustomerPaymentUnitPriceRequest$, CreateCustomerPaymentDiscountAmountRequest$inboundSchema, CreateCustomerPaymentDiscountAmountRequest$outboundSchema, CreateCustomerPaymentDiscountAmountRequest$, CreateCustomerPaymentTotalAmountRequest$inboundSchema, CreateCustomerPaymentTotalAmountRequest$outboundSchema, CreateCustomerPaymentTotalAmountRequest$, CreateCustomerPaymentVatAmountRequest$inboundSchema, CreateCustomerPaymentVatAmountRequest$outboundSchema, CreateCustomerPaymentVatAmountRequest$, CreateCustomerPaymentCategoryRequest$inboundSchema, CreateCustomerPaymentCategoryRequest$outboundSchema, CreateCustomerPaymentCategoryRequest$, CreateCustomerPaymentIntervalRequest$inboundSchema, CreateCustomerPaymentIntervalRequest$outboundSchema, CreateCustomerPaymentIntervalRequest$, CreateCustomerPaymentRecurringAmountRequest$inboundSchema, CreateCustomerPaymentRecurringAmountRequest$outboundSchema, CreateCustomerPaymentRecurringAmountRequest$, CreateCustomerPaymentRecurringRequest$inboundSchema, CreateCustomerPaymentRecurringRequest$outboundSchema, CreateCustomerPaymentRecurringRequest$, CreateCustomerPaymentLineRequest$inboundSchema, CreateCustomerPaymentLineRequest$outboundSchema, CreateCustomerPaymentLineRequest$, CreateCustomerPaymentBillingAddressRequest$inboundSchema, CreateCustomerPaymentBillingAddressRequest$outboundSchema, CreateCustomerPaymentBillingAddressRequest$, CreateCustomerPaymentShippingAddressRequest$inboundSchema, CreateCustomerPaymentShippingAddressRequest$outboundSchema, CreateCustomerPaymentShippingAddressRequest$, CreateCustomerPaymentLocaleRequest$inboundSchema, CreateCustomerPaymentLocaleRequest$outboundSchema, CreateCustomerPaymentLocaleRequest$, CreateCustomerPaymentMethodRequest$inboundSchema, CreateCustomerPaymentMethodRequest$outboundSchema, CreateCustomerPaymentMethodRequest$, CreateCustomerPaymentMetadataRequest$inboundSchema, CreateCustomerPaymentMetadataRequest$outboundSchema, CreateCustomerPaymentMetadataRequest$, CreateCustomerPaymentCaptureModeRequest$inboundSchema, CreateCustomerPaymentCaptureModeRequest$outboundSchema, CreateCustomerPaymentCaptureModeRequest$, CreateCustomerPaymentApplicationFeeAmountRequest$inboundSchema, CreateCustomerPaymentApplicationFeeAmountRequest$outboundSchema, CreateCustomerPaymentApplicationFeeAmountRequest$, CreateCustomerPaymentApplicationFeeRequest$inboundSchema, CreateCustomerPaymentApplicationFeeRequest$outboundSchema, CreateCustomerPaymentApplicationFeeRequest$, CreateCustomerPaymentRoutingAmountRequest$inboundSchema, CreateCustomerPaymentRoutingAmountRequest$outboundSchema, CreateCustomerPaymentRoutingAmountRequest$, CreateCustomerPaymentRoutingTypeRequest$inboundSchema, CreateCustomerPaymentRoutingTypeRequest$outboundSchema, CreateCustomerPaymentRoutingTypeRequest$, CreateCustomerPaymentDestinationRequest$inboundSchema, CreateCustomerPaymentDestinationRequest$outboundSchema, CreateCustomerPaymentDestinationRequest$, CreateCustomerPaymentSelfRequest$inboundSchema, CreateCustomerPaymentSelfRequest$outboundSchema, CreateCustomerPaymentSelfRequest$, CreateCustomerPaymentPaymentRequest$inboundSchema, CreateCustomerPaymentPaymentRequest$outboundSchema, CreateCustomerPaymentPaymentRequest$, CreateCustomerPaymentLinksRequest$inboundSchema, CreateCustomerPaymentLinksRequest$outboundSchema, CreateCustomerPaymentLinksRequest$, CreateCustomerPaymentRoutingRequest$inboundSchema, CreateCustomerPaymentRoutingRequest$outboundSchema, CreateCustomerPaymentRoutingRequest$, CreateCustomerPaymentSequenceTypeRequest$inboundSchema, CreateCustomerPaymentSequenceTypeRequest$outboundSchema, CreateCustomerPaymentSequenceTypeRequest$, CreateCustomerPaymentRequestBody$inboundSchema, CreateCustomerPaymentRequestBody$outboundSchema, CreateCustomerPaymentRequestBody$, CreateCustomerPaymentRequest$inboundSchema, CreateCustomerPaymentRequest$outboundSchema, CreateCustomerPaymentRequest$, CreateCustomerPaymentServiceUnavailableDocumentation$inboundSchema, CreateCustomerPaymentServiceUnavailableDocumentation$outboundSchema, CreateCustomerPaymentServiceUnavailableDocumentation$, CreateCustomerPaymentServiceUnavailableLinks$inboundSchema, CreateCustomerPaymentServiceUnavailableLinks$outboundSchema, CreateCustomerPaymentServiceUnavailableLinks$, CreateCustomerPaymentUnprocessableEntityDocumentation$inboundSchema, CreateCustomerPaymentUnprocessableEntityDocumentation$outboundSchema, CreateCustomerPaymentUnprocessableEntityDocumentation$, CreateCustomerPaymentUnprocessableEntityLinks$inboundSchema, CreateCustomerPaymentUnprocessableEntityLinks$outboundSchema, CreateCustomerPaymentUnprocessableEntityLinks$, CreateCustomerPaymentMode$inboundSchema, CreateCustomerPaymentMode$outboundSchema, CreateCustomerPaymentMode$, CreateCustomerPaymentAmountResponse$inboundSchema, CreateCustomerPaymentAmountResponse$outboundSchema, CreateCustomerPaymentAmountResponse$, CreateCustomerPaymentAmountRefunded$inboundSchema, CreateCustomerPaymentAmountRefunded$outboundSchema, CreateCustomerPaymentAmountRefunded$, CreateCustomerPaymentAmountRemaining$inboundSchema, CreateCustomerPaymentAmountRemaining$outboundSchema, CreateCustomerPaymentAmountRemaining$, CreateCustomerPaymentAmountCaptured$inboundSchema, CreateCustomerPaymentAmountCaptured$outboundSchema, CreateCustomerPaymentAmountCaptured$, CreateCustomerPaymentAmountChargedBack$inboundSchema, CreateCustomerPaymentAmountChargedBack$outboundSchema, CreateCustomerPaymentAmountChargedBack$, CreateCustomerPaymentSettlementAmount$inboundSchema, CreateCustomerPaymentSettlementAmount$outboundSchema, CreateCustomerPaymentSettlementAmount$, CreateCustomerPaymentLineTypeResponse$inboundSchema, CreateCustomerPaymentLineTypeResponse$outboundSchema, CreateCustomerPaymentLineTypeResponse$, CreateCustomerPaymentUnitPriceResponse$inboundSchema, CreateCustomerPaymentUnitPriceResponse$outboundSchema, CreateCustomerPaymentUnitPriceResponse$, CreateCustomerPaymentDiscountAmountResponse$inboundSchema, CreateCustomerPaymentDiscountAmountResponse$outboundSchema, CreateCustomerPaymentDiscountAmountResponse$, CreateCustomerPaymentTotalAmountResponse$inboundSchema, CreateCustomerPaymentTotalAmountResponse$outboundSchema, CreateCustomerPaymentTotalAmountResponse$, CreateCustomerPaymentVatAmountResponse$inboundSchema, CreateCustomerPaymentVatAmountResponse$outboundSchema, CreateCustomerPaymentVatAmountResponse$, CreateCustomerPaymentCategoryResponse$inboundSchema, CreateCustomerPaymentCategoryResponse$outboundSchema, CreateCustomerPaymentCategoryResponse$, CreateCustomerPaymentIntervalResponse$inboundSchema, CreateCustomerPaymentIntervalResponse$outboundSchema, CreateCustomerPaymentIntervalResponse$, CreateCustomerPaymentRecurringAmountResponse$inboundSchema, CreateCustomerPaymentRecurringAmountResponse$outboundSchema, CreateCustomerPaymentRecurringAmountResponse$, CreateCustomerPaymentRecurringResponse$inboundSchema, CreateCustomerPaymentRecurringResponse$outboundSchema, CreateCustomerPaymentRecurringResponse$, CreateCustomerPaymentLineResponse$inboundSchema, CreateCustomerPaymentLineResponse$outboundSchema, CreateCustomerPaymentLineResponse$, CreateCustomerPaymentBillingAddressResponse$inboundSchema, CreateCustomerPaymentBillingAddressResponse$outboundSchema, CreateCustomerPaymentBillingAddressResponse$, CreateCustomerPaymentShippingAddressResponse$inboundSchema, CreateCustomerPaymentShippingAddressResponse$outboundSchema, CreateCustomerPaymentShippingAddressResponse$, CreateCustomerPaymentLocaleResponse$inboundSchema, CreateCustomerPaymentLocaleResponse$outboundSchema, CreateCustomerPaymentLocaleResponse$, CreateCustomerPaymentMethodResponse$inboundSchema, CreateCustomerPaymentMethodResponse$outboundSchema, CreateCustomerPaymentMethodResponse$, CreateCustomerPaymentMetadataResponse$inboundSchema, CreateCustomerPaymentMetadataResponse$outboundSchema, CreateCustomerPaymentMetadataResponse$, CreateCustomerPaymentCaptureModeResponse$inboundSchema, CreateCustomerPaymentCaptureModeResponse$outboundSchema, CreateCustomerPaymentCaptureModeResponse$, CreateCustomerPaymentApplicationFeeAmountResponse$inboundSchema, CreateCustomerPaymentApplicationFeeAmountResponse$outboundSchema, CreateCustomerPaymentApplicationFeeAmountResponse$, CreateCustomerPaymentApplicationFeeResponse$inboundSchema, CreateCustomerPaymentApplicationFeeResponse$outboundSchema, CreateCustomerPaymentApplicationFeeResponse$, CreateCustomerPaymentRoutingMode$inboundSchema, CreateCustomerPaymentRoutingMode$outboundSchema, CreateCustomerPaymentRoutingMode$, CreateCustomerPaymentRoutingAmountResponse$inboundSchema, CreateCustomerPaymentRoutingAmountResponse$outboundSchema, CreateCustomerPaymentRoutingAmountResponse$, CreateCustomerPaymentRoutingTypeResponse$inboundSchema, CreateCustomerPaymentRoutingTypeResponse$outboundSchema, CreateCustomerPaymentRoutingTypeResponse$, CreateCustomerPaymentDestinationResponse$inboundSchema, CreateCustomerPaymentDestinationResponse$outboundSchema, CreateCustomerPaymentDestinationResponse$, CreateCustomerPaymentRoutingSelfResponse$inboundSchema, CreateCustomerPaymentRoutingSelfResponse$outboundSchema, CreateCustomerPaymentRoutingSelfResponse$, CreateCustomerPaymentPaymentResponse$inboundSchema, CreateCustomerPaymentPaymentResponse$outboundSchema, CreateCustomerPaymentPaymentResponse$, CreateCustomerPaymentRoutingLinksResponse$inboundSchema, CreateCustomerPaymentRoutingLinksResponse$outboundSchema, CreateCustomerPaymentRoutingLinksResponse$, CreateCustomerPaymentRoutingResponse$inboundSchema, CreateCustomerPaymentRoutingResponse$outboundSchema, CreateCustomerPaymentRoutingResponse$, CreateCustomerPaymentSequenceTypeResponse$inboundSchema, CreateCustomerPaymentSequenceTypeResponse$outboundSchema, CreateCustomerPaymentSequenceTypeResponse$, CreateCustomerPaymentStatus$inboundSchema, CreateCustomerPaymentStatus$outboundSchema, CreateCustomerPaymentStatus$, CreateCustomerPaymentStatusReason$inboundSchema, CreateCustomerPaymentStatusReason$outboundSchema, CreateCustomerPaymentStatusReason$, CreateCustomerPaymentSelfResponse$inboundSchema, CreateCustomerPaymentSelfResponse$outboundSchema, CreateCustomerPaymentSelfResponse$, CreateCustomerPaymentCheckout$inboundSchema, CreateCustomerPaymentCheckout$outboundSchema, CreateCustomerPaymentCheckout$, CreateCustomerPaymentMobileAppCheckout$inboundSchema, CreateCustomerPaymentMobileAppCheckout$outboundSchema, CreateCustomerPaymentMobileAppCheckout$, CreateCustomerPaymentChangePaymentState$inboundSchema, CreateCustomerPaymentChangePaymentState$outboundSchema, CreateCustomerPaymentChangePaymentState$, CreateCustomerPaymentDashboard$inboundSchema, CreateCustomerPaymentDashboard$outboundSchema, CreateCustomerPaymentDashboard$, CreateCustomerPaymentRefunds$inboundSchema, CreateCustomerPaymentRefunds$outboundSchema, CreateCustomerPaymentRefunds$, CreateCustomerPaymentChargebacks$inboundSchema, CreateCustomerPaymentChargebacks$outboundSchema, CreateCustomerPaymentChargebacks$, CreateCustomerPaymentCaptures$inboundSchema, CreateCustomerPaymentCaptures$outboundSchema, CreateCustomerPaymentCaptures$, CreateCustomerPaymentSettlement$inboundSchema, CreateCustomerPaymentSettlement$outboundSchema, CreateCustomerPaymentSettlement$, CreateCustomerPaymentCustomer$inboundSchema, CreateCustomerPaymentCustomer$outboundSchema, CreateCustomerPaymentCustomer$, CreateCustomerPaymentMandate$inboundSchema, CreateCustomerPaymentMandate$outboundSchema, CreateCustomerPaymentMandate$, CreateCustomerPaymentSubscription$inboundSchema, CreateCustomerPaymentSubscription$outboundSchema, CreateCustomerPaymentSubscription$, CreateCustomerPaymentOrder$inboundSchema, CreateCustomerPaymentOrder$outboundSchema, CreateCustomerPaymentOrder$, CreateCustomerPaymentTerminal$inboundSchema, CreateCustomerPaymentTerminal$outboundSchema, CreateCustomerPaymentTerminal$, CreateCustomerPaymentDocumentation$inboundSchema, CreateCustomerPaymentDocumentation$outboundSchema, CreateCustomerPaymentDocumentation$, CreateCustomerPaymentLinksResponse$inboundSchema, CreateCustomerPaymentLinksResponse$outboundSchema, CreateCustomerPaymentLinksResponse$, CreateCustomerPaymentResponse$inboundSchema, CreateCustomerPaymentResponse$outboundSchema, CreateCustomerPaymentResponse$;
37916
37784
  var init_createcustomerpayment = __esm(() => {
37917
37785
  init_esm();
37918
37786
  init_primitives();
@@ -38343,26 +38211,12 @@ var init_createcustomerpayment = __esm(() => {
38343
38211
  CreateCustomerPaymentMethodRequest$.inboundSchema = CreateCustomerPaymentMethodRequest$inboundSchema;
38344
38212
  CreateCustomerPaymentMethodRequest$.outboundSchema = CreateCustomerPaymentMethodRequest$outboundSchema;
38345
38213
  })(CreateCustomerPaymentMethodRequest$ ||= {});
38346
- CreateCustomerPaymentMetadataRequest$inboundSchema = objectType({});
38347
- CreateCustomerPaymentMetadataRequest$outboundSchema = objectType({});
38214
+ CreateCustomerPaymentMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
38215
+ CreateCustomerPaymentMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
38348
38216
  ((CreateCustomerPaymentMetadataRequest$) => {
38349
38217
  CreateCustomerPaymentMetadataRequest$.inboundSchema = CreateCustomerPaymentMetadataRequest$inboundSchema;
38350
38218
  CreateCustomerPaymentMetadataRequest$.outboundSchema = CreateCustomerPaymentMetadataRequest$outboundSchema;
38351
38219
  })(CreateCustomerPaymentMetadataRequest$ ||= {});
38352
- CreateCustomerPaymentMetadataRequestUnion$inboundSchema = unionType([
38353
- lazyType(() => CreateCustomerPaymentMetadataRequest$inboundSchema),
38354
- stringType(),
38355
- arrayType(stringType())
38356
- ]);
38357
- CreateCustomerPaymentMetadataRequestUnion$outboundSchema = unionType([
38358
- lazyType(() => CreateCustomerPaymentMetadataRequest$outboundSchema),
38359
- stringType(),
38360
- arrayType(stringType())
38361
- ]);
38362
- ((CreateCustomerPaymentMetadataRequestUnion$) => {
38363
- CreateCustomerPaymentMetadataRequestUnion$.inboundSchema = CreateCustomerPaymentMetadataRequestUnion$inboundSchema;
38364
- CreateCustomerPaymentMetadataRequestUnion$.outboundSchema = CreateCustomerPaymentMetadataRequestUnion$outboundSchema;
38365
- })(CreateCustomerPaymentMetadataRequestUnion$ ||= {});
38366
38220
  CreateCustomerPaymentCaptureModeRequest$inboundSchema = nativeEnumType(CreateCustomerPaymentCaptureModeRequest);
38367
38221
  CreateCustomerPaymentCaptureModeRequest$outboundSchema = CreateCustomerPaymentCaptureModeRequest$inboundSchema;
38368
38222
  ((CreateCustomerPaymentCaptureModeRequest$) => {
@@ -38502,11 +38356,7 @@ var init_createcustomerpayment = __esm(() => {
38502
38356
  method: nullableType(CreateCustomerPaymentMethodRequest$inboundSchema).optional(),
38503
38357
  issuer: nullableType(stringType()).optional(),
38504
38358
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
38505
- metadata: nullableType(unionType([
38506
- lazyType(() => CreateCustomerPaymentMetadataRequest$inboundSchema),
38507
- stringType(),
38508
- arrayType(stringType())
38509
- ])).optional(),
38359
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
38510
38360
  captureMode: nullableType(CreateCustomerPaymentCaptureModeRequest$inboundSchema).optional(),
38511
38361
  captureDelay: nullableType(stringType()).optional(),
38512
38362
  applicationFee: nullableType(lazyType(() => CreateCustomerPaymentApplicationFeeRequest$inboundSchema)).optional(),
@@ -38531,11 +38381,7 @@ var init_createcustomerpayment = __esm(() => {
38531
38381
  method: nullableType(CreateCustomerPaymentMethodRequest$outboundSchema).optional(),
38532
38382
  issuer: nullableType(stringType()).optional(),
38533
38383
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
38534
- metadata: nullableType(unionType([
38535
- lazyType(() => CreateCustomerPaymentMetadataRequest$outboundSchema),
38536
- stringType(),
38537
- arrayType(stringType())
38538
- ])).optional(),
38384
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
38539
38385
  captureMode: nullableType(CreateCustomerPaymentCaptureModeRequest$outboundSchema).optional(),
38540
38386
  captureDelay: nullableType(stringType()).optional(),
38541
38387
  applicationFee: nullableType(lazyType(() => CreateCustomerPaymentApplicationFeeRequest$outboundSchema)).optional(),
@@ -38901,26 +38747,12 @@ var init_createcustomerpayment = __esm(() => {
38901
38747
  CreateCustomerPaymentMethodResponse$.inboundSchema = CreateCustomerPaymentMethodResponse$inboundSchema;
38902
38748
  CreateCustomerPaymentMethodResponse$.outboundSchema = CreateCustomerPaymentMethodResponse$outboundSchema;
38903
38749
  })(CreateCustomerPaymentMethodResponse$ ||= {});
38904
- CreateCustomerPaymentMetadataResponse$inboundSchema = objectType({});
38905
- CreateCustomerPaymentMetadataResponse$outboundSchema = objectType({});
38750
+ CreateCustomerPaymentMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
38751
+ CreateCustomerPaymentMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
38906
38752
  ((CreateCustomerPaymentMetadataResponse$) => {
38907
38753
  CreateCustomerPaymentMetadataResponse$.inboundSchema = CreateCustomerPaymentMetadataResponse$inboundSchema;
38908
38754
  CreateCustomerPaymentMetadataResponse$.outboundSchema = CreateCustomerPaymentMetadataResponse$outboundSchema;
38909
38755
  })(CreateCustomerPaymentMetadataResponse$ ||= {});
38910
- CreateCustomerPaymentMetadataResponseUnion$inboundSchema = unionType([
38911
- lazyType(() => CreateCustomerPaymentMetadataResponse$inboundSchema),
38912
- stringType(),
38913
- arrayType(stringType())
38914
- ]);
38915
- CreateCustomerPaymentMetadataResponseUnion$outboundSchema = unionType([
38916
- lazyType(() => CreateCustomerPaymentMetadataResponse$outboundSchema),
38917
- stringType(),
38918
- arrayType(stringType())
38919
- ]);
38920
- ((CreateCustomerPaymentMetadataResponseUnion$) => {
38921
- CreateCustomerPaymentMetadataResponseUnion$.inboundSchema = CreateCustomerPaymentMetadataResponseUnion$inboundSchema;
38922
- CreateCustomerPaymentMetadataResponseUnion$.outboundSchema = CreateCustomerPaymentMetadataResponseUnion$outboundSchema;
38923
- })(CreateCustomerPaymentMetadataResponseUnion$ ||= {});
38924
38756
  CreateCustomerPaymentCaptureModeResponse$inboundSchema = nativeEnumType(CreateCustomerPaymentCaptureModeResponse);
38925
38757
  CreateCustomerPaymentCaptureModeResponse$outboundSchema = CreateCustomerPaymentCaptureModeResponse$inboundSchema;
38926
38758
  ((CreateCustomerPaymentCaptureModeResponse$) => {
@@ -39318,11 +39150,7 @@ var init_createcustomerpayment = __esm(() => {
39318
39150
  countryCode: nullableType(stringType()).optional(),
39319
39151
  method: nullableType(CreateCustomerPaymentMethodResponse$inboundSchema).optional(),
39320
39152
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
39321
- metadata: nullableType(unionType([
39322
- lazyType(() => CreateCustomerPaymentMetadataResponse$inboundSchema),
39323
- stringType(),
39324
- arrayType(stringType())
39325
- ])).optional(),
39153
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
39326
39154
  captureMode: nullableType(CreateCustomerPaymentCaptureModeResponse$inboundSchema).optional(),
39327
39155
  captureDelay: nullableType(stringType()).optional(),
39328
39156
  captureBefore: nullableType(stringType()).optional(),
@@ -39373,11 +39201,7 @@ var init_createcustomerpayment = __esm(() => {
39373
39201
  countryCode: nullableType(stringType()).optional(),
39374
39202
  method: nullableType(CreateCustomerPaymentMethodResponse$outboundSchema).optional(),
39375
39203
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
39376
- metadata: nullableType(unionType([
39377
- lazyType(() => CreateCustomerPaymentMetadataResponse$outboundSchema),
39378
- stringType(),
39379
- arrayType(stringType())
39380
- ])).optional(),
39204
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
39381
39205
  captureMode: nullableType(CreateCustomerPaymentCaptureModeResponse$outboundSchema).optional(),
39382
39206
  captureDelay: nullableType(stringType()).optional(),
39383
39207
  captureBefore: nullableType(stringType()).optional(),
@@ -39668,7 +39492,7 @@ var init_createmandate = __esm(() => {
39668
39492
  });
39669
39493
 
39670
39494
  // src/models/operations/createpayment.ts
39671
- var CreatePaymentInclude, CreatePaymentLineTypeRequest, CreatePaymentCategoryRequest, CreatePaymentIntervalRequest, CreatePaymentLocaleRequest, CreatePaymentMethodRequest, CreatePaymentCaptureModeRequest, CreatePaymentRoutingTypeRequest, CreatePaymentSequenceTypeRequest, CreatePaymentMode, CreatePaymentLineTypeResponse, CreatePaymentCategoryResponse, CreatePaymentIntervalResponse, CreatePaymentLocaleResponse, CreatePaymentMethodResponse, CreatePaymentCaptureModeResponse, CreatePaymentRoutingMode, CreatePaymentRoutingTypeResponse, CreatePaymentSequenceTypeResponse, CreatePaymentStatus, CreatePaymentInclude$inboundSchema, CreatePaymentInclude$outboundSchema, CreatePaymentInclude$, CreatePaymentAmountRequest$inboundSchema, CreatePaymentAmountRequest$outboundSchema, CreatePaymentAmountRequest$, CreatePaymentLineTypeRequest$inboundSchema, CreatePaymentLineTypeRequest$outboundSchema, CreatePaymentLineTypeRequest$, CreatePaymentUnitPriceRequest$inboundSchema, CreatePaymentUnitPriceRequest$outboundSchema, CreatePaymentUnitPriceRequest$, CreatePaymentDiscountAmountRequest$inboundSchema, CreatePaymentDiscountAmountRequest$outboundSchema, CreatePaymentDiscountAmountRequest$, CreatePaymentTotalAmountRequest$inboundSchema, CreatePaymentTotalAmountRequest$outboundSchema, CreatePaymentTotalAmountRequest$, CreatePaymentVatAmountRequest$inboundSchema, CreatePaymentVatAmountRequest$outboundSchema, CreatePaymentVatAmountRequest$, CreatePaymentCategoryRequest$inboundSchema, CreatePaymentCategoryRequest$outboundSchema, CreatePaymentCategoryRequest$, CreatePaymentIntervalRequest$inboundSchema, CreatePaymentIntervalRequest$outboundSchema, CreatePaymentIntervalRequest$, CreatePaymentRecurringAmountRequest$inboundSchema, CreatePaymentRecurringAmountRequest$outboundSchema, CreatePaymentRecurringAmountRequest$, CreatePaymentRecurringRequest$inboundSchema, CreatePaymentRecurringRequest$outboundSchema, CreatePaymentRecurringRequest$, CreatePaymentLineRequest$inboundSchema, CreatePaymentLineRequest$outboundSchema, CreatePaymentLineRequest$, CreatePaymentBillingAddressRequest$inboundSchema, CreatePaymentBillingAddressRequest$outboundSchema, CreatePaymentBillingAddressRequest$, CreatePaymentShippingAddressRequest$inboundSchema, CreatePaymentShippingAddressRequest$outboundSchema, CreatePaymentShippingAddressRequest$, CreatePaymentLocaleRequest$inboundSchema, CreatePaymentLocaleRequest$outboundSchema, CreatePaymentLocaleRequest$, CreatePaymentMethodRequest$inboundSchema, CreatePaymentMethodRequest$outboundSchema, CreatePaymentMethodRequest$, CreatePaymentMetadataRequest$inboundSchema, CreatePaymentMetadataRequest$outboundSchema, CreatePaymentMetadataRequest$, CreatePaymentMetadataRequestUnion$inboundSchema, CreatePaymentMetadataRequestUnion$outboundSchema, CreatePaymentMetadataRequestUnion$, CreatePaymentCaptureModeRequest$inboundSchema, CreatePaymentCaptureModeRequest$outboundSchema, CreatePaymentCaptureModeRequest$, CreatePaymentApplicationFeeAmountRequest$inboundSchema, CreatePaymentApplicationFeeAmountRequest$outboundSchema, CreatePaymentApplicationFeeAmountRequest$, CreatePaymentApplicationFeeRequest$inboundSchema, CreatePaymentApplicationFeeRequest$outboundSchema, CreatePaymentApplicationFeeRequest$, CreatePaymentRoutingAmountRequest$inboundSchema, CreatePaymentRoutingAmountRequest$outboundSchema, CreatePaymentRoutingAmountRequest$, CreatePaymentRoutingTypeRequest$inboundSchema, CreatePaymentRoutingTypeRequest$outboundSchema, CreatePaymentRoutingTypeRequest$, CreatePaymentDestinationRequest$inboundSchema, CreatePaymentDestinationRequest$outboundSchema, CreatePaymentDestinationRequest$, CreatePaymentSelfRequest$inboundSchema, CreatePaymentSelfRequest$outboundSchema, CreatePaymentSelfRequest$, CreatePaymentPaymentRequest$inboundSchema, CreatePaymentPaymentRequest$outboundSchema, CreatePaymentPaymentRequest$, CreatePaymentLinksRequest$inboundSchema, CreatePaymentLinksRequest$outboundSchema, CreatePaymentLinksRequest$, CreatePaymentRoutingRequest$inboundSchema, CreatePaymentRoutingRequest$outboundSchema, CreatePaymentRoutingRequest$, CreatePaymentSequenceTypeRequest$inboundSchema, CreatePaymentSequenceTypeRequest$outboundSchema, CreatePaymentSequenceTypeRequest$, CreatePaymentRequestBody$inboundSchema, CreatePaymentRequestBody$outboundSchema, CreatePaymentRequestBody$, CreatePaymentRequest$inboundSchema, CreatePaymentRequest$outboundSchema, CreatePaymentRequest$, CreatePaymentServiceUnavailableDocumentation$inboundSchema, CreatePaymentServiceUnavailableDocumentation$outboundSchema, CreatePaymentServiceUnavailableDocumentation$, CreatePaymentServiceUnavailableLinks$inboundSchema, CreatePaymentServiceUnavailableLinks$outboundSchema, CreatePaymentServiceUnavailableLinks$, CreatePaymentUnprocessableEntityDocumentation$inboundSchema, CreatePaymentUnprocessableEntityDocumentation$outboundSchema, CreatePaymentUnprocessableEntityDocumentation$, CreatePaymentUnprocessableEntityLinks$inboundSchema, CreatePaymentUnprocessableEntityLinks$outboundSchema, CreatePaymentUnprocessableEntityLinks$, CreatePaymentMode$inboundSchema, CreatePaymentMode$outboundSchema, CreatePaymentMode$, CreatePaymentAmountResponse$inboundSchema, CreatePaymentAmountResponse$outboundSchema, CreatePaymentAmountResponse$, CreatePaymentAmountRefunded$inboundSchema, CreatePaymentAmountRefunded$outboundSchema, CreatePaymentAmountRefunded$, CreatePaymentAmountRemaining$inboundSchema, CreatePaymentAmountRemaining$outboundSchema, CreatePaymentAmountRemaining$, CreatePaymentAmountCaptured$inboundSchema, CreatePaymentAmountCaptured$outboundSchema, CreatePaymentAmountCaptured$, CreatePaymentAmountChargedBack$inboundSchema, CreatePaymentAmountChargedBack$outboundSchema, CreatePaymentAmountChargedBack$, CreatePaymentSettlementAmount$inboundSchema, CreatePaymentSettlementAmount$outboundSchema, CreatePaymentSettlementAmount$, CreatePaymentLineTypeResponse$inboundSchema, CreatePaymentLineTypeResponse$outboundSchema, CreatePaymentLineTypeResponse$, CreatePaymentUnitPriceResponse$inboundSchema, CreatePaymentUnitPriceResponse$outboundSchema, CreatePaymentUnitPriceResponse$, CreatePaymentDiscountAmountResponse$inboundSchema, CreatePaymentDiscountAmountResponse$outboundSchema, CreatePaymentDiscountAmountResponse$, CreatePaymentTotalAmountResponse$inboundSchema, CreatePaymentTotalAmountResponse$outboundSchema, CreatePaymentTotalAmountResponse$, CreatePaymentVatAmountResponse$inboundSchema, CreatePaymentVatAmountResponse$outboundSchema, CreatePaymentVatAmountResponse$, CreatePaymentCategoryResponse$inboundSchema, CreatePaymentCategoryResponse$outboundSchema, CreatePaymentCategoryResponse$, CreatePaymentIntervalResponse$inboundSchema, CreatePaymentIntervalResponse$outboundSchema, CreatePaymentIntervalResponse$, CreatePaymentRecurringAmountResponse$inboundSchema, CreatePaymentRecurringAmountResponse$outboundSchema, CreatePaymentRecurringAmountResponse$, CreatePaymentRecurringResponse$inboundSchema, CreatePaymentRecurringResponse$outboundSchema, CreatePaymentRecurringResponse$, CreatePaymentLineResponse$inboundSchema, CreatePaymentLineResponse$outboundSchema, CreatePaymentLineResponse$, CreatePaymentBillingAddressResponse$inboundSchema, CreatePaymentBillingAddressResponse$outboundSchema, CreatePaymentBillingAddressResponse$, CreatePaymentShippingAddressResponse$inboundSchema, CreatePaymentShippingAddressResponse$outboundSchema, CreatePaymentShippingAddressResponse$, CreatePaymentLocaleResponse$inboundSchema, CreatePaymentLocaleResponse$outboundSchema, CreatePaymentLocaleResponse$, CreatePaymentMethodResponse$inboundSchema, CreatePaymentMethodResponse$outboundSchema, CreatePaymentMethodResponse$, CreatePaymentMetadataResponse$inboundSchema, CreatePaymentMetadataResponse$outboundSchema, CreatePaymentMetadataResponse$, CreatePaymentMetadataResponseUnion$inboundSchema, CreatePaymentMetadataResponseUnion$outboundSchema, CreatePaymentMetadataResponseUnion$, CreatePaymentCaptureModeResponse$inboundSchema, CreatePaymentCaptureModeResponse$outboundSchema, CreatePaymentCaptureModeResponse$, CreatePaymentApplicationFeeAmountResponse$inboundSchema, CreatePaymentApplicationFeeAmountResponse$outboundSchema, CreatePaymentApplicationFeeAmountResponse$, CreatePaymentApplicationFeeResponse$inboundSchema, CreatePaymentApplicationFeeResponse$outboundSchema, CreatePaymentApplicationFeeResponse$, CreatePaymentRoutingMode$inboundSchema, CreatePaymentRoutingMode$outboundSchema, CreatePaymentRoutingMode$, CreatePaymentRoutingAmountResponse$inboundSchema, CreatePaymentRoutingAmountResponse$outboundSchema, CreatePaymentRoutingAmountResponse$, CreatePaymentRoutingTypeResponse$inboundSchema, CreatePaymentRoutingTypeResponse$outboundSchema, CreatePaymentRoutingTypeResponse$, CreatePaymentDestinationResponse$inboundSchema, CreatePaymentDestinationResponse$outboundSchema, CreatePaymentDestinationResponse$, CreatePaymentRoutingSelfResponse$inboundSchema, CreatePaymentRoutingSelfResponse$outboundSchema, CreatePaymentRoutingSelfResponse$, CreatePaymentPaymentResponse$inboundSchema, CreatePaymentPaymentResponse$outboundSchema, CreatePaymentPaymentResponse$, CreatePaymentRoutingLinksResponse$inboundSchema, CreatePaymentRoutingLinksResponse$outboundSchema, CreatePaymentRoutingLinksResponse$, CreatePaymentRoutingResponse$inboundSchema, CreatePaymentRoutingResponse$outboundSchema, CreatePaymentRoutingResponse$, CreatePaymentSequenceTypeResponse$inboundSchema, CreatePaymentSequenceTypeResponse$outboundSchema, CreatePaymentSequenceTypeResponse$, CreatePaymentStatus$inboundSchema, CreatePaymentStatus$outboundSchema, CreatePaymentStatus$, CreatePaymentStatusReason$inboundSchema, CreatePaymentStatusReason$outboundSchema, CreatePaymentStatusReason$, CreatePaymentSelfResponse$inboundSchema, CreatePaymentSelfResponse$outboundSchema, CreatePaymentSelfResponse$, CreatePaymentCheckout$inboundSchema, CreatePaymentCheckout$outboundSchema, CreatePaymentCheckout$, CreatePaymentMobileAppCheckout$inboundSchema, CreatePaymentMobileAppCheckout$outboundSchema, CreatePaymentMobileAppCheckout$, CreatePaymentChangePaymentState$inboundSchema, CreatePaymentChangePaymentState$outboundSchema, CreatePaymentChangePaymentState$, CreatePaymentDashboard$inboundSchema, CreatePaymentDashboard$outboundSchema, CreatePaymentDashboard$, CreatePaymentRefunds$inboundSchema, CreatePaymentRefunds$outboundSchema, CreatePaymentRefunds$, CreatePaymentChargebacks$inboundSchema, CreatePaymentChargebacks$outboundSchema, CreatePaymentChargebacks$, CreatePaymentCaptures$inboundSchema, CreatePaymentCaptures$outboundSchema, CreatePaymentCaptures$, CreatePaymentSettlement$inboundSchema, CreatePaymentSettlement$outboundSchema, CreatePaymentSettlement$, CreatePaymentCustomer$inboundSchema, CreatePaymentCustomer$outboundSchema, CreatePaymentCustomer$, CreatePaymentMandate$inboundSchema, CreatePaymentMandate$outboundSchema, CreatePaymentMandate$, CreatePaymentSubscription$inboundSchema, CreatePaymentSubscription$outboundSchema, CreatePaymentSubscription$, CreatePaymentOrder$inboundSchema, CreatePaymentOrder$outboundSchema, CreatePaymentOrder$, CreatePaymentTerminal$inboundSchema, CreatePaymentTerminal$outboundSchema, CreatePaymentTerminal$, CreatePaymentDocumentation$inboundSchema, CreatePaymentDocumentation$outboundSchema, CreatePaymentDocumentation$, CreatePaymentLinksResponse$inboundSchema, CreatePaymentLinksResponse$outboundSchema, CreatePaymentLinksResponse$, CreatePaymentResponse$inboundSchema, CreatePaymentResponse$outboundSchema, CreatePaymentResponse$;
39495
+ var CreatePaymentInclude, CreatePaymentLineTypeRequest, CreatePaymentCategoryRequest, CreatePaymentIntervalRequest, CreatePaymentLocaleRequest, CreatePaymentMethodRequest, CreatePaymentCaptureModeRequest, CreatePaymentRoutingTypeRequest, CreatePaymentSequenceTypeRequest, CreatePaymentMode, CreatePaymentLineTypeResponse, CreatePaymentCategoryResponse, CreatePaymentIntervalResponse, CreatePaymentLocaleResponse, CreatePaymentMethodResponse, CreatePaymentCaptureModeResponse, CreatePaymentRoutingMode, CreatePaymentRoutingTypeResponse, CreatePaymentSequenceTypeResponse, CreatePaymentStatus, CreatePaymentInclude$inboundSchema, CreatePaymentInclude$outboundSchema, CreatePaymentInclude$, CreatePaymentAmountRequest$inboundSchema, CreatePaymentAmountRequest$outboundSchema, CreatePaymentAmountRequest$, CreatePaymentLineTypeRequest$inboundSchema, CreatePaymentLineTypeRequest$outboundSchema, CreatePaymentLineTypeRequest$, CreatePaymentUnitPriceRequest$inboundSchema, CreatePaymentUnitPriceRequest$outboundSchema, CreatePaymentUnitPriceRequest$, CreatePaymentDiscountAmountRequest$inboundSchema, CreatePaymentDiscountAmountRequest$outboundSchema, CreatePaymentDiscountAmountRequest$, CreatePaymentTotalAmountRequest$inboundSchema, CreatePaymentTotalAmountRequest$outboundSchema, CreatePaymentTotalAmountRequest$, CreatePaymentVatAmountRequest$inboundSchema, CreatePaymentVatAmountRequest$outboundSchema, CreatePaymentVatAmountRequest$, CreatePaymentCategoryRequest$inboundSchema, CreatePaymentCategoryRequest$outboundSchema, CreatePaymentCategoryRequest$, CreatePaymentIntervalRequest$inboundSchema, CreatePaymentIntervalRequest$outboundSchema, CreatePaymentIntervalRequest$, CreatePaymentRecurringAmountRequest$inboundSchema, CreatePaymentRecurringAmountRequest$outboundSchema, CreatePaymentRecurringAmountRequest$, CreatePaymentRecurringRequest$inboundSchema, CreatePaymentRecurringRequest$outboundSchema, CreatePaymentRecurringRequest$, CreatePaymentLineRequest$inboundSchema, CreatePaymentLineRequest$outboundSchema, CreatePaymentLineRequest$, CreatePaymentBillingAddressRequest$inboundSchema, CreatePaymentBillingAddressRequest$outboundSchema, CreatePaymentBillingAddressRequest$, CreatePaymentShippingAddressRequest$inboundSchema, CreatePaymentShippingAddressRequest$outboundSchema, CreatePaymentShippingAddressRequest$, CreatePaymentLocaleRequest$inboundSchema, CreatePaymentLocaleRequest$outboundSchema, CreatePaymentLocaleRequest$, CreatePaymentMethodRequest$inboundSchema, CreatePaymentMethodRequest$outboundSchema, CreatePaymentMethodRequest$, CreatePaymentMetadataRequest$inboundSchema, CreatePaymentMetadataRequest$outboundSchema, CreatePaymentMetadataRequest$, CreatePaymentCaptureModeRequest$inboundSchema, CreatePaymentCaptureModeRequest$outboundSchema, CreatePaymentCaptureModeRequest$, CreatePaymentApplicationFeeAmountRequest$inboundSchema, CreatePaymentApplicationFeeAmountRequest$outboundSchema, CreatePaymentApplicationFeeAmountRequest$, CreatePaymentApplicationFeeRequest$inboundSchema, CreatePaymentApplicationFeeRequest$outboundSchema, CreatePaymentApplicationFeeRequest$, CreatePaymentRoutingAmountRequest$inboundSchema, CreatePaymentRoutingAmountRequest$outboundSchema, CreatePaymentRoutingAmountRequest$, CreatePaymentRoutingTypeRequest$inboundSchema, CreatePaymentRoutingTypeRequest$outboundSchema, CreatePaymentRoutingTypeRequest$, CreatePaymentDestinationRequest$inboundSchema, CreatePaymentDestinationRequest$outboundSchema, CreatePaymentDestinationRequest$, CreatePaymentSelfRequest$inboundSchema, CreatePaymentSelfRequest$outboundSchema, CreatePaymentSelfRequest$, CreatePaymentPaymentRequest$inboundSchema, CreatePaymentPaymentRequest$outboundSchema, CreatePaymentPaymentRequest$, CreatePaymentLinksRequest$inboundSchema, CreatePaymentLinksRequest$outboundSchema, CreatePaymentLinksRequest$, CreatePaymentRoutingRequest$inboundSchema, CreatePaymentRoutingRequest$outboundSchema, CreatePaymentRoutingRequest$, CreatePaymentSequenceTypeRequest$inboundSchema, CreatePaymentSequenceTypeRequest$outboundSchema, CreatePaymentSequenceTypeRequest$, CreatePaymentRequestBody$inboundSchema, CreatePaymentRequestBody$outboundSchema, CreatePaymentRequestBody$, CreatePaymentRequest$inboundSchema, CreatePaymentRequest$outboundSchema, CreatePaymentRequest$, CreatePaymentServiceUnavailableDocumentation$inboundSchema, CreatePaymentServiceUnavailableDocumentation$outboundSchema, CreatePaymentServiceUnavailableDocumentation$, CreatePaymentServiceUnavailableLinks$inboundSchema, CreatePaymentServiceUnavailableLinks$outboundSchema, CreatePaymentServiceUnavailableLinks$, CreatePaymentUnprocessableEntityDocumentation$inboundSchema, CreatePaymentUnprocessableEntityDocumentation$outboundSchema, CreatePaymentUnprocessableEntityDocumentation$, CreatePaymentUnprocessableEntityLinks$inboundSchema, CreatePaymentUnprocessableEntityLinks$outboundSchema, CreatePaymentUnprocessableEntityLinks$, CreatePaymentMode$inboundSchema, CreatePaymentMode$outboundSchema, CreatePaymentMode$, CreatePaymentAmountResponse$inboundSchema, CreatePaymentAmountResponse$outboundSchema, CreatePaymentAmountResponse$, CreatePaymentAmountRefunded$inboundSchema, CreatePaymentAmountRefunded$outboundSchema, CreatePaymentAmountRefunded$, CreatePaymentAmountRemaining$inboundSchema, CreatePaymentAmountRemaining$outboundSchema, CreatePaymentAmountRemaining$, CreatePaymentAmountCaptured$inboundSchema, CreatePaymentAmountCaptured$outboundSchema, CreatePaymentAmountCaptured$, CreatePaymentAmountChargedBack$inboundSchema, CreatePaymentAmountChargedBack$outboundSchema, CreatePaymentAmountChargedBack$, CreatePaymentSettlementAmount$inboundSchema, CreatePaymentSettlementAmount$outboundSchema, CreatePaymentSettlementAmount$, CreatePaymentLineTypeResponse$inboundSchema, CreatePaymentLineTypeResponse$outboundSchema, CreatePaymentLineTypeResponse$, CreatePaymentUnitPriceResponse$inboundSchema, CreatePaymentUnitPriceResponse$outboundSchema, CreatePaymentUnitPriceResponse$, CreatePaymentDiscountAmountResponse$inboundSchema, CreatePaymentDiscountAmountResponse$outboundSchema, CreatePaymentDiscountAmountResponse$, CreatePaymentTotalAmountResponse$inboundSchema, CreatePaymentTotalAmountResponse$outboundSchema, CreatePaymentTotalAmountResponse$, CreatePaymentVatAmountResponse$inboundSchema, CreatePaymentVatAmountResponse$outboundSchema, CreatePaymentVatAmountResponse$, CreatePaymentCategoryResponse$inboundSchema, CreatePaymentCategoryResponse$outboundSchema, CreatePaymentCategoryResponse$, CreatePaymentIntervalResponse$inboundSchema, CreatePaymentIntervalResponse$outboundSchema, CreatePaymentIntervalResponse$, CreatePaymentRecurringAmountResponse$inboundSchema, CreatePaymentRecurringAmountResponse$outboundSchema, CreatePaymentRecurringAmountResponse$, CreatePaymentRecurringResponse$inboundSchema, CreatePaymentRecurringResponse$outboundSchema, CreatePaymentRecurringResponse$, CreatePaymentLineResponse$inboundSchema, CreatePaymentLineResponse$outboundSchema, CreatePaymentLineResponse$, CreatePaymentBillingAddressResponse$inboundSchema, CreatePaymentBillingAddressResponse$outboundSchema, CreatePaymentBillingAddressResponse$, CreatePaymentShippingAddressResponse$inboundSchema, CreatePaymentShippingAddressResponse$outboundSchema, CreatePaymentShippingAddressResponse$, CreatePaymentLocaleResponse$inboundSchema, CreatePaymentLocaleResponse$outboundSchema, CreatePaymentLocaleResponse$, CreatePaymentMethodResponse$inboundSchema, CreatePaymentMethodResponse$outboundSchema, CreatePaymentMethodResponse$, CreatePaymentMetadataResponse$inboundSchema, CreatePaymentMetadataResponse$outboundSchema, CreatePaymentMetadataResponse$, CreatePaymentCaptureModeResponse$inboundSchema, CreatePaymentCaptureModeResponse$outboundSchema, CreatePaymentCaptureModeResponse$, CreatePaymentApplicationFeeAmountResponse$inboundSchema, CreatePaymentApplicationFeeAmountResponse$outboundSchema, CreatePaymentApplicationFeeAmountResponse$, CreatePaymentApplicationFeeResponse$inboundSchema, CreatePaymentApplicationFeeResponse$outboundSchema, CreatePaymentApplicationFeeResponse$, CreatePaymentRoutingMode$inboundSchema, CreatePaymentRoutingMode$outboundSchema, CreatePaymentRoutingMode$, CreatePaymentRoutingAmountResponse$inboundSchema, CreatePaymentRoutingAmountResponse$outboundSchema, CreatePaymentRoutingAmountResponse$, CreatePaymentRoutingTypeResponse$inboundSchema, CreatePaymentRoutingTypeResponse$outboundSchema, CreatePaymentRoutingTypeResponse$, CreatePaymentDestinationResponse$inboundSchema, CreatePaymentDestinationResponse$outboundSchema, CreatePaymentDestinationResponse$, CreatePaymentRoutingSelfResponse$inboundSchema, CreatePaymentRoutingSelfResponse$outboundSchema, CreatePaymentRoutingSelfResponse$, CreatePaymentPaymentResponse$inboundSchema, CreatePaymentPaymentResponse$outboundSchema, CreatePaymentPaymentResponse$, CreatePaymentRoutingLinksResponse$inboundSchema, CreatePaymentRoutingLinksResponse$outboundSchema, CreatePaymentRoutingLinksResponse$, CreatePaymentRoutingResponse$inboundSchema, CreatePaymentRoutingResponse$outboundSchema, CreatePaymentRoutingResponse$, CreatePaymentSequenceTypeResponse$inboundSchema, CreatePaymentSequenceTypeResponse$outboundSchema, CreatePaymentSequenceTypeResponse$, CreatePaymentStatus$inboundSchema, CreatePaymentStatus$outboundSchema, CreatePaymentStatus$, CreatePaymentStatusReason$inboundSchema, CreatePaymentStatusReason$outboundSchema, CreatePaymentStatusReason$, CreatePaymentSelfResponse$inboundSchema, CreatePaymentSelfResponse$outboundSchema, CreatePaymentSelfResponse$, CreatePaymentCheckout$inboundSchema, CreatePaymentCheckout$outboundSchema, CreatePaymentCheckout$, CreatePaymentMobileAppCheckout$inboundSchema, CreatePaymentMobileAppCheckout$outboundSchema, CreatePaymentMobileAppCheckout$, CreatePaymentChangePaymentState$inboundSchema, CreatePaymentChangePaymentState$outboundSchema, CreatePaymentChangePaymentState$, CreatePaymentDashboard$inboundSchema, CreatePaymentDashboard$outboundSchema, CreatePaymentDashboard$, CreatePaymentRefunds$inboundSchema, CreatePaymentRefunds$outboundSchema, CreatePaymentRefunds$, CreatePaymentChargebacks$inboundSchema, CreatePaymentChargebacks$outboundSchema, CreatePaymentChargebacks$, CreatePaymentCaptures$inboundSchema, CreatePaymentCaptures$outboundSchema, CreatePaymentCaptures$, CreatePaymentSettlement$inboundSchema, CreatePaymentSettlement$outboundSchema, CreatePaymentSettlement$, CreatePaymentCustomer$inboundSchema, CreatePaymentCustomer$outboundSchema, CreatePaymentCustomer$, CreatePaymentMandate$inboundSchema, CreatePaymentMandate$outboundSchema, CreatePaymentMandate$, CreatePaymentSubscription$inboundSchema, CreatePaymentSubscription$outboundSchema, CreatePaymentSubscription$, CreatePaymentOrder$inboundSchema, CreatePaymentOrder$outboundSchema, CreatePaymentOrder$, CreatePaymentTerminal$inboundSchema, CreatePaymentTerminal$outboundSchema, CreatePaymentTerminal$, CreatePaymentDocumentation$inboundSchema, CreatePaymentDocumentation$outboundSchema, CreatePaymentDocumentation$, CreatePaymentLinksResponse$inboundSchema, CreatePaymentLinksResponse$outboundSchema, CreatePaymentLinksResponse$, CreatePaymentResponse$inboundSchema, CreatePaymentResponse$outboundSchema, CreatePaymentResponse$;
39672
39496
  var init_createpayment = __esm(() => {
39673
39497
  init_esm();
39674
39498
  init_primitives();
@@ -40108,26 +39932,12 @@ var init_createpayment = __esm(() => {
40108
39932
  CreatePaymentMethodRequest$.inboundSchema = CreatePaymentMethodRequest$inboundSchema;
40109
39933
  CreatePaymentMethodRequest$.outboundSchema = CreatePaymentMethodRequest$outboundSchema;
40110
39934
  })(CreatePaymentMethodRequest$ ||= {});
40111
- CreatePaymentMetadataRequest$inboundSchema = objectType({});
40112
- CreatePaymentMetadataRequest$outboundSchema = objectType({});
39935
+ CreatePaymentMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
39936
+ CreatePaymentMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
40113
39937
  ((CreatePaymentMetadataRequest$) => {
40114
39938
  CreatePaymentMetadataRequest$.inboundSchema = CreatePaymentMetadataRequest$inboundSchema;
40115
39939
  CreatePaymentMetadataRequest$.outboundSchema = CreatePaymentMetadataRequest$outboundSchema;
40116
39940
  })(CreatePaymentMetadataRequest$ ||= {});
40117
- CreatePaymentMetadataRequestUnion$inboundSchema = unionType([
40118
- lazyType(() => CreatePaymentMetadataRequest$inboundSchema),
40119
- stringType(),
40120
- arrayType(stringType())
40121
- ]);
40122
- CreatePaymentMetadataRequestUnion$outboundSchema = unionType([
40123
- lazyType(() => CreatePaymentMetadataRequest$outboundSchema),
40124
- stringType(),
40125
- arrayType(stringType())
40126
- ]);
40127
- ((CreatePaymentMetadataRequestUnion$) => {
40128
- CreatePaymentMetadataRequestUnion$.inboundSchema = CreatePaymentMetadataRequestUnion$inboundSchema;
40129
- CreatePaymentMetadataRequestUnion$.outboundSchema = CreatePaymentMetadataRequestUnion$outboundSchema;
40130
- })(CreatePaymentMetadataRequestUnion$ ||= {});
40131
39941
  CreatePaymentCaptureModeRequest$inboundSchema = nativeEnumType(CreatePaymentCaptureModeRequest);
40132
39942
  CreatePaymentCaptureModeRequest$outboundSchema = CreatePaymentCaptureModeRequest$inboundSchema;
40133
39943
  ((CreatePaymentCaptureModeRequest$) => {
@@ -40267,11 +40077,7 @@ var init_createpayment = __esm(() => {
40267
40077
  method: nullableType(CreatePaymentMethodRequest$inboundSchema).optional(),
40268
40078
  issuer: nullableType(stringType()).optional(),
40269
40079
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
40270
- metadata: nullableType(unionType([
40271
- lazyType(() => CreatePaymentMetadataRequest$inboundSchema),
40272
- stringType(),
40273
- arrayType(stringType())
40274
- ])).optional(),
40080
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
40275
40081
  captureMode: nullableType(CreatePaymentCaptureModeRequest$inboundSchema).optional(),
40276
40082
  captureDelay: nullableType(stringType()).optional(),
40277
40083
  applicationFee: nullableType(lazyType(() => CreatePaymentApplicationFeeRequest$inboundSchema)).optional(),
@@ -40296,11 +40102,7 @@ var init_createpayment = __esm(() => {
40296
40102
  method: nullableType(CreatePaymentMethodRequest$outboundSchema).optional(),
40297
40103
  issuer: nullableType(stringType()).optional(),
40298
40104
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
40299
- metadata: nullableType(unionType([
40300
- lazyType(() => CreatePaymentMetadataRequest$outboundSchema),
40301
- stringType(),
40302
- arrayType(stringType())
40303
- ])).optional(),
40105
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
40304
40106
  captureMode: nullableType(CreatePaymentCaptureModeRequest$outboundSchema).optional(),
40305
40107
  captureDelay: nullableType(stringType()).optional(),
40306
40108
  applicationFee: nullableType(lazyType(() => CreatePaymentApplicationFeeRequest$outboundSchema)).optional(),
@@ -40666,26 +40468,12 @@ var init_createpayment = __esm(() => {
40666
40468
  CreatePaymentMethodResponse$.inboundSchema = CreatePaymentMethodResponse$inboundSchema;
40667
40469
  CreatePaymentMethodResponse$.outboundSchema = CreatePaymentMethodResponse$outboundSchema;
40668
40470
  })(CreatePaymentMethodResponse$ ||= {});
40669
- CreatePaymentMetadataResponse$inboundSchema = objectType({});
40670
- CreatePaymentMetadataResponse$outboundSchema = objectType({});
40471
+ CreatePaymentMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
40472
+ CreatePaymentMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
40671
40473
  ((CreatePaymentMetadataResponse$) => {
40672
40474
  CreatePaymentMetadataResponse$.inboundSchema = CreatePaymentMetadataResponse$inboundSchema;
40673
40475
  CreatePaymentMetadataResponse$.outboundSchema = CreatePaymentMetadataResponse$outboundSchema;
40674
40476
  })(CreatePaymentMetadataResponse$ ||= {});
40675
- CreatePaymentMetadataResponseUnion$inboundSchema = unionType([
40676
- lazyType(() => CreatePaymentMetadataResponse$inboundSchema),
40677
- stringType(),
40678
- arrayType(stringType())
40679
- ]);
40680
- CreatePaymentMetadataResponseUnion$outboundSchema = unionType([
40681
- lazyType(() => CreatePaymentMetadataResponse$outboundSchema),
40682
- stringType(),
40683
- arrayType(stringType())
40684
- ]);
40685
- ((CreatePaymentMetadataResponseUnion$) => {
40686
- CreatePaymentMetadataResponseUnion$.inboundSchema = CreatePaymentMetadataResponseUnion$inboundSchema;
40687
- CreatePaymentMetadataResponseUnion$.outboundSchema = CreatePaymentMetadataResponseUnion$outboundSchema;
40688
- })(CreatePaymentMetadataResponseUnion$ ||= {});
40689
40477
  CreatePaymentCaptureModeResponse$inboundSchema = nativeEnumType(CreatePaymentCaptureModeResponse);
40690
40478
  CreatePaymentCaptureModeResponse$outboundSchema = CreatePaymentCaptureModeResponse$inboundSchema;
40691
40479
  ((CreatePaymentCaptureModeResponse$) => {
@@ -41083,11 +40871,7 @@ var init_createpayment = __esm(() => {
41083
40871
  countryCode: nullableType(stringType()).optional(),
41084
40872
  method: nullableType(CreatePaymentMethodResponse$inboundSchema).optional(),
41085
40873
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
41086
- metadata: nullableType(unionType([
41087
- lazyType(() => CreatePaymentMetadataResponse$inboundSchema),
41088
- stringType(),
41089
- arrayType(stringType())
41090
- ])).optional(),
40874
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
41091
40875
  captureMode: nullableType(CreatePaymentCaptureModeResponse$inboundSchema).optional(),
41092
40876
  captureDelay: nullableType(stringType()).optional(),
41093
40877
  captureBefore: nullableType(stringType()).optional(),
@@ -41138,11 +40922,7 @@ var init_createpayment = __esm(() => {
41138
40922
  countryCode: nullableType(stringType()).optional(),
41139
40923
  method: nullableType(CreatePaymentMethodResponse$outboundSchema).optional(),
41140
40924
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
41141
- metadata: nullableType(unionType([
41142
- lazyType(() => CreatePaymentMetadataResponse$outboundSchema),
41143
- stringType(),
41144
- arrayType(stringType())
41145
- ])).optional(),
40925
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
41146
40926
  captureMode: nullableType(CreatePaymentCaptureModeResponse$outboundSchema).optional(),
41147
40927
  captureDelay: nullableType(stringType()).optional(),
41148
40928
  captureBefore: nullableType(stringType()).optional(),
@@ -42096,7 +41876,7 @@ var init_createprofile = __esm(() => {
42096
41876
  });
42097
41877
 
42098
41878
  // src/models/operations/createrefund.ts
42099
- var TypeAcquirerReferenceRequest, RoutingReversalType, CreateRefundMode, CreateRefundStatus, CreateRefundTypeResponse, CreateRefundAmountRequest$inboundSchema, CreateRefundAmountRequest$outboundSchema, CreateRefundAmountRequest$, CreateRefundMetadataRequest$inboundSchema, CreateRefundMetadataRequest$outboundSchema, CreateRefundMetadataRequest$, CreateRefundMetadataRequestUnion$inboundSchema, CreateRefundMetadataRequestUnion$outboundSchema, CreateRefundMetadataRequestUnion$, TypeAcquirerReferenceRequest$inboundSchema, TypeAcquirerReferenceRequest$outboundSchema, TypeAcquirerReferenceRequest$, ExternalReferenceRequest$inboundSchema, ExternalReferenceRequest$outboundSchema, ExternalReferenceRequest$, RoutingReversalAmountRequest$inboundSchema, RoutingReversalAmountRequest$outboundSchema, RoutingReversalAmountRequest$, RoutingReversalType$inboundSchema, RoutingReversalType$outboundSchema, RoutingReversalType$, CreateRefundSourceRequest$inboundSchema, CreateRefundSourceRequest$outboundSchema, CreateRefundSourceRequest$, RoutingReversalRequest$inboundSchema, RoutingReversalRequest$outboundSchema, RoutingReversalRequest$, CreateRefundRequestBody$inboundSchema, CreateRefundRequestBody$outboundSchema, CreateRefundRequestBody$, CreateRefundRequest$inboundSchema, CreateRefundRequest$outboundSchema, CreateRefundRequest$, CreateRefundUnprocessableEntityDocumentation$inboundSchema, CreateRefundUnprocessableEntityDocumentation$outboundSchema, CreateRefundUnprocessableEntityDocumentation$, CreateRefundUnprocessableEntityLinks$inboundSchema, CreateRefundUnprocessableEntityLinks$outboundSchema, CreateRefundUnprocessableEntityLinks$, ConflictDocumentation$inboundSchema, ConflictDocumentation$outboundSchema, ConflictDocumentation$, ConflictLinks$inboundSchema, ConflictLinks$outboundSchema, ConflictLinks$, CreateRefundNotFoundDocumentation$inboundSchema, CreateRefundNotFoundDocumentation$outboundSchema, CreateRefundNotFoundDocumentation$, CreateRefundNotFoundLinks$inboundSchema, CreateRefundNotFoundLinks$outboundSchema, CreateRefundNotFoundLinks$, CreateRefundMode$inboundSchema, CreateRefundMode$outboundSchema, CreateRefundMode$, CreateRefundAmountResponse$inboundSchema, CreateRefundAmountResponse$outboundSchema, CreateRefundAmountResponse$, CreateRefundSettlementAmount$inboundSchema, CreateRefundSettlementAmount$outboundSchema, CreateRefundSettlementAmount$, CreateRefundMetadataResponse$inboundSchema, CreateRefundMetadataResponse$outboundSchema, CreateRefundMetadataResponse$, CreateRefundMetadataResponseUnion$inboundSchema, CreateRefundMetadataResponseUnion$outboundSchema, CreateRefundMetadataResponseUnion$, CreateRefundStatus$inboundSchema, CreateRefundStatus$outboundSchema, CreateRefundStatus$, CreateRefundTypeResponse$inboundSchema, CreateRefundTypeResponse$outboundSchema, CreateRefundTypeResponse$, CreateRefundExternalReferenceResponse$inboundSchema, CreateRefundExternalReferenceResponse$outboundSchema, CreateRefundExternalReferenceResponse$, CreateRefundRoutingReversalAmountResponse$inboundSchema, CreateRefundRoutingReversalAmountResponse$outboundSchema, CreateRefundRoutingReversalAmountResponse$, CreateRefundSourceOutput$inboundSchema, CreateRefundSourceOutput$outboundSchema, CreateRefundSourceOutput$, CreateRefundRoutingReversalResponse$inboundSchema, CreateRefundRoutingReversalResponse$outboundSchema, CreateRefundRoutingReversalResponse$, CreateRefundSelf$inboundSchema, CreateRefundSelf$outboundSchema, CreateRefundSelf$, CreateRefundPayment$inboundSchema, CreateRefundPayment$outboundSchema, CreateRefundPayment$, CreateRefundSettlement$inboundSchema, CreateRefundSettlement$outboundSchema, CreateRefundSettlement$, CreateRefundDocumentation$inboundSchema, CreateRefundDocumentation$outboundSchema, CreateRefundDocumentation$, CreateRefundLinks$inboundSchema, CreateRefundLinks$outboundSchema, CreateRefundLinks$, CreateRefundResponse$inboundSchema, CreateRefundResponse$outboundSchema, CreateRefundResponse$;
41879
+ var TypeAcquirerReferenceRequest, RoutingReversalType, CreateRefundMode, CreateRefundStatus, CreateRefundTypeResponse, CreateRefundAmountRequest$inboundSchema, CreateRefundAmountRequest$outboundSchema, CreateRefundAmountRequest$, CreateRefundMetadataRequest$inboundSchema, CreateRefundMetadataRequest$outboundSchema, CreateRefundMetadataRequest$, TypeAcquirerReferenceRequest$inboundSchema, TypeAcquirerReferenceRequest$outboundSchema, TypeAcquirerReferenceRequest$, ExternalReferenceRequest$inboundSchema, ExternalReferenceRequest$outboundSchema, ExternalReferenceRequest$, RoutingReversalAmountRequest$inboundSchema, RoutingReversalAmountRequest$outboundSchema, RoutingReversalAmountRequest$, RoutingReversalType$inboundSchema, RoutingReversalType$outboundSchema, RoutingReversalType$, CreateRefundSourceRequest$inboundSchema, CreateRefundSourceRequest$outboundSchema, CreateRefundSourceRequest$, RoutingReversalRequest$inboundSchema, RoutingReversalRequest$outboundSchema, RoutingReversalRequest$, CreateRefundRequestBody$inboundSchema, CreateRefundRequestBody$outboundSchema, CreateRefundRequestBody$, CreateRefundRequest$inboundSchema, CreateRefundRequest$outboundSchema, CreateRefundRequest$, CreateRefundUnprocessableEntityDocumentation$inboundSchema, CreateRefundUnprocessableEntityDocumentation$outboundSchema, CreateRefundUnprocessableEntityDocumentation$, CreateRefundUnprocessableEntityLinks$inboundSchema, CreateRefundUnprocessableEntityLinks$outboundSchema, CreateRefundUnprocessableEntityLinks$, ConflictDocumentation$inboundSchema, ConflictDocumentation$outboundSchema, ConflictDocumentation$, ConflictLinks$inboundSchema, ConflictLinks$outboundSchema, ConflictLinks$, CreateRefundNotFoundDocumentation$inboundSchema, CreateRefundNotFoundDocumentation$outboundSchema, CreateRefundNotFoundDocumentation$, CreateRefundNotFoundLinks$inboundSchema, CreateRefundNotFoundLinks$outboundSchema, CreateRefundNotFoundLinks$, CreateRefundMode$inboundSchema, CreateRefundMode$outboundSchema, CreateRefundMode$, CreateRefundAmountResponse$inboundSchema, CreateRefundAmountResponse$outboundSchema, CreateRefundAmountResponse$, CreateRefundSettlementAmount$inboundSchema, CreateRefundSettlementAmount$outboundSchema, CreateRefundSettlementAmount$, CreateRefundMetadataResponse$inboundSchema, CreateRefundMetadataResponse$outboundSchema, CreateRefundMetadataResponse$, CreateRefundStatus$inboundSchema, CreateRefundStatus$outboundSchema, CreateRefundStatus$, CreateRefundTypeResponse$inboundSchema, CreateRefundTypeResponse$outboundSchema, CreateRefundTypeResponse$, CreateRefundExternalReferenceResponse$inboundSchema, CreateRefundExternalReferenceResponse$outboundSchema, CreateRefundExternalReferenceResponse$, CreateRefundRoutingReversalAmountResponse$inboundSchema, CreateRefundRoutingReversalAmountResponse$outboundSchema, CreateRefundRoutingReversalAmountResponse$, CreateRefundSourceOutput$inboundSchema, CreateRefundSourceOutput$outboundSchema, CreateRefundSourceOutput$, CreateRefundRoutingReversalResponse$inboundSchema, CreateRefundRoutingReversalResponse$outboundSchema, CreateRefundRoutingReversalResponse$, CreateRefundSelf$inboundSchema, CreateRefundSelf$outboundSchema, CreateRefundSelf$, CreateRefundPayment$inboundSchema, CreateRefundPayment$outboundSchema, CreateRefundPayment$, CreateRefundSettlement$inboundSchema, CreateRefundSettlement$outboundSchema, CreateRefundSettlement$, CreateRefundDocumentation$inboundSchema, CreateRefundDocumentation$outboundSchema, CreateRefundDocumentation$, CreateRefundLinks$inboundSchema, CreateRefundLinks$outboundSchema, CreateRefundLinks$, CreateRefundResponse$inboundSchema, CreateRefundResponse$outboundSchema, CreateRefundResponse$;
42100
41880
  var init_createrefund = __esm(() => {
42101
41881
  init_esm();
42102
41882
  init_primitives();
@@ -42133,26 +41913,12 @@ var init_createrefund = __esm(() => {
42133
41913
  CreateRefundAmountRequest$.inboundSchema = CreateRefundAmountRequest$inboundSchema;
42134
41914
  CreateRefundAmountRequest$.outboundSchema = CreateRefundAmountRequest$outboundSchema;
42135
41915
  })(CreateRefundAmountRequest$ ||= {});
42136
- CreateRefundMetadataRequest$inboundSchema = objectType({});
42137
- CreateRefundMetadataRequest$outboundSchema = objectType({});
41916
+ CreateRefundMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
41917
+ CreateRefundMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
42138
41918
  ((CreateRefundMetadataRequest$) => {
42139
41919
  CreateRefundMetadataRequest$.inboundSchema = CreateRefundMetadataRequest$inboundSchema;
42140
41920
  CreateRefundMetadataRequest$.outboundSchema = CreateRefundMetadataRequest$outboundSchema;
42141
41921
  })(CreateRefundMetadataRequest$ ||= {});
42142
- CreateRefundMetadataRequestUnion$inboundSchema = unionType([
42143
- lazyType(() => CreateRefundMetadataRequest$inboundSchema),
42144
- stringType(),
42145
- arrayType(stringType())
42146
- ]);
42147
- CreateRefundMetadataRequestUnion$outboundSchema = unionType([
42148
- lazyType(() => CreateRefundMetadataRequest$outboundSchema),
42149
- stringType(),
42150
- arrayType(stringType())
42151
- ]);
42152
- ((CreateRefundMetadataRequestUnion$) => {
42153
- CreateRefundMetadataRequestUnion$.inboundSchema = CreateRefundMetadataRequestUnion$inboundSchema;
42154
- CreateRefundMetadataRequestUnion$.outboundSchema = CreateRefundMetadataRequestUnion$outboundSchema;
42155
- })(CreateRefundMetadataRequestUnion$ ||= {});
42156
41922
  TypeAcquirerReferenceRequest$inboundSchema = nativeEnumType(TypeAcquirerReferenceRequest);
42157
41923
  TypeAcquirerReferenceRequest$outboundSchema = TypeAcquirerReferenceRequest$inboundSchema;
42158
41924
  ((TypeAcquirerReferenceRequest$) => {
@@ -42216,11 +41982,7 @@ var init_createrefund = __esm(() => {
42216
41982
  CreateRefundRequestBody$inboundSchema = objectType({
42217
41983
  description: stringType().optional(),
42218
41984
  amount: lazyType(() => CreateRefundAmountRequest$inboundSchema),
42219
- metadata: nullableType(unionType([
42220
- lazyType(() => CreateRefundMetadataRequest$inboundSchema),
42221
- stringType(),
42222
- arrayType(stringType())
42223
- ])).optional(),
41985
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
42224
41986
  externalReference: lazyType(() => ExternalReferenceRequest$inboundSchema).optional(),
42225
41987
  reverseRouting: nullableType(booleanType()).optional(),
42226
41988
  routingReversals: nullableType(arrayType(lazyType(() => RoutingReversalRequest$inboundSchema))).optional(),
@@ -42229,11 +41991,7 @@ var init_createrefund = __esm(() => {
42229
41991
  CreateRefundRequestBody$outboundSchema = objectType({
42230
41992
  description: stringType().optional(),
42231
41993
  amount: lazyType(() => CreateRefundAmountRequest$outboundSchema),
42232
- metadata: nullableType(unionType([
42233
- lazyType(() => CreateRefundMetadataRequest$outboundSchema),
42234
- stringType(),
42235
- arrayType(stringType())
42236
- ])).optional(),
41994
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
42237
41995
  externalReference: lazyType(() => ExternalReferenceRequest$outboundSchema).optional(),
42238
41996
  reverseRouting: nullableType(booleanType()).optional(),
42239
41997
  routingReversals: nullableType(arrayType(lazyType(() => RoutingReversalRequest$outboundSchema))).optional(),
@@ -42359,26 +42117,12 @@ var init_createrefund = __esm(() => {
42359
42117
  CreateRefundSettlementAmount$.inboundSchema = CreateRefundSettlementAmount$inboundSchema;
42360
42118
  CreateRefundSettlementAmount$.outboundSchema = CreateRefundSettlementAmount$outboundSchema;
42361
42119
  })(CreateRefundSettlementAmount$ ||= {});
42362
- CreateRefundMetadataResponse$inboundSchema = objectType({});
42363
- CreateRefundMetadataResponse$outboundSchema = objectType({});
42120
+ CreateRefundMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
42121
+ CreateRefundMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
42364
42122
  ((CreateRefundMetadataResponse$) => {
42365
42123
  CreateRefundMetadataResponse$.inboundSchema = CreateRefundMetadataResponse$inboundSchema;
42366
42124
  CreateRefundMetadataResponse$.outboundSchema = CreateRefundMetadataResponse$outboundSchema;
42367
42125
  })(CreateRefundMetadataResponse$ ||= {});
42368
- CreateRefundMetadataResponseUnion$inboundSchema = unionType([
42369
- lazyType(() => CreateRefundMetadataResponse$inboundSchema),
42370
- stringType(),
42371
- arrayType(stringType())
42372
- ]);
42373
- CreateRefundMetadataResponseUnion$outboundSchema = unionType([
42374
- lazyType(() => CreateRefundMetadataResponse$outboundSchema),
42375
- stringType(),
42376
- arrayType(stringType())
42377
- ]);
42378
- ((CreateRefundMetadataResponseUnion$) => {
42379
- CreateRefundMetadataResponseUnion$.inboundSchema = CreateRefundMetadataResponseUnion$inboundSchema;
42380
- CreateRefundMetadataResponseUnion$.outboundSchema = CreateRefundMetadataResponseUnion$outboundSchema;
42381
- })(CreateRefundMetadataResponseUnion$ ||= {});
42382
42126
  CreateRefundStatus$inboundSchema = nativeEnumType(CreateRefundStatus);
42383
42127
  CreateRefundStatus$outboundSchema = CreateRefundStatus$inboundSchema;
42384
42128
  ((CreateRefundStatus$) => {
@@ -42508,11 +42252,7 @@ var init_createrefund = __esm(() => {
42508
42252
  description: stringType().optional(),
42509
42253
  amount: lazyType(() => CreateRefundAmountResponse$inboundSchema).optional(),
42510
42254
  settlementAmount: nullableType(lazyType(() => CreateRefundSettlementAmount$inboundSchema)).optional(),
42511
- metadata: nullableType(unionType([
42512
- lazyType(() => CreateRefundMetadataResponse$inboundSchema),
42513
- stringType(),
42514
- arrayType(stringType())
42515
- ])).optional(),
42255
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
42516
42256
  paymentId: stringType().optional(),
42517
42257
  settlementId: nullableType(stringType()).optional(),
42518
42258
  status: CreateRefundStatus$inboundSchema.optional(),
@@ -42532,11 +42272,7 @@ var init_createrefund = __esm(() => {
42532
42272
  description: stringType().optional(),
42533
42273
  amount: lazyType(() => CreateRefundAmountResponse$outboundSchema).optional(),
42534
42274
  settlementAmount: nullableType(lazyType(() => CreateRefundSettlementAmount$outboundSchema)).optional(),
42535
- metadata: nullableType(unionType([
42536
- lazyType(() => CreateRefundMetadataResponse$outboundSchema),
42537
- stringType(),
42538
- arrayType(stringType())
42539
- ])).optional(),
42275
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
42540
42276
  paymentId: stringType().optional(),
42541
42277
  settlementId: nullableType(stringType()).optional(),
42542
42278
  status: CreateRefundStatus$outboundSchema.optional(),
@@ -43297,7 +43033,7 @@ var init_createsalesinvoice = __esm(() => {
43297
43033
  });
43298
43034
 
43299
43035
  // src/models/operations/createsubscription.ts
43300
- var CreateSubscriptionIntervalRequest, CreateSubscriptionMethodRequest, CreateSubscriptionMode, CreateSubscriptionStatus, CreateSubscriptionIntervalResponse, CreateSubscriptionMethodResponse, CreateSubscriptionAmountRequest$inboundSchema, CreateSubscriptionAmountRequest$outboundSchema, CreateSubscriptionAmountRequest$, CreateSubscriptionIntervalRequest$inboundSchema, CreateSubscriptionIntervalRequest$outboundSchema, CreateSubscriptionIntervalRequest$, CreateSubscriptionMethodRequest$inboundSchema, CreateSubscriptionMethodRequest$outboundSchema, CreateSubscriptionMethodRequest$, CreateSubscriptionApplicationFeeAmountRequest$inboundSchema, CreateSubscriptionApplicationFeeAmountRequest$outboundSchema, CreateSubscriptionApplicationFeeAmountRequest$, CreateSubscriptionApplicationFeeRequest$inboundSchema, CreateSubscriptionApplicationFeeRequest$outboundSchema, CreateSubscriptionApplicationFeeRequest$, CreateSubscriptionMetadataRequest$inboundSchema, CreateSubscriptionMetadataRequest$outboundSchema, CreateSubscriptionMetadataRequest$, CreateSubscriptionMetadataRequestUnion$inboundSchema, CreateSubscriptionMetadataRequestUnion$outboundSchema, CreateSubscriptionMetadataRequestUnion$, CreateSubscriptionRequestBody$inboundSchema, CreateSubscriptionRequestBody$outboundSchema, CreateSubscriptionRequestBody$, CreateSubscriptionRequest$inboundSchema, CreateSubscriptionRequest$outboundSchema, CreateSubscriptionRequest$, CreateSubscriptionNotFoundDocumentation$inboundSchema, CreateSubscriptionNotFoundDocumentation$outboundSchema, CreateSubscriptionNotFoundDocumentation$, CreateSubscriptionNotFoundLinks$inboundSchema, CreateSubscriptionNotFoundLinks$outboundSchema, CreateSubscriptionNotFoundLinks$, CreateSubscriptionMode$inboundSchema, CreateSubscriptionMode$outboundSchema, CreateSubscriptionMode$, CreateSubscriptionStatus$inboundSchema, CreateSubscriptionStatus$outboundSchema, CreateSubscriptionStatus$, CreateSubscriptionAmountResponse$inboundSchema, CreateSubscriptionAmountResponse$outboundSchema, CreateSubscriptionAmountResponse$, CreateSubscriptionIntervalResponse$inboundSchema, CreateSubscriptionIntervalResponse$outboundSchema, CreateSubscriptionIntervalResponse$, CreateSubscriptionMethodResponse$inboundSchema, CreateSubscriptionMethodResponse$outboundSchema, CreateSubscriptionMethodResponse$, CreateSubscriptionApplicationFeeAmountResponse$inboundSchema, CreateSubscriptionApplicationFeeAmountResponse$outboundSchema, CreateSubscriptionApplicationFeeAmountResponse$, CreateSubscriptionApplicationFeeResponse$inboundSchema, CreateSubscriptionApplicationFeeResponse$outboundSchema, CreateSubscriptionApplicationFeeResponse$, CreateSubscriptionMetadataResponse$inboundSchema, CreateSubscriptionMetadataResponse$outboundSchema, CreateSubscriptionMetadataResponse$, CreateSubscriptionMetadataResponseUnion$inboundSchema, CreateSubscriptionMetadataResponseUnion$outboundSchema, CreateSubscriptionMetadataResponseUnion$, CreateSubscriptionSelf$inboundSchema, CreateSubscriptionSelf$outboundSchema, CreateSubscriptionSelf$, CreateSubscriptionCustomer$inboundSchema, CreateSubscriptionCustomer$outboundSchema, CreateSubscriptionCustomer$, CreateSubscriptionMandate$inboundSchema, CreateSubscriptionMandate$outboundSchema, CreateSubscriptionMandate$, CreateSubscriptionProfile$inboundSchema, CreateSubscriptionProfile$outboundSchema, CreateSubscriptionProfile$, CreateSubscriptionPayments$inboundSchema, CreateSubscriptionPayments$outboundSchema, CreateSubscriptionPayments$, CreateSubscriptionDocumentation$inboundSchema, CreateSubscriptionDocumentation$outboundSchema, CreateSubscriptionDocumentation$, CreateSubscriptionLinks$inboundSchema, CreateSubscriptionLinks$outboundSchema, CreateSubscriptionLinks$, CreateSubscriptionResponse$inboundSchema, CreateSubscriptionResponse$outboundSchema, CreateSubscriptionResponse$;
43036
+ var CreateSubscriptionIntervalRequest, CreateSubscriptionMethodRequest, CreateSubscriptionMode, CreateSubscriptionStatus, CreateSubscriptionIntervalResponse, CreateSubscriptionMethodResponse, CreateSubscriptionAmountRequest$inboundSchema, CreateSubscriptionAmountRequest$outboundSchema, CreateSubscriptionAmountRequest$, CreateSubscriptionIntervalRequest$inboundSchema, CreateSubscriptionIntervalRequest$outboundSchema, CreateSubscriptionIntervalRequest$, CreateSubscriptionMethodRequest$inboundSchema, CreateSubscriptionMethodRequest$outboundSchema, CreateSubscriptionMethodRequest$, CreateSubscriptionApplicationFeeAmountRequest$inboundSchema, CreateSubscriptionApplicationFeeAmountRequest$outboundSchema, CreateSubscriptionApplicationFeeAmountRequest$, CreateSubscriptionApplicationFeeRequest$inboundSchema, CreateSubscriptionApplicationFeeRequest$outboundSchema, CreateSubscriptionApplicationFeeRequest$, CreateSubscriptionMetadataRequest$inboundSchema, CreateSubscriptionMetadataRequest$outboundSchema, CreateSubscriptionMetadataRequest$, CreateSubscriptionRequestBody$inboundSchema, CreateSubscriptionRequestBody$outboundSchema, CreateSubscriptionRequestBody$, CreateSubscriptionRequest$inboundSchema, CreateSubscriptionRequest$outboundSchema, CreateSubscriptionRequest$, CreateSubscriptionNotFoundDocumentation$inboundSchema, CreateSubscriptionNotFoundDocumentation$outboundSchema, CreateSubscriptionNotFoundDocumentation$, CreateSubscriptionNotFoundLinks$inboundSchema, CreateSubscriptionNotFoundLinks$outboundSchema, CreateSubscriptionNotFoundLinks$, CreateSubscriptionMode$inboundSchema, CreateSubscriptionMode$outboundSchema, CreateSubscriptionMode$, CreateSubscriptionStatus$inboundSchema, CreateSubscriptionStatus$outboundSchema, CreateSubscriptionStatus$, CreateSubscriptionAmountResponse$inboundSchema, CreateSubscriptionAmountResponse$outboundSchema, CreateSubscriptionAmountResponse$, CreateSubscriptionIntervalResponse$inboundSchema, CreateSubscriptionIntervalResponse$outboundSchema, CreateSubscriptionIntervalResponse$, CreateSubscriptionMethodResponse$inboundSchema, CreateSubscriptionMethodResponse$outboundSchema, CreateSubscriptionMethodResponse$, CreateSubscriptionApplicationFeeAmountResponse$inboundSchema, CreateSubscriptionApplicationFeeAmountResponse$outboundSchema, CreateSubscriptionApplicationFeeAmountResponse$, CreateSubscriptionApplicationFeeResponse$inboundSchema, CreateSubscriptionApplicationFeeResponse$outboundSchema, CreateSubscriptionApplicationFeeResponse$, CreateSubscriptionMetadataResponse$inboundSchema, CreateSubscriptionMetadataResponse$outboundSchema, CreateSubscriptionMetadataResponse$, CreateSubscriptionSelf$inboundSchema, CreateSubscriptionSelf$outboundSchema, CreateSubscriptionSelf$, CreateSubscriptionCustomer$inboundSchema, CreateSubscriptionCustomer$outboundSchema, CreateSubscriptionCustomer$, CreateSubscriptionMandate$inboundSchema, CreateSubscriptionMandate$outboundSchema, CreateSubscriptionMandate$, CreateSubscriptionProfile$inboundSchema, CreateSubscriptionProfile$outboundSchema, CreateSubscriptionProfile$, CreateSubscriptionPayments$inboundSchema, CreateSubscriptionPayments$outboundSchema, CreateSubscriptionPayments$, CreateSubscriptionDocumentation$inboundSchema, CreateSubscriptionDocumentation$outboundSchema, CreateSubscriptionDocumentation$, CreateSubscriptionLinks$inboundSchema, CreateSubscriptionLinks$outboundSchema, CreateSubscriptionLinks$, CreateSubscriptionResponse$inboundSchema, CreateSubscriptionResponse$outboundSchema, CreateSubscriptionResponse$;
43301
43037
  var init_createsubscription = __esm(() => {
43302
43038
  init_esm();
43303
43039
  init_primitives();
@@ -43380,26 +43116,12 @@ var init_createsubscription = __esm(() => {
43380
43116
  CreateSubscriptionApplicationFeeRequest$.inboundSchema = CreateSubscriptionApplicationFeeRequest$inboundSchema;
43381
43117
  CreateSubscriptionApplicationFeeRequest$.outboundSchema = CreateSubscriptionApplicationFeeRequest$outboundSchema;
43382
43118
  })(CreateSubscriptionApplicationFeeRequest$ ||= {});
43383
- CreateSubscriptionMetadataRequest$inboundSchema = objectType({});
43384
- CreateSubscriptionMetadataRequest$outboundSchema = objectType({});
43119
+ CreateSubscriptionMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
43120
+ CreateSubscriptionMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
43385
43121
  ((CreateSubscriptionMetadataRequest$) => {
43386
43122
  CreateSubscriptionMetadataRequest$.inboundSchema = CreateSubscriptionMetadataRequest$inboundSchema;
43387
43123
  CreateSubscriptionMetadataRequest$.outboundSchema = CreateSubscriptionMetadataRequest$outboundSchema;
43388
43124
  })(CreateSubscriptionMetadataRequest$ ||= {});
43389
- CreateSubscriptionMetadataRequestUnion$inboundSchema = unionType([
43390
- lazyType(() => CreateSubscriptionMetadataRequest$inboundSchema),
43391
- stringType(),
43392
- arrayType(stringType())
43393
- ]);
43394
- CreateSubscriptionMetadataRequestUnion$outboundSchema = unionType([
43395
- lazyType(() => CreateSubscriptionMetadataRequest$outboundSchema),
43396
- stringType(),
43397
- arrayType(stringType())
43398
- ]);
43399
- ((CreateSubscriptionMetadataRequestUnion$) => {
43400
- CreateSubscriptionMetadataRequestUnion$.inboundSchema = CreateSubscriptionMetadataRequestUnion$inboundSchema;
43401
- CreateSubscriptionMetadataRequestUnion$.outboundSchema = CreateSubscriptionMetadataRequestUnion$outboundSchema;
43402
- })(CreateSubscriptionMetadataRequestUnion$ ||= {});
43403
43125
  CreateSubscriptionRequestBody$inboundSchema = objectType({
43404
43126
  amount: lazyType(() => CreateSubscriptionAmountRequest$inboundSchema),
43405
43127
  times: nullableType(numberType().int()).optional(),
@@ -43408,11 +43130,7 @@ var init_createsubscription = __esm(() => {
43408
43130
  description: stringType(),
43409
43131
  method: nullableType(CreateSubscriptionMethodRequest$inboundSchema).optional(),
43410
43132
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeRequest$inboundSchema).optional(),
43411
- metadata: nullableType(unionType([
43412
- lazyType(() => CreateSubscriptionMetadataRequest$inboundSchema),
43413
- stringType(),
43414
- arrayType(stringType())
43415
- ])).optional(),
43133
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
43416
43134
  webhookUrl: stringType().optional(),
43417
43135
  mandateId: nullableType(stringType()).optional(),
43418
43136
  testmode: nullableType(booleanType()).optional()
@@ -43425,11 +43143,7 @@ var init_createsubscription = __esm(() => {
43425
43143
  description: stringType(),
43426
43144
  method: nullableType(CreateSubscriptionMethodRequest$outboundSchema).optional(),
43427
43145
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeRequest$outboundSchema).optional(),
43428
- metadata: nullableType(unionType([
43429
- lazyType(() => CreateSubscriptionMetadataRequest$outboundSchema),
43430
- stringType(),
43431
- arrayType(stringType())
43432
- ])).optional(),
43146
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
43433
43147
  webhookUrl: stringType().optional(),
43434
43148
  mandateId: nullableType(stringType()).optional(),
43435
43149
  testmode: nullableType(booleanType()).optional()
@@ -43540,26 +43254,12 @@ var init_createsubscription = __esm(() => {
43540
43254
  CreateSubscriptionApplicationFeeResponse$.inboundSchema = CreateSubscriptionApplicationFeeResponse$inboundSchema;
43541
43255
  CreateSubscriptionApplicationFeeResponse$.outboundSchema = CreateSubscriptionApplicationFeeResponse$outboundSchema;
43542
43256
  })(CreateSubscriptionApplicationFeeResponse$ ||= {});
43543
- CreateSubscriptionMetadataResponse$inboundSchema = objectType({});
43544
- CreateSubscriptionMetadataResponse$outboundSchema = objectType({});
43257
+ CreateSubscriptionMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
43258
+ CreateSubscriptionMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
43545
43259
  ((CreateSubscriptionMetadataResponse$) => {
43546
43260
  CreateSubscriptionMetadataResponse$.inboundSchema = CreateSubscriptionMetadataResponse$inboundSchema;
43547
43261
  CreateSubscriptionMetadataResponse$.outboundSchema = CreateSubscriptionMetadataResponse$outboundSchema;
43548
43262
  })(CreateSubscriptionMetadataResponse$ ||= {});
43549
- CreateSubscriptionMetadataResponseUnion$inboundSchema = unionType([
43550
- lazyType(() => CreateSubscriptionMetadataResponse$inboundSchema),
43551
- stringType(),
43552
- arrayType(stringType())
43553
- ]);
43554
- CreateSubscriptionMetadataResponseUnion$outboundSchema = unionType([
43555
- lazyType(() => CreateSubscriptionMetadataResponse$outboundSchema),
43556
- stringType(),
43557
- arrayType(stringType())
43558
- ]);
43559
- ((CreateSubscriptionMetadataResponseUnion$) => {
43560
- CreateSubscriptionMetadataResponseUnion$.inboundSchema = CreateSubscriptionMetadataResponseUnion$inboundSchema;
43561
- CreateSubscriptionMetadataResponseUnion$.outboundSchema = CreateSubscriptionMetadataResponseUnion$outboundSchema;
43562
- })(CreateSubscriptionMetadataResponseUnion$ ||= {});
43563
43263
  CreateSubscriptionSelf$inboundSchema = objectType({
43564
43264
  href: stringType(),
43565
43265
  type: stringType()
@@ -43666,11 +43366,7 @@ var init_createsubscription = __esm(() => {
43666
43366
  description: stringType(),
43667
43367
  method: nullableType(CreateSubscriptionMethodResponse$inboundSchema),
43668
43368
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$inboundSchema).optional(),
43669
- metadata: nullableType(unionType([
43670
- lazyType(() => CreateSubscriptionMetadataResponse$inboundSchema),
43671
- stringType(),
43672
- arrayType(stringType())
43673
- ])),
43369
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
43674
43370
  webhookUrl: stringType(),
43675
43371
  customerId: stringType(),
43676
43372
  mandateId: nullableType(stringType()).optional(),
@@ -43696,11 +43392,7 @@ var init_createsubscription = __esm(() => {
43696
43392
  description: stringType(),
43697
43393
  method: nullableType(CreateSubscriptionMethodResponse$outboundSchema),
43698
43394
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$outboundSchema).optional(),
43699
- metadata: nullableType(unionType([
43700
- lazyType(() => CreateSubscriptionMetadataResponse$outboundSchema),
43701
- stringType(),
43702
- arrayType(stringType())
43703
- ])),
43395
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
43704
43396
  webhookUrl: stringType(),
43705
43397
  customerId: stringType(),
43706
43398
  mandateId: nullableType(stringType()).optional(),
@@ -60662,7 +60354,7 @@ var init_getbalancereport = __esm(() => {
60662
60354
  });
60663
60355
 
60664
60356
  // src/models/operations/getcapture.ts
60665
- var GetCaptureEmbed, GetCaptureMode, GetCaptureStatus, GetCaptureEmbed$inboundSchema, GetCaptureEmbed$outboundSchema, GetCaptureEmbed$, GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$, GetCaptureNotFoundDocumentation$inboundSchema, GetCaptureNotFoundDocumentation$outboundSchema, GetCaptureNotFoundDocumentation$, GetCaptureNotFoundLinks$inboundSchema, GetCaptureNotFoundLinks$outboundSchema, GetCaptureNotFoundLinks$, GetCaptureMode$inboundSchema, GetCaptureMode$outboundSchema, GetCaptureMode$, GetCaptureAmount$inboundSchema, GetCaptureAmount$outboundSchema, GetCaptureAmount$, GetCaptureSettlementAmount$inboundSchema, GetCaptureSettlementAmount$outboundSchema, GetCaptureSettlementAmount$, GetCaptureStatus$inboundSchema, GetCaptureStatus$outboundSchema, GetCaptureStatus$, GetCaptureMetadata$inboundSchema, GetCaptureMetadata$outboundSchema, GetCaptureMetadata$, GetCaptureMetadataUnion$inboundSchema, GetCaptureMetadataUnion$outboundSchema, GetCaptureMetadataUnion$, GetCaptureSelf$inboundSchema, GetCaptureSelf$outboundSchema, GetCaptureSelf$, GetCapturePayment$inboundSchema, GetCapturePayment$outboundSchema, GetCapturePayment$, GetCaptureSettlement$inboundSchema, GetCaptureSettlement$outboundSchema, GetCaptureSettlement$, GetCaptureShipment$inboundSchema, GetCaptureShipment$outboundSchema, GetCaptureShipment$, GetCaptureDocumentation$inboundSchema, GetCaptureDocumentation$outboundSchema, GetCaptureDocumentation$, GetCaptureLinks$inboundSchema, GetCaptureLinks$outboundSchema, GetCaptureLinks$, GetCaptureResponse$inboundSchema, GetCaptureResponse$outboundSchema, GetCaptureResponse$;
60357
+ var GetCaptureEmbed, GetCaptureMode, GetCaptureStatus, GetCaptureEmbed$inboundSchema, GetCaptureEmbed$outboundSchema, GetCaptureEmbed$, GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$, GetCaptureNotFoundDocumentation$inboundSchema, GetCaptureNotFoundDocumentation$outboundSchema, GetCaptureNotFoundDocumentation$, GetCaptureNotFoundLinks$inboundSchema, GetCaptureNotFoundLinks$outboundSchema, GetCaptureNotFoundLinks$, GetCaptureMode$inboundSchema, GetCaptureMode$outboundSchema, GetCaptureMode$, GetCaptureAmount$inboundSchema, GetCaptureAmount$outboundSchema, GetCaptureAmount$, GetCaptureSettlementAmount$inboundSchema, GetCaptureSettlementAmount$outboundSchema, GetCaptureSettlementAmount$, GetCaptureStatus$inboundSchema, GetCaptureStatus$outboundSchema, GetCaptureStatus$, GetCaptureMetadata$inboundSchema, GetCaptureMetadata$outboundSchema, GetCaptureMetadata$, GetCaptureSelf$inboundSchema, GetCaptureSelf$outboundSchema, GetCaptureSelf$, GetCapturePayment$inboundSchema, GetCapturePayment$outboundSchema, GetCapturePayment$, GetCaptureSettlement$inboundSchema, GetCaptureSettlement$outboundSchema, GetCaptureSettlement$, GetCaptureShipment$inboundSchema, GetCaptureShipment$outboundSchema, GetCaptureShipment$, GetCaptureDocumentation$inboundSchema, GetCaptureDocumentation$outboundSchema, GetCaptureDocumentation$, GetCaptureLinks$inboundSchema, GetCaptureLinks$outboundSchema, GetCaptureLinks$, GetCaptureResponse$inboundSchema, GetCaptureResponse$outboundSchema, GetCaptureResponse$;
60666
60358
  var init_getcapture = __esm(() => {
60667
60359
  init_esm();
60668
60360
  init_primitives();
@@ -60758,26 +60450,12 @@ var init_getcapture = __esm(() => {
60758
60450
  GetCaptureStatus$.inboundSchema = GetCaptureStatus$inboundSchema;
60759
60451
  GetCaptureStatus$.outboundSchema = GetCaptureStatus$outboundSchema;
60760
60452
  })(GetCaptureStatus$ ||= {});
60761
- GetCaptureMetadata$inboundSchema = objectType({});
60762
- GetCaptureMetadata$outboundSchema = objectType({});
60453
+ GetCaptureMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
60454
+ GetCaptureMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
60763
60455
  ((GetCaptureMetadata$) => {
60764
60456
  GetCaptureMetadata$.inboundSchema = GetCaptureMetadata$inboundSchema;
60765
60457
  GetCaptureMetadata$.outboundSchema = GetCaptureMetadata$outboundSchema;
60766
60458
  })(GetCaptureMetadata$ ||= {});
60767
- GetCaptureMetadataUnion$inboundSchema = unionType([
60768
- lazyType(() => GetCaptureMetadata$inboundSchema),
60769
- stringType(),
60770
- arrayType(stringType())
60771
- ]);
60772
- GetCaptureMetadataUnion$outboundSchema = unionType([
60773
- lazyType(() => GetCaptureMetadata$outboundSchema),
60774
- stringType(),
60775
- arrayType(stringType())
60776
- ]);
60777
- ((GetCaptureMetadataUnion$) => {
60778
- GetCaptureMetadataUnion$.inboundSchema = GetCaptureMetadataUnion$inboundSchema;
60779
- GetCaptureMetadataUnion$.outboundSchema = GetCaptureMetadataUnion$outboundSchema;
60780
- })(GetCaptureMetadataUnion$ ||= {});
60781
60459
  GetCaptureSelf$inboundSchema = objectType({
60782
60460
  href: stringType(),
60783
60461
  type: stringType()
@@ -60864,11 +60542,7 @@ var init_getcapture = __esm(() => {
60864
60542
  amount: nullableType(lazyType(() => GetCaptureAmount$inboundSchema)),
60865
60543
  settlementAmount: nullableType(lazyType(() => GetCaptureSettlementAmount$inboundSchema)).optional(),
60866
60544
  status: GetCaptureStatus$inboundSchema,
60867
- metadata: nullableType(unionType([
60868
- lazyType(() => GetCaptureMetadata$inboundSchema),
60869
- stringType(),
60870
- arrayType(stringType())
60871
- ])).optional(),
60545
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
60872
60546
  paymentId: stringType(),
60873
60547
  shipmentId: nullableType(stringType()).optional(),
60874
60548
  settlementId: nullableType(stringType()).optional(),
@@ -60887,11 +60561,7 @@ var init_getcapture = __esm(() => {
60887
60561
  amount: nullableType(lazyType(() => GetCaptureAmount$outboundSchema)),
60888
60562
  settlementAmount: nullableType(lazyType(() => GetCaptureSettlementAmount$outboundSchema)).optional(),
60889
60563
  status: GetCaptureStatus$outboundSchema,
60890
- metadata: nullableType(unionType([
60891
- lazyType(() => GetCaptureMetadata$outboundSchema),
60892
- stringType(),
60893
- arrayType(stringType())
60894
- ])).optional(),
60564
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
60895
60565
  paymentId: stringType(),
60896
60566
  shipmentId: nullableType(stringType()).optional(),
60897
60567
  settlementId: nullableType(stringType()).optional(),
@@ -61965,7 +61635,7 @@ var init_getcurrentprofile = __esm(() => {
61965
61635
  });
61966
61636
 
61967
61637
  // src/models/operations/getcustomer.ts
61968
- var GetCustomerInclude, GetCustomerMode, GetCustomerLocale, GetCustomerInclude$inboundSchema, GetCustomerInclude$outboundSchema, GetCustomerInclude$, GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerNotFoundDocumentation$inboundSchema, GetCustomerNotFoundDocumentation$outboundSchema, GetCustomerNotFoundDocumentation$, GetCustomerNotFoundLinks$inboundSchema, GetCustomerNotFoundLinks$outboundSchema, GetCustomerNotFoundLinks$, GetCustomerMode$inboundSchema, GetCustomerMode$outboundSchema, GetCustomerMode$, GetCustomerLocale$inboundSchema, GetCustomerLocale$outboundSchema, GetCustomerLocale$, GetCustomerMetadata$inboundSchema, GetCustomerMetadata$outboundSchema, GetCustomerMetadata$, GetCustomerMetadataUnion$inboundSchema, GetCustomerMetadataUnion$outboundSchema, GetCustomerMetadataUnion$, GetCustomerSelf$inboundSchema, GetCustomerSelf$outboundSchema, GetCustomerSelf$, GetCustomerDashboard$inboundSchema, GetCustomerDashboard$outboundSchema, GetCustomerDashboard$, GetCustomerPayments$inboundSchema, GetCustomerPayments$outboundSchema, GetCustomerPayments$, GetCustomerMandates$inboundSchema, GetCustomerMandates$outboundSchema, GetCustomerMandates$, GetCustomerSubscriptions$inboundSchema, GetCustomerSubscriptions$outboundSchema, GetCustomerSubscriptions$, GetCustomerDocumentation$inboundSchema, GetCustomerDocumentation$outboundSchema, GetCustomerDocumentation$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, Url$inboundSchema, Url$outboundSchema, Url$, EventLinks$inboundSchema, EventLinks$outboundSchema, EventLinks$, Event$inboundSchema, Event$outboundSchema, Event$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
61638
+ var GetCustomerInclude, GetCustomerMode, GetCustomerLocale, GetCustomerInclude$inboundSchema, GetCustomerInclude$outboundSchema, GetCustomerInclude$, GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerNotFoundDocumentation$inboundSchema, GetCustomerNotFoundDocumentation$outboundSchema, GetCustomerNotFoundDocumentation$, GetCustomerNotFoundLinks$inboundSchema, GetCustomerNotFoundLinks$outboundSchema, GetCustomerNotFoundLinks$, GetCustomerMode$inboundSchema, GetCustomerMode$outboundSchema, GetCustomerMode$, GetCustomerLocale$inboundSchema, GetCustomerLocale$outboundSchema, GetCustomerLocale$, GetCustomerMetadata$inboundSchema, GetCustomerMetadata$outboundSchema, GetCustomerMetadata$, GetCustomerSelf$inboundSchema, GetCustomerSelf$outboundSchema, GetCustomerSelf$, GetCustomerDashboard$inboundSchema, GetCustomerDashboard$outboundSchema, GetCustomerDashboard$, GetCustomerPayments$inboundSchema, GetCustomerPayments$outboundSchema, GetCustomerPayments$, GetCustomerMandates$inboundSchema, GetCustomerMandates$outboundSchema, GetCustomerMandates$, GetCustomerSubscriptions$inboundSchema, GetCustomerSubscriptions$outboundSchema, GetCustomerSubscriptions$, GetCustomerDocumentation$inboundSchema, GetCustomerDocumentation$outboundSchema, GetCustomerDocumentation$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, Url$inboundSchema, Url$outboundSchema, Url$, EventLinks$inboundSchema, EventLinks$outboundSchema, EventLinks$, Event$inboundSchema, Event$outboundSchema, Event$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
61969
61639
  var init_getcustomer = __esm(() => {
61970
61640
  init_esm();
61971
61641
  init_primitives();
@@ -62054,26 +61724,12 @@ var init_getcustomer = __esm(() => {
62054
61724
  GetCustomerLocale$.inboundSchema = GetCustomerLocale$inboundSchema;
62055
61725
  GetCustomerLocale$.outboundSchema = GetCustomerLocale$outboundSchema;
62056
61726
  })(GetCustomerLocale$ ||= {});
62057
- GetCustomerMetadata$inboundSchema = objectType({});
62058
- GetCustomerMetadata$outboundSchema = objectType({});
61727
+ GetCustomerMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
61728
+ GetCustomerMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
62059
61729
  ((GetCustomerMetadata$) => {
62060
61730
  GetCustomerMetadata$.inboundSchema = GetCustomerMetadata$inboundSchema;
62061
61731
  GetCustomerMetadata$.outboundSchema = GetCustomerMetadata$outboundSchema;
62062
61732
  })(GetCustomerMetadata$ ||= {});
62063
- GetCustomerMetadataUnion$inboundSchema = unionType([
62064
- lazyType(() => GetCustomerMetadata$inboundSchema),
62065
- stringType(),
62066
- arrayType(stringType())
62067
- ]);
62068
- GetCustomerMetadataUnion$outboundSchema = unionType([
62069
- lazyType(() => GetCustomerMetadata$outboundSchema),
62070
- stringType(),
62071
- arrayType(stringType())
62072
- ]);
62073
- ((GetCustomerMetadataUnion$) => {
62074
- GetCustomerMetadataUnion$.inboundSchema = GetCustomerMetadataUnion$inboundSchema;
62075
- GetCustomerMetadataUnion$.outboundSchema = GetCustomerMetadataUnion$outboundSchema;
62076
- })(GetCustomerMetadataUnion$ ||= {});
62077
61733
  GetCustomerSelf$inboundSchema = objectType({
62078
61734
  href: stringType(),
62079
61735
  type: stringType()
@@ -62221,11 +61877,7 @@ var init_getcustomer = __esm(() => {
62221
61877
  name: nullableType(stringType()),
62222
61878
  email: nullableType(stringType()),
62223
61879
  locale: nullableType(GetCustomerLocale$inboundSchema),
62224
- metadata: nullableType(unionType([
62225
- lazyType(() => GetCustomerMetadata$inboundSchema),
62226
- stringType(),
62227
- arrayType(stringType())
62228
- ])),
61880
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
62229
61881
  createdAt: stringType(),
62230
61882
  _links: lazyType(() => GetCustomerLinks$inboundSchema),
62231
61883
  events: arrayType(lazyType(() => Event$inboundSchema)).optional()
@@ -62241,11 +61893,7 @@ var init_getcustomer = __esm(() => {
62241
61893
  name: nullableType(stringType()),
62242
61894
  email: nullableType(stringType()),
62243
61895
  locale: nullableType(GetCustomerLocale$outboundSchema),
62244
- metadata: nullableType(unionType([
62245
- lazyType(() => GetCustomerMetadata$outboundSchema),
62246
- stringType(),
62247
- arrayType(stringType())
62248
- ])),
61896
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
62249
61897
  createdAt: stringType(),
62250
61898
  links: lazyType(() => GetCustomerLinks$outboundSchema),
62251
61899
  events: arrayType(lazyType(() => Event$outboundSchema)).optional()
@@ -64358,7 +64006,7 @@ var init_getpartnerstatus = __esm(() => {
64358
64006
  });
64359
64007
 
64360
64008
  // src/models/operations/getpayment.ts
64361
- var GetPaymentInclude, GetPaymentEmbed, GetPaymentMode, GetPaymentLineType, GetPaymentCategory, GetPaymentInterval, GetPaymentLocale, GetPaymentMethod, GetPaymentCaptureMode, GetPaymentRoutingMode, GetPaymentRoutingType, GetPaymentSequenceType, GetPaymentStatus, GetPaymentInclude$inboundSchema, GetPaymentInclude$outboundSchema, GetPaymentInclude$, GetPaymentEmbed$inboundSchema, GetPaymentEmbed$outboundSchema, GetPaymentEmbed$, GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$, GetPaymentNotFoundDocumentation$inboundSchema, GetPaymentNotFoundDocumentation$outboundSchema, GetPaymentNotFoundDocumentation$, GetPaymentNotFoundLinks$inboundSchema, GetPaymentNotFoundLinks$outboundSchema, GetPaymentNotFoundLinks$, GetPaymentMode$inboundSchema, GetPaymentMode$outboundSchema, GetPaymentMode$, GetPaymentAmount$inboundSchema, GetPaymentAmount$outboundSchema, GetPaymentAmount$, GetPaymentAmountRefunded$inboundSchema, GetPaymentAmountRefunded$outboundSchema, GetPaymentAmountRefunded$, GetPaymentAmountRemaining$inboundSchema, GetPaymentAmountRemaining$outboundSchema, GetPaymentAmountRemaining$, GetPaymentAmountCaptured$inboundSchema, GetPaymentAmountCaptured$outboundSchema, GetPaymentAmountCaptured$, GetPaymentAmountChargedBack$inboundSchema, GetPaymentAmountChargedBack$outboundSchema, GetPaymentAmountChargedBack$, GetPaymentSettlementAmount$inboundSchema, GetPaymentSettlementAmount$outboundSchema, GetPaymentSettlementAmount$, GetPaymentLineType$inboundSchema, GetPaymentLineType$outboundSchema, GetPaymentLineType$, GetPaymentUnitPrice$inboundSchema, GetPaymentUnitPrice$outboundSchema, GetPaymentUnitPrice$, GetPaymentDiscountAmount$inboundSchema, GetPaymentDiscountAmount$outboundSchema, GetPaymentDiscountAmount$, GetPaymentTotalAmount$inboundSchema, GetPaymentTotalAmount$outboundSchema, GetPaymentTotalAmount$, GetPaymentVatAmount$inboundSchema, GetPaymentVatAmount$outboundSchema, GetPaymentVatAmount$, GetPaymentCategory$inboundSchema, GetPaymentCategory$outboundSchema, GetPaymentCategory$, GetPaymentInterval$inboundSchema, GetPaymentInterval$outboundSchema, GetPaymentInterval$, GetPaymentRecurringAmount$inboundSchema, GetPaymentRecurringAmount$outboundSchema, GetPaymentRecurringAmount$, GetPaymentRecurring$inboundSchema, GetPaymentRecurring$outboundSchema, GetPaymentRecurring$, GetPaymentLine$inboundSchema, GetPaymentLine$outboundSchema, GetPaymentLine$, GetPaymentBillingAddress$inboundSchema, GetPaymentBillingAddress$outboundSchema, GetPaymentBillingAddress$, GetPaymentShippingAddress$inboundSchema, GetPaymentShippingAddress$outboundSchema, GetPaymentShippingAddress$, GetPaymentLocale$inboundSchema, GetPaymentLocale$outboundSchema, GetPaymentLocale$, GetPaymentMethod$inboundSchema, GetPaymentMethod$outboundSchema, GetPaymentMethod$, GetPaymentMetadata$inboundSchema, GetPaymentMetadata$outboundSchema, GetPaymentMetadata$, GetPaymentMetadataUnion$inboundSchema, GetPaymentMetadataUnion$outboundSchema, GetPaymentMetadataUnion$, GetPaymentCaptureMode$inboundSchema, GetPaymentCaptureMode$outboundSchema, GetPaymentCaptureMode$, GetPaymentApplicationFeeAmount$inboundSchema, GetPaymentApplicationFeeAmount$outboundSchema, GetPaymentApplicationFeeAmount$, GetPaymentApplicationFee$inboundSchema, GetPaymentApplicationFee$outboundSchema, GetPaymentApplicationFee$, GetPaymentRoutingMode$inboundSchema, GetPaymentRoutingMode$outboundSchema, GetPaymentRoutingMode$, GetPaymentRoutingAmount$inboundSchema, GetPaymentRoutingAmount$outboundSchema, GetPaymentRoutingAmount$, GetPaymentRoutingType$inboundSchema, GetPaymentRoutingType$outboundSchema, GetPaymentRoutingType$, GetPaymentDestination$inboundSchema, GetPaymentDestination$outboundSchema, GetPaymentDestination$, GetPaymentRoutingSelf$inboundSchema, GetPaymentRoutingSelf$outboundSchema, GetPaymentRoutingSelf$, GetPaymentPayment$inboundSchema, GetPaymentPayment$outboundSchema, GetPaymentPayment$, GetPaymentRoutingLinks$inboundSchema, GetPaymentRoutingLinks$outboundSchema, GetPaymentRoutingLinks$, GetPaymentRouting$inboundSchema, GetPaymentRouting$outboundSchema, GetPaymentRouting$, GetPaymentSequenceType$inboundSchema, GetPaymentSequenceType$outboundSchema, GetPaymentSequenceType$, GetPaymentStatus$inboundSchema, GetPaymentStatus$outboundSchema, GetPaymentStatus$, GetPaymentStatusReason$inboundSchema, GetPaymentStatusReason$outboundSchema, GetPaymentStatusReason$, GetPaymentSelf$inboundSchema, GetPaymentSelf$outboundSchema, GetPaymentSelf$, GetPaymentCheckout$inboundSchema, GetPaymentCheckout$outboundSchema, GetPaymentCheckout$, GetPaymentMobileAppCheckout$inboundSchema, GetPaymentMobileAppCheckout$outboundSchema, GetPaymentMobileAppCheckout$, GetPaymentChangePaymentState$inboundSchema, GetPaymentChangePaymentState$outboundSchema, GetPaymentChangePaymentState$, GetPaymentDashboard$inboundSchema, GetPaymentDashboard$outboundSchema, GetPaymentDashboard$, GetPaymentRefunds$inboundSchema, GetPaymentRefunds$outboundSchema, GetPaymentRefunds$, GetPaymentChargebacks$inboundSchema, GetPaymentChargebacks$outboundSchema, GetPaymentChargebacks$, GetPaymentCaptures$inboundSchema, GetPaymentCaptures$outboundSchema, GetPaymentCaptures$, GetPaymentSettlement$inboundSchema, GetPaymentSettlement$outboundSchema, GetPaymentSettlement$, GetPaymentCustomer$inboundSchema, GetPaymentCustomer$outboundSchema, GetPaymentCustomer$, GetPaymentMandate$inboundSchema, GetPaymentMandate$outboundSchema, GetPaymentMandate$, GetPaymentSubscription$inboundSchema, GetPaymentSubscription$outboundSchema, GetPaymentSubscription$, GetPaymentOrder$inboundSchema, GetPaymentOrder$outboundSchema, GetPaymentOrder$, GetPaymentTerminal$inboundSchema, GetPaymentTerminal$outboundSchema, GetPaymentTerminal$, GetPaymentDocumentation$inboundSchema, GetPaymentDocumentation$outboundSchema, GetPaymentDocumentation$, GetPaymentLinks$inboundSchema, GetPaymentLinks$outboundSchema, GetPaymentLinks$, GetPaymentResponse$inboundSchema, GetPaymentResponse$outboundSchema, GetPaymentResponse$;
64009
+ var GetPaymentInclude, GetPaymentEmbed, GetPaymentMode, GetPaymentLineType, GetPaymentCategory, GetPaymentInterval, GetPaymentLocale, GetPaymentMethod, GetPaymentCaptureMode, GetPaymentRoutingMode, GetPaymentRoutingType, GetPaymentSequenceType, GetPaymentStatus, GetPaymentInclude$inboundSchema, GetPaymentInclude$outboundSchema, GetPaymentInclude$, GetPaymentEmbed$inboundSchema, GetPaymentEmbed$outboundSchema, GetPaymentEmbed$, GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$, GetPaymentNotFoundDocumentation$inboundSchema, GetPaymentNotFoundDocumentation$outboundSchema, GetPaymentNotFoundDocumentation$, GetPaymentNotFoundLinks$inboundSchema, GetPaymentNotFoundLinks$outboundSchema, GetPaymentNotFoundLinks$, GetPaymentMode$inboundSchema, GetPaymentMode$outboundSchema, GetPaymentMode$, GetPaymentAmount$inboundSchema, GetPaymentAmount$outboundSchema, GetPaymentAmount$, GetPaymentAmountRefunded$inboundSchema, GetPaymentAmountRefunded$outboundSchema, GetPaymentAmountRefunded$, GetPaymentAmountRemaining$inboundSchema, GetPaymentAmountRemaining$outboundSchema, GetPaymentAmountRemaining$, GetPaymentAmountCaptured$inboundSchema, GetPaymentAmountCaptured$outboundSchema, GetPaymentAmountCaptured$, GetPaymentAmountChargedBack$inboundSchema, GetPaymentAmountChargedBack$outboundSchema, GetPaymentAmountChargedBack$, GetPaymentSettlementAmount$inboundSchema, GetPaymentSettlementAmount$outboundSchema, GetPaymentSettlementAmount$, GetPaymentLineType$inboundSchema, GetPaymentLineType$outboundSchema, GetPaymentLineType$, GetPaymentUnitPrice$inboundSchema, GetPaymentUnitPrice$outboundSchema, GetPaymentUnitPrice$, GetPaymentDiscountAmount$inboundSchema, GetPaymentDiscountAmount$outboundSchema, GetPaymentDiscountAmount$, GetPaymentTotalAmount$inboundSchema, GetPaymentTotalAmount$outboundSchema, GetPaymentTotalAmount$, GetPaymentVatAmount$inboundSchema, GetPaymentVatAmount$outboundSchema, GetPaymentVatAmount$, GetPaymentCategory$inboundSchema, GetPaymentCategory$outboundSchema, GetPaymentCategory$, GetPaymentInterval$inboundSchema, GetPaymentInterval$outboundSchema, GetPaymentInterval$, GetPaymentRecurringAmount$inboundSchema, GetPaymentRecurringAmount$outboundSchema, GetPaymentRecurringAmount$, GetPaymentRecurring$inboundSchema, GetPaymentRecurring$outboundSchema, GetPaymentRecurring$, GetPaymentLine$inboundSchema, GetPaymentLine$outboundSchema, GetPaymentLine$, GetPaymentBillingAddress$inboundSchema, GetPaymentBillingAddress$outboundSchema, GetPaymentBillingAddress$, GetPaymentShippingAddress$inboundSchema, GetPaymentShippingAddress$outboundSchema, GetPaymentShippingAddress$, GetPaymentLocale$inboundSchema, GetPaymentLocale$outboundSchema, GetPaymentLocale$, GetPaymentMethod$inboundSchema, GetPaymentMethod$outboundSchema, GetPaymentMethod$, GetPaymentMetadata$inboundSchema, GetPaymentMetadata$outboundSchema, GetPaymentMetadata$, GetPaymentCaptureMode$inboundSchema, GetPaymentCaptureMode$outboundSchema, GetPaymentCaptureMode$, GetPaymentApplicationFeeAmount$inboundSchema, GetPaymentApplicationFeeAmount$outboundSchema, GetPaymentApplicationFeeAmount$, GetPaymentApplicationFee$inboundSchema, GetPaymentApplicationFee$outboundSchema, GetPaymentApplicationFee$, GetPaymentRoutingMode$inboundSchema, GetPaymentRoutingMode$outboundSchema, GetPaymentRoutingMode$, GetPaymentRoutingAmount$inboundSchema, GetPaymentRoutingAmount$outboundSchema, GetPaymentRoutingAmount$, GetPaymentRoutingType$inboundSchema, GetPaymentRoutingType$outboundSchema, GetPaymentRoutingType$, GetPaymentDestination$inboundSchema, GetPaymentDestination$outboundSchema, GetPaymentDestination$, GetPaymentRoutingSelf$inboundSchema, GetPaymentRoutingSelf$outboundSchema, GetPaymentRoutingSelf$, GetPaymentPayment$inboundSchema, GetPaymentPayment$outboundSchema, GetPaymentPayment$, GetPaymentRoutingLinks$inboundSchema, GetPaymentRoutingLinks$outboundSchema, GetPaymentRoutingLinks$, GetPaymentRouting$inboundSchema, GetPaymentRouting$outboundSchema, GetPaymentRouting$, GetPaymentSequenceType$inboundSchema, GetPaymentSequenceType$outboundSchema, GetPaymentSequenceType$, GetPaymentStatus$inboundSchema, GetPaymentStatus$outboundSchema, GetPaymentStatus$, GetPaymentStatusReason$inboundSchema, GetPaymentStatusReason$outboundSchema, GetPaymentStatusReason$, GetPaymentSelf$inboundSchema, GetPaymentSelf$outboundSchema, GetPaymentSelf$, GetPaymentCheckout$inboundSchema, GetPaymentCheckout$outboundSchema, GetPaymentCheckout$, GetPaymentMobileAppCheckout$inboundSchema, GetPaymentMobileAppCheckout$outboundSchema, GetPaymentMobileAppCheckout$, GetPaymentChangePaymentState$inboundSchema, GetPaymentChangePaymentState$outboundSchema, GetPaymentChangePaymentState$, GetPaymentDashboard$inboundSchema, GetPaymentDashboard$outboundSchema, GetPaymentDashboard$, GetPaymentRefunds$inboundSchema, GetPaymentRefunds$outboundSchema, GetPaymentRefunds$, GetPaymentChargebacks$inboundSchema, GetPaymentChargebacks$outboundSchema, GetPaymentChargebacks$, GetPaymentCaptures$inboundSchema, GetPaymentCaptures$outboundSchema, GetPaymentCaptures$, GetPaymentSettlement$inboundSchema, GetPaymentSettlement$outboundSchema, GetPaymentSettlement$, GetPaymentCustomer$inboundSchema, GetPaymentCustomer$outboundSchema, GetPaymentCustomer$, GetPaymentMandate$inboundSchema, GetPaymentMandate$outboundSchema, GetPaymentMandate$, GetPaymentSubscription$inboundSchema, GetPaymentSubscription$outboundSchema, GetPaymentSubscription$, GetPaymentOrder$inboundSchema, GetPaymentOrder$outboundSchema, GetPaymentOrder$, GetPaymentTerminal$inboundSchema, GetPaymentTerminal$outboundSchema, GetPaymentTerminal$, GetPaymentDocumentation$inboundSchema, GetPaymentDocumentation$outboundSchema, GetPaymentDocumentation$, GetPaymentLinks$inboundSchema, GetPaymentLinks$outboundSchema, GetPaymentLinks$, GetPaymentResponse$inboundSchema, GetPaymentResponse$outboundSchema, GetPaymentResponse$;
64362
64010
  var init_getpayment = __esm(() => {
64363
64011
  init_esm();
64364
64012
  init_primitives();
@@ -64819,26 +64467,12 @@ var init_getpayment = __esm(() => {
64819
64467
  GetPaymentMethod$.inboundSchema = GetPaymentMethod$inboundSchema;
64820
64468
  GetPaymentMethod$.outboundSchema = GetPaymentMethod$outboundSchema;
64821
64469
  })(GetPaymentMethod$ ||= {});
64822
- GetPaymentMetadata$inboundSchema = objectType({});
64823
- GetPaymentMetadata$outboundSchema = objectType({});
64470
+ GetPaymentMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
64471
+ GetPaymentMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
64824
64472
  ((GetPaymentMetadata$) => {
64825
64473
  GetPaymentMetadata$.inboundSchema = GetPaymentMetadata$inboundSchema;
64826
64474
  GetPaymentMetadata$.outboundSchema = GetPaymentMetadata$outboundSchema;
64827
64475
  })(GetPaymentMetadata$ ||= {});
64828
- GetPaymentMetadataUnion$inboundSchema = unionType([
64829
- lazyType(() => GetPaymentMetadata$inboundSchema),
64830
- stringType(),
64831
- arrayType(stringType())
64832
- ]);
64833
- GetPaymentMetadataUnion$outboundSchema = unionType([
64834
- lazyType(() => GetPaymentMetadata$outboundSchema),
64835
- stringType(),
64836
- arrayType(stringType())
64837
- ]);
64838
- ((GetPaymentMetadataUnion$) => {
64839
- GetPaymentMetadataUnion$.inboundSchema = GetPaymentMetadataUnion$inboundSchema;
64840
- GetPaymentMetadataUnion$.outboundSchema = GetPaymentMetadataUnion$outboundSchema;
64841
- })(GetPaymentMetadataUnion$ ||= {});
64842
64476
  GetPaymentCaptureMode$inboundSchema = nativeEnumType(GetPaymentCaptureMode);
64843
64477
  GetPaymentCaptureMode$outboundSchema = GetPaymentCaptureMode$inboundSchema;
64844
64478
  ((GetPaymentCaptureMode$) => {
@@ -65236,11 +64870,7 @@ var init_getpayment = __esm(() => {
65236
64870
  countryCode: nullableType(stringType()).optional(),
65237
64871
  method: nullableType(GetPaymentMethod$inboundSchema).optional(),
65238
64872
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
65239
- metadata: nullableType(unionType([
65240
- lazyType(() => GetPaymentMetadata$inboundSchema),
65241
- stringType(),
65242
- arrayType(stringType())
65243
- ])).optional(),
64873
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
65244
64874
  captureMode: nullableType(GetPaymentCaptureMode$inboundSchema).optional(),
65245
64875
  captureDelay: nullableType(stringType()).optional(),
65246
64876
  captureBefore: nullableType(stringType()).optional(),
@@ -65291,11 +64921,7 @@ var init_getpayment = __esm(() => {
65291
64921
  countryCode: nullableType(stringType()).optional(),
65292
64922
  method: nullableType(GetPaymentMethod$outboundSchema).optional(),
65293
64923
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
65294
- metadata: nullableType(unionType([
65295
- lazyType(() => GetPaymentMetadata$outboundSchema),
65296
- stringType(),
65297
- arrayType(stringType())
65298
- ])).optional(),
64924
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
65299
64925
  captureMode: nullableType(GetPaymentCaptureMode$outboundSchema).optional(),
65300
64926
  captureDelay: nullableType(stringType()).optional(),
65301
64927
  captureBefore: nullableType(stringType()).optional(),
@@ -65711,7 +65337,7 @@ var init_getpaymentlink = __esm(() => {
65711
65337
  });
65712
65338
 
65713
65339
  // src/models/operations/getpaymentlinkpayments.ts
65714
- var GetPaymentLinkPaymentsSort, GetPaymentLinkPaymentsMode, GetPaymentLinkPaymentsLineType, GetPaymentLinkPaymentsCategory, GetPaymentLinkPaymentsInterval, GetPaymentLinkPaymentsLocale, GetPaymentLinkPaymentsMethod, GetPaymentLinkPaymentsCaptureMode, GetPaymentLinkPaymentsRoutingMode, GetPaymentLinkPaymentsRoutingType, GetPaymentLinkPaymentsSequenceType, GetPaymentLinkPaymentsStatus, GetPaymentLinkPaymentsSort$inboundSchema, GetPaymentLinkPaymentsSort$outboundSchema, GetPaymentLinkPaymentsSort$, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsBadRequestDocumentation$inboundSchema, GetPaymentLinkPaymentsBadRequestDocumentation$outboundSchema, GetPaymentLinkPaymentsBadRequestDocumentation$, GetPaymentLinkPaymentsBadRequestLinks$inboundSchema, GetPaymentLinkPaymentsBadRequestLinks$outboundSchema, GetPaymentLinkPaymentsBadRequestLinks$, GetPaymentLinkPaymentsMode$inboundSchema, GetPaymentLinkPaymentsMode$outboundSchema, GetPaymentLinkPaymentsMode$, GetPaymentLinkPaymentsAmount$inboundSchema, GetPaymentLinkPaymentsAmount$outboundSchema, GetPaymentLinkPaymentsAmount$, GetPaymentLinkPaymentsAmountRefunded$inboundSchema, GetPaymentLinkPaymentsAmountRefunded$outboundSchema, GetPaymentLinkPaymentsAmountRefunded$, GetPaymentLinkPaymentsAmountRemaining$inboundSchema, GetPaymentLinkPaymentsAmountRemaining$outboundSchema, GetPaymentLinkPaymentsAmountRemaining$, GetPaymentLinkPaymentsAmountCaptured$inboundSchema, GetPaymentLinkPaymentsAmountCaptured$outboundSchema, GetPaymentLinkPaymentsAmountCaptured$, GetPaymentLinkPaymentsAmountChargedBack$inboundSchema, GetPaymentLinkPaymentsAmountChargedBack$outboundSchema, GetPaymentLinkPaymentsAmountChargedBack$, GetPaymentLinkPaymentsSettlementAmount$inboundSchema, GetPaymentLinkPaymentsSettlementAmount$outboundSchema, GetPaymentLinkPaymentsSettlementAmount$, GetPaymentLinkPaymentsLineType$inboundSchema, GetPaymentLinkPaymentsLineType$outboundSchema, GetPaymentLinkPaymentsLineType$, GetPaymentLinkPaymentsUnitPrice$inboundSchema, GetPaymentLinkPaymentsUnitPrice$outboundSchema, GetPaymentLinkPaymentsUnitPrice$, GetPaymentLinkPaymentsDiscountAmount$inboundSchema, GetPaymentLinkPaymentsDiscountAmount$outboundSchema, GetPaymentLinkPaymentsDiscountAmount$, GetPaymentLinkPaymentsTotalAmount$inboundSchema, GetPaymentLinkPaymentsTotalAmount$outboundSchema, GetPaymentLinkPaymentsTotalAmount$, GetPaymentLinkPaymentsVatAmount$inboundSchema, GetPaymentLinkPaymentsVatAmount$outboundSchema, GetPaymentLinkPaymentsVatAmount$, GetPaymentLinkPaymentsCategory$inboundSchema, GetPaymentLinkPaymentsCategory$outboundSchema, GetPaymentLinkPaymentsCategory$, GetPaymentLinkPaymentsInterval$inboundSchema, GetPaymentLinkPaymentsInterval$outboundSchema, GetPaymentLinkPaymentsInterval$, GetPaymentLinkPaymentsRecurringAmount$inboundSchema, GetPaymentLinkPaymentsRecurringAmount$outboundSchema, GetPaymentLinkPaymentsRecurringAmount$, GetPaymentLinkPaymentsRecurring$inboundSchema, GetPaymentLinkPaymentsRecurring$outboundSchema, GetPaymentLinkPaymentsRecurring$, GetPaymentLinkPaymentsLine$inboundSchema, GetPaymentLinkPaymentsLine$outboundSchema, GetPaymentLinkPaymentsLine$, GetPaymentLinkPaymentsBillingAddress$inboundSchema, GetPaymentLinkPaymentsBillingAddress$outboundSchema, GetPaymentLinkPaymentsBillingAddress$, GetPaymentLinkPaymentsShippingAddress$inboundSchema, GetPaymentLinkPaymentsShippingAddress$outboundSchema, GetPaymentLinkPaymentsShippingAddress$, GetPaymentLinkPaymentsLocale$inboundSchema, GetPaymentLinkPaymentsLocale$outboundSchema, GetPaymentLinkPaymentsLocale$, GetPaymentLinkPaymentsMethod$inboundSchema, GetPaymentLinkPaymentsMethod$outboundSchema, GetPaymentLinkPaymentsMethod$, GetPaymentLinkPaymentsMetadata$inboundSchema, GetPaymentLinkPaymentsMetadata$outboundSchema, GetPaymentLinkPaymentsMetadata$, GetPaymentLinkPaymentsMetadataUnion$inboundSchema, GetPaymentLinkPaymentsMetadataUnion$outboundSchema, GetPaymentLinkPaymentsMetadataUnion$, GetPaymentLinkPaymentsCaptureMode$inboundSchema, GetPaymentLinkPaymentsCaptureMode$outboundSchema, GetPaymentLinkPaymentsCaptureMode$, GetPaymentLinkPaymentsApplicationFeeAmount$inboundSchema, GetPaymentLinkPaymentsApplicationFeeAmount$outboundSchema, GetPaymentLinkPaymentsApplicationFeeAmount$, GetPaymentLinkPaymentsApplicationFee$inboundSchema, GetPaymentLinkPaymentsApplicationFee$outboundSchema, GetPaymentLinkPaymentsApplicationFee$, GetPaymentLinkPaymentsRoutingMode$inboundSchema, GetPaymentLinkPaymentsRoutingMode$outboundSchema, GetPaymentLinkPaymentsRoutingMode$, GetPaymentLinkPaymentsRoutingAmount$inboundSchema, GetPaymentLinkPaymentsRoutingAmount$outboundSchema, GetPaymentLinkPaymentsRoutingAmount$, GetPaymentLinkPaymentsRoutingType$inboundSchema, GetPaymentLinkPaymentsRoutingType$outboundSchema, GetPaymentLinkPaymentsRoutingType$, GetPaymentLinkPaymentsDestination$inboundSchema, GetPaymentLinkPaymentsDestination$outboundSchema, GetPaymentLinkPaymentsDestination$, GetPaymentLinkPaymentsRoutingSelf$inboundSchema, GetPaymentLinkPaymentsRoutingSelf$outboundSchema, GetPaymentLinkPaymentsRoutingSelf$, GetPaymentLinkPaymentsRoutingPayment$inboundSchema, GetPaymentLinkPaymentsRoutingPayment$outboundSchema, GetPaymentLinkPaymentsRoutingPayment$, GetPaymentLinkPaymentsRoutingLinks$inboundSchema, GetPaymentLinkPaymentsRoutingLinks$outboundSchema, GetPaymentLinkPaymentsRoutingLinks$, GetPaymentLinkPaymentsRouting$inboundSchema, GetPaymentLinkPaymentsRouting$outboundSchema, GetPaymentLinkPaymentsRouting$, GetPaymentLinkPaymentsSequenceType$inboundSchema, GetPaymentLinkPaymentsSequenceType$outboundSchema, GetPaymentLinkPaymentsSequenceType$, GetPaymentLinkPaymentsStatus$inboundSchema, GetPaymentLinkPaymentsStatus$outboundSchema, GetPaymentLinkPaymentsStatus$, GetPaymentLinkPaymentsStatusReason$inboundSchema, GetPaymentLinkPaymentsStatusReason$outboundSchema, GetPaymentLinkPaymentsStatusReason$, GetPaymentLinkPaymentsPaymentSelf$inboundSchema, GetPaymentLinkPaymentsPaymentSelf$outboundSchema, GetPaymentLinkPaymentsPaymentSelf$, GetPaymentLinkPaymentsCheckout$inboundSchema, GetPaymentLinkPaymentsCheckout$outboundSchema, GetPaymentLinkPaymentsCheckout$, GetPaymentLinkPaymentsMobileAppCheckout$inboundSchema, GetPaymentLinkPaymentsMobileAppCheckout$outboundSchema, GetPaymentLinkPaymentsMobileAppCheckout$, GetPaymentLinkPaymentsChangePaymentState$inboundSchema, GetPaymentLinkPaymentsChangePaymentState$outboundSchema, GetPaymentLinkPaymentsChangePaymentState$, GetPaymentLinkPaymentsDashboard$inboundSchema, GetPaymentLinkPaymentsDashboard$outboundSchema, GetPaymentLinkPaymentsDashboard$, GetPaymentLinkPaymentsRefunds$inboundSchema, GetPaymentLinkPaymentsRefunds$outboundSchema, GetPaymentLinkPaymentsRefunds$, GetPaymentLinkPaymentsChargebacks$inboundSchema, GetPaymentLinkPaymentsChargebacks$outboundSchema, GetPaymentLinkPaymentsChargebacks$, GetPaymentLinkPaymentsCaptures$inboundSchema, GetPaymentLinkPaymentsCaptures$outboundSchema, GetPaymentLinkPaymentsCaptures$, GetPaymentLinkPaymentsSettlement$inboundSchema, GetPaymentLinkPaymentsSettlement$outboundSchema, GetPaymentLinkPaymentsSettlement$, GetPaymentLinkPaymentsCustomer$inboundSchema, GetPaymentLinkPaymentsCustomer$outboundSchema, GetPaymentLinkPaymentsCustomer$, GetPaymentLinkPaymentsMandate$inboundSchema, GetPaymentLinkPaymentsMandate$outboundSchema, GetPaymentLinkPaymentsMandate$, GetPaymentLinkPaymentsSubscription$inboundSchema, GetPaymentLinkPaymentsSubscription$outboundSchema, GetPaymentLinkPaymentsSubscription$, GetPaymentLinkPaymentsOrder$inboundSchema, GetPaymentLinkPaymentsOrder$outboundSchema, GetPaymentLinkPaymentsOrder$, GetPaymentLinkPaymentsTerminal$inboundSchema, GetPaymentLinkPaymentsTerminal$outboundSchema, GetPaymentLinkPaymentsTerminal$, GetPaymentLinkPaymentsPaymentDocumentation$inboundSchema, GetPaymentLinkPaymentsPaymentDocumentation$outboundSchema, GetPaymentLinkPaymentsPaymentDocumentation$, GetPaymentLinkPaymentsPaymentLinks$inboundSchema, GetPaymentLinkPaymentsPaymentLinks$outboundSchema, GetPaymentLinkPaymentsPaymentLinks$, GetPaymentLinkPaymentsPaymentOutput$inboundSchema, GetPaymentLinkPaymentsPaymentOutput$outboundSchema, GetPaymentLinkPaymentsPaymentOutput$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsSelf$inboundSchema, GetPaymentLinkPaymentsSelf$outboundSchema, GetPaymentLinkPaymentsSelf$, GetPaymentLinkPaymentsPrevious$inboundSchema, GetPaymentLinkPaymentsPrevious$outboundSchema, GetPaymentLinkPaymentsPrevious$, GetPaymentLinkPaymentsNext$inboundSchema, GetPaymentLinkPaymentsNext$outboundSchema, GetPaymentLinkPaymentsNext$, GetPaymentLinkPaymentsDocumentation$inboundSchema, GetPaymentLinkPaymentsDocumentation$outboundSchema, GetPaymentLinkPaymentsDocumentation$, GetPaymentLinkPaymentsLinks$inboundSchema, GetPaymentLinkPaymentsLinks$outboundSchema, GetPaymentLinkPaymentsLinks$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
65340
+ var GetPaymentLinkPaymentsSort, GetPaymentLinkPaymentsMode, GetPaymentLinkPaymentsLineType, GetPaymentLinkPaymentsCategory, GetPaymentLinkPaymentsInterval, GetPaymentLinkPaymentsLocale, GetPaymentLinkPaymentsMethod, GetPaymentLinkPaymentsCaptureMode, GetPaymentLinkPaymentsRoutingMode, GetPaymentLinkPaymentsRoutingType, GetPaymentLinkPaymentsSequenceType, GetPaymentLinkPaymentsStatus, GetPaymentLinkPaymentsSort$inboundSchema, GetPaymentLinkPaymentsSort$outboundSchema, GetPaymentLinkPaymentsSort$, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsBadRequestDocumentation$inboundSchema, GetPaymentLinkPaymentsBadRequestDocumentation$outboundSchema, GetPaymentLinkPaymentsBadRequestDocumentation$, GetPaymentLinkPaymentsBadRequestLinks$inboundSchema, GetPaymentLinkPaymentsBadRequestLinks$outboundSchema, GetPaymentLinkPaymentsBadRequestLinks$, GetPaymentLinkPaymentsMode$inboundSchema, GetPaymentLinkPaymentsMode$outboundSchema, GetPaymentLinkPaymentsMode$, GetPaymentLinkPaymentsAmount$inboundSchema, GetPaymentLinkPaymentsAmount$outboundSchema, GetPaymentLinkPaymentsAmount$, GetPaymentLinkPaymentsAmountRefunded$inboundSchema, GetPaymentLinkPaymentsAmountRefunded$outboundSchema, GetPaymentLinkPaymentsAmountRefunded$, GetPaymentLinkPaymentsAmountRemaining$inboundSchema, GetPaymentLinkPaymentsAmountRemaining$outboundSchema, GetPaymentLinkPaymentsAmountRemaining$, GetPaymentLinkPaymentsAmountCaptured$inboundSchema, GetPaymentLinkPaymentsAmountCaptured$outboundSchema, GetPaymentLinkPaymentsAmountCaptured$, GetPaymentLinkPaymentsAmountChargedBack$inboundSchema, GetPaymentLinkPaymentsAmountChargedBack$outboundSchema, GetPaymentLinkPaymentsAmountChargedBack$, GetPaymentLinkPaymentsSettlementAmount$inboundSchema, GetPaymentLinkPaymentsSettlementAmount$outboundSchema, GetPaymentLinkPaymentsSettlementAmount$, GetPaymentLinkPaymentsLineType$inboundSchema, GetPaymentLinkPaymentsLineType$outboundSchema, GetPaymentLinkPaymentsLineType$, GetPaymentLinkPaymentsUnitPrice$inboundSchema, GetPaymentLinkPaymentsUnitPrice$outboundSchema, GetPaymentLinkPaymentsUnitPrice$, GetPaymentLinkPaymentsDiscountAmount$inboundSchema, GetPaymentLinkPaymentsDiscountAmount$outboundSchema, GetPaymentLinkPaymentsDiscountAmount$, GetPaymentLinkPaymentsTotalAmount$inboundSchema, GetPaymentLinkPaymentsTotalAmount$outboundSchema, GetPaymentLinkPaymentsTotalAmount$, GetPaymentLinkPaymentsVatAmount$inboundSchema, GetPaymentLinkPaymentsVatAmount$outboundSchema, GetPaymentLinkPaymentsVatAmount$, GetPaymentLinkPaymentsCategory$inboundSchema, GetPaymentLinkPaymentsCategory$outboundSchema, GetPaymentLinkPaymentsCategory$, GetPaymentLinkPaymentsInterval$inboundSchema, GetPaymentLinkPaymentsInterval$outboundSchema, GetPaymentLinkPaymentsInterval$, GetPaymentLinkPaymentsRecurringAmount$inboundSchema, GetPaymentLinkPaymentsRecurringAmount$outboundSchema, GetPaymentLinkPaymentsRecurringAmount$, GetPaymentLinkPaymentsRecurring$inboundSchema, GetPaymentLinkPaymentsRecurring$outboundSchema, GetPaymentLinkPaymentsRecurring$, GetPaymentLinkPaymentsLine$inboundSchema, GetPaymentLinkPaymentsLine$outboundSchema, GetPaymentLinkPaymentsLine$, GetPaymentLinkPaymentsBillingAddress$inboundSchema, GetPaymentLinkPaymentsBillingAddress$outboundSchema, GetPaymentLinkPaymentsBillingAddress$, GetPaymentLinkPaymentsShippingAddress$inboundSchema, GetPaymentLinkPaymentsShippingAddress$outboundSchema, GetPaymentLinkPaymentsShippingAddress$, GetPaymentLinkPaymentsLocale$inboundSchema, GetPaymentLinkPaymentsLocale$outboundSchema, GetPaymentLinkPaymentsLocale$, GetPaymentLinkPaymentsMethod$inboundSchema, GetPaymentLinkPaymentsMethod$outboundSchema, GetPaymentLinkPaymentsMethod$, GetPaymentLinkPaymentsMetadata$inboundSchema, GetPaymentLinkPaymentsMetadata$outboundSchema, GetPaymentLinkPaymentsMetadata$, GetPaymentLinkPaymentsCaptureMode$inboundSchema, GetPaymentLinkPaymentsCaptureMode$outboundSchema, GetPaymentLinkPaymentsCaptureMode$, GetPaymentLinkPaymentsApplicationFeeAmount$inboundSchema, GetPaymentLinkPaymentsApplicationFeeAmount$outboundSchema, GetPaymentLinkPaymentsApplicationFeeAmount$, GetPaymentLinkPaymentsApplicationFee$inboundSchema, GetPaymentLinkPaymentsApplicationFee$outboundSchema, GetPaymentLinkPaymentsApplicationFee$, GetPaymentLinkPaymentsRoutingMode$inboundSchema, GetPaymentLinkPaymentsRoutingMode$outboundSchema, GetPaymentLinkPaymentsRoutingMode$, GetPaymentLinkPaymentsRoutingAmount$inboundSchema, GetPaymentLinkPaymentsRoutingAmount$outboundSchema, GetPaymentLinkPaymentsRoutingAmount$, GetPaymentLinkPaymentsRoutingType$inboundSchema, GetPaymentLinkPaymentsRoutingType$outboundSchema, GetPaymentLinkPaymentsRoutingType$, GetPaymentLinkPaymentsDestination$inboundSchema, GetPaymentLinkPaymentsDestination$outboundSchema, GetPaymentLinkPaymentsDestination$, GetPaymentLinkPaymentsRoutingSelf$inboundSchema, GetPaymentLinkPaymentsRoutingSelf$outboundSchema, GetPaymentLinkPaymentsRoutingSelf$, GetPaymentLinkPaymentsRoutingPayment$inboundSchema, GetPaymentLinkPaymentsRoutingPayment$outboundSchema, GetPaymentLinkPaymentsRoutingPayment$, GetPaymentLinkPaymentsRoutingLinks$inboundSchema, GetPaymentLinkPaymentsRoutingLinks$outboundSchema, GetPaymentLinkPaymentsRoutingLinks$, GetPaymentLinkPaymentsRouting$inboundSchema, GetPaymentLinkPaymentsRouting$outboundSchema, GetPaymentLinkPaymentsRouting$, GetPaymentLinkPaymentsSequenceType$inboundSchema, GetPaymentLinkPaymentsSequenceType$outboundSchema, GetPaymentLinkPaymentsSequenceType$, GetPaymentLinkPaymentsStatus$inboundSchema, GetPaymentLinkPaymentsStatus$outboundSchema, GetPaymentLinkPaymentsStatus$, GetPaymentLinkPaymentsStatusReason$inboundSchema, GetPaymentLinkPaymentsStatusReason$outboundSchema, GetPaymentLinkPaymentsStatusReason$, GetPaymentLinkPaymentsPaymentSelf$inboundSchema, GetPaymentLinkPaymentsPaymentSelf$outboundSchema, GetPaymentLinkPaymentsPaymentSelf$, GetPaymentLinkPaymentsCheckout$inboundSchema, GetPaymentLinkPaymentsCheckout$outboundSchema, GetPaymentLinkPaymentsCheckout$, GetPaymentLinkPaymentsMobileAppCheckout$inboundSchema, GetPaymentLinkPaymentsMobileAppCheckout$outboundSchema, GetPaymentLinkPaymentsMobileAppCheckout$, GetPaymentLinkPaymentsChangePaymentState$inboundSchema, GetPaymentLinkPaymentsChangePaymentState$outboundSchema, GetPaymentLinkPaymentsChangePaymentState$, GetPaymentLinkPaymentsDashboard$inboundSchema, GetPaymentLinkPaymentsDashboard$outboundSchema, GetPaymentLinkPaymentsDashboard$, GetPaymentLinkPaymentsRefunds$inboundSchema, GetPaymentLinkPaymentsRefunds$outboundSchema, GetPaymentLinkPaymentsRefunds$, GetPaymentLinkPaymentsChargebacks$inboundSchema, GetPaymentLinkPaymentsChargebacks$outboundSchema, GetPaymentLinkPaymentsChargebacks$, GetPaymentLinkPaymentsCaptures$inboundSchema, GetPaymentLinkPaymentsCaptures$outboundSchema, GetPaymentLinkPaymentsCaptures$, GetPaymentLinkPaymentsSettlement$inboundSchema, GetPaymentLinkPaymentsSettlement$outboundSchema, GetPaymentLinkPaymentsSettlement$, GetPaymentLinkPaymentsCustomer$inboundSchema, GetPaymentLinkPaymentsCustomer$outboundSchema, GetPaymentLinkPaymentsCustomer$, GetPaymentLinkPaymentsMandate$inboundSchema, GetPaymentLinkPaymentsMandate$outboundSchema, GetPaymentLinkPaymentsMandate$, GetPaymentLinkPaymentsSubscription$inboundSchema, GetPaymentLinkPaymentsSubscription$outboundSchema, GetPaymentLinkPaymentsSubscription$, GetPaymentLinkPaymentsOrder$inboundSchema, GetPaymentLinkPaymentsOrder$outboundSchema, GetPaymentLinkPaymentsOrder$, GetPaymentLinkPaymentsTerminal$inboundSchema, GetPaymentLinkPaymentsTerminal$outboundSchema, GetPaymentLinkPaymentsTerminal$, GetPaymentLinkPaymentsPaymentDocumentation$inboundSchema, GetPaymentLinkPaymentsPaymentDocumentation$outboundSchema, GetPaymentLinkPaymentsPaymentDocumentation$, GetPaymentLinkPaymentsPaymentLinks$inboundSchema, GetPaymentLinkPaymentsPaymentLinks$outboundSchema, GetPaymentLinkPaymentsPaymentLinks$, GetPaymentLinkPaymentsPaymentOutput$inboundSchema, GetPaymentLinkPaymentsPaymentOutput$outboundSchema, GetPaymentLinkPaymentsPaymentOutput$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsSelf$inboundSchema, GetPaymentLinkPaymentsSelf$outboundSchema, GetPaymentLinkPaymentsSelf$, GetPaymentLinkPaymentsPrevious$inboundSchema, GetPaymentLinkPaymentsPrevious$outboundSchema, GetPaymentLinkPaymentsPrevious$, GetPaymentLinkPaymentsNext$inboundSchema, GetPaymentLinkPaymentsNext$outboundSchema, GetPaymentLinkPaymentsNext$, GetPaymentLinkPaymentsDocumentation$inboundSchema, GetPaymentLinkPaymentsDocumentation$outboundSchema, GetPaymentLinkPaymentsDocumentation$, GetPaymentLinkPaymentsLinks$inboundSchema, GetPaymentLinkPaymentsLinks$outboundSchema, GetPaymentLinkPaymentsLinks$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
65715
65341
  var init_getpaymentlinkpayments = __esm(() => {
65716
65342
  init_esm();
65717
65343
  init_primitives();
@@ -66163,26 +65789,12 @@ var init_getpaymentlinkpayments = __esm(() => {
66163
65789
  GetPaymentLinkPaymentsMethod$.inboundSchema = GetPaymentLinkPaymentsMethod$inboundSchema;
66164
65790
  GetPaymentLinkPaymentsMethod$.outboundSchema = GetPaymentLinkPaymentsMethod$outboundSchema;
66165
65791
  })(GetPaymentLinkPaymentsMethod$ ||= {});
66166
- GetPaymentLinkPaymentsMetadata$inboundSchema = objectType({});
66167
- GetPaymentLinkPaymentsMetadata$outboundSchema = objectType({});
65792
+ GetPaymentLinkPaymentsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
65793
+ GetPaymentLinkPaymentsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
66168
65794
  ((GetPaymentLinkPaymentsMetadata$) => {
66169
65795
  GetPaymentLinkPaymentsMetadata$.inboundSchema = GetPaymentLinkPaymentsMetadata$inboundSchema;
66170
65796
  GetPaymentLinkPaymentsMetadata$.outboundSchema = GetPaymentLinkPaymentsMetadata$outboundSchema;
66171
65797
  })(GetPaymentLinkPaymentsMetadata$ ||= {});
66172
- GetPaymentLinkPaymentsMetadataUnion$inboundSchema = unionType([
66173
- lazyType(() => GetPaymentLinkPaymentsMetadata$inboundSchema),
66174
- stringType(),
66175
- arrayType(stringType())
66176
- ]);
66177
- GetPaymentLinkPaymentsMetadataUnion$outboundSchema = unionType([
66178
- lazyType(() => GetPaymentLinkPaymentsMetadata$outboundSchema),
66179
- stringType(),
66180
- arrayType(stringType())
66181
- ]);
66182
- ((GetPaymentLinkPaymentsMetadataUnion$) => {
66183
- GetPaymentLinkPaymentsMetadataUnion$.inboundSchema = GetPaymentLinkPaymentsMetadataUnion$inboundSchema;
66184
- GetPaymentLinkPaymentsMetadataUnion$.outboundSchema = GetPaymentLinkPaymentsMetadataUnion$outboundSchema;
66185
- })(GetPaymentLinkPaymentsMetadataUnion$ ||= {});
66186
65798
  GetPaymentLinkPaymentsCaptureMode$inboundSchema = nativeEnumType(GetPaymentLinkPaymentsCaptureMode);
66187
65799
  GetPaymentLinkPaymentsCaptureMode$outboundSchema = GetPaymentLinkPaymentsCaptureMode$inboundSchema;
66188
65800
  ((GetPaymentLinkPaymentsCaptureMode$) => {
@@ -66580,11 +66192,7 @@ var init_getpaymentlinkpayments = __esm(() => {
66580
66192
  countryCode: nullableType(stringType()).optional(),
66581
66193
  method: nullableType(GetPaymentLinkPaymentsMethod$inboundSchema).optional(),
66582
66194
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
66583
- metadata: nullableType(unionType([
66584
- lazyType(() => GetPaymentLinkPaymentsMetadata$inboundSchema),
66585
- stringType(),
66586
- arrayType(stringType())
66587
- ])).optional(),
66195
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
66588
66196
  captureMode: nullableType(GetPaymentLinkPaymentsCaptureMode$inboundSchema).optional(),
66589
66197
  captureDelay: nullableType(stringType()).optional(),
66590
66198
  captureBefore: nullableType(stringType()).optional(),
@@ -66635,11 +66243,7 @@ var init_getpaymentlinkpayments = __esm(() => {
66635
66243
  countryCode: nullableType(stringType()).optional(),
66636
66244
  method: nullableType(GetPaymentLinkPaymentsMethod$outboundSchema).optional(),
66637
66245
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
66638
- metadata: nullableType(unionType([
66639
- lazyType(() => GetPaymentLinkPaymentsMetadata$outboundSchema),
66640
- stringType(),
66641
- arrayType(stringType())
66642
- ])).optional(),
66246
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
66643
66247
  captureMode: nullableType(GetPaymentLinkPaymentsCaptureMode$outboundSchema).optional(),
66644
66248
  captureDelay: nullableType(stringType()).optional(),
66645
66249
  captureBefore: nullableType(stringType()).optional(),
@@ -67347,7 +66951,7 @@ var init_getprofile = __esm(() => {
67347
66951
  });
67348
66952
 
67349
66953
  // src/models/operations/getrefund.ts
67350
- var GetRefundEmbed, GetRefundMode, GetRefundStatus, GetRefundType, GetRefundEmbed$inboundSchema, GetRefundEmbed$outboundSchema, GetRefundEmbed$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$, GetRefundNotFoundDocumentation$inboundSchema, GetRefundNotFoundDocumentation$outboundSchema, GetRefundNotFoundDocumentation$, GetRefundNotFoundLinks$inboundSchema, GetRefundNotFoundLinks$outboundSchema, GetRefundNotFoundLinks$, GetRefundMode$inboundSchema, GetRefundMode$outboundSchema, GetRefundMode$, GetRefundAmount$inboundSchema, GetRefundAmount$outboundSchema, GetRefundAmount$, GetRefundSettlementAmount$inboundSchema, GetRefundSettlementAmount$outboundSchema, GetRefundSettlementAmount$, GetRefundMetadata$inboundSchema, GetRefundMetadata$outboundSchema, GetRefundMetadata$, GetRefundMetadataUnion$inboundSchema, GetRefundMetadataUnion$outboundSchema, GetRefundMetadataUnion$, GetRefundStatus$inboundSchema, GetRefundStatus$outboundSchema, GetRefundStatus$, GetRefundType$inboundSchema, GetRefundType$outboundSchema, GetRefundType$, GetRefundExternalReference$inboundSchema, GetRefundExternalReference$outboundSchema, GetRefundExternalReference$, GetRefundRoutingReversalAmount$inboundSchema, GetRefundRoutingReversalAmount$outboundSchema, GetRefundRoutingReversalAmount$, GetRefundSource$inboundSchema, GetRefundSource$outboundSchema, GetRefundSource$, GetRefundRoutingReversal$inboundSchema, GetRefundRoutingReversal$outboundSchema, GetRefundRoutingReversal$, GetRefundSelf$inboundSchema, GetRefundSelf$outboundSchema, GetRefundSelf$, GetRefundPayment$inboundSchema, GetRefundPayment$outboundSchema, GetRefundPayment$, GetRefundSettlement$inboundSchema, GetRefundSettlement$outboundSchema, GetRefundSettlement$, GetRefundDocumentation$inboundSchema, GetRefundDocumentation$outboundSchema, GetRefundDocumentation$, GetRefundLinks$inboundSchema, GetRefundLinks$outboundSchema, GetRefundLinks$, GetRefundResponse$inboundSchema, GetRefundResponse$outboundSchema, GetRefundResponse$;
66954
+ var GetRefundEmbed, GetRefundMode, GetRefundStatus, GetRefundType, GetRefundEmbed$inboundSchema, GetRefundEmbed$outboundSchema, GetRefundEmbed$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$, GetRefundNotFoundDocumentation$inboundSchema, GetRefundNotFoundDocumentation$outboundSchema, GetRefundNotFoundDocumentation$, GetRefundNotFoundLinks$inboundSchema, GetRefundNotFoundLinks$outboundSchema, GetRefundNotFoundLinks$, GetRefundMode$inboundSchema, GetRefundMode$outboundSchema, GetRefundMode$, GetRefundAmount$inboundSchema, GetRefundAmount$outboundSchema, GetRefundAmount$, GetRefundSettlementAmount$inboundSchema, GetRefundSettlementAmount$outboundSchema, GetRefundSettlementAmount$, GetRefundMetadata$inboundSchema, GetRefundMetadata$outboundSchema, GetRefundMetadata$, GetRefundStatus$inboundSchema, GetRefundStatus$outboundSchema, GetRefundStatus$, GetRefundType$inboundSchema, GetRefundType$outboundSchema, GetRefundType$, GetRefundExternalReference$inboundSchema, GetRefundExternalReference$outboundSchema, GetRefundExternalReference$, GetRefundRoutingReversalAmount$inboundSchema, GetRefundRoutingReversalAmount$outboundSchema, GetRefundRoutingReversalAmount$, GetRefundSource$inboundSchema, GetRefundSource$outboundSchema, GetRefundSource$, GetRefundRoutingReversal$inboundSchema, GetRefundRoutingReversal$outboundSchema, GetRefundRoutingReversal$, GetRefundSelf$inboundSchema, GetRefundSelf$outboundSchema, GetRefundSelf$, GetRefundPayment$inboundSchema, GetRefundPayment$outboundSchema, GetRefundPayment$, GetRefundSettlement$inboundSchema, GetRefundSettlement$outboundSchema, GetRefundSettlement$, GetRefundDocumentation$inboundSchema, GetRefundDocumentation$outboundSchema, GetRefundDocumentation$, GetRefundLinks$inboundSchema, GetRefundLinks$outboundSchema, GetRefundLinks$, GetRefundResponse$inboundSchema, GetRefundResponse$outboundSchema, GetRefundResponse$;
67351
66955
  var init_getrefund = __esm(() => {
67352
66956
  init_esm();
67353
66957
  init_primitives();
@@ -67443,26 +67047,12 @@ var init_getrefund = __esm(() => {
67443
67047
  GetRefundSettlementAmount$.inboundSchema = GetRefundSettlementAmount$inboundSchema;
67444
67048
  GetRefundSettlementAmount$.outboundSchema = GetRefundSettlementAmount$outboundSchema;
67445
67049
  })(GetRefundSettlementAmount$ ||= {});
67446
- GetRefundMetadata$inboundSchema = objectType({});
67447
- GetRefundMetadata$outboundSchema = objectType({});
67050
+ GetRefundMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
67051
+ GetRefundMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
67448
67052
  ((GetRefundMetadata$) => {
67449
67053
  GetRefundMetadata$.inboundSchema = GetRefundMetadata$inboundSchema;
67450
67054
  GetRefundMetadata$.outboundSchema = GetRefundMetadata$outboundSchema;
67451
67055
  })(GetRefundMetadata$ ||= {});
67452
- GetRefundMetadataUnion$inboundSchema = unionType([
67453
- lazyType(() => GetRefundMetadata$inboundSchema),
67454
- stringType(),
67455
- arrayType(stringType())
67456
- ]);
67457
- GetRefundMetadataUnion$outboundSchema = unionType([
67458
- lazyType(() => GetRefundMetadata$outboundSchema),
67459
- stringType(),
67460
- arrayType(stringType())
67461
- ]);
67462
- ((GetRefundMetadataUnion$) => {
67463
- GetRefundMetadataUnion$.inboundSchema = GetRefundMetadataUnion$inboundSchema;
67464
- GetRefundMetadataUnion$.outboundSchema = GetRefundMetadataUnion$outboundSchema;
67465
- })(GetRefundMetadataUnion$ ||= {});
67466
67056
  GetRefundStatus$inboundSchema = nativeEnumType(GetRefundStatus);
67467
67057
  GetRefundStatus$outboundSchema = GetRefundStatus$inboundSchema;
67468
67058
  ((GetRefundStatus$) => {
@@ -67592,11 +67182,7 @@ var init_getrefund = __esm(() => {
67592
67182
  description: stringType().optional(),
67593
67183
  amount: lazyType(() => GetRefundAmount$inboundSchema).optional(),
67594
67184
  settlementAmount: nullableType(lazyType(() => GetRefundSettlementAmount$inboundSchema)).optional(),
67595
- metadata: nullableType(unionType([
67596
- lazyType(() => GetRefundMetadata$inboundSchema),
67597
- stringType(),
67598
- arrayType(stringType())
67599
- ])).optional(),
67185
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
67600
67186
  paymentId: stringType().optional(),
67601
67187
  settlementId: nullableType(stringType()).optional(),
67602
67188
  status: GetRefundStatus$inboundSchema.optional(),
@@ -67616,11 +67202,7 @@ var init_getrefund = __esm(() => {
67616
67202
  description: stringType().optional(),
67617
67203
  amount: lazyType(() => GetRefundAmount$outboundSchema).optional(),
67618
67204
  settlementAmount: nullableType(lazyType(() => GetRefundSettlementAmount$outboundSchema)).optional(),
67619
- metadata: nullableType(unionType([
67620
- lazyType(() => GetRefundMetadata$outboundSchema),
67621
- stringType(),
67622
- arrayType(stringType())
67623
- ])).optional(),
67205
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
67624
67206
  paymentId: stringType().optional(),
67625
67207
  settlementId: nullableType(stringType()).optional(),
67626
67208
  status: GetRefundStatus$outboundSchema.optional(),
@@ -68612,7 +68194,7 @@ var init_getsettlement = __esm(() => {
68612
68194
  });
68613
68195
 
68614
68196
  // src/models/operations/getsubscription.ts
68615
- var GetSubscriptionMode, GetSubscriptionStatus, GetSubscriptionInterval, GetSubscriptionMethod, GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$, GetSubscriptionNotFoundDocumentation$inboundSchema, GetSubscriptionNotFoundDocumentation$outboundSchema, GetSubscriptionNotFoundDocumentation$, GetSubscriptionNotFoundLinks$inboundSchema, GetSubscriptionNotFoundLinks$outboundSchema, GetSubscriptionNotFoundLinks$, GetSubscriptionMode$inboundSchema, GetSubscriptionMode$outboundSchema, GetSubscriptionMode$, GetSubscriptionStatus$inboundSchema, GetSubscriptionStatus$outboundSchema, GetSubscriptionStatus$, GetSubscriptionAmount$inboundSchema, GetSubscriptionAmount$outboundSchema, GetSubscriptionAmount$, GetSubscriptionInterval$inboundSchema, GetSubscriptionInterval$outboundSchema, GetSubscriptionInterval$, GetSubscriptionMethod$inboundSchema, GetSubscriptionMethod$outboundSchema, GetSubscriptionMethod$, GetSubscriptionApplicationFeeAmount$inboundSchema, GetSubscriptionApplicationFeeAmount$outboundSchema, GetSubscriptionApplicationFeeAmount$, GetSubscriptionApplicationFee$inboundSchema, GetSubscriptionApplicationFee$outboundSchema, GetSubscriptionApplicationFee$, GetSubscriptionMetadata$inboundSchema, GetSubscriptionMetadata$outboundSchema, GetSubscriptionMetadata$, GetSubscriptionMetadataUnion$inboundSchema, GetSubscriptionMetadataUnion$outboundSchema, GetSubscriptionMetadataUnion$, GetSubscriptionSelf$inboundSchema, GetSubscriptionSelf$outboundSchema, GetSubscriptionSelf$, GetSubscriptionCustomer$inboundSchema, GetSubscriptionCustomer$outboundSchema, GetSubscriptionCustomer$, GetSubscriptionMandate$inboundSchema, GetSubscriptionMandate$outboundSchema, GetSubscriptionMandate$, GetSubscriptionProfile$inboundSchema, GetSubscriptionProfile$outboundSchema, GetSubscriptionProfile$, GetSubscriptionPayments$inboundSchema, GetSubscriptionPayments$outboundSchema, GetSubscriptionPayments$, GetSubscriptionDocumentation$inboundSchema, GetSubscriptionDocumentation$outboundSchema, GetSubscriptionDocumentation$, GetSubscriptionLinks$inboundSchema, GetSubscriptionLinks$outboundSchema, GetSubscriptionLinks$, GetSubscriptionResponse$inboundSchema, GetSubscriptionResponse$outboundSchema, GetSubscriptionResponse$;
68197
+ var GetSubscriptionMode, GetSubscriptionStatus, GetSubscriptionInterval, GetSubscriptionMethod, GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$, GetSubscriptionNotFoundDocumentation$inboundSchema, GetSubscriptionNotFoundDocumentation$outboundSchema, GetSubscriptionNotFoundDocumentation$, GetSubscriptionNotFoundLinks$inboundSchema, GetSubscriptionNotFoundLinks$outboundSchema, GetSubscriptionNotFoundLinks$, GetSubscriptionMode$inboundSchema, GetSubscriptionMode$outboundSchema, GetSubscriptionMode$, GetSubscriptionStatus$inboundSchema, GetSubscriptionStatus$outboundSchema, GetSubscriptionStatus$, GetSubscriptionAmount$inboundSchema, GetSubscriptionAmount$outboundSchema, GetSubscriptionAmount$, GetSubscriptionInterval$inboundSchema, GetSubscriptionInterval$outboundSchema, GetSubscriptionInterval$, GetSubscriptionMethod$inboundSchema, GetSubscriptionMethod$outboundSchema, GetSubscriptionMethod$, GetSubscriptionApplicationFeeAmount$inboundSchema, GetSubscriptionApplicationFeeAmount$outboundSchema, GetSubscriptionApplicationFeeAmount$, GetSubscriptionApplicationFee$inboundSchema, GetSubscriptionApplicationFee$outboundSchema, GetSubscriptionApplicationFee$, GetSubscriptionMetadata$inboundSchema, GetSubscriptionMetadata$outboundSchema, GetSubscriptionMetadata$, GetSubscriptionSelf$inboundSchema, GetSubscriptionSelf$outboundSchema, GetSubscriptionSelf$, GetSubscriptionCustomer$inboundSchema, GetSubscriptionCustomer$outboundSchema, GetSubscriptionCustomer$, GetSubscriptionMandate$inboundSchema, GetSubscriptionMandate$outboundSchema, GetSubscriptionMandate$, GetSubscriptionProfile$inboundSchema, GetSubscriptionProfile$outboundSchema, GetSubscriptionProfile$, GetSubscriptionPayments$inboundSchema, GetSubscriptionPayments$outboundSchema, GetSubscriptionPayments$, GetSubscriptionDocumentation$inboundSchema, GetSubscriptionDocumentation$outboundSchema, GetSubscriptionDocumentation$, GetSubscriptionLinks$inboundSchema, GetSubscriptionLinks$outboundSchema, GetSubscriptionLinks$, GetSubscriptionResponse$inboundSchema, GetSubscriptionResponse$outboundSchema, GetSubscriptionResponse$;
68616
68198
  var init_getsubscription = __esm(() => {
68617
68199
  init_esm();
68618
68200
  init_primitives();
@@ -68733,26 +68315,12 @@ var init_getsubscription = __esm(() => {
68733
68315
  GetSubscriptionApplicationFee$.inboundSchema = GetSubscriptionApplicationFee$inboundSchema;
68734
68316
  GetSubscriptionApplicationFee$.outboundSchema = GetSubscriptionApplicationFee$outboundSchema;
68735
68317
  })(GetSubscriptionApplicationFee$ ||= {});
68736
- GetSubscriptionMetadata$inboundSchema = objectType({});
68737
- GetSubscriptionMetadata$outboundSchema = objectType({});
68318
+ GetSubscriptionMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
68319
+ GetSubscriptionMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
68738
68320
  ((GetSubscriptionMetadata$) => {
68739
68321
  GetSubscriptionMetadata$.inboundSchema = GetSubscriptionMetadata$inboundSchema;
68740
68322
  GetSubscriptionMetadata$.outboundSchema = GetSubscriptionMetadata$outboundSchema;
68741
68323
  })(GetSubscriptionMetadata$ ||= {});
68742
- GetSubscriptionMetadataUnion$inboundSchema = unionType([
68743
- lazyType(() => GetSubscriptionMetadata$inboundSchema),
68744
- stringType(),
68745
- arrayType(stringType())
68746
- ]);
68747
- GetSubscriptionMetadataUnion$outboundSchema = unionType([
68748
- lazyType(() => GetSubscriptionMetadata$outboundSchema),
68749
- stringType(),
68750
- arrayType(stringType())
68751
- ]);
68752
- ((GetSubscriptionMetadataUnion$) => {
68753
- GetSubscriptionMetadataUnion$.inboundSchema = GetSubscriptionMetadataUnion$inboundSchema;
68754
- GetSubscriptionMetadataUnion$.outboundSchema = GetSubscriptionMetadataUnion$outboundSchema;
68755
- })(GetSubscriptionMetadataUnion$ ||= {});
68756
68324
  GetSubscriptionSelf$inboundSchema = objectType({
68757
68325
  href: stringType(),
68758
68326
  type: stringType()
@@ -68859,11 +68427,7 @@ var init_getsubscription = __esm(() => {
68859
68427
  description: stringType(),
68860
68428
  method: nullableType(GetSubscriptionMethod$inboundSchema),
68861
68429
  applicationFee: lazyType(() => GetSubscriptionApplicationFee$inboundSchema).optional(),
68862
- metadata: nullableType(unionType([
68863
- lazyType(() => GetSubscriptionMetadata$inboundSchema),
68864
- stringType(),
68865
- arrayType(stringType())
68866
- ])),
68430
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
68867
68431
  webhookUrl: stringType(),
68868
68432
  customerId: stringType(),
68869
68433
  mandateId: nullableType(stringType()).optional(),
@@ -68889,11 +68453,7 @@ var init_getsubscription = __esm(() => {
68889
68453
  description: stringType(),
68890
68454
  method: nullableType(GetSubscriptionMethod$outboundSchema),
68891
68455
  applicationFee: lazyType(() => GetSubscriptionApplicationFee$outboundSchema).optional(),
68892
- metadata: nullableType(unionType([
68893
- lazyType(() => GetSubscriptionMetadata$outboundSchema),
68894
- stringType(),
68895
- arrayType(stringType())
68896
- ])),
68456
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
68897
68457
  webhookUrl: stringType(),
68898
68458
  customerId: stringType(),
68899
68459
  mandateId: nullableType(stringType()).optional(),
@@ -70609,7 +70169,7 @@ var init_listallmethods = __esm(() => {
70609
70169
  });
70610
70170
 
70611
70171
  // src/models/operations/listallrefunds.ts
70612
- var ListAllRefundsSort, ListAllRefundsEmbed, ListAllRefundsMode, ListAllRefundsStatus, ListAllRefundsType, ListAllRefundsSort$inboundSchema, ListAllRefundsSort$outboundSchema, ListAllRefundsSort$, ListAllRefundsEmbed$inboundSchema, ListAllRefundsEmbed$outboundSchema, ListAllRefundsEmbed$, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsBadRequestDocumentation$inboundSchema, ListAllRefundsBadRequestDocumentation$outboundSchema, ListAllRefundsBadRequestDocumentation$, ListAllRefundsBadRequestLinks$inboundSchema, ListAllRefundsBadRequestLinks$outboundSchema, ListAllRefundsBadRequestLinks$, ListAllRefundsMode$inboundSchema, ListAllRefundsMode$outboundSchema, ListAllRefundsMode$, ListAllRefundsAmount$inboundSchema, ListAllRefundsAmount$outboundSchema, ListAllRefundsAmount$, ListAllRefundsSettlementAmount$inboundSchema, ListAllRefundsSettlementAmount$outboundSchema, ListAllRefundsSettlementAmount$, ListAllRefundsMetadata$inboundSchema, ListAllRefundsMetadata$outboundSchema, ListAllRefundsMetadata$, ListAllRefundsMetadataUnion$inboundSchema, ListAllRefundsMetadataUnion$outboundSchema, ListAllRefundsMetadataUnion$, ListAllRefundsStatus$inboundSchema, ListAllRefundsStatus$outboundSchema, ListAllRefundsStatus$, ListAllRefundsType$inboundSchema, ListAllRefundsType$outboundSchema, ListAllRefundsType$, ListAllRefundsExternalReference$inboundSchema, ListAllRefundsExternalReference$outboundSchema, ListAllRefundsExternalReference$, ListAllRefundsRoutingReversalAmount$inboundSchema, ListAllRefundsRoutingReversalAmount$outboundSchema, ListAllRefundsRoutingReversalAmount$, ListAllRefundsSource$inboundSchema, ListAllRefundsSource$outboundSchema, ListAllRefundsSource$, ListAllRefundsRoutingReversal$inboundSchema, ListAllRefundsRoutingReversal$outboundSchema, ListAllRefundsRoutingReversal$, ListAllRefundsRefundSelf$inboundSchema, ListAllRefundsRefundSelf$outboundSchema, ListAllRefundsRefundSelf$, ListAllRefundsPayment$inboundSchema, ListAllRefundsPayment$outboundSchema, ListAllRefundsPayment$, ListAllRefundsSettlement$inboundSchema, ListAllRefundsSettlement$outboundSchema, ListAllRefundsSettlement$, ListAllRefundsRefundDocumentation$inboundSchema, ListAllRefundsRefundDocumentation$outboundSchema, ListAllRefundsRefundDocumentation$, ListAllRefundsRefundLinks$inboundSchema, ListAllRefundsRefundLinks$outboundSchema, ListAllRefundsRefundLinks$, ListAllRefundsRefund$inboundSchema, ListAllRefundsRefund$outboundSchema, ListAllRefundsRefund$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsSelf$inboundSchema, ListAllRefundsSelf$outboundSchema, ListAllRefundsSelf$, ListAllRefundsPrevious$inboundSchema, ListAllRefundsPrevious$outboundSchema, ListAllRefundsPrevious$, ListAllRefundsNext$inboundSchema, ListAllRefundsNext$outboundSchema, ListAllRefundsNext$, ListAllRefundsDocumentation$inboundSchema, ListAllRefundsDocumentation$outboundSchema, ListAllRefundsDocumentation$, ListAllRefundsLinks$inboundSchema, ListAllRefundsLinks$outboundSchema, ListAllRefundsLinks$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
70172
+ var ListAllRefundsSort, ListAllRefundsEmbed, ListAllRefundsMode, ListAllRefundsStatus, ListAllRefundsType, ListAllRefundsSort$inboundSchema, ListAllRefundsSort$outboundSchema, ListAllRefundsSort$, ListAllRefundsEmbed$inboundSchema, ListAllRefundsEmbed$outboundSchema, ListAllRefundsEmbed$, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsBadRequestDocumentation$inboundSchema, ListAllRefundsBadRequestDocumentation$outboundSchema, ListAllRefundsBadRequestDocumentation$, ListAllRefundsBadRequestLinks$inboundSchema, ListAllRefundsBadRequestLinks$outboundSchema, ListAllRefundsBadRequestLinks$, ListAllRefundsMode$inboundSchema, ListAllRefundsMode$outboundSchema, ListAllRefundsMode$, ListAllRefundsAmount$inboundSchema, ListAllRefundsAmount$outboundSchema, ListAllRefundsAmount$, ListAllRefundsSettlementAmount$inboundSchema, ListAllRefundsSettlementAmount$outboundSchema, ListAllRefundsSettlementAmount$, ListAllRefundsMetadata$inboundSchema, ListAllRefundsMetadata$outboundSchema, ListAllRefundsMetadata$, ListAllRefundsStatus$inboundSchema, ListAllRefundsStatus$outboundSchema, ListAllRefundsStatus$, ListAllRefundsType$inboundSchema, ListAllRefundsType$outboundSchema, ListAllRefundsType$, ListAllRefundsExternalReference$inboundSchema, ListAllRefundsExternalReference$outboundSchema, ListAllRefundsExternalReference$, ListAllRefundsRoutingReversalAmount$inboundSchema, ListAllRefundsRoutingReversalAmount$outboundSchema, ListAllRefundsRoutingReversalAmount$, ListAllRefundsSource$inboundSchema, ListAllRefundsSource$outboundSchema, ListAllRefundsSource$, ListAllRefundsRoutingReversal$inboundSchema, ListAllRefundsRoutingReversal$outboundSchema, ListAllRefundsRoutingReversal$, ListAllRefundsRefundSelf$inboundSchema, ListAllRefundsRefundSelf$outboundSchema, ListAllRefundsRefundSelf$, ListAllRefundsPayment$inboundSchema, ListAllRefundsPayment$outboundSchema, ListAllRefundsPayment$, ListAllRefundsSettlement$inboundSchema, ListAllRefundsSettlement$outboundSchema, ListAllRefundsSettlement$, ListAllRefundsRefundDocumentation$inboundSchema, ListAllRefundsRefundDocumentation$outboundSchema, ListAllRefundsRefundDocumentation$, ListAllRefundsRefundLinks$inboundSchema, ListAllRefundsRefundLinks$outboundSchema, ListAllRefundsRefundLinks$, ListAllRefundsRefund$inboundSchema, ListAllRefundsRefund$outboundSchema, ListAllRefundsRefund$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsSelf$inboundSchema, ListAllRefundsSelf$outboundSchema, ListAllRefundsSelf$, ListAllRefundsPrevious$inboundSchema, ListAllRefundsPrevious$outboundSchema, ListAllRefundsPrevious$, ListAllRefundsNext$inboundSchema, ListAllRefundsNext$outboundSchema, ListAllRefundsNext$, ListAllRefundsDocumentation$inboundSchema, ListAllRefundsDocumentation$outboundSchema, ListAllRefundsDocumentation$, ListAllRefundsLinks$inboundSchema, ListAllRefundsLinks$outboundSchema, ListAllRefundsLinks$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
70613
70173
  var init_listallrefunds = __esm(() => {
70614
70174
  init_esm();
70615
70175
  init_primitives();
@@ -70719,26 +70279,12 @@ var init_listallrefunds = __esm(() => {
70719
70279
  ListAllRefundsSettlementAmount$.inboundSchema = ListAllRefundsSettlementAmount$inboundSchema;
70720
70280
  ListAllRefundsSettlementAmount$.outboundSchema = ListAllRefundsSettlementAmount$outboundSchema;
70721
70281
  })(ListAllRefundsSettlementAmount$ ||= {});
70722
- ListAllRefundsMetadata$inboundSchema = objectType({});
70723
- ListAllRefundsMetadata$outboundSchema = objectType({});
70282
+ ListAllRefundsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
70283
+ ListAllRefundsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
70724
70284
  ((ListAllRefundsMetadata$) => {
70725
70285
  ListAllRefundsMetadata$.inboundSchema = ListAllRefundsMetadata$inboundSchema;
70726
70286
  ListAllRefundsMetadata$.outboundSchema = ListAllRefundsMetadata$outboundSchema;
70727
70287
  })(ListAllRefundsMetadata$ ||= {});
70728
- ListAllRefundsMetadataUnion$inboundSchema = unionType([
70729
- lazyType(() => ListAllRefundsMetadata$inboundSchema),
70730
- stringType(),
70731
- arrayType(stringType())
70732
- ]);
70733
- ListAllRefundsMetadataUnion$outboundSchema = unionType([
70734
- lazyType(() => ListAllRefundsMetadata$outboundSchema),
70735
- stringType(),
70736
- arrayType(stringType())
70737
- ]);
70738
- ((ListAllRefundsMetadataUnion$) => {
70739
- ListAllRefundsMetadataUnion$.inboundSchema = ListAllRefundsMetadataUnion$inboundSchema;
70740
- ListAllRefundsMetadataUnion$.outboundSchema = ListAllRefundsMetadataUnion$outboundSchema;
70741
- })(ListAllRefundsMetadataUnion$ ||= {});
70742
70288
  ListAllRefundsStatus$inboundSchema = nativeEnumType(ListAllRefundsStatus);
70743
70289
  ListAllRefundsStatus$outboundSchema = ListAllRefundsStatus$inboundSchema;
70744
70290
  ((ListAllRefundsStatus$) => {
@@ -70868,11 +70414,7 @@ var init_listallrefunds = __esm(() => {
70868
70414
  description: stringType().optional(),
70869
70415
  amount: lazyType(() => ListAllRefundsAmount$inboundSchema).optional(),
70870
70416
  settlementAmount: nullableType(lazyType(() => ListAllRefundsSettlementAmount$inboundSchema)).optional(),
70871
- metadata: nullableType(unionType([
70872
- lazyType(() => ListAllRefundsMetadata$inboundSchema),
70873
- stringType(),
70874
- arrayType(stringType())
70875
- ])).optional(),
70417
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
70876
70418
  paymentId: stringType().optional(),
70877
70419
  settlementId: nullableType(stringType()).optional(),
70878
70420
  status: ListAllRefundsStatus$inboundSchema.optional(),
@@ -70892,11 +70434,7 @@ var init_listallrefunds = __esm(() => {
70892
70434
  description: stringType().optional(),
70893
70435
  amount: lazyType(() => ListAllRefundsAmount$outboundSchema).optional(),
70894
70436
  settlementAmount: nullableType(lazyType(() => ListAllRefundsSettlementAmount$outboundSchema)).optional(),
70895
- metadata: nullableType(unionType([
70896
- lazyType(() => ListAllRefundsMetadata$outboundSchema),
70897
- stringType(),
70898
- arrayType(stringType())
70899
- ])).optional(),
70437
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
70900
70438
  paymentId: stringType().optional(),
70901
70439
  settlementId: nullableType(stringType()).optional(),
70902
70440
  status: ListAllRefundsStatus$outboundSchema.optional(),
@@ -71014,7 +70552,7 @@ var init_listallrefunds = __esm(() => {
71014
70552
  });
71015
70553
 
71016
70554
  // src/models/operations/listallsubscriptions.ts
71017
- 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$;
70555
+ 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$, 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$;
71018
70556
  var init_listallsubscriptions = __esm(() => {
71019
70557
  init_esm();
71020
70558
  init_primitives();
@@ -71159,26 +70697,12 @@ var init_listallsubscriptions = __esm(() => {
71159
70697
  ListAllSubscriptionsApplicationFee$.inboundSchema = ListAllSubscriptionsApplicationFee$inboundSchema;
71160
70698
  ListAllSubscriptionsApplicationFee$.outboundSchema = ListAllSubscriptionsApplicationFee$outboundSchema;
71161
70699
  })(ListAllSubscriptionsApplicationFee$ ||= {});
71162
- ListAllSubscriptionsMetadata$inboundSchema = objectType({});
71163
- ListAllSubscriptionsMetadata$outboundSchema = objectType({});
70700
+ ListAllSubscriptionsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
70701
+ ListAllSubscriptionsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
71164
70702
  ((ListAllSubscriptionsMetadata$) => {
71165
70703
  ListAllSubscriptionsMetadata$.inboundSchema = ListAllSubscriptionsMetadata$inboundSchema;
71166
70704
  ListAllSubscriptionsMetadata$.outboundSchema = ListAllSubscriptionsMetadata$outboundSchema;
71167
70705
  })(ListAllSubscriptionsMetadata$ ||= {});
71168
- ListAllSubscriptionsMetadataUnion$inboundSchema = unionType([
71169
- lazyType(() => ListAllSubscriptionsMetadata$inboundSchema),
71170
- stringType(),
71171
- arrayType(stringType())
71172
- ]);
71173
- ListAllSubscriptionsMetadataUnion$outboundSchema = unionType([
71174
- lazyType(() => ListAllSubscriptionsMetadata$outboundSchema),
71175
- stringType(),
71176
- arrayType(stringType())
71177
- ]);
71178
- ((ListAllSubscriptionsMetadataUnion$) => {
71179
- ListAllSubscriptionsMetadataUnion$.inboundSchema = ListAllSubscriptionsMetadataUnion$inboundSchema;
71180
- ListAllSubscriptionsMetadataUnion$.outboundSchema = ListAllSubscriptionsMetadataUnion$outboundSchema;
71181
- })(ListAllSubscriptionsMetadataUnion$ ||= {});
71182
70706
  ListAllSubscriptionsSubscriptionSelf$inboundSchema = objectType({
71183
70707
  href: stringType(),
71184
70708
  type: stringType()
@@ -71285,11 +70809,7 @@ var init_listallsubscriptions = __esm(() => {
71285
70809
  description: stringType(),
71286
70810
  method: nullableType(ListAllSubscriptionsMethod$inboundSchema),
71287
70811
  applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$inboundSchema).optional(),
71288
- metadata: nullableType(unionType([
71289
- lazyType(() => ListAllSubscriptionsMetadata$inboundSchema),
71290
- stringType(),
71291
- arrayType(stringType())
71292
- ])),
70812
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
71293
70813
  webhookUrl: stringType(),
71294
70814
  customerId: stringType(),
71295
70815
  mandateId: nullableType(stringType()).optional(),
@@ -71315,11 +70835,7 @@ var init_listallsubscriptions = __esm(() => {
71315
70835
  description: stringType(),
71316
70836
  method: nullableType(ListAllSubscriptionsMethod$outboundSchema),
71317
70837
  applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$outboundSchema).optional(),
71318
- metadata: nullableType(unionType([
71319
- lazyType(() => ListAllSubscriptionsMetadata$outboundSchema),
71320
- stringType(),
71321
- arrayType(stringType())
71322
- ])),
70838
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
71323
70839
  webhookUrl: stringType(),
71324
70840
  customerId: stringType(),
71325
70841
  mandateId: nullableType(stringType()).optional(),
@@ -72829,7 +72345,7 @@ var init_listcapabilities = __esm(() => {
72829
72345
  });
72830
72346
 
72831
72347
  // src/models/operations/listcaptures.ts
72832
- var ListCapturesEmbed, ListCapturesMode, ListCapturesStatus, ListCapturesEmbed$inboundSchema, ListCapturesEmbed$outboundSchema, ListCapturesEmbed$, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesNotFoundDocumentation$inboundSchema, ListCapturesNotFoundDocumentation$outboundSchema, ListCapturesNotFoundDocumentation$, ListCapturesNotFoundLinks$inboundSchema, ListCapturesNotFoundLinks$outboundSchema, ListCapturesNotFoundLinks$, ListCapturesBadRequestDocumentation$inboundSchema, ListCapturesBadRequestDocumentation$outboundSchema, ListCapturesBadRequestDocumentation$, ListCapturesBadRequestLinks$inboundSchema, ListCapturesBadRequestLinks$outboundSchema, ListCapturesBadRequestLinks$, ListCapturesMode$inboundSchema, ListCapturesMode$outboundSchema, ListCapturesMode$, ListCapturesAmount$inboundSchema, ListCapturesAmount$outboundSchema, ListCapturesAmount$, ListCapturesSettlementAmount$inboundSchema, ListCapturesSettlementAmount$outboundSchema, ListCapturesSettlementAmount$, ListCapturesStatus$inboundSchema, ListCapturesStatus$outboundSchema, ListCapturesStatus$, ListCapturesMetadata$inboundSchema, ListCapturesMetadata$outboundSchema, ListCapturesMetadata$, ListCapturesMetadataUnion$inboundSchema, ListCapturesMetadataUnion$outboundSchema, ListCapturesMetadataUnion$, ListCapturesCaptureSelf$inboundSchema, ListCapturesCaptureSelf$outboundSchema, ListCapturesCaptureSelf$, ListCapturesPayment$inboundSchema, ListCapturesPayment$outboundSchema, ListCapturesPayment$, ListCapturesSettlement$inboundSchema, ListCapturesSettlement$outboundSchema, ListCapturesSettlement$, ListCapturesShipment$inboundSchema, ListCapturesShipment$outboundSchema, ListCapturesShipment$, ListCapturesCaptureDocumentation$inboundSchema, ListCapturesCaptureDocumentation$outboundSchema, ListCapturesCaptureDocumentation$, ListCapturesCaptureLinks$inboundSchema, ListCapturesCaptureLinks$outboundSchema, ListCapturesCaptureLinks$, ListCapturesCapture$inboundSchema, ListCapturesCapture$outboundSchema, ListCapturesCapture$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesSelf$inboundSchema, ListCapturesSelf$outboundSchema, ListCapturesSelf$, ListCapturesPrevious$inboundSchema, ListCapturesPrevious$outboundSchema, ListCapturesPrevious$, ListCapturesNext$inboundSchema, ListCapturesNext$outboundSchema, ListCapturesNext$, ListCapturesDocumentation$inboundSchema, ListCapturesDocumentation$outboundSchema, ListCapturesDocumentation$, ListCapturesLinks$inboundSchema, ListCapturesLinks$outboundSchema, ListCapturesLinks$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
72348
+ var ListCapturesEmbed, ListCapturesMode, ListCapturesStatus, ListCapturesEmbed$inboundSchema, ListCapturesEmbed$outboundSchema, ListCapturesEmbed$, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesNotFoundDocumentation$inboundSchema, ListCapturesNotFoundDocumentation$outboundSchema, ListCapturesNotFoundDocumentation$, ListCapturesNotFoundLinks$inboundSchema, ListCapturesNotFoundLinks$outboundSchema, ListCapturesNotFoundLinks$, ListCapturesBadRequestDocumentation$inboundSchema, ListCapturesBadRequestDocumentation$outboundSchema, ListCapturesBadRequestDocumentation$, ListCapturesBadRequestLinks$inboundSchema, ListCapturesBadRequestLinks$outboundSchema, ListCapturesBadRequestLinks$, ListCapturesMode$inboundSchema, ListCapturesMode$outboundSchema, ListCapturesMode$, ListCapturesAmount$inboundSchema, ListCapturesAmount$outboundSchema, ListCapturesAmount$, ListCapturesSettlementAmount$inboundSchema, ListCapturesSettlementAmount$outboundSchema, ListCapturesSettlementAmount$, ListCapturesStatus$inboundSchema, ListCapturesStatus$outboundSchema, ListCapturesStatus$, ListCapturesMetadata$inboundSchema, ListCapturesMetadata$outboundSchema, ListCapturesMetadata$, ListCapturesCaptureSelf$inboundSchema, ListCapturesCaptureSelf$outboundSchema, ListCapturesCaptureSelf$, ListCapturesPayment$inboundSchema, ListCapturesPayment$outboundSchema, ListCapturesPayment$, ListCapturesSettlement$inboundSchema, ListCapturesSettlement$outboundSchema, ListCapturesSettlement$, ListCapturesShipment$inboundSchema, ListCapturesShipment$outboundSchema, ListCapturesShipment$, ListCapturesCaptureDocumentation$inboundSchema, ListCapturesCaptureDocumentation$outboundSchema, ListCapturesCaptureDocumentation$, ListCapturesCaptureLinks$inboundSchema, ListCapturesCaptureLinks$outboundSchema, ListCapturesCaptureLinks$, ListCapturesCapture$inboundSchema, ListCapturesCapture$outboundSchema, ListCapturesCapture$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesSelf$inboundSchema, ListCapturesSelf$outboundSchema, ListCapturesSelf$, ListCapturesPrevious$inboundSchema, ListCapturesPrevious$outboundSchema, ListCapturesPrevious$, ListCapturesNext$inboundSchema, ListCapturesNext$outboundSchema, ListCapturesNext$, ListCapturesDocumentation$inboundSchema, ListCapturesDocumentation$outboundSchema, ListCapturesDocumentation$, ListCapturesLinks$inboundSchema, ListCapturesLinks$outboundSchema, ListCapturesLinks$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
72833
72349
  var init_listcaptures = __esm(() => {
72834
72350
  init_esm();
72835
72351
  init_primitives();
@@ -72949,26 +72465,12 @@ var init_listcaptures = __esm(() => {
72949
72465
  ListCapturesStatus$.inboundSchema = ListCapturesStatus$inboundSchema;
72950
72466
  ListCapturesStatus$.outboundSchema = ListCapturesStatus$outboundSchema;
72951
72467
  })(ListCapturesStatus$ ||= {});
72952
- ListCapturesMetadata$inboundSchema = objectType({});
72953
- ListCapturesMetadata$outboundSchema = objectType({});
72468
+ ListCapturesMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
72469
+ ListCapturesMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
72954
72470
  ((ListCapturesMetadata$) => {
72955
72471
  ListCapturesMetadata$.inboundSchema = ListCapturesMetadata$inboundSchema;
72956
72472
  ListCapturesMetadata$.outboundSchema = ListCapturesMetadata$outboundSchema;
72957
72473
  })(ListCapturesMetadata$ ||= {});
72958
- ListCapturesMetadataUnion$inboundSchema = unionType([
72959
- lazyType(() => ListCapturesMetadata$inboundSchema),
72960
- stringType(),
72961
- arrayType(stringType())
72962
- ]);
72963
- ListCapturesMetadataUnion$outboundSchema = unionType([
72964
- lazyType(() => ListCapturesMetadata$outboundSchema),
72965
- stringType(),
72966
- arrayType(stringType())
72967
- ]);
72968
- ((ListCapturesMetadataUnion$) => {
72969
- ListCapturesMetadataUnion$.inboundSchema = ListCapturesMetadataUnion$inboundSchema;
72970
- ListCapturesMetadataUnion$.outboundSchema = ListCapturesMetadataUnion$outboundSchema;
72971
- })(ListCapturesMetadataUnion$ ||= {});
72972
72474
  ListCapturesCaptureSelf$inboundSchema = objectType({
72973
72475
  href: stringType(),
72974
72476
  type: stringType()
@@ -73055,11 +72557,7 @@ var init_listcaptures = __esm(() => {
73055
72557
  amount: nullableType(lazyType(() => ListCapturesAmount$inboundSchema)),
73056
72558
  settlementAmount: nullableType(lazyType(() => ListCapturesSettlementAmount$inboundSchema)).optional(),
73057
72559
  status: ListCapturesStatus$inboundSchema,
73058
- metadata: nullableType(unionType([
73059
- lazyType(() => ListCapturesMetadata$inboundSchema),
73060
- stringType(),
73061
- arrayType(stringType())
73062
- ])).optional(),
72560
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
73063
72561
  paymentId: stringType(),
73064
72562
  shipmentId: nullableType(stringType()).optional(),
73065
72563
  settlementId: nullableType(stringType()).optional(),
@@ -73078,11 +72576,7 @@ var init_listcaptures = __esm(() => {
73078
72576
  amount: nullableType(lazyType(() => ListCapturesAmount$outboundSchema)),
73079
72577
  settlementAmount: nullableType(lazyType(() => ListCapturesSettlementAmount$outboundSchema)).optional(),
73080
72578
  status: ListCapturesStatus$outboundSchema,
73081
- metadata: nullableType(unionType([
73082
- lazyType(() => ListCapturesMetadata$outboundSchema),
73083
- stringType(),
73084
- arrayType(stringType())
73085
- ])).optional(),
72579
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
73086
72580
  paymentId: stringType(),
73087
72581
  shipmentId: nullableType(stringType()).optional(),
73088
72582
  settlementId: nullableType(stringType()).optional(),
@@ -74136,7 +73630,7 @@ var init_listclients = __esm(() => {
74136
73630
  });
74137
73631
 
74138
73632
  // src/models/operations/listcustomerpayments.ts
74139
- var ListCustomerPaymentsSort, ListCustomerPaymentsMode, ListCustomerPaymentsLineType, ListCustomerPaymentsCategory, ListCustomerPaymentsInterval, ListCustomerPaymentsLocale, ListCustomerPaymentsMethod, ListCustomerPaymentsCaptureMode, ListCustomerPaymentsRoutingMode, ListCustomerPaymentsRoutingType, ListCustomerPaymentsSequenceType, ListCustomerPaymentsStatus, ListCustomerPaymentsSort$inboundSchema, ListCustomerPaymentsSort$outboundSchema, ListCustomerPaymentsSort$, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsBadRequestDocumentation$inboundSchema, ListCustomerPaymentsBadRequestDocumentation$outboundSchema, ListCustomerPaymentsBadRequestDocumentation$, ListCustomerPaymentsBadRequestLinks$inboundSchema, ListCustomerPaymentsBadRequestLinks$outboundSchema, ListCustomerPaymentsBadRequestLinks$, ListCustomerPaymentsMode$inboundSchema, ListCustomerPaymentsMode$outboundSchema, ListCustomerPaymentsMode$, ListCustomerPaymentsAmount$inboundSchema, ListCustomerPaymentsAmount$outboundSchema, ListCustomerPaymentsAmount$, ListCustomerPaymentsAmountRefunded$inboundSchema, ListCustomerPaymentsAmountRefunded$outboundSchema, ListCustomerPaymentsAmountRefunded$, ListCustomerPaymentsAmountRemaining$inboundSchema, ListCustomerPaymentsAmountRemaining$outboundSchema, ListCustomerPaymentsAmountRemaining$, ListCustomerPaymentsAmountCaptured$inboundSchema, ListCustomerPaymentsAmountCaptured$outboundSchema, ListCustomerPaymentsAmountCaptured$, ListCustomerPaymentsAmountChargedBack$inboundSchema, ListCustomerPaymentsAmountChargedBack$outboundSchema, ListCustomerPaymentsAmountChargedBack$, ListCustomerPaymentsSettlementAmount$inboundSchema, ListCustomerPaymentsSettlementAmount$outboundSchema, ListCustomerPaymentsSettlementAmount$, ListCustomerPaymentsLineType$inboundSchema, ListCustomerPaymentsLineType$outboundSchema, ListCustomerPaymentsLineType$, ListCustomerPaymentsUnitPrice$inboundSchema, ListCustomerPaymentsUnitPrice$outboundSchema, ListCustomerPaymentsUnitPrice$, ListCustomerPaymentsDiscountAmount$inboundSchema, ListCustomerPaymentsDiscountAmount$outboundSchema, ListCustomerPaymentsDiscountAmount$, ListCustomerPaymentsTotalAmount$inboundSchema, ListCustomerPaymentsTotalAmount$outboundSchema, ListCustomerPaymentsTotalAmount$, ListCustomerPaymentsVatAmount$inboundSchema, ListCustomerPaymentsVatAmount$outboundSchema, ListCustomerPaymentsVatAmount$, ListCustomerPaymentsCategory$inboundSchema, ListCustomerPaymentsCategory$outboundSchema, ListCustomerPaymentsCategory$, ListCustomerPaymentsInterval$inboundSchema, ListCustomerPaymentsInterval$outboundSchema, ListCustomerPaymentsInterval$, ListCustomerPaymentsRecurringAmount$inboundSchema, ListCustomerPaymentsRecurringAmount$outboundSchema, ListCustomerPaymentsRecurringAmount$, ListCustomerPaymentsRecurring$inboundSchema, ListCustomerPaymentsRecurring$outboundSchema, ListCustomerPaymentsRecurring$, ListCustomerPaymentsLine$inboundSchema, ListCustomerPaymentsLine$outboundSchema, ListCustomerPaymentsLine$, ListCustomerPaymentsBillingAddress$inboundSchema, ListCustomerPaymentsBillingAddress$outboundSchema, ListCustomerPaymentsBillingAddress$, ListCustomerPaymentsShippingAddress$inboundSchema, ListCustomerPaymentsShippingAddress$outboundSchema, ListCustomerPaymentsShippingAddress$, ListCustomerPaymentsLocale$inboundSchema, ListCustomerPaymentsLocale$outboundSchema, ListCustomerPaymentsLocale$, ListCustomerPaymentsMethod$inboundSchema, ListCustomerPaymentsMethod$outboundSchema, ListCustomerPaymentsMethod$, ListCustomerPaymentsMetadata$inboundSchema, ListCustomerPaymentsMetadata$outboundSchema, ListCustomerPaymentsMetadata$, ListCustomerPaymentsMetadataUnion$inboundSchema, ListCustomerPaymentsMetadataUnion$outboundSchema, ListCustomerPaymentsMetadataUnion$, ListCustomerPaymentsCaptureMode$inboundSchema, ListCustomerPaymentsCaptureMode$outboundSchema, ListCustomerPaymentsCaptureMode$, ListCustomerPaymentsApplicationFeeAmount$inboundSchema, ListCustomerPaymentsApplicationFeeAmount$outboundSchema, ListCustomerPaymentsApplicationFeeAmount$, ListCustomerPaymentsApplicationFee$inboundSchema, ListCustomerPaymentsApplicationFee$outboundSchema, ListCustomerPaymentsApplicationFee$, ListCustomerPaymentsRoutingMode$inboundSchema, ListCustomerPaymentsRoutingMode$outboundSchema, ListCustomerPaymentsRoutingMode$, ListCustomerPaymentsRoutingAmount$inboundSchema, ListCustomerPaymentsRoutingAmount$outboundSchema, ListCustomerPaymentsRoutingAmount$, ListCustomerPaymentsRoutingType$inboundSchema, ListCustomerPaymentsRoutingType$outboundSchema, ListCustomerPaymentsRoutingType$, ListCustomerPaymentsDestination$inboundSchema, ListCustomerPaymentsDestination$outboundSchema, ListCustomerPaymentsDestination$, ListCustomerPaymentsRoutingSelf$inboundSchema, ListCustomerPaymentsRoutingSelf$outboundSchema, ListCustomerPaymentsRoutingSelf$, ListCustomerPaymentsRoutingPayment$inboundSchema, ListCustomerPaymentsRoutingPayment$outboundSchema, ListCustomerPaymentsRoutingPayment$, ListCustomerPaymentsRoutingLinks$inboundSchema, ListCustomerPaymentsRoutingLinks$outboundSchema, ListCustomerPaymentsRoutingLinks$, ListCustomerPaymentsRouting$inboundSchema, ListCustomerPaymentsRouting$outboundSchema, ListCustomerPaymentsRouting$, ListCustomerPaymentsSequenceType$inboundSchema, ListCustomerPaymentsSequenceType$outboundSchema, ListCustomerPaymentsSequenceType$, ListCustomerPaymentsStatus$inboundSchema, ListCustomerPaymentsStatus$outboundSchema, ListCustomerPaymentsStatus$, ListCustomerPaymentsStatusReason$inboundSchema, ListCustomerPaymentsStatusReason$outboundSchema, ListCustomerPaymentsStatusReason$, ListCustomerPaymentsPaymentSelf$inboundSchema, ListCustomerPaymentsPaymentSelf$outboundSchema, ListCustomerPaymentsPaymentSelf$, ListCustomerPaymentsCheckout$inboundSchema, ListCustomerPaymentsCheckout$outboundSchema, ListCustomerPaymentsCheckout$, ListCustomerPaymentsMobileAppCheckout$inboundSchema, ListCustomerPaymentsMobileAppCheckout$outboundSchema, ListCustomerPaymentsMobileAppCheckout$, ListCustomerPaymentsChangePaymentState$inboundSchema, ListCustomerPaymentsChangePaymentState$outboundSchema, ListCustomerPaymentsChangePaymentState$, ListCustomerPaymentsDashboard$inboundSchema, ListCustomerPaymentsDashboard$outboundSchema, ListCustomerPaymentsDashboard$, ListCustomerPaymentsRefunds$inboundSchema, ListCustomerPaymentsRefunds$outboundSchema, ListCustomerPaymentsRefunds$, ListCustomerPaymentsChargebacks$inboundSchema, ListCustomerPaymentsChargebacks$outboundSchema, ListCustomerPaymentsChargebacks$, ListCustomerPaymentsCaptures$inboundSchema, ListCustomerPaymentsCaptures$outboundSchema, ListCustomerPaymentsCaptures$, ListCustomerPaymentsSettlement$inboundSchema, ListCustomerPaymentsSettlement$outboundSchema, ListCustomerPaymentsSettlement$, ListCustomerPaymentsCustomer$inboundSchema, ListCustomerPaymentsCustomer$outboundSchema, ListCustomerPaymentsCustomer$, ListCustomerPaymentsMandate$inboundSchema, ListCustomerPaymentsMandate$outboundSchema, ListCustomerPaymentsMandate$, ListCustomerPaymentsSubscription$inboundSchema, ListCustomerPaymentsSubscription$outboundSchema, ListCustomerPaymentsSubscription$, ListCustomerPaymentsOrder$inboundSchema, ListCustomerPaymentsOrder$outboundSchema, ListCustomerPaymentsOrder$, ListCustomerPaymentsTerminal$inboundSchema, ListCustomerPaymentsTerminal$outboundSchema, ListCustomerPaymentsTerminal$, ListCustomerPaymentsPaymentDocumentation$inboundSchema, ListCustomerPaymentsPaymentDocumentation$outboundSchema, ListCustomerPaymentsPaymentDocumentation$, ListCustomerPaymentsPaymentLinks$inboundSchema, ListCustomerPaymentsPaymentLinks$outboundSchema, ListCustomerPaymentsPaymentLinks$, ListCustomerPaymentsPaymentOutput$inboundSchema, ListCustomerPaymentsPaymentOutput$outboundSchema, ListCustomerPaymentsPaymentOutput$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsSelf$inboundSchema, ListCustomerPaymentsSelf$outboundSchema, ListCustomerPaymentsSelf$, ListCustomerPaymentsPrevious$inboundSchema, ListCustomerPaymentsPrevious$outboundSchema, ListCustomerPaymentsPrevious$, ListCustomerPaymentsNext$inboundSchema, ListCustomerPaymentsNext$outboundSchema, ListCustomerPaymentsNext$, ListCustomerPaymentsDocumentation$inboundSchema, ListCustomerPaymentsDocumentation$outboundSchema, ListCustomerPaymentsDocumentation$, ListCustomerPaymentsLinks$inboundSchema, ListCustomerPaymentsLinks$outboundSchema, ListCustomerPaymentsLinks$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
73633
+ var ListCustomerPaymentsSort, ListCustomerPaymentsMode, ListCustomerPaymentsLineType, ListCustomerPaymentsCategory, ListCustomerPaymentsInterval, ListCustomerPaymentsLocale, ListCustomerPaymentsMethod, ListCustomerPaymentsCaptureMode, ListCustomerPaymentsRoutingMode, ListCustomerPaymentsRoutingType, ListCustomerPaymentsSequenceType, ListCustomerPaymentsStatus, ListCustomerPaymentsSort$inboundSchema, ListCustomerPaymentsSort$outboundSchema, ListCustomerPaymentsSort$, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsBadRequestDocumentation$inboundSchema, ListCustomerPaymentsBadRequestDocumentation$outboundSchema, ListCustomerPaymentsBadRequestDocumentation$, ListCustomerPaymentsBadRequestLinks$inboundSchema, ListCustomerPaymentsBadRequestLinks$outboundSchema, ListCustomerPaymentsBadRequestLinks$, ListCustomerPaymentsMode$inboundSchema, ListCustomerPaymentsMode$outboundSchema, ListCustomerPaymentsMode$, ListCustomerPaymentsAmount$inboundSchema, ListCustomerPaymentsAmount$outboundSchema, ListCustomerPaymentsAmount$, ListCustomerPaymentsAmountRefunded$inboundSchema, ListCustomerPaymentsAmountRefunded$outboundSchema, ListCustomerPaymentsAmountRefunded$, ListCustomerPaymentsAmountRemaining$inboundSchema, ListCustomerPaymentsAmountRemaining$outboundSchema, ListCustomerPaymentsAmountRemaining$, ListCustomerPaymentsAmountCaptured$inboundSchema, ListCustomerPaymentsAmountCaptured$outboundSchema, ListCustomerPaymentsAmountCaptured$, ListCustomerPaymentsAmountChargedBack$inboundSchema, ListCustomerPaymentsAmountChargedBack$outboundSchema, ListCustomerPaymentsAmountChargedBack$, ListCustomerPaymentsSettlementAmount$inboundSchema, ListCustomerPaymentsSettlementAmount$outboundSchema, ListCustomerPaymentsSettlementAmount$, ListCustomerPaymentsLineType$inboundSchema, ListCustomerPaymentsLineType$outboundSchema, ListCustomerPaymentsLineType$, ListCustomerPaymentsUnitPrice$inboundSchema, ListCustomerPaymentsUnitPrice$outboundSchema, ListCustomerPaymentsUnitPrice$, ListCustomerPaymentsDiscountAmount$inboundSchema, ListCustomerPaymentsDiscountAmount$outboundSchema, ListCustomerPaymentsDiscountAmount$, ListCustomerPaymentsTotalAmount$inboundSchema, ListCustomerPaymentsTotalAmount$outboundSchema, ListCustomerPaymentsTotalAmount$, ListCustomerPaymentsVatAmount$inboundSchema, ListCustomerPaymentsVatAmount$outboundSchema, ListCustomerPaymentsVatAmount$, ListCustomerPaymentsCategory$inboundSchema, ListCustomerPaymentsCategory$outboundSchema, ListCustomerPaymentsCategory$, ListCustomerPaymentsInterval$inboundSchema, ListCustomerPaymentsInterval$outboundSchema, ListCustomerPaymentsInterval$, ListCustomerPaymentsRecurringAmount$inboundSchema, ListCustomerPaymentsRecurringAmount$outboundSchema, ListCustomerPaymentsRecurringAmount$, ListCustomerPaymentsRecurring$inboundSchema, ListCustomerPaymentsRecurring$outboundSchema, ListCustomerPaymentsRecurring$, ListCustomerPaymentsLine$inboundSchema, ListCustomerPaymentsLine$outboundSchema, ListCustomerPaymentsLine$, ListCustomerPaymentsBillingAddress$inboundSchema, ListCustomerPaymentsBillingAddress$outboundSchema, ListCustomerPaymentsBillingAddress$, ListCustomerPaymentsShippingAddress$inboundSchema, ListCustomerPaymentsShippingAddress$outboundSchema, ListCustomerPaymentsShippingAddress$, ListCustomerPaymentsLocale$inboundSchema, ListCustomerPaymentsLocale$outboundSchema, ListCustomerPaymentsLocale$, ListCustomerPaymentsMethod$inboundSchema, ListCustomerPaymentsMethod$outboundSchema, ListCustomerPaymentsMethod$, ListCustomerPaymentsMetadata$inboundSchema, ListCustomerPaymentsMetadata$outboundSchema, ListCustomerPaymentsMetadata$, ListCustomerPaymentsCaptureMode$inboundSchema, ListCustomerPaymentsCaptureMode$outboundSchema, ListCustomerPaymentsCaptureMode$, ListCustomerPaymentsApplicationFeeAmount$inboundSchema, ListCustomerPaymentsApplicationFeeAmount$outboundSchema, ListCustomerPaymentsApplicationFeeAmount$, ListCustomerPaymentsApplicationFee$inboundSchema, ListCustomerPaymentsApplicationFee$outboundSchema, ListCustomerPaymentsApplicationFee$, ListCustomerPaymentsRoutingMode$inboundSchema, ListCustomerPaymentsRoutingMode$outboundSchema, ListCustomerPaymentsRoutingMode$, ListCustomerPaymentsRoutingAmount$inboundSchema, ListCustomerPaymentsRoutingAmount$outboundSchema, ListCustomerPaymentsRoutingAmount$, ListCustomerPaymentsRoutingType$inboundSchema, ListCustomerPaymentsRoutingType$outboundSchema, ListCustomerPaymentsRoutingType$, ListCustomerPaymentsDestination$inboundSchema, ListCustomerPaymentsDestination$outboundSchema, ListCustomerPaymentsDestination$, ListCustomerPaymentsRoutingSelf$inboundSchema, ListCustomerPaymentsRoutingSelf$outboundSchema, ListCustomerPaymentsRoutingSelf$, ListCustomerPaymentsRoutingPayment$inboundSchema, ListCustomerPaymentsRoutingPayment$outboundSchema, ListCustomerPaymentsRoutingPayment$, ListCustomerPaymentsRoutingLinks$inboundSchema, ListCustomerPaymentsRoutingLinks$outboundSchema, ListCustomerPaymentsRoutingLinks$, ListCustomerPaymentsRouting$inboundSchema, ListCustomerPaymentsRouting$outboundSchema, ListCustomerPaymentsRouting$, ListCustomerPaymentsSequenceType$inboundSchema, ListCustomerPaymentsSequenceType$outboundSchema, ListCustomerPaymentsSequenceType$, ListCustomerPaymentsStatus$inboundSchema, ListCustomerPaymentsStatus$outboundSchema, ListCustomerPaymentsStatus$, ListCustomerPaymentsStatusReason$inboundSchema, ListCustomerPaymentsStatusReason$outboundSchema, ListCustomerPaymentsStatusReason$, ListCustomerPaymentsPaymentSelf$inboundSchema, ListCustomerPaymentsPaymentSelf$outboundSchema, ListCustomerPaymentsPaymentSelf$, ListCustomerPaymentsCheckout$inboundSchema, ListCustomerPaymentsCheckout$outboundSchema, ListCustomerPaymentsCheckout$, ListCustomerPaymentsMobileAppCheckout$inboundSchema, ListCustomerPaymentsMobileAppCheckout$outboundSchema, ListCustomerPaymentsMobileAppCheckout$, ListCustomerPaymentsChangePaymentState$inboundSchema, ListCustomerPaymentsChangePaymentState$outboundSchema, ListCustomerPaymentsChangePaymentState$, ListCustomerPaymentsDashboard$inboundSchema, ListCustomerPaymentsDashboard$outboundSchema, ListCustomerPaymentsDashboard$, ListCustomerPaymentsRefunds$inboundSchema, ListCustomerPaymentsRefunds$outboundSchema, ListCustomerPaymentsRefunds$, ListCustomerPaymentsChargebacks$inboundSchema, ListCustomerPaymentsChargebacks$outboundSchema, ListCustomerPaymentsChargebacks$, ListCustomerPaymentsCaptures$inboundSchema, ListCustomerPaymentsCaptures$outboundSchema, ListCustomerPaymentsCaptures$, ListCustomerPaymentsSettlement$inboundSchema, ListCustomerPaymentsSettlement$outboundSchema, ListCustomerPaymentsSettlement$, ListCustomerPaymentsCustomer$inboundSchema, ListCustomerPaymentsCustomer$outboundSchema, ListCustomerPaymentsCustomer$, ListCustomerPaymentsMandate$inboundSchema, ListCustomerPaymentsMandate$outboundSchema, ListCustomerPaymentsMandate$, ListCustomerPaymentsSubscription$inboundSchema, ListCustomerPaymentsSubscription$outboundSchema, ListCustomerPaymentsSubscription$, ListCustomerPaymentsOrder$inboundSchema, ListCustomerPaymentsOrder$outboundSchema, ListCustomerPaymentsOrder$, ListCustomerPaymentsTerminal$inboundSchema, ListCustomerPaymentsTerminal$outboundSchema, ListCustomerPaymentsTerminal$, ListCustomerPaymentsPaymentDocumentation$inboundSchema, ListCustomerPaymentsPaymentDocumentation$outboundSchema, ListCustomerPaymentsPaymentDocumentation$, ListCustomerPaymentsPaymentLinks$inboundSchema, ListCustomerPaymentsPaymentLinks$outboundSchema, ListCustomerPaymentsPaymentLinks$, ListCustomerPaymentsPaymentOutput$inboundSchema, ListCustomerPaymentsPaymentOutput$outboundSchema, ListCustomerPaymentsPaymentOutput$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsSelf$inboundSchema, ListCustomerPaymentsSelf$outboundSchema, ListCustomerPaymentsSelf$, ListCustomerPaymentsPrevious$inboundSchema, ListCustomerPaymentsPrevious$outboundSchema, ListCustomerPaymentsPrevious$, ListCustomerPaymentsNext$inboundSchema, ListCustomerPaymentsNext$outboundSchema, ListCustomerPaymentsNext$, ListCustomerPaymentsDocumentation$inboundSchema, ListCustomerPaymentsDocumentation$outboundSchema, ListCustomerPaymentsDocumentation$, ListCustomerPaymentsLinks$inboundSchema, ListCustomerPaymentsLinks$outboundSchema, ListCustomerPaymentsLinks$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
74140
73634
  var init_listcustomerpayments = __esm(() => {
74141
73635
  init_esm();
74142
73636
  init_primitives();
@@ -74590,26 +74084,12 @@ var init_listcustomerpayments = __esm(() => {
74590
74084
  ListCustomerPaymentsMethod$.inboundSchema = ListCustomerPaymentsMethod$inboundSchema;
74591
74085
  ListCustomerPaymentsMethod$.outboundSchema = ListCustomerPaymentsMethod$outboundSchema;
74592
74086
  })(ListCustomerPaymentsMethod$ ||= {});
74593
- ListCustomerPaymentsMetadata$inboundSchema = objectType({});
74594
- ListCustomerPaymentsMetadata$outboundSchema = objectType({});
74087
+ ListCustomerPaymentsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
74088
+ ListCustomerPaymentsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
74595
74089
  ((ListCustomerPaymentsMetadata$) => {
74596
74090
  ListCustomerPaymentsMetadata$.inboundSchema = ListCustomerPaymentsMetadata$inboundSchema;
74597
74091
  ListCustomerPaymentsMetadata$.outboundSchema = ListCustomerPaymentsMetadata$outboundSchema;
74598
74092
  })(ListCustomerPaymentsMetadata$ ||= {});
74599
- ListCustomerPaymentsMetadataUnion$inboundSchema = unionType([
74600
- lazyType(() => ListCustomerPaymentsMetadata$inboundSchema),
74601
- stringType(),
74602
- arrayType(stringType())
74603
- ]);
74604
- ListCustomerPaymentsMetadataUnion$outboundSchema = unionType([
74605
- lazyType(() => ListCustomerPaymentsMetadata$outboundSchema),
74606
- stringType(),
74607
- arrayType(stringType())
74608
- ]);
74609
- ((ListCustomerPaymentsMetadataUnion$) => {
74610
- ListCustomerPaymentsMetadataUnion$.inboundSchema = ListCustomerPaymentsMetadataUnion$inboundSchema;
74611
- ListCustomerPaymentsMetadataUnion$.outboundSchema = ListCustomerPaymentsMetadataUnion$outboundSchema;
74612
- })(ListCustomerPaymentsMetadataUnion$ ||= {});
74613
74093
  ListCustomerPaymentsCaptureMode$inboundSchema = nativeEnumType(ListCustomerPaymentsCaptureMode);
74614
74094
  ListCustomerPaymentsCaptureMode$outboundSchema = ListCustomerPaymentsCaptureMode$inboundSchema;
74615
74095
  ((ListCustomerPaymentsCaptureMode$) => {
@@ -75007,11 +74487,7 @@ var init_listcustomerpayments = __esm(() => {
75007
74487
  countryCode: nullableType(stringType()).optional(),
75008
74488
  method: nullableType(ListCustomerPaymentsMethod$inboundSchema).optional(),
75009
74489
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
75010
- metadata: nullableType(unionType([
75011
- lazyType(() => ListCustomerPaymentsMetadata$inboundSchema),
75012
- stringType(),
75013
- arrayType(stringType())
75014
- ])).optional(),
74490
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
75015
74491
  captureMode: nullableType(ListCustomerPaymentsCaptureMode$inboundSchema).optional(),
75016
74492
  captureDelay: nullableType(stringType()).optional(),
75017
74493
  captureBefore: nullableType(stringType()).optional(),
@@ -75062,11 +74538,7 @@ var init_listcustomerpayments = __esm(() => {
75062
74538
  countryCode: nullableType(stringType()).optional(),
75063
74539
  method: nullableType(ListCustomerPaymentsMethod$outboundSchema).optional(),
75064
74540
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
75065
- metadata: nullableType(unionType([
75066
- lazyType(() => ListCustomerPaymentsMetadata$outboundSchema),
75067
- stringType(),
75068
- arrayType(stringType())
75069
- ])).optional(),
74541
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
75070
74542
  captureMode: nullableType(ListCustomerPaymentsCaptureMode$outboundSchema).optional(),
75071
74543
  captureDelay: nullableType(stringType()).optional(),
75072
74544
  captureBefore: nullableType(stringType()).optional(),
@@ -75201,7 +74673,7 @@ var init_listcustomerpayments = __esm(() => {
75201
74673
  });
75202
74674
 
75203
74675
  // src/models/operations/listcustomers.ts
75204
- var ListCustomersSort, ListCustomersMode, ListCustomersLocale, ListCustomersSort$inboundSchema, ListCustomersSort$outboundSchema, ListCustomersSort$, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersNotFoundDocumentation$inboundSchema, ListCustomersNotFoundDocumentation$outboundSchema, ListCustomersNotFoundDocumentation$, ListCustomersNotFoundLinks$inboundSchema, ListCustomersNotFoundLinks$outboundSchema, ListCustomersNotFoundLinks$, ListCustomersBadRequestDocumentation$inboundSchema, ListCustomersBadRequestDocumentation$outboundSchema, ListCustomersBadRequestDocumentation$, ListCustomersBadRequestLinks$inboundSchema, ListCustomersBadRequestLinks$outboundSchema, ListCustomersBadRequestLinks$, ListCustomersMode$inboundSchema, ListCustomersMode$outboundSchema, ListCustomersMode$, ListCustomersLocale$inboundSchema, ListCustomersLocale$outboundSchema, ListCustomersLocale$, ListCustomersMetadata$inboundSchema, ListCustomersMetadata$outboundSchema, ListCustomersMetadata$, ListCustomersMetadataUnion$inboundSchema, ListCustomersMetadataUnion$outboundSchema, ListCustomersMetadataUnion$, CustomerSelf$inboundSchema, CustomerSelf$outboundSchema, CustomerSelf$, ListCustomersDashboard$inboundSchema, ListCustomersDashboard$outboundSchema, ListCustomersDashboard$, ListCustomersPayments$inboundSchema, ListCustomersPayments$outboundSchema, ListCustomersPayments$, ListCustomersMandates$inboundSchema, ListCustomersMandates$outboundSchema, ListCustomersMandates$, ListCustomersSubscriptions$inboundSchema, ListCustomersSubscriptions$outboundSchema, ListCustomersSubscriptions$, CustomerDocumentation$inboundSchema, CustomerDocumentation$outboundSchema, CustomerDocumentation$, CustomerLinks$inboundSchema, CustomerLinks$outboundSchema, CustomerLinks$, ListCustomersCustomer$inboundSchema, ListCustomersCustomer$outboundSchema, ListCustomersCustomer$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersSelf$inboundSchema, ListCustomersSelf$outboundSchema, ListCustomersSelf$, ListCustomersPrevious$inboundSchema, ListCustomersPrevious$outboundSchema, ListCustomersPrevious$, ListCustomersNext$inboundSchema, ListCustomersNext$outboundSchema, ListCustomersNext$, ListCustomersDocumentation$inboundSchema, ListCustomersDocumentation$outboundSchema, ListCustomersDocumentation$, ListCustomersLinks$inboundSchema, ListCustomersLinks$outboundSchema, ListCustomersLinks$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
74676
+ var ListCustomersSort, ListCustomersMode, ListCustomersLocale, ListCustomersSort$inboundSchema, ListCustomersSort$outboundSchema, ListCustomersSort$, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersNotFoundDocumentation$inboundSchema, ListCustomersNotFoundDocumentation$outboundSchema, ListCustomersNotFoundDocumentation$, ListCustomersNotFoundLinks$inboundSchema, ListCustomersNotFoundLinks$outboundSchema, ListCustomersNotFoundLinks$, ListCustomersBadRequestDocumentation$inboundSchema, ListCustomersBadRequestDocumentation$outboundSchema, ListCustomersBadRequestDocumentation$, ListCustomersBadRequestLinks$inboundSchema, ListCustomersBadRequestLinks$outboundSchema, ListCustomersBadRequestLinks$, ListCustomersMode$inboundSchema, ListCustomersMode$outboundSchema, ListCustomersMode$, ListCustomersLocale$inboundSchema, ListCustomersLocale$outboundSchema, ListCustomersLocale$, ListCustomersMetadata$inboundSchema, ListCustomersMetadata$outboundSchema, ListCustomersMetadata$, CustomerSelf$inboundSchema, CustomerSelf$outboundSchema, CustomerSelf$, ListCustomersDashboard$inboundSchema, ListCustomersDashboard$outboundSchema, ListCustomersDashboard$, ListCustomersPayments$inboundSchema, ListCustomersPayments$outboundSchema, ListCustomersPayments$, ListCustomersMandates$inboundSchema, ListCustomersMandates$outboundSchema, ListCustomersMandates$, ListCustomersSubscriptions$inboundSchema, ListCustomersSubscriptions$outboundSchema, ListCustomersSubscriptions$, CustomerDocumentation$inboundSchema, CustomerDocumentation$outboundSchema, CustomerDocumentation$, CustomerLinks$inboundSchema, CustomerLinks$outboundSchema, CustomerLinks$, ListCustomersCustomer$inboundSchema, ListCustomersCustomer$outboundSchema, ListCustomersCustomer$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersSelf$inboundSchema, ListCustomersSelf$outboundSchema, ListCustomersSelf$, ListCustomersPrevious$inboundSchema, ListCustomersPrevious$outboundSchema, ListCustomersPrevious$, ListCustomersNext$inboundSchema, ListCustomersNext$outboundSchema, ListCustomersNext$, ListCustomersDocumentation$inboundSchema, ListCustomersDocumentation$outboundSchema, ListCustomersDocumentation$, ListCustomersLinks$inboundSchema, ListCustomersLinks$outboundSchema, ListCustomersLinks$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
75205
74677
  var init_listcustomers = __esm(() => {
75206
74678
  init_esm();
75207
74679
  init_primitives();
@@ -75315,26 +74787,12 @@ var init_listcustomers = __esm(() => {
75315
74787
  ListCustomersLocale$.inboundSchema = ListCustomersLocale$inboundSchema;
75316
74788
  ListCustomersLocale$.outboundSchema = ListCustomersLocale$outboundSchema;
75317
74789
  })(ListCustomersLocale$ ||= {});
75318
- ListCustomersMetadata$inboundSchema = objectType({});
75319
- ListCustomersMetadata$outboundSchema = objectType({});
74790
+ ListCustomersMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
74791
+ ListCustomersMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
75320
74792
  ((ListCustomersMetadata$) => {
75321
74793
  ListCustomersMetadata$.inboundSchema = ListCustomersMetadata$inboundSchema;
75322
74794
  ListCustomersMetadata$.outboundSchema = ListCustomersMetadata$outboundSchema;
75323
74795
  })(ListCustomersMetadata$ ||= {});
75324
- ListCustomersMetadataUnion$inboundSchema = unionType([
75325
- lazyType(() => ListCustomersMetadata$inboundSchema),
75326
- stringType(),
75327
- arrayType(stringType())
75328
- ]);
75329
- ListCustomersMetadataUnion$outboundSchema = unionType([
75330
- lazyType(() => ListCustomersMetadata$outboundSchema),
75331
- stringType(),
75332
- arrayType(stringType())
75333
- ]);
75334
- ((ListCustomersMetadataUnion$) => {
75335
- ListCustomersMetadataUnion$.inboundSchema = ListCustomersMetadataUnion$inboundSchema;
75336
- ListCustomersMetadataUnion$.outboundSchema = ListCustomersMetadataUnion$outboundSchema;
75337
- })(ListCustomersMetadataUnion$ ||= {});
75338
74796
  CustomerSelf$inboundSchema = objectType({
75339
74797
  href: stringType(),
75340
74798
  type: stringType()
@@ -75434,11 +74892,7 @@ var init_listcustomers = __esm(() => {
75434
74892
  name: nullableType(stringType()),
75435
74893
  email: nullableType(stringType()),
75436
74894
  locale: nullableType(ListCustomersLocale$inboundSchema),
75437
- metadata: nullableType(unionType([
75438
- lazyType(() => ListCustomersMetadata$inboundSchema),
75439
- stringType(),
75440
- arrayType(stringType())
75441
- ])),
74895
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
75442
74896
  createdAt: stringType(),
75443
74897
  _links: lazyType(() => CustomerLinks$inboundSchema)
75444
74898
  }).transform((v2) => {
@@ -75453,11 +74907,7 @@ var init_listcustomers = __esm(() => {
75453
74907
  name: nullableType(stringType()),
75454
74908
  email: nullableType(stringType()),
75455
74909
  locale: nullableType(ListCustomersLocale$outboundSchema),
75456
- metadata: nullableType(unionType([
75457
- lazyType(() => ListCustomersMetadata$outboundSchema),
75458
- stringType(),
75459
- arrayType(stringType())
75460
- ])),
74910
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
75461
74911
  createdAt: stringType(),
75462
74912
  links: lazyType(() => CustomerLinks$outboundSchema)
75463
74913
  }).transform((v2) => {
@@ -77000,7 +76450,7 @@ var init_listpaymentlinks = __esm(() => {
77000
76450
  });
77001
76451
 
77002
76452
  // src/models/operations/listpayments.ts
77003
- var ListPaymentsSort, ListPaymentsMode, ListPaymentsLineType, ListPaymentsCategory, ListPaymentsInterval, ListPaymentsLocale, ListPaymentsMethod, ListPaymentsCaptureMode, ListPaymentsRoutingMode, ListPaymentsRoutingType, ListPaymentsSequenceType, ListPaymentsStatus, ListPaymentsSort$inboundSchema, ListPaymentsSort$outboundSchema, ListPaymentsSort$, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsBadRequestDocumentation$inboundSchema, ListPaymentsBadRequestDocumentation$outboundSchema, ListPaymentsBadRequestDocumentation$, ListPaymentsBadRequestLinks$inboundSchema, ListPaymentsBadRequestLinks$outboundSchema, ListPaymentsBadRequestLinks$, ListPaymentsMode$inboundSchema, ListPaymentsMode$outboundSchema, ListPaymentsMode$, ListPaymentsAmount$inboundSchema, ListPaymentsAmount$outboundSchema, ListPaymentsAmount$, ListPaymentsAmountRefunded$inboundSchema, ListPaymentsAmountRefunded$outboundSchema, ListPaymentsAmountRefunded$, ListPaymentsAmountRemaining$inboundSchema, ListPaymentsAmountRemaining$outboundSchema, ListPaymentsAmountRemaining$, ListPaymentsAmountCaptured$inboundSchema, ListPaymentsAmountCaptured$outboundSchema, ListPaymentsAmountCaptured$, ListPaymentsAmountChargedBack$inboundSchema, ListPaymentsAmountChargedBack$outboundSchema, ListPaymentsAmountChargedBack$, ListPaymentsSettlementAmount$inboundSchema, ListPaymentsSettlementAmount$outboundSchema, ListPaymentsSettlementAmount$, ListPaymentsLineType$inboundSchema, ListPaymentsLineType$outboundSchema, ListPaymentsLineType$, ListPaymentsUnitPrice$inboundSchema, ListPaymentsUnitPrice$outboundSchema, ListPaymentsUnitPrice$, ListPaymentsDiscountAmount$inboundSchema, ListPaymentsDiscountAmount$outboundSchema, ListPaymentsDiscountAmount$, ListPaymentsTotalAmount$inboundSchema, ListPaymentsTotalAmount$outboundSchema, ListPaymentsTotalAmount$, ListPaymentsVatAmount$inboundSchema, ListPaymentsVatAmount$outboundSchema, ListPaymentsVatAmount$, ListPaymentsCategory$inboundSchema, ListPaymentsCategory$outboundSchema, ListPaymentsCategory$, ListPaymentsInterval$inboundSchema, ListPaymentsInterval$outboundSchema, ListPaymentsInterval$, ListPaymentsRecurringAmount$inboundSchema, ListPaymentsRecurringAmount$outboundSchema, ListPaymentsRecurringAmount$, ListPaymentsRecurring$inboundSchema, ListPaymentsRecurring$outboundSchema, ListPaymentsRecurring$, ListPaymentsLine$inboundSchema, ListPaymentsLine$outboundSchema, ListPaymentsLine$, ListPaymentsBillingAddress$inboundSchema, ListPaymentsBillingAddress$outboundSchema, ListPaymentsBillingAddress$, ListPaymentsShippingAddress$inboundSchema, ListPaymentsShippingAddress$outboundSchema, ListPaymentsShippingAddress$, ListPaymentsLocale$inboundSchema, ListPaymentsLocale$outboundSchema, ListPaymentsLocale$, ListPaymentsMethod$inboundSchema, ListPaymentsMethod$outboundSchema, ListPaymentsMethod$, ListPaymentsMetadata$inboundSchema, ListPaymentsMetadata$outboundSchema, ListPaymentsMetadata$, ListPaymentsMetadataUnion$inboundSchema, ListPaymentsMetadataUnion$outboundSchema, ListPaymentsMetadataUnion$, ListPaymentsCaptureMode$inboundSchema, ListPaymentsCaptureMode$outboundSchema, ListPaymentsCaptureMode$, ListPaymentsApplicationFeeAmount$inboundSchema, ListPaymentsApplicationFeeAmount$outboundSchema, ListPaymentsApplicationFeeAmount$, ListPaymentsApplicationFee$inboundSchema, ListPaymentsApplicationFee$outboundSchema, ListPaymentsApplicationFee$, ListPaymentsRoutingMode$inboundSchema, ListPaymentsRoutingMode$outboundSchema, ListPaymentsRoutingMode$, ListPaymentsRoutingAmount$inboundSchema, ListPaymentsRoutingAmount$outboundSchema, ListPaymentsRoutingAmount$, ListPaymentsRoutingType$inboundSchema, ListPaymentsRoutingType$outboundSchema, ListPaymentsRoutingType$, ListPaymentsDestination$inboundSchema, ListPaymentsDestination$outboundSchema, ListPaymentsDestination$, ListPaymentsRoutingSelf$inboundSchema, ListPaymentsRoutingSelf$outboundSchema, ListPaymentsRoutingSelf$, ListPaymentsRoutingPayment$inboundSchema, ListPaymentsRoutingPayment$outboundSchema, ListPaymentsRoutingPayment$, ListPaymentsRoutingLinks$inboundSchema, ListPaymentsRoutingLinks$outboundSchema, ListPaymentsRoutingLinks$, ListPaymentsRouting$inboundSchema, ListPaymentsRouting$outboundSchema, ListPaymentsRouting$, ListPaymentsSequenceType$inboundSchema, ListPaymentsSequenceType$outboundSchema, ListPaymentsSequenceType$, ListPaymentsStatus$inboundSchema, ListPaymentsStatus$outboundSchema, ListPaymentsStatus$, ListPaymentsStatusReason$inboundSchema, ListPaymentsStatusReason$outboundSchema, ListPaymentsStatusReason$, ListPaymentsPaymentSelf$inboundSchema, ListPaymentsPaymentSelf$outboundSchema, ListPaymentsPaymentSelf$, ListPaymentsCheckout$inboundSchema, ListPaymentsCheckout$outboundSchema, ListPaymentsCheckout$, ListPaymentsMobileAppCheckout$inboundSchema, ListPaymentsMobileAppCheckout$outboundSchema, ListPaymentsMobileAppCheckout$, ListPaymentsChangePaymentState$inboundSchema, ListPaymentsChangePaymentState$outboundSchema, ListPaymentsChangePaymentState$, ListPaymentsDashboard$inboundSchema, ListPaymentsDashboard$outboundSchema, ListPaymentsDashboard$, ListPaymentsRefunds$inboundSchema, ListPaymentsRefunds$outboundSchema, ListPaymentsRefunds$, ListPaymentsChargebacks$inboundSchema, ListPaymentsChargebacks$outboundSchema, ListPaymentsChargebacks$, ListPaymentsCaptures$inboundSchema, ListPaymentsCaptures$outboundSchema, ListPaymentsCaptures$, ListPaymentsSettlement$inboundSchema, ListPaymentsSettlement$outboundSchema, ListPaymentsSettlement$, ListPaymentsCustomer$inboundSchema, ListPaymentsCustomer$outboundSchema, ListPaymentsCustomer$, ListPaymentsMandate$inboundSchema, ListPaymentsMandate$outboundSchema, ListPaymentsMandate$, ListPaymentsSubscription$inboundSchema, ListPaymentsSubscription$outboundSchema, ListPaymentsSubscription$, ListPaymentsOrder$inboundSchema, ListPaymentsOrder$outboundSchema, ListPaymentsOrder$, ListPaymentsTerminal$inboundSchema, ListPaymentsTerminal$outboundSchema, ListPaymentsTerminal$, ListPaymentsPaymentDocumentation$inboundSchema, ListPaymentsPaymentDocumentation$outboundSchema, ListPaymentsPaymentDocumentation$, ListPaymentsPaymentLinks$inboundSchema, ListPaymentsPaymentLinks$outboundSchema, ListPaymentsPaymentLinks$, ListPaymentsPaymentOutput$inboundSchema, ListPaymentsPaymentOutput$outboundSchema, ListPaymentsPaymentOutput$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsSelf$inboundSchema, ListPaymentsSelf$outboundSchema, ListPaymentsSelf$, ListPaymentsPrevious$inboundSchema, ListPaymentsPrevious$outboundSchema, ListPaymentsPrevious$, ListPaymentsNext$inboundSchema, ListPaymentsNext$outboundSchema, ListPaymentsNext$, ListPaymentsDocumentation$inboundSchema, ListPaymentsDocumentation$outboundSchema, ListPaymentsDocumentation$, ListPaymentsLinks$inboundSchema, ListPaymentsLinks$outboundSchema, ListPaymentsLinks$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
76453
+ var ListPaymentsSort, ListPaymentsMode, ListPaymentsLineType, ListPaymentsCategory, ListPaymentsInterval, ListPaymentsLocale, ListPaymentsMethod, ListPaymentsCaptureMode, ListPaymentsRoutingMode, ListPaymentsRoutingType, ListPaymentsSequenceType, ListPaymentsStatus, ListPaymentsSort$inboundSchema, ListPaymentsSort$outboundSchema, ListPaymentsSort$, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsBadRequestDocumentation$inboundSchema, ListPaymentsBadRequestDocumentation$outboundSchema, ListPaymentsBadRequestDocumentation$, ListPaymentsBadRequestLinks$inboundSchema, ListPaymentsBadRequestLinks$outboundSchema, ListPaymentsBadRequestLinks$, ListPaymentsMode$inboundSchema, ListPaymentsMode$outboundSchema, ListPaymentsMode$, ListPaymentsAmount$inboundSchema, ListPaymentsAmount$outboundSchema, ListPaymentsAmount$, ListPaymentsAmountRefunded$inboundSchema, ListPaymentsAmountRefunded$outboundSchema, ListPaymentsAmountRefunded$, ListPaymentsAmountRemaining$inboundSchema, ListPaymentsAmountRemaining$outboundSchema, ListPaymentsAmountRemaining$, ListPaymentsAmountCaptured$inboundSchema, ListPaymentsAmountCaptured$outboundSchema, ListPaymentsAmountCaptured$, ListPaymentsAmountChargedBack$inboundSchema, ListPaymentsAmountChargedBack$outboundSchema, ListPaymentsAmountChargedBack$, ListPaymentsSettlementAmount$inboundSchema, ListPaymentsSettlementAmount$outboundSchema, ListPaymentsSettlementAmount$, ListPaymentsLineType$inboundSchema, ListPaymentsLineType$outboundSchema, ListPaymentsLineType$, ListPaymentsUnitPrice$inboundSchema, ListPaymentsUnitPrice$outboundSchema, ListPaymentsUnitPrice$, ListPaymentsDiscountAmount$inboundSchema, ListPaymentsDiscountAmount$outboundSchema, ListPaymentsDiscountAmount$, ListPaymentsTotalAmount$inboundSchema, ListPaymentsTotalAmount$outboundSchema, ListPaymentsTotalAmount$, ListPaymentsVatAmount$inboundSchema, ListPaymentsVatAmount$outboundSchema, ListPaymentsVatAmount$, ListPaymentsCategory$inboundSchema, ListPaymentsCategory$outboundSchema, ListPaymentsCategory$, ListPaymentsInterval$inboundSchema, ListPaymentsInterval$outboundSchema, ListPaymentsInterval$, ListPaymentsRecurringAmount$inboundSchema, ListPaymentsRecurringAmount$outboundSchema, ListPaymentsRecurringAmount$, ListPaymentsRecurring$inboundSchema, ListPaymentsRecurring$outboundSchema, ListPaymentsRecurring$, ListPaymentsLine$inboundSchema, ListPaymentsLine$outboundSchema, ListPaymentsLine$, ListPaymentsBillingAddress$inboundSchema, ListPaymentsBillingAddress$outboundSchema, ListPaymentsBillingAddress$, ListPaymentsShippingAddress$inboundSchema, ListPaymentsShippingAddress$outboundSchema, ListPaymentsShippingAddress$, ListPaymentsLocale$inboundSchema, ListPaymentsLocale$outboundSchema, ListPaymentsLocale$, ListPaymentsMethod$inboundSchema, ListPaymentsMethod$outboundSchema, ListPaymentsMethod$, ListPaymentsMetadata$inboundSchema, ListPaymentsMetadata$outboundSchema, ListPaymentsMetadata$, ListPaymentsCaptureMode$inboundSchema, ListPaymentsCaptureMode$outboundSchema, ListPaymentsCaptureMode$, ListPaymentsApplicationFeeAmount$inboundSchema, ListPaymentsApplicationFeeAmount$outboundSchema, ListPaymentsApplicationFeeAmount$, ListPaymentsApplicationFee$inboundSchema, ListPaymentsApplicationFee$outboundSchema, ListPaymentsApplicationFee$, ListPaymentsRoutingMode$inboundSchema, ListPaymentsRoutingMode$outboundSchema, ListPaymentsRoutingMode$, ListPaymentsRoutingAmount$inboundSchema, ListPaymentsRoutingAmount$outboundSchema, ListPaymentsRoutingAmount$, ListPaymentsRoutingType$inboundSchema, ListPaymentsRoutingType$outboundSchema, ListPaymentsRoutingType$, ListPaymentsDestination$inboundSchema, ListPaymentsDestination$outboundSchema, ListPaymentsDestination$, ListPaymentsRoutingSelf$inboundSchema, ListPaymentsRoutingSelf$outboundSchema, ListPaymentsRoutingSelf$, ListPaymentsRoutingPayment$inboundSchema, ListPaymentsRoutingPayment$outboundSchema, ListPaymentsRoutingPayment$, ListPaymentsRoutingLinks$inboundSchema, ListPaymentsRoutingLinks$outboundSchema, ListPaymentsRoutingLinks$, ListPaymentsRouting$inboundSchema, ListPaymentsRouting$outboundSchema, ListPaymentsRouting$, ListPaymentsSequenceType$inboundSchema, ListPaymentsSequenceType$outboundSchema, ListPaymentsSequenceType$, ListPaymentsStatus$inboundSchema, ListPaymentsStatus$outboundSchema, ListPaymentsStatus$, ListPaymentsStatusReason$inboundSchema, ListPaymentsStatusReason$outboundSchema, ListPaymentsStatusReason$, ListPaymentsPaymentSelf$inboundSchema, ListPaymentsPaymentSelf$outboundSchema, ListPaymentsPaymentSelf$, ListPaymentsCheckout$inboundSchema, ListPaymentsCheckout$outboundSchema, ListPaymentsCheckout$, ListPaymentsMobileAppCheckout$inboundSchema, ListPaymentsMobileAppCheckout$outboundSchema, ListPaymentsMobileAppCheckout$, ListPaymentsChangePaymentState$inboundSchema, ListPaymentsChangePaymentState$outboundSchema, ListPaymentsChangePaymentState$, ListPaymentsDashboard$inboundSchema, ListPaymentsDashboard$outboundSchema, ListPaymentsDashboard$, ListPaymentsRefunds$inboundSchema, ListPaymentsRefunds$outboundSchema, ListPaymentsRefunds$, ListPaymentsChargebacks$inboundSchema, ListPaymentsChargebacks$outboundSchema, ListPaymentsChargebacks$, ListPaymentsCaptures$inboundSchema, ListPaymentsCaptures$outboundSchema, ListPaymentsCaptures$, ListPaymentsSettlement$inboundSchema, ListPaymentsSettlement$outboundSchema, ListPaymentsSettlement$, ListPaymentsCustomer$inboundSchema, ListPaymentsCustomer$outboundSchema, ListPaymentsCustomer$, ListPaymentsMandate$inboundSchema, ListPaymentsMandate$outboundSchema, ListPaymentsMandate$, ListPaymentsSubscription$inboundSchema, ListPaymentsSubscription$outboundSchema, ListPaymentsSubscription$, ListPaymentsOrder$inboundSchema, ListPaymentsOrder$outboundSchema, ListPaymentsOrder$, ListPaymentsTerminal$inboundSchema, ListPaymentsTerminal$outboundSchema, ListPaymentsTerminal$, ListPaymentsPaymentDocumentation$inboundSchema, ListPaymentsPaymentDocumentation$outboundSchema, ListPaymentsPaymentDocumentation$, ListPaymentsPaymentLinks$inboundSchema, ListPaymentsPaymentLinks$outboundSchema, ListPaymentsPaymentLinks$, ListPaymentsPaymentOutput$inboundSchema, ListPaymentsPaymentOutput$outboundSchema, ListPaymentsPaymentOutput$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsSelf$inboundSchema, ListPaymentsSelf$outboundSchema, ListPaymentsSelf$, ListPaymentsPrevious$inboundSchema, ListPaymentsPrevious$outboundSchema, ListPaymentsPrevious$, ListPaymentsNext$inboundSchema, ListPaymentsNext$outboundSchema, ListPaymentsNext$, ListPaymentsDocumentation$inboundSchema, ListPaymentsDocumentation$outboundSchema, ListPaymentsDocumentation$, ListPaymentsLinks$inboundSchema, ListPaymentsLinks$outboundSchema, ListPaymentsLinks$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
77004
76454
  var init_listpayments = __esm(() => {
77005
76455
  init_esm();
77006
76456
  init_primitives();
@@ -77452,26 +76902,12 @@ var init_listpayments = __esm(() => {
77452
76902
  ListPaymentsMethod$.inboundSchema = ListPaymentsMethod$inboundSchema;
77453
76903
  ListPaymentsMethod$.outboundSchema = ListPaymentsMethod$outboundSchema;
77454
76904
  })(ListPaymentsMethod$ ||= {});
77455
- ListPaymentsMetadata$inboundSchema = objectType({});
77456
- ListPaymentsMetadata$outboundSchema = objectType({});
76905
+ ListPaymentsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
76906
+ ListPaymentsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
77457
76907
  ((ListPaymentsMetadata$) => {
77458
76908
  ListPaymentsMetadata$.inboundSchema = ListPaymentsMetadata$inboundSchema;
77459
76909
  ListPaymentsMetadata$.outboundSchema = ListPaymentsMetadata$outboundSchema;
77460
76910
  })(ListPaymentsMetadata$ ||= {});
77461
- ListPaymentsMetadataUnion$inboundSchema = unionType([
77462
- lazyType(() => ListPaymentsMetadata$inboundSchema),
77463
- stringType(),
77464
- arrayType(stringType())
77465
- ]);
77466
- ListPaymentsMetadataUnion$outboundSchema = unionType([
77467
- lazyType(() => ListPaymentsMetadata$outboundSchema),
77468
- stringType(),
77469
- arrayType(stringType())
77470
- ]);
77471
- ((ListPaymentsMetadataUnion$) => {
77472
- ListPaymentsMetadataUnion$.inboundSchema = ListPaymentsMetadataUnion$inboundSchema;
77473
- ListPaymentsMetadataUnion$.outboundSchema = ListPaymentsMetadataUnion$outboundSchema;
77474
- })(ListPaymentsMetadataUnion$ ||= {});
77475
76911
  ListPaymentsCaptureMode$inboundSchema = nativeEnumType(ListPaymentsCaptureMode);
77476
76912
  ListPaymentsCaptureMode$outboundSchema = ListPaymentsCaptureMode$inboundSchema;
77477
76913
  ((ListPaymentsCaptureMode$) => {
@@ -77869,11 +77305,7 @@ var init_listpayments = __esm(() => {
77869
77305
  countryCode: nullableType(stringType()).optional(),
77870
77306
  method: nullableType(ListPaymentsMethod$inboundSchema).optional(),
77871
77307
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
77872
- metadata: nullableType(unionType([
77873
- lazyType(() => ListPaymentsMetadata$inboundSchema),
77874
- stringType(),
77875
- arrayType(stringType())
77876
- ])).optional(),
77308
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
77877
77309
  captureMode: nullableType(ListPaymentsCaptureMode$inboundSchema).optional(),
77878
77310
  captureDelay: nullableType(stringType()).optional(),
77879
77311
  captureBefore: nullableType(stringType()).optional(),
@@ -77924,11 +77356,7 @@ var init_listpayments = __esm(() => {
77924
77356
  countryCode: nullableType(stringType()).optional(),
77925
77357
  method: nullableType(ListPaymentsMethod$outboundSchema).optional(),
77926
77358
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
77927
- metadata: nullableType(unionType([
77928
- lazyType(() => ListPaymentsMetadata$outboundSchema),
77929
- stringType(),
77930
- arrayType(stringType())
77931
- ])).optional(),
77359
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
77932
77360
  captureMode: nullableType(ListPaymentsCaptureMode$outboundSchema).optional(),
77933
77361
  captureDelay: nullableType(stringType()).optional(),
77934
77362
  captureBefore: nullableType(stringType()).optional(),
@@ -78568,7 +77996,7 @@ var init_listprofiles = __esm(() => {
78568
77996
  });
78569
77997
 
78570
77998
  // src/models/operations/listrefunds.ts
78571
- var ListRefundsEmbed, ListRefundsMode, ListRefundsStatus, ListRefundsType, ListRefundsEmbed$inboundSchema, ListRefundsEmbed$outboundSchema, ListRefundsEmbed$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsNotFoundDocumentation$inboundSchema, ListRefundsNotFoundDocumentation$outboundSchema, ListRefundsNotFoundDocumentation$, ListRefundsNotFoundLinks$inboundSchema, ListRefundsNotFoundLinks$outboundSchema, ListRefundsNotFoundLinks$, ListRefundsBadRequestDocumentation$inboundSchema, ListRefundsBadRequestDocumentation$outboundSchema, ListRefundsBadRequestDocumentation$, ListRefundsBadRequestLinks$inboundSchema, ListRefundsBadRequestLinks$outboundSchema, ListRefundsBadRequestLinks$, ListRefundsMode$inboundSchema, ListRefundsMode$outboundSchema, ListRefundsMode$, ListRefundsAmount$inboundSchema, ListRefundsAmount$outboundSchema, ListRefundsAmount$, ListRefundsSettlementAmount$inboundSchema, ListRefundsSettlementAmount$outboundSchema, ListRefundsSettlementAmount$, ListRefundsMetadata$inboundSchema, ListRefundsMetadata$outboundSchema, ListRefundsMetadata$, ListRefundsMetadataUnion$inboundSchema, ListRefundsMetadataUnion$outboundSchema, ListRefundsMetadataUnion$, ListRefundsStatus$inboundSchema, ListRefundsStatus$outboundSchema, ListRefundsStatus$, ListRefundsType$inboundSchema, ListRefundsType$outboundSchema, ListRefundsType$, ListRefundsExternalReference$inboundSchema, ListRefundsExternalReference$outboundSchema, ListRefundsExternalReference$, ListRefundsRoutingReversalAmount$inboundSchema, ListRefundsRoutingReversalAmount$outboundSchema, ListRefundsRoutingReversalAmount$, ListRefundsSource$inboundSchema, ListRefundsSource$outboundSchema, ListRefundsSource$, ListRefundsRoutingReversal$inboundSchema, ListRefundsRoutingReversal$outboundSchema, ListRefundsRoutingReversal$, ListRefundsRefundSelf$inboundSchema, ListRefundsRefundSelf$outboundSchema, ListRefundsRefundSelf$, ListRefundsPayment$inboundSchema, ListRefundsPayment$outboundSchema, ListRefundsPayment$, ListRefundsSettlement$inboundSchema, ListRefundsSettlement$outboundSchema, ListRefundsSettlement$, ListRefundsRefundDocumentation$inboundSchema, ListRefundsRefundDocumentation$outboundSchema, ListRefundsRefundDocumentation$, ListRefundsRefundLinks$inboundSchema, ListRefundsRefundLinks$outboundSchema, ListRefundsRefundLinks$, ListRefundsRefund$inboundSchema, ListRefundsRefund$outboundSchema, ListRefundsRefund$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsSelf$inboundSchema, ListRefundsSelf$outboundSchema, ListRefundsSelf$, ListRefundsPrevious$inboundSchema, ListRefundsPrevious$outboundSchema, ListRefundsPrevious$, ListRefundsNext$inboundSchema, ListRefundsNext$outboundSchema, ListRefundsNext$, ListRefundsDocumentation$inboundSchema, ListRefundsDocumentation$outboundSchema, ListRefundsDocumentation$, ListRefundsLinks$inboundSchema, ListRefundsLinks$outboundSchema, ListRefundsLinks$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
77999
+ var ListRefundsEmbed, ListRefundsMode, ListRefundsStatus, ListRefundsType, ListRefundsEmbed$inboundSchema, ListRefundsEmbed$outboundSchema, ListRefundsEmbed$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsNotFoundDocumentation$inboundSchema, ListRefundsNotFoundDocumentation$outboundSchema, ListRefundsNotFoundDocumentation$, ListRefundsNotFoundLinks$inboundSchema, ListRefundsNotFoundLinks$outboundSchema, ListRefundsNotFoundLinks$, ListRefundsBadRequestDocumentation$inboundSchema, ListRefundsBadRequestDocumentation$outboundSchema, ListRefundsBadRequestDocumentation$, ListRefundsBadRequestLinks$inboundSchema, ListRefundsBadRequestLinks$outboundSchema, ListRefundsBadRequestLinks$, ListRefundsMode$inboundSchema, ListRefundsMode$outboundSchema, ListRefundsMode$, ListRefundsAmount$inboundSchema, ListRefundsAmount$outboundSchema, ListRefundsAmount$, ListRefundsSettlementAmount$inboundSchema, ListRefundsSettlementAmount$outboundSchema, ListRefundsSettlementAmount$, ListRefundsMetadata$inboundSchema, ListRefundsMetadata$outboundSchema, ListRefundsMetadata$, ListRefundsStatus$inboundSchema, ListRefundsStatus$outboundSchema, ListRefundsStatus$, ListRefundsType$inboundSchema, ListRefundsType$outboundSchema, ListRefundsType$, ListRefundsExternalReference$inboundSchema, ListRefundsExternalReference$outboundSchema, ListRefundsExternalReference$, ListRefundsRoutingReversalAmount$inboundSchema, ListRefundsRoutingReversalAmount$outboundSchema, ListRefundsRoutingReversalAmount$, ListRefundsSource$inboundSchema, ListRefundsSource$outboundSchema, ListRefundsSource$, ListRefundsRoutingReversal$inboundSchema, ListRefundsRoutingReversal$outboundSchema, ListRefundsRoutingReversal$, ListRefundsRefundSelf$inboundSchema, ListRefundsRefundSelf$outboundSchema, ListRefundsRefundSelf$, ListRefundsPayment$inboundSchema, ListRefundsPayment$outboundSchema, ListRefundsPayment$, ListRefundsSettlement$inboundSchema, ListRefundsSettlement$outboundSchema, ListRefundsSettlement$, ListRefundsRefundDocumentation$inboundSchema, ListRefundsRefundDocumentation$outboundSchema, ListRefundsRefundDocumentation$, ListRefundsRefundLinks$inboundSchema, ListRefundsRefundLinks$outboundSchema, ListRefundsRefundLinks$, ListRefundsRefund$inboundSchema, ListRefundsRefund$outboundSchema, ListRefundsRefund$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsSelf$inboundSchema, ListRefundsSelf$outboundSchema, ListRefundsSelf$, ListRefundsPrevious$inboundSchema, ListRefundsPrevious$outboundSchema, ListRefundsPrevious$, ListRefundsNext$inboundSchema, ListRefundsNext$outboundSchema, ListRefundsNext$, ListRefundsDocumentation$inboundSchema, ListRefundsDocumentation$outboundSchema, ListRefundsDocumentation$, ListRefundsLinks$inboundSchema, ListRefundsLinks$outboundSchema, ListRefundsLinks$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
78572
78000
  var init_listrefunds = __esm(() => {
78573
78001
  init_esm();
78574
78002
  init_primitives();
@@ -78688,26 +78116,12 @@ var init_listrefunds = __esm(() => {
78688
78116
  ListRefundsSettlementAmount$.inboundSchema = ListRefundsSettlementAmount$inboundSchema;
78689
78117
  ListRefundsSettlementAmount$.outboundSchema = ListRefundsSettlementAmount$outboundSchema;
78690
78118
  })(ListRefundsSettlementAmount$ ||= {});
78691
- ListRefundsMetadata$inboundSchema = objectType({});
78692
- ListRefundsMetadata$outboundSchema = objectType({});
78119
+ ListRefundsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
78120
+ ListRefundsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
78693
78121
  ((ListRefundsMetadata$) => {
78694
78122
  ListRefundsMetadata$.inboundSchema = ListRefundsMetadata$inboundSchema;
78695
78123
  ListRefundsMetadata$.outboundSchema = ListRefundsMetadata$outboundSchema;
78696
78124
  })(ListRefundsMetadata$ ||= {});
78697
- ListRefundsMetadataUnion$inboundSchema = unionType([
78698
- lazyType(() => ListRefundsMetadata$inboundSchema),
78699
- stringType(),
78700
- arrayType(stringType())
78701
- ]);
78702
- ListRefundsMetadataUnion$outboundSchema = unionType([
78703
- lazyType(() => ListRefundsMetadata$outboundSchema),
78704
- stringType(),
78705
- arrayType(stringType())
78706
- ]);
78707
- ((ListRefundsMetadataUnion$) => {
78708
- ListRefundsMetadataUnion$.inboundSchema = ListRefundsMetadataUnion$inboundSchema;
78709
- ListRefundsMetadataUnion$.outboundSchema = ListRefundsMetadataUnion$outboundSchema;
78710
- })(ListRefundsMetadataUnion$ ||= {});
78711
78125
  ListRefundsStatus$inboundSchema = nativeEnumType(ListRefundsStatus);
78712
78126
  ListRefundsStatus$outboundSchema = ListRefundsStatus$inboundSchema;
78713
78127
  ((ListRefundsStatus$) => {
@@ -78837,11 +78251,7 @@ var init_listrefunds = __esm(() => {
78837
78251
  description: stringType().optional(),
78838
78252
  amount: lazyType(() => ListRefundsAmount$inboundSchema).optional(),
78839
78253
  settlementAmount: nullableType(lazyType(() => ListRefundsSettlementAmount$inboundSchema)).optional(),
78840
- metadata: nullableType(unionType([
78841
- lazyType(() => ListRefundsMetadata$inboundSchema),
78842
- stringType(),
78843
- arrayType(stringType())
78844
- ])).optional(),
78254
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
78845
78255
  paymentId: stringType().optional(),
78846
78256
  settlementId: nullableType(stringType()).optional(),
78847
78257
  status: ListRefundsStatus$inboundSchema.optional(),
@@ -78861,11 +78271,7 @@ var init_listrefunds = __esm(() => {
78861
78271
  description: stringType().optional(),
78862
78272
  amount: lazyType(() => ListRefundsAmount$outboundSchema).optional(),
78863
78273
  settlementAmount: nullableType(lazyType(() => ListRefundsSettlementAmount$outboundSchema)).optional(),
78864
- metadata: nullableType(unionType([
78865
- lazyType(() => ListRefundsMetadata$outboundSchema),
78866
- stringType(),
78867
- arrayType(stringType())
78868
- ])).optional(),
78274
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
78869
78275
  paymentId: stringType().optional(),
78870
78276
  settlementId: nullableType(stringType()).optional(),
78871
78277
  status: ListRefundsStatus$outboundSchema.optional(),
@@ -79554,7 +78960,7 @@ var init_listsalesinvoices = __esm(() => {
79554
78960
  });
79555
78961
 
79556
78962
  // src/models/operations/listsettlementcaptures.ts
79557
- var ListSettlementCapturesEmbed, ListSettlementCapturesMode, ListSettlementCapturesStatus, ListSettlementCapturesEmbed$inboundSchema, ListSettlementCapturesEmbed$outboundSchema, ListSettlementCapturesEmbed$, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesNotFoundDocumentation$inboundSchema, ListSettlementCapturesNotFoundDocumentation$outboundSchema, ListSettlementCapturesNotFoundDocumentation$, ListSettlementCapturesNotFoundLinks$inboundSchema, ListSettlementCapturesNotFoundLinks$outboundSchema, ListSettlementCapturesNotFoundLinks$, ListSettlementCapturesBadRequestDocumentation$inboundSchema, ListSettlementCapturesBadRequestDocumentation$outboundSchema, ListSettlementCapturesBadRequestDocumentation$, ListSettlementCapturesBadRequestLinks$inboundSchema, ListSettlementCapturesBadRequestLinks$outboundSchema, ListSettlementCapturesBadRequestLinks$, ListSettlementCapturesMode$inboundSchema, ListSettlementCapturesMode$outboundSchema, ListSettlementCapturesMode$, ListSettlementCapturesAmount$inboundSchema, ListSettlementCapturesAmount$outboundSchema, ListSettlementCapturesAmount$, ListSettlementCapturesSettlementAmount$inboundSchema, ListSettlementCapturesSettlementAmount$outboundSchema, ListSettlementCapturesSettlementAmount$, ListSettlementCapturesStatus$inboundSchema, ListSettlementCapturesStatus$outboundSchema, ListSettlementCapturesStatus$, ListSettlementCapturesMetadata$inboundSchema, ListSettlementCapturesMetadata$outboundSchema, ListSettlementCapturesMetadata$, ListSettlementCapturesMetadataUnion$inboundSchema, ListSettlementCapturesMetadataUnion$outboundSchema, ListSettlementCapturesMetadataUnion$, ListSettlementCapturesCaptureSelf$inboundSchema, ListSettlementCapturesCaptureSelf$outboundSchema, ListSettlementCapturesCaptureSelf$, ListSettlementCapturesPayment$inboundSchema, ListSettlementCapturesPayment$outboundSchema, ListSettlementCapturesPayment$, ListSettlementCapturesSettlement$inboundSchema, ListSettlementCapturesSettlement$outboundSchema, ListSettlementCapturesSettlement$, ListSettlementCapturesShipment$inboundSchema, ListSettlementCapturesShipment$outboundSchema, ListSettlementCapturesShipment$, ListSettlementCapturesCaptureDocumentation$inboundSchema, ListSettlementCapturesCaptureDocumentation$outboundSchema, ListSettlementCapturesCaptureDocumentation$, ListSettlementCapturesCaptureLinks$inboundSchema, ListSettlementCapturesCaptureLinks$outboundSchema, ListSettlementCapturesCaptureLinks$, ListSettlementCapturesCapture$inboundSchema, ListSettlementCapturesCapture$outboundSchema, ListSettlementCapturesCapture$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesSelf$inboundSchema, ListSettlementCapturesSelf$outboundSchema, ListSettlementCapturesSelf$, ListSettlementCapturesPrevious$inboundSchema, ListSettlementCapturesPrevious$outboundSchema, ListSettlementCapturesPrevious$, ListSettlementCapturesNext$inboundSchema, ListSettlementCapturesNext$outboundSchema, ListSettlementCapturesNext$, ListSettlementCapturesDocumentation$inboundSchema, ListSettlementCapturesDocumentation$outboundSchema, ListSettlementCapturesDocumentation$, ListSettlementCapturesLinks$inboundSchema, ListSettlementCapturesLinks$outboundSchema, ListSettlementCapturesLinks$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
78963
+ var ListSettlementCapturesEmbed, ListSettlementCapturesMode, ListSettlementCapturesStatus, ListSettlementCapturesEmbed$inboundSchema, ListSettlementCapturesEmbed$outboundSchema, ListSettlementCapturesEmbed$, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesNotFoundDocumentation$inboundSchema, ListSettlementCapturesNotFoundDocumentation$outboundSchema, ListSettlementCapturesNotFoundDocumentation$, ListSettlementCapturesNotFoundLinks$inboundSchema, ListSettlementCapturesNotFoundLinks$outboundSchema, ListSettlementCapturesNotFoundLinks$, ListSettlementCapturesBadRequestDocumentation$inboundSchema, ListSettlementCapturesBadRequestDocumentation$outboundSchema, ListSettlementCapturesBadRequestDocumentation$, ListSettlementCapturesBadRequestLinks$inboundSchema, ListSettlementCapturesBadRequestLinks$outboundSchema, ListSettlementCapturesBadRequestLinks$, ListSettlementCapturesMode$inboundSchema, ListSettlementCapturesMode$outboundSchema, ListSettlementCapturesMode$, ListSettlementCapturesAmount$inboundSchema, ListSettlementCapturesAmount$outboundSchema, ListSettlementCapturesAmount$, ListSettlementCapturesSettlementAmount$inboundSchema, ListSettlementCapturesSettlementAmount$outboundSchema, ListSettlementCapturesSettlementAmount$, ListSettlementCapturesStatus$inboundSchema, ListSettlementCapturesStatus$outboundSchema, ListSettlementCapturesStatus$, ListSettlementCapturesMetadata$inboundSchema, ListSettlementCapturesMetadata$outboundSchema, ListSettlementCapturesMetadata$, ListSettlementCapturesCaptureSelf$inboundSchema, ListSettlementCapturesCaptureSelf$outboundSchema, ListSettlementCapturesCaptureSelf$, ListSettlementCapturesPayment$inboundSchema, ListSettlementCapturesPayment$outboundSchema, ListSettlementCapturesPayment$, ListSettlementCapturesSettlement$inboundSchema, ListSettlementCapturesSettlement$outboundSchema, ListSettlementCapturesSettlement$, ListSettlementCapturesShipment$inboundSchema, ListSettlementCapturesShipment$outboundSchema, ListSettlementCapturesShipment$, ListSettlementCapturesCaptureDocumentation$inboundSchema, ListSettlementCapturesCaptureDocumentation$outboundSchema, ListSettlementCapturesCaptureDocumentation$, ListSettlementCapturesCaptureLinks$inboundSchema, ListSettlementCapturesCaptureLinks$outboundSchema, ListSettlementCapturesCaptureLinks$, ListSettlementCapturesCapture$inboundSchema, ListSettlementCapturesCapture$outboundSchema, ListSettlementCapturesCapture$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesSelf$inboundSchema, ListSettlementCapturesSelf$outboundSchema, ListSettlementCapturesSelf$, ListSettlementCapturesPrevious$inboundSchema, ListSettlementCapturesPrevious$outboundSchema, ListSettlementCapturesPrevious$, ListSettlementCapturesNext$inboundSchema, ListSettlementCapturesNext$outboundSchema, ListSettlementCapturesNext$, ListSettlementCapturesDocumentation$inboundSchema, ListSettlementCapturesDocumentation$outboundSchema, ListSettlementCapturesDocumentation$, ListSettlementCapturesLinks$inboundSchema, ListSettlementCapturesLinks$outboundSchema, ListSettlementCapturesLinks$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
79558
78964
  var init_listsettlementcaptures = __esm(() => {
79559
78965
  init_esm();
79560
78966
  init_primitives();
@@ -79674,26 +79080,12 @@ var init_listsettlementcaptures = __esm(() => {
79674
79080
  ListSettlementCapturesStatus$.inboundSchema = ListSettlementCapturesStatus$inboundSchema;
79675
79081
  ListSettlementCapturesStatus$.outboundSchema = ListSettlementCapturesStatus$outboundSchema;
79676
79082
  })(ListSettlementCapturesStatus$ ||= {});
79677
- ListSettlementCapturesMetadata$inboundSchema = objectType({});
79678
- ListSettlementCapturesMetadata$outboundSchema = objectType({});
79083
+ ListSettlementCapturesMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
79084
+ ListSettlementCapturesMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
79679
79085
  ((ListSettlementCapturesMetadata$) => {
79680
79086
  ListSettlementCapturesMetadata$.inboundSchema = ListSettlementCapturesMetadata$inboundSchema;
79681
79087
  ListSettlementCapturesMetadata$.outboundSchema = ListSettlementCapturesMetadata$outboundSchema;
79682
79088
  })(ListSettlementCapturesMetadata$ ||= {});
79683
- ListSettlementCapturesMetadataUnion$inboundSchema = unionType([
79684
- lazyType(() => ListSettlementCapturesMetadata$inboundSchema),
79685
- stringType(),
79686
- arrayType(stringType())
79687
- ]);
79688
- ListSettlementCapturesMetadataUnion$outboundSchema = unionType([
79689
- lazyType(() => ListSettlementCapturesMetadata$outboundSchema),
79690
- stringType(),
79691
- arrayType(stringType())
79692
- ]);
79693
- ((ListSettlementCapturesMetadataUnion$) => {
79694
- ListSettlementCapturesMetadataUnion$.inboundSchema = ListSettlementCapturesMetadataUnion$inboundSchema;
79695
- ListSettlementCapturesMetadataUnion$.outboundSchema = ListSettlementCapturesMetadataUnion$outboundSchema;
79696
- })(ListSettlementCapturesMetadataUnion$ ||= {});
79697
79089
  ListSettlementCapturesCaptureSelf$inboundSchema = objectType({
79698
79090
  href: stringType(),
79699
79091
  type: stringType()
@@ -79780,11 +79172,7 @@ var init_listsettlementcaptures = __esm(() => {
79780
79172
  amount: nullableType(lazyType(() => ListSettlementCapturesAmount$inboundSchema)),
79781
79173
  settlementAmount: nullableType(lazyType(() => ListSettlementCapturesSettlementAmount$inboundSchema)).optional(),
79782
79174
  status: ListSettlementCapturesStatus$inboundSchema,
79783
- metadata: nullableType(unionType([
79784
- lazyType(() => ListSettlementCapturesMetadata$inboundSchema),
79785
- stringType(),
79786
- arrayType(stringType())
79787
- ])).optional(),
79175
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
79788
79176
  paymentId: stringType(),
79789
79177
  shipmentId: nullableType(stringType()).optional(),
79790
79178
  settlementId: nullableType(stringType()).optional(),
@@ -79803,11 +79191,7 @@ var init_listsettlementcaptures = __esm(() => {
79803
79191
  amount: nullableType(lazyType(() => ListSettlementCapturesAmount$outboundSchema)),
79804
79192
  settlementAmount: nullableType(lazyType(() => ListSettlementCapturesSettlementAmount$outboundSchema)).optional(),
79805
79193
  status: ListSettlementCapturesStatus$outboundSchema,
79806
- metadata: nullableType(unionType([
79807
- lazyType(() => ListSettlementCapturesMetadata$outboundSchema),
79808
- stringType(),
79809
- arrayType(stringType())
79810
- ])).optional(),
79194
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
79811
79195
  paymentId: stringType(),
79812
79196
  shipmentId: nullableType(stringType()).optional(),
79813
79197
  settlementId: nullableType(stringType()).optional(),
@@ -80235,7 +79619,7 @@ var init_listsettlementchargebacks = __esm(() => {
80235
79619
  });
80236
79620
 
80237
79621
  // src/models/operations/listsettlementpayments.ts
80238
- var ListSettlementPaymentsSort, ListSettlementPaymentsMode, ListSettlementPaymentsLineType, ListSettlementPaymentsCategory, ListSettlementPaymentsInterval, ListSettlementPaymentsLocale, ListSettlementPaymentsMethod, ListSettlementPaymentsCaptureMode, ListSettlementPaymentsRoutingMode, ListSettlementPaymentsRoutingType, ListSettlementPaymentsSequenceType, ListSettlementPaymentsStatus, ListSettlementPaymentsSort$inboundSchema, ListSettlementPaymentsSort$outboundSchema, ListSettlementPaymentsSort$, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsBadRequestDocumentation$inboundSchema, ListSettlementPaymentsBadRequestDocumentation$outboundSchema, ListSettlementPaymentsBadRequestDocumentation$, ListSettlementPaymentsBadRequestLinks$inboundSchema, ListSettlementPaymentsBadRequestLinks$outboundSchema, ListSettlementPaymentsBadRequestLinks$, ListSettlementPaymentsMode$inboundSchema, ListSettlementPaymentsMode$outboundSchema, ListSettlementPaymentsMode$, ListSettlementPaymentsAmount$inboundSchema, ListSettlementPaymentsAmount$outboundSchema, ListSettlementPaymentsAmount$, ListSettlementPaymentsAmountRefunded$inboundSchema, ListSettlementPaymentsAmountRefunded$outboundSchema, ListSettlementPaymentsAmountRefunded$, ListSettlementPaymentsAmountRemaining$inboundSchema, ListSettlementPaymentsAmountRemaining$outboundSchema, ListSettlementPaymentsAmountRemaining$, ListSettlementPaymentsAmountCaptured$inboundSchema, ListSettlementPaymentsAmountCaptured$outboundSchema, ListSettlementPaymentsAmountCaptured$, ListSettlementPaymentsAmountChargedBack$inboundSchema, ListSettlementPaymentsAmountChargedBack$outboundSchema, ListSettlementPaymentsAmountChargedBack$, ListSettlementPaymentsSettlementAmount$inboundSchema, ListSettlementPaymentsSettlementAmount$outboundSchema, ListSettlementPaymentsSettlementAmount$, ListSettlementPaymentsLineType$inboundSchema, ListSettlementPaymentsLineType$outboundSchema, ListSettlementPaymentsLineType$, ListSettlementPaymentsUnitPrice$inboundSchema, ListSettlementPaymentsUnitPrice$outboundSchema, ListSettlementPaymentsUnitPrice$, ListSettlementPaymentsDiscountAmount$inboundSchema, ListSettlementPaymentsDiscountAmount$outboundSchema, ListSettlementPaymentsDiscountAmount$, ListSettlementPaymentsTotalAmount$inboundSchema, ListSettlementPaymentsTotalAmount$outboundSchema, ListSettlementPaymentsTotalAmount$, ListSettlementPaymentsVatAmount$inboundSchema, ListSettlementPaymentsVatAmount$outboundSchema, ListSettlementPaymentsVatAmount$, ListSettlementPaymentsCategory$inboundSchema, ListSettlementPaymentsCategory$outboundSchema, ListSettlementPaymentsCategory$, ListSettlementPaymentsInterval$inboundSchema, ListSettlementPaymentsInterval$outboundSchema, ListSettlementPaymentsInterval$, ListSettlementPaymentsRecurringAmount$inboundSchema, ListSettlementPaymentsRecurringAmount$outboundSchema, ListSettlementPaymentsRecurringAmount$, ListSettlementPaymentsRecurring$inboundSchema, ListSettlementPaymentsRecurring$outboundSchema, ListSettlementPaymentsRecurring$, ListSettlementPaymentsLine$inboundSchema, ListSettlementPaymentsLine$outboundSchema, ListSettlementPaymentsLine$, ListSettlementPaymentsBillingAddress$inboundSchema, ListSettlementPaymentsBillingAddress$outboundSchema, ListSettlementPaymentsBillingAddress$, ListSettlementPaymentsShippingAddress$inboundSchema, ListSettlementPaymentsShippingAddress$outboundSchema, ListSettlementPaymentsShippingAddress$, ListSettlementPaymentsLocale$inboundSchema, ListSettlementPaymentsLocale$outboundSchema, ListSettlementPaymentsLocale$, ListSettlementPaymentsMethod$inboundSchema, ListSettlementPaymentsMethod$outboundSchema, ListSettlementPaymentsMethod$, ListSettlementPaymentsMetadata$inboundSchema, ListSettlementPaymentsMetadata$outboundSchema, ListSettlementPaymentsMetadata$, ListSettlementPaymentsMetadataUnion$inboundSchema, ListSettlementPaymentsMetadataUnion$outboundSchema, ListSettlementPaymentsMetadataUnion$, ListSettlementPaymentsCaptureMode$inboundSchema, ListSettlementPaymentsCaptureMode$outboundSchema, ListSettlementPaymentsCaptureMode$, ListSettlementPaymentsApplicationFeeAmount$inboundSchema, ListSettlementPaymentsApplicationFeeAmount$outboundSchema, ListSettlementPaymentsApplicationFeeAmount$, ListSettlementPaymentsApplicationFee$inboundSchema, ListSettlementPaymentsApplicationFee$outboundSchema, ListSettlementPaymentsApplicationFee$, ListSettlementPaymentsRoutingMode$inboundSchema, ListSettlementPaymentsRoutingMode$outboundSchema, ListSettlementPaymentsRoutingMode$, ListSettlementPaymentsRoutingAmount$inboundSchema, ListSettlementPaymentsRoutingAmount$outboundSchema, ListSettlementPaymentsRoutingAmount$, ListSettlementPaymentsRoutingType$inboundSchema, ListSettlementPaymentsRoutingType$outboundSchema, ListSettlementPaymentsRoutingType$, ListSettlementPaymentsDestination$inboundSchema, ListSettlementPaymentsDestination$outboundSchema, ListSettlementPaymentsDestination$, ListSettlementPaymentsRoutingSelf$inboundSchema, ListSettlementPaymentsRoutingSelf$outboundSchema, ListSettlementPaymentsRoutingSelf$, ListSettlementPaymentsRoutingPayment$inboundSchema, ListSettlementPaymentsRoutingPayment$outboundSchema, ListSettlementPaymentsRoutingPayment$, ListSettlementPaymentsRoutingLinks$inboundSchema, ListSettlementPaymentsRoutingLinks$outboundSchema, ListSettlementPaymentsRoutingLinks$, ListSettlementPaymentsRouting$inboundSchema, ListSettlementPaymentsRouting$outboundSchema, ListSettlementPaymentsRouting$, ListSettlementPaymentsSequenceType$inboundSchema, ListSettlementPaymentsSequenceType$outboundSchema, ListSettlementPaymentsSequenceType$, ListSettlementPaymentsStatus$inboundSchema, ListSettlementPaymentsStatus$outboundSchema, ListSettlementPaymentsStatus$, ListSettlementPaymentsStatusReason$inboundSchema, ListSettlementPaymentsStatusReason$outboundSchema, ListSettlementPaymentsStatusReason$, ListSettlementPaymentsPaymentSelf$inboundSchema, ListSettlementPaymentsPaymentSelf$outboundSchema, ListSettlementPaymentsPaymentSelf$, ListSettlementPaymentsCheckout$inboundSchema, ListSettlementPaymentsCheckout$outboundSchema, ListSettlementPaymentsCheckout$, ListSettlementPaymentsMobileAppCheckout$inboundSchema, ListSettlementPaymentsMobileAppCheckout$outboundSchema, ListSettlementPaymentsMobileAppCheckout$, ListSettlementPaymentsChangePaymentState$inboundSchema, ListSettlementPaymentsChangePaymentState$outboundSchema, ListSettlementPaymentsChangePaymentState$, ListSettlementPaymentsDashboard$inboundSchema, ListSettlementPaymentsDashboard$outboundSchema, ListSettlementPaymentsDashboard$, ListSettlementPaymentsRefunds$inboundSchema, ListSettlementPaymentsRefunds$outboundSchema, ListSettlementPaymentsRefunds$, ListSettlementPaymentsChargebacks$inboundSchema, ListSettlementPaymentsChargebacks$outboundSchema, ListSettlementPaymentsChargebacks$, ListSettlementPaymentsCaptures$inboundSchema, ListSettlementPaymentsCaptures$outboundSchema, ListSettlementPaymentsCaptures$, ListSettlementPaymentsSettlement$inboundSchema, ListSettlementPaymentsSettlement$outboundSchema, ListSettlementPaymentsSettlement$, ListSettlementPaymentsCustomer$inboundSchema, ListSettlementPaymentsCustomer$outboundSchema, ListSettlementPaymentsCustomer$, ListSettlementPaymentsMandate$inboundSchema, ListSettlementPaymentsMandate$outboundSchema, ListSettlementPaymentsMandate$, ListSettlementPaymentsSubscription$inboundSchema, ListSettlementPaymentsSubscription$outboundSchema, ListSettlementPaymentsSubscription$, ListSettlementPaymentsOrder$inboundSchema, ListSettlementPaymentsOrder$outboundSchema, ListSettlementPaymentsOrder$, ListSettlementPaymentsTerminal$inboundSchema, ListSettlementPaymentsTerminal$outboundSchema, ListSettlementPaymentsTerminal$, ListSettlementPaymentsPaymentDocumentation$inboundSchema, ListSettlementPaymentsPaymentDocumentation$outboundSchema, ListSettlementPaymentsPaymentDocumentation$, ListSettlementPaymentsPaymentLinks$inboundSchema, ListSettlementPaymentsPaymentLinks$outboundSchema, ListSettlementPaymentsPaymentLinks$, ListSettlementPaymentsPaymentOutput$inboundSchema, ListSettlementPaymentsPaymentOutput$outboundSchema, ListSettlementPaymentsPaymentOutput$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsSelf$inboundSchema, ListSettlementPaymentsSelf$outboundSchema, ListSettlementPaymentsSelf$, ListSettlementPaymentsPrevious$inboundSchema, ListSettlementPaymentsPrevious$outboundSchema, ListSettlementPaymentsPrevious$, ListSettlementPaymentsNext$inboundSchema, ListSettlementPaymentsNext$outboundSchema, ListSettlementPaymentsNext$, ListSettlementPaymentsDocumentation$inboundSchema, ListSettlementPaymentsDocumentation$outboundSchema, ListSettlementPaymentsDocumentation$, ListSettlementPaymentsLinks$inboundSchema, ListSettlementPaymentsLinks$outboundSchema, ListSettlementPaymentsLinks$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
79622
+ var ListSettlementPaymentsSort, ListSettlementPaymentsMode, ListSettlementPaymentsLineType, ListSettlementPaymentsCategory, ListSettlementPaymentsInterval, ListSettlementPaymentsLocale, ListSettlementPaymentsMethod, ListSettlementPaymentsCaptureMode, ListSettlementPaymentsRoutingMode, ListSettlementPaymentsRoutingType, ListSettlementPaymentsSequenceType, ListSettlementPaymentsStatus, ListSettlementPaymentsSort$inboundSchema, ListSettlementPaymentsSort$outboundSchema, ListSettlementPaymentsSort$, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsBadRequestDocumentation$inboundSchema, ListSettlementPaymentsBadRequestDocumentation$outboundSchema, ListSettlementPaymentsBadRequestDocumentation$, ListSettlementPaymentsBadRequestLinks$inboundSchema, ListSettlementPaymentsBadRequestLinks$outboundSchema, ListSettlementPaymentsBadRequestLinks$, ListSettlementPaymentsMode$inboundSchema, ListSettlementPaymentsMode$outboundSchema, ListSettlementPaymentsMode$, ListSettlementPaymentsAmount$inboundSchema, ListSettlementPaymentsAmount$outboundSchema, ListSettlementPaymentsAmount$, ListSettlementPaymentsAmountRefunded$inboundSchema, ListSettlementPaymentsAmountRefunded$outboundSchema, ListSettlementPaymentsAmountRefunded$, ListSettlementPaymentsAmountRemaining$inboundSchema, ListSettlementPaymentsAmountRemaining$outboundSchema, ListSettlementPaymentsAmountRemaining$, ListSettlementPaymentsAmountCaptured$inboundSchema, ListSettlementPaymentsAmountCaptured$outboundSchema, ListSettlementPaymentsAmountCaptured$, ListSettlementPaymentsAmountChargedBack$inboundSchema, ListSettlementPaymentsAmountChargedBack$outboundSchema, ListSettlementPaymentsAmountChargedBack$, ListSettlementPaymentsSettlementAmount$inboundSchema, ListSettlementPaymentsSettlementAmount$outboundSchema, ListSettlementPaymentsSettlementAmount$, ListSettlementPaymentsLineType$inboundSchema, ListSettlementPaymentsLineType$outboundSchema, ListSettlementPaymentsLineType$, ListSettlementPaymentsUnitPrice$inboundSchema, ListSettlementPaymentsUnitPrice$outboundSchema, ListSettlementPaymentsUnitPrice$, ListSettlementPaymentsDiscountAmount$inboundSchema, ListSettlementPaymentsDiscountAmount$outboundSchema, ListSettlementPaymentsDiscountAmount$, ListSettlementPaymentsTotalAmount$inboundSchema, ListSettlementPaymentsTotalAmount$outboundSchema, ListSettlementPaymentsTotalAmount$, ListSettlementPaymentsVatAmount$inboundSchema, ListSettlementPaymentsVatAmount$outboundSchema, ListSettlementPaymentsVatAmount$, ListSettlementPaymentsCategory$inboundSchema, ListSettlementPaymentsCategory$outboundSchema, ListSettlementPaymentsCategory$, ListSettlementPaymentsInterval$inboundSchema, ListSettlementPaymentsInterval$outboundSchema, ListSettlementPaymentsInterval$, ListSettlementPaymentsRecurringAmount$inboundSchema, ListSettlementPaymentsRecurringAmount$outboundSchema, ListSettlementPaymentsRecurringAmount$, ListSettlementPaymentsRecurring$inboundSchema, ListSettlementPaymentsRecurring$outboundSchema, ListSettlementPaymentsRecurring$, ListSettlementPaymentsLine$inboundSchema, ListSettlementPaymentsLine$outboundSchema, ListSettlementPaymentsLine$, ListSettlementPaymentsBillingAddress$inboundSchema, ListSettlementPaymentsBillingAddress$outboundSchema, ListSettlementPaymentsBillingAddress$, ListSettlementPaymentsShippingAddress$inboundSchema, ListSettlementPaymentsShippingAddress$outboundSchema, ListSettlementPaymentsShippingAddress$, ListSettlementPaymentsLocale$inboundSchema, ListSettlementPaymentsLocale$outboundSchema, ListSettlementPaymentsLocale$, ListSettlementPaymentsMethod$inboundSchema, ListSettlementPaymentsMethod$outboundSchema, ListSettlementPaymentsMethod$, ListSettlementPaymentsMetadata$inboundSchema, ListSettlementPaymentsMetadata$outboundSchema, ListSettlementPaymentsMetadata$, ListSettlementPaymentsCaptureMode$inboundSchema, ListSettlementPaymentsCaptureMode$outboundSchema, ListSettlementPaymentsCaptureMode$, ListSettlementPaymentsApplicationFeeAmount$inboundSchema, ListSettlementPaymentsApplicationFeeAmount$outboundSchema, ListSettlementPaymentsApplicationFeeAmount$, ListSettlementPaymentsApplicationFee$inboundSchema, ListSettlementPaymentsApplicationFee$outboundSchema, ListSettlementPaymentsApplicationFee$, ListSettlementPaymentsRoutingMode$inboundSchema, ListSettlementPaymentsRoutingMode$outboundSchema, ListSettlementPaymentsRoutingMode$, ListSettlementPaymentsRoutingAmount$inboundSchema, ListSettlementPaymentsRoutingAmount$outboundSchema, ListSettlementPaymentsRoutingAmount$, ListSettlementPaymentsRoutingType$inboundSchema, ListSettlementPaymentsRoutingType$outboundSchema, ListSettlementPaymentsRoutingType$, ListSettlementPaymentsDestination$inboundSchema, ListSettlementPaymentsDestination$outboundSchema, ListSettlementPaymentsDestination$, ListSettlementPaymentsRoutingSelf$inboundSchema, ListSettlementPaymentsRoutingSelf$outboundSchema, ListSettlementPaymentsRoutingSelf$, ListSettlementPaymentsRoutingPayment$inboundSchema, ListSettlementPaymentsRoutingPayment$outboundSchema, ListSettlementPaymentsRoutingPayment$, ListSettlementPaymentsRoutingLinks$inboundSchema, ListSettlementPaymentsRoutingLinks$outboundSchema, ListSettlementPaymentsRoutingLinks$, ListSettlementPaymentsRouting$inboundSchema, ListSettlementPaymentsRouting$outboundSchema, ListSettlementPaymentsRouting$, ListSettlementPaymentsSequenceType$inboundSchema, ListSettlementPaymentsSequenceType$outboundSchema, ListSettlementPaymentsSequenceType$, ListSettlementPaymentsStatus$inboundSchema, ListSettlementPaymentsStatus$outboundSchema, ListSettlementPaymentsStatus$, ListSettlementPaymentsStatusReason$inboundSchema, ListSettlementPaymentsStatusReason$outboundSchema, ListSettlementPaymentsStatusReason$, ListSettlementPaymentsPaymentSelf$inboundSchema, ListSettlementPaymentsPaymentSelf$outboundSchema, ListSettlementPaymentsPaymentSelf$, ListSettlementPaymentsCheckout$inboundSchema, ListSettlementPaymentsCheckout$outboundSchema, ListSettlementPaymentsCheckout$, ListSettlementPaymentsMobileAppCheckout$inboundSchema, ListSettlementPaymentsMobileAppCheckout$outboundSchema, ListSettlementPaymentsMobileAppCheckout$, ListSettlementPaymentsChangePaymentState$inboundSchema, ListSettlementPaymentsChangePaymentState$outboundSchema, ListSettlementPaymentsChangePaymentState$, ListSettlementPaymentsDashboard$inboundSchema, ListSettlementPaymentsDashboard$outboundSchema, ListSettlementPaymentsDashboard$, ListSettlementPaymentsRefunds$inboundSchema, ListSettlementPaymentsRefunds$outboundSchema, ListSettlementPaymentsRefunds$, ListSettlementPaymentsChargebacks$inboundSchema, ListSettlementPaymentsChargebacks$outboundSchema, ListSettlementPaymentsChargebacks$, ListSettlementPaymentsCaptures$inboundSchema, ListSettlementPaymentsCaptures$outboundSchema, ListSettlementPaymentsCaptures$, ListSettlementPaymentsSettlement$inboundSchema, ListSettlementPaymentsSettlement$outboundSchema, ListSettlementPaymentsSettlement$, ListSettlementPaymentsCustomer$inboundSchema, ListSettlementPaymentsCustomer$outboundSchema, ListSettlementPaymentsCustomer$, ListSettlementPaymentsMandate$inboundSchema, ListSettlementPaymentsMandate$outboundSchema, ListSettlementPaymentsMandate$, ListSettlementPaymentsSubscription$inboundSchema, ListSettlementPaymentsSubscription$outboundSchema, ListSettlementPaymentsSubscription$, ListSettlementPaymentsOrder$inboundSchema, ListSettlementPaymentsOrder$outboundSchema, ListSettlementPaymentsOrder$, ListSettlementPaymentsTerminal$inboundSchema, ListSettlementPaymentsTerminal$outboundSchema, ListSettlementPaymentsTerminal$, ListSettlementPaymentsPaymentDocumentation$inboundSchema, ListSettlementPaymentsPaymentDocumentation$outboundSchema, ListSettlementPaymentsPaymentDocumentation$, ListSettlementPaymentsPaymentLinks$inboundSchema, ListSettlementPaymentsPaymentLinks$outboundSchema, ListSettlementPaymentsPaymentLinks$, ListSettlementPaymentsPaymentOutput$inboundSchema, ListSettlementPaymentsPaymentOutput$outboundSchema, ListSettlementPaymentsPaymentOutput$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsSelf$inboundSchema, ListSettlementPaymentsSelf$outboundSchema, ListSettlementPaymentsSelf$, ListSettlementPaymentsPrevious$inboundSchema, ListSettlementPaymentsPrevious$outboundSchema, ListSettlementPaymentsPrevious$, ListSettlementPaymentsNext$inboundSchema, ListSettlementPaymentsNext$outboundSchema, ListSettlementPaymentsNext$, ListSettlementPaymentsDocumentation$inboundSchema, ListSettlementPaymentsDocumentation$outboundSchema, ListSettlementPaymentsDocumentation$, ListSettlementPaymentsLinks$inboundSchema, ListSettlementPaymentsLinks$outboundSchema, ListSettlementPaymentsLinks$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
80239
79623
  var init_listsettlementpayments = __esm(() => {
80240
79624
  init_esm();
80241
79625
  init_primitives();
@@ -80689,26 +80073,12 @@ var init_listsettlementpayments = __esm(() => {
80689
80073
  ListSettlementPaymentsMethod$.inboundSchema = ListSettlementPaymentsMethod$inboundSchema;
80690
80074
  ListSettlementPaymentsMethod$.outboundSchema = ListSettlementPaymentsMethod$outboundSchema;
80691
80075
  })(ListSettlementPaymentsMethod$ ||= {});
80692
- ListSettlementPaymentsMetadata$inboundSchema = objectType({});
80693
- ListSettlementPaymentsMetadata$outboundSchema = objectType({});
80076
+ ListSettlementPaymentsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
80077
+ ListSettlementPaymentsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
80694
80078
  ((ListSettlementPaymentsMetadata$) => {
80695
80079
  ListSettlementPaymentsMetadata$.inboundSchema = ListSettlementPaymentsMetadata$inboundSchema;
80696
80080
  ListSettlementPaymentsMetadata$.outboundSchema = ListSettlementPaymentsMetadata$outboundSchema;
80697
80081
  })(ListSettlementPaymentsMetadata$ ||= {});
80698
- ListSettlementPaymentsMetadataUnion$inboundSchema = unionType([
80699
- lazyType(() => ListSettlementPaymentsMetadata$inboundSchema),
80700
- stringType(),
80701
- arrayType(stringType())
80702
- ]);
80703
- ListSettlementPaymentsMetadataUnion$outboundSchema = unionType([
80704
- lazyType(() => ListSettlementPaymentsMetadata$outboundSchema),
80705
- stringType(),
80706
- arrayType(stringType())
80707
- ]);
80708
- ((ListSettlementPaymentsMetadataUnion$) => {
80709
- ListSettlementPaymentsMetadataUnion$.inboundSchema = ListSettlementPaymentsMetadataUnion$inboundSchema;
80710
- ListSettlementPaymentsMetadataUnion$.outboundSchema = ListSettlementPaymentsMetadataUnion$outboundSchema;
80711
- })(ListSettlementPaymentsMetadataUnion$ ||= {});
80712
80082
  ListSettlementPaymentsCaptureMode$inboundSchema = nativeEnumType(ListSettlementPaymentsCaptureMode);
80713
80083
  ListSettlementPaymentsCaptureMode$outboundSchema = ListSettlementPaymentsCaptureMode$inboundSchema;
80714
80084
  ((ListSettlementPaymentsCaptureMode$) => {
@@ -81106,11 +80476,7 @@ var init_listsettlementpayments = __esm(() => {
81106
80476
  countryCode: nullableType(stringType()).optional(),
81107
80477
  method: nullableType(ListSettlementPaymentsMethod$inboundSchema).optional(),
81108
80478
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
81109
- metadata: nullableType(unionType([
81110
- lazyType(() => ListSettlementPaymentsMetadata$inboundSchema),
81111
- stringType(),
81112
- arrayType(stringType())
81113
- ])).optional(),
80479
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
81114
80480
  captureMode: nullableType(ListSettlementPaymentsCaptureMode$inboundSchema).optional(),
81115
80481
  captureDelay: nullableType(stringType()).optional(),
81116
80482
  captureBefore: nullableType(stringType()).optional(),
@@ -81161,11 +80527,7 @@ var init_listsettlementpayments = __esm(() => {
81161
80527
  countryCode: nullableType(stringType()).optional(),
81162
80528
  method: nullableType(ListSettlementPaymentsMethod$outboundSchema).optional(),
81163
80529
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
81164
- metadata: nullableType(unionType([
81165
- lazyType(() => ListSettlementPaymentsMetadata$outboundSchema),
81166
- stringType(),
81167
- arrayType(stringType())
81168
- ])).optional(),
80530
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
81169
80531
  captureMode: nullableType(ListSettlementPaymentsCaptureMode$outboundSchema).optional(),
81170
80532
  captureDelay: nullableType(stringType()).optional(),
81171
80533
  captureBefore: nullableType(stringType()).optional(),
@@ -81300,7 +80662,7 @@ var init_listsettlementpayments = __esm(() => {
81300
80662
  });
81301
80663
 
81302
80664
  // src/models/operations/listsettlementrefunds.ts
81303
- var ListSettlementRefundsEmbed, ListSettlementRefundsMode, ListSettlementRefundsStatus, ListSettlementRefundsType, ListSettlementRefundsEmbed$inboundSchema, ListSettlementRefundsEmbed$outboundSchema, ListSettlementRefundsEmbed$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsNotFoundDocumentation$inboundSchema, ListSettlementRefundsNotFoundDocumentation$outboundSchema, ListSettlementRefundsNotFoundDocumentation$, ListSettlementRefundsNotFoundLinks$inboundSchema, ListSettlementRefundsNotFoundLinks$outboundSchema, ListSettlementRefundsNotFoundLinks$, ListSettlementRefundsBadRequestDocumentation$inboundSchema, ListSettlementRefundsBadRequestDocumentation$outboundSchema, ListSettlementRefundsBadRequestDocumentation$, ListSettlementRefundsBadRequestLinks$inboundSchema, ListSettlementRefundsBadRequestLinks$outboundSchema, ListSettlementRefundsBadRequestLinks$, ListSettlementRefundsMode$inboundSchema, ListSettlementRefundsMode$outboundSchema, ListSettlementRefundsMode$, ListSettlementRefundsAmount$inboundSchema, ListSettlementRefundsAmount$outboundSchema, ListSettlementRefundsAmount$, ListSettlementRefundsSettlementAmount$inboundSchema, ListSettlementRefundsSettlementAmount$outboundSchema, ListSettlementRefundsSettlementAmount$, ListSettlementRefundsMetadata$inboundSchema, ListSettlementRefundsMetadata$outboundSchema, ListSettlementRefundsMetadata$, ListSettlementRefundsMetadataUnion$inboundSchema, ListSettlementRefundsMetadataUnion$outboundSchema, ListSettlementRefundsMetadataUnion$, ListSettlementRefundsStatus$inboundSchema, ListSettlementRefundsStatus$outboundSchema, ListSettlementRefundsStatus$, ListSettlementRefundsType$inboundSchema, ListSettlementRefundsType$outboundSchema, ListSettlementRefundsType$, ListSettlementRefundsExternalReference$inboundSchema, ListSettlementRefundsExternalReference$outboundSchema, ListSettlementRefundsExternalReference$, ListSettlementRefundsRoutingReversalAmount$inboundSchema, ListSettlementRefundsRoutingReversalAmount$outboundSchema, ListSettlementRefundsRoutingReversalAmount$, ListSettlementRefundsSource$inboundSchema, ListSettlementRefundsSource$outboundSchema, ListSettlementRefundsSource$, ListSettlementRefundsRoutingReversal$inboundSchema, ListSettlementRefundsRoutingReversal$outboundSchema, ListSettlementRefundsRoutingReversal$, ListSettlementRefundsRefundSelf$inboundSchema, ListSettlementRefundsRefundSelf$outboundSchema, ListSettlementRefundsRefundSelf$, ListSettlementRefundsPayment$inboundSchema, ListSettlementRefundsPayment$outboundSchema, ListSettlementRefundsPayment$, ListSettlementRefundsSettlement$inboundSchema, ListSettlementRefundsSettlement$outboundSchema, ListSettlementRefundsSettlement$, ListSettlementRefundsRefundDocumentation$inboundSchema, ListSettlementRefundsRefundDocumentation$outboundSchema, ListSettlementRefundsRefundDocumentation$, ListSettlementRefundsRefundLinks$inboundSchema, ListSettlementRefundsRefundLinks$outboundSchema, ListSettlementRefundsRefundLinks$, ListSettlementRefundsRefund$inboundSchema, ListSettlementRefundsRefund$outboundSchema, ListSettlementRefundsRefund$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsSelf$inboundSchema, ListSettlementRefundsSelf$outboundSchema, ListSettlementRefundsSelf$, ListSettlementRefundsPrevious$inboundSchema, ListSettlementRefundsPrevious$outboundSchema, ListSettlementRefundsPrevious$, ListSettlementRefundsNext$inboundSchema, ListSettlementRefundsNext$outboundSchema, ListSettlementRefundsNext$, ListSettlementRefundsDocumentation$inboundSchema, ListSettlementRefundsDocumentation$outboundSchema, ListSettlementRefundsDocumentation$, ListSettlementRefundsLinks$inboundSchema, ListSettlementRefundsLinks$outboundSchema, ListSettlementRefundsLinks$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
80665
+ var ListSettlementRefundsEmbed, ListSettlementRefundsMode, ListSettlementRefundsStatus, ListSettlementRefundsType, ListSettlementRefundsEmbed$inboundSchema, ListSettlementRefundsEmbed$outboundSchema, ListSettlementRefundsEmbed$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsNotFoundDocumentation$inboundSchema, ListSettlementRefundsNotFoundDocumentation$outboundSchema, ListSettlementRefundsNotFoundDocumentation$, ListSettlementRefundsNotFoundLinks$inboundSchema, ListSettlementRefundsNotFoundLinks$outboundSchema, ListSettlementRefundsNotFoundLinks$, ListSettlementRefundsBadRequestDocumentation$inboundSchema, ListSettlementRefundsBadRequestDocumentation$outboundSchema, ListSettlementRefundsBadRequestDocumentation$, ListSettlementRefundsBadRequestLinks$inboundSchema, ListSettlementRefundsBadRequestLinks$outboundSchema, ListSettlementRefundsBadRequestLinks$, ListSettlementRefundsMode$inboundSchema, ListSettlementRefundsMode$outboundSchema, ListSettlementRefundsMode$, ListSettlementRefundsAmount$inboundSchema, ListSettlementRefundsAmount$outboundSchema, ListSettlementRefundsAmount$, ListSettlementRefundsSettlementAmount$inboundSchema, ListSettlementRefundsSettlementAmount$outboundSchema, ListSettlementRefundsSettlementAmount$, ListSettlementRefundsMetadata$inboundSchema, ListSettlementRefundsMetadata$outboundSchema, ListSettlementRefundsMetadata$, ListSettlementRefundsStatus$inboundSchema, ListSettlementRefundsStatus$outboundSchema, ListSettlementRefundsStatus$, ListSettlementRefundsType$inboundSchema, ListSettlementRefundsType$outboundSchema, ListSettlementRefundsType$, ListSettlementRefundsExternalReference$inboundSchema, ListSettlementRefundsExternalReference$outboundSchema, ListSettlementRefundsExternalReference$, ListSettlementRefundsRoutingReversalAmount$inboundSchema, ListSettlementRefundsRoutingReversalAmount$outboundSchema, ListSettlementRefundsRoutingReversalAmount$, ListSettlementRefundsSource$inboundSchema, ListSettlementRefundsSource$outboundSchema, ListSettlementRefundsSource$, ListSettlementRefundsRoutingReversal$inboundSchema, ListSettlementRefundsRoutingReversal$outboundSchema, ListSettlementRefundsRoutingReversal$, ListSettlementRefundsRefundSelf$inboundSchema, ListSettlementRefundsRefundSelf$outboundSchema, ListSettlementRefundsRefundSelf$, ListSettlementRefundsPayment$inboundSchema, ListSettlementRefundsPayment$outboundSchema, ListSettlementRefundsPayment$, ListSettlementRefundsSettlement$inboundSchema, ListSettlementRefundsSettlement$outboundSchema, ListSettlementRefundsSettlement$, ListSettlementRefundsRefundDocumentation$inboundSchema, ListSettlementRefundsRefundDocumentation$outboundSchema, ListSettlementRefundsRefundDocumentation$, ListSettlementRefundsRefundLinks$inboundSchema, ListSettlementRefundsRefundLinks$outboundSchema, ListSettlementRefundsRefundLinks$, ListSettlementRefundsRefund$inboundSchema, ListSettlementRefundsRefund$outboundSchema, ListSettlementRefundsRefund$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsSelf$inboundSchema, ListSettlementRefundsSelf$outboundSchema, ListSettlementRefundsSelf$, ListSettlementRefundsPrevious$inboundSchema, ListSettlementRefundsPrevious$outboundSchema, ListSettlementRefundsPrevious$, ListSettlementRefundsNext$inboundSchema, ListSettlementRefundsNext$outboundSchema, ListSettlementRefundsNext$, ListSettlementRefundsDocumentation$inboundSchema, ListSettlementRefundsDocumentation$outboundSchema, ListSettlementRefundsDocumentation$, ListSettlementRefundsLinks$inboundSchema, ListSettlementRefundsLinks$outboundSchema, ListSettlementRefundsLinks$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
81304
80666
  var init_listsettlementrefunds = __esm(() => {
81305
80667
  init_esm();
81306
80668
  init_primitives();
@@ -81420,26 +80782,12 @@ var init_listsettlementrefunds = __esm(() => {
81420
80782
  ListSettlementRefundsSettlementAmount$.inboundSchema = ListSettlementRefundsSettlementAmount$inboundSchema;
81421
80783
  ListSettlementRefundsSettlementAmount$.outboundSchema = ListSettlementRefundsSettlementAmount$outboundSchema;
81422
80784
  })(ListSettlementRefundsSettlementAmount$ ||= {});
81423
- ListSettlementRefundsMetadata$inboundSchema = objectType({});
81424
- ListSettlementRefundsMetadata$outboundSchema = objectType({});
80785
+ ListSettlementRefundsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
80786
+ ListSettlementRefundsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
81425
80787
  ((ListSettlementRefundsMetadata$) => {
81426
80788
  ListSettlementRefundsMetadata$.inboundSchema = ListSettlementRefundsMetadata$inboundSchema;
81427
80789
  ListSettlementRefundsMetadata$.outboundSchema = ListSettlementRefundsMetadata$outboundSchema;
81428
80790
  })(ListSettlementRefundsMetadata$ ||= {});
81429
- ListSettlementRefundsMetadataUnion$inboundSchema = unionType([
81430
- lazyType(() => ListSettlementRefundsMetadata$inboundSchema),
81431
- stringType(),
81432
- arrayType(stringType())
81433
- ]);
81434
- ListSettlementRefundsMetadataUnion$outboundSchema = unionType([
81435
- lazyType(() => ListSettlementRefundsMetadata$outboundSchema),
81436
- stringType(),
81437
- arrayType(stringType())
81438
- ]);
81439
- ((ListSettlementRefundsMetadataUnion$) => {
81440
- ListSettlementRefundsMetadataUnion$.inboundSchema = ListSettlementRefundsMetadataUnion$inboundSchema;
81441
- ListSettlementRefundsMetadataUnion$.outboundSchema = ListSettlementRefundsMetadataUnion$outboundSchema;
81442
- })(ListSettlementRefundsMetadataUnion$ ||= {});
81443
80791
  ListSettlementRefundsStatus$inboundSchema = nativeEnumType(ListSettlementRefundsStatus);
81444
80792
  ListSettlementRefundsStatus$outboundSchema = ListSettlementRefundsStatus$inboundSchema;
81445
80793
  ((ListSettlementRefundsStatus$) => {
@@ -81569,11 +80917,7 @@ var init_listsettlementrefunds = __esm(() => {
81569
80917
  description: stringType().optional(),
81570
80918
  amount: lazyType(() => ListSettlementRefundsAmount$inboundSchema).optional(),
81571
80919
  settlementAmount: nullableType(lazyType(() => ListSettlementRefundsSettlementAmount$inboundSchema)).optional(),
81572
- metadata: nullableType(unionType([
81573
- lazyType(() => ListSettlementRefundsMetadata$inboundSchema),
81574
- stringType(),
81575
- arrayType(stringType())
81576
- ])).optional(),
80920
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
81577
80921
  paymentId: stringType().optional(),
81578
80922
  settlementId: nullableType(stringType()).optional(),
81579
80923
  status: ListSettlementRefundsStatus$inboundSchema.optional(),
@@ -81593,11 +80937,7 @@ var init_listsettlementrefunds = __esm(() => {
81593
80937
  description: stringType().optional(),
81594
80938
  amount: lazyType(() => ListSettlementRefundsAmount$outboundSchema).optional(),
81595
80939
  settlementAmount: nullableType(lazyType(() => ListSettlementRefundsSettlementAmount$outboundSchema)).optional(),
81596
- metadata: nullableType(unionType([
81597
- lazyType(() => ListSettlementRefundsMetadata$outboundSchema),
81598
- stringType(),
81599
- arrayType(stringType())
81600
- ])).optional(),
80940
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
81601
80941
  paymentId: stringType().optional(),
81602
80942
  settlementId: nullableType(stringType()).optional(),
81603
80943
  status: ListSettlementRefundsStatus$outboundSchema.optional(),
@@ -82374,7 +81714,7 @@ var init_listsettlements = __esm(() => {
82374
81714
  });
82375
81715
 
82376
81716
  // src/models/operations/listsubscriptionpayments.ts
82377
- var ListSubscriptionPaymentsSort, ListSubscriptionPaymentsMode, ListSubscriptionPaymentsLineType, ListSubscriptionPaymentsCategory, ListSubscriptionPaymentsInterval, ListSubscriptionPaymentsLocale, ListSubscriptionPaymentsMethod, ListSubscriptionPaymentsCaptureMode, ListSubscriptionPaymentsRoutingMode, ListSubscriptionPaymentsRoutingType, ListSubscriptionPaymentsSequenceType, ListSubscriptionPaymentsStatus, ListSubscriptionPaymentsSort$inboundSchema, ListSubscriptionPaymentsSort$outboundSchema, ListSubscriptionPaymentsSort$, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsBadRequestDocumentation$inboundSchema, ListSubscriptionPaymentsBadRequestDocumentation$outboundSchema, ListSubscriptionPaymentsBadRequestDocumentation$, ListSubscriptionPaymentsBadRequestLinks$inboundSchema, ListSubscriptionPaymentsBadRequestLinks$outboundSchema, ListSubscriptionPaymentsBadRequestLinks$, ListSubscriptionPaymentsMode$inboundSchema, ListSubscriptionPaymentsMode$outboundSchema, ListSubscriptionPaymentsMode$, ListSubscriptionPaymentsAmount$inboundSchema, ListSubscriptionPaymentsAmount$outboundSchema, ListSubscriptionPaymentsAmount$, ListSubscriptionPaymentsAmountRefunded$inboundSchema, ListSubscriptionPaymentsAmountRefunded$outboundSchema, ListSubscriptionPaymentsAmountRefunded$, ListSubscriptionPaymentsAmountRemaining$inboundSchema, ListSubscriptionPaymentsAmountRemaining$outboundSchema, ListSubscriptionPaymentsAmountRemaining$, ListSubscriptionPaymentsAmountCaptured$inboundSchema, ListSubscriptionPaymentsAmountCaptured$outboundSchema, ListSubscriptionPaymentsAmountCaptured$, ListSubscriptionPaymentsAmountChargedBack$inboundSchema, ListSubscriptionPaymentsAmountChargedBack$outboundSchema, ListSubscriptionPaymentsAmountChargedBack$, ListSubscriptionPaymentsSettlementAmount$inboundSchema, ListSubscriptionPaymentsSettlementAmount$outboundSchema, ListSubscriptionPaymentsSettlementAmount$, ListSubscriptionPaymentsLineType$inboundSchema, ListSubscriptionPaymentsLineType$outboundSchema, ListSubscriptionPaymentsLineType$, ListSubscriptionPaymentsUnitPrice$inboundSchema, ListSubscriptionPaymentsUnitPrice$outboundSchema, ListSubscriptionPaymentsUnitPrice$, ListSubscriptionPaymentsDiscountAmount$inboundSchema, ListSubscriptionPaymentsDiscountAmount$outboundSchema, ListSubscriptionPaymentsDiscountAmount$, ListSubscriptionPaymentsTotalAmount$inboundSchema, ListSubscriptionPaymentsTotalAmount$outboundSchema, ListSubscriptionPaymentsTotalAmount$, ListSubscriptionPaymentsVatAmount$inboundSchema, ListSubscriptionPaymentsVatAmount$outboundSchema, ListSubscriptionPaymentsVatAmount$, ListSubscriptionPaymentsCategory$inboundSchema, ListSubscriptionPaymentsCategory$outboundSchema, ListSubscriptionPaymentsCategory$, ListSubscriptionPaymentsInterval$inboundSchema, ListSubscriptionPaymentsInterval$outboundSchema, ListSubscriptionPaymentsInterval$, ListSubscriptionPaymentsRecurringAmount$inboundSchema, ListSubscriptionPaymentsRecurringAmount$outboundSchema, ListSubscriptionPaymentsRecurringAmount$, ListSubscriptionPaymentsRecurring$inboundSchema, ListSubscriptionPaymentsRecurring$outboundSchema, ListSubscriptionPaymentsRecurring$, ListSubscriptionPaymentsLine$inboundSchema, ListSubscriptionPaymentsLine$outboundSchema, ListSubscriptionPaymentsLine$, ListSubscriptionPaymentsBillingAddress$inboundSchema, ListSubscriptionPaymentsBillingAddress$outboundSchema, ListSubscriptionPaymentsBillingAddress$, ListSubscriptionPaymentsShippingAddress$inboundSchema, ListSubscriptionPaymentsShippingAddress$outboundSchema, ListSubscriptionPaymentsShippingAddress$, ListSubscriptionPaymentsLocale$inboundSchema, ListSubscriptionPaymentsLocale$outboundSchema, ListSubscriptionPaymentsLocale$, ListSubscriptionPaymentsMethod$inboundSchema, ListSubscriptionPaymentsMethod$outboundSchema, ListSubscriptionPaymentsMethod$, ListSubscriptionPaymentsMetadata$inboundSchema, ListSubscriptionPaymentsMetadata$outboundSchema, ListSubscriptionPaymentsMetadata$, ListSubscriptionPaymentsMetadataUnion$inboundSchema, ListSubscriptionPaymentsMetadataUnion$outboundSchema, ListSubscriptionPaymentsMetadataUnion$, ListSubscriptionPaymentsCaptureMode$inboundSchema, ListSubscriptionPaymentsCaptureMode$outboundSchema, ListSubscriptionPaymentsCaptureMode$, ListSubscriptionPaymentsApplicationFeeAmount$inboundSchema, ListSubscriptionPaymentsApplicationFeeAmount$outboundSchema, ListSubscriptionPaymentsApplicationFeeAmount$, ListSubscriptionPaymentsApplicationFee$inboundSchema, ListSubscriptionPaymentsApplicationFee$outboundSchema, ListSubscriptionPaymentsApplicationFee$, ListSubscriptionPaymentsRoutingMode$inboundSchema, ListSubscriptionPaymentsRoutingMode$outboundSchema, ListSubscriptionPaymentsRoutingMode$, ListSubscriptionPaymentsRoutingAmount$inboundSchema, ListSubscriptionPaymentsRoutingAmount$outboundSchema, ListSubscriptionPaymentsRoutingAmount$, ListSubscriptionPaymentsRoutingType$inboundSchema, ListSubscriptionPaymentsRoutingType$outboundSchema, ListSubscriptionPaymentsRoutingType$, ListSubscriptionPaymentsDestination$inboundSchema, ListSubscriptionPaymentsDestination$outboundSchema, ListSubscriptionPaymentsDestination$, ListSubscriptionPaymentsRoutingSelf$inboundSchema, ListSubscriptionPaymentsRoutingSelf$outboundSchema, ListSubscriptionPaymentsRoutingSelf$, ListSubscriptionPaymentsRoutingPayment$inboundSchema, ListSubscriptionPaymentsRoutingPayment$outboundSchema, ListSubscriptionPaymentsRoutingPayment$, ListSubscriptionPaymentsRoutingLinks$inboundSchema, ListSubscriptionPaymentsRoutingLinks$outboundSchema, ListSubscriptionPaymentsRoutingLinks$, ListSubscriptionPaymentsRouting$inboundSchema, ListSubscriptionPaymentsRouting$outboundSchema, ListSubscriptionPaymentsRouting$, ListSubscriptionPaymentsSequenceType$inboundSchema, ListSubscriptionPaymentsSequenceType$outboundSchema, ListSubscriptionPaymentsSequenceType$, ListSubscriptionPaymentsStatus$inboundSchema, ListSubscriptionPaymentsStatus$outboundSchema, ListSubscriptionPaymentsStatus$, ListSubscriptionPaymentsStatusReason$inboundSchema, ListSubscriptionPaymentsStatusReason$outboundSchema, ListSubscriptionPaymentsStatusReason$, ListSubscriptionPaymentsPaymentSelf$inboundSchema, ListSubscriptionPaymentsPaymentSelf$outboundSchema, ListSubscriptionPaymentsPaymentSelf$, ListSubscriptionPaymentsCheckout$inboundSchema, ListSubscriptionPaymentsCheckout$outboundSchema, ListSubscriptionPaymentsCheckout$, ListSubscriptionPaymentsMobileAppCheckout$inboundSchema, ListSubscriptionPaymentsMobileAppCheckout$outboundSchema, ListSubscriptionPaymentsMobileAppCheckout$, ListSubscriptionPaymentsChangePaymentState$inboundSchema, ListSubscriptionPaymentsChangePaymentState$outboundSchema, ListSubscriptionPaymentsChangePaymentState$, ListSubscriptionPaymentsDashboard$inboundSchema, ListSubscriptionPaymentsDashboard$outboundSchema, ListSubscriptionPaymentsDashboard$, ListSubscriptionPaymentsRefunds$inboundSchema, ListSubscriptionPaymentsRefunds$outboundSchema, ListSubscriptionPaymentsRefunds$, ListSubscriptionPaymentsChargebacks$inboundSchema, ListSubscriptionPaymentsChargebacks$outboundSchema, ListSubscriptionPaymentsChargebacks$, ListSubscriptionPaymentsCaptures$inboundSchema, ListSubscriptionPaymentsCaptures$outboundSchema, ListSubscriptionPaymentsCaptures$, ListSubscriptionPaymentsSettlement$inboundSchema, ListSubscriptionPaymentsSettlement$outboundSchema, ListSubscriptionPaymentsSettlement$, ListSubscriptionPaymentsCustomer$inboundSchema, ListSubscriptionPaymentsCustomer$outboundSchema, ListSubscriptionPaymentsCustomer$, ListSubscriptionPaymentsMandate$inboundSchema, ListSubscriptionPaymentsMandate$outboundSchema, ListSubscriptionPaymentsMandate$, ListSubscriptionPaymentsSubscription$inboundSchema, ListSubscriptionPaymentsSubscription$outboundSchema, ListSubscriptionPaymentsSubscription$, ListSubscriptionPaymentsOrder$inboundSchema, ListSubscriptionPaymentsOrder$outboundSchema, ListSubscriptionPaymentsOrder$, ListSubscriptionPaymentsTerminal$inboundSchema, ListSubscriptionPaymentsTerminal$outboundSchema, ListSubscriptionPaymentsTerminal$, ListSubscriptionPaymentsPaymentDocumentation$inboundSchema, ListSubscriptionPaymentsPaymentDocumentation$outboundSchema, ListSubscriptionPaymentsPaymentDocumentation$, ListSubscriptionPaymentsPaymentLinks$inboundSchema, ListSubscriptionPaymentsPaymentLinks$outboundSchema, ListSubscriptionPaymentsPaymentLinks$, ListSubscriptionPaymentsPaymentOutput$inboundSchema, ListSubscriptionPaymentsPaymentOutput$outboundSchema, ListSubscriptionPaymentsPaymentOutput$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsSelf$inboundSchema, ListSubscriptionPaymentsSelf$outboundSchema, ListSubscriptionPaymentsSelf$, ListSubscriptionPaymentsPrevious$inboundSchema, ListSubscriptionPaymentsPrevious$outboundSchema, ListSubscriptionPaymentsPrevious$, ListSubscriptionPaymentsNext$inboundSchema, ListSubscriptionPaymentsNext$outboundSchema, ListSubscriptionPaymentsNext$, ListSubscriptionPaymentsDocumentation$inboundSchema, ListSubscriptionPaymentsDocumentation$outboundSchema, ListSubscriptionPaymentsDocumentation$, ListSubscriptionPaymentsLinks$inboundSchema, ListSubscriptionPaymentsLinks$outboundSchema, ListSubscriptionPaymentsLinks$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
81717
+ var ListSubscriptionPaymentsSort, ListSubscriptionPaymentsMode, ListSubscriptionPaymentsLineType, ListSubscriptionPaymentsCategory, ListSubscriptionPaymentsInterval, ListSubscriptionPaymentsLocale, ListSubscriptionPaymentsMethod, ListSubscriptionPaymentsCaptureMode, ListSubscriptionPaymentsRoutingMode, ListSubscriptionPaymentsRoutingType, ListSubscriptionPaymentsSequenceType, ListSubscriptionPaymentsStatus, ListSubscriptionPaymentsSort$inboundSchema, ListSubscriptionPaymentsSort$outboundSchema, ListSubscriptionPaymentsSort$, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsBadRequestDocumentation$inboundSchema, ListSubscriptionPaymentsBadRequestDocumentation$outboundSchema, ListSubscriptionPaymentsBadRequestDocumentation$, ListSubscriptionPaymentsBadRequestLinks$inboundSchema, ListSubscriptionPaymentsBadRequestLinks$outboundSchema, ListSubscriptionPaymentsBadRequestLinks$, ListSubscriptionPaymentsMode$inboundSchema, ListSubscriptionPaymentsMode$outboundSchema, ListSubscriptionPaymentsMode$, ListSubscriptionPaymentsAmount$inboundSchema, ListSubscriptionPaymentsAmount$outboundSchema, ListSubscriptionPaymentsAmount$, ListSubscriptionPaymentsAmountRefunded$inboundSchema, ListSubscriptionPaymentsAmountRefunded$outboundSchema, ListSubscriptionPaymentsAmountRefunded$, ListSubscriptionPaymentsAmountRemaining$inboundSchema, ListSubscriptionPaymentsAmountRemaining$outboundSchema, ListSubscriptionPaymentsAmountRemaining$, ListSubscriptionPaymentsAmountCaptured$inboundSchema, ListSubscriptionPaymentsAmountCaptured$outboundSchema, ListSubscriptionPaymentsAmountCaptured$, ListSubscriptionPaymentsAmountChargedBack$inboundSchema, ListSubscriptionPaymentsAmountChargedBack$outboundSchema, ListSubscriptionPaymentsAmountChargedBack$, ListSubscriptionPaymentsSettlementAmount$inboundSchema, ListSubscriptionPaymentsSettlementAmount$outboundSchema, ListSubscriptionPaymentsSettlementAmount$, ListSubscriptionPaymentsLineType$inboundSchema, ListSubscriptionPaymentsLineType$outboundSchema, ListSubscriptionPaymentsLineType$, ListSubscriptionPaymentsUnitPrice$inboundSchema, ListSubscriptionPaymentsUnitPrice$outboundSchema, ListSubscriptionPaymentsUnitPrice$, ListSubscriptionPaymentsDiscountAmount$inboundSchema, ListSubscriptionPaymentsDiscountAmount$outboundSchema, ListSubscriptionPaymentsDiscountAmount$, ListSubscriptionPaymentsTotalAmount$inboundSchema, ListSubscriptionPaymentsTotalAmount$outboundSchema, ListSubscriptionPaymentsTotalAmount$, ListSubscriptionPaymentsVatAmount$inboundSchema, ListSubscriptionPaymentsVatAmount$outboundSchema, ListSubscriptionPaymentsVatAmount$, ListSubscriptionPaymentsCategory$inboundSchema, ListSubscriptionPaymentsCategory$outboundSchema, ListSubscriptionPaymentsCategory$, ListSubscriptionPaymentsInterval$inboundSchema, ListSubscriptionPaymentsInterval$outboundSchema, ListSubscriptionPaymentsInterval$, ListSubscriptionPaymentsRecurringAmount$inboundSchema, ListSubscriptionPaymentsRecurringAmount$outboundSchema, ListSubscriptionPaymentsRecurringAmount$, ListSubscriptionPaymentsRecurring$inboundSchema, ListSubscriptionPaymentsRecurring$outboundSchema, ListSubscriptionPaymentsRecurring$, ListSubscriptionPaymentsLine$inboundSchema, ListSubscriptionPaymentsLine$outboundSchema, ListSubscriptionPaymentsLine$, ListSubscriptionPaymentsBillingAddress$inboundSchema, ListSubscriptionPaymentsBillingAddress$outboundSchema, ListSubscriptionPaymentsBillingAddress$, ListSubscriptionPaymentsShippingAddress$inboundSchema, ListSubscriptionPaymentsShippingAddress$outboundSchema, ListSubscriptionPaymentsShippingAddress$, ListSubscriptionPaymentsLocale$inboundSchema, ListSubscriptionPaymentsLocale$outboundSchema, ListSubscriptionPaymentsLocale$, ListSubscriptionPaymentsMethod$inboundSchema, ListSubscriptionPaymentsMethod$outboundSchema, ListSubscriptionPaymentsMethod$, ListSubscriptionPaymentsMetadata$inboundSchema, ListSubscriptionPaymentsMetadata$outboundSchema, ListSubscriptionPaymentsMetadata$, ListSubscriptionPaymentsCaptureMode$inboundSchema, ListSubscriptionPaymentsCaptureMode$outboundSchema, ListSubscriptionPaymentsCaptureMode$, ListSubscriptionPaymentsApplicationFeeAmount$inboundSchema, ListSubscriptionPaymentsApplicationFeeAmount$outboundSchema, ListSubscriptionPaymentsApplicationFeeAmount$, ListSubscriptionPaymentsApplicationFee$inboundSchema, ListSubscriptionPaymentsApplicationFee$outboundSchema, ListSubscriptionPaymentsApplicationFee$, ListSubscriptionPaymentsRoutingMode$inboundSchema, ListSubscriptionPaymentsRoutingMode$outboundSchema, ListSubscriptionPaymentsRoutingMode$, ListSubscriptionPaymentsRoutingAmount$inboundSchema, ListSubscriptionPaymentsRoutingAmount$outboundSchema, ListSubscriptionPaymentsRoutingAmount$, ListSubscriptionPaymentsRoutingType$inboundSchema, ListSubscriptionPaymentsRoutingType$outboundSchema, ListSubscriptionPaymentsRoutingType$, ListSubscriptionPaymentsDestination$inboundSchema, ListSubscriptionPaymentsDestination$outboundSchema, ListSubscriptionPaymentsDestination$, ListSubscriptionPaymentsRoutingSelf$inboundSchema, ListSubscriptionPaymentsRoutingSelf$outboundSchema, ListSubscriptionPaymentsRoutingSelf$, ListSubscriptionPaymentsRoutingPayment$inboundSchema, ListSubscriptionPaymentsRoutingPayment$outboundSchema, ListSubscriptionPaymentsRoutingPayment$, ListSubscriptionPaymentsRoutingLinks$inboundSchema, ListSubscriptionPaymentsRoutingLinks$outboundSchema, ListSubscriptionPaymentsRoutingLinks$, ListSubscriptionPaymentsRouting$inboundSchema, ListSubscriptionPaymentsRouting$outboundSchema, ListSubscriptionPaymentsRouting$, ListSubscriptionPaymentsSequenceType$inboundSchema, ListSubscriptionPaymentsSequenceType$outboundSchema, ListSubscriptionPaymentsSequenceType$, ListSubscriptionPaymentsStatus$inboundSchema, ListSubscriptionPaymentsStatus$outboundSchema, ListSubscriptionPaymentsStatus$, ListSubscriptionPaymentsStatusReason$inboundSchema, ListSubscriptionPaymentsStatusReason$outboundSchema, ListSubscriptionPaymentsStatusReason$, ListSubscriptionPaymentsPaymentSelf$inboundSchema, ListSubscriptionPaymentsPaymentSelf$outboundSchema, ListSubscriptionPaymentsPaymentSelf$, ListSubscriptionPaymentsCheckout$inboundSchema, ListSubscriptionPaymentsCheckout$outboundSchema, ListSubscriptionPaymentsCheckout$, ListSubscriptionPaymentsMobileAppCheckout$inboundSchema, ListSubscriptionPaymentsMobileAppCheckout$outboundSchema, ListSubscriptionPaymentsMobileAppCheckout$, ListSubscriptionPaymentsChangePaymentState$inboundSchema, ListSubscriptionPaymentsChangePaymentState$outboundSchema, ListSubscriptionPaymentsChangePaymentState$, ListSubscriptionPaymentsDashboard$inboundSchema, ListSubscriptionPaymentsDashboard$outboundSchema, ListSubscriptionPaymentsDashboard$, ListSubscriptionPaymentsRefunds$inboundSchema, ListSubscriptionPaymentsRefunds$outboundSchema, ListSubscriptionPaymentsRefunds$, ListSubscriptionPaymentsChargebacks$inboundSchema, ListSubscriptionPaymentsChargebacks$outboundSchema, ListSubscriptionPaymentsChargebacks$, ListSubscriptionPaymentsCaptures$inboundSchema, ListSubscriptionPaymentsCaptures$outboundSchema, ListSubscriptionPaymentsCaptures$, ListSubscriptionPaymentsSettlement$inboundSchema, ListSubscriptionPaymentsSettlement$outboundSchema, ListSubscriptionPaymentsSettlement$, ListSubscriptionPaymentsCustomer$inboundSchema, ListSubscriptionPaymentsCustomer$outboundSchema, ListSubscriptionPaymentsCustomer$, ListSubscriptionPaymentsMandate$inboundSchema, ListSubscriptionPaymentsMandate$outboundSchema, ListSubscriptionPaymentsMandate$, ListSubscriptionPaymentsSubscription$inboundSchema, ListSubscriptionPaymentsSubscription$outboundSchema, ListSubscriptionPaymentsSubscription$, ListSubscriptionPaymentsOrder$inboundSchema, ListSubscriptionPaymentsOrder$outboundSchema, ListSubscriptionPaymentsOrder$, ListSubscriptionPaymentsTerminal$inboundSchema, ListSubscriptionPaymentsTerminal$outboundSchema, ListSubscriptionPaymentsTerminal$, ListSubscriptionPaymentsPaymentDocumentation$inboundSchema, ListSubscriptionPaymentsPaymentDocumentation$outboundSchema, ListSubscriptionPaymentsPaymentDocumentation$, ListSubscriptionPaymentsPaymentLinks$inboundSchema, ListSubscriptionPaymentsPaymentLinks$outboundSchema, ListSubscriptionPaymentsPaymentLinks$, ListSubscriptionPaymentsPaymentOutput$inboundSchema, ListSubscriptionPaymentsPaymentOutput$outboundSchema, ListSubscriptionPaymentsPaymentOutput$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsSelf$inboundSchema, ListSubscriptionPaymentsSelf$outboundSchema, ListSubscriptionPaymentsSelf$, ListSubscriptionPaymentsPrevious$inboundSchema, ListSubscriptionPaymentsPrevious$outboundSchema, ListSubscriptionPaymentsPrevious$, ListSubscriptionPaymentsNext$inboundSchema, ListSubscriptionPaymentsNext$outboundSchema, ListSubscriptionPaymentsNext$, ListSubscriptionPaymentsDocumentation$inboundSchema, ListSubscriptionPaymentsDocumentation$outboundSchema, ListSubscriptionPaymentsDocumentation$, ListSubscriptionPaymentsLinks$inboundSchema, ListSubscriptionPaymentsLinks$outboundSchema, ListSubscriptionPaymentsLinks$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
82378
81718
  var init_listsubscriptionpayments = __esm(() => {
82379
81719
  init_esm();
82380
81720
  init_primitives();
@@ -82830,26 +82170,12 @@ var init_listsubscriptionpayments = __esm(() => {
82830
82170
  ListSubscriptionPaymentsMethod$.inboundSchema = ListSubscriptionPaymentsMethod$inboundSchema;
82831
82171
  ListSubscriptionPaymentsMethod$.outboundSchema = ListSubscriptionPaymentsMethod$outboundSchema;
82832
82172
  })(ListSubscriptionPaymentsMethod$ ||= {});
82833
- ListSubscriptionPaymentsMetadata$inboundSchema = objectType({});
82834
- ListSubscriptionPaymentsMetadata$outboundSchema = objectType({});
82173
+ ListSubscriptionPaymentsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
82174
+ ListSubscriptionPaymentsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
82835
82175
  ((ListSubscriptionPaymentsMetadata$) => {
82836
82176
  ListSubscriptionPaymentsMetadata$.inboundSchema = ListSubscriptionPaymentsMetadata$inboundSchema;
82837
82177
  ListSubscriptionPaymentsMetadata$.outboundSchema = ListSubscriptionPaymentsMetadata$outboundSchema;
82838
82178
  })(ListSubscriptionPaymentsMetadata$ ||= {});
82839
- ListSubscriptionPaymentsMetadataUnion$inboundSchema = unionType([
82840
- lazyType(() => ListSubscriptionPaymentsMetadata$inboundSchema),
82841
- stringType(),
82842
- arrayType(stringType())
82843
- ]);
82844
- ListSubscriptionPaymentsMetadataUnion$outboundSchema = unionType([
82845
- lazyType(() => ListSubscriptionPaymentsMetadata$outboundSchema),
82846
- stringType(),
82847
- arrayType(stringType())
82848
- ]);
82849
- ((ListSubscriptionPaymentsMetadataUnion$) => {
82850
- ListSubscriptionPaymentsMetadataUnion$.inboundSchema = ListSubscriptionPaymentsMetadataUnion$inboundSchema;
82851
- ListSubscriptionPaymentsMetadataUnion$.outboundSchema = ListSubscriptionPaymentsMetadataUnion$outboundSchema;
82852
- })(ListSubscriptionPaymentsMetadataUnion$ ||= {});
82853
82179
  ListSubscriptionPaymentsCaptureMode$inboundSchema = nativeEnumType(ListSubscriptionPaymentsCaptureMode);
82854
82180
  ListSubscriptionPaymentsCaptureMode$outboundSchema = ListSubscriptionPaymentsCaptureMode$inboundSchema;
82855
82181
  ((ListSubscriptionPaymentsCaptureMode$) => {
@@ -83247,11 +82573,7 @@ var init_listsubscriptionpayments = __esm(() => {
83247
82573
  countryCode: nullableType(stringType()).optional(),
83248
82574
  method: nullableType(ListSubscriptionPaymentsMethod$inboundSchema).optional(),
83249
82575
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
83250
- metadata: nullableType(unionType([
83251
- lazyType(() => ListSubscriptionPaymentsMetadata$inboundSchema),
83252
- stringType(),
83253
- arrayType(stringType())
83254
- ])).optional(),
82576
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
83255
82577
  captureMode: nullableType(ListSubscriptionPaymentsCaptureMode$inboundSchema).optional(),
83256
82578
  captureDelay: nullableType(stringType()).optional(),
83257
82579
  captureBefore: nullableType(stringType()).optional(),
@@ -83302,11 +82624,7 @@ var init_listsubscriptionpayments = __esm(() => {
83302
82624
  countryCode: nullableType(stringType()).optional(),
83303
82625
  method: nullableType(ListSubscriptionPaymentsMethod$outboundSchema).optional(),
83304
82626
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
83305
- metadata: nullableType(unionType([
83306
- lazyType(() => ListSubscriptionPaymentsMetadata$outboundSchema),
83307
- stringType(),
83308
- arrayType(stringType())
83309
- ])).optional(),
82627
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
83310
82628
  captureMode: nullableType(ListSubscriptionPaymentsCaptureMode$outboundSchema).optional(),
83311
82629
  captureDelay: nullableType(stringType()).optional(),
83312
82630
  captureBefore: nullableType(stringType()).optional(),
@@ -83441,7 +82759,7 @@ var init_listsubscriptionpayments = __esm(() => {
83441
82759
  });
83442
82760
 
83443
82761
  // src/models/operations/listsubscriptions.ts
83444
- 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$;
82762
+ 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$, 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$;
83445
82763
  var init_listsubscriptions = __esm(() => {
83446
82764
  init_esm();
83447
82765
  init_primitives();
@@ -83598,26 +82916,12 @@ var init_listsubscriptions = __esm(() => {
83598
82916
  ListSubscriptionsApplicationFee$.inboundSchema = ListSubscriptionsApplicationFee$inboundSchema;
83599
82917
  ListSubscriptionsApplicationFee$.outboundSchema = ListSubscriptionsApplicationFee$outboundSchema;
83600
82918
  })(ListSubscriptionsApplicationFee$ ||= {});
83601
- ListSubscriptionsMetadata$inboundSchema = objectType({});
83602
- ListSubscriptionsMetadata$outboundSchema = objectType({});
82919
+ ListSubscriptionsMetadata$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
82920
+ ListSubscriptionsMetadata$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
83603
82921
  ((ListSubscriptionsMetadata$) => {
83604
82922
  ListSubscriptionsMetadata$.inboundSchema = ListSubscriptionsMetadata$inboundSchema;
83605
82923
  ListSubscriptionsMetadata$.outboundSchema = ListSubscriptionsMetadata$outboundSchema;
83606
82924
  })(ListSubscriptionsMetadata$ ||= {});
83607
- ListSubscriptionsMetadataUnion$inboundSchema = unionType([
83608
- lazyType(() => ListSubscriptionsMetadata$inboundSchema),
83609
- stringType(),
83610
- arrayType(stringType())
83611
- ]);
83612
- ListSubscriptionsMetadataUnion$outboundSchema = unionType([
83613
- lazyType(() => ListSubscriptionsMetadata$outboundSchema),
83614
- stringType(),
83615
- arrayType(stringType())
83616
- ]);
83617
- ((ListSubscriptionsMetadataUnion$) => {
83618
- ListSubscriptionsMetadataUnion$.inboundSchema = ListSubscriptionsMetadataUnion$inboundSchema;
83619
- ListSubscriptionsMetadataUnion$.outboundSchema = ListSubscriptionsMetadataUnion$outboundSchema;
83620
- })(ListSubscriptionsMetadataUnion$ ||= {});
83621
82925
  ListSubscriptionsSubscriptionSelf$inboundSchema = objectType({
83622
82926
  href: stringType(),
83623
82927
  type: stringType()
@@ -83724,11 +83028,7 @@ var init_listsubscriptions = __esm(() => {
83724
83028
  description: stringType(),
83725
83029
  method: nullableType(ListSubscriptionsMethod$inboundSchema),
83726
83030
  applicationFee: lazyType(() => ListSubscriptionsApplicationFee$inboundSchema).optional(),
83727
- metadata: nullableType(unionType([
83728
- lazyType(() => ListSubscriptionsMetadata$inboundSchema),
83729
- stringType(),
83730
- arrayType(stringType())
83731
- ])),
83031
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
83732
83032
  webhookUrl: stringType(),
83733
83033
  customerId: stringType(),
83734
83034
  mandateId: nullableType(stringType()).optional(),
@@ -83754,11 +83054,7 @@ var init_listsubscriptions = __esm(() => {
83754
83054
  description: stringType(),
83755
83055
  method: nullableType(ListSubscriptionsMethod$outboundSchema),
83756
83056
  applicationFee: lazyType(() => ListSubscriptionsApplicationFee$outboundSchema).optional(),
83757
- metadata: nullableType(unionType([
83758
- lazyType(() => ListSubscriptionsMetadata$outboundSchema),
83759
- stringType(),
83760
- arrayType(stringType())
83761
- ])),
83057
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
83762
83058
  webhookUrl: stringType(),
83763
83059
  customerId: stringType(),
83764
83060
  mandateId: nullableType(stringType()).optional(),
@@ -85125,7 +84421,7 @@ var init_testwebhook = __esm(() => {
85125
84421
  });
85126
84422
 
85127
84423
  // src/models/operations/updatecustomer.ts
85128
- var UpdateCustomerLocaleRequest, UpdateCustomerMode, UpdateCustomerLocaleResponse, UpdateCustomerLocaleRequest$inboundSchema, UpdateCustomerLocaleRequest$outboundSchema, UpdateCustomerLocaleRequest$, UpdateCustomerMetadataRequest$inboundSchema, UpdateCustomerMetadataRequest$outboundSchema, UpdateCustomerMetadataRequest$, UpdateCustomerMetadataRequestUnion$inboundSchema, UpdateCustomerMetadataRequestUnion$outboundSchema, UpdateCustomerMetadataRequestUnion$, UpdateCustomerRequestBody$inboundSchema, UpdateCustomerRequestBody$outboundSchema, UpdateCustomerRequestBody$, UpdateCustomerRequest$inboundSchema, UpdateCustomerRequest$outboundSchema, UpdateCustomerRequest$, UpdateCustomerNotFoundDocumentation$inboundSchema, UpdateCustomerNotFoundDocumentation$outboundSchema, UpdateCustomerNotFoundDocumentation$, UpdateCustomerNotFoundLinks$inboundSchema, UpdateCustomerNotFoundLinks$outboundSchema, UpdateCustomerNotFoundLinks$, UpdateCustomerMode$inboundSchema, UpdateCustomerMode$outboundSchema, UpdateCustomerMode$, UpdateCustomerLocaleResponse$inboundSchema, UpdateCustomerLocaleResponse$outboundSchema, UpdateCustomerLocaleResponse$, UpdateCustomerMetadataResponse$inboundSchema, UpdateCustomerMetadataResponse$outboundSchema, UpdateCustomerMetadataResponse$, UpdateCustomerMetadataResponseUnion$inboundSchema, UpdateCustomerMetadataResponseUnion$outboundSchema, UpdateCustomerMetadataResponseUnion$, UpdateCustomerSelf$inboundSchema, UpdateCustomerSelf$outboundSchema, UpdateCustomerSelf$, UpdateCustomerDashboard$inboundSchema, UpdateCustomerDashboard$outboundSchema, UpdateCustomerDashboard$, UpdateCustomerPayments$inboundSchema, UpdateCustomerPayments$outboundSchema, UpdateCustomerPayments$, UpdateCustomerMandates$inboundSchema, UpdateCustomerMandates$outboundSchema, UpdateCustomerMandates$, UpdateCustomerSubscriptions$inboundSchema, UpdateCustomerSubscriptions$outboundSchema, UpdateCustomerSubscriptions$, UpdateCustomerDocumentation$inboundSchema, UpdateCustomerDocumentation$outboundSchema, UpdateCustomerDocumentation$, UpdateCustomerLinks$inboundSchema, UpdateCustomerLinks$outboundSchema, UpdateCustomerLinks$, UpdateCustomerResponse$inboundSchema, UpdateCustomerResponse$outboundSchema, UpdateCustomerResponse$;
84424
+ var UpdateCustomerLocaleRequest, UpdateCustomerMode, UpdateCustomerLocaleResponse, UpdateCustomerLocaleRequest$inboundSchema, UpdateCustomerLocaleRequest$outboundSchema, UpdateCustomerLocaleRequest$, UpdateCustomerMetadataRequest$inboundSchema, UpdateCustomerMetadataRequest$outboundSchema, UpdateCustomerMetadataRequest$, UpdateCustomerRequestBody$inboundSchema, UpdateCustomerRequestBody$outboundSchema, UpdateCustomerRequestBody$, UpdateCustomerRequest$inboundSchema, UpdateCustomerRequest$outboundSchema, UpdateCustomerRequest$, UpdateCustomerNotFoundDocumentation$inboundSchema, UpdateCustomerNotFoundDocumentation$outboundSchema, UpdateCustomerNotFoundDocumentation$, UpdateCustomerNotFoundLinks$inboundSchema, UpdateCustomerNotFoundLinks$outboundSchema, UpdateCustomerNotFoundLinks$, UpdateCustomerMode$inboundSchema, UpdateCustomerMode$outboundSchema, UpdateCustomerMode$, UpdateCustomerLocaleResponse$inboundSchema, UpdateCustomerLocaleResponse$outboundSchema, UpdateCustomerLocaleResponse$, UpdateCustomerMetadataResponse$inboundSchema, UpdateCustomerMetadataResponse$outboundSchema, UpdateCustomerMetadataResponse$, UpdateCustomerSelf$inboundSchema, UpdateCustomerSelf$outboundSchema, UpdateCustomerSelf$, UpdateCustomerDashboard$inboundSchema, UpdateCustomerDashboard$outboundSchema, UpdateCustomerDashboard$, UpdateCustomerPayments$inboundSchema, UpdateCustomerPayments$outboundSchema, UpdateCustomerPayments$, UpdateCustomerMandates$inboundSchema, UpdateCustomerMandates$outboundSchema, UpdateCustomerMandates$, UpdateCustomerSubscriptions$inboundSchema, UpdateCustomerSubscriptions$outboundSchema, UpdateCustomerSubscriptions$, UpdateCustomerDocumentation$inboundSchema, UpdateCustomerDocumentation$outboundSchema, UpdateCustomerDocumentation$, UpdateCustomerLinks$inboundSchema, UpdateCustomerLinks$outboundSchema, UpdateCustomerLinks$, UpdateCustomerResponse$inboundSchema, UpdateCustomerResponse$outboundSchema, UpdateCustomerResponse$;
85129
84425
  var init_updatecustomer = __esm(() => {
85130
84426
  init_esm();
85131
84427
  init_primitives();
@@ -85187,46 +84483,24 @@ var init_updatecustomer = __esm(() => {
85187
84483
  UpdateCustomerLocaleRequest$.inboundSchema = UpdateCustomerLocaleRequest$inboundSchema;
85188
84484
  UpdateCustomerLocaleRequest$.outboundSchema = UpdateCustomerLocaleRequest$outboundSchema;
85189
84485
  })(UpdateCustomerLocaleRequest$ ||= {});
85190
- UpdateCustomerMetadataRequest$inboundSchema = objectType({});
85191
- UpdateCustomerMetadataRequest$outboundSchema = objectType({});
84486
+ UpdateCustomerMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
84487
+ UpdateCustomerMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
85192
84488
  ((UpdateCustomerMetadataRequest$) => {
85193
84489
  UpdateCustomerMetadataRequest$.inboundSchema = UpdateCustomerMetadataRequest$inboundSchema;
85194
84490
  UpdateCustomerMetadataRequest$.outboundSchema = UpdateCustomerMetadataRequest$outboundSchema;
85195
84491
  })(UpdateCustomerMetadataRequest$ ||= {});
85196
- UpdateCustomerMetadataRequestUnion$inboundSchema = unionType([
85197
- lazyType(() => UpdateCustomerMetadataRequest$inboundSchema),
85198
- stringType(),
85199
- arrayType(stringType())
85200
- ]);
85201
- UpdateCustomerMetadataRequestUnion$outboundSchema = unionType([
85202
- lazyType(() => UpdateCustomerMetadataRequest$outboundSchema),
85203
- stringType(),
85204
- arrayType(stringType())
85205
- ]);
85206
- ((UpdateCustomerMetadataRequestUnion$) => {
85207
- UpdateCustomerMetadataRequestUnion$.inboundSchema = UpdateCustomerMetadataRequestUnion$inboundSchema;
85208
- UpdateCustomerMetadataRequestUnion$.outboundSchema = UpdateCustomerMetadataRequestUnion$outboundSchema;
85209
- })(UpdateCustomerMetadataRequestUnion$ ||= {});
85210
84492
  UpdateCustomerRequestBody$inboundSchema = objectType({
85211
84493
  name: nullableType(stringType()).optional(),
85212
84494
  email: nullableType(stringType()).optional(),
85213
84495
  locale: nullableType(UpdateCustomerLocaleRequest$inboundSchema).optional(),
85214
- metadata: nullableType(unionType([
85215
- lazyType(() => UpdateCustomerMetadataRequest$inboundSchema),
85216
- stringType(),
85217
- arrayType(stringType())
85218
- ])).optional(),
84496
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
85219
84497
  testmode: nullableType(booleanType()).optional()
85220
84498
  });
85221
84499
  UpdateCustomerRequestBody$outboundSchema = objectType({
85222
84500
  name: nullableType(stringType()).optional(),
85223
84501
  email: nullableType(stringType()).optional(),
85224
84502
  locale: nullableType(UpdateCustomerLocaleRequest$outboundSchema).optional(),
85225
- metadata: nullableType(unionType([
85226
- lazyType(() => UpdateCustomerMetadataRequest$outboundSchema),
85227
- stringType(),
85228
- arrayType(stringType())
85229
- ])).optional(),
84503
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
85230
84504
  testmode: nullableType(booleanType()).optional()
85231
84505
  });
85232
84506
  ((UpdateCustomerRequestBody$) => {
@@ -85287,26 +84561,12 @@ var init_updatecustomer = __esm(() => {
85287
84561
  UpdateCustomerLocaleResponse$.inboundSchema = UpdateCustomerLocaleResponse$inboundSchema;
85288
84562
  UpdateCustomerLocaleResponse$.outboundSchema = UpdateCustomerLocaleResponse$outboundSchema;
85289
84563
  })(UpdateCustomerLocaleResponse$ ||= {});
85290
- UpdateCustomerMetadataResponse$inboundSchema = objectType({});
85291
- UpdateCustomerMetadataResponse$outboundSchema = objectType({});
84564
+ UpdateCustomerMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
84565
+ UpdateCustomerMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
85292
84566
  ((UpdateCustomerMetadataResponse$) => {
85293
84567
  UpdateCustomerMetadataResponse$.inboundSchema = UpdateCustomerMetadataResponse$inboundSchema;
85294
84568
  UpdateCustomerMetadataResponse$.outboundSchema = UpdateCustomerMetadataResponse$outboundSchema;
85295
84569
  })(UpdateCustomerMetadataResponse$ ||= {});
85296
- UpdateCustomerMetadataResponseUnion$inboundSchema = unionType([
85297
- lazyType(() => UpdateCustomerMetadataResponse$inboundSchema),
85298
- stringType(),
85299
- arrayType(stringType())
85300
- ]);
85301
- UpdateCustomerMetadataResponseUnion$outboundSchema = unionType([
85302
- lazyType(() => UpdateCustomerMetadataResponse$outboundSchema),
85303
- stringType(),
85304
- arrayType(stringType())
85305
- ]);
85306
- ((UpdateCustomerMetadataResponseUnion$) => {
85307
- UpdateCustomerMetadataResponseUnion$.inboundSchema = UpdateCustomerMetadataResponseUnion$inboundSchema;
85308
- UpdateCustomerMetadataResponseUnion$.outboundSchema = UpdateCustomerMetadataResponseUnion$outboundSchema;
85309
- })(UpdateCustomerMetadataResponseUnion$ ||= {});
85310
84570
  UpdateCustomerSelf$inboundSchema = objectType({
85311
84571
  href: stringType(),
85312
84572
  type: stringType()
@@ -85406,11 +84666,7 @@ var init_updatecustomer = __esm(() => {
85406
84666
  name: nullableType(stringType()),
85407
84667
  email: nullableType(stringType()),
85408
84668
  locale: nullableType(UpdateCustomerLocaleResponse$inboundSchema),
85409
- metadata: nullableType(unionType([
85410
- lazyType(() => UpdateCustomerMetadataResponse$inboundSchema),
85411
- stringType(),
85412
- arrayType(stringType())
85413
- ])),
84669
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
85414
84670
  createdAt: stringType(),
85415
84671
  _links: lazyType(() => UpdateCustomerLinks$inboundSchema)
85416
84672
  }).transform((v2) => {
@@ -85425,11 +84681,7 @@ var init_updatecustomer = __esm(() => {
85425
84681
  name: nullableType(stringType()),
85426
84682
  email: nullableType(stringType()),
85427
84683
  locale: nullableType(UpdateCustomerLocaleResponse$outboundSchema),
85428
- metadata: nullableType(unionType([
85429
- lazyType(() => UpdateCustomerMetadataResponse$outboundSchema),
85430
- stringType(),
85431
- arrayType(stringType())
85432
- ])),
84684
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
85433
84685
  createdAt: stringType(),
85434
84686
  links: lazyType(() => UpdateCustomerLinks$outboundSchema)
85435
84687
  }).transform((v2) => {
@@ -85444,7 +84696,7 @@ var init_updatecustomer = __esm(() => {
85444
84696
  });
85445
84697
 
85446
84698
  // src/models/operations/updatepayment.ts
85447
- var UpdatePaymentMethodRequest, UpdatePaymentLocaleRequest, UpdatePaymentMode, UpdatePaymentLineType, UpdatePaymentCategory, UpdatePaymentInterval, UpdatePaymentLocaleResponse, UpdatePaymentMethodResponse, UpdatePaymentCaptureMode, UpdatePaymentRoutingMode, UpdatePaymentRoutingType, UpdatePaymentSequenceType, UpdatePaymentStatus, UpdatePaymentMetadataRequest$inboundSchema, UpdatePaymentMetadataRequest$outboundSchema, UpdatePaymentMetadataRequest$, UpdatePaymentMetadataRequestUnion$inboundSchema, UpdatePaymentMetadataRequestUnion$outboundSchema, UpdatePaymentMetadataRequestUnion$, UpdatePaymentMethodRequest$inboundSchema, UpdatePaymentMethodRequest$outboundSchema, UpdatePaymentMethodRequest$, UpdatePaymentLocaleRequest$inboundSchema, UpdatePaymentLocaleRequest$outboundSchema, UpdatePaymentLocaleRequest$, UpdatePaymentBillingAddressRequest$inboundSchema, UpdatePaymentBillingAddressRequest$outboundSchema, UpdatePaymentBillingAddressRequest$, UpdatePaymentShippingAddressRequest$inboundSchema, UpdatePaymentShippingAddressRequest$outboundSchema, UpdatePaymentShippingAddressRequest$, UpdatePaymentRequestBody$inboundSchema, UpdatePaymentRequestBody$outboundSchema, UpdatePaymentRequestBody$, UpdatePaymentRequest$inboundSchema, UpdatePaymentRequest$outboundSchema, UpdatePaymentRequest$, UpdatePaymentUnprocessableEntityDocumentation$inboundSchema, UpdatePaymentUnprocessableEntityDocumentation$outboundSchema, UpdatePaymentUnprocessableEntityDocumentation$, UpdatePaymentUnprocessableEntityLinks$inboundSchema, UpdatePaymentUnprocessableEntityLinks$outboundSchema, UpdatePaymentUnprocessableEntityLinks$, UpdatePaymentNotFoundDocumentation$inboundSchema, UpdatePaymentNotFoundDocumentation$outboundSchema, UpdatePaymentNotFoundDocumentation$, UpdatePaymentNotFoundLinks$inboundSchema, UpdatePaymentNotFoundLinks$outboundSchema, UpdatePaymentNotFoundLinks$, UpdatePaymentMode$inboundSchema, UpdatePaymentMode$outboundSchema, UpdatePaymentMode$, UpdatePaymentAmount$inboundSchema, UpdatePaymentAmount$outboundSchema, UpdatePaymentAmount$, UpdatePaymentAmountRefunded$inboundSchema, UpdatePaymentAmountRefunded$outboundSchema, UpdatePaymentAmountRefunded$, UpdatePaymentAmountRemaining$inboundSchema, UpdatePaymentAmountRemaining$outboundSchema, UpdatePaymentAmountRemaining$, UpdatePaymentAmountCaptured$inboundSchema, UpdatePaymentAmountCaptured$outboundSchema, UpdatePaymentAmountCaptured$, UpdatePaymentAmountChargedBack$inboundSchema, UpdatePaymentAmountChargedBack$outboundSchema, UpdatePaymentAmountChargedBack$, UpdatePaymentSettlementAmount$inboundSchema, UpdatePaymentSettlementAmount$outboundSchema, UpdatePaymentSettlementAmount$, UpdatePaymentLineType$inboundSchema, UpdatePaymentLineType$outboundSchema, UpdatePaymentLineType$, UpdatePaymentUnitPrice$inboundSchema, UpdatePaymentUnitPrice$outboundSchema, UpdatePaymentUnitPrice$, UpdatePaymentDiscountAmount$inboundSchema, UpdatePaymentDiscountAmount$outboundSchema, UpdatePaymentDiscountAmount$, UpdatePaymentTotalAmount$inboundSchema, UpdatePaymentTotalAmount$outboundSchema, UpdatePaymentTotalAmount$, UpdatePaymentVatAmount$inboundSchema, UpdatePaymentVatAmount$outboundSchema, UpdatePaymentVatAmount$, UpdatePaymentCategory$inboundSchema, UpdatePaymentCategory$outboundSchema, UpdatePaymentCategory$, UpdatePaymentInterval$inboundSchema, UpdatePaymentInterval$outboundSchema, UpdatePaymentInterval$, UpdatePaymentRecurringAmount$inboundSchema, UpdatePaymentRecurringAmount$outboundSchema, UpdatePaymentRecurringAmount$, UpdatePaymentRecurring$inboundSchema, UpdatePaymentRecurring$outboundSchema, UpdatePaymentRecurring$, UpdatePaymentLine$inboundSchema, UpdatePaymentLine$outboundSchema, UpdatePaymentLine$, UpdatePaymentBillingAddressResponse$inboundSchema, UpdatePaymentBillingAddressResponse$outboundSchema, UpdatePaymentBillingAddressResponse$, UpdatePaymentShippingAddressResponse$inboundSchema, UpdatePaymentShippingAddressResponse$outboundSchema, UpdatePaymentShippingAddressResponse$, UpdatePaymentLocaleResponse$inboundSchema, UpdatePaymentLocaleResponse$outboundSchema, UpdatePaymentLocaleResponse$, UpdatePaymentMethodResponse$inboundSchema, UpdatePaymentMethodResponse$outboundSchema, UpdatePaymentMethodResponse$, UpdatePaymentMetadataResponse$inboundSchema, UpdatePaymentMetadataResponse$outboundSchema, UpdatePaymentMetadataResponse$, UpdatePaymentMetadataResponseUnion$inboundSchema, UpdatePaymentMetadataResponseUnion$outboundSchema, UpdatePaymentMetadataResponseUnion$, UpdatePaymentCaptureMode$inboundSchema, UpdatePaymentCaptureMode$outboundSchema, UpdatePaymentCaptureMode$, UpdatePaymentApplicationFeeAmount$inboundSchema, UpdatePaymentApplicationFeeAmount$outboundSchema, UpdatePaymentApplicationFeeAmount$, UpdatePaymentApplicationFee$inboundSchema, UpdatePaymentApplicationFee$outboundSchema, UpdatePaymentApplicationFee$, UpdatePaymentRoutingMode$inboundSchema, UpdatePaymentRoutingMode$outboundSchema, UpdatePaymentRoutingMode$, UpdatePaymentRoutingAmount$inboundSchema, UpdatePaymentRoutingAmount$outboundSchema, UpdatePaymentRoutingAmount$, UpdatePaymentRoutingType$inboundSchema, UpdatePaymentRoutingType$outboundSchema, UpdatePaymentRoutingType$, UpdatePaymentDestination$inboundSchema, UpdatePaymentDestination$outboundSchema, UpdatePaymentDestination$, UpdatePaymentRoutingSelf$inboundSchema, UpdatePaymentRoutingSelf$outboundSchema, UpdatePaymentRoutingSelf$, UpdatePaymentPayment$inboundSchema, UpdatePaymentPayment$outboundSchema, UpdatePaymentPayment$, UpdatePaymentRoutingLinks$inboundSchema, UpdatePaymentRoutingLinks$outboundSchema, UpdatePaymentRoutingLinks$, UpdatePaymentRouting$inboundSchema, UpdatePaymentRouting$outboundSchema, UpdatePaymentRouting$, UpdatePaymentSequenceType$inboundSchema, UpdatePaymentSequenceType$outboundSchema, UpdatePaymentSequenceType$, UpdatePaymentStatus$inboundSchema, UpdatePaymentStatus$outboundSchema, UpdatePaymentStatus$, UpdatePaymentStatusReason$inboundSchema, UpdatePaymentStatusReason$outboundSchema, UpdatePaymentStatusReason$, UpdatePaymentSelf$inboundSchema, UpdatePaymentSelf$outboundSchema, UpdatePaymentSelf$, UpdatePaymentCheckout$inboundSchema, UpdatePaymentCheckout$outboundSchema, UpdatePaymentCheckout$, UpdatePaymentMobileAppCheckout$inboundSchema, UpdatePaymentMobileAppCheckout$outboundSchema, UpdatePaymentMobileAppCheckout$, UpdatePaymentChangePaymentState$inboundSchema, UpdatePaymentChangePaymentState$outboundSchema, UpdatePaymentChangePaymentState$, UpdatePaymentDashboard$inboundSchema, UpdatePaymentDashboard$outboundSchema, UpdatePaymentDashboard$, UpdatePaymentRefunds$inboundSchema, UpdatePaymentRefunds$outboundSchema, UpdatePaymentRefunds$, UpdatePaymentChargebacks$inboundSchema, UpdatePaymentChargebacks$outboundSchema, UpdatePaymentChargebacks$, UpdatePaymentCaptures$inboundSchema, UpdatePaymentCaptures$outboundSchema, UpdatePaymentCaptures$, UpdatePaymentSettlement$inboundSchema, UpdatePaymentSettlement$outboundSchema, UpdatePaymentSettlement$, UpdatePaymentCustomer$inboundSchema, UpdatePaymentCustomer$outboundSchema, UpdatePaymentCustomer$, UpdatePaymentMandate$inboundSchema, UpdatePaymentMandate$outboundSchema, UpdatePaymentMandate$, UpdatePaymentSubscription$inboundSchema, UpdatePaymentSubscription$outboundSchema, UpdatePaymentSubscription$, UpdatePaymentOrder$inboundSchema, UpdatePaymentOrder$outboundSchema, UpdatePaymentOrder$, UpdatePaymentTerminal$inboundSchema, UpdatePaymentTerminal$outboundSchema, UpdatePaymentTerminal$, UpdatePaymentDocumentation$inboundSchema, UpdatePaymentDocumentation$outboundSchema, UpdatePaymentDocumentation$, UpdatePaymentLinks$inboundSchema, UpdatePaymentLinks$outboundSchema, UpdatePaymentLinks$, UpdatePaymentResponse$inboundSchema, UpdatePaymentResponse$outboundSchema, UpdatePaymentResponse$;
84699
+ var UpdatePaymentMethodRequest, UpdatePaymentLocaleRequest, UpdatePaymentMode, UpdatePaymentLineType, UpdatePaymentCategory, UpdatePaymentInterval, UpdatePaymentLocaleResponse, UpdatePaymentMethodResponse, UpdatePaymentCaptureMode, UpdatePaymentRoutingMode, UpdatePaymentRoutingType, UpdatePaymentSequenceType, UpdatePaymentStatus, UpdatePaymentMetadataRequest$inboundSchema, UpdatePaymentMetadataRequest$outboundSchema, UpdatePaymentMetadataRequest$, UpdatePaymentMethodRequest$inboundSchema, UpdatePaymentMethodRequest$outboundSchema, UpdatePaymentMethodRequest$, UpdatePaymentLocaleRequest$inboundSchema, UpdatePaymentLocaleRequest$outboundSchema, UpdatePaymentLocaleRequest$, UpdatePaymentBillingAddressRequest$inboundSchema, UpdatePaymentBillingAddressRequest$outboundSchema, UpdatePaymentBillingAddressRequest$, UpdatePaymentShippingAddressRequest$inboundSchema, UpdatePaymentShippingAddressRequest$outboundSchema, UpdatePaymentShippingAddressRequest$, UpdatePaymentRequestBody$inboundSchema, UpdatePaymentRequestBody$outboundSchema, UpdatePaymentRequestBody$, UpdatePaymentRequest$inboundSchema, UpdatePaymentRequest$outboundSchema, UpdatePaymentRequest$, UpdatePaymentUnprocessableEntityDocumentation$inboundSchema, UpdatePaymentUnprocessableEntityDocumentation$outboundSchema, UpdatePaymentUnprocessableEntityDocumentation$, UpdatePaymentUnprocessableEntityLinks$inboundSchema, UpdatePaymentUnprocessableEntityLinks$outboundSchema, UpdatePaymentUnprocessableEntityLinks$, UpdatePaymentNotFoundDocumentation$inboundSchema, UpdatePaymentNotFoundDocumentation$outboundSchema, UpdatePaymentNotFoundDocumentation$, UpdatePaymentNotFoundLinks$inboundSchema, UpdatePaymentNotFoundLinks$outboundSchema, UpdatePaymentNotFoundLinks$, UpdatePaymentMode$inboundSchema, UpdatePaymentMode$outboundSchema, UpdatePaymentMode$, UpdatePaymentAmount$inboundSchema, UpdatePaymentAmount$outboundSchema, UpdatePaymentAmount$, UpdatePaymentAmountRefunded$inboundSchema, UpdatePaymentAmountRefunded$outboundSchema, UpdatePaymentAmountRefunded$, UpdatePaymentAmountRemaining$inboundSchema, UpdatePaymentAmountRemaining$outboundSchema, UpdatePaymentAmountRemaining$, UpdatePaymentAmountCaptured$inboundSchema, UpdatePaymentAmountCaptured$outboundSchema, UpdatePaymentAmountCaptured$, UpdatePaymentAmountChargedBack$inboundSchema, UpdatePaymentAmountChargedBack$outboundSchema, UpdatePaymentAmountChargedBack$, UpdatePaymentSettlementAmount$inboundSchema, UpdatePaymentSettlementAmount$outboundSchema, UpdatePaymentSettlementAmount$, UpdatePaymentLineType$inboundSchema, UpdatePaymentLineType$outboundSchema, UpdatePaymentLineType$, UpdatePaymentUnitPrice$inboundSchema, UpdatePaymentUnitPrice$outboundSchema, UpdatePaymentUnitPrice$, UpdatePaymentDiscountAmount$inboundSchema, UpdatePaymentDiscountAmount$outboundSchema, UpdatePaymentDiscountAmount$, UpdatePaymentTotalAmount$inboundSchema, UpdatePaymentTotalAmount$outboundSchema, UpdatePaymentTotalAmount$, UpdatePaymentVatAmount$inboundSchema, UpdatePaymentVatAmount$outboundSchema, UpdatePaymentVatAmount$, UpdatePaymentCategory$inboundSchema, UpdatePaymentCategory$outboundSchema, UpdatePaymentCategory$, UpdatePaymentInterval$inboundSchema, UpdatePaymentInterval$outboundSchema, UpdatePaymentInterval$, UpdatePaymentRecurringAmount$inboundSchema, UpdatePaymentRecurringAmount$outboundSchema, UpdatePaymentRecurringAmount$, UpdatePaymentRecurring$inboundSchema, UpdatePaymentRecurring$outboundSchema, UpdatePaymentRecurring$, UpdatePaymentLine$inboundSchema, UpdatePaymentLine$outboundSchema, UpdatePaymentLine$, UpdatePaymentBillingAddressResponse$inboundSchema, UpdatePaymentBillingAddressResponse$outboundSchema, UpdatePaymentBillingAddressResponse$, UpdatePaymentShippingAddressResponse$inboundSchema, UpdatePaymentShippingAddressResponse$outboundSchema, UpdatePaymentShippingAddressResponse$, UpdatePaymentLocaleResponse$inboundSchema, UpdatePaymentLocaleResponse$outboundSchema, UpdatePaymentLocaleResponse$, UpdatePaymentMethodResponse$inboundSchema, UpdatePaymentMethodResponse$outboundSchema, UpdatePaymentMethodResponse$, UpdatePaymentMetadataResponse$inboundSchema, UpdatePaymentMetadataResponse$outboundSchema, UpdatePaymentMetadataResponse$, UpdatePaymentCaptureMode$inboundSchema, UpdatePaymentCaptureMode$outboundSchema, UpdatePaymentCaptureMode$, UpdatePaymentApplicationFeeAmount$inboundSchema, UpdatePaymentApplicationFeeAmount$outboundSchema, UpdatePaymentApplicationFeeAmount$, UpdatePaymentApplicationFee$inboundSchema, UpdatePaymentApplicationFee$outboundSchema, UpdatePaymentApplicationFee$, UpdatePaymentRoutingMode$inboundSchema, UpdatePaymentRoutingMode$outboundSchema, UpdatePaymentRoutingMode$, UpdatePaymentRoutingAmount$inboundSchema, UpdatePaymentRoutingAmount$outboundSchema, UpdatePaymentRoutingAmount$, UpdatePaymentRoutingType$inboundSchema, UpdatePaymentRoutingType$outboundSchema, UpdatePaymentRoutingType$, UpdatePaymentDestination$inboundSchema, UpdatePaymentDestination$outboundSchema, UpdatePaymentDestination$, UpdatePaymentRoutingSelf$inboundSchema, UpdatePaymentRoutingSelf$outboundSchema, UpdatePaymentRoutingSelf$, UpdatePaymentPayment$inboundSchema, UpdatePaymentPayment$outboundSchema, UpdatePaymentPayment$, UpdatePaymentRoutingLinks$inboundSchema, UpdatePaymentRoutingLinks$outboundSchema, UpdatePaymentRoutingLinks$, UpdatePaymentRouting$inboundSchema, UpdatePaymentRouting$outboundSchema, UpdatePaymentRouting$, UpdatePaymentSequenceType$inboundSchema, UpdatePaymentSequenceType$outboundSchema, UpdatePaymentSequenceType$, UpdatePaymentStatus$inboundSchema, UpdatePaymentStatus$outboundSchema, UpdatePaymentStatus$, UpdatePaymentStatusReason$inboundSchema, UpdatePaymentStatusReason$outboundSchema, UpdatePaymentStatusReason$, UpdatePaymentSelf$inboundSchema, UpdatePaymentSelf$outboundSchema, UpdatePaymentSelf$, UpdatePaymentCheckout$inboundSchema, UpdatePaymentCheckout$outboundSchema, UpdatePaymentCheckout$, UpdatePaymentMobileAppCheckout$inboundSchema, UpdatePaymentMobileAppCheckout$outboundSchema, UpdatePaymentMobileAppCheckout$, UpdatePaymentChangePaymentState$inboundSchema, UpdatePaymentChangePaymentState$outboundSchema, UpdatePaymentChangePaymentState$, UpdatePaymentDashboard$inboundSchema, UpdatePaymentDashboard$outboundSchema, UpdatePaymentDashboard$, UpdatePaymentRefunds$inboundSchema, UpdatePaymentRefunds$outboundSchema, UpdatePaymentRefunds$, UpdatePaymentChargebacks$inboundSchema, UpdatePaymentChargebacks$outboundSchema, UpdatePaymentChargebacks$, UpdatePaymentCaptures$inboundSchema, UpdatePaymentCaptures$outboundSchema, UpdatePaymentCaptures$, UpdatePaymentSettlement$inboundSchema, UpdatePaymentSettlement$outboundSchema, UpdatePaymentSettlement$, UpdatePaymentCustomer$inboundSchema, UpdatePaymentCustomer$outboundSchema, UpdatePaymentCustomer$, UpdatePaymentMandate$inboundSchema, UpdatePaymentMandate$outboundSchema, UpdatePaymentMandate$, UpdatePaymentSubscription$inboundSchema, UpdatePaymentSubscription$outboundSchema, UpdatePaymentSubscription$, UpdatePaymentOrder$inboundSchema, UpdatePaymentOrder$outboundSchema, UpdatePaymentOrder$, UpdatePaymentTerminal$inboundSchema, UpdatePaymentTerminal$outboundSchema, UpdatePaymentTerminal$, UpdatePaymentDocumentation$inboundSchema, UpdatePaymentDocumentation$outboundSchema, UpdatePaymentDocumentation$, UpdatePaymentLinks$inboundSchema, UpdatePaymentLinks$outboundSchema, UpdatePaymentLinks$, UpdatePaymentResponse$inboundSchema, UpdatePaymentResponse$outboundSchema, UpdatePaymentResponse$;
85448
84700
  var init_updatepayment = __esm(() => {
85449
84701
  init_esm();
85450
84702
  init_primitives();
@@ -85622,26 +84874,12 @@ var init_updatepayment = __esm(() => {
85622
84874
  Expired: "expired",
85623
84875
  Failed: "failed"
85624
84876
  };
85625
- UpdatePaymentMetadataRequest$inboundSchema = objectType({});
85626
- UpdatePaymentMetadataRequest$outboundSchema = objectType({});
84877
+ UpdatePaymentMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
84878
+ UpdatePaymentMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
85627
84879
  ((UpdatePaymentMetadataRequest$) => {
85628
84880
  UpdatePaymentMetadataRequest$.inboundSchema = UpdatePaymentMetadataRequest$inboundSchema;
85629
84881
  UpdatePaymentMetadataRequest$.outboundSchema = UpdatePaymentMetadataRequest$outboundSchema;
85630
84882
  })(UpdatePaymentMetadataRequest$ ||= {});
85631
- UpdatePaymentMetadataRequestUnion$inboundSchema = unionType([
85632
- lazyType(() => UpdatePaymentMetadataRequest$inboundSchema),
85633
- stringType(),
85634
- arrayType(stringType())
85635
- ]);
85636
- UpdatePaymentMetadataRequestUnion$outboundSchema = unionType([
85637
- lazyType(() => UpdatePaymentMetadataRequest$outboundSchema),
85638
- stringType(),
85639
- arrayType(stringType())
85640
- ]);
85641
- ((UpdatePaymentMetadataRequestUnion$) => {
85642
- UpdatePaymentMetadataRequestUnion$.inboundSchema = UpdatePaymentMetadataRequestUnion$inboundSchema;
85643
- UpdatePaymentMetadataRequestUnion$.outboundSchema = UpdatePaymentMetadataRequestUnion$outboundSchema;
85644
- })(UpdatePaymentMetadataRequestUnion$ ||= {});
85645
84883
  UpdatePaymentMethodRequest$inboundSchema = nativeEnumType(UpdatePaymentMethodRequest);
85646
84884
  UpdatePaymentMethodRequest$outboundSchema = UpdatePaymentMethodRequest$inboundSchema;
85647
84885
  ((UpdatePaymentMethodRequest$) => {
@@ -85723,11 +84961,7 @@ var init_updatepayment = __esm(() => {
85723
84961
  redirectUrl: nullableType(stringType()).optional(),
85724
84962
  cancelUrl: nullableType(stringType()).optional(),
85725
84963
  webhookUrl: nullableType(stringType()).optional(),
85726
- metadata: nullableType(unionType([
85727
- lazyType(() => UpdatePaymentMetadataRequest$inboundSchema),
85728
- stringType(),
85729
- arrayType(stringType())
85730
- ])).optional(),
84964
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
85731
84965
  method: nullableType(UpdatePaymentMethodRequest$inboundSchema).optional(),
85732
84966
  locale: UpdatePaymentLocaleRequest$inboundSchema.optional(),
85733
84967
  dueDate: stringType().optional(),
@@ -85743,11 +84977,7 @@ var init_updatepayment = __esm(() => {
85743
84977
  redirectUrl: nullableType(stringType()).optional(),
85744
84978
  cancelUrl: nullableType(stringType()).optional(),
85745
84979
  webhookUrl: nullableType(stringType()).optional(),
85746
- metadata: nullableType(unionType([
85747
- lazyType(() => UpdatePaymentMetadataRequest$outboundSchema),
85748
- stringType(),
85749
- arrayType(stringType())
85750
- ])).optional(),
84980
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
85751
84981
  method: nullableType(UpdatePaymentMethodRequest$outboundSchema).optional(),
85752
84982
  locale: UpdatePaymentLocaleRequest$outboundSchema.optional(),
85753
84983
  dueDate: stringType().optional(),
@@ -86112,26 +85342,12 @@ var init_updatepayment = __esm(() => {
86112
85342
  UpdatePaymentMethodResponse$.inboundSchema = UpdatePaymentMethodResponse$inboundSchema;
86113
85343
  UpdatePaymentMethodResponse$.outboundSchema = UpdatePaymentMethodResponse$outboundSchema;
86114
85344
  })(UpdatePaymentMethodResponse$ ||= {});
86115
- UpdatePaymentMetadataResponse$inboundSchema = objectType({});
86116
- UpdatePaymentMetadataResponse$outboundSchema = objectType({});
85345
+ UpdatePaymentMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
85346
+ UpdatePaymentMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
86117
85347
  ((UpdatePaymentMetadataResponse$) => {
86118
85348
  UpdatePaymentMetadataResponse$.inboundSchema = UpdatePaymentMetadataResponse$inboundSchema;
86119
85349
  UpdatePaymentMetadataResponse$.outboundSchema = UpdatePaymentMetadataResponse$outboundSchema;
86120
85350
  })(UpdatePaymentMetadataResponse$ ||= {});
86121
- UpdatePaymentMetadataResponseUnion$inboundSchema = unionType([
86122
- lazyType(() => UpdatePaymentMetadataResponse$inboundSchema),
86123
- stringType(),
86124
- arrayType(stringType())
86125
- ]);
86126
- UpdatePaymentMetadataResponseUnion$outboundSchema = unionType([
86127
- lazyType(() => UpdatePaymentMetadataResponse$outboundSchema),
86128
- stringType(),
86129
- arrayType(stringType())
86130
- ]);
86131
- ((UpdatePaymentMetadataResponseUnion$) => {
86132
- UpdatePaymentMetadataResponseUnion$.inboundSchema = UpdatePaymentMetadataResponseUnion$inboundSchema;
86133
- UpdatePaymentMetadataResponseUnion$.outboundSchema = UpdatePaymentMetadataResponseUnion$outboundSchema;
86134
- })(UpdatePaymentMetadataResponseUnion$ ||= {});
86135
85351
  UpdatePaymentCaptureMode$inboundSchema = nativeEnumType(UpdatePaymentCaptureMode);
86136
85352
  UpdatePaymentCaptureMode$outboundSchema = UpdatePaymentCaptureMode$inboundSchema;
86137
85353
  ((UpdatePaymentCaptureMode$) => {
@@ -86529,11 +85745,7 @@ var init_updatepayment = __esm(() => {
86529
85745
  countryCode: nullableType(stringType()).optional(),
86530
85746
  method: nullableType(UpdatePaymentMethodResponse$inboundSchema).optional(),
86531
85747
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
86532
- metadata: nullableType(unionType([
86533
- lazyType(() => UpdatePaymentMetadataResponse$inboundSchema),
86534
- stringType(),
86535
- arrayType(stringType())
86536
- ])).optional(),
85748
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
86537
85749
  captureMode: nullableType(UpdatePaymentCaptureMode$inboundSchema).optional(),
86538
85750
  captureDelay: nullableType(stringType()).optional(),
86539
85751
  captureBefore: nullableType(stringType()).optional(),
@@ -86584,11 +85796,7 @@ var init_updatepayment = __esm(() => {
86584
85796
  countryCode: nullableType(stringType()).optional(),
86585
85797
  method: nullableType(UpdatePaymentMethodResponse$outboundSchema).optional(),
86586
85798
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
86587
- metadata: nullableType(unionType([
86588
- lazyType(() => UpdatePaymentMetadataResponse$outboundSchema),
86589
- stringType(),
86590
- arrayType(stringType())
86591
- ])).optional(),
85799
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
86592
85800
  captureMode: nullableType(UpdatePaymentCaptureMode$outboundSchema).optional(),
86593
85801
  captureDelay: nullableType(stringType()).optional(),
86594
85802
  captureBefore: nullableType(stringType()).optional(),
@@ -88299,7 +87507,7 @@ var init_updatesalesinvoice = __esm(() => {
88299
87507
  });
88300
87508
 
88301
87509
  // src/models/operations/updatesubscription.ts
88302
- var UpdateSubscriptionIntervalRequest, UpdateSubscriptionMode, UpdateSubscriptionStatus, UpdateSubscriptionIntervalResponse, UpdateSubscriptionMethod, UpdateSubscriptionAmountRequest$inboundSchema, UpdateSubscriptionAmountRequest$outboundSchema, UpdateSubscriptionAmountRequest$, UpdateSubscriptionIntervalRequest$inboundSchema, UpdateSubscriptionIntervalRequest$outboundSchema, UpdateSubscriptionIntervalRequest$, UpdateSubscriptionMetadataRequest$inboundSchema, UpdateSubscriptionMetadataRequest$outboundSchema, UpdateSubscriptionMetadataRequest$, UpdateSubscriptionMetadataRequestUnion$inboundSchema, UpdateSubscriptionMetadataRequestUnion$outboundSchema, UpdateSubscriptionMetadataRequestUnion$, UpdateSubscriptionRequestBody$inboundSchema, UpdateSubscriptionRequestBody$outboundSchema, UpdateSubscriptionRequestBody$, UpdateSubscriptionRequest$inboundSchema, UpdateSubscriptionRequest$outboundSchema, UpdateSubscriptionRequest$, UpdateSubscriptionNotFoundDocumentation$inboundSchema, UpdateSubscriptionNotFoundDocumentation$outboundSchema, UpdateSubscriptionNotFoundDocumentation$, UpdateSubscriptionNotFoundLinks$inboundSchema, UpdateSubscriptionNotFoundLinks$outboundSchema, UpdateSubscriptionNotFoundLinks$, UpdateSubscriptionMode$inboundSchema, UpdateSubscriptionMode$outboundSchema, UpdateSubscriptionMode$, UpdateSubscriptionStatus$inboundSchema, UpdateSubscriptionStatus$outboundSchema, UpdateSubscriptionStatus$, UpdateSubscriptionAmountResponse$inboundSchema, UpdateSubscriptionAmountResponse$outboundSchema, UpdateSubscriptionAmountResponse$, UpdateSubscriptionIntervalResponse$inboundSchema, UpdateSubscriptionIntervalResponse$outboundSchema, UpdateSubscriptionIntervalResponse$, UpdateSubscriptionMethod$inboundSchema, UpdateSubscriptionMethod$outboundSchema, UpdateSubscriptionMethod$, UpdateSubscriptionApplicationFeeAmount$inboundSchema, UpdateSubscriptionApplicationFeeAmount$outboundSchema, UpdateSubscriptionApplicationFeeAmount$, UpdateSubscriptionApplicationFee$inboundSchema, UpdateSubscriptionApplicationFee$outboundSchema, UpdateSubscriptionApplicationFee$, UpdateSubscriptionMetadataResponse$inboundSchema, UpdateSubscriptionMetadataResponse$outboundSchema, UpdateSubscriptionMetadataResponse$, UpdateSubscriptionMetadataResponseUnion$inboundSchema, UpdateSubscriptionMetadataResponseUnion$outboundSchema, UpdateSubscriptionMetadataResponseUnion$, UpdateSubscriptionSelf$inboundSchema, UpdateSubscriptionSelf$outboundSchema, UpdateSubscriptionSelf$, UpdateSubscriptionCustomer$inboundSchema, UpdateSubscriptionCustomer$outboundSchema, UpdateSubscriptionCustomer$, UpdateSubscriptionMandate$inboundSchema, UpdateSubscriptionMandate$outboundSchema, UpdateSubscriptionMandate$, UpdateSubscriptionProfile$inboundSchema, UpdateSubscriptionProfile$outboundSchema, UpdateSubscriptionProfile$, UpdateSubscriptionPayments$inboundSchema, UpdateSubscriptionPayments$outboundSchema, UpdateSubscriptionPayments$, UpdateSubscriptionDocumentation$inboundSchema, UpdateSubscriptionDocumentation$outboundSchema, UpdateSubscriptionDocumentation$, UpdateSubscriptionLinks$inboundSchema, UpdateSubscriptionLinks$outboundSchema, UpdateSubscriptionLinks$, UpdateSubscriptionResponse$inboundSchema, UpdateSubscriptionResponse$outboundSchema, UpdateSubscriptionResponse$;
87510
+ var UpdateSubscriptionIntervalRequest, UpdateSubscriptionMode, UpdateSubscriptionStatus, UpdateSubscriptionIntervalResponse, UpdateSubscriptionMethod, UpdateSubscriptionAmountRequest$inboundSchema, UpdateSubscriptionAmountRequest$outboundSchema, UpdateSubscriptionAmountRequest$, UpdateSubscriptionIntervalRequest$inboundSchema, UpdateSubscriptionIntervalRequest$outboundSchema, UpdateSubscriptionIntervalRequest$, UpdateSubscriptionMetadataRequest$inboundSchema, UpdateSubscriptionMetadataRequest$outboundSchema, UpdateSubscriptionMetadataRequest$, UpdateSubscriptionRequestBody$inboundSchema, UpdateSubscriptionRequestBody$outboundSchema, UpdateSubscriptionRequestBody$, UpdateSubscriptionRequest$inboundSchema, UpdateSubscriptionRequest$outboundSchema, UpdateSubscriptionRequest$, UpdateSubscriptionNotFoundDocumentation$inboundSchema, UpdateSubscriptionNotFoundDocumentation$outboundSchema, UpdateSubscriptionNotFoundDocumentation$, UpdateSubscriptionNotFoundLinks$inboundSchema, UpdateSubscriptionNotFoundLinks$outboundSchema, UpdateSubscriptionNotFoundLinks$, UpdateSubscriptionMode$inboundSchema, UpdateSubscriptionMode$outboundSchema, UpdateSubscriptionMode$, UpdateSubscriptionStatus$inboundSchema, UpdateSubscriptionStatus$outboundSchema, UpdateSubscriptionStatus$, UpdateSubscriptionAmountResponse$inboundSchema, UpdateSubscriptionAmountResponse$outboundSchema, UpdateSubscriptionAmountResponse$, UpdateSubscriptionIntervalResponse$inboundSchema, UpdateSubscriptionIntervalResponse$outboundSchema, UpdateSubscriptionIntervalResponse$, UpdateSubscriptionMethod$inboundSchema, UpdateSubscriptionMethod$outboundSchema, UpdateSubscriptionMethod$, UpdateSubscriptionApplicationFeeAmount$inboundSchema, UpdateSubscriptionApplicationFeeAmount$outboundSchema, UpdateSubscriptionApplicationFeeAmount$, UpdateSubscriptionApplicationFee$inboundSchema, UpdateSubscriptionApplicationFee$outboundSchema, UpdateSubscriptionApplicationFee$, UpdateSubscriptionMetadataResponse$inboundSchema, UpdateSubscriptionMetadataResponse$outboundSchema, UpdateSubscriptionMetadataResponse$, UpdateSubscriptionSelf$inboundSchema, UpdateSubscriptionSelf$outboundSchema, UpdateSubscriptionSelf$, UpdateSubscriptionCustomer$inboundSchema, UpdateSubscriptionCustomer$outboundSchema, UpdateSubscriptionCustomer$, UpdateSubscriptionMandate$inboundSchema, UpdateSubscriptionMandate$outboundSchema, UpdateSubscriptionMandate$, UpdateSubscriptionProfile$inboundSchema, UpdateSubscriptionProfile$outboundSchema, UpdateSubscriptionProfile$, UpdateSubscriptionPayments$inboundSchema, UpdateSubscriptionPayments$outboundSchema, UpdateSubscriptionPayments$, UpdateSubscriptionDocumentation$inboundSchema, UpdateSubscriptionDocumentation$outboundSchema, UpdateSubscriptionDocumentation$, UpdateSubscriptionLinks$inboundSchema, UpdateSubscriptionLinks$outboundSchema, UpdateSubscriptionLinks$, UpdateSubscriptionResponse$inboundSchema, UpdateSubscriptionResponse$outboundSchema, UpdateSubscriptionResponse$;
88303
87511
  var init_updatesubscription = __esm(() => {
88304
87512
  init_esm();
88305
87513
  init_primitives();
@@ -88347,37 +87555,19 @@ var init_updatesubscription = __esm(() => {
88347
87555
  UpdateSubscriptionIntervalRequest$.inboundSchema = UpdateSubscriptionIntervalRequest$inboundSchema;
88348
87556
  UpdateSubscriptionIntervalRequest$.outboundSchema = UpdateSubscriptionIntervalRequest$outboundSchema;
88349
87557
  })(UpdateSubscriptionIntervalRequest$ ||= {});
88350
- UpdateSubscriptionMetadataRequest$inboundSchema = objectType({});
88351
- UpdateSubscriptionMetadataRequest$outboundSchema = objectType({});
87558
+ UpdateSubscriptionMetadataRequest$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
87559
+ UpdateSubscriptionMetadataRequest$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
88352
87560
  ((UpdateSubscriptionMetadataRequest$) => {
88353
87561
  UpdateSubscriptionMetadataRequest$.inboundSchema = UpdateSubscriptionMetadataRequest$inboundSchema;
88354
87562
  UpdateSubscriptionMetadataRequest$.outboundSchema = UpdateSubscriptionMetadataRequest$outboundSchema;
88355
87563
  })(UpdateSubscriptionMetadataRequest$ ||= {});
88356
- UpdateSubscriptionMetadataRequestUnion$inboundSchema = unionType([
88357
- lazyType(() => UpdateSubscriptionMetadataRequest$inboundSchema),
88358
- stringType(),
88359
- arrayType(stringType())
88360
- ]);
88361
- UpdateSubscriptionMetadataRequestUnion$outboundSchema = unionType([
88362
- lazyType(() => UpdateSubscriptionMetadataRequest$outboundSchema),
88363
- stringType(),
88364
- arrayType(stringType())
88365
- ]);
88366
- ((UpdateSubscriptionMetadataRequestUnion$) => {
88367
- UpdateSubscriptionMetadataRequestUnion$.inboundSchema = UpdateSubscriptionMetadataRequestUnion$inboundSchema;
88368
- UpdateSubscriptionMetadataRequestUnion$.outboundSchema = UpdateSubscriptionMetadataRequestUnion$outboundSchema;
88369
- })(UpdateSubscriptionMetadataRequestUnion$ ||= {});
88370
87564
  UpdateSubscriptionRequestBody$inboundSchema = objectType({
88371
87565
  amount: lazyType(() => UpdateSubscriptionAmountRequest$inboundSchema).optional(),
88372
87566
  description: stringType().optional(),
88373
87567
  interval: UpdateSubscriptionIntervalRequest$inboundSchema.optional(),
88374
87568
  startDate: stringType().optional(),
88375
87569
  times: numberType().int().optional(),
88376
- metadata: nullableType(unionType([
88377
- lazyType(() => UpdateSubscriptionMetadataRequest$inboundSchema),
88378
- stringType(),
88379
- arrayType(stringType())
88380
- ])).optional(),
87570
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
88381
87571
  webhookUrl: stringType().optional(),
88382
87572
  mandateId: stringType().optional(),
88383
87573
  testmode: nullableType(booleanType()).optional()
@@ -88388,11 +87578,7 @@ var init_updatesubscription = __esm(() => {
88388
87578
  interval: UpdateSubscriptionIntervalRequest$outboundSchema.optional(),
88389
87579
  startDate: stringType().optional(),
88390
87580
  times: numberType().int().optional(),
88391
- metadata: nullableType(unionType([
88392
- lazyType(() => UpdateSubscriptionMetadataRequest$outboundSchema),
88393
- stringType(),
88394
- arrayType(stringType())
88395
- ])).optional(),
87581
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])).optional(),
88396
87582
  webhookUrl: stringType().optional(),
88397
87583
  mandateId: stringType().optional(),
88398
87584
  testmode: nullableType(booleanType()).optional()
@@ -88505,26 +87691,12 @@ var init_updatesubscription = __esm(() => {
88505
87691
  UpdateSubscriptionApplicationFee$.inboundSchema = UpdateSubscriptionApplicationFee$inboundSchema;
88506
87692
  UpdateSubscriptionApplicationFee$.outboundSchema = UpdateSubscriptionApplicationFee$outboundSchema;
88507
87693
  })(UpdateSubscriptionApplicationFee$ ||= {});
88508
- UpdateSubscriptionMetadataResponse$inboundSchema = objectType({});
88509
- UpdateSubscriptionMetadataResponse$outboundSchema = objectType({});
87694
+ UpdateSubscriptionMetadataResponse$inboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
87695
+ UpdateSubscriptionMetadataResponse$outboundSchema = unionType([stringType(), recordType(anyType()), arrayType(stringType())]);
88510
87696
  ((UpdateSubscriptionMetadataResponse$) => {
88511
87697
  UpdateSubscriptionMetadataResponse$.inboundSchema = UpdateSubscriptionMetadataResponse$inboundSchema;
88512
87698
  UpdateSubscriptionMetadataResponse$.outboundSchema = UpdateSubscriptionMetadataResponse$outboundSchema;
88513
87699
  })(UpdateSubscriptionMetadataResponse$ ||= {});
88514
- UpdateSubscriptionMetadataResponseUnion$inboundSchema = unionType([
88515
- lazyType(() => UpdateSubscriptionMetadataResponse$inboundSchema),
88516
- stringType(),
88517
- arrayType(stringType())
88518
- ]);
88519
- UpdateSubscriptionMetadataResponseUnion$outboundSchema = unionType([
88520
- lazyType(() => UpdateSubscriptionMetadataResponse$outboundSchema),
88521
- stringType(),
88522
- arrayType(stringType())
88523
- ]);
88524
- ((UpdateSubscriptionMetadataResponseUnion$) => {
88525
- UpdateSubscriptionMetadataResponseUnion$.inboundSchema = UpdateSubscriptionMetadataResponseUnion$inboundSchema;
88526
- UpdateSubscriptionMetadataResponseUnion$.outboundSchema = UpdateSubscriptionMetadataResponseUnion$outboundSchema;
88527
- })(UpdateSubscriptionMetadataResponseUnion$ ||= {});
88528
87700
  UpdateSubscriptionSelf$inboundSchema = objectType({
88529
87701
  href: stringType(),
88530
87702
  type: stringType()
@@ -88631,11 +87803,7 @@ var init_updatesubscription = __esm(() => {
88631
87803
  description: stringType(),
88632
87804
  method: nullableType(UpdateSubscriptionMethod$inboundSchema),
88633
87805
  applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$inboundSchema).optional(),
88634
- metadata: nullableType(unionType([
88635
- lazyType(() => UpdateSubscriptionMetadataResponse$inboundSchema),
88636
- stringType(),
88637
- arrayType(stringType())
88638
- ])),
87806
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
88639
87807
  webhookUrl: stringType(),
88640
87808
  customerId: stringType(),
88641
87809
  mandateId: nullableType(stringType()).optional(),
@@ -88661,11 +87829,7 @@ var init_updatesubscription = __esm(() => {
88661
87829
  description: stringType(),
88662
87830
  method: nullableType(UpdateSubscriptionMethod$outboundSchema),
88663
87831
  applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$outboundSchema).optional(),
88664
- metadata: nullableType(unionType([
88665
- lazyType(() => UpdateSubscriptionMetadataResponse$outboundSchema),
88666
- stringType(),
88667
- arrayType(stringType())
88668
- ])),
87832
+ metadata: nullableType(unionType([stringType(), recordType(anyType()), arrayType(stringType())])),
88669
87833
  webhookUrl: stringType(),
88670
87834
  customerId: stringType(),
88671
87835
  mandateId: nullableType(stringType()).optional(),
@@ -108130,7 +107294,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
108130
107294
  function createMCPServer(deps) {
108131
107295
  const server = new McpServer({
108132
107296
  name: "Client",
108133
- version: "0.1.1"
107297
+ version: "0.1.2"
108134
107298
  });
108135
107299
  const client = new ClientCore({
108136
107300
  security: deps.security,
@@ -109519,7 +108683,7 @@ var routes = an({
109519
108683
  var app = He(routes, {
109520
108684
  name: "mcp",
109521
108685
  versionInfo: {
109522
- currentVersion: "0.1.1"
108686
+ currentVersion: "0.1.2"
109523
108687
  }
109524
108688
  });
109525
108689
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -109527,5 +108691,5 @@ export {
109527
108691
  app
109528
108692
  };
109529
108693
 
109530
- //# debugId=8C4E425233D5FB4864756E2164756E21
108694
+ //# debugId=E572698579B2FA0364756E2164756E21
109531
108695
  //# sourceMappingURL=mcp-server.js.map