@getivy/node-sdk 0.1.0-alpha.9 → 1.1.0

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 (231) hide show
  1. package/CHANGELOG.md +334 -0
  2. package/README.md +16 -26
  3. package/_shims/index.d.ts +2 -0
  4. package/_shims/index.js +5 -1
  5. package/_shims/index.mjs +5 -1
  6. package/core.d.ts +19 -5
  7. package/core.d.ts.map +1 -1
  8. package/core.js +25 -15
  9. package/core.js.map +1 -1
  10. package/core.mjs +26 -16
  11. package/core.mjs.map +1 -1
  12. package/index.d.mts +36 -18
  13. package/index.d.ts +36 -18
  14. package/index.d.ts.map +1 -1
  15. package/index.js +27 -8
  16. package/index.js.map +1 -1
  17. package/index.mjs +27 -8
  18. package/index.mjs.map +1 -1
  19. package/package.json +11 -33
  20. package/resource.d.ts +1 -1
  21. package/resource.d.ts.map +1 -1
  22. package/resource.js.map +1 -1
  23. package/resource.mjs.map +1 -1
  24. package/resources/balance.d.ts +8 -5
  25. package/resources/balance.d.ts.map +1 -1
  26. package/resources/banks.d.ts +82 -67
  27. package/resources/banks.d.ts.map +1 -1
  28. package/resources/beneficiary-payouts.d.ts +61 -0
  29. package/resources/beneficiary-payouts.d.ts.map +1 -0
  30. package/resources/beneficiary-payouts.js +16 -0
  31. package/resources/beneficiary-payouts.js.map +1 -0
  32. package/resources/beneficiary-payouts.mjs +12 -0
  33. package/resources/beneficiary-payouts.mjs.map +1 -0
  34. package/resources/capabilities.d.ts +1 -10
  35. package/resources/capabilities.d.ts.map +1 -1
  36. package/resources/charges.d.ts +28 -19
  37. package/resources/charges.d.ts.map +1 -1
  38. package/resources/checkoutsession.d.ts +275 -1360
  39. package/resources/checkoutsession.d.ts.map +1 -1
  40. package/resources/customers.d.ts +140 -10
  41. package/resources/customers.d.ts.map +1 -1
  42. package/resources/customers.js +9 -2
  43. package/resources/customers.js.map +1 -1
  44. package/resources/customers.mjs +9 -2
  45. package/resources/customers.mjs.map +1 -1
  46. package/resources/data/accounts.d.ts +83 -0
  47. package/resources/data/accounts.d.ts.map +1 -0
  48. package/resources/data/accounts.js +15 -0
  49. package/resources/data/accounts.js.map +1 -0
  50. package/resources/data/accounts.mjs +11 -0
  51. package/resources/data/accounts.mjs.map +1 -0
  52. package/resources/data/balances.d.ts +48 -0
  53. package/resources/data/balances.d.ts.map +1 -0
  54. package/resources/data/balances.js +15 -0
  55. package/resources/data/balances.js.map +1 -0
  56. package/resources/data/balances.mjs +11 -0
  57. package/resources/data/balances.mjs.map +1 -0
  58. package/resources/data/consent.d.ts +80 -0
  59. package/resources/data/consent.d.ts.map +1 -0
  60. package/resources/data/consent.js +21 -0
  61. package/resources/data/consent.js.map +1 -0
  62. package/resources/data/consent.mjs +17 -0
  63. package/resources/data/consent.mjs.map +1 -0
  64. package/resources/data/data.d.ts +26 -0
  65. package/resources/data/data.d.ts.map +1 -0
  66. package/resources/data/data.js +55 -0
  67. package/resources/data/data.js.map +1 -0
  68. package/resources/data/data.mjs +28 -0
  69. package/resources/data/data.mjs.map +1 -0
  70. package/resources/data/index.d.ts +7 -0
  71. package/resources/data/index.d.ts.map +1 -0
  72. package/resources/data/index.js +17 -0
  73. package/resources/data/index.js.map +1 -0
  74. package/resources/data/index.mjs +8 -0
  75. package/resources/data/index.mjs.map +1 -0
  76. package/resources/data/session.d.ts +258 -0
  77. package/resources/data/session.d.ts.map +1 -0
  78. package/resources/data/session.js +21 -0
  79. package/resources/data/session.js.map +1 -0
  80. package/resources/data/session.mjs +17 -0
  81. package/resources/data/session.mjs.map +1 -0
  82. package/resources/data/transactions.d.ts +175 -0
  83. package/resources/data/transactions.d.ts.map +1 -0
  84. package/resources/data/transactions.js +16 -0
  85. package/resources/data/transactions.js.map +1 -0
  86. package/resources/data/transactions.mjs +12 -0
  87. package/resources/data/transactions.mjs.map +1 -0
  88. package/resources/data.d.ts +2 -0
  89. package/resources/data.d.ts.map +1 -0
  90. package/resources/data.js +19 -0
  91. package/resources/data.js.map +1 -0
  92. package/resources/data.mjs +3 -0
  93. package/resources/data.mjs.map +1 -0
  94. package/resources/deposits.d.ts +165 -0
  95. package/resources/deposits.d.ts.map +1 -0
  96. package/resources/deposits.js +15 -0
  97. package/resources/deposits.js.map +1 -0
  98. package/resources/deposits.mjs +11 -0
  99. package/resources/deposits.mjs.map +1 -0
  100. package/resources/fx.d.ts +90 -0
  101. package/resources/fx.d.ts.map +1 -0
  102. package/resources/fx.js +22 -0
  103. package/resources/fx.js.map +1 -0
  104. package/resources/fx.mjs +18 -0
  105. package/resources/fx.mjs.map +1 -0
  106. package/resources/index.d.ts +13 -8
  107. package/resources/index.d.ts.map +1 -1
  108. package/resources/index.js +15 -5
  109. package/resources/index.js.map +1 -1
  110. package/resources/index.mjs +7 -2
  111. package/resources/index.mjs.map +1 -1
  112. package/resources/mandates.d.ts +55 -17
  113. package/resources/mandates.d.ts.map +1 -1
  114. package/resources/orders.d.ts +720 -743
  115. package/resources/orders.d.ts.map +1 -1
  116. package/resources/orders.js +13 -3
  117. package/resources/orders.js.map +1 -1
  118. package/resources/orders.mjs +13 -3
  119. package/resources/orders.mjs.map +1 -1
  120. package/resources/payouts.d.ts +219 -103
  121. package/resources/payouts.d.ts.map +1 -1
  122. package/resources/payouts.js +3 -4
  123. package/resources/payouts.js.map +1 -1
  124. package/resources/payouts.mjs +3 -4
  125. package/resources/payouts.mjs.map +1 -1
  126. package/resources/refunds.d.ts +53 -97
  127. package/resources/refunds.d.ts.map +1 -1
  128. package/resources/refunds.js +8 -12
  129. package/resources/refunds.js.map +1 -1
  130. package/resources/refunds.mjs +8 -12
  131. package/resources/refunds.mjs.map +1 -1
  132. package/resources/returns.d.ts +104 -0
  133. package/resources/returns.d.ts.map +1 -0
  134. package/resources/returns.js +21 -0
  135. package/resources/returns.js.map +1 -0
  136. package/resources/returns.mjs +17 -0
  137. package/resources/returns.mjs.map +1 -0
  138. package/resources/subaccounts.d.ts +15 -5
  139. package/resources/subaccounts.d.ts.map +1 -1
  140. package/resources/subaccounts.js.map +1 -1
  141. package/resources/subaccounts.mjs.map +1 -1
  142. package/resources/transactions.d.ts +174 -0
  143. package/resources/transactions.d.ts.map +1 -0
  144. package/resources/transactions.js +15 -0
  145. package/resources/transactions.js.map +1 -0
  146. package/resources/transactions.mjs +11 -0
  147. package/resources/transactions.mjs.map +1 -0
  148. package/resources/webhook/index.d.ts +3 -0
  149. package/resources/webhook/index.d.ts.map +1 -0
  150. package/resources/webhook/index.js +9 -0
  151. package/resources/webhook/index.js.map +1 -0
  152. package/resources/webhook/index.mjs +4 -0
  153. package/resources/webhook/index.mjs.map +1 -0
  154. package/resources/webhook/subscription.d.ts +152 -0
  155. package/resources/webhook/subscription.d.ts.map +1 -0
  156. package/resources/{webhooksubscription.js → webhook/subscription.js} +6 -6
  157. package/resources/webhook/subscription.js.map +1 -0
  158. package/resources/{webhooksubscription.mjs → webhook/subscription.mjs} +4 -4
  159. package/resources/webhook/subscription.mjs.map +1 -0
  160. package/resources/webhook/webhook.d.ts +28 -0
  161. package/resources/webhook/webhook.d.ts.map +1 -0
  162. package/resources/webhook/webhook.js +45 -0
  163. package/resources/webhook/webhook.js.map +1 -0
  164. package/resources/webhook/webhook.mjs +18 -0
  165. package/resources/webhook/webhook.mjs.map +1 -0
  166. package/resources/webhook.d.ts +2 -0
  167. package/resources/webhook.d.ts.map +1 -0
  168. package/resources/webhook.js +19 -0
  169. package/resources/webhook.js.map +1 -0
  170. package/resources/webhook.mjs +3 -0
  171. package/resources/webhook.mjs.map +1 -0
  172. package/resources.d.ts +2 -0
  173. package/resources.d.ts.map +1 -0
  174. package/resources.js +18 -0
  175. package/resources.js.map +1 -0
  176. package/resources.mjs +2 -0
  177. package/resources.mjs.map +1 -0
  178. package/src/_shims/index.d.ts +2 -0
  179. package/src/_shims/index.js +5 -1
  180. package/src/_shims/index.mjs +5 -1
  181. package/src/core.ts +44 -16
  182. package/src/index.ts +111 -60
  183. package/src/resource.ts +1 -1
  184. package/src/resources/balance.ts +8 -5
  185. package/src/resources/banks.ts +130 -67
  186. package/src/resources/beneficiary-payouts.ts +78 -0
  187. package/src/resources/capabilities.ts +1 -10
  188. package/src/resources/charges.ts +30 -21
  189. package/src/resources/checkoutsession.ts +1224 -3096
  190. package/src/resources/customers.ts +164 -9
  191. package/src/resources/data/accounts.ts +113 -0
  192. package/src/resources/data/balances.ts +60 -0
  193. package/src/resources/data/consent.ts +110 -0
  194. package/src/resources/data/data.ts +75 -0
  195. package/src/resources/data/index.ts +20 -0
  196. package/src/resources/data/session.ts +1317 -0
  197. package/src/resources/data/transactions.ts +235 -0
  198. package/src/resources/data.ts +3 -0
  199. package/src/resources/deposits.ts +231 -0
  200. package/src/resources/fx.ts +119 -0
  201. package/src/resources/index.ts +33 -28
  202. package/src/resources/mandates.ts +79 -17
  203. package/src/resources/orders.ts +1449 -1075
  204. package/src/resources/payouts.ts +273 -103
  205. package/src/resources/refunds.ts +70 -111
  206. package/src/resources/returns.ts +140 -0
  207. package/src/resources/subaccounts.ts +26 -4
  208. package/src/resources/transactions.ts +234 -0
  209. package/src/resources/webhook/index.ts +16 -0
  210. package/src/resources/{webhooksubscription.ts → webhook/subscription.ts} +164 -112
  211. package/src/resources/webhook/webhook.ts +69 -0
  212. package/src/resources/webhook.ts +3 -0
  213. package/src/resources.ts +1 -0
  214. package/src/version.ts +1 -1
  215. package/version.d.ts +1 -1
  216. package/version.d.ts.map +1 -1
  217. package/version.js +1 -1
  218. package/version.js.map +1 -1
  219. package/version.mjs +1 -1
  220. package/version.mjs.map +1 -1
  221. package/resources/reports.d.ts +0 -120
  222. package/resources/reports.d.ts.map +0 -1
  223. package/resources/reports.js +0 -31
  224. package/resources/reports.js.map +0 -1
  225. package/resources/reports.mjs +0 -27
  226. package/resources/reports.mjs.map +0 -1
  227. package/resources/webhooksubscription.d.ts +0 -155
  228. package/resources/webhooksubscription.d.ts.map +0 -1
  229. package/resources/webhooksubscription.js.map +0 -1
  230. package/resources/webhooksubscription.mjs.map +0 -1
  231. package/src/resources/reports.ts +0 -172
@@ -0,0 +1,165 @@
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
+ export declare class Deposits extends APIResource {
4
+ /**
5
+ * Retrieves a deposit by its ID.
6
+ */
7
+ retrieve(body: DepositRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<DepositRetrieveResponse>;
8
+ }
9
+ export interface DepositRetrieveResponse {
10
+ /**
11
+ * The ID of the deposit
12
+ */
13
+ id: string;
14
+ /**
15
+ * The amount of the deposit
16
+ */
17
+ amount: number;
18
+ /**
19
+ * The currency of the deposit
20
+ */
21
+ currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
22
+ /**
23
+ * The payee account identifier
24
+ */
25
+ payee: DepositRetrieveResponse.Payee;
26
+ /**
27
+ * The payer account identifier
28
+ */
29
+ payer: DepositRetrieveResponse.Payer;
30
+ /**
31
+ * The date and time the deposit was received
32
+ */
33
+ receivedAt: string;
34
+ returns: Array<DepositRetrieveResponse.Return>;
35
+ /**
36
+ * The status of the deposit
37
+ */
38
+ status: 'received';
39
+ /**
40
+ * The ID of the transaction that initiated the deposit
41
+ */
42
+ transactionId: string;
43
+ /**
44
+ * The reference that appears on the bank statement
45
+ */
46
+ bankStatementReference?: string;
47
+ /**
48
+ * The payment rail used for the deposit
49
+ */
50
+ rail?: string;
51
+ }
52
+ export declare namespace DepositRetrieveResponse {
53
+ /**
54
+ * The payee account identifier
55
+ */
56
+ interface Payee {
57
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban';
58
+ bankCode?: Payee.BankCode;
59
+ bban?: Payee.Bban;
60
+ iban?: Payee.Iban;
61
+ sortCode?: Payee.SortCode;
62
+ }
63
+ namespace Payee {
64
+ interface BankCode {
65
+ accountHolderName: string;
66
+ accountNumber: string;
67
+ code: string;
68
+ }
69
+ interface Bban {
70
+ accountHolderName: string;
71
+ bban: string;
72
+ bic?: string;
73
+ }
74
+ interface Iban {
75
+ accountHolderName: string;
76
+ iban: string;
77
+ bic?: string;
78
+ }
79
+ interface SortCode {
80
+ accountHolderName: string;
81
+ accountNumber: string;
82
+ sortCode: string;
83
+ }
84
+ }
85
+ /**
86
+ * The payer account identifier
87
+ */
88
+ interface Payer {
89
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban';
90
+ bankCode?: Payer.BankCode;
91
+ bban?: Payer.Bban;
92
+ iban?: Payer.Iban;
93
+ sortCode?: Payer.SortCode;
94
+ }
95
+ namespace Payer {
96
+ interface BankCode {
97
+ accountHolderName: string;
98
+ accountNumber: string;
99
+ code: string;
100
+ }
101
+ interface Bban {
102
+ accountHolderName: string;
103
+ bban: string;
104
+ bic?: string;
105
+ }
106
+ interface Iban {
107
+ accountHolderName: string;
108
+ iban: string;
109
+ bic?: string;
110
+ }
111
+ interface SortCode {
112
+ accountHolderName: string;
113
+ accountNumber: string;
114
+ sortCode: string;
115
+ }
116
+ }
117
+ interface Return {
118
+ /**
119
+ * The ID of the return
120
+ */
121
+ id: string;
122
+ /**
123
+ * The amount of the return
124
+ */
125
+ amount: number;
126
+ /**
127
+ * The date and time the return was created
128
+ */
129
+ createdAt: string;
130
+ /**
131
+ * The currency of the return
132
+ */
133
+ currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
134
+ /**
135
+ * The ID of the associated deposit
136
+ */
137
+ depositId: string;
138
+ /**
139
+ * The status of the return
140
+ */
141
+ status: 'initiated' | 'succeeded' | 'failed' | 'returned';
142
+ /**
143
+ * The date and time the return failed if applicable
144
+ */
145
+ failedAt?: string;
146
+ /**
147
+ * The date and time the return succeeded if applicable
148
+ */
149
+ succeededAt?: string;
150
+ /**
151
+ * The ID of the resulting return transaction
152
+ */
153
+ transactionId?: string;
154
+ }
155
+ }
156
+ export interface DepositRetrieveParams {
157
+ /**
158
+ * The ID of the deposit
159
+ */
160
+ id: string;
161
+ }
162
+ export declare namespace Deposits {
163
+ export { type DepositRetrieveResponse as DepositRetrieveResponse, type DepositRetrieveParams as DepositRetrieveParams,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,EAAE,MAAM,CAAC;YAE1B,IAAI,EAAE,MAAM,CAAC;YAEb,GAAG,CAAC,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,QAAQ;YACvB,iBAAiB,EAAE,MAAM,CAAC;YAE1B,aAAa,EAAE,MAAM,CAAC;YAEtB,QAAQ,EAAE,MAAM,CAAC;SAClB;KACF;IAED,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;QAEhD;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;QAE1D;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Deposits = void 0;
5
+ const resource_1 = require("../resource.js");
6
+ class Deposits extends resource_1.APIResource {
7
+ /**
8
+ * Retrieves a deposit by its ID.
9
+ */
10
+ retrieve(body, options) {
11
+ return this._client.post('/api/service/deposit/retrieve', { body, ...options });
12
+ }
13
+ }
14
+ exports.Deposits = Deposits;
15
+ //# sourceMappingURL=deposits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deposits.js","sourceRoot":"","sources":["../src/resources/deposits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,QAAQ,CACN,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AAVD,4BAUC"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../resource.mjs";
3
+ export class Deposits extends APIResource {
4
+ /**
5
+ * Retrieves a deposit by its ID.
6
+ */
7
+ retrieve(body, options) {
8
+ return this._client.post('/api/service/deposit/retrieve', { body, ...options });
9
+ }
10
+ }
11
+ //# sourceMappingURL=deposits.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deposits.mjs","sourceRoot":"","sources":["../src/resources/deposits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CACN,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -0,0 +1,90 @@
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
+ export declare class Fx extends APIResource {
4
+ /**
5
+ * Retrieve the details of a past fx transfer using the fxId.
6
+ */
7
+ retrieve(body: FxRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<FxRetrieveResponse>;
8
+ /**
9
+ * Retrieve the current exchange rate for a given currency pair. The rate is not
10
+ * guaranteed for any following transactions.
11
+ */
12
+ retrieveRate(body: FxRetrieveRateParams, options?: Core.RequestOptions): Core.APIPromise<FxRetrieveRateResponse>;
13
+ }
14
+ export interface FxRetrieveResponse {
15
+ /**
16
+ * The fxId attached to the transfer.
17
+ */
18
+ id: string;
19
+ /**
20
+ * The exchange rate for the given currency pair.
21
+ */
22
+ rate: string;
23
+ /**
24
+ * The source currency code
25
+ */
26
+ sourceCurrency: 'EUR' | 'GBP';
27
+ /**
28
+ * The status of the FX transaction.
29
+ */
30
+ status: 'success' | 'processing' | 'failed';
31
+ /**
32
+ * The target currency code
33
+ */
34
+ targetCurrency: 'USDC';
35
+ /**
36
+ * Additional metadata.
37
+ */
38
+ metadata?: {
39
+ [key: string]: unknown;
40
+ };
41
+ /**
42
+ * The amount of source currency to convert.
43
+ */
44
+ sourceAmount?: string;
45
+ /**
46
+ * The amount of the target currency for the given source amount.
47
+ */
48
+ targetAmount?: string;
49
+ }
50
+ export interface FxRetrieveRateResponse {
51
+ /**
52
+ * The current exchange rate for the given currency pair.
53
+ */
54
+ rate: string;
55
+ /**
56
+ * The amount of source currency to convert. Only returned if the source amount is
57
+ * provided.
58
+ */
59
+ sourceAmount?: string;
60
+ /**
61
+ * The amount of the target currency for the given source amount. Only returned if
62
+ * the source amount is provided.
63
+ */
64
+ targetAmount?: string;
65
+ }
66
+ export interface FxRetrieveParams {
67
+ /**
68
+ * The fxId attached to the transfer.
69
+ */
70
+ fxId: string;
71
+ }
72
+ export interface FxRetrieveRateParams {
73
+ /**
74
+ * The source currency code.
75
+ */
76
+ sourceCurrency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
77
+ /**
78
+ * The target currency code.
79
+ */
80
+ targetCurrency: 'EUR' | 'GBP' | 'PLN' | 'USDC' | 'SEK' | 'DKK';
81
+ /**
82
+ * The amount of source currency to convert. If not provided, only the rate will be
83
+ * returned. Decimal places should be separated by a dot.
84
+ */
85
+ sourceAmount?: string;
86
+ }
87
+ export declare namespace Fx {
88
+ export { type FxRetrieveResponse as FxRetrieveResponse, type FxRetrieveRateResponse as FxRetrieveRateResponse, type FxRetrieveParams as FxRetrieveParams, type FxRetrieveRateParams as FxRetrieveRateParams, };
89
+ }
90
+ //# sourceMappingURL=fx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fx.d.ts","sourceRoot":"","sources":["../src/resources/fx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,EAAG,SAAQ,WAAW;IACjC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAIpG;;;OAGG;IACH,YAAY,CACV,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAG3C;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,GAAG,KAAK,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAC;IAE5C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEtC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEtD;;OAEG;IACH,cAAc,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;IAE/D;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Fx = void 0;
5
+ const resource_1 = require("../resource.js");
6
+ class Fx extends resource_1.APIResource {
7
+ /**
8
+ * Retrieve the details of a past fx transfer using the fxId.
9
+ */
10
+ retrieve(body, options) {
11
+ return this._client.post('/api/service/fx/retrieve', { body, ...options });
12
+ }
13
+ /**
14
+ * Retrieve the current exchange rate for a given currency pair. The rate is not
15
+ * guaranteed for any following transactions.
16
+ */
17
+ retrieveRate(body, options) {
18
+ return this._client.post('/api/service/fx/retrieve-rate', { body, ...options });
19
+ }
20
+ }
21
+ exports.Fx = Fx;
22
+ //# sourceMappingURL=fx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fx.js","sourceRoot":"","sources":["../src/resources/fx.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,EAAG,SAAQ,sBAAW;IACjC;;OAEG;IACH,QAAQ,CAAC,IAAsB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AAlBD,gBAkBC"}
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../resource.mjs";
3
+ export class Fx extends APIResource {
4
+ /**
5
+ * Retrieve the details of a past fx transfer using the fxId.
6
+ */
7
+ retrieve(body, options) {
8
+ return this._client.post('/api/service/fx/retrieve', { body, ...options });
9
+ }
10
+ /**
11
+ * Retrieve the current exchange rate for a given currency pair. The rate is not
12
+ * guaranteed for any following transactions.
13
+ */
14
+ retrieveRate(body, options) {
15
+ return this._client.post('/api/service/fx/retrieve-rate', { body, ...options });
16
+ }
17
+ }
18
+ //# sourceMappingURL=fx.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fx.mjs","sourceRoot":"","sources":["../src/resources/fx.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;OAEG;IACH,QAAQ,CAAC,IAAsB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -1,14 +1,19 @@
1
1
  export { Balance, type BalanceRetrieveResponse, type BalanceRetrieveParams } from "./balance.js";
2
2
  export { Banks, type BankRetrieveResponse, type BankListResponse, type BankSearchResponse, type BankRetrieveParams, type BankListParams, type BankSearchParams, } from "./banks.js";
3
+ export { BeneficiaryPayouts, type BeneficiaryPayoutCreateResponse } from "./beneficiary-payouts.js";
3
4
  export { Capabilities, type CapabilityRetrieveResponse, type CapabilityRetrieveParams } from "./capabilities.js";
4
5
  export { Charges, type Charge, type ChargeCreateParams } from "./charges.js";
5
6
  export { Checkoutsession, type CheckoutsessionCreateResponse, type CheckoutsessionRetrieveResponse, type CheckoutsessionExpireResponse, type CheckoutsessionCreateParams, type CheckoutsessionRetrieveParams, type CheckoutsessionExpireParams, } from "./checkoutsession.js";
6
- export { Customers, type CustomerCreateResponse, type CustomerRetrieveResponse, type CustomerCreateParams, type CustomerRetrieveParams, } from "./customers.js";
7
- export { Mandates, type MandateResponse, type MandateRevokeResponse, type MandateRetrieveParams, type MandateLookupParams, type MandateRevokeParams, } from "./mandates.js";
8
- export { Orders, type OrderRetrieveResponse, type OrderUpdateResponse, type OrderRetrieveParams, type OrderUpdateParams, } from "./orders.js";
9
- export { Payouts, type PublicUserPayout, type PayoutListResponse, type PayoutCreateParams, type PayoutRetrieveParams, type PayoutListParams, } from "./payouts.js";
10
- export { Refunds, type RefundResponse, type RefundBatchResponse, type RefundCreateParams, type RefundBatchParams, } from "./refunds.js";
11
- export { Reports, type PayoutReport, type ReportCreateResponse, type ReportRetrieveResponse, type ReportCreateParams, type ReportRetrieveParams, type ReportDownloadParams, } from "./reports.js";
12
- export { Subaccounts, type Subaccount, type SubaccountCreateParams, type SubaccountRetrieveParams, } from "./subaccounts.js";
13
- export { Webhooksubscription, type WebhooksubscriptionCreateResponse, type WebhooksubscriptionUpdateResponse, type WebhooksubscriptionListResponse, type WebhooksubscriptionDeleteResponse, type WebhooksubscriptionPingResponse, type WebhooksubscriptionCreateParams, type WebhooksubscriptionUpdateParams, type WebhooksubscriptionListParams, type WebhooksubscriptionDeleteParams, type WebhooksubscriptionPingParams, } from "./webhooksubscription.js";
7
+ export { Customers, type CustomerCreateResponse, type CustomerRetrieveResponse, type CustomerSearchResponse, type CustomerCreateParams, type CustomerRetrieveParams, type CustomerSearchParams, } from "./customers.js";
8
+ export { Data } from "./data/data.js";
9
+ export { Deposits, type DepositRetrieveResponse, type DepositRetrieveParams } from "./deposits.js";
10
+ export { Fx, type FxRetrieveResponse, type FxRetrieveRateResponse, type FxRetrieveParams, type FxRetrieveRateParams, } from "./fx.js";
11
+ export { Mandates, type Mandate, type MandateLookupResponse, type MandateRevokeResponse, type MandateRetrieveParams, type MandateLookupParams, type MandateRevokeParams, } from "./mandates.js";
12
+ export { Orders, type OrderCreateResponse, type OrderRetrieveResponse, type OrderExpireResponse, type OrderCreateParams, type OrderRetrieveParams, type OrderExpireParams, } from "./orders.js";
13
+ export { Payouts, type Payout, type PayoutRetrieveResponse, type PayoutListResponse, type PayoutCreateParams, type PayoutRetrieveParams, type PayoutListParams, } from "./payouts.js";
14
+ export { Refunds, type Refund, type RefundCreateResponse, type RefundRetrieveResponse, type RefundCreateParams, type RefundRetrieveParams, } from "./refunds.js";
15
+ export { Returns, type ReturnCreateResponse, type ReturnRetrieveResponse, type ReturnCreateParams, type ReturnRetrieveParams, } from "./returns.js";
16
+ export { Subaccounts, type Subaccount, type SubaccountCreateResponse, type SubaccountCreateParams, type SubaccountRetrieveParams, } from "./subaccounts.js";
17
+ export { Transactions, type TransactionListResponse, type TransactionListParams } from "./transactions.js";
18
+ export { Webhook, type WebhookTriggerResponse, type WebhookTriggerParams } from "./webhook/webhook.js";
14
19
  //# sourceMappingURL=index.d.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KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,EAAE,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Webhooksubscription = exports.Subaccounts = exports.Reports = exports.Refunds = exports.Payouts = exports.Orders = exports.Mandates = exports.Customers = exports.Checkoutsession = exports.Charges = exports.Capabilities = exports.Banks = exports.Balance = void 0;
4
+ exports.Webhook = exports.Transactions = exports.Subaccounts = exports.Returns = exports.Refunds = exports.Payouts = exports.Orders = exports.Mandates = exports.Fx = exports.Deposits = exports.Data = exports.Customers = exports.Checkoutsession = exports.Charges = exports.Capabilities = exports.BeneficiaryPayouts = exports.Banks = exports.Balance = void 0;
5
5
  var balance_1 = require("./balance.js");
6
6
  Object.defineProperty(exports, "Balance", { enumerable: true, get: function () { return balance_1.Balance; } });
7
7
  var banks_1 = require("./banks.js");
8
8
  Object.defineProperty(exports, "Banks", { enumerable: true, get: function () { return banks_1.Banks; } });
9
+ var beneficiary_payouts_1 = require("./beneficiary-payouts.js");
10
+ Object.defineProperty(exports, "BeneficiaryPayouts", { enumerable: true, get: function () { return beneficiary_payouts_1.BeneficiaryPayouts; } });
9
11
  var capabilities_1 = require("./capabilities.js");
10
12
  Object.defineProperty(exports, "Capabilities", { enumerable: true, get: function () { return capabilities_1.Capabilities; } });
11
13
  var charges_1 = require("./charges.js");
@@ -14,6 +16,12 @@ var checkoutsession_1 = require("./checkoutsession.js");
14
16
  Object.defineProperty(exports, "Checkoutsession", { enumerable: true, get: function () { return checkoutsession_1.Checkoutsession; } });
15
17
  var customers_1 = require("./customers.js");
16
18
  Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
19
+ var data_1 = require("./data/data.js");
20
+ Object.defineProperty(exports, "Data", { enumerable: true, get: function () { return data_1.Data; } });
21
+ var deposits_1 = require("./deposits.js");
22
+ Object.defineProperty(exports, "Deposits", { enumerable: true, get: function () { return deposits_1.Deposits; } });
23
+ var fx_1 = require("./fx.js");
24
+ Object.defineProperty(exports, "Fx", { enumerable: true, get: function () { return fx_1.Fx; } });
17
25
  var mandates_1 = require("./mandates.js");
18
26
  Object.defineProperty(exports, "Mandates", { enumerable: true, get: function () { return mandates_1.Mandates; } });
19
27
  var orders_1 = require("./orders.js");
@@ -22,10 +30,12 @@ var payouts_1 = require("./payouts.js");
22
30
  Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return payouts_1.Payouts; } });
23
31
  var refunds_1 = require("./refunds.js");
24
32
  Object.defineProperty(exports, "Refunds", { enumerable: true, get: function () { return refunds_1.Refunds; } });
25
- var reports_1 = require("./reports.js");
26
- Object.defineProperty(exports, "Reports", { enumerable: true, get: function () { return reports_1.Reports; } });
33
+ var returns_1 = require("./returns.js");
34
+ Object.defineProperty(exports, "Returns", { enumerable: true, get: function () { return returns_1.Returns; } });
27
35
  var subaccounts_1 = require("./subaccounts.js");
28
36
  Object.defineProperty(exports, "Subaccounts", { enumerable: true, get: function () { return subaccounts_1.Subaccounts; } });
29
- var webhooksubscription_1 = require("./webhooksubscription.js");
30
- Object.defineProperty(exports, "Webhooksubscription", { enumerable: true, get: function () { return webhooksubscription_1.Webhooksubscription; } });
37
+ var transactions_1 = require("./transactions.js");
38
+ Object.defineProperty(exports, "Transactions", { enumerable: true, get: function () { return transactions_1.Transactions; } });
39
+ var webhook_1 = require("./webhook/webhook.js");
40
+ Object.defineProperty(exports, "Webhook", { enumerable: true, get: function () { return webhook_1.Webhook; } });
31
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA8F;AAArF,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,kDAA8G;AAArG,4GAAA,YAAY,OAAA;AACrB,wCAA0E;AAAjE,kGAAA,OAAO,OAAA;AAChB,wDAQ2B;AAPzB,kHAAA,eAAe,OAAA;AAQjB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,gEAY+B;AAX7B,0HAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA8F;AAArF,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,gEAAiG;AAAxF,yHAAA,kBAAkB,OAAA;AAC3B,kDAA8G;AAArG,4GAAA,YAAY,OAAA;AACrB,wCAA0E;AAAjE,kGAAA,OAAO,OAAA;AAChB,wDAQ2B;AAPzB,kHAAA,eAAe,OAAA;AAQjB,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,0CAAgG;AAAvF,oGAAA,QAAQ,OAAA;AACjB,8BAMc;AALZ,wFAAA,EAAE,OAAA;AAMJ,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,kDAAwG;AAA/F,4GAAA,YAAY,OAAA;AACrB,gDAAoG;AAA3F,kGAAA,OAAO,OAAA"}
@@ -1,15 +1,20 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Balance } from "./balance.mjs";
3
3
  export { Banks, } from "./banks.mjs";
4
+ export { BeneficiaryPayouts } from "./beneficiary-payouts.mjs";
4
5
  export { Capabilities } from "./capabilities.mjs";
5
6
  export { Charges } from "./charges.mjs";
6
7
  export { Checkoutsession, } from "./checkoutsession.mjs";
7
8
  export { Customers, } from "./customers.mjs";
9
+ export { Data } from "./data/data.mjs";
10
+ export { Deposits } from "./deposits.mjs";
11
+ export { Fx, } from "./fx.mjs";
8
12
  export { Mandates, } from "./mandates.mjs";
9
13
  export { Orders, } from "./orders.mjs";
10
14
  export { Payouts, } from "./payouts.mjs";
11
15
  export { Refunds, } from "./refunds.mjs";
12
- export { Reports, } from "./reports.mjs";
16
+ export { Returns, } from "./returns.mjs";
13
17
  export { Subaccounts, } from "./subaccounts.mjs";
14
- export { Webhooksubscription, } from "./webhooksubscription.mjs";
18
+ export { Transactions } from "./transactions.mjs";
19
+ export { Webhook } from "./webhook/webhook.mjs";
15
20
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA4D;OACrE,EACL,KAAK,GAON;OACM,EAAE,YAAY,EAAkE;OAChF,EAAE,OAAO,EAAwC;OACjD,EACL,eAAe,GAOhB;OACM,EACL,SAAS,GAKV;OACM,EACL,QAAQ,GAMT;OACM,EACL,MAAM,GAKP;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAKR;OACM,EACL,OAAO,GAOR;OACM,EACL,WAAW,GAIZ;OACM,EACL,mBAAmB,GAWpB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA4D;OACrE,EACL,KAAK,GAON;OACM,EAAE,kBAAkB,EAAwC;OAC5D,EAAE,YAAY,EAAkE;OAChF,EAAE,OAAO,EAAwC;OACjD,EACL,eAAe,GAOhB;OACM,EACL,SAAS,GAOV;OACM,EAAE,IAAI,EAAE;OACR,EAAE,QAAQ,EAA4D;OACtE,EACL,EAAE,GAKH;OACM,EACL,QAAQ,GAOT;OACM,EACL,MAAM,GAOP;OACM,EACL,OAAO,GAOR;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAKZ;OACM,EAAE,YAAY,EAA4D;OAC1E,EAAE,OAAO,EAA0D"}
@@ -4,31 +4,28 @@ export declare class Mandates extends APIResource {
4
4
  /**
5
5
  * Retrieves a direct debit mandate with mandate id.
6
6
  */
7
- retrieve(body: MandateRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<MandateResponse>;
7
+ retrieve(body: MandateRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<Mandate>;
8
8
  /**
9
9
  * Returns a Direct Debit Mandate when a valid mandate referenceId is given.
10
10
  */
11
- lookup(body: MandateLookupParams, options?: Core.RequestOptions): Core.APIPromise<MandateResponse>;
11
+ lookup(body: MandateLookupParams, options?: Core.RequestOptions): Core.APIPromise<MandateLookupResponse>;
12
12
  /**
13
13
  * Revokes a Direct Debit Mandate with a valid mandate id.
14
14
  */
15
15
  revoke(body: MandateRevokeParams, options?: Core.RequestOptions): Core.APIPromise<MandateRevokeResponse>;
16
16
  }
17
- export interface MandateResponse {
17
+ export interface Mandate {
18
18
  id: string;
19
- creditor: MandateResponse.Creditor;
20
- debtor: MandateResponse.Debtor;
19
+ creditor: Mandate.Creditor;
20
+ debtor: Mandate.Debtor;
21
21
  reference: string;
22
22
  referenceId: string;
23
- signature: MandateResponse.Signature;
23
+ signature: Mandate.Signature;
24
24
  status: 'pending' | 'active' | 'inactive';
25
- userNotificationEmail: string;
26
- /**
27
- * Required if status is inactive
28
- */
29
- revokedAt?: string;
25
+ revokedAt?: unknown;
26
+ userNotificationEmail?: string;
30
27
  }
31
- export declare namespace MandateResponse {
28
+ export declare namespace Mandate {
32
29
  interface Creditor {
33
30
  id: string;
34
31
  address: Creditor.Address;
@@ -47,9 +44,6 @@ export declare namespace MandateResponse {
47
44
  }
48
45
  namespace Debtor {
49
46
  interface Account {
50
- /**
51
- * The name of the account holder.
52
- */
53
47
  accountHolderName: string;
54
48
  iban: string;
55
49
  bic?: string;
@@ -58,10 +52,54 @@ export declare namespace MandateResponse {
58
52
  interface Signature {
59
53
  token: string;
60
54
  ip: string;
61
- signedAt: string;
55
+ signedAt: unknown;
56
+ }
57
+ }
58
+ export interface MandateLookupResponse {
59
+ id: string;
60
+ creditor: MandateLookupResponse.Creditor;
61
+ debtor: MandateLookupResponse.Debtor;
62
+ reference: string;
63
+ referenceId: string;
64
+ signature: MandateLookupResponse.Signature;
65
+ status: 'pending' | 'active' | 'inactive';
66
+ revokedAt?: unknown;
67
+ userNotificationEmail?: string;
68
+ }
69
+ export declare namespace MandateLookupResponse {
70
+ interface Creditor {
71
+ id: string;
72
+ address: Creditor.Address;
73
+ name: string;
74
+ }
75
+ namespace Creditor {
76
+ interface Address {
77
+ city: string;
78
+ country: string;
79
+ postalCode: string;
80
+ street: string;
81
+ }
82
+ }
83
+ interface Debtor {
84
+ account: Debtor.Account;
85
+ }
86
+ namespace Debtor {
87
+ interface Account {
88
+ accountHolderName: string;
89
+ iban: string;
90
+ bic?: string;
91
+ }
92
+ }
93
+ interface Signature {
94
+ token: string;
95
+ ip: string;
96
+ signedAt: unknown;
62
97
  }
63
98
  }
64
99
  export interface MandateRevokeResponse {
100
+ /**
101
+ * Indicates whether the mandate was successfully revoked
102
+ */
65
103
  success: boolean;
66
104
  }
67
105
  export interface MandateRetrieveParams {
@@ -86,6 +124,6 @@ export interface MandateRevokeParams {
86
124
  id: string;
87
125
  }
88
126
  export declare namespace Mandates {
89
- export { type MandateResponse as MandateResponse, type MandateRevokeResponse as MandateRevokeResponse, type MandateRetrieveParams as MandateRetrieveParams, type MandateLookupParams as MandateLookupParams, type MandateRevokeParams as MandateRevokeParams, };
127
+ export { type Mandate as Mandate, type MandateLookupResponse as MandateLookupResponse, type MandateRevokeResponse as MandateRevokeResponse, type MandateRetrieveParams as MandateRetrieveParams, type MandateLookupParams as MandateLookupParams, type MandateRevokeParams as MandateRevokeParams, };
90
128
  }
91
129
  //# sourceMappingURL=mandates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mandates.d.ts","sourceRoot":"","sources":["../src/resources/mandates.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IAItG;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IAIlG;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAA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