mollie-api-typescript 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +3 -2
  2. package/bin/mcp-server.js +676 -1258
  3. package/bin/mcp-server.js.map +28 -28
  4. package/dist/commonjs/funcs/delayedRoutingList.js +4 -0
  5. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  6. package/dist/commonjs/funcs/subscriptionsAll.d.ts +1 -1
  7. package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/subscriptionsAll.js +2 -5
  9. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  10. package/dist/commonjs/lib/config.d.ts +2 -2
  11. package/dist/commonjs/lib/config.js +2 -2
  12. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  13. package/dist/commonjs/mcp-server/server.js +1 -1
  14. package/dist/commonjs/models/errors/listallsubscriptions.d.ts +95 -14
  15. package/dist/commonjs/models/errors/listallsubscriptions.d.ts.map +1 -1
  16. package/dist/commonjs/models/errors/listallsubscriptions.js +80 -14
  17. package/dist/commonjs/models/errors/listallsubscriptions.js.map +1 -1
  18. package/dist/commonjs/models/operations/cancelsubscription.d.ts +40 -40
  19. package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
  20. package/dist/commonjs/models/operations/cancelsubscription.js +40 -48
  21. package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
  22. package/dist/commonjs/models/operations/createcustomer.d.ts +22 -22
  23. package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/createcustomer.js +22 -24
  25. package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
  26. package/dist/commonjs/models/operations/createmandate.d.ts +26 -26
  27. package/dist/commonjs/models/operations/createmandate.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/createmandate.js +26 -28
  29. package/dist/commonjs/models/operations/createmandate.js.map +1 -1
  30. package/dist/commonjs/models/operations/createrefund.d.ts +7 -7
  31. package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/createrefund.js +8 -10
  33. package/dist/commonjs/models/operations/createrefund.js.map +1 -1
  34. package/dist/commonjs/models/operations/createsubscription.d.ts +44 -44
  35. package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/createsubscription.js +44 -53
  37. package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
  38. package/dist/commonjs/models/operations/getcustomer.d.ts +28 -28
  39. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/getcustomer.js +28 -30
  41. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  42. package/dist/commonjs/models/operations/getmandate.d.ts +26 -26
  43. package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/getmandate.js +26 -27
  45. package/dist/commonjs/models/operations/getmandate.js.map +1 -1
  46. package/dist/commonjs/models/operations/getrefund.d.ts +7 -7
  47. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/getrefund.js +8 -8
  49. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  50. package/dist/commonjs/models/operations/getsubscription.d.ts +40 -40
  51. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/getsubscription.js +40 -48
  53. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  54. package/dist/commonjs/models/operations/listallrefunds.d.ts +9 -15
  55. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  56. package/dist/commonjs/models/operations/listallrefunds.js +8 -10
  57. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  58. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +532 -2849
  59. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/listallsubscriptions.js +345 -1612
  61. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  62. package/dist/commonjs/models/operations/listcustomers.d.ts +22 -22
  63. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/listcustomers.js +22 -22
  65. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  66. package/dist/commonjs/models/operations/listmandates.d.ts +26 -26
  67. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/listmandates.js +26 -26
  69. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  70. package/dist/commonjs/models/operations/listrefunds.d.ts +7 -7
  71. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/listrefunds.js +8 -10
  73. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  74. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +7 -7
  75. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -8
  77. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  78. package/dist/commonjs/models/operations/listsubscriptions.d.ts +81 -81
  79. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/listsubscriptions.js +90 -96
  81. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  82. package/dist/commonjs/models/operations/paymentcreateroute.d.ts +11 -0
  83. package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/paymentcreateroute.js +2 -0
  85. package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
  86. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +11 -0
  87. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  88. package/dist/commonjs/models/operations/paymentlistroutes.js +2 -0
  89. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  90. package/dist/commonjs/models/operations/updatecustomer.d.ts +22 -22
  91. package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/updatecustomer.js +22 -24
  93. package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
  94. package/dist/commonjs/models/operations/updatesubscription.d.ts +40 -40
  95. package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/updatesubscription.js +40 -50
  97. package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
  98. package/dist/esm/funcs/delayedRoutingList.js +5 -1
  99. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  100. package/dist/esm/funcs/subscriptionsAll.d.ts +1 -1
  101. package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
  102. package/dist/esm/funcs/subscriptionsAll.js +2 -5
  103. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  104. package/dist/esm/lib/config.d.ts +2 -2
  105. package/dist/esm/lib/config.js +2 -2
  106. package/dist/esm/mcp-server/mcp-server.js +1 -1
  107. package/dist/esm/mcp-server/server.js +1 -1
  108. package/dist/esm/models/errors/listallsubscriptions.d.ts +95 -14
  109. package/dist/esm/models/errors/listallsubscriptions.d.ts.map +1 -1
  110. package/dist/esm/models/errors/listallsubscriptions.js +77 -12
  111. package/dist/esm/models/errors/listallsubscriptions.js.map +1 -1
  112. package/dist/esm/models/operations/cancelsubscription.d.ts +40 -40
  113. package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
  114. package/dist/esm/models/operations/cancelsubscription.js +40 -48
  115. package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
  116. package/dist/esm/models/operations/createcustomer.d.ts +22 -22
  117. package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
  118. package/dist/esm/models/operations/createcustomer.js +22 -24
  119. package/dist/esm/models/operations/createcustomer.js.map +1 -1
  120. package/dist/esm/models/operations/createmandate.d.ts +26 -26
  121. package/dist/esm/models/operations/createmandate.d.ts.map +1 -1
  122. package/dist/esm/models/operations/createmandate.js +26 -28
  123. package/dist/esm/models/operations/createmandate.js.map +1 -1
  124. package/dist/esm/models/operations/createrefund.d.ts +7 -7
  125. package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
  126. package/dist/esm/models/operations/createrefund.js +8 -10
  127. package/dist/esm/models/operations/createrefund.js.map +1 -1
  128. package/dist/esm/models/operations/createsubscription.d.ts +44 -44
  129. package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
  130. package/dist/esm/models/operations/createsubscription.js +44 -53
  131. package/dist/esm/models/operations/createsubscription.js.map +1 -1
  132. package/dist/esm/models/operations/getcustomer.d.ts +28 -28
  133. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  134. package/dist/esm/models/operations/getcustomer.js +28 -30
  135. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  136. package/dist/esm/models/operations/getmandate.d.ts +26 -26
  137. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  138. package/dist/esm/models/operations/getmandate.js +26 -27
  139. package/dist/esm/models/operations/getmandate.js.map +1 -1
  140. package/dist/esm/models/operations/getrefund.d.ts +7 -7
  141. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  142. package/dist/esm/models/operations/getrefund.js +8 -8
  143. package/dist/esm/models/operations/getrefund.js.map +1 -1
  144. package/dist/esm/models/operations/getsubscription.d.ts +40 -40
  145. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  146. package/dist/esm/models/operations/getsubscription.js +40 -48
  147. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  148. package/dist/esm/models/operations/listallrefunds.d.ts +9 -15
  149. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  150. package/dist/esm/models/operations/listallrefunds.js +8 -10
  151. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  152. package/dist/esm/models/operations/listallsubscriptions.d.ts +532 -2849
  153. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  154. package/dist/esm/models/operations/listallsubscriptions.js +325 -1533
  155. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  156. package/dist/esm/models/operations/listcustomers.d.ts +22 -22
  157. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  158. package/dist/esm/models/operations/listcustomers.js +22 -22
  159. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  160. package/dist/esm/models/operations/listmandates.d.ts +26 -26
  161. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  162. package/dist/esm/models/operations/listmandates.js +26 -26
  163. package/dist/esm/models/operations/listmandates.js.map +1 -1
  164. package/dist/esm/models/operations/listrefunds.d.ts +7 -7
  165. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  166. package/dist/esm/models/operations/listrefunds.js +8 -10
  167. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  168. package/dist/esm/models/operations/listsettlementrefunds.d.ts +7 -7
  169. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  170. package/dist/esm/models/operations/listsettlementrefunds.js +8 -8
  171. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  172. package/dist/esm/models/operations/listsubscriptions.d.ts +81 -81
  173. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  174. package/dist/esm/models/operations/listsubscriptions.js +83 -89
  175. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  176. package/dist/esm/models/operations/paymentcreateroute.d.ts +11 -0
  177. package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
  178. package/dist/esm/models/operations/paymentcreateroute.js +2 -0
  179. package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
  180. package/dist/esm/models/operations/paymentlistroutes.d.ts +11 -0
  181. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  182. package/dist/esm/models/operations/paymentlistroutes.js +2 -0
  183. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  184. package/dist/esm/models/operations/updatecustomer.d.ts +22 -22
  185. package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
  186. package/dist/esm/models/operations/updatecustomer.js +22 -24
  187. package/dist/esm/models/operations/updatecustomer.js.map +1 -1
  188. package/dist/esm/models/operations/updatesubscription.d.ts +40 -40
  189. package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
  190. package/dist/esm/models/operations/updatesubscription.js +40 -50
  191. package/dist/esm/models/operations/updatesubscription.js.map +1 -1
  192. package/docs/sdks/delayedrouting/README.md +4 -0
  193. package/docs/sdks/subscriptions/README.md +5 -4
  194. package/examples/package-lock.json +1 -1
  195. package/jsr.json +1 -1
  196. package/package.json +1 -1
  197. package/src/funcs/delayedRoutingList.ts +6 -1
  198. package/src/funcs/subscriptionsAll.ts +17 -8
  199. package/src/lib/config.ts +2 -2
  200. package/src/mcp-server/mcp-server.ts +1 -1
  201. package/src/mcp-server/server.ts +1 -1
  202. package/src/models/errors/listallsubscriptions.ts +173 -23
  203. package/src/models/operations/cancelsubscription.ts +80 -98
  204. package/src/models/operations/createcustomer.ts +45 -53
  205. package/src/models/operations/createmandate.ts +52 -54
  206. package/src/models/operations/createrefund.ts +15 -17
  207. package/src/models/operations/createsubscription.ts +89 -104
  208. package/src/models/operations/getcustomer.ts +56 -63
  209. package/src/models/operations/getmandate.ts +52 -53
  210. package/src/models/operations/getrefund.ts +15 -15
  211. package/src/models/operations/getsubscription.ts +80 -98
  212. package/src/models/operations/listallrefunds.ts +17 -25
  213. package/src/models/operations/listallsubscriptions.ts +894 -4395
  214. package/src/models/operations/listcustomers.ts +44 -49
  215. package/src/models/operations/listmandates.ts +52 -52
  216. package/src/models/operations/listrefunds.ts +15 -17
  217. package/src/models/operations/listsettlementrefunds.ts +15 -15
  218. package/src/models/operations/listsubscriptions.ts +181 -176
  219. package/src/models/operations/paymentcreateroute.ts +13 -0
  220. package/src/models/operations/paymentlistroutes.ts +13 -0
  221. package/src/models/operations/updatecustomer.ts +45 -53
  222. package/src/models/operations/updatesubscription.ts +81 -97
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionsAll.d.ts","sourceRoot":"","sources":["../../../src/funcs/subscriptionsAll.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,OAAO,CAAC,EAAE,UAAU,CAAC,2BAA2B,GAAG,SAAS,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,4BAA4B,EACrC,MAAM,CAAC,gCAAgC,GACvC,WAAW,GACX,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
1
+ {"version":3,"file":"subscriptionsAll.d.ts","sourceRoot":"","sources":["../../../src/funcs/subscriptionsAll.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,OAAO,CAAC,EAAE,UAAU,CAAC,2BAA2B,GAAG,SAAS,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,4BAA4B,EACrC,MAAM,CAAC,0CAA0C,GACjD,MAAM,CAAC,wCAAwC,GAC/C,WAAW,GACX,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -33,7 +33,6 @@ async function $do(client, request, options) {
33
33
  "from": payload?.from,
34
34
  "limit": payload?.limit,
35
35
  "profileId": payload?.profileId,
36
- "sort": payload?.sort,
37
36
  "testmode": payload?.testmode,
38
37
  });
39
38
  const headers = new Headers(compactMap({
@@ -80,7 +79,7 @@ async function $do(client, request, options) {
80
79
  const req = requestRes.value;
81
80
  const doResult = await client._do(req, {
82
81
  context,
83
- errorCodes: ["400", "4XX", "5XX"],
82
+ errorCodes: ["400", "404", "4XX", "5XX"],
84
83
  retryConfig: context.retryConfig,
85
84
  retryCodes: context.retryCodes,
86
85
  });
@@ -93,9 +92,7 @@ async function $do(client, request, options) {
93
92
  };
94
93
  const [result] = await M.match(M.json(200, operations.ListAllSubscriptionsResponse$inboundSchema, {
95
94
  ctype: "application/hal+json",
96
- }), M.jsonErr(400, errors.ListAllSubscriptionsHalJSONError$inboundSchema, {
97
- ctype: "application/hal+json",
98
- }), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
95
+ }), M.jsonErr(400, errors.ListAllSubscriptionsBadRequestHalJSONError$inboundSchema, { ctype: "application/hal+json" }), M.jsonErr(404, errors.ListAllSubscriptionsNotFoundHalJSONError$inboundSchema, { ctype: "application/hal+json" }), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
99
96
  if (!result.ok) {
100
97
  return [result, { status: "complete", request: req, response }];
101
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionsAll.js","sourceRoot":"","sources":["../../../src/funcs/subscriptionsAll.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAkB,EAClB,OAA4D,EAC5D,OAAwB;IAexB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL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AsB,EAAE,CAClC,EACD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "1.0.0";
38
- readonly sdkVersion: "0.0.5";
38
+ readonly sdkVersion: "0.0.6";
39
39
  readonly genVersion: "2.672.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.0.5 2.672.0 1.0.0 mollie-api-typescript";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.0.6 2.672.0 1.0.0 mollie-api-typescript";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
24
24
  export const SDK_METADATA = {
25
25
  language: "typescript",
26
26
  openapiDocVersion: "1.0.0",
27
- sdkVersion: "0.0.5",
27
+ sdkVersion: "0.0.6",
28
28
  genVersion: "2.672.0",
29
- userAgent: "speakeasy-sdk/typescript 0.0.5 2.672.0 1.0.0 mollie-api-typescript",
29
+ userAgent: "speakeasy-sdk/typescript 0.0.6 2.672.0 1.0.0 mollie-api-typescript",
30
30
  };
31
31
  //# sourceMappingURL=config.js.map
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.0.5",
19
+ currentVersion: "0.0.6",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -102,7 +102,7 @@ import { tool$webhooksUpdate } from "./tools/webhooksUpdate.js";
102
102
  export function createMCPServer(deps) {
103
103
  const server = new McpServer({
104
104
  name: "Client",
105
- version: "0.0.5",
105
+ version: "0.0.6",
106
106
  });
107
107
  const client = new ClientCore({
108
108
  security: deps.security,
@@ -4,7 +4,64 @@ import { ClientError } from "./clienterror.js";
4
4
  /**
5
5
  * An error response object.
6
6
  */
7
- export type ListAllSubscriptionsHalJSONErrorData = {
7
+ export type ListAllSubscriptionsNotFoundHalJSONErrorData = {
8
+ /**
9
+ * The status code of the error message. This is always the same code as the status code of the HTTP message itself.
10
+ */
11
+ status: number;
12
+ /**
13
+ * The HTTP reason phrase of the error. For example, for a `404` error, the `title` will be `Not Found`.
14
+ */
15
+ title: string;
16
+ /**
17
+ * A detailed human-readable description of the error that occurred.
18
+ */
19
+ detail: string;
20
+ /**
21
+ * If the error was caused by a value provided by you in a specific field, the `field` property will contain the name
22
+ *
23
+ * @remarks
24
+ * of the field that caused the issue.
25
+ */
26
+ field?: string | undefined;
27
+ links: operations.ListAllSubscriptionsNotFoundLinks;
28
+ };
29
+ /**
30
+ * An error response object.
31
+ */
32
+ export declare class ListAllSubscriptionsNotFoundHalJSONError extends ClientError {
33
+ /**
34
+ * The status code of the error message. This is always the same code as the status code of the HTTP message itself.
35
+ */
36
+ status: number;
37
+ /**
38
+ * The HTTP reason phrase of the error. For example, for a `404` error, the `title` will be `Not Found`.
39
+ */
40
+ title: string;
41
+ /**
42
+ * A detailed human-readable description of the error that occurred.
43
+ */
44
+ detail: string;
45
+ /**
46
+ * If the error was caused by a value provided by you in a specific field, the `field` property will contain the name
47
+ *
48
+ * @remarks
49
+ * of the field that caused the issue.
50
+ */
51
+ field?: string | undefined;
52
+ links: operations.ListAllSubscriptionsNotFoundLinks;
53
+ /** The original data that was passed to this error instance. */
54
+ data$: ListAllSubscriptionsNotFoundHalJSONErrorData;
55
+ constructor(err: ListAllSubscriptionsNotFoundHalJSONErrorData, httpMeta: {
56
+ response: Response;
57
+ request: Request;
58
+ body: string;
59
+ });
60
+ }
61
+ /**
62
+ * An error response object.
63
+ */
64
+ export type ListAllSubscriptionsBadRequestHalJSONErrorData = {
8
65
  /**
9
66
  * The status code of the error message. This is always the same code as the status code of the HTTP message itself.
10
67
  */
@@ -29,7 +86,7 @@ export type ListAllSubscriptionsHalJSONErrorData = {
29
86
  /**
30
87
  * An error response object.
31
88
  */
32
- export declare class ListAllSubscriptionsHalJSONError extends ClientError {
89
+ export declare class ListAllSubscriptionsBadRequestHalJSONError extends ClientError {
33
90
  /**
34
91
  * The status code of the error message. This is always the same code as the status code of the HTTP message itself.
35
92
  */
@@ -51,17 +108,41 @@ export declare class ListAllSubscriptionsHalJSONError extends ClientError {
51
108
  field?: string | undefined;
52
109
  links: operations.ListAllSubscriptionsBadRequestLinks;
53
110
  /** The original data that was passed to this error instance. */
54
- data$: ListAllSubscriptionsHalJSONErrorData;
55
- constructor(err: ListAllSubscriptionsHalJSONErrorData, httpMeta: {
111
+ data$: ListAllSubscriptionsBadRequestHalJSONErrorData;
112
+ constructor(err: ListAllSubscriptionsBadRequestHalJSONErrorData, httpMeta: {
56
113
  response: Response;
57
114
  request: Request;
58
115
  body: string;
59
116
  });
60
117
  }
61
118
  /** @internal */
62
- export declare const ListAllSubscriptionsHalJSONError$inboundSchema: z.ZodType<ListAllSubscriptionsHalJSONError, z.ZodTypeDef, unknown>;
119
+ export declare const ListAllSubscriptionsNotFoundHalJSONError$inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundHalJSONError, z.ZodTypeDef, unknown>;
120
+ /** @internal */
121
+ export type ListAllSubscriptionsNotFoundHalJSONError$Outbound = {
122
+ status: number;
123
+ title: string;
124
+ detail: string;
125
+ field?: string | undefined;
126
+ _links: operations.ListAllSubscriptionsNotFoundLinks$Outbound;
127
+ };
128
+ /** @internal */
129
+ export declare const ListAllSubscriptionsNotFoundHalJSONError$outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundHalJSONError>;
130
+ /**
131
+ * @internal
132
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
133
+ */
134
+ export declare namespace ListAllSubscriptionsNotFoundHalJSONError$ {
135
+ /** @deprecated use `ListAllSubscriptionsNotFoundHalJSONError$inboundSchema` instead. */
136
+ const inboundSchema: z.ZodType<ListAllSubscriptionsNotFoundHalJSONError, z.ZodTypeDef, unknown>;
137
+ /** @deprecated use `ListAllSubscriptionsNotFoundHalJSONError$outboundSchema` instead. */
138
+ const outboundSchema: z.ZodType<ListAllSubscriptionsNotFoundHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsNotFoundHalJSONError>;
139
+ /** @deprecated use `ListAllSubscriptionsNotFoundHalJSONError$Outbound` instead. */
140
+ type Outbound = ListAllSubscriptionsNotFoundHalJSONError$Outbound;
141
+ }
142
+ /** @internal */
143
+ export declare const ListAllSubscriptionsBadRequestHalJSONError$inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestHalJSONError, z.ZodTypeDef, unknown>;
63
144
  /** @internal */
64
- export type ListAllSubscriptionsHalJSONError$Outbound = {
145
+ export type ListAllSubscriptionsBadRequestHalJSONError$Outbound = {
65
146
  status: number;
66
147
  title: string;
67
148
  detail: string;
@@ -69,17 +150,17 @@ export type ListAllSubscriptionsHalJSONError$Outbound = {
69
150
  _links: operations.ListAllSubscriptionsBadRequestLinks$Outbound;
70
151
  };
71
152
  /** @internal */
72
- export declare const ListAllSubscriptionsHalJSONError$outboundSchema: z.ZodType<ListAllSubscriptionsHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsHalJSONError>;
153
+ export declare const ListAllSubscriptionsBadRequestHalJSONError$outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestHalJSONError>;
73
154
  /**
74
155
  * @internal
75
156
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
76
157
  */
77
- export declare namespace ListAllSubscriptionsHalJSONError$ {
78
- /** @deprecated use `ListAllSubscriptionsHalJSONError$inboundSchema` instead. */
79
- const inboundSchema: z.ZodType<ListAllSubscriptionsHalJSONError, z.ZodTypeDef, unknown>;
80
- /** @deprecated use `ListAllSubscriptionsHalJSONError$outboundSchema` instead. */
81
- const outboundSchema: z.ZodType<ListAllSubscriptionsHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsHalJSONError>;
82
- /** @deprecated use `ListAllSubscriptionsHalJSONError$Outbound` instead. */
83
- type Outbound = ListAllSubscriptionsHalJSONError$Outbound;
158
+ export declare namespace ListAllSubscriptionsBadRequestHalJSONError$ {
159
+ /** @deprecated use `ListAllSubscriptionsBadRequestHalJSONError$inboundSchema` instead. */
160
+ const inboundSchema: z.ZodType<ListAllSubscriptionsBadRequestHalJSONError, z.ZodTypeDef, unknown>;
161
+ /** @deprecated use `ListAllSubscriptionsBadRequestHalJSONError$outboundSchema` instead. */
162
+ const outboundSchema: z.ZodType<ListAllSubscriptionsBadRequestHalJSONError$Outbound, z.ZodTypeDef, ListAllSubscriptionsBadRequestHalJSONError>;
163
+ /** @deprecated use `ListAllSubscriptionsBadRequestHalJSONError$Outbound` instead. */
164
+ type Outbound = ListAllSubscriptionsBadRequestHalJSONError$Outbound;
84
165
  }
85
166
  //# sourceMappingURL=listallsubscriptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listallsubscriptions.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/listallsubscriptions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,k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ACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAiB/B,CAAC;AAEJ;;;GAGG;AACH,yBAAiB,iCAAiC,CAAC;IACjD,gFAAgF;IACzE,MAAM,aAAa,oEAAiD,CAAC;IAC5E,iFAAiF;IAC1E,MAAM,cAAc,sGAAkD,CAAC;IAC9E,2EAA2E;IAC3E,KAAY,QAAQ,GAAG,yCAAyC,CAAC;CAClE"}
1
+ {"version":3,"file":"listallsubscriptions.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/listallsubscriptions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,UAAU,CAAC,iCAAiC,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,qBAAa,wCAAyC,SAAQ,WAAW;IACvE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,UAAU,CAAC,iCAAiC,CAAC;IAEpD,gEAAgE;IAChE,KAAK,EAAE,4CAA4C,CAAC;gBAGlD,GAAG,EAAE,4CAA4C,EACjD,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,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7E,iDAAiD,EACjD,CAAC,CAAC,UAAU,EACZ,wCAAwC,CAiBvC,CAAC;AAEJ;;;GAGG;AACH,yBAAiB,yCAAyC,CAAC;IACzD,wFAAwF;IACjF,MAAM,aAAa,4EAC8B,CAAC;IACzD,yFAAyF;IAClF,MAAM,cAAc,sHAC8B,CAAC;IAC1D,mFAAmF;IACnF,KAAY,QAAQ,GAAG,iDAAiD,CAAC;CAC1E;AAED,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAuBrE,CAAC;AAET,gBAAgB;AAChB,MAAM,MAAM,mDAAmD,GAAG;IAChE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,EAAE,UAAU,CAAC,4CAA4C,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,0CAA0C,CAiBzC,CAAC;AAEN;;;GAGG;AACH,yBAAiB,2CAA2C,CAAC;IAC3D,0FAA0F;IACnF,MAAM,aAAa,8EACgC,CAAC;IAC3D,2FAA2F;IACpF,MAAM,cAAc,0HACgC,CAAC;IAC5D,qFAAqF;IACrF,KAAY,QAAQ,GAAG,mDAAmD,CAAC;CAC5E"}
@@ -8,7 +8,7 @@ import { ClientError } from "./clienterror.js";
8
8
  /**
9
9
  * An error response object.
10
10
  */
11
- export class ListAllSubscriptionsHalJSONError extends ClientError {
11
+ export class ListAllSubscriptionsNotFoundHalJSONError extends ClientError {
12
12
  constructor(err, httpMeta) {
13
13
  const message = "message" in err && typeof err.message === "string"
14
14
  ? err.message
@@ -21,11 +21,76 @@ export class ListAllSubscriptionsHalJSONError extends ClientError {
21
21
  if (err.field != null)
22
22
  this.field = err.field;
23
23
  this.links = err.links;
24
- this.name = "ListAllSubscriptionsHalJSONError";
24
+ this.name = "ListAllSubscriptionsNotFoundHalJSONError";
25
25
  }
26
26
  }
27
+ /**
28
+ * An error response object.
29
+ */
30
+ export class ListAllSubscriptionsBadRequestHalJSONError extends ClientError {
31
+ constructor(err, httpMeta) {
32
+ const message = "message" in err && typeof err.message === "string"
33
+ ? err.message
34
+ : `API error occurred: ${JSON.stringify(err)}`;
35
+ super(message, httpMeta);
36
+ this.data$ = err;
37
+ this.status = err.status;
38
+ this.title = err.title;
39
+ this.detail = err.detail;
40
+ if (err.field != null)
41
+ this.field = err.field;
42
+ this.links = err.links;
43
+ this.name = "ListAllSubscriptionsBadRequestHalJSONError";
44
+ }
45
+ }
46
+ /** @internal */
47
+ export const ListAllSubscriptionsNotFoundHalJSONError$inboundSchema = z.object({
48
+ status: z.number().int(),
49
+ title: z.string(),
50
+ detail: z.string(),
51
+ field: z.string().optional(),
52
+ _links: z.lazy(() => operations.ListAllSubscriptionsNotFoundLinks$inboundSchema),
53
+ request$: z.instanceof(Request),
54
+ response$: z.instanceof(Response),
55
+ body$: z.string(),
56
+ })
57
+ .transform((v) => {
58
+ const remapped = remap$(v, {
59
+ "_links": "links",
60
+ });
61
+ return new ListAllSubscriptionsNotFoundHalJSONError(remapped, {
62
+ request: v.request$,
63
+ response: v.response$,
64
+ body: v.body$,
65
+ });
66
+ });
67
+ /** @internal */
68
+ export const ListAllSubscriptionsNotFoundHalJSONError$outboundSchema = z.instanceof(ListAllSubscriptionsNotFoundHalJSONError)
69
+ .transform(v => v.data$)
70
+ .pipe(z.object({
71
+ status: z.number().int(),
72
+ title: z.string(),
73
+ detail: z.string(),
74
+ field: z.string().optional(),
75
+ links: z.lazy(() => operations.ListAllSubscriptionsNotFoundLinks$outboundSchema),
76
+ }).transform((v) => {
77
+ return remap$(v, {
78
+ links: "_links",
79
+ });
80
+ }));
81
+ /**
82
+ * @internal
83
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
+ */
85
+ export var ListAllSubscriptionsNotFoundHalJSONError$;
86
+ (function (ListAllSubscriptionsNotFoundHalJSONError$) {
87
+ /** @deprecated use `ListAllSubscriptionsNotFoundHalJSONError$inboundSchema` instead. */
88
+ ListAllSubscriptionsNotFoundHalJSONError$.inboundSchema = ListAllSubscriptionsNotFoundHalJSONError$inboundSchema;
89
+ /** @deprecated use `ListAllSubscriptionsNotFoundHalJSONError$outboundSchema` instead. */
90
+ ListAllSubscriptionsNotFoundHalJSONError$.outboundSchema = ListAllSubscriptionsNotFoundHalJSONError$outboundSchema;
91
+ })(ListAllSubscriptionsNotFoundHalJSONError$ || (ListAllSubscriptionsNotFoundHalJSONError$ = {}));
27
92
  /** @internal */
28
- export const ListAllSubscriptionsHalJSONError$inboundSchema = z.object({
93
+ export const ListAllSubscriptionsBadRequestHalJSONError$inboundSchema = z.object({
29
94
  status: z.number().int(),
30
95
  title: z.string(),
31
96
  detail: z.string(),
@@ -39,14 +104,14 @@ export const ListAllSubscriptionsHalJSONError$inboundSchema = z.object({
39
104
  const remapped = remap$(v, {
40
105
  "_links": "links",
41
106
  });
42
- return new ListAllSubscriptionsHalJSONError(remapped, {
107
+ return new ListAllSubscriptionsBadRequestHalJSONError(remapped, {
43
108
  request: v.request$,
44
109
  response: v.response$,
45
110
  body: v.body$,
46
111
  });
47
112
  });
48
113
  /** @internal */
49
- export const ListAllSubscriptionsHalJSONError$outboundSchema = z.instanceof(ListAllSubscriptionsHalJSONError)
114
+ export const ListAllSubscriptionsBadRequestHalJSONError$outboundSchema = z.instanceof(ListAllSubscriptionsBadRequestHalJSONError)
50
115
  .transform(v => v.data$)
51
116
  .pipe(z.object({
52
117
  status: z.number().int(),
@@ -63,11 +128,11 @@ export const ListAllSubscriptionsHalJSONError$outboundSchema = z.instanceof(List
63
128
  * @internal
64
129
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
130
  */
66
- export var ListAllSubscriptionsHalJSONError$;
67
- (function (ListAllSubscriptionsHalJSONError$) {
68
- /** @deprecated use `ListAllSubscriptionsHalJSONError$inboundSchema` instead. */
69
- ListAllSubscriptionsHalJSONError$.inboundSchema = ListAllSubscriptionsHalJSONError$inboundSchema;
70
- /** @deprecated use `ListAllSubscriptionsHalJSONError$outboundSchema` instead. */
71
- ListAllSubscriptionsHalJSONError$.outboundSchema = ListAllSubscriptionsHalJSONError$outboundSchema;
72
- })(ListAllSubscriptionsHalJSONError$ || (ListAllSubscriptionsHalJSONError$ = {}));
131
+ export var ListAllSubscriptionsBadRequestHalJSONError$;
132
+ (function (ListAllSubscriptionsBadRequestHalJSONError$) {
133
+ /** @deprecated use `ListAllSubscriptionsBadRequestHalJSONError$inboundSchema` instead. */
134
+ ListAllSubscriptionsBadRequestHalJSONError$.inboundSchema = ListAllSubscriptionsBadRequestHalJSONError$inboundSchema;
135
+ /** @deprecated use `ListAllSubscriptionsBadRequestHalJSONError$outboundSchema` instead. */
136
+ ListAllSubscriptionsBadRequestHalJSONError$.outboundSchema = ListAllSubscriptionsBadRequestHalJSONError$outboundSchema;
137
+ })(ListAllSubscriptionsBadRequestHalJSONError$ || (ListAllSubscriptionsBadRequestHalJSONError$ = {}));
73
138
  //# sourceMappingURL=listallsubscriptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listallsubscriptions.js","sourceRoot":"","sources":["../../../../src/models/errors/listallsubscriptions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA4B/C;;GAEG;AACH,MAAM,OAAO,gCAAiC,SAAQ,WAAW;IAyB/D,YACE,GAAyC,EACzC,QAAgE;QAEhE,MAAM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,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC;AAEN;;;GAGG;AACH,MAAM,KAAW,2CAA2C,CAS3D;AATD,WAAiB,2CAA2C;IAC1D,0FAA0F;IAC7E,yDAAa,GACxB,wDAAwD,CAAC;IAC3D,2FAA2F;IAC9E,0DAAc,GACzB,yDAAyD,CAAC;AAG9D,CAAC,EATgB,2CAA2C,KAA3C,2CAA2C,QAS3D"}
@@ -144,8 +144,8 @@ export type CancelSubscriptionApplicationFee = {
144
144
  /**
145
145
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
146
146
  */
147
- amount?: CancelSubscriptionApplicationFeeAmount | undefined;
148
- description?: string | undefined;
147
+ amount: CancelSubscriptionApplicationFeeAmount;
148
+ description: string;
149
149
  };
150
150
  export type CancelSubscriptionMetadata = {};
151
151
  /**
@@ -246,11 +246,11 @@ export type CancelSubscriptionLinks = {
246
246
  /**
247
247
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
248
248
  */
249
- self?: CancelSubscriptionSelf | undefined;
249
+ self: CancelSubscriptionSelf;
250
250
  /**
251
251
  * The API resource URL of the [customer](get-customer) this subscription was created for.
252
252
  */
253
- customer?: CancelSubscriptionCustomer | null | undefined;
253
+ customer: CancelSubscriptionCustomer | null;
254
254
  /**
255
255
  * The API resource URL of the [mandate](get-mandate) this subscription was created for.
256
256
  */
@@ -258,7 +258,7 @@ export type CancelSubscriptionLinks = {
258
258
  /**
259
259
  * The API resource URL of the [profile](get-profile) this subscription was created for.
260
260
  */
261
- profile?: CancelSubscriptionProfile | null | undefined;
261
+ profile: CancelSubscriptionProfile | null;
262
262
  /**
263
263
  * The API resource URL of the [payments](list-payments) created for this subscription. Omitted if no such
264
264
  *
@@ -269,7 +269,7 @@ export type CancelSubscriptionLinks = {
269
269
  /**
270
270
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
271
271
  */
272
- documentation?: CancelSubscriptionDocumentation | undefined;
272
+ documentation: CancelSubscriptionDocumentation;
273
273
  };
274
274
  /**
275
275
  * The updated subscription object with status `canceled`. For a complete reference of the subscription object,
@@ -288,25 +288,25 @@ export type CancelSubscriptionResponse = {
288
288
  /**
289
289
  * The identifier uniquely referring to this subscription. Example: `sub_rVKGtNd6s3`.
290
290
  */
291
- id?: string | undefined;
291
+ id: string;
292
292
  /**
293
293
  * Whether this entity was created in live mode or in test mode.
294
294
  */
295
- mode?: CancelSubscriptionMode | undefined;
295
+ mode: CancelSubscriptionMode;
296
296
  /**
297
297
  * The subscription's current status is directly related to the status of the underlying customer or mandate that is
298
298
  *
299
299
  * @remarks
300
300
  * enabling the subscription.
301
301
  */
302
- status?: CancelSubscriptionStatus | undefined;
302
+ status: CancelSubscriptionStatus;
303
303
  /**
304
304
  * The amount for each individual payment that is charged with this subscription. For example, for a monthly
305
305
  *
306
306
  * @remarks
307
307
  * subscription of €10, the subscription amount should be set to €10.
308
308
  */
309
- amount?: CancelSubscriptionAmount | undefined;
309
+ amount: CancelSubscriptionAmount;
310
310
  /**
311
311
  * Total number of payments for the subscription. Once this number of payments is reached, the subscription is
312
312
  *
@@ -315,11 +315,11 @@ export type CancelSubscriptionResponse = {
315
315
  *
316
316
  * Test mode subscriptions will get canceled automatically after 10 payments.
317
317
  */
318
- times?: number | null | undefined;
318
+ times: number | null;
319
319
  /**
320
320
  * Number of payments left for the subscription.
321
321
  */
322
- timesRemaining?: number | undefined;
322
+ timesRemaining: number;
323
323
  /**
324
324
  * Interval to wait between payments, for example `1 month` or `14 days`.
325
325
  *
@@ -327,11 +327,11 @@ export type CancelSubscriptionResponse = {
327
327
  *
328
328
  * The maximum interval is one year (`12 months`, `52 weeks`, or `365 days`).
329
329
  */
330
- interval?: CancelSubscriptionInterval | undefined;
330
+ interval: CancelSubscriptionInterval;
331
331
  /**
332
332
  * The start date of the subscription in `YYYY-MM-DD` format.
333
333
  */
334
- startDate?: string | undefined;
334
+ startDate: string;
335
335
  /**
336
336
  * The date of the next scheduled payment in `YYYY-MM-DD` format. If the subscription has been completed or canceled,
337
337
  *
@@ -347,11 +347,11 @@ export type CancelSubscriptionResponse = {
347
347
  *
348
348
  * **Please note:** the description needs to be unique for the Customer in case it has multiple active subscriptions.
349
349
  */
350
- description?: string | undefined;
350
+ description: string;
351
351
  /**
352
352
  * The payment method used for this subscription. If omitted, any of the customer's valid mandates may be used.
353
353
  */
354
- method?: CancelSubscriptionMethod | null | undefined;
354
+ method: CancelSubscriptionMethod | null;
355
355
  /**
356
356
  * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
357
357
  *
@@ -373,7 +373,7 @@ export type CancelSubscriptionResponse = {
373
373
  *
374
374
  * Any metadata added to the subscription will be automatically forwarded to the payments generated for it.
375
375
  */
376
- metadata?: CancelSubscriptionMetadata | string | Array<string> | null | undefined;
376
+ metadata: CancelSubscriptionMetadata | string | Array<string> | null;
377
377
  /**
378
378
  * We will call this URL for any payment status changes of payments resulting from this subscription.
379
379
  *
@@ -382,11 +382,11 @@ export type CancelSubscriptionResponse = {
382
382
  * This webhook will receive **all** events for the subscription's payments. This may include payment failures as
383
383
  * well. Be sure to verify the payment's subscription ID and its status.
384
384
  */
385
- webhookUrl?: string | undefined;
385
+ webhookUrl: string;
386
386
  /**
387
387
  * The customer this subscription belongs to.
388
388
  */
389
- customerId?: string | undefined;
389
+ customerId: string;
390
390
  /**
391
391
  * The mandate used for this subscription, if any.
392
392
  */
@@ -394,7 +394,7 @@ export type CancelSubscriptionResponse = {
394
394
  /**
395
395
  * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
396
396
  */
397
- createdAt?: string | undefined;
397
+ createdAt: string;
398
398
  /**
399
399
  * The subscription's date and time of cancellation, in ISO 8601 format. This parameter is omitted if the
400
400
  *
@@ -638,8 +638,8 @@ export declare function cancelSubscriptionApplicationFeeAmountFromJSON(jsonStrin
638
638
  export declare const CancelSubscriptionApplicationFee$inboundSchema: z.ZodType<CancelSubscriptionApplicationFee, z.ZodTypeDef, unknown>;
639
639
  /** @internal */
640
640
  export type CancelSubscriptionApplicationFee$Outbound = {
641
- amount?: CancelSubscriptionApplicationFeeAmount$Outbound | undefined;
642
- description?: string | undefined;
641
+ amount: CancelSubscriptionApplicationFeeAmount$Outbound;
642
+ description: string;
643
643
  };
644
644
  /** @internal */
645
645
  export declare const CancelSubscriptionApplicationFee$outboundSchema: z.ZodType<CancelSubscriptionApplicationFee$Outbound, z.ZodTypeDef, CancelSubscriptionApplicationFee>;
@@ -839,12 +839,12 @@ export declare function cancelSubscriptionDocumentationFromJSON(jsonString: stri
839
839
  export declare const CancelSubscriptionLinks$inboundSchema: z.ZodType<CancelSubscriptionLinks, z.ZodTypeDef, unknown>;
840
840
  /** @internal */
841
841
  export type CancelSubscriptionLinks$Outbound = {
842
- self?: CancelSubscriptionSelf$Outbound | undefined;
843
- customer?: CancelSubscriptionCustomer$Outbound | null | undefined;
842
+ self: CancelSubscriptionSelf$Outbound;
843
+ customer: CancelSubscriptionCustomer$Outbound | null;
844
844
  mandate?: CancelSubscriptionMandate$Outbound | null | undefined;
845
- profile?: CancelSubscriptionProfile$Outbound | null | undefined;
845
+ profile: CancelSubscriptionProfile$Outbound | null;
846
846
  payments?: CancelSubscriptionPayments$Outbound | null | undefined;
847
- documentation?: CancelSubscriptionDocumentation$Outbound | undefined;
847
+ documentation: CancelSubscriptionDocumentation$Outbound;
848
848
  };
849
849
  /** @internal */
850
850
  export declare const CancelSubscriptionLinks$outboundSchema: z.ZodType<CancelSubscriptionLinks$Outbound, z.ZodTypeDef, CancelSubscriptionLinks>;
@@ -867,23 +867,23 @@ export declare const CancelSubscriptionResponse$inboundSchema: z.ZodType<CancelS
867
867
  /** @internal */
868
868
  export type CancelSubscriptionResponse$Outbound = {
869
869
  resource: string;
870
- id?: string | undefined;
871
- mode?: string | undefined;
872
- status?: string | undefined;
873
- amount?: CancelSubscriptionAmount$Outbound | undefined;
874
- times?: number | null | undefined;
875
- timesRemaining?: number | undefined;
876
- interval?: string | undefined;
877
- startDate?: string | undefined;
870
+ id: string;
871
+ mode: string;
872
+ status: string;
873
+ amount: CancelSubscriptionAmount$Outbound;
874
+ times: number | null;
875
+ timesRemaining: number;
876
+ interval: string;
877
+ startDate: string;
878
878
  nextPaymentDate?: string | null | undefined;
879
- description?: string | undefined;
880
- method?: string | null | undefined;
879
+ description: string;
880
+ method: string | null;
881
881
  applicationFee?: CancelSubscriptionApplicationFee$Outbound | undefined;
882
- metadata?: CancelSubscriptionMetadata$Outbound | string | Array<string> | null | undefined;
883
- webhookUrl?: string | undefined;
884
- customerId?: string | undefined;
882
+ metadata: CancelSubscriptionMetadata$Outbound | string | Array<string> | null;
883
+ webhookUrl: string;
884
+ customerId: string;
885
885
  mandateId?: string | null | undefined;
886
- createdAt?: string | undefined;
886
+ createdAt: string;
887
887
  canceledAt?: string | null | undefined;
888
888
  _links?: CancelSubscriptionLinks$Outbound | undefined;
889
889
  };