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
@@ -0,0 +1,538 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 4963e048ca78
4
+ */
5
+
6
+ import * as z from "zod/v3";
7
+ import { remap as remap$ } from "../lib/primitives.js";
8
+ import { safeParse } from "../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../types/fp.js";
10
+ import {
11
+ Amount,
12
+ Amount$inboundSchema,
13
+ Amount$Outbound,
14
+ Amount$outboundSchema,
15
+ } from "./amount.js";
16
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
17
+ import {
18
+ UnmatchedCreditTransferStatus,
19
+ UnmatchedCreditTransferStatus$inboundSchema,
20
+ UnmatchedCreditTransferStatus$outboundSchema,
21
+ } from "./unmatchedcredittransferstatus.js";
22
+
23
+ /**
24
+ * Details about the sender of the credit transfer.
25
+ */
26
+ export type EntityUnmatchedCreditTransferSource = {
27
+ /**
28
+ * The format of the source account. Currently always `iban`.
29
+ */
30
+ format: string;
31
+ /**
32
+ * The name of the account holder who sent the unmatched credit transfer.
33
+ */
34
+ accountHolderName: string;
35
+ /**
36
+ * The IBAN of the sender's bank account.
37
+ */
38
+ iban: string;
39
+ /**
40
+ * The BIC of the sender's bank.
41
+ */
42
+ bic: string;
43
+ };
44
+
45
+ /**
46
+ * Structured references provided with the unmatched credit transfer.
47
+ */
48
+ export type EntityUnmatchedCreditTransferReferences = {
49
+ /**
50
+ * The creditor reference.
51
+ */
52
+ creditorReference?: string | null | undefined;
53
+ /**
54
+ * The end-to-end identifier.
55
+ */
56
+ endToEndId?: string | undefined;
57
+ };
58
+
59
+ /**
60
+ * Remittance information provided with the unmatched credit transfer.
61
+ */
62
+ export type EntityUnmatchedCreditTransferRemittanceInformation = {
63
+ /**
64
+ * Unstructured remittance information, such as a free-text payment description.
65
+ */
66
+ unstructured?: string | undefined;
67
+ /**
68
+ * Structured references provided with the unmatched credit transfer.
69
+ */
70
+ references?: EntityUnmatchedCreditTransferReferences | undefined;
71
+ };
72
+
73
+ /**
74
+ * The URL to this unmatched credit transfer.
75
+ */
76
+ export type EntityUnmatchedCreditTransferSelf = {
77
+ href?: string | undefined;
78
+ type?: string | undefined;
79
+ };
80
+
81
+ /**
82
+ * The URL to the documentation of this endpoint.
83
+ */
84
+ export type EntityUnmatchedCreditTransferDocumentation = {
85
+ href?: string | undefined;
86
+ type?: string | undefined;
87
+ };
88
+
89
+ /**
90
+ * Links to related resources.
91
+ */
92
+ export type EntityUnmatchedCreditTransferLinks = {
93
+ /**
94
+ * The URL to this unmatched credit transfer.
95
+ */
96
+ self?: EntityUnmatchedCreditTransferSelf | undefined;
97
+ /**
98
+ * The URL to the documentation of this endpoint.
99
+ */
100
+ documentation?: EntityUnmatchedCreditTransferDocumentation | undefined;
101
+ };
102
+
103
+ export type EntityUnmatchedCreditTransfer = {
104
+ /**
105
+ * Indicates the response contains an unmatched credit transfer object. Will always contain the string
106
+ *
107
+ * @remarks
108
+ * `unmatched-credit-transfer` for this endpoint.
109
+ */
110
+ resource: string;
111
+ /**
112
+ * The identifier uniquely referring to this unmatched credit transfer.
113
+ */
114
+ id: string;
115
+ profileId: string;
116
+ /**
117
+ * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
118
+ */
119
+ amount: Amount;
120
+ /**
121
+ * Details about the sender of the credit transfer.
122
+ */
123
+ source: EntityUnmatchedCreditTransferSource;
124
+ /**
125
+ * Remittance information provided with the unmatched credit transfer.
126
+ */
127
+ remittanceInformation: EntityUnmatchedCreditTransferRemittanceInformation;
128
+ status: UnmatchedCreditTransferStatus;
129
+ /**
130
+ * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
131
+ */
132
+ createdAt: string;
133
+ /**
134
+ * The date and time at which the unmatched credit transfer expires, in
135
+ *
136
+ * @remarks
137
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
138
+ */
139
+ expiresAt: string;
140
+ /**
141
+ * The IDs of the payments this credit transfer was matched to. Only present when the status is `matched`.
142
+ */
143
+ paymentIds?: Array<string> | undefined;
144
+ /**
145
+ * Links to related resources.
146
+ */
147
+ links: EntityUnmatchedCreditTransferLinks;
148
+ };
149
+
150
+ /** @internal */
151
+ export const EntityUnmatchedCreditTransferSource$inboundSchema: z.ZodType<
152
+ EntityUnmatchedCreditTransferSource,
153
+ z.ZodTypeDef,
154
+ unknown
155
+ > = z.object({
156
+ format: z.string(),
157
+ accountHolderName: z.string(),
158
+ iban: z.string(),
159
+ bic: z.string(),
160
+ });
161
+ /** @internal */
162
+ export type EntityUnmatchedCreditTransferSource$Outbound = {
163
+ format: string;
164
+ accountHolderName: string;
165
+ iban: string;
166
+ bic: string;
167
+ };
168
+
169
+ /** @internal */
170
+ export const EntityUnmatchedCreditTransferSource$outboundSchema: z.ZodType<
171
+ EntityUnmatchedCreditTransferSource$Outbound,
172
+ z.ZodTypeDef,
173
+ EntityUnmatchedCreditTransferSource
174
+ > = z.object({
175
+ format: z.string(),
176
+ accountHolderName: z.string(),
177
+ iban: z.string(),
178
+ bic: z.string(),
179
+ });
180
+
181
+ export function entityUnmatchedCreditTransferSourceToJSON(
182
+ entityUnmatchedCreditTransferSource: EntityUnmatchedCreditTransferSource,
183
+ ): string {
184
+ return JSON.stringify(
185
+ EntityUnmatchedCreditTransferSource$outboundSchema.parse(
186
+ entityUnmatchedCreditTransferSource,
187
+ ),
188
+ );
189
+ }
190
+ export function entityUnmatchedCreditTransferSourceFromJSON(
191
+ jsonString: string,
192
+ ): SafeParseResult<EntityUnmatchedCreditTransferSource, SDKValidationError> {
193
+ return safeParse(
194
+ jsonString,
195
+ (x) =>
196
+ EntityUnmatchedCreditTransferSource$inboundSchema.parse(JSON.parse(x)),
197
+ `Failed to parse 'EntityUnmatchedCreditTransferSource' from JSON`,
198
+ );
199
+ }
200
+
201
+ /** @internal */
202
+ export const EntityUnmatchedCreditTransferReferences$inboundSchema: z.ZodType<
203
+ EntityUnmatchedCreditTransferReferences,
204
+ z.ZodTypeDef,
205
+ unknown
206
+ > = z.object({
207
+ creditorReference: z.nullable(z.string()).optional(),
208
+ endToEndId: z.string().optional(),
209
+ });
210
+ /** @internal */
211
+ export type EntityUnmatchedCreditTransferReferences$Outbound = {
212
+ creditorReference?: string | null | undefined;
213
+ endToEndId?: string | undefined;
214
+ };
215
+
216
+ /** @internal */
217
+ export const EntityUnmatchedCreditTransferReferences$outboundSchema: z.ZodType<
218
+ EntityUnmatchedCreditTransferReferences$Outbound,
219
+ z.ZodTypeDef,
220
+ EntityUnmatchedCreditTransferReferences
221
+ > = z.object({
222
+ creditorReference: z.nullable(z.string()).optional(),
223
+ endToEndId: z.string().optional(),
224
+ });
225
+
226
+ export function entityUnmatchedCreditTransferReferencesToJSON(
227
+ entityUnmatchedCreditTransferReferences:
228
+ EntityUnmatchedCreditTransferReferences,
229
+ ): string {
230
+ return JSON.stringify(
231
+ EntityUnmatchedCreditTransferReferences$outboundSchema.parse(
232
+ entityUnmatchedCreditTransferReferences,
233
+ ),
234
+ );
235
+ }
236
+ export function entityUnmatchedCreditTransferReferencesFromJSON(
237
+ jsonString: string,
238
+ ): SafeParseResult<
239
+ EntityUnmatchedCreditTransferReferences,
240
+ SDKValidationError
241
+ > {
242
+ return safeParse(
243
+ jsonString,
244
+ (x) =>
245
+ EntityUnmatchedCreditTransferReferences$inboundSchema.parse(
246
+ JSON.parse(x),
247
+ ),
248
+ `Failed to parse 'EntityUnmatchedCreditTransferReferences' from JSON`,
249
+ );
250
+ }
251
+
252
+ /** @internal */
253
+ export const EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema:
254
+ z.ZodType<
255
+ EntityUnmatchedCreditTransferRemittanceInformation,
256
+ z.ZodTypeDef,
257
+ unknown
258
+ > = z.object({
259
+ unstructured: z.string().optional(),
260
+ references: z.lazy(() =>
261
+ EntityUnmatchedCreditTransferReferences$inboundSchema
262
+ ).optional(),
263
+ });
264
+ /** @internal */
265
+ export type EntityUnmatchedCreditTransferRemittanceInformation$Outbound = {
266
+ unstructured?: string | undefined;
267
+ references?: EntityUnmatchedCreditTransferReferences$Outbound | undefined;
268
+ };
269
+
270
+ /** @internal */
271
+ export const EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema:
272
+ z.ZodType<
273
+ EntityUnmatchedCreditTransferRemittanceInformation$Outbound,
274
+ z.ZodTypeDef,
275
+ EntityUnmatchedCreditTransferRemittanceInformation
276
+ > = z.object({
277
+ unstructured: z.string().optional(),
278
+ references: z.lazy(() =>
279
+ EntityUnmatchedCreditTransferReferences$outboundSchema
280
+ ).optional(),
281
+ });
282
+
283
+ export function entityUnmatchedCreditTransferRemittanceInformationToJSON(
284
+ entityUnmatchedCreditTransferRemittanceInformation:
285
+ EntityUnmatchedCreditTransferRemittanceInformation,
286
+ ): string {
287
+ return JSON.stringify(
288
+ EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema.parse(
289
+ entityUnmatchedCreditTransferRemittanceInformation,
290
+ ),
291
+ );
292
+ }
293
+ export function entityUnmatchedCreditTransferRemittanceInformationFromJSON(
294
+ jsonString: string,
295
+ ): SafeParseResult<
296
+ EntityUnmatchedCreditTransferRemittanceInformation,
297
+ SDKValidationError
298
+ > {
299
+ return safeParse(
300
+ jsonString,
301
+ (x) =>
302
+ EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema.parse(
303
+ JSON.parse(x),
304
+ ),
305
+ `Failed to parse 'EntityUnmatchedCreditTransferRemittanceInformation' from JSON`,
306
+ );
307
+ }
308
+
309
+ /** @internal */
310
+ export const EntityUnmatchedCreditTransferSelf$inboundSchema: z.ZodType<
311
+ EntityUnmatchedCreditTransferSelf,
312
+ z.ZodTypeDef,
313
+ unknown
314
+ > = z.object({
315
+ href: z.string().optional(),
316
+ type: z.string().optional(),
317
+ });
318
+ /** @internal */
319
+ export type EntityUnmatchedCreditTransferSelf$Outbound = {
320
+ href?: string | undefined;
321
+ type?: string | undefined;
322
+ };
323
+
324
+ /** @internal */
325
+ export const EntityUnmatchedCreditTransferSelf$outboundSchema: z.ZodType<
326
+ EntityUnmatchedCreditTransferSelf$Outbound,
327
+ z.ZodTypeDef,
328
+ EntityUnmatchedCreditTransferSelf
329
+ > = z.object({
330
+ href: z.string().optional(),
331
+ type: z.string().optional(),
332
+ });
333
+
334
+ export function entityUnmatchedCreditTransferSelfToJSON(
335
+ entityUnmatchedCreditTransferSelf: EntityUnmatchedCreditTransferSelf,
336
+ ): string {
337
+ return JSON.stringify(
338
+ EntityUnmatchedCreditTransferSelf$outboundSchema.parse(
339
+ entityUnmatchedCreditTransferSelf,
340
+ ),
341
+ );
342
+ }
343
+ export function entityUnmatchedCreditTransferSelfFromJSON(
344
+ jsonString: string,
345
+ ): SafeParseResult<EntityUnmatchedCreditTransferSelf, SDKValidationError> {
346
+ return safeParse(
347
+ jsonString,
348
+ (x) => EntityUnmatchedCreditTransferSelf$inboundSchema.parse(JSON.parse(x)),
349
+ `Failed to parse 'EntityUnmatchedCreditTransferSelf' from JSON`,
350
+ );
351
+ }
352
+
353
+ /** @internal */
354
+ export const EntityUnmatchedCreditTransferDocumentation$inboundSchema:
355
+ z.ZodType<EntityUnmatchedCreditTransferDocumentation, z.ZodTypeDef, unknown> =
356
+ z.object({
357
+ href: z.string().optional(),
358
+ type: z.string().optional(),
359
+ });
360
+ /** @internal */
361
+ export type EntityUnmatchedCreditTransferDocumentation$Outbound = {
362
+ href?: string | undefined;
363
+ type?: string | undefined;
364
+ };
365
+
366
+ /** @internal */
367
+ export const EntityUnmatchedCreditTransferDocumentation$outboundSchema:
368
+ z.ZodType<
369
+ EntityUnmatchedCreditTransferDocumentation$Outbound,
370
+ z.ZodTypeDef,
371
+ EntityUnmatchedCreditTransferDocumentation
372
+ > = z.object({
373
+ href: z.string().optional(),
374
+ type: z.string().optional(),
375
+ });
376
+
377
+ export function entityUnmatchedCreditTransferDocumentationToJSON(
378
+ entityUnmatchedCreditTransferDocumentation:
379
+ EntityUnmatchedCreditTransferDocumentation,
380
+ ): string {
381
+ return JSON.stringify(
382
+ EntityUnmatchedCreditTransferDocumentation$outboundSchema.parse(
383
+ entityUnmatchedCreditTransferDocumentation,
384
+ ),
385
+ );
386
+ }
387
+ export function entityUnmatchedCreditTransferDocumentationFromJSON(
388
+ jsonString: string,
389
+ ): SafeParseResult<
390
+ EntityUnmatchedCreditTransferDocumentation,
391
+ SDKValidationError
392
+ > {
393
+ return safeParse(
394
+ jsonString,
395
+ (x) =>
396
+ EntityUnmatchedCreditTransferDocumentation$inboundSchema.parse(
397
+ JSON.parse(x),
398
+ ),
399
+ `Failed to parse 'EntityUnmatchedCreditTransferDocumentation' from JSON`,
400
+ );
401
+ }
402
+
403
+ /** @internal */
404
+ export const EntityUnmatchedCreditTransferLinks$inboundSchema: z.ZodType<
405
+ EntityUnmatchedCreditTransferLinks,
406
+ z.ZodTypeDef,
407
+ unknown
408
+ > = z.object({
409
+ self: z.lazy(() => EntityUnmatchedCreditTransferSelf$inboundSchema)
410
+ .optional(),
411
+ documentation: z.lazy(() =>
412
+ EntityUnmatchedCreditTransferDocumentation$inboundSchema
413
+ ).optional(),
414
+ });
415
+ /** @internal */
416
+ export type EntityUnmatchedCreditTransferLinks$Outbound = {
417
+ self?: EntityUnmatchedCreditTransferSelf$Outbound | undefined;
418
+ documentation?:
419
+ | EntityUnmatchedCreditTransferDocumentation$Outbound
420
+ | undefined;
421
+ };
422
+
423
+ /** @internal */
424
+ export const EntityUnmatchedCreditTransferLinks$outboundSchema: z.ZodType<
425
+ EntityUnmatchedCreditTransferLinks$Outbound,
426
+ z.ZodTypeDef,
427
+ EntityUnmatchedCreditTransferLinks
428
+ > = z.object({
429
+ self: z.lazy(() => EntityUnmatchedCreditTransferSelf$outboundSchema)
430
+ .optional(),
431
+ documentation: z.lazy(() =>
432
+ EntityUnmatchedCreditTransferDocumentation$outboundSchema
433
+ ).optional(),
434
+ });
435
+
436
+ export function entityUnmatchedCreditTransferLinksToJSON(
437
+ entityUnmatchedCreditTransferLinks: EntityUnmatchedCreditTransferLinks,
438
+ ): string {
439
+ return JSON.stringify(
440
+ EntityUnmatchedCreditTransferLinks$outboundSchema.parse(
441
+ entityUnmatchedCreditTransferLinks,
442
+ ),
443
+ );
444
+ }
445
+ export function entityUnmatchedCreditTransferLinksFromJSON(
446
+ jsonString: string,
447
+ ): SafeParseResult<EntityUnmatchedCreditTransferLinks, SDKValidationError> {
448
+ return safeParse(
449
+ jsonString,
450
+ (x) =>
451
+ EntityUnmatchedCreditTransferLinks$inboundSchema.parse(JSON.parse(x)),
452
+ `Failed to parse 'EntityUnmatchedCreditTransferLinks' from JSON`,
453
+ );
454
+ }
455
+
456
+ /** @internal */
457
+ export const EntityUnmatchedCreditTransfer$inboundSchema: z.ZodType<
458
+ EntityUnmatchedCreditTransfer,
459
+ z.ZodTypeDef,
460
+ unknown
461
+ > = z.object({
462
+ resource: z.string(),
463
+ id: z.string(),
464
+ profileId: z.string(),
465
+ amount: Amount$inboundSchema,
466
+ source: z.lazy(() => EntityUnmatchedCreditTransferSource$inboundSchema),
467
+ remittanceInformation: z.lazy(() =>
468
+ EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema
469
+ ),
470
+ status: UnmatchedCreditTransferStatus$inboundSchema,
471
+ createdAt: z.string(),
472
+ expiresAt: z.string(),
473
+ paymentIds: z.array(z.string()).optional(),
474
+ _links: z.lazy(() => EntityUnmatchedCreditTransferLinks$inboundSchema),
475
+ }).transform((v) => {
476
+ return remap$(v, {
477
+ "_links": "links",
478
+ });
479
+ });
480
+ /** @internal */
481
+ export type EntityUnmatchedCreditTransfer$Outbound = {
482
+ resource: string;
483
+ id: string;
484
+ profileId: string;
485
+ amount: Amount$Outbound;
486
+ source: EntityUnmatchedCreditTransferSource$Outbound;
487
+ remittanceInformation:
488
+ EntityUnmatchedCreditTransferRemittanceInformation$Outbound;
489
+ status: string;
490
+ createdAt: string;
491
+ expiresAt: string;
492
+ paymentIds?: Array<string> | undefined;
493
+ _links: EntityUnmatchedCreditTransferLinks$Outbound;
494
+ };
495
+
496
+ /** @internal */
497
+ export const EntityUnmatchedCreditTransfer$outboundSchema: z.ZodType<
498
+ EntityUnmatchedCreditTransfer$Outbound,
499
+ z.ZodTypeDef,
500
+ EntityUnmatchedCreditTransfer
501
+ > = z.object({
502
+ resource: z.string(),
503
+ id: z.string(),
504
+ profileId: z.string(),
505
+ amount: Amount$outboundSchema,
506
+ source: z.lazy(() => EntityUnmatchedCreditTransferSource$outboundSchema),
507
+ remittanceInformation: z.lazy(() =>
508
+ EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema
509
+ ),
510
+ status: UnmatchedCreditTransferStatus$outboundSchema,
511
+ createdAt: z.string(),
512
+ expiresAt: z.string(),
513
+ paymentIds: z.array(z.string()).optional(),
514
+ links: z.lazy(() => EntityUnmatchedCreditTransferLinks$outboundSchema),
515
+ }).transform((v) => {
516
+ return remap$(v, {
517
+ links: "_links",
518
+ });
519
+ });
520
+
521
+ export function entityUnmatchedCreditTransferToJSON(
522
+ entityUnmatchedCreditTransfer: EntityUnmatchedCreditTransfer,
523
+ ): string {
524
+ return JSON.stringify(
525
+ EntityUnmatchedCreditTransfer$outboundSchema.parse(
526
+ entityUnmatchedCreditTransfer,
527
+ ),
528
+ );
529
+ }
530
+ export function entityUnmatchedCreditTransferFromJSON(
531
+ jsonString: string,
532
+ ): SafeParseResult<EntityUnmatchedCreditTransfer, SDKValidationError> {
533
+ return safeParse(
534
+ jsonString,
535
+ (x) => EntityUnmatchedCreditTransfer$inboundSchema.parse(JSON.parse(x)),
536
+ `Failed to parse 'EntityUnmatchedCreditTransfer' from JSON`,
537
+ );
538
+ }
@@ -11,7 +11,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
11
11
  /**
12
12
  * The URL to the generic Mollie API error handling guide.
13
13
  */
14
- export type Documentation = {
14
+ export type ErrorResponseDocumentation = {
15
15
  href: string;
16
16
  type: string;
17
17
  };
@@ -20,12 +20,12 @@ export type ErrorResponseLinks = {
20
20
  /**
21
21
  * The URL to the generic Mollie API error handling guide.
22
22
  */
23
- documentation: Documentation;
23
+ documentation: ErrorResponseDocumentation;
24
24
  };
25
25
 
26
26
  /** @internal */
27
- export const Documentation$inboundSchema: z.ZodType<
28
- Documentation,
27
+ export const ErrorResponseDocumentation$inboundSchema: z.ZodType<
28
+ ErrorResponseDocumentation,
29
29
  z.ZodTypeDef,
30
30
  unknown
31
31
  > = z.object({
@@ -33,31 +33,35 @@ export const Documentation$inboundSchema: z.ZodType<
33
33
  type: z.string(),
34
34
  });
35
35
  /** @internal */
36
- export type Documentation$Outbound = {
36
+ export type ErrorResponseDocumentation$Outbound = {
37
37
  href: string;
38
38
  type: string;
39
39
  };
40
40
 
41
41
  /** @internal */
42
- export const Documentation$outboundSchema: z.ZodType<
43
- Documentation$Outbound,
42
+ export const ErrorResponseDocumentation$outboundSchema: z.ZodType<
43
+ ErrorResponseDocumentation$Outbound,
44
44
  z.ZodTypeDef,
45
- Documentation
45
+ ErrorResponseDocumentation
46
46
  > = z.object({
47
47
  href: z.string(),
48
48
  type: z.string(),
49
49
  });
50
50
 
51
- export function documentationToJSON(documentation: Documentation): string {
52
- return JSON.stringify(Documentation$outboundSchema.parse(documentation));
51
+ export function errorResponseDocumentationToJSON(
52
+ errorResponseDocumentation: ErrorResponseDocumentation,
53
+ ): string {
54
+ return JSON.stringify(
55
+ ErrorResponseDocumentation$outboundSchema.parse(errorResponseDocumentation),
56
+ );
53
57
  }
54
- export function documentationFromJSON(
58
+ export function errorResponseDocumentationFromJSON(
55
59
  jsonString: string,
56
- ): SafeParseResult<Documentation, SDKValidationError> {
60
+ ): SafeParseResult<ErrorResponseDocumentation, SDKValidationError> {
57
61
  return safeParse(
58
62
  jsonString,
59
- (x) => Documentation$inboundSchema.parse(JSON.parse(x)),
60
- `Failed to parse 'Documentation' from JSON`,
63
+ (x) => ErrorResponseDocumentation$inboundSchema.parse(JSON.parse(x)),
64
+ `Failed to parse 'ErrorResponseDocumentation' from JSON`,
61
65
  );
62
66
  }
63
67
 
@@ -67,11 +71,11 @@ export const ErrorResponseLinks$inboundSchema: z.ZodType<
67
71
  z.ZodTypeDef,
68
72
  unknown
69
73
  > = z.object({
70
- documentation: z.lazy(() => Documentation$inboundSchema),
74
+ documentation: z.lazy(() => ErrorResponseDocumentation$inboundSchema),
71
75
  });
72
76
  /** @internal */
73
77
  export type ErrorResponseLinks$Outbound = {
74
- documentation: Documentation$Outbound;
78
+ documentation: ErrorResponseDocumentation$Outbound;
75
79
  };
76
80
 
77
81
  /** @internal */
@@ -80,7 +84,7 @@ export const ErrorResponseLinks$outboundSchema: z.ZodType<
80
84
  z.ZodTypeDef,
81
85
  ErrorResponseLinks
82
86
  > = z.object({
83
- documentation: z.lazy(() => Documentation$outboundSchema),
87
+ documentation: z.lazy(() => ErrorResponseDocumentation$outboundSchema),
84
88
  });
85
89
 
86
90
  export function errorResponseLinksToJSON(
@@ -68,6 +68,7 @@ export * from "./entitypermission.js";
68
68
  export * from "./entityrefundresponse.js";
69
69
  export * from "./entitysettlement.js";
70
70
  export * from "./entityterminal.js";
71
+ export * from "./entityunmatchedcredittransfer.js";
71
72
  export * from "./entitywebhook.js";
72
73
  export * from "./entitywebhookevent.js";
73
74
  export * from "./errorresponse.js";
@@ -84,6 +85,7 @@ export * from "./listentitypermission.js";
84
85
  export * from "./listentityrefund.js";
85
86
  export * from "./listentitysettlement.js";
86
87
  export * from "./listentityterminal.js";
88
+ export * from "./listentityunmatchedcredittransfer.js";
87
89
  export * from "./listentitywebhook.js";
88
90
  export * from "./listlinks.js";
89
91
  export * from "./listmandateresponse.js";
@@ -209,6 +211,9 @@ export * from "./transferschemeresponse.js";
209
211
  export * from "./transferschemetype.js";
210
212
  export * from "./transferschemetyperesponse.js";
211
213
  export * from "./transferstatus.js";
214
+ export * from "./unmatchedcredittransferactionresponse.js";
215
+ export * from "./unmatchedcredittransfermatchrequest.js";
216
+ export * from "./unmatchedcredittransferstatus.js";
212
217
  export * from "./url.js";
213
218
  export * from "./urlnullable.js";
214
219
  export * from "./verificationofpayeerequest.js";