mollie-api-typescript 1.3.7 → 1.3.8

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 (218) hide show
  1. package/README.md +11 -0
  2. package/bin/mcp-server.js +1206 -233
  3. package/bin/mcp-server.js.map +26 -9
  4. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts +23 -0
  5. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js +140 -0
  7. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js.map +1 -0
  8. package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts +29 -0
  9. package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/unmatchedCreditTransfersList.js +179 -0
  11. package/dist/commonjs/funcs/unmatchedCreditTransfersList.js.map +1 -0
  12. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts +23 -0
  13. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js +141 -0
  15. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js.map +1 -0
  16. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts +23 -0
  17. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js +140 -0
  19. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js.map +1 -0
  20. package/dist/commonjs/lib/config.d.ts +3 -3
  21. package/dist/commonjs/lib/config.js +3 -3
  22. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  23. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  24. package/dist/commonjs/mcp-server/server.js +9 -1
  25. package/dist/commonjs/mcp-server/server.js.map +1 -1
  26. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.d.ts +8 -0
  27. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.d.ts.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.js +69 -0
  29. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.js.map +1 -0
  30. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.d.ts +8 -0
  31. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.d.ts.map +1 -0
  32. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.js +72 -0
  33. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.js.map +1 -0
  34. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts +8 -0
  35. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.js +69 -0
  37. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.js.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts +8 -0
  39. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.js +69 -0
  41. package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.js.map +1 -0
  42. package/dist/commonjs/models/entityunmatchedcredittransfer.d.ts +214 -0
  43. package/dist/commonjs/models/entityunmatchedcredittransfer.d.ts.map +1 -0
  44. package/dist/commonjs/models/entityunmatchedcredittransfer.js +204 -0
  45. package/dist/commonjs/models/entityunmatchedcredittransfer.js.map +1 -0
  46. package/dist/commonjs/models/errorresponse.d.ts +8 -8
  47. package/dist/commonjs/models/errorresponse.d.ts.map +1 -1
  48. package/dist/commonjs/models/errorresponse.js +11 -11
  49. package/dist/commonjs/models/errorresponse.js.map +1 -1
  50. package/dist/commonjs/models/index.d.ts +5 -0
  51. package/dist/commonjs/models/index.d.ts.map +1 -1
  52. package/dist/commonjs/models/index.js +5 -0
  53. package/dist/commonjs/models/index.js.map +1 -1
  54. package/dist/commonjs/models/listentityunmatchedcredittransfer.d.ts +191 -0
  55. package/dist/commonjs/models/listentityunmatchedcredittransfer.d.ts.map +1 -0
  56. package/dist/commonjs/models/listentityunmatchedcredittransfer.js +185 -0
  57. package/dist/commonjs/models/listentityunmatchedcredittransfer.js.map +1 -0
  58. package/dist/commonjs/models/operations/getunmatchedcredittransfer.d.ts +25 -0
  59. package/dist/commonjs/models/operations/getunmatchedcredittransfer.d.ts.map +1 -0
  60. package/dist/commonjs/models/operations/getunmatchedcredittransfer.js +70 -0
  61. package/dist/commonjs/models/operations/getunmatchedcredittransfer.js.map +1 -0
  62. package/dist/commonjs/models/operations/index.d.ts +4 -0
  63. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/index.js +4 -0
  65. package/dist/commonjs/models/operations/index.js.map +1 -1
  66. package/dist/commonjs/models/operations/listunmatchedcredittransfers.d.ts +95 -0
  67. package/dist/commonjs/models/operations/listunmatchedcredittransfers.d.ts.map +1 -0
  68. package/dist/commonjs/models/operations/listunmatchedcredittransfers.js +151 -0
  69. package/dist/commonjs/models/operations/listunmatchedcredittransfers.js.map +1 -0
  70. package/dist/commonjs/models/operations/matchunmatchedcredittransfer.d.ts +28 -0
  71. package/dist/commonjs/models/operations/matchunmatchedcredittransfer.d.ts.map +1 -0
  72. package/dist/commonjs/models/operations/matchunmatchedcredittransfer.js +77 -0
  73. package/dist/commonjs/models/operations/matchunmatchedcredittransfer.js.map +1 -0
  74. package/dist/commonjs/models/operations/returnunmatchedcredittransfer.d.ts +25 -0
  75. package/dist/commonjs/models/operations/returnunmatchedcredittransfer.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/returnunmatchedcredittransfer.js +70 -0
  77. package/dist/commonjs/models/operations/returnunmatchedcredittransfer.js.map +1 -0
  78. package/dist/commonjs/models/unmatchedcredittransferactionresponse.d.ts +164 -0
  79. package/dist/commonjs/models/unmatchedcredittransferactionresponse.d.ts.map +1 -0
  80. package/dist/commonjs/models/unmatchedcredittransferactionresponse.js +175 -0
  81. package/dist/commonjs/models/unmatchedcredittransferactionresponse.js.map +1 -0
  82. package/dist/commonjs/models/unmatchedcredittransfermatchrequest.d.ts +20 -0
  83. package/dist/commonjs/models/unmatchedcredittransfermatchrequest.d.ts.map +1 -0
  84. package/dist/commonjs/models/unmatchedcredittransfermatchrequest.js +59 -0
  85. package/dist/commonjs/models/unmatchedcredittransfermatchrequest.js.map +1 -0
  86. package/dist/commonjs/models/unmatchedcredittransferstatus.d.ts +14 -0
  87. package/dist/commonjs/models/unmatchedcredittransferstatus.d.ts.map +1 -0
  88. package/dist/commonjs/models/unmatchedcredittransferstatus.js +52 -0
  89. package/dist/commonjs/models/unmatchedcredittransferstatus.js.map +1 -0
  90. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  91. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  92. package/dist/commonjs/sdk/sdk.js +4 -0
  93. package/dist/commonjs/sdk/sdk.js.map +1 -1
  94. package/dist/commonjs/sdk/unmatchedcredittransfers.d.ts +55 -0
  95. package/dist/commonjs/sdk/unmatchedcredittransfers.d.ts.map +1 -0
  96. package/dist/commonjs/sdk/unmatchedcredittransfers.js +72 -0
  97. package/dist/commonjs/sdk/unmatchedcredittransfers.js.map +1 -0
  98. package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts +23 -0
  99. package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -0
  100. package/dist/esm/funcs/unmatchedCreditTransfersGet.js +104 -0
  101. package/dist/esm/funcs/unmatchedCreditTransfersGet.js.map +1 -0
  102. package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts +29 -0
  103. package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts.map +1 -0
  104. package/dist/esm/funcs/unmatchedCreditTransfersList.js +143 -0
  105. package/dist/esm/funcs/unmatchedCreditTransfersList.js.map +1 -0
  106. package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts +23 -0
  107. package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -0
  108. package/dist/esm/funcs/unmatchedCreditTransfersMatch.js +105 -0
  109. package/dist/esm/funcs/unmatchedCreditTransfersMatch.js.map +1 -0
  110. package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts +23 -0
  111. package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -0
  112. package/dist/esm/funcs/unmatchedCreditTransfersReturn.js +104 -0
  113. package/dist/esm/funcs/unmatchedCreditTransfersReturn.js.map +1 -0
  114. package/dist/esm/lib/config.d.ts +3 -3
  115. package/dist/esm/lib/config.js +3 -3
  116. package/dist/esm/mcp-server/mcp-server.js +1 -1
  117. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  118. package/dist/esm/mcp-server/server.js +9 -1
  119. package/dist/esm/mcp-server/server.js.map +1 -1
  120. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.d.ts +8 -0
  121. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.d.ts.map +1 -0
  122. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.js +33 -0
  123. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.js.map +1 -0
  124. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.d.ts +8 -0
  125. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.d.ts.map +1 -0
  126. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.js +36 -0
  127. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.js.map +1 -0
  128. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts +8 -0
  129. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts.map +1 -0
  130. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.js +33 -0
  131. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.js.map +1 -0
  132. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts +8 -0
  133. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts.map +1 -0
  134. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.js +33 -0
  135. package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.js.map +1 -0
  136. package/dist/esm/models/entityunmatchedcredittransfer.d.ts +214 -0
  137. package/dist/esm/models/entityunmatchedcredittransfer.d.ts.map +1 -0
  138. package/dist/esm/models/entityunmatchedcredittransfer.js +154 -0
  139. package/dist/esm/models/entityunmatchedcredittransfer.js.map +1 -0
  140. package/dist/esm/models/errorresponse.d.ts +8 -8
  141. package/dist/esm/models/errorresponse.d.ts.map +1 -1
  142. package/dist/esm/models/errorresponse.js +8 -8
  143. package/dist/esm/models/errorresponse.js.map +1 -1
  144. package/dist/esm/models/index.d.ts +5 -0
  145. package/dist/esm/models/index.d.ts.map +1 -1
  146. package/dist/esm/models/index.js +5 -0
  147. package/dist/esm/models/index.js.map +1 -1
  148. package/dist/esm/models/listentityunmatchedcredittransfer.d.ts +191 -0
  149. package/dist/esm/models/listentityunmatchedcredittransfer.d.ts.map +1 -0
  150. package/dist/esm/models/listentityunmatchedcredittransfer.js +137 -0
  151. package/dist/esm/models/listentityunmatchedcredittransfer.js.map +1 -0
  152. package/dist/esm/models/operations/getunmatchedcredittransfer.d.ts +25 -0
  153. package/dist/esm/models/operations/getunmatchedcredittransfer.d.ts.map +1 -0
  154. package/dist/esm/models/operations/getunmatchedcredittransfer.js +32 -0
  155. package/dist/esm/models/operations/getunmatchedcredittransfer.js.map +1 -0
  156. package/dist/esm/models/operations/index.d.ts +4 -0
  157. package/dist/esm/models/operations/index.d.ts.map +1 -1
  158. package/dist/esm/models/operations/index.js +4 -0
  159. package/dist/esm/models/operations/index.js.map +1 -1
  160. package/dist/esm/models/operations/listunmatchedcredittransfers.d.ts +95 -0
  161. package/dist/esm/models/operations/listunmatchedcredittransfers.d.ts.map +1 -0
  162. package/dist/esm/models/operations/listunmatchedcredittransfers.js +107 -0
  163. package/dist/esm/models/operations/listunmatchedcredittransfers.js.map +1 -0
  164. package/dist/esm/models/operations/matchunmatchedcredittransfer.d.ts +28 -0
  165. package/dist/esm/models/operations/matchunmatchedcredittransfer.d.ts.map +1 -0
  166. package/dist/esm/models/operations/matchunmatchedcredittransfer.js +39 -0
  167. package/dist/esm/models/operations/matchunmatchedcredittransfer.js.map +1 -0
  168. package/dist/esm/models/operations/returnunmatchedcredittransfer.d.ts +25 -0
  169. package/dist/esm/models/operations/returnunmatchedcredittransfer.d.ts.map +1 -0
  170. package/dist/esm/models/operations/returnunmatchedcredittransfer.js +32 -0
  171. package/dist/esm/models/operations/returnunmatchedcredittransfer.js.map +1 -0
  172. package/dist/esm/models/unmatchedcredittransferactionresponse.d.ts +164 -0
  173. package/dist/esm/models/unmatchedcredittransferactionresponse.d.ts.map +1 -0
  174. package/dist/esm/models/unmatchedcredittransferactionresponse.js +129 -0
  175. package/dist/esm/models/unmatchedcredittransferactionresponse.js.map +1 -0
  176. package/dist/esm/models/unmatchedcredittransfermatchrequest.d.ts +20 -0
  177. package/dist/esm/models/unmatchedcredittransfermatchrequest.d.ts.map +1 -0
  178. package/dist/esm/models/unmatchedcredittransfermatchrequest.js +21 -0
  179. package/dist/esm/models/unmatchedcredittransfermatchrequest.js.map +1 -0
  180. package/dist/esm/models/unmatchedcredittransferstatus.d.ts +14 -0
  181. package/dist/esm/models/unmatchedcredittransferstatus.d.ts.map +1 -0
  182. package/dist/esm/models/unmatchedcredittransferstatus.js +16 -0
  183. package/dist/esm/models/unmatchedcredittransferstatus.js.map +1 -0
  184. package/dist/esm/sdk/sdk.d.ts +3 -0
  185. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  186. package/dist/esm/sdk/sdk.js +4 -0
  187. package/dist/esm/sdk/sdk.js.map +1 -1
  188. package/dist/esm/sdk/unmatchedcredittransfers.d.ts +55 -0
  189. package/dist/esm/sdk/unmatchedcredittransfers.d.ts.map +1 -0
  190. package/dist/esm/sdk/unmatchedcredittransfers.js +68 -0
  191. package/dist/esm/sdk/unmatchedcredittransfers.js.map +1 -0
  192. package/jsr.json +1 -1
  193. package/package.json +1 -1
  194. package/src/funcs/unmatchedCreditTransfersGet.ts +202 -0
  195. package/src/funcs/unmatchedCreditTransfersList.ts +274 -0
  196. package/src/funcs/unmatchedCreditTransfersMatch.ts +209 -0
  197. package/src/funcs/unmatchedCreditTransfersReturn.ts +204 -0
  198. package/src/lib/config.ts +3 -3
  199. package/src/mcp-server/mcp-server.ts +1 -1
  200. package/src/mcp-server/server.ts +9 -1
  201. package/src/mcp-server/tools/unmatchedCreditTransfersGet.ts +42 -0
  202. package/src/mcp-server/tools/unmatchedCreditTransfersList.ts +45 -0
  203. package/src/mcp-server/tools/unmatchedCreditTransfersMatch.ts +42 -0
  204. package/src/mcp-server/tools/unmatchedCreditTransfersReturn.ts +43 -0
  205. package/src/models/entityunmatchedcredittransfer.ts +538 -0
  206. package/src/models/errorresponse.ts +21 -17
  207. package/src/models/index.ts +5 -0
  208. package/src/models/listentityunmatchedcredittransfer.ts +476 -0
  209. package/src/models/operations/getunmatchedcredittransfer.ts +73 -0
  210. package/src/models/operations/index.ts +4 -0
  211. package/src/models/operations/listunmatchedcredittransfers.ts +287 -0
  212. package/src/models/operations/matchunmatchedcredittransfer.ts +89 -0
  213. package/src/models/operations/returnunmatchedcredittransfer.ts +74 -0
  214. package/src/models/unmatchedcredittransferactionresponse.ts +426 -0
  215. package/src/models/unmatchedcredittransfermatchrequest.ts +58 -0
  216. package/src/models/unmatchedcredittransferstatus.ts +31 -0
  217. package/src/sdk/sdk.ts +8 -0
  218. package/src/sdk/unmatchedcredittransfers.ts +107 -0
package/bin/mcp-server.js CHANGED
@@ -52869,9 +52869,9 @@ var init_config = __esm(() => {
52869
52869
  SDK_METADATA = {
52870
52870
  language: "typescript",
52871
52871
  openapiDocVersion: "1.0.0",
52872
- sdkVersion: "1.3.7",
52873
- genVersion: "2.879.1",
52874
- userAgent: "speakeasy-sdk/typescript 1.3.7 2.879.1 1.0.0 mollie-api-typescript"
52872
+ sdkVersion: "1.3.8",
52873
+ genVersion: "2.879.6",
52874
+ userAgent: "speakeasy-sdk/typescript 1.3.8 2.879.6 1.0.0 mollie-api-typescript"
52875
52875
  };
52876
52876
  });
52877
52877
 
@@ -57925,6 +57925,115 @@ var init_entityterminal = __esm(() => {
57925
57925
  });
57926
57926
  });
57927
57927
 
57928
+ // src/models/unmatchedcredittransferstatus.ts
57929
+ var UnmatchedCreditTransferStatus, UnmatchedCreditTransferStatus$inboundSchema, UnmatchedCreditTransferStatus$outboundSchema;
57930
+ var init_unmatchedcredittransferstatus = __esm(() => {
57931
+ init_enums();
57932
+ UnmatchedCreditTransferStatus = {
57933
+ Received: "received",
57934
+ Matched: "matched",
57935
+ Returned: "returned",
57936
+ Expired: "expired"
57937
+ };
57938
+ UnmatchedCreditTransferStatus$inboundSchema = inboundSchema(UnmatchedCreditTransferStatus);
57939
+ UnmatchedCreditTransferStatus$outboundSchema = outboundSchema(UnmatchedCreditTransferStatus);
57940
+ });
57941
+
57942
+ // src/models/entityunmatchedcredittransfer.ts
57943
+ var EntityUnmatchedCreditTransferSource$inboundSchema, EntityUnmatchedCreditTransferSource$outboundSchema, EntityUnmatchedCreditTransferReferences$inboundSchema, EntityUnmatchedCreditTransferReferences$outboundSchema, EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema, EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema, EntityUnmatchedCreditTransferSelf$inboundSchema, EntityUnmatchedCreditTransferSelf$outboundSchema, EntityUnmatchedCreditTransferDocumentation$inboundSchema, EntityUnmatchedCreditTransferDocumentation$outboundSchema, EntityUnmatchedCreditTransferLinks$inboundSchema, EntityUnmatchedCreditTransferLinks$outboundSchema, EntityUnmatchedCreditTransfer$inboundSchema, EntityUnmatchedCreditTransfer$outboundSchema;
57944
+ var init_entityunmatchedcredittransfer = __esm(() => {
57945
+ init_esm();
57946
+ init_primitives();
57947
+ init_amount();
57948
+ init_unmatchedcredittransferstatus();
57949
+ EntityUnmatchedCreditTransferSource$inboundSchema = objectType({
57950
+ format: stringType(),
57951
+ accountHolderName: stringType(),
57952
+ iban: stringType(),
57953
+ bic: stringType()
57954
+ });
57955
+ EntityUnmatchedCreditTransferSource$outboundSchema = objectType({
57956
+ format: stringType(),
57957
+ accountHolderName: stringType(),
57958
+ iban: stringType(),
57959
+ bic: stringType()
57960
+ });
57961
+ EntityUnmatchedCreditTransferReferences$inboundSchema = objectType({
57962
+ creditorReference: nullableType(stringType()).optional(),
57963
+ endToEndId: stringType().optional()
57964
+ });
57965
+ EntityUnmatchedCreditTransferReferences$outboundSchema = objectType({
57966
+ creditorReference: nullableType(stringType()).optional(),
57967
+ endToEndId: stringType().optional()
57968
+ });
57969
+ EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema = objectType({
57970
+ unstructured: stringType().optional(),
57971
+ references: lazyType(() => EntityUnmatchedCreditTransferReferences$inboundSchema).optional()
57972
+ });
57973
+ EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema = objectType({
57974
+ unstructured: stringType().optional(),
57975
+ references: lazyType(() => EntityUnmatchedCreditTransferReferences$outboundSchema).optional()
57976
+ });
57977
+ EntityUnmatchedCreditTransferSelf$inboundSchema = objectType({
57978
+ href: stringType().optional(),
57979
+ type: stringType().optional()
57980
+ });
57981
+ EntityUnmatchedCreditTransferSelf$outboundSchema = objectType({
57982
+ href: stringType().optional(),
57983
+ type: stringType().optional()
57984
+ });
57985
+ EntityUnmatchedCreditTransferDocumentation$inboundSchema = objectType({
57986
+ href: stringType().optional(),
57987
+ type: stringType().optional()
57988
+ });
57989
+ EntityUnmatchedCreditTransferDocumentation$outboundSchema = objectType({
57990
+ href: stringType().optional(),
57991
+ type: stringType().optional()
57992
+ });
57993
+ EntityUnmatchedCreditTransferLinks$inboundSchema = objectType({
57994
+ self: lazyType(() => EntityUnmatchedCreditTransferSelf$inboundSchema).optional(),
57995
+ documentation: lazyType(() => EntityUnmatchedCreditTransferDocumentation$inboundSchema).optional()
57996
+ });
57997
+ EntityUnmatchedCreditTransferLinks$outboundSchema = objectType({
57998
+ self: lazyType(() => EntityUnmatchedCreditTransferSelf$outboundSchema).optional(),
57999
+ documentation: lazyType(() => EntityUnmatchedCreditTransferDocumentation$outboundSchema).optional()
58000
+ });
58001
+ EntityUnmatchedCreditTransfer$inboundSchema = objectType({
58002
+ resource: stringType(),
58003
+ id: stringType(),
58004
+ profileId: stringType(),
58005
+ amount: Amount$inboundSchema,
58006
+ source: lazyType(() => EntityUnmatchedCreditTransferSource$inboundSchema),
58007
+ remittanceInformation: lazyType(() => EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema),
58008
+ status: UnmatchedCreditTransferStatus$inboundSchema,
58009
+ createdAt: stringType(),
58010
+ expiresAt: stringType(),
58011
+ paymentIds: arrayType(stringType()).optional(),
58012
+ _links: lazyType(() => EntityUnmatchedCreditTransferLinks$inboundSchema)
58013
+ }).transform((v2) => {
58014
+ return remap(v2, {
58015
+ _links: "links"
58016
+ });
58017
+ });
58018
+ EntityUnmatchedCreditTransfer$outboundSchema = objectType({
58019
+ resource: stringType(),
58020
+ id: stringType(),
58021
+ profileId: stringType(),
58022
+ amount: Amount$outboundSchema,
58023
+ source: lazyType(() => EntityUnmatchedCreditTransferSource$outboundSchema),
58024
+ remittanceInformation: lazyType(() => EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema),
58025
+ status: UnmatchedCreditTransferStatus$outboundSchema,
58026
+ createdAt: stringType(),
58027
+ expiresAt: stringType(),
58028
+ paymentIds: arrayType(stringType()).optional(),
58029
+ links: lazyType(() => EntityUnmatchedCreditTransferLinks$outboundSchema)
58030
+ }).transform((v2) => {
58031
+ return remap(v2, {
58032
+ links: "_links"
58033
+ });
58034
+ });
58035
+ });
58036
+
57928
58037
  // src/models/entitywebhook.ts
57929
58038
  var EntityWebhookLinks$inboundSchema, EntityWebhookLinks$outboundSchema, EntityWebhook$inboundSchema, EntityWebhook$outboundSchema;
57930
58039
  var init_entitywebhook = __esm(() => {
@@ -58397,22 +58506,22 @@ var init_entitywebhookevent = __esm(() => {
58397
58506
  });
58398
58507
 
58399
58508
  // src/models/errorresponse.ts
58400
- var Documentation$inboundSchema, Documentation$outboundSchema, ErrorResponseLinks$inboundSchema, ErrorResponseLinks$outboundSchema;
58509
+ var ErrorResponseDocumentation$inboundSchema, ErrorResponseDocumentation$outboundSchema, ErrorResponseLinks$inboundSchema, ErrorResponseLinks$outboundSchema;
58401
58510
  var init_errorresponse = __esm(() => {
58402
58511
  init_esm();
58403
- Documentation$inboundSchema = objectType({
58512
+ ErrorResponseDocumentation$inboundSchema = objectType({
58404
58513
  href: stringType(),
58405
58514
  type: stringType()
58406
58515
  });
58407
- Documentation$outboundSchema = objectType({
58516
+ ErrorResponseDocumentation$outboundSchema = objectType({
58408
58517
  href: stringType(),
58409
58518
  type: stringType()
58410
58519
  });
58411
58520
  ErrorResponseLinks$inboundSchema = objectType({
58412
- documentation: lazyType(() => Documentation$inboundSchema)
58521
+ documentation: lazyType(() => ErrorResponseDocumentation$inboundSchema)
58413
58522
  });
58414
58523
  ErrorResponseLinks$outboundSchema = objectType({
58415
- documentation: lazyType(() => Documentation$outboundSchema)
58524
+ documentation: lazyType(() => ErrorResponseDocumentation$outboundSchema)
58416
58525
  });
58417
58526
  });
58418
58527
 
@@ -59475,6 +59584,91 @@ var init_listentityterminal = __esm(() => {
59475
59584
  });
59476
59585
  });
59477
59586
 
59587
+ // src/models/listentityunmatchedcredittransfer.ts
59588
+ var ListEntityUnmatchedCreditTransferSource$inboundSchema, ListEntityUnmatchedCreditTransferSource$outboundSchema, ListEntityUnmatchedCreditTransferReferences$inboundSchema, ListEntityUnmatchedCreditTransferReferences$outboundSchema, ListEntityUnmatchedCreditTransferRemittanceInformation$inboundSchema, ListEntityUnmatchedCreditTransferRemittanceInformation$outboundSchema, ListEntityUnmatchedCreditTransferSelf$inboundSchema, ListEntityUnmatchedCreditTransferSelf$outboundSchema, ListEntityUnmatchedCreditTransferLinks$inboundSchema, ListEntityUnmatchedCreditTransferLinks$outboundSchema, ListEntityUnmatchedCreditTransfer$inboundSchema, ListEntityUnmatchedCreditTransfer$outboundSchema;
59589
+ var init_listentityunmatchedcredittransfer = __esm(() => {
59590
+ init_esm();
59591
+ init_primitives();
59592
+ init_amount();
59593
+ init_unmatchedcredittransferstatus();
59594
+ ListEntityUnmatchedCreditTransferSource$inboundSchema = objectType({
59595
+ format: stringType(),
59596
+ accountHolderName: stringType(),
59597
+ iban: stringType(),
59598
+ bic: stringType()
59599
+ });
59600
+ ListEntityUnmatchedCreditTransferSource$outboundSchema = objectType({
59601
+ format: stringType(),
59602
+ accountHolderName: stringType(),
59603
+ iban: stringType(),
59604
+ bic: stringType()
59605
+ });
59606
+ ListEntityUnmatchedCreditTransferReferences$inboundSchema = objectType({
59607
+ creditorReference: nullableType(stringType()).optional(),
59608
+ endToEndId: stringType().optional()
59609
+ });
59610
+ ListEntityUnmatchedCreditTransferReferences$outboundSchema = objectType({
59611
+ creditorReference: nullableType(stringType()).optional(),
59612
+ endToEndId: stringType().optional()
59613
+ });
59614
+ ListEntityUnmatchedCreditTransferRemittanceInformation$inboundSchema = objectType({
59615
+ unstructured: stringType().optional(),
59616
+ references: lazyType(() => ListEntityUnmatchedCreditTransferReferences$inboundSchema).optional()
59617
+ });
59618
+ ListEntityUnmatchedCreditTransferRemittanceInformation$outboundSchema = objectType({
59619
+ unstructured: stringType().optional(),
59620
+ references: lazyType(() => ListEntityUnmatchedCreditTransferReferences$outboundSchema).optional()
59621
+ });
59622
+ ListEntityUnmatchedCreditTransferSelf$inboundSchema = objectType({
59623
+ href: stringType().optional(),
59624
+ type: stringType().optional()
59625
+ });
59626
+ ListEntityUnmatchedCreditTransferSelf$outboundSchema = objectType({
59627
+ href: stringType().optional(),
59628
+ type: stringType().optional()
59629
+ });
59630
+ ListEntityUnmatchedCreditTransferLinks$inboundSchema = objectType({
59631
+ self: lazyType(() => ListEntityUnmatchedCreditTransferSelf$inboundSchema).optional()
59632
+ });
59633
+ ListEntityUnmatchedCreditTransferLinks$outboundSchema = objectType({
59634
+ self: lazyType(() => ListEntityUnmatchedCreditTransferSelf$outboundSchema).optional()
59635
+ });
59636
+ ListEntityUnmatchedCreditTransfer$inboundSchema = objectType({
59637
+ resource: stringType(),
59638
+ id: stringType(),
59639
+ profileId: stringType(),
59640
+ amount: Amount$inboundSchema,
59641
+ source: lazyType(() => ListEntityUnmatchedCreditTransferSource$inboundSchema),
59642
+ remittanceInformation: lazyType(() => ListEntityUnmatchedCreditTransferRemittanceInformation$inboundSchema),
59643
+ status: UnmatchedCreditTransferStatus$inboundSchema,
59644
+ createdAt: stringType(),
59645
+ expiresAt: stringType(),
59646
+ paymentIds: arrayType(stringType()).optional(),
59647
+ _links: lazyType(() => ListEntityUnmatchedCreditTransferLinks$inboundSchema)
59648
+ }).transform((v2) => {
59649
+ return remap(v2, {
59650
+ _links: "links"
59651
+ });
59652
+ });
59653
+ ListEntityUnmatchedCreditTransfer$outboundSchema = objectType({
59654
+ resource: stringType(),
59655
+ id: stringType(),
59656
+ profileId: stringType(),
59657
+ amount: Amount$outboundSchema,
59658
+ source: lazyType(() => ListEntityUnmatchedCreditTransferSource$outboundSchema),
59659
+ remittanceInformation: lazyType(() => ListEntityUnmatchedCreditTransferRemittanceInformation$outboundSchema),
59660
+ status: UnmatchedCreditTransferStatus$outboundSchema,
59661
+ createdAt: stringType(),
59662
+ expiresAt: stringType(),
59663
+ paymentIds: arrayType(stringType()).optional(),
59664
+ links: lazyType(() => ListEntityUnmatchedCreditTransferLinks$outboundSchema)
59665
+ }).transform((v2) => {
59666
+ return remap(v2, {
59667
+ links: "_links"
59668
+ });
59669
+ });
59670
+ });
59671
+
59478
59672
  // src/models/listentitywebhook.ts
59479
59673
  var ListEntityWebhookLinks$inboundSchema, ListEntityWebhookLinks$outboundSchema, ListEntityWebhook$inboundSchema, ListEntityWebhook$outboundSchema;
59480
59674
  var init_listentitywebhook = __esm(() => {
@@ -64031,6 +64225,95 @@ var init_transferresponse = __esm(() => {
64031
64225
  });
64032
64226
  });
64033
64227
 
64228
+ // src/models/unmatchedcredittransferactionresponse.ts
64229
+ var Action, UnmatchedCreditTransferActionResponseStatus, Action$inboundSchema, Action$outboundSchema, UnmatchedCreditTransferActionResponseStatus$inboundSchema, UnmatchedCreditTransferActionResponseStatus$outboundSchema, UnmatchedCreditTransferActionResponseDetails$inboundSchema, UnmatchedCreditTransferActionResponseDetails$outboundSchema, UnmatchedCreditTransferActionResponseSelf$inboundSchema, UnmatchedCreditTransferActionResponseSelf$outboundSchema, UnmatchedCreditTransferActionResponseDocumentation$inboundSchema, UnmatchedCreditTransferActionResponseDocumentation$outboundSchema, UnmatchedCreditTransferActionResponseLinks$inboundSchema, UnmatchedCreditTransferActionResponseLinks$outboundSchema, UnmatchedCreditTransferActionResponse$inboundSchema, UnmatchedCreditTransferActionResponse$outboundSchema;
64230
+ var init_unmatchedcredittransferactionresponse = __esm(() => {
64231
+ init_esm();
64232
+ init_primitives();
64233
+ init_enums();
64234
+ Action = {
64235
+ Match: "match",
64236
+ Return: "return"
64237
+ };
64238
+ UnmatchedCreditTransferActionResponseStatus = {
64239
+ Pending: "pending"
64240
+ };
64241
+ Action$inboundSchema = inboundSchema(Action);
64242
+ Action$outboundSchema = outboundSchema(Action);
64243
+ UnmatchedCreditTransferActionResponseStatus$inboundSchema = inboundSchema(UnmatchedCreditTransferActionResponseStatus);
64244
+ UnmatchedCreditTransferActionResponseStatus$outboundSchema = outboundSchema(UnmatchedCreditTransferActionResponseStatus);
64245
+ UnmatchedCreditTransferActionResponseDetails$inboundSchema = objectType({
64246
+ paymentIds: arrayType(stringType()).optional()
64247
+ });
64248
+ UnmatchedCreditTransferActionResponseDetails$outboundSchema = objectType({
64249
+ paymentIds: arrayType(stringType()).optional()
64250
+ });
64251
+ UnmatchedCreditTransferActionResponseSelf$inboundSchema = objectType({
64252
+ href: stringType().optional(),
64253
+ type: stringType().optional()
64254
+ });
64255
+ UnmatchedCreditTransferActionResponseSelf$outboundSchema = objectType({
64256
+ href: stringType().optional(),
64257
+ type: stringType().optional()
64258
+ });
64259
+ UnmatchedCreditTransferActionResponseDocumentation$inboundSchema = objectType({
64260
+ href: stringType().optional(),
64261
+ type: stringType().optional()
64262
+ });
64263
+ UnmatchedCreditTransferActionResponseDocumentation$outboundSchema = objectType({
64264
+ href: stringType().optional(),
64265
+ type: stringType().optional()
64266
+ });
64267
+ UnmatchedCreditTransferActionResponseLinks$inboundSchema = objectType({
64268
+ self: lazyType(() => UnmatchedCreditTransferActionResponseSelf$inboundSchema).optional(),
64269
+ documentation: lazyType(() => UnmatchedCreditTransferActionResponseDocumentation$inboundSchema).optional()
64270
+ });
64271
+ UnmatchedCreditTransferActionResponseLinks$outboundSchema = objectType({
64272
+ self: lazyType(() => UnmatchedCreditTransferActionResponseSelf$outboundSchema).optional(),
64273
+ documentation: lazyType(() => UnmatchedCreditTransferActionResponseDocumentation$outboundSchema).optional()
64274
+ });
64275
+ UnmatchedCreditTransferActionResponse$inboundSchema = objectType({
64276
+ resource: stringType(),
64277
+ id: stringType(),
64278
+ unmatchedCreditTransferId: stringType(),
64279
+ action: Action$inboundSchema,
64280
+ status: UnmatchedCreditTransferActionResponseStatus$inboundSchema,
64281
+ createdAt: stringType(),
64282
+ details: lazyType(() => UnmatchedCreditTransferActionResponseDetails$inboundSchema).optional(),
64283
+ _links: lazyType(() => UnmatchedCreditTransferActionResponseLinks$inboundSchema)
64284
+ }).transform((v2) => {
64285
+ return remap(v2, {
64286
+ _links: "links"
64287
+ });
64288
+ });
64289
+ UnmatchedCreditTransferActionResponse$outboundSchema = objectType({
64290
+ resource: stringType(),
64291
+ id: stringType(),
64292
+ unmatchedCreditTransferId: stringType(),
64293
+ action: Action$outboundSchema,
64294
+ status: UnmatchedCreditTransferActionResponseStatus$outboundSchema,
64295
+ createdAt: stringType(),
64296
+ details: lazyType(() => UnmatchedCreditTransferActionResponseDetails$outboundSchema).optional(),
64297
+ links: lazyType(() => UnmatchedCreditTransferActionResponseLinks$outboundSchema)
64298
+ }).transform((v2) => {
64299
+ return remap(v2, {
64300
+ links: "_links"
64301
+ });
64302
+ });
64303
+ });
64304
+
64305
+ // src/models/unmatchedcredittransfermatchrequest.ts
64306
+ var UnmatchedCreditTransferMatchRequest$inboundSchema, UnmatchedCreditTransferMatchRequest$outboundSchema;
64307
+ var init_unmatchedcredittransfermatchrequest = __esm(() => {
64308
+ init_esm();
64309
+ UnmatchedCreditTransferMatchRequest$inboundSchema = objectType({
64310
+ paymentIds: arrayType(stringType())
64311
+ });
64312
+ UnmatchedCreditTransferMatchRequest$outboundSchema = objectType({
64313
+ paymentIds: arrayType(stringType())
64314
+ });
64315
+ });
64316
+
64034
64317
  // src/models/verificationofpayeerequest.ts
64035
64318
  var VerificationOfPayeeRequest$inboundSchema, VerificationOfPayeeRequest$outboundSchema;
64036
64319
  var init_verificationofpayeerequest = __esm(() => {
@@ -64155,6 +64438,7 @@ var init_models = __esm(() => {
64155
64438
  init_entityrefundresponse();
64156
64439
  init_entitysettlement();
64157
64440
  init_entityterminal();
64441
+ init_entityunmatchedcredittransfer();
64158
64442
  init_entitywebhook();
64159
64443
  init_entitywebhookevent();
64160
64444
  init_errorresponse();
@@ -64171,6 +64455,7 @@ var init_models = __esm(() => {
64171
64455
  init_listentityrefund();
64172
64456
  init_listentitysettlement();
64173
64457
  init_listentityterminal();
64458
+ init_listentityunmatchedcredittransfer();
64174
64459
  init_listentitywebhook();
64175
64460
  init_listlinks();
64176
64461
  init_listmandateresponse();
@@ -64296,6 +64581,9 @@ var init_models = __esm(() => {
64296
64581
  init_transferschemetype();
64297
64582
  init_transferschemetyperesponse();
64298
64583
  init_transferstatus();
64584
+ init_unmatchedcredittransferactionresponse();
64585
+ init_unmatchedcredittransfermatchrequest();
64586
+ init_unmatchedcredittransferstatus();
64299
64587
  init_url2();
64300
64588
  init_urlnullable();
64301
64589
  init_verificationofpayeerequest();
@@ -66252,6 +66540,29 @@ var init_gettransfer = __esm(() => {
66252
66540
  });
66253
66541
  });
66254
66542
 
66543
+ // src/models/operations/getunmatchedcredittransfer.ts
66544
+ var GetUnmatchedCreditTransferRequest$inboundSchema, GetUnmatchedCreditTransferRequest$outboundSchema;
66545
+ var init_getunmatchedcredittransfer = __esm(() => {
66546
+ init_esm();
66547
+ init_primitives();
66548
+ GetUnmatchedCreditTransferRequest$inboundSchema = objectType({
66549
+ unmatchedCreditTransferId: stringType(),
66550
+ "idempotency-key": stringType().optional()
66551
+ }).transform((v2) => {
66552
+ return remap(v2, {
66553
+ "idempotency-key": "idempotencyKey"
66554
+ });
66555
+ });
66556
+ GetUnmatchedCreditTransferRequest$outboundSchema = objectType({
66557
+ unmatchedCreditTransferId: stringType(),
66558
+ idempotencyKey: stringType().optional()
66559
+ }).transform((v2) => {
66560
+ return remap(v2, {
66561
+ idempotencyKey: "idempotency-key"
66562
+ });
66563
+ });
66564
+ });
66565
+
66255
66566
  // src/models/operations/getwebhook.ts
66256
66567
  var GetWebhookGlobals$inboundSchema, GetWebhookGlobals$outboundSchema, GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema;
66257
66568
  var init_getwebhook = __esm(() => {
@@ -68796,6 +69107,80 @@ var init_listterminals = __esm(() => {
68796
69107
  });
68797
69108
  });
68798
69109
 
69110
+ // src/models/operations/listunmatchedcredittransfers.ts
69111
+ var ListUnmatchedCreditTransfersRequest$inboundSchema, ListUnmatchedCreditTransfersRequest$outboundSchema, ListUnmatchedCreditTransfersEmbedded$inboundSchema, ListUnmatchedCreditTransfersEmbedded$outboundSchema, ListUnmatchedCreditTransfersResponseBody$inboundSchema, ListUnmatchedCreditTransfersResponseBody$outboundSchema, ListUnmatchedCreditTransfersResponse$inboundSchema, ListUnmatchedCreditTransfersResponse$outboundSchema;
69112
+ var init_listunmatchedcredittransfers = __esm(() => {
69113
+ init_esm();
69114
+ init_primitives();
69115
+ init_models();
69116
+ ListUnmatchedCreditTransfersRequest$inboundSchema = objectType({
69117
+ from: nullableType(stringType()).optional(),
69118
+ limit: nullableType(numberType().int()).optional(),
69119
+ "idempotency-key": stringType().optional()
69120
+ }).transform((v2) => {
69121
+ return remap(v2, {
69122
+ "idempotency-key": "idempotencyKey"
69123
+ });
69124
+ });
69125
+ ListUnmatchedCreditTransfersRequest$outboundSchema = objectType({
69126
+ from: nullableType(stringType()).optional(),
69127
+ limit: nullableType(numberType().int()).optional(),
69128
+ idempotencyKey: stringType().optional()
69129
+ }).transform((v2) => {
69130
+ return remap(v2, {
69131
+ idempotencyKey: "idempotency-key"
69132
+ });
69133
+ });
69134
+ ListUnmatchedCreditTransfersEmbedded$inboundSchema = objectType({
69135
+ "unmatched-credit-transfers": arrayType(ListEntityUnmatchedCreditTransfer$inboundSchema)
69136
+ }).transform((v2) => {
69137
+ return remap(v2, {
69138
+ "unmatched-credit-transfers": "unmatchedCreditTransfers"
69139
+ });
69140
+ });
69141
+ ListUnmatchedCreditTransfersEmbedded$outboundSchema = objectType({
69142
+ unmatchedCreditTransfers: arrayType(ListEntityUnmatchedCreditTransfer$outboundSchema)
69143
+ }).transform((v2) => {
69144
+ return remap(v2, {
69145
+ unmatchedCreditTransfers: "unmatched-credit-transfers"
69146
+ });
69147
+ });
69148
+ ListUnmatchedCreditTransfersResponseBody$inboundSchema = objectType({
69149
+ count: numberType().int(),
69150
+ _embedded: lazyType(() => ListUnmatchedCreditTransfersEmbedded$inboundSchema),
69151
+ _links: ListLinks$inboundSchema
69152
+ }).transform((v2) => {
69153
+ return remap(v2, {
69154
+ _embedded: "embedded",
69155
+ _links: "links"
69156
+ });
69157
+ });
69158
+ ListUnmatchedCreditTransfersResponseBody$outboundSchema = objectType({
69159
+ count: numberType().int(),
69160
+ embedded: lazyType(() => ListUnmatchedCreditTransfersEmbedded$outboundSchema),
69161
+ links: ListLinks$outboundSchema
69162
+ }).transform((v2) => {
69163
+ return remap(v2, {
69164
+ embedded: "_embedded",
69165
+ links: "_links"
69166
+ });
69167
+ });
69168
+ ListUnmatchedCreditTransfersResponse$inboundSchema = objectType({
69169
+ Result: lazyType(() => ListUnmatchedCreditTransfersResponseBody$inboundSchema)
69170
+ }).transform((v2) => {
69171
+ return remap(v2, {
69172
+ Result: "result"
69173
+ });
69174
+ });
69175
+ ListUnmatchedCreditTransfersResponse$outboundSchema = objectType({
69176
+ result: lazyType(() => ListUnmatchedCreditTransfersResponseBody$outboundSchema)
69177
+ }).transform((v2) => {
69178
+ return remap(v2, {
69179
+ result: "Result"
69180
+ });
69181
+ });
69182
+ });
69183
+
68799
69184
  // src/models/operations/listwebhooks.ts
68800
69185
  var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksResponseBody$inboundSchema, ListWebhooksResponseBody$outboundSchema, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema;
68801
69186
  var init_listwebhooks = __esm(() => {
@@ -68874,6 +69259,34 @@ var init_listwebhooks = __esm(() => {
68874
69259
  });
68875
69260
  });
68876
69261
 
69262
+ // src/models/operations/matchunmatchedcredittransfer.ts
69263
+ var MatchUnmatchedCreditTransferRequest$inboundSchema, MatchUnmatchedCreditTransferRequest$outboundSchema;
69264
+ var init_matchunmatchedcredittransfer = __esm(() => {
69265
+ init_esm();
69266
+ init_primitives();
69267
+ init_models();
69268
+ MatchUnmatchedCreditTransferRequest$inboundSchema = objectType({
69269
+ unmatchedCreditTransferId: stringType(),
69270
+ "idempotency-key": stringType().optional(),
69271
+ "unmatched-credit-transfer-match-request": UnmatchedCreditTransferMatchRequest$inboundSchema.optional()
69272
+ }).transform((v2) => {
69273
+ return remap(v2, {
69274
+ "idempotency-key": "idempotencyKey",
69275
+ "unmatched-credit-transfer-match-request": "unmatchedCreditTransferMatchRequest"
69276
+ });
69277
+ });
69278
+ MatchUnmatchedCreditTransferRequest$outboundSchema = objectType({
69279
+ unmatchedCreditTransferId: stringType(),
69280
+ idempotencyKey: stringType().optional(),
69281
+ unmatchedCreditTransferMatchRequest: UnmatchedCreditTransferMatchRequest$outboundSchema.optional()
69282
+ }).transform((v2) => {
69283
+ return remap(v2, {
69284
+ idempotencyKey: "idempotency-key",
69285
+ unmatchedCreditTransferMatchRequest: "unmatched-credit-transfer-match-request"
69286
+ });
69287
+ });
69288
+ });
69289
+
68877
69290
  // src/models/operations/paymentcreateroute.ts
68878
69291
  var PaymentCreateRouteRequest$inboundSchema, PaymentCreateRouteRequest$outboundSchema;
68879
69292
  var init_paymentcreateroute = __esm(() => {
@@ -69063,6 +69476,29 @@ var init_requestapplepaypaymentsession = __esm(() => {
69063
69476
  });
69064
69477
  });
69065
69478
 
69479
+ // src/models/operations/returnunmatchedcredittransfer.ts
69480
+ var ReturnUnmatchedCreditTransferRequest$inboundSchema, ReturnUnmatchedCreditTransferRequest$outboundSchema;
69481
+ var init_returnunmatchedcredittransfer = __esm(() => {
69482
+ init_esm();
69483
+ init_primitives();
69484
+ ReturnUnmatchedCreditTransferRequest$inboundSchema = objectType({
69485
+ unmatchedCreditTransferId: stringType(),
69486
+ "idempotency-key": stringType().optional()
69487
+ }).transform((v2) => {
69488
+ return remap(v2, {
69489
+ "idempotency-key": "idempotencyKey"
69490
+ });
69491
+ });
69492
+ ReturnUnmatchedCreditTransferRequest$outboundSchema = objectType({
69493
+ unmatchedCreditTransferId: stringType(),
69494
+ idempotencyKey: stringType().optional()
69495
+ }).transform((v2) => {
69496
+ return remap(v2, {
69497
+ idempotencyKey: "idempotency-key"
69498
+ });
69499
+ });
69500
+ });
69501
+
69066
69502
  // src/models/operations/revokemandate.ts
69067
69503
  var RevokeMandateRequestBody$inboundSchema, RevokeMandateRequestBody$outboundSchema, RevokeMandateRequest$inboundSchema, RevokeMandateRequest$outboundSchema;
69068
69504
  var init_revokemandate = __esm(() => {
@@ -69633,6 +70069,7 @@ var init_operations = __esm(() => {
69633
70069
  init_getsubscription();
69634
70070
  init_getterminal();
69635
70071
  init_gettransfer();
70072
+ init_getunmatchedcredittransfer();
69636
70073
  init_getwebhook();
69637
70074
  init_getwebhookevent();
69638
70075
  init_listallchargebacks();
@@ -69667,12 +70104,15 @@ var init_operations = __esm(() => {
69667
70104
  init_listsubscriptionpayments();
69668
70105
  init_listsubscriptions();
69669
70106
  init_listterminals();
70107
+ init_listunmatchedcredittransfers();
69670
70108
  init_listwebhooks();
70109
+ init_matchunmatchedcredittransfer();
69671
70110
  init_paymentcreateroute();
69672
70111
  init_paymentgetroute();
69673
70112
  init_paymentlistroutes();
69674
70113
  init_releaseauthorization();
69675
70114
  init_requestapplepaypaymentsession();
70115
+ init_returnunmatchedcredittransfer();
69676
70116
  init_revokemandate();
69677
70117
  init_submitonboardingdata();
69678
70118
  init_testwebhook();
@@ -82304,7 +82744,560 @@ async function $do93(client, request, options) {
82304
82744
  const responseFields = {
82305
82745
  HttpMeta: { Response: response, Request: req }
82306
82746
  };
82307
- const [result] = await match(json(200, SubscriptionResponse$inboundSchema, {
82747
+ const [result] = await match(json(200, SubscriptionResponse$inboundSchema, {
82748
+ ctype: "application/hal+json"
82749
+ }), jsonErr(404, ErrorResponse$inboundSchema, {
82750
+ ctype: "application/hal+json"
82751
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
82752
+ if (!result.ok) {
82753
+ return [result, { status: "complete", request: req, response }];
82754
+ }
82755
+ return [result, { status: "complete", request: req, response }];
82756
+ }
82757
+ var init_subscriptionsUpdate = __esm(() => {
82758
+ init_encodings();
82759
+ init_matchers();
82760
+ init_primitives();
82761
+ init_schemas4();
82762
+ init_security();
82763
+ init_url();
82764
+ init_errors4();
82765
+ init_models();
82766
+ init_operations();
82767
+ init_async();
82768
+ });
82769
+
82770
+ // src/mcp-server/tools/subscriptionsUpdate.ts
82771
+ var args93, tool$subscriptionsUpdate;
82772
+ var init_subscriptionsUpdate2 = __esm(() => {
82773
+ init_subscriptionsUpdate();
82774
+ init_operations();
82775
+ init_tools();
82776
+ args93 = {
82777
+ request: UpdateSubscriptionRequest$inboundSchema
82778
+ };
82779
+ tool$subscriptionsUpdate = {
82780
+ name: "subscriptions-update",
82781
+ description: `Update subscription
82782
+
82783
+ Update an existing subscription.
82784
+
82785
+ Canceled subscriptions cannot be updated.
82786
+
82787
+ For an in-depth explanation of each parameter, refer to the [Create subscription](create-subscription) endpoint.`,
82788
+ args: args93,
82789
+ tool: async (client, args94, ctx) => {
82790
+ const [result, apiCall] = await subscriptionsUpdate(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82791
+ if (!result.ok) {
82792
+ return {
82793
+ content: [{ type: "text", text: result.error.message }],
82794
+ isError: true
82795
+ };
82796
+ }
82797
+ const value = result.value;
82798
+ return formatResult(value, apiCall);
82799
+ }
82800
+ };
82801
+ });
82802
+
82803
+ // src/funcs/terminalsGet.ts
82804
+ function terminalsGet(client, request, options) {
82805
+ return new APIPromise($do94(client, request, options));
82806
+ }
82807
+ async function $do94(client, request, options) {
82808
+ const parsed = safeParse4(request, (value) => GetTerminalRequest$outboundSchema.parse(value), "Input validation failed");
82809
+ if (!parsed.ok) {
82810
+ return [parsed, { status: "invalid" }];
82811
+ }
82812
+ const payload = parsed.value;
82813
+ const body = null;
82814
+ const pathParams = {
82815
+ terminalId: encodeSimple("terminalId", payload.terminalId, {
82816
+ explode: false,
82817
+ charEncoding: "percent"
82818
+ })
82819
+ };
82820
+ const path = pathToFunc("/terminals/{terminalId}")(pathParams);
82821
+ const query = encodeFormQuery({
82822
+ testmode: payload.testmode ?? client._options.testmode
82823
+ });
82824
+ const headers = new Headers(compactMap({
82825
+ Accept: "application/hal+json",
82826
+ "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
82827
+ }));
82828
+ const securityInput = await extractSecurity(client._options.security);
82829
+ const requestSecurity = resolveGlobalSecurity(securityInput);
82830
+ const context = {
82831
+ options: client._options,
82832
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
82833
+ operationID: "get-terminal",
82834
+ oAuth2Scopes: null,
82835
+ resolvedSecurity: requestSecurity,
82836
+ securitySource: client._options.security,
82837
+ retryConfig: options?.retries || client._options.retryConfig || {
82838
+ strategy: "backoff",
82839
+ backoff: {
82840
+ initialInterval: 500,
82841
+ maxInterval: 5000,
82842
+ exponent: 2,
82843
+ maxElapsedTime: 7500
82844
+ },
82845
+ retryConnectionErrors: true
82846
+ },
82847
+ retryCodes: options?.retryCodes || ["5xx"]
82848
+ };
82849
+ const requestRes = client._createRequest(context, {
82850
+ security: requestSecurity,
82851
+ method: "GET",
82852
+ baseURL: options?.serverURL,
82853
+ path,
82854
+ headers,
82855
+ query,
82856
+ body,
82857
+ userAgent: client._options.userAgent,
82858
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
82859
+ }, options);
82860
+ if (!requestRes.ok) {
82861
+ return [requestRes, { status: "invalid" }];
82862
+ }
82863
+ const req = requestRes.value;
82864
+ const doResult = await client._do(req, {
82865
+ context,
82866
+ errorCodes: ["404", "4XX", "5XX"],
82867
+ retryConfig: context.retryConfig,
82868
+ retryCodes: context.retryCodes
82869
+ });
82870
+ if (!doResult.ok) {
82871
+ return [doResult, { status: "request-error", request: req }];
82872
+ }
82873
+ const response = doResult.value;
82874
+ const responseFields = {
82875
+ HttpMeta: { Response: response, Request: req }
82876
+ };
82877
+ const [result] = await match(json(200, EntityTerminal$inboundSchema, {
82878
+ ctype: "application/hal+json"
82879
+ }), jsonErr(404, ErrorResponse$inboundSchema, {
82880
+ ctype: "application/hal+json"
82881
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
82882
+ if (!result.ok) {
82883
+ return [result, { status: "complete", request: req, response }];
82884
+ }
82885
+ return [result, { status: "complete", request: req, response }];
82886
+ }
82887
+ var init_terminalsGet = __esm(() => {
82888
+ init_encodings();
82889
+ init_matchers();
82890
+ init_primitives();
82891
+ init_schemas4();
82892
+ init_security();
82893
+ init_url();
82894
+ init_errors4();
82895
+ init_models();
82896
+ init_operations();
82897
+ init_async();
82898
+ });
82899
+
82900
+ // src/mcp-server/tools/terminalsGet.ts
82901
+ var args94, tool$terminalsGet;
82902
+ var init_terminalsGet2 = __esm(() => {
82903
+ init_terminalsGet();
82904
+ init_operations();
82905
+ init_tools();
82906
+ args94 = {
82907
+ request: GetTerminalRequest$inboundSchema
82908
+ };
82909
+ tool$terminalsGet = {
82910
+ name: "terminals-get",
82911
+ description: `Get terminal
82912
+
82913
+ Retrieve a single terminal by its ID.`,
82914
+ args: args94,
82915
+ tool: async (client, args95, ctx) => {
82916
+ const [result, apiCall] = await terminalsGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82917
+ if (!result.ok) {
82918
+ return {
82919
+ content: [{ type: "text", text: result.error.message }],
82920
+ isError: true
82921
+ };
82922
+ }
82923
+ const value = result.value;
82924
+ return formatResult(value, apiCall);
82925
+ }
82926
+ };
82927
+ });
82928
+
82929
+ // src/funcs/terminalsList.ts
82930
+ function terminalsList(client, request, options) {
82931
+ return new APIPromise($do95(client, request, options));
82932
+ }
82933
+ async function $do95(client, request, options) {
82934
+ const parsed = safeParse4(request, (value) => ListTerminalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
82935
+ if (!parsed.ok) {
82936
+ return [haltIterator(parsed), { status: "invalid" }];
82937
+ }
82938
+ const payload = parsed.value;
82939
+ const body = null;
82940
+ const path = options?.[URL_OVERRIDE] ? "" : pathToFunc("/terminals")();
82941
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
82942
+ from: payload?.from,
82943
+ limit: payload?.limit,
82944
+ sort: payload?.sort,
82945
+ testmode: payload?.testmode ?? client._options.testmode
82946
+ });
82947
+ const headers = new Headers(compactMap({
82948
+ Accept: "application/hal+json",
82949
+ "idempotency-key": encodeSimple("idempotency-key", payload?.["idempotency-key"], { explode: false, charEncoding: "none" })
82950
+ }));
82951
+ const securityInput = await extractSecurity(client._options.security);
82952
+ const requestSecurity = resolveGlobalSecurity(securityInput);
82953
+ const context = {
82954
+ options: client._options,
82955
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
82956
+ operationID: "list-terminals",
82957
+ oAuth2Scopes: null,
82958
+ resolvedSecurity: requestSecurity,
82959
+ securitySource: client._options.security,
82960
+ retryConfig: options?.retries || client._options.retryConfig || {
82961
+ strategy: "backoff",
82962
+ backoff: {
82963
+ initialInterval: 500,
82964
+ maxInterval: 5000,
82965
+ exponent: 2,
82966
+ maxElapsedTime: 7500
82967
+ },
82968
+ retryConnectionErrors: true
82969
+ },
82970
+ retryCodes: options?.retryCodes || ["5xx"]
82971
+ };
82972
+ const requestRes = client._createRequest(context, {
82973
+ security: requestSecurity,
82974
+ method: "GET",
82975
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
82976
+ path,
82977
+ headers,
82978
+ query,
82979
+ body,
82980
+ userAgent: client._options.userAgent,
82981
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
82982
+ }, options);
82983
+ if (!requestRes.ok) {
82984
+ return [haltIterator(requestRes), { status: "invalid" }];
82985
+ }
82986
+ const req = requestRes.value;
82987
+ const doResult = await client._do(req, {
82988
+ context,
82989
+ errorCodes: ["400", "4XX", "5XX"],
82990
+ retryConfig: context.retryConfig,
82991
+ retryCodes: context.retryCodes
82992
+ });
82993
+ if (!doResult.ok) {
82994
+ return [haltIterator(doResult), { status: "request-error", request: req }];
82995
+ }
82996
+ const response = doResult.value;
82997
+ const responseFields = {
82998
+ HttpMeta: { Response: response, Request: req }
82999
+ };
83000
+ const [result, raw] = await match(json(200, ListTerminalsResponse$inboundSchema, {
83001
+ ctype: "application/hal+json",
83002
+ key: "Result"
83003
+ }), jsonErr(400, ErrorResponse$inboundSchema, {
83004
+ ctype: "application/hal+json"
83005
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
83006
+ if (!result.ok) {
83007
+ return [haltIterator(result), {
83008
+ status: "complete",
83009
+ request: req,
83010
+ response
83011
+ }];
83012
+ }
83013
+ const nextFunc = (responseData) => {
83014
+ let nextURL = dlv(responseData, "_links.next.href");
83015
+ if (typeof nextURL !== "string") {
83016
+ return { next: () => null };
83017
+ }
83018
+ try {
83019
+ if (nextURL.startsWith("/")) {
83020
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
83021
+ }
83022
+ new URL(nextURL);
83023
+ } catch (_error) {
83024
+ return { next: () => null };
83025
+ }
83026
+ const nextVal = () => terminalsList(client, {
83027
+ ...request
83028
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
83029
+ return { next: nextVal, "~next": { url: nextURL } };
83030
+ };
83031
+ const page = { ...result, ...nextFunc(raw) };
83032
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
83033
+ status: "complete",
83034
+ request: req,
83035
+ response
83036
+ }];
83037
+ }
83038
+ var init_terminalsList = __esm(() => {
83039
+ init_encodings();
83040
+ init_matchers();
83041
+ init_primitives();
83042
+ init_schemas4();
83043
+ init_security();
83044
+ init_url();
83045
+ init_errors4();
83046
+ init_operations();
83047
+ init_async();
83048
+ init_operations2();
83049
+ });
83050
+
83051
+ // src/mcp-server/tools/terminalsList.ts
83052
+ var args95, tool$terminalsList;
83053
+ var init_terminalsList2 = __esm(() => {
83054
+ init_terminalsList();
83055
+ init_operations();
83056
+ init_tools();
83057
+ args95 = {
83058
+ request: ListTerminalsRequest$inboundSchema.optional()
83059
+ };
83060
+ tool$terminalsList = {
83061
+ name: "terminals-list",
83062
+ description: `List terminals
83063
+
83064
+ Retrieve a list of all physical point-of-sale devices.
83065
+
83066
+ The results are paginated.`,
83067
+ args: args95,
83068
+ tool: async (client, args96, ctx) => {
83069
+ const [result, apiCall] = await terminalsList(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83070
+ if (!result.ok) {
83071
+ return {
83072
+ content: [{ type: "text", text: result.error.message }],
83073
+ isError: true
83074
+ };
83075
+ }
83076
+ const value = result.value.result;
83077
+ return formatResult(value, apiCall);
83078
+ }
83079
+ };
83080
+ });
83081
+
83082
+ // src/funcs/transfersCreate.ts
83083
+ function transfersCreate(client, request, options) {
83084
+ return new APIPromise($do96(client, request, options));
83085
+ }
83086
+ async function $do96(client, request, options) {
83087
+ const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
83088
+ if (!parsed.ok) {
83089
+ return [parsed, { status: "invalid" }];
83090
+ }
83091
+ const payload = parsed.value;
83092
+ const body = encodeJSON("body", payload["transfer-request"], {
83093
+ explode: true
83094
+ });
83095
+ const path = pathToFunc("/business-accounts/transfers")();
83096
+ const headers = new Headers(compactMap({
83097
+ "Content-Type": "application/json",
83098
+ Accept: "application/hal+json",
83099
+ "Idempotency-Key": encodeSimple("Idempotency-Key", payload["Idempotency-Key"], { explode: false, charEncoding: "none" }),
83100
+ "X-Client-Signature": encodeSimple("X-Client-Signature", payload["X-Client-Signature"], { explode: false, charEncoding: "none" }),
83101
+ "X-Client-Signed-At": encodeSimple("X-Client-Signed-At", payload["X-Client-Signed-At"], { explode: false, charEncoding: "none" }),
83102
+ "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key1"], { explode: false, charEncoding: "none" })
83103
+ }));
83104
+ const securityInput = await extractSecurity(client._options.security);
83105
+ const requestSecurity = resolveGlobalSecurity(securityInput, [1]);
83106
+ const context = {
83107
+ options: client._options,
83108
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
83109
+ operationID: "create-transfer",
83110
+ oAuth2Scopes: null,
83111
+ resolvedSecurity: requestSecurity,
83112
+ securitySource: client._options.security,
83113
+ retryConfig: options?.retries || client._options.retryConfig || {
83114
+ strategy: "backoff",
83115
+ backoff: {
83116
+ initialInterval: 500,
83117
+ maxInterval: 5000,
83118
+ exponent: 2,
83119
+ maxElapsedTime: 7500
83120
+ },
83121
+ retryConnectionErrors: true
83122
+ },
83123
+ retryCodes: options?.retryCodes || ["5xx"]
83124
+ };
83125
+ const requestRes = client._createRequest(context, {
83126
+ security: requestSecurity,
83127
+ method: "POST",
83128
+ baseURL: options?.serverURL,
83129
+ path,
83130
+ headers,
83131
+ body,
83132
+ userAgent: client._options.userAgent,
83133
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
83134
+ }, options);
83135
+ if (!requestRes.ok) {
83136
+ return [requestRes, { status: "invalid" }];
83137
+ }
83138
+ const req = requestRes.value;
83139
+ const doResult = await client._do(req, {
83140
+ context,
83141
+ errorCodes: ["422", "4XX", "503", "5XX"],
83142
+ retryConfig: context.retryConfig,
83143
+ retryCodes: context.retryCodes
83144
+ });
83145
+ if (!doResult.ok) {
83146
+ return [doResult, { status: "request-error", request: req }];
83147
+ }
83148
+ const response = doResult.value;
83149
+ const responseFields = {
83150
+ HttpMeta: { Response: response, Request: req }
83151
+ };
83152
+ const [result] = await match(json(201, TransferResponse$inboundSchema, {
83153
+ ctype: "application/hal+json"
83154
+ }), jsonErr(422, ErrorResponse$inboundSchema, {
83155
+ ctype: "application/hal+json"
83156
+ }), jsonErr(503, ErrorResponse$inboundSchema, {
83157
+ ctype: "application/hal+json"
83158
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
83159
+ if (!result.ok) {
83160
+ return [result, { status: "complete", request: req, response }];
83161
+ }
83162
+ return [result, { status: "complete", request: req, response }];
83163
+ }
83164
+ var init_transfersCreate = __esm(() => {
83165
+ init_encodings();
83166
+ init_matchers();
83167
+ init_primitives();
83168
+ init_schemas4();
83169
+ init_security();
83170
+ init_url();
83171
+ init_errors4();
83172
+ init_models();
83173
+ init_operations();
83174
+ init_async();
83175
+ });
83176
+
83177
+ // src/mcp-server/tools/transfersCreate.ts
83178
+ var args96, tool$transfersCreate;
83179
+ var init_transfersCreate2 = __esm(() => {
83180
+ init_transfersCreate();
83181
+ init_operations();
83182
+ init_tools();
83183
+ args96 = {
83184
+ request: CreateTransferRequest$inboundSchema
83185
+ };
83186
+ tool$transfersCreate = {
83187
+ name: "transfers-create",
83188
+ description: `Create transfer
83189
+
83190
+ > \uD83D\uDEA7 Beta feature
83191
+ >
83192
+ > This feature is currently in beta testing, and the final specification may still change.
83193
+
83194
+ Create a SEPA Credit Transfer from your Mollie Business Account.
83195
+
83196
+ To initiate a transfer, you must provide the transfer scheme, the amount, the debtor IBAN (your Mollie Business
83197
+ Account IBAN), and the creditor (recipient) details.
83198
+
83199
+ Each request must include an \`Idempotency-Key\` header to prevent duplicate transfers, and must be signed using the
83200
+ \`X-Client-Signature\` and \`X-Client-Signed-At\` headers.
83201
+
83202
+ ### Simulating transfer scenarios in test mode
83203
+
83204
+ In test mode, you can simulate various transfer scenarios by adjusting the transfer amount. This allows you to
83205
+ mimic the typical status progression of a real-world transfer. Note that a transfer's progression will stop once
83206
+ it reaches a final status: \`blocked\`, \`failed\`, or \`processed\`.
83207
+
83208
+ | Amount | Scenario | Webhook sequence |
83209
+ |---------|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
83210
+ | \`11.00\` | Transfer initiated, pending review by Mollie | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.pending-review\` |
83211
+ | \`12.00\` | Transfer initiated, blocked by Mollie | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.pending-review\` → \`business-account-transfer.blocked\` |
83212
+ | \`13.00\` | Transfer initiated, failed on scheme submission | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.failed\` |
83213
+ | Other | Default: transfer is processed | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.processed\` |`,
83214
+ args: args96,
83215
+ tool: async (client, args97, ctx) => {
83216
+ const [result, apiCall] = await transfersCreate(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83217
+ if (!result.ok) {
83218
+ return {
83219
+ content: [{ type: "text", text: result.error.message }],
83220
+ isError: true
83221
+ };
83222
+ }
83223
+ const value = result.value;
83224
+ return formatResult(value, apiCall);
83225
+ }
83226
+ };
83227
+ });
83228
+
83229
+ // src/funcs/transfersGet.ts
83230
+ function transfersGet(client, request, options) {
83231
+ return new APIPromise($do97(client, request, options));
83232
+ }
83233
+ async function $do97(client, request, options) {
83234
+ const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
83235
+ if (!parsed.ok) {
83236
+ return [parsed, { status: "invalid" }];
83237
+ }
83238
+ const payload = parsed.value;
83239
+ const body = null;
83240
+ const pathParams = {
83241
+ businessAccountsTransferId: encodeSimple("businessAccountsTransferId", payload.businessAccountsTransferId, { explode: false, charEncoding: "percent" })
83242
+ };
83243
+ const path = pathToFunc("/business-accounts/transfers/{businessAccountsTransferId}")(pathParams);
83244
+ const query = encodeFormQuery({
83245
+ testmode: payload.testmode ?? client._options.testmode
83246
+ });
83247
+ const headers = new Headers(compactMap({
83248
+ Accept: "application/hal+json",
83249
+ "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
83250
+ }));
83251
+ const securityInput = await extractSecurity(client._options.security);
83252
+ const requestSecurity = resolveGlobalSecurity(securityInput, [1]);
83253
+ const context = {
83254
+ options: client._options,
83255
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
83256
+ operationID: "get-transfer",
83257
+ oAuth2Scopes: null,
83258
+ resolvedSecurity: requestSecurity,
83259
+ securitySource: client._options.security,
83260
+ retryConfig: options?.retries || client._options.retryConfig || {
83261
+ strategy: "backoff",
83262
+ backoff: {
83263
+ initialInterval: 500,
83264
+ maxInterval: 5000,
83265
+ exponent: 2,
83266
+ maxElapsedTime: 7500
83267
+ },
83268
+ retryConnectionErrors: true
83269
+ },
83270
+ retryCodes: options?.retryCodes || ["5xx"]
83271
+ };
83272
+ const requestRes = client._createRequest(context, {
83273
+ security: requestSecurity,
83274
+ method: "GET",
83275
+ baseURL: options?.serverURL,
83276
+ path,
83277
+ headers,
83278
+ query,
83279
+ body,
83280
+ userAgent: client._options.userAgent,
83281
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
83282
+ }, options);
83283
+ if (!requestRes.ok) {
83284
+ return [requestRes, { status: "invalid" }];
83285
+ }
83286
+ const req = requestRes.value;
83287
+ const doResult = await client._do(req, {
83288
+ context,
83289
+ errorCodes: ["404", "4XX", "5XX"],
83290
+ retryConfig: context.retryConfig,
83291
+ retryCodes: context.retryCodes
83292
+ });
83293
+ if (!doResult.ok) {
83294
+ return [doResult, { status: "request-error", request: req }];
83295
+ }
83296
+ const response = doResult.value;
83297
+ const responseFields = {
83298
+ HttpMeta: { Response: response, Request: req }
83299
+ };
83300
+ const [result] = await match(json(200, TransferResponse$inboundSchema, {
82308
83301
  ctype: "application/hal+json"
82309
83302
  }), jsonErr(404, ErrorResponse$inboundSchema, {
82310
83303
  ctype: "application/hal+json"
@@ -82314,7 +83307,7 @@ async function $do93(client, request, options) {
82314
83307
  }
82315
83308
  return [result, { status: "complete", request: req, response }];
82316
83309
  }
82317
- var init_subscriptionsUpdate = __esm(() => {
83310
+ var init_transfersGet = __esm(() => {
82318
83311
  init_encodings();
82319
83312
  init_matchers();
82320
83313
  init_primitives();
@@ -82327,27 +83320,28 @@ var init_subscriptionsUpdate = __esm(() => {
82327
83320
  init_async();
82328
83321
  });
82329
83322
 
82330
- // src/mcp-server/tools/subscriptionsUpdate.ts
82331
- var args93, tool$subscriptionsUpdate;
82332
- var init_subscriptionsUpdate2 = __esm(() => {
82333
- init_subscriptionsUpdate();
83323
+ // src/mcp-server/tools/transfersGet.ts
83324
+ var args97, tool$transfersGet;
83325
+ var init_transfersGet2 = __esm(() => {
83326
+ init_transfersGet();
82334
83327
  init_operations();
82335
83328
  init_tools();
82336
- args93 = {
82337
- request: UpdateSubscriptionRequest$inboundSchema
83329
+ args97 = {
83330
+ request: GetTransferRequest$inboundSchema
82338
83331
  };
82339
- tool$subscriptionsUpdate = {
82340
- name: "subscriptions-update",
82341
- description: `Update subscription
82342
-
82343
- Update an existing subscription.
83332
+ tool$transfersGet = {
83333
+ name: "transfers-get",
83334
+ description: `Get transfer
82344
83335
 
82345
- Canceled subscriptions cannot be updated.
83336
+ > \uD83D\uDEA7 Beta feature
83337
+ >
83338
+ > This feature is currently in beta testing, and the final specification may still change.
82346
83339
 
82347
- For an in-depth explanation of each parameter, refer to the [Create subscription](create-subscription) endpoint.`,
82348
- args: args93,
82349
- tool: async (client, args94, ctx) => {
82350
- const [result, apiCall] = await subscriptionsUpdate(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83340
+ Retrieve a single transfer object by its transfer ID. This allows you to check the current status
83341
+ and details of a previously created transfer.`,
83342
+ args: args97,
83343
+ tool: async (client, args98, ctx) => {
83344
+ const [result, apiCall] = await transfersGet(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82351
83345
  if (!result.ok) {
82352
83346
  return {
82353
83347
  content: [{ type: "text", text: result.error.message }],
@@ -82360,27 +83354,21 @@ For an in-depth explanation of each parameter, refer to the [Create subscription
82360
83354
  };
82361
83355
  });
82362
83356
 
82363
- // src/funcs/terminalsGet.ts
82364
- function terminalsGet(client, request, options) {
82365
- return new APIPromise($do94(client, request, options));
83357
+ // src/funcs/unmatchedCreditTransfersGet.ts
83358
+ function unmatchedCreditTransfersGet(client, request, options) {
83359
+ return new APIPromise($do98(client, request, options));
82366
83360
  }
82367
- async function $do94(client, request, options) {
82368
- const parsed = safeParse4(request, (value) => GetTerminalRequest$outboundSchema.parse(value), "Input validation failed");
83361
+ async function $do98(client, request, options) {
83362
+ const parsed = safeParse4(request, (value) => GetUnmatchedCreditTransferRequest$outboundSchema.parse(value), "Input validation failed");
82369
83363
  if (!parsed.ok) {
82370
83364
  return [parsed, { status: "invalid" }];
82371
83365
  }
82372
83366
  const payload = parsed.value;
82373
83367
  const body = null;
82374
83368
  const pathParams = {
82375
- terminalId: encodeSimple("terminalId", payload.terminalId, {
82376
- explode: false,
82377
- charEncoding: "percent"
82378
- })
83369
+ unmatchedCreditTransferId: encodeSimple("unmatchedCreditTransferId", payload.unmatchedCreditTransferId, { explode: false, charEncoding: "percent" })
82379
83370
  };
82380
- const path = pathToFunc("/terminals/{terminalId}")(pathParams);
82381
- const query = encodeFormQuery({
82382
- testmode: payload.testmode ?? client._options.testmode
82383
- });
83371
+ const path = pathToFunc("/unmatched-credit-transfers/{unmatchedCreditTransferId}")(pathParams);
82384
83372
  const headers = new Headers(compactMap({
82385
83373
  Accept: "application/hal+json",
82386
83374
  "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
@@ -82390,7 +83378,7 @@ async function $do94(client, request, options) {
82390
83378
  const context = {
82391
83379
  options: client._options,
82392
83380
  baseURL: options?.serverURL ?? client._baseURL ?? "",
82393
- operationID: "get-terminal",
83381
+ operationID: "get-unmatched-credit-transfer",
82394
83382
  oAuth2Scopes: null,
82395
83383
  resolvedSecurity: requestSecurity,
82396
83384
  securitySource: client._options.security,
@@ -82412,7 +83400,6 @@ async function $do94(client, request, options) {
82412
83400
  baseURL: options?.serverURL,
82413
83401
  path,
82414
83402
  headers,
82415
- query,
82416
83403
  body,
82417
83404
  userAgent: client._options.userAgent,
82418
83405
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -82434,7 +83421,7 @@ async function $do94(client, request, options) {
82434
83421
  const responseFields = {
82435
83422
  HttpMeta: { Response: response, Request: req }
82436
83423
  };
82437
- const [result] = await match(json(200, EntityTerminal$inboundSchema, {
83424
+ const [result] = await match(json(200, EntityUnmatchedCreditTransfer$inboundSchema, {
82438
83425
  ctype: "application/hal+json"
82439
83426
  }), jsonErr(404, ErrorResponse$inboundSchema, {
82440
83427
  ctype: "application/hal+json"
@@ -82444,7 +83431,7 @@ async function $do94(client, request, options) {
82444
83431
  }
82445
83432
  return [result, { status: "complete", request: req, response }];
82446
83433
  }
82447
- var init_terminalsGet = __esm(() => {
83434
+ var init_unmatchedCreditTransfersGet = __esm(() => {
82448
83435
  init_encodings();
82449
83436
  init_matchers();
82450
83437
  init_primitives();
@@ -82457,23 +83444,27 @@ var init_terminalsGet = __esm(() => {
82457
83444
  init_async();
82458
83445
  });
82459
83446
 
82460
- // src/mcp-server/tools/terminalsGet.ts
82461
- var args94, tool$terminalsGet;
82462
- var init_terminalsGet2 = __esm(() => {
82463
- init_terminalsGet();
83447
+ // src/mcp-server/tools/unmatchedCreditTransfersGet.ts
83448
+ var args98, tool$unmatchedCreditTransfersGet;
83449
+ var init_unmatchedCreditTransfersGet2 = __esm(() => {
83450
+ init_unmatchedCreditTransfersGet();
82464
83451
  init_operations();
82465
83452
  init_tools();
82466
- args94 = {
82467
- request: GetTerminalRequest$inboundSchema
83453
+ args98 = {
83454
+ request: GetUnmatchedCreditTransferRequest$inboundSchema
82468
83455
  };
82469
- tool$terminalsGet = {
82470
- name: "terminals-get",
82471
- description: `Get terminal
83456
+ tool$unmatchedCreditTransfersGet = {
83457
+ name: "unmatched-credit-transfers-get",
83458
+ description: `Get unmatched credit transfer
82472
83459
 
82473
- Retrieve a single terminal by its ID.`,
82474
- args: args94,
82475
- tool: async (client, args95, ctx) => {
82476
- const [result, apiCall] = await terminalsGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83460
+ > \uD83D\uDEA7 Beta feature
83461
+ >
83462
+ > This feature is currently in private beta, and the final specification may still change.
83463
+
83464
+ Retrieves a single unmatched credit transfer by its identifier.`,
83465
+ args: args98,
83466
+ tool: async (client, args99, ctx) => {
83467
+ const [result, apiCall] = await unmatchedCreditTransfersGet(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82477
83468
  if (!result.ok) {
82478
83469
  return {
82479
83470
  content: [{ type: "text", text: result.error.message }],
@@ -82486,23 +83477,21 @@ Retrieve a single terminal by its ID.`,
82486
83477
  };
82487
83478
  });
82488
83479
 
82489
- // src/funcs/terminalsList.ts
82490
- function terminalsList(client, request, options) {
82491
- return new APIPromise($do95(client, request, options));
83480
+ // src/funcs/unmatchedCreditTransfersList.ts
83481
+ function unmatchedCreditTransfersList(client, request, options) {
83482
+ return new APIPromise($do99(client, request, options));
82492
83483
  }
82493
- async function $do95(client, request, options) {
82494
- const parsed = safeParse4(request, (value) => ListTerminalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
83484
+ async function $do99(client, request, options) {
83485
+ const parsed = safeParse4(request, (value) => ListUnmatchedCreditTransfersRequest$outboundSchema.optional().parse(value), "Input validation failed");
82495
83486
  if (!parsed.ok) {
82496
83487
  return [haltIterator(parsed), { status: "invalid" }];
82497
83488
  }
82498
83489
  const payload = parsed.value;
82499
83490
  const body = null;
82500
- const path = options?.[URL_OVERRIDE] ? "" : pathToFunc("/terminals")();
83491
+ const path = options?.[URL_OVERRIDE] ? "" : pathToFunc("/unmatched-credit-transfers")();
82501
83492
  const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
82502
83493
  from: payload?.from,
82503
- limit: payload?.limit,
82504
- sort: payload?.sort,
82505
- testmode: payload?.testmode ?? client._options.testmode
83494
+ limit: payload?.limit
82506
83495
  });
82507
83496
  const headers = new Headers(compactMap({
82508
83497
  Accept: "application/hal+json",
@@ -82513,7 +83502,7 @@ async function $do95(client, request, options) {
82513
83502
  const context = {
82514
83503
  options: client._options,
82515
83504
  baseURL: options?.serverURL ?? client._baseURL ?? "",
82516
- operationID: "list-terminals",
83505
+ operationID: "list-unmatched-credit-transfers",
82517
83506
  oAuth2Scopes: null,
82518
83507
  resolvedSecurity: requestSecurity,
82519
83508
  securitySource: client._options.security,
@@ -82557,7 +83546,7 @@ async function $do95(client, request, options) {
82557
83546
  const responseFields = {
82558
83547
  HttpMeta: { Response: response, Request: req }
82559
83548
  };
82560
- const [result, raw] = await match(json(200, ListTerminalsResponse$inboundSchema, {
83549
+ const [result, raw] = await match(json(200, ListUnmatchedCreditTransfersResponse$inboundSchema, {
82561
83550
  ctype: "application/hal+json",
82562
83551
  key: "Result"
82563
83552
  }), jsonErr(400, ErrorResponse$inboundSchema, {
@@ -82583,7 +83572,7 @@ async function $do95(client, request, options) {
82583
83572
  } catch (_error) {
82584
83573
  return { next: () => null };
82585
83574
  }
82586
- const nextVal = () => terminalsList(client, {
83575
+ const nextVal = () => unmatchedCreditTransfersList(client, {
82587
83576
  ...request
82588
83577
  }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
82589
83578
  return { next: nextVal, "~next": { url: nextURL } };
@@ -82595,7 +83584,7 @@ async function $do95(client, request, options) {
82595
83584
  response
82596
83585
  }];
82597
83586
  }
82598
- var init_terminalsList = __esm(() => {
83587
+ var init_unmatchedCreditTransfersList = __esm(() => {
82599
83588
  init_encodings();
82600
83589
  init_matchers();
82601
83590
  init_primitives();
@@ -82608,25 +83597,29 @@ var init_terminalsList = __esm(() => {
82608
83597
  init_operations2();
82609
83598
  });
82610
83599
 
82611
- // src/mcp-server/tools/terminalsList.ts
82612
- var args95, tool$terminalsList;
82613
- var init_terminalsList2 = __esm(() => {
82614
- init_terminalsList();
83600
+ // src/mcp-server/tools/unmatchedCreditTransfersList.ts
83601
+ var args99, tool$unmatchedCreditTransfersList;
83602
+ var init_unmatchedCreditTransfersList2 = __esm(() => {
83603
+ init_unmatchedCreditTransfersList();
82615
83604
  init_operations();
82616
83605
  init_tools();
82617
- args95 = {
82618
- request: ListTerminalsRequest$inboundSchema.optional()
83606
+ args99 = {
83607
+ request: ListUnmatchedCreditTransfersRequest$inboundSchema.optional()
82619
83608
  };
82620
- tool$terminalsList = {
82621
- name: "terminals-list",
82622
- description: `List terminals
83609
+ tool$unmatchedCreditTransfersList = {
83610
+ name: "unmatched-credit-transfers-list",
83611
+ description: `List unmatched credit transfers
82623
83612
 
82624
- Retrieve a list of all physical point-of-sale devices.
83613
+ > \uD83D\uDEA7 Beta feature
83614
+ >
83615
+ > This feature is currently in private beta, and the final specification may still change.
83616
+
83617
+ Retrieves a list of unmatched credit transfers for the profile.
82625
83618
 
82626
83619
  The results are paginated.`,
82627
- args: args95,
82628
- tool: async (client, args96, ctx) => {
82629
- const [result, apiCall] = await terminalsList(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83620
+ args: args99,
83621
+ tool: async (client, args100, ctx) => {
83622
+ const [result, apiCall] = await unmatchedCreditTransfersList(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82630
83623
  if (!result.ok) {
82631
83624
  return {
82632
83625
  content: [{ type: "text", text: result.error.message }],
@@ -82639,34 +83632,32 @@ The results are paginated.`,
82639
83632
  };
82640
83633
  });
82641
83634
 
82642
- // src/funcs/transfersCreate.ts
82643
- function transfersCreate(client, request, options) {
82644
- return new APIPromise($do96(client, request, options));
83635
+ // src/funcs/unmatchedCreditTransfersMatch.ts
83636
+ function unmatchedCreditTransfersMatch(client, request, options) {
83637
+ return new APIPromise($do100(client, request, options));
82645
83638
  }
82646
- async function $do96(client, request, options) {
82647
- const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
83639
+ async function $do100(client, request, options) {
83640
+ const parsed = safeParse4(request, (value) => MatchUnmatchedCreditTransferRequest$outboundSchema.parse(value), "Input validation failed");
82648
83641
  if (!parsed.ok) {
82649
83642
  return [parsed, { status: "invalid" }];
82650
83643
  }
82651
83644
  const payload = parsed.value;
82652
- const body = encodeJSON("body", payload["transfer-request"], {
82653
- explode: true
82654
- });
82655
- const path = pathToFunc("/business-accounts/transfers")();
83645
+ const body = encodeJSON("body", payload["unmatched-credit-transfer-match-request"], { explode: true });
83646
+ const pathParams = {
83647
+ unmatchedCreditTransferId: encodeSimple("unmatchedCreditTransferId", payload.unmatchedCreditTransferId, { explode: false, charEncoding: "percent" })
83648
+ };
83649
+ const path = pathToFunc("/unmatched-credit-transfers/{unmatchedCreditTransferId}/match")(pathParams);
82656
83650
  const headers = new Headers(compactMap({
82657
83651
  "Content-Type": "application/json",
82658
83652
  Accept: "application/hal+json",
82659
- "Idempotency-Key": encodeSimple("Idempotency-Key", payload["Idempotency-Key"], { explode: false, charEncoding: "none" }),
82660
- "X-Client-Signature": encodeSimple("X-Client-Signature", payload["X-Client-Signature"], { explode: false, charEncoding: "none" }),
82661
- "X-Client-Signed-At": encodeSimple("X-Client-Signed-At", payload["X-Client-Signed-At"], { explode: false, charEncoding: "none" }),
82662
- "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key1"], { explode: false, charEncoding: "none" })
83653
+ "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
82663
83654
  }));
82664
83655
  const securityInput = await extractSecurity(client._options.security);
82665
- const requestSecurity = resolveGlobalSecurity(securityInput, [1]);
83656
+ const requestSecurity = resolveGlobalSecurity(securityInput);
82666
83657
  const context = {
82667
83658
  options: client._options,
82668
83659
  baseURL: options?.serverURL ?? client._baseURL ?? "",
82669
- operationID: "create-transfer",
83660
+ operationID: "match-unmatched-credit-transfer",
82670
83661
  oAuth2Scopes: null,
82671
83662
  resolvedSecurity: requestSecurity,
82672
83663
  securitySource: client._options.security,
@@ -82698,7 +83689,7 @@ async function $do96(client, request, options) {
82698
83689
  const req = requestRes.value;
82699
83690
  const doResult = await client._do(req, {
82700
83691
  context,
82701
- errorCodes: ["422", "4XX", "503", "5XX"],
83692
+ errorCodes: ["404", "422", "4XX", "5XX"],
82702
83693
  retryConfig: context.retryConfig,
82703
83694
  retryCodes: context.retryCodes
82704
83695
  });
@@ -82709,11 +83700,9 @@ async function $do96(client, request, options) {
82709
83700
  const responseFields = {
82710
83701
  HttpMeta: { Response: response, Request: req }
82711
83702
  };
82712
- const [result] = await match(json(201, TransferResponse$inboundSchema, {
82713
- ctype: "application/hal+json"
82714
- }), jsonErr(422, ErrorResponse$inboundSchema, {
83703
+ const [result] = await match(json(201, UnmatchedCreditTransferActionResponse$inboundSchema, {
82715
83704
  ctype: "application/hal+json"
82716
- }), jsonErr(503, ErrorResponse$inboundSchema, {
83705
+ }), jsonErr([404, 422], ErrorResponse$inboundSchema, {
82717
83706
  ctype: "application/hal+json"
82718
83707
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
82719
83708
  if (!result.ok) {
@@ -82721,7 +83710,7 @@ async function $do96(client, request, options) {
82721
83710
  }
82722
83711
  return [result, { status: "complete", request: req, response }];
82723
83712
  }
82724
- var init_transfersCreate = __esm(() => {
83713
+ var init_unmatchedCreditTransfersMatch = __esm(() => {
82725
83714
  init_encodings();
82726
83715
  init_matchers();
82727
83716
  init_primitives();
@@ -82734,46 +83723,27 @@ var init_transfersCreate = __esm(() => {
82734
83723
  init_async();
82735
83724
  });
82736
83725
 
82737
- // src/mcp-server/tools/transfersCreate.ts
82738
- var args96, tool$transfersCreate;
82739
- var init_transfersCreate2 = __esm(() => {
82740
- init_transfersCreate();
83726
+ // src/mcp-server/tools/unmatchedCreditTransfersMatch.ts
83727
+ var args100, tool$unmatchedCreditTransfersMatch;
83728
+ var init_unmatchedCreditTransfersMatch2 = __esm(() => {
83729
+ init_unmatchedCreditTransfersMatch();
82741
83730
  init_operations();
82742
83731
  init_tools();
82743
- args96 = {
82744
- request: CreateTransferRequest$inboundSchema
83732
+ args100 = {
83733
+ request: MatchUnmatchedCreditTransferRequest$inboundSchema
82745
83734
  };
82746
- tool$transfersCreate = {
82747
- name: "transfers-create",
82748
- description: `Create transfer
83735
+ tool$unmatchedCreditTransfersMatch = {
83736
+ name: "unmatched-credit-transfers-match",
83737
+ description: `Match unmatched credit transfer
82749
83738
 
82750
83739
  > \uD83D\uDEA7 Beta feature
82751
83740
  >
82752
- > This feature is currently in beta testing, and the final specification may still change.
82753
-
82754
- Create a SEPA Credit Transfer from your Mollie Business Account.
82755
-
82756
- To initiate a transfer, you must provide the transfer scheme, the amount, the debtor IBAN (your Mollie Business
82757
- Account IBAN), and the creditor (recipient) details.
82758
-
82759
- Each request must include an \`Idempotency-Key\` header to prevent duplicate transfers, and must be signed using the
82760
- \`X-Client-Signature\` and \`X-Client-Signed-At\` headers.
82761
-
82762
- ### Simulating transfer scenarios in test mode
82763
-
82764
- In test mode, you can simulate various transfer scenarios by adjusting the transfer amount. This allows you to
82765
- mimic the typical status progression of a real-world transfer. Note that a transfer's progression will stop once
82766
- it reaches a final status: \`blocked\`, \`failed\`, or \`processed\`.
83741
+ > This feature is currently in private beta, and the final specification may still change.
82767
83742
 
82768
- | Amount | Scenario | Webhook sequence |
82769
- |---------|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
82770
- | \`11.00\` | Transfer initiated, pending review by Mollie | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.pending-review\` |
82771
- | \`12.00\` | Transfer initiated, blocked by Mollie | \`business-account-transfer.requested\` \`business-account-transfer.initiated\` \`business-account-transfer.pending-review\` → \`business-account-transfer.blocked\` |
82772
- | \`13.00\` | Transfer initiated, failed on scheme submission | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.failed\` |
82773
- | Other | Default: transfer is processed | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.processed\` |`,
82774
- args: args96,
82775
- tool: async (client, args97, ctx) => {
82776
- const [result, apiCall] = await transfersCreate(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83743
+ Matches an unmatched credit transfer to one or more payments, settling the funds accordingly.`,
83744
+ args: args100,
83745
+ tool: async (client, args101, ctx) => {
83746
+ const [result, apiCall] = await unmatchedCreditTransfersMatch(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82777
83747
  if (!result.ok) {
82778
83748
  return {
82779
83749
  content: [{ type: "text", text: result.error.message }],
@@ -82786,34 +83756,31 @@ it reaches a final status: \`blocked\`, \`failed\`, or \`processed\`.
82786
83756
  };
82787
83757
  });
82788
83758
 
82789
- // src/funcs/transfersGet.ts
82790
- function transfersGet(client, request, options) {
82791
- return new APIPromise($do97(client, request, options));
83759
+ // src/funcs/unmatchedCreditTransfersReturn.ts
83760
+ function unmatchedCreditTransfersReturn(client, request, options) {
83761
+ return new APIPromise($do101(client, request, options));
82792
83762
  }
82793
- async function $do97(client, request, options) {
82794
- const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
83763
+ async function $do101(client, request, options) {
83764
+ const parsed = safeParse4(request, (value) => ReturnUnmatchedCreditTransferRequest$outboundSchema.parse(value), "Input validation failed");
82795
83765
  if (!parsed.ok) {
82796
83766
  return [parsed, { status: "invalid" }];
82797
83767
  }
82798
83768
  const payload = parsed.value;
82799
83769
  const body = null;
82800
83770
  const pathParams = {
82801
- businessAccountsTransferId: encodeSimple("businessAccountsTransferId", payload.businessAccountsTransferId, { explode: false, charEncoding: "percent" })
83771
+ unmatchedCreditTransferId: encodeSimple("unmatchedCreditTransferId", payload.unmatchedCreditTransferId, { explode: false, charEncoding: "percent" })
82802
83772
  };
82803
- const path = pathToFunc("/business-accounts/transfers/{businessAccountsTransferId}")(pathParams);
82804
- const query = encodeFormQuery({
82805
- testmode: payload.testmode ?? client._options.testmode
82806
- });
83773
+ const path = pathToFunc("/unmatched-credit-transfers/{unmatchedCreditTransferId}/return")(pathParams);
82807
83774
  const headers = new Headers(compactMap({
82808
83775
  Accept: "application/hal+json",
82809
83776
  "idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
82810
83777
  }));
82811
83778
  const securityInput = await extractSecurity(client._options.security);
82812
- const requestSecurity = resolveGlobalSecurity(securityInput, [1]);
83779
+ const requestSecurity = resolveGlobalSecurity(securityInput);
82813
83780
  const context = {
82814
83781
  options: client._options,
82815
83782
  baseURL: options?.serverURL ?? client._baseURL ?? "",
82816
- operationID: "get-transfer",
83783
+ operationID: "return-unmatched-credit-transfer",
82817
83784
  oAuth2Scopes: null,
82818
83785
  resolvedSecurity: requestSecurity,
82819
83786
  securitySource: client._options.security,
@@ -82831,11 +83798,10 @@ async function $do97(client, request, options) {
82831
83798
  };
82832
83799
  const requestRes = client._createRequest(context, {
82833
83800
  security: requestSecurity,
82834
- method: "GET",
83801
+ method: "POST",
82835
83802
  baseURL: options?.serverURL,
82836
83803
  path,
82837
83804
  headers,
82838
- query,
82839
83805
  body,
82840
83806
  userAgent: client._options.userAgent,
82841
83807
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -82857,7 +83823,7 @@ async function $do97(client, request, options) {
82857
83823
  const responseFields = {
82858
83824
  HttpMeta: { Response: response, Request: req }
82859
83825
  };
82860
- const [result] = await match(json(200, TransferResponse$inboundSchema, {
83826
+ const [result] = await match(json(201, UnmatchedCreditTransferActionResponse$inboundSchema, {
82861
83827
  ctype: "application/hal+json"
82862
83828
  }), jsonErr(404, ErrorResponse$inboundSchema, {
82863
83829
  ctype: "application/hal+json"
@@ -82867,7 +83833,7 @@ async function $do97(client, request, options) {
82867
83833
  }
82868
83834
  return [result, { status: "complete", request: req, response }];
82869
83835
  }
82870
- var init_transfersGet = __esm(() => {
83836
+ var init_unmatchedCreditTransfersReturn = __esm(() => {
82871
83837
  init_encodings();
82872
83838
  init_matchers();
82873
83839
  init_primitives();
@@ -82880,28 +83846,27 @@ var init_transfersGet = __esm(() => {
82880
83846
  init_async();
82881
83847
  });
82882
83848
 
82883
- // src/mcp-server/tools/transfersGet.ts
82884
- var args97, tool$transfersGet;
82885
- var init_transfersGet2 = __esm(() => {
82886
- init_transfersGet();
83849
+ // src/mcp-server/tools/unmatchedCreditTransfersReturn.ts
83850
+ var args101, tool$unmatchedCreditTransfersReturn;
83851
+ var init_unmatchedCreditTransfersReturn2 = __esm(() => {
83852
+ init_unmatchedCreditTransfersReturn();
82887
83853
  init_operations();
82888
83854
  init_tools();
82889
- args97 = {
82890
- request: GetTransferRequest$inboundSchema
83855
+ args101 = {
83856
+ request: ReturnUnmatchedCreditTransferRequest$inboundSchema
82891
83857
  };
82892
- tool$transfersGet = {
82893
- name: "transfers-get",
82894
- description: `Get transfer
83858
+ tool$unmatchedCreditTransfersReturn = {
83859
+ name: "unmatched-credit-transfers-return",
83860
+ description: `Return unmatched credit transfer
82895
83861
 
82896
83862
  > \uD83D\uDEA7 Beta feature
82897
83863
  >
82898
- > This feature is currently in beta testing, and the final specification may still change.
83864
+ > This feature is currently in private beta, and the final specification may still change.
82899
83865
 
82900
- Retrieve a single transfer object by its transfer ID. This allows you to check the current status
82901
- and details of a previously created transfer.`,
82902
- args: args97,
82903
- tool: async (client, args98, ctx) => {
82904
- const [result, apiCall] = await transfersGet(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83866
+ Returns an unmatched credit transfer, sending the funds back to the original sender.`,
83867
+ args: args101,
83868
+ tool: async (client, args102, ctx) => {
83869
+ const [result, apiCall] = await unmatchedCreditTransfersReturn(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82905
83870
  if (!result.ok) {
82906
83871
  return {
82907
83872
  content: [{ type: "text", text: result.error.message }],
@@ -82916,9 +83881,9 @@ and details of a previously created transfer.`,
82916
83881
 
82917
83882
  // src/funcs/verifyPayeesCreate.ts
82918
83883
  function verifyPayeesCreate(client, request, options) {
82919
- return new APIPromise($do98(client, request, options));
83884
+ return new APIPromise($do102(client, request, options));
82920
83885
  }
82921
- async function $do98(client, request, options) {
83886
+ async function $do102(client, request, options) {
82922
83887
  const parsed = safeParse4(request, (value) => VerifyPayeeRequest$outboundSchema.optional().parse(value), "Input validation failed");
82923
83888
  if (!parsed.ok) {
82924
83889
  return [parsed, { status: "invalid" }];
@@ -83007,12 +83972,12 @@ var init_verifyPayeesCreate = __esm(() => {
83007
83972
  });
83008
83973
 
83009
83974
  // src/mcp-server/tools/verifyPayeesCreate.ts
83010
- var args98, tool$verifyPayeesCreate;
83975
+ var args102, tool$verifyPayeesCreate;
83011
83976
  var init_verifyPayeesCreate2 = __esm(() => {
83012
83977
  init_verifyPayeesCreate();
83013
83978
  init_operations();
83014
83979
  init_tools();
83015
- args98 = {
83980
+ args102 = {
83016
83981
  request: VerifyPayeeRequest$inboundSchema.optional()
83017
83982
  };
83018
83983
  tool$verifyPayeesCreate = {
@@ -83041,9 +84006,9 @@ results without needing special properties. The names are case insensitive.
83041
84006
  | \`John No Match\` | Name does not match the bank records | \`no-match\` | — |
83042
84007
  | \`John Unavailable\` | Verification is not available | \`not-available\` | — |
83043
84008
  | Any other name | Default: name matches the bank records | \`match\` | — |`,
83044
- args: args98,
83045
- tool: async (client, args99, ctx) => {
83046
- const [result, apiCall] = await verifyPayeesCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84009
+ args: args102,
84010
+ tool: async (client, args103, ctx) => {
84011
+ const [result, apiCall] = await verifyPayeesCreate(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83047
84012
  if (!result.ok) {
83048
84013
  return {
83049
84014
  content: [{ type: "text", text: result.error.message }],
@@ -83058,9 +84023,9 @@ results without needing special properties. The names are case insensitive.
83058
84023
 
83059
84024
  // src/funcs/walletsRequestApplePaySession.ts
83060
84025
  function walletsRequestApplePaySession(client, request, options) {
83061
- return new APIPromise($do99(client, request, options));
84026
+ return new APIPromise($do103(client, request, options));
83062
84027
  }
83063
- async function $do99(client, request, options) {
84028
+ async function $do103(client, request, options) {
83064
84029
  const parsed = safeParse4(request, (value) => RequestApplePayPaymentSessionRequest$outboundSchema.optional().parse(value), "Input validation failed");
83065
84030
  if (!parsed.ok) {
83066
84031
  return [parsed, { status: "invalid" }];
@@ -83143,12 +84108,12 @@ var init_walletsRequestApplePaySession = __esm(() => {
83143
84108
  });
83144
84109
 
83145
84110
  // src/mcp-server/tools/walletsRequestApplePaySession.ts
83146
- var args99, tool$walletsRequestApplePaySession;
84111
+ var args103, tool$walletsRequestApplePaySession;
83147
84112
  var init_walletsRequestApplePaySession2 = __esm(() => {
83148
84113
  init_walletsRequestApplePaySession();
83149
84114
  init_operations();
83150
84115
  init_tools();
83151
- args99 = {
84116
+ args103 = {
83152
84117
  request: RequestApplePayPaymentSessionRequest$inboundSchema.optional()
83153
84118
  };
83154
84119
  tool$walletsRequestApplePaySession = {
@@ -83174,9 +84139,9 @@ expire after five minutes.
83174
84139
  Payment sessions cannot be requested directly from the browser. The request must be sent from your server. For the
83175
84140
  full documentation, see the official
83176
84141
  [Apple Pay JS API](https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api) documentation.`,
83177
- args: args99,
83178
- tool: async (client, args100, ctx) => {
83179
- const [result, apiCall] = await walletsRequestApplePaySession(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84142
+ args: args103,
84143
+ tool: async (client, args104, ctx) => {
84144
+ const [result, apiCall] = await walletsRequestApplePaySession(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83180
84145
  if (!result.ok) {
83181
84146
  return {
83182
84147
  content: [{ type: "text", text: result.error.message }],
@@ -83191,9 +84156,9 @@ full documentation, see the official
83191
84156
 
83192
84157
  // src/funcs/webhookEventsGet.ts
83193
84158
  function webhookEventsGet(client, request, options) {
83194
- return new APIPromise($do100(client, request, options));
84159
+ return new APIPromise($do104(client, request, options));
83195
84160
  }
83196
- async function $do100(client, request, options) {
84161
+ async function $do104(client, request, options) {
83197
84162
  const parsed = safeParse4(request, (value) => GetWebhookEventRequest$outboundSchema.parse(value), "Input validation failed");
83198
84163
  if (!parsed.ok) {
83199
84164
  return [parsed, { status: "invalid" }];
@@ -83287,12 +84252,12 @@ var init_webhookEventsGet = __esm(() => {
83287
84252
  });
83288
84253
 
83289
84254
  // src/mcp-server/tools/webhookEventsGet.ts
83290
- var args100, tool$webhookEventsGet;
84255
+ var args104, tool$webhookEventsGet;
83291
84256
  var init_webhookEventsGet2 = __esm(() => {
83292
84257
  init_webhookEventsGet();
83293
84258
  init_operations();
83294
84259
  init_tools();
83295
- args100 = {
84260
+ args104 = {
83296
84261
  request: GetWebhookEventRequest$inboundSchema
83297
84262
  };
83298
84263
  tool$webhookEventsGet = {
@@ -83300,9 +84265,9 @@ var init_webhookEventsGet2 = __esm(() => {
83300
84265
  description: `Get a Webhook Event
83301
84266
 
83302
84267
  Retrieve a single webhook event object by its event ID.`,
83303
- args: args100,
83304
- tool: async (client, args101, ctx) => {
83305
- const [result, apiCall] = await webhookEventsGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84268
+ args: args104,
84269
+ tool: async (client, args105, ctx) => {
84270
+ const [result, apiCall] = await webhookEventsGet(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83306
84271
  if (!result.ok) {
83307
84272
  return {
83308
84273
  content: [{ type: "text", text: result.error.message }],
@@ -83317,9 +84282,9 @@ Retrieve a single webhook event object by its event ID.`,
83317
84282
 
83318
84283
  // src/funcs/webhooksCreate.ts
83319
84284
  function webhooksCreate(client, request, options) {
83320
- return new APIPromise($do101(client, request, options));
84285
+ return new APIPromise($do105(client, request, options));
83321
84286
  }
83322
- async function $do101(client, request, options) {
84287
+ async function $do105(client, request, options) {
83323
84288
  const parsed = safeParse4(request, (value) => CreateWebhookRequest$outboundSchema.optional().parse(value), "Input validation failed");
83324
84289
  if (!parsed.ok) {
83325
84290
  return [parsed, { status: "invalid" }];
@@ -83404,12 +84369,12 @@ var init_webhooksCreate = __esm(() => {
83404
84369
  });
83405
84370
 
83406
84371
  // src/mcp-server/tools/webhooksCreate.ts
83407
- var args101, tool$webhooksCreate;
84372
+ var args105, tool$webhooksCreate;
83408
84373
  var init_webhooksCreate2 = __esm(() => {
83409
84374
  init_webhooksCreate();
83410
84375
  init_operations();
83411
84376
  init_tools();
83412
- args101 = {
84377
+ args105 = {
83413
84378
  request: CreateWebhookRequest$inboundSchema.optional()
83414
84379
  };
83415
84380
  tool$webhooksCreate = {
@@ -83417,9 +84382,9 @@ var init_webhooksCreate2 = __esm(() => {
83417
84382
  description: `Create a webhook
83418
84383
 
83419
84384
  A webhook must have a name, an url and a list of event types. You can also create webhooks in the webhooks settings section of the Dashboard.`,
83420
- args: args101,
83421
- tool: async (client, args102, ctx) => {
83422
- const [result, apiCall] = await webhooksCreate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84385
+ args: args105,
84386
+ tool: async (client, args106, ctx) => {
84387
+ const [result, apiCall] = await webhooksCreate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83423
84388
  if (!result.ok) {
83424
84389
  return {
83425
84390
  content: [{ type: "text", text: result.error.message }],
@@ -83434,9 +84399,9 @@ A webhook must have a name, an url and a list of event types. You can also creat
83434
84399
 
83435
84400
  // src/funcs/webhooksDelete.ts
83436
84401
  function webhooksDelete(client, request, options) {
83437
- return new APIPromise($do102(client, request, options));
84402
+ return new APIPromise($do106(client, request, options));
83438
84403
  }
83439
- async function $do102(client, request, options) {
84404
+ async function $do106(client, request, options) {
83440
84405
  const parsed = safeParse4(request, (value) => DeleteWebhookRequest$outboundSchema.parse(value), "Input validation failed");
83441
84406
  if (!parsed.ok) {
83442
84407
  return [parsed, { status: "invalid" }];
@@ -83525,12 +84490,12 @@ var init_webhooksDelete = __esm(() => {
83525
84490
  });
83526
84491
 
83527
84492
  // src/mcp-server/tools/webhooksDelete.ts
83528
- var args102, tool$webhooksDelete;
84493
+ var args106, tool$webhooksDelete;
83529
84494
  var init_webhooksDelete2 = __esm(() => {
83530
84495
  init_webhooksDelete();
83531
84496
  init_operations();
83532
84497
  init_tools();
83533
- args102 = {
84498
+ args106 = {
83534
84499
  request: DeleteWebhookRequest$inboundSchema
83535
84500
  };
83536
84501
  tool$webhooksDelete = {
@@ -83538,9 +84503,9 @@ var init_webhooksDelete2 = __esm(() => {
83538
84503
  description: `Delete a webhook
83539
84504
 
83540
84505
  Delete a single webhook object by its webhook ID.`,
83541
- args: args102,
83542
- tool: async (client, args103, ctx) => {
83543
- const [result, apiCall] = await webhooksDelete(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84506
+ args: args106,
84507
+ tool: async (client, args107, ctx) => {
84508
+ const [result, apiCall] = await webhooksDelete(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83544
84509
  if (!result.ok) {
83545
84510
  return {
83546
84511
  content: [{ type: "text", text: result.error.message }],
@@ -83554,9 +84519,9 @@ Delete a single webhook object by its webhook ID.`,
83554
84519
 
83555
84520
  // src/funcs/webhooksGet.ts
83556
84521
  function webhooksGet(client, request, options) {
83557
- return new APIPromise($do103(client, request, options));
84522
+ return new APIPromise($do107(client, request, options));
83558
84523
  }
83559
- async function $do103(client, request, options) {
84524
+ async function $do107(client, request, options) {
83560
84525
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
83561
84526
  if (!parsed.ok) {
83562
84527
  return [parsed, { status: "invalid" }];
@@ -83650,12 +84615,12 @@ var init_webhooksGet = __esm(() => {
83650
84615
  });
83651
84616
 
83652
84617
  // src/mcp-server/tools/webhooksGet.ts
83653
- var args103, tool$webhooksGet;
84618
+ var args107, tool$webhooksGet;
83654
84619
  var init_webhooksGet2 = __esm(() => {
83655
84620
  init_webhooksGet();
83656
84621
  init_operations();
83657
84622
  init_tools();
83658
- args103 = {
84623
+ args107 = {
83659
84624
  request: GetWebhookRequest$inboundSchema
83660
84625
  };
83661
84626
  tool$webhooksGet = {
@@ -83663,9 +84628,9 @@ var init_webhooksGet2 = __esm(() => {
83663
84628
  description: `Get a webhook
83664
84629
 
83665
84630
  Retrieve a single webhook object by its ID.`,
83666
- args: args103,
83667
- tool: async (client, args104, ctx) => {
83668
- const [result, apiCall] = await webhooksGet(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84631
+ args: args107,
84632
+ tool: async (client, args108, ctx) => {
84633
+ const [result, apiCall] = await webhooksGet(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83669
84634
  if (!result.ok) {
83670
84635
  return {
83671
84636
  content: [{ type: "text", text: result.error.message }],
@@ -83680,9 +84645,9 @@ Retrieve a single webhook object by its ID.`,
83680
84645
 
83681
84646
  // src/funcs/webhooksList.ts
83682
84647
  function webhooksList(client, request, options) {
83683
- return new APIPromise($do104(client, request, options));
84648
+ return new APIPromise($do108(client, request, options));
83684
84649
  }
83685
- async function $do104(client, request, options) {
84650
+ async function $do108(client, request, options) {
83686
84651
  const parsed = safeParse4(request, (value) => ListWebhooksRequest$outboundSchema.optional().parse(value), "Input validation failed");
83687
84652
  if (!parsed.ok) {
83688
84653
  return [haltIterator(parsed), { status: "invalid" }];
@@ -83802,12 +84767,12 @@ var init_webhooksList = __esm(() => {
83802
84767
  });
83803
84768
 
83804
84769
  // src/mcp-server/tools/webhooksList.ts
83805
- var args104, tool$webhooksList;
84770
+ var args108, tool$webhooksList;
83806
84771
  var init_webhooksList2 = __esm(() => {
83807
84772
  init_webhooksList();
83808
84773
  init_operations();
83809
84774
  init_tools();
83810
- args104 = {
84775
+ args108 = {
83811
84776
  request: ListWebhooksRequest$inboundSchema.optional()
83812
84777
  };
83813
84778
  tool$webhooksList = {
@@ -83815,9 +84780,9 @@ var init_webhooksList2 = __esm(() => {
83815
84780
  description: `List all webhooks
83816
84781
 
83817
84782
  Returns a paginated list of your webhooks. If no webhook endpoints are available, the resulting array will be empty. This request should never throw an error.`,
83818
- args: args104,
83819
- tool: async (client, args105, ctx) => {
83820
- const [result, apiCall] = await webhooksList(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84783
+ args: args108,
84784
+ tool: async (client, args109, ctx) => {
84785
+ const [result, apiCall] = await webhooksList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83821
84786
  if (!result.ok) {
83822
84787
  return {
83823
84788
  content: [{ type: "text", text: result.error.message }],
@@ -83832,9 +84797,9 @@ Returns a paginated list of your webhooks. If no webhook endpoints are available
83832
84797
 
83833
84798
  // src/funcs/webhooksTest.ts
83834
84799
  function webhooksTest(client, request, options) {
83835
- return new APIPromise($do105(client, request, options));
84800
+ return new APIPromise($do109(client, request, options));
83836
84801
  }
83837
- async function $do105(client, request, options) {
84802
+ async function $do109(client, request, options) {
83838
84803
  const parsed = safeParse4(request, (value) => TestWebhookRequest$outboundSchema.parse(value), "Input validation failed");
83839
84804
  if (!parsed.ok) {
83840
84805
  return [parsed, { status: "invalid" }];
@@ -83923,12 +84888,12 @@ var init_webhooksTest = __esm(() => {
83923
84888
  });
83924
84889
 
83925
84890
  // src/mcp-server/tools/webhooksTest.ts
83926
- var args105, tool$webhooksTest;
84891
+ var args109, tool$webhooksTest;
83927
84892
  var init_webhooksTest2 = __esm(() => {
83928
84893
  init_webhooksTest();
83929
84894
  init_operations();
83930
84895
  init_tools();
83931
- args105 = {
84896
+ args109 = {
83932
84897
  request: TestWebhookRequest$inboundSchema
83933
84898
  };
83934
84899
  tool$webhooksTest = {
@@ -83936,9 +84901,9 @@ var init_webhooksTest2 = __esm(() => {
83936
84901
  description: `Test a webhook
83937
84902
 
83938
84903
  Sends a test event to the webhook to verify the endpoint is working as expected.`,
83939
- args: args105,
83940
- tool: async (client, args106, ctx) => {
83941
- const [result, apiCall] = await webhooksTest(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84904
+ args: args109,
84905
+ tool: async (client, args110, ctx) => {
84906
+ const [result, apiCall] = await webhooksTest(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83942
84907
  if (!result.ok) {
83943
84908
  return {
83944
84909
  content: [{ type: "text", text: result.error.message }],
@@ -83952,9 +84917,9 @@ Sends a test event to the webhook to verify the endpoint is working as expected.
83952
84917
 
83953
84918
  // src/funcs/webhooksUpdate.ts
83954
84919
  function webhooksUpdate(client, request, options) {
83955
- return new APIPromise($do106(client, request, options));
84920
+ return new APIPromise($do110(client, request, options));
83956
84921
  }
83957
- async function $do106(client, request, options) {
84922
+ async function $do110(client, request, options) {
83958
84923
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
83959
84924
  if (!parsed.ok) {
83960
84925
  return [parsed, { status: "invalid" }];
@@ -84045,12 +85010,12 @@ var init_webhooksUpdate = __esm(() => {
84045
85010
  });
84046
85011
 
84047
85012
  // src/mcp-server/tools/webhooksUpdate.ts
84048
- var args106, tool$webhooksUpdate;
85013
+ var args110, tool$webhooksUpdate;
84049
85014
  var init_webhooksUpdate2 = __esm(() => {
84050
85015
  init_webhooksUpdate();
84051
85016
  init_operations();
84052
85017
  init_tools();
84053
- args106 = {
85018
+ args110 = {
84054
85019
  request: UpdateWebhookRequest$inboundSchema
84055
85020
  };
84056
85021
  tool$webhooksUpdate = {
@@ -84058,9 +85023,9 @@ var init_webhooksUpdate2 = __esm(() => {
84058
85023
  description: `Update a webhook
84059
85024
 
84060
85025
  Updates the webhook. You may edit the name, url and the list of subscribed event types.`,
84061
- args: args106,
84062
- tool: async (client, args107, ctx) => {
84063
- const [result, apiCall] = await webhooksUpdate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
85026
+ args: args110,
85027
+ tool: async (client, args111, ctx) => {
85028
+ const [result, apiCall] = await webhooksUpdate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84064
85029
  if (!result.ok) {
84065
85030
  return {
84066
85031
  content: [{ type: "text", text: result.error.message }],
@@ -84077,7 +85042,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
84077
85042
  function createMCPServer(deps) {
84078
85043
  const server = new McpServer({
84079
85044
  name: "Client",
84080
- version: "1.3.7"
85045
+ version: "1.3.8"
84081
85046
  });
84082
85047
  const client = new ClientCore({
84083
85048
  security: deps.security,
@@ -84142,6 +85107,10 @@ function createMCPServer(deps) {
84142
85107
  tool(tool$paymentsUpdate);
84143
85108
  tool(tool$paymentsCancel);
84144
85109
  tool(tool$paymentsReleaseAuthorization);
85110
+ tool(tool$unmatchedCreditTransfersList);
85111
+ tool(tool$unmatchedCreditTransfersGet);
85112
+ tool(tool$unmatchedCreditTransfersMatch);
85113
+ tool(tool$unmatchedCreditTransfersReturn);
84145
85114
  tool(tool$sessionsCreate);
84146
85115
  tool(tool$sessionsGet);
84147
85116
  tool(tool$methodsList);
@@ -84304,6 +85273,10 @@ var init_server2 = __esm(() => {
84304
85273
  init_terminalsList2();
84305
85274
  init_transfersCreate2();
84306
85275
  init_transfersGet2();
85276
+ init_unmatchedCreditTransfersGet2();
85277
+ init_unmatchedCreditTransfersList2();
85278
+ init_unmatchedCreditTransfersMatch2();
85279
+ init_unmatchedCreditTransfersReturn2();
84307
85280
  init_verifyPayeesCreate2();
84308
85281
  init_walletsRequestApplePaySession2();
84309
85282
  init_webhookEventsGet2();
@@ -85541,7 +86514,7 @@ var routes = an({
85541
86514
  var app = He(routes, {
85542
86515
  name: "mcp",
85543
86516
  versionInfo: {
85544
- currentVersion: "1.3.7"
86517
+ currentVersion: "1.3.8"
85545
86518
  }
85546
86519
  });
85547
86520
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -85549,5 +86522,5 @@ export {
85549
86522
  app
85550
86523
  };
85551
86524
 
85552
- //# debugId=F77DFBDB9BC133DB64756E2164756E21
86525
+ //# debugId=F42CB5887AACFEA464756E2164756E21
85553
86526
  //# sourceMappingURL=mcp-server.js.map