@augustusbank/typescript-sdk 0.21.0 → 0.22.1

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 (216) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/client.d.mts +12 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +12 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/account-holders.d.mts +1555 -1184
  12. package/resources/account-holders.d.mts.map +1 -1
  13. package/resources/account-holders.d.ts +1555 -1184
  14. package/resources/account-holders.d.ts.map +1 -1
  15. package/resources/account-holders.js +59 -0
  16. package/resources/account-holders.js.map +1 -1
  17. package/resources/account-holders.mjs +59 -0
  18. package/resources/account-holders.mjs.map +1 -1
  19. package/resources/account-programs.d.mts +22 -17
  20. package/resources/account-programs.d.mts.map +1 -1
  21. package/resources/account-programs.d.ts +22 -17
  22. package/resources/account-programs.d.ts.map +1 -1
  23. package/resources/account-programs.js +2 -2
  24. package/resources/account-programs.js.map +1 -1
  25. package/resources/account-programs.mjs +2 -2
  26. package/resources/account-programs.mjs.map +1 -1
  27. package/resources/accounts.d.mts +226 -48
  28. package/resources/accounts.d.mts.map +1 -1
  29. package/resources/accounts.d.ts +226 -48
  30. package/resources/accounts.d.ts.map +1 -1
  31. package/resources/accounts.js +55 -2
  32. package/resources/accounts.js.map +1 -1
  33. package/resources/accounts.mjs +55 -2
  34. package/resources/accounts.mjs.map +1 -1
  35. package/resources/api-keys.d.mts +1 -1
  36. package/resources/api-keys.d.mts.map +1 -1
  37. package/resources/api-keys.d.ts +1 -1
  38. package/resources/api-keys.d.ts.map +1 -1
  39. package/resources/api-versions.d.mts +3 -0
  40. package/resources/api-versions.d.mts.map +1 -1
  41. package/resources/api-versions.d.ts +3 -0
  42. package/resources/api-versions.d.ts.map +1 -1
  43. package/resources/conversions.d.mts +36 -81
  44. package/resources/conversions.d.mts.map +1 -1
  45. package/resources/conversions.d.ts +36 -81
  46. package/resources/conversions.d.ts.map +1 -1
  47. package/resources/conversions.js +25 -1
  48. package/resources/conversions.js.map +1 -1
  49. package/resources/conversions.mjs +25 -1
  50. package/resources/conversions.mjs.map +1 -1
  51. package/resources/counterparties.d.mts +1042 -0
  52. package/resources/counterparties.d.mts.map +1 -0
  53. package/resources/counterparties.d.ts +1042 -0
  54. package/resources/counterparties.d.ts.map +1 -0
  55. package/resources/counterparties.js +45 -0
  56. package/resources/counterparties.js.map +1 -0
  57. package/resources/counterparties.mjs +41 -0
  58. package/resources/counterparties.mjs.map +1 -0
  59. package/resources/deposits.d.mts +48 -186
  60. package/resources/deposits.d.mts.map +1 -1
  61. package/resources/deposits.d.ts +48 -186
  62. package/resources/deposits.d.ts.map +1 -1
  63. package/resources/events.d.mts +3 -3
  64. package/resources/events.d.mts.map +1 -1
  65. package/resources/events.d.ts +3 -3
  66. package/resources/events.d.ts.map +1 -1
  67. package/resources/index.d.mts +5 -3
  68. package/resources/index.d.mts.map +1 -1
  69. package/resources/index.d.ts +5 -3
  70. package/resources/index.d.ts.map +1 -1
  71. package/resources/index.js +5 -1
  72. package/resources/index.js.map +1 -1
  73. package/resources/index.mjs +2 -0
  74. package/resources/index.mjs.map +1 -1
  75. package/resources/payouts.d.mts +133 -335
  76. package/resources/payouts.d.mts.map +1 -1
  77. package/resources/payouts.d.ts +133 -335
  78. package/resources/payouts.d.ts.map +1 -1
  79. package/resources/payouts.js +25 -0
  80. package/resources/payouts.js.map +1 -1
  81. package/resources/payouts.mjs +25 -0
  82. package/resources/payouts.mjs.map +1 -1
  83. package/resources/quotes/indicative.d.mts +7 -11
  84. package/resources/quotes/indicative.d.mts.map +1 -1
  85. package/resources/quotes/indicative.d.ts +7 -11
  86. package/resources/quotes/indicative.d.ts.map +1 -1
  87. package/resources/quotes/quotes.d.mts +4 -8
  88. package/resources/quotes/quotes.d.mts.map +1 -1
  89. package/resources/quotes/quotes.d.ts +4 -8
  90. package/resources/quotes/quotes.d.ts.map +1 -1
  91. package/resources/quotes/quotes.js.map +1 -1
  92. package/resources/quotes/quotes.mjs.map +1 -1
  93. package/resources/returns.d.mts +84 -39
  94. package/resources/returns.d.mts.map +1 -1
  95. package/resources/returns.d.ts +84 -39
  96. package/resources/returns.d.ts.map +1 -1
  97. package/resources/returns.js +22 -0
  98. package/resources/returns.js.map +1 -1
  99. package/resources/returns.mjs +22 -0
  100. package/resources/returns.mjs.map +1 -1
  101. package/resources/scopes.d.mts +4 -1
  102. package/resources/scopes.d.mts.map +1 -1
  103. package/resources/scopes.d.ts +4 -1
  104. package/resources/scopes.d.ts.map +1 -1
  105. package/resources/simulations/account-programs.d.mts +215 -0
  106. package/resources/simulations/account-programs.d.mts.map +1 -0
  107. package/resources/simulations/account-programs.d.ts +215 -0
  108. package/resources/simulations/account-programs.d.ts.map +1 -0
  109. package/resources/simulations/account-programs.js +96 -0
  110. package/resources/simulations/account-programs.js.map +1 -0
  111. package/resources/simulations/account-programs.mjs +92 -0
  112. package/resources/simulations/account-programs.mjs.map +1 -0
  113. package/resources/simulations/accounts.d.mts +209 -0
  114. package/resources/simulations/accounts.d.mts.map +1 -0
  115. package/resources/simulations/accounts.d.ts +209 -0
  116. package/resources/simulations/accounts.d.ts.map +1 -0
  117. package/resources/simulations/accounts.js +90 -0
  118. package/resources/simulations/accounts.js.map +1 -0
  119. package/resources/simulations/accounts.mjs +86 -0
  120. package/resources/simulations/accounts.mjs.map +1 -0
  121. package/resources/simulations/conversions.d.mts +54 -0
  122. package/resources/simulations/conversions.d.mts.map +1 -0
  123. package/resources/simulations/conversions.d.ts +54 -0
  124. package/resources/simulations/conversions.d.ts.map +1 -0
  125. package/resources/simulations/conversions.js +39 -0
  126. package/resources/simulations/conversions.js.map +1 -0
  127. package/resources/simulations/conversions.mjs +35 -0
  128. package/resources/simulations/conversions.mjs.map +1 -0
  129. package/resources/simulations/deposits.d.mts +202 -0
  130. package/resources/simulations/deposits.d.mts.map +1 -0
  131. package/resources/simulations/deposits.d.ts +202 -0
  132. package/resources/simulations/deposits.d.ts.map +1 -0
  133. package/resources/simulations/deposits.js +25 -0
  134. package/resources/simulations/deposits.js.map +1 -0
  135. package/resources/simulations/deposits.mjs +21 -0
  136. package/resources/simulations/deposits.mjs.map +1 -0
  137. package/resources/simulations/index.d.mts +7 -0
  138. package/resources/simulations/index.d.mts.map +1 -0
  139. package/resources/simulations/index.d.ts +7 -0
  140. package/resources/simulations/index.d.ts.map +1 -0
  141. package/resources/simulations/index.js +17 -0
  142. package/resources/simulations/index.js.map +1 -0
  143. package/resources/simulations/index.mjs +8 -0
  144. package/resources/simulations/index.mjs.map +1 -0
  145. package/resources/simulations/payouts.d.mts +62 -0
  146. package/resources/simulations/payouts.d.mts.map +1 -0
  147. package/resources/simulations/payouts.d.ts +62 -0
  148. package/resources/simulations/payouts.d.ts.map +1 -0
  149. package/resources/simulations/payouts.js +39 -0
  150. package/resources/simulations/payouts.js.map +1 -0
  151. package/resources/simulations/payouts.mjs +35 -0
  152. package/resources/simulations/payouts.mjs.map +1 -0
  153. package/resources/simulations/simulations.d.mts +26 -0
  154. package/resources/simulations/simulations.d.mts.map +1 -0
  155. package/resources/simulations/simulations.d.ts +26 -0
  156. package/resources/simulations/simulations.d.ts.map +1 -0
  157. package/resources/simulations/simulations.js +33 -0
  158. package/resources/simulations/simulations.js.map +1 -0
  159. package/resources/simulations/simulations.mjs +28 -0
  160. package/resources/simulations/simulations.mjs.map +1 -0
  161. package/resources/simulations.d.mts +2 -0
  162. package/resources/simulations.d.mts.map +1 -0
  163. package/resources/simulations.d.ts +2 -0
  164. package/resources/simulations.d.ts.map +1 -0
  165. package/resources/simulations.js +6 -0
  166. package/resources/simulations.js.map +1 -0
  167. package/resources/simulations.mjs +3 -0
  168. package/resources/simulations.mjs.map +1 -0
  169. package/resources/transactions.d.mts +342 -162
  170. package/resources/transactions.d.mts.map +1 -1
  171. package/resources/transactions.d.ts +342 -162
  172. package/resources/transactions.d.ts.map +1 -1
  173. package/resources/webhook-subscriptions.d.mts +61 -11
  174. package/resources/webhook-subscriptions.d.mts.map +1 -1
  175. package/resources/webhook-subscriptions.d.ts +61 -11
  176. package/resources/webhook-subscriptions.d.ts.map +1 -1
  177. package/resources/webhook-subscriptions.js +49 -0
  178. package/resources/webhook-subscriptions.js.map +1 -1
  179. package/resources/webhook-subscriptions.mjs +49 -0
  180. package/resources/webhook-subscriptions.mjs.map +1 -1
  181. package/resources/webhooks.d.mts +976 -978
  182. package/resources/webhooks.d.mts.map +1 -1
  183. package/resources/webhooks.d.ts +976 -978
  184. package/resources/webhooks.d.ts.map +1 -1
  185. package/src/client.ts +48 -8
  186. package/src/resources/account-holders.ts +1701 -1282
  187. package/src/resources/account-programs.ts +30 -19
  188. package/src/resources/accounts.ts +265 -50
  189. package/src/resources/api-keys.ts +3 -0
  190. package/src/resources/api-versions.ts +3 -0
  191. package/src/resources/conversions.ts +36 -93
  192. package/src/resources/counterparties.ts +3127 -0
  193. package/src/resources/deposits.ts +66 -269
  194. package/src/resources/events.ts +18 -12
  195. package/src/resources/index.ts +21 -4
  196. package/src/resources/payouts.ts +204 -439
  197. package/src/resources/quotes/indicative.ts +7 -12
  198. package/src/resources/quotes/quotes.ts +4 -9
  199. package/src/resources/returns.ts +144 -40
  200. package/src/resources/scopes.ts +7 -1
  201. package/src/resources/simulations/account-programs.ts +282 -0
  202. package/src/resources/simulations/accounts.ts +265 -0
  203. package/src/resources/simulations/conversions.ts +70 -0
  204. package/src/resources/simulations/deposits.ts +522 -0
  205. package/src/resources/simulations/index.ts +33 -0
  206. package/src/resources/simulations/payouts.ts +80 -0
  207. package/src/resources/simulations/simulations.ts +92 -0
  208. package/src/resources/simulations.ts +3 -0
  209. package/src/resources/transactions.ts +954 -206
  210. package/src/resources/webhook-subscriptions.ts +102 -36
  211. package/src/resources/webhooks.ts +1283 -1153
  212. package/src/version.ts +1 -1
  213. package/version.d.mts +1 -1
  214. package/version.d.ts +1 -1
  215. package/version.js +1 -1
  216. package/version.mjs +1 -1
@@ -0,0 +1,209 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Accounts extends APIResource {
5
+ /**
6
+ * Creates a Mock-US USD operating (DDA) account owned by the caller merchant. This
7
+ * endpoint is unavailable in live production.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const account = await client.simulations.accounts.create({
12
+ * label: 'x',
13
+ * });
14
+ * ```
15
+ */
16
+ create(body: AccountCreateParams, options?: RequestOptions): APIPromise<AccountCreateResponse>;
17
+ /**
18
+ * Closes an operating (DDA) account. The account must be drained via the drain
19
+ * endpoint first. This endpoint is unavailable in live production.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const response = await client.simulations.accounts.close(
24
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
25
+ * { reason: 'aml_risk_fraud' },
26
+ * );
27
+ * ```
28
+ */
29
+ close(id: string, body: AccountCloseParams, options?: RequestOptions): APIPromise<AccountCloseResponse>;
30
+ /**
31
+ * Creates an outbound payout that drains the residual balance of a frozen
32
+ * operating (DDA) account to the provided destination. The returned `payout_id`
33
+ * must be settled via `POST /v1/simulations/payouts/{id}/send` for the account
34
+ * balance to reach zero. This endpoint is unavailable in live production.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const response = await client.simulations.accounts.drain(
39
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
40
+ * {
41
+ * destination: {
42
+ * account_holder_name: 'Acme Sandbox Ltd.',
43
+ * iban: 'DE89370400440532013000',
44
+ * type: 'iban',
45
+ * },
46
+ * },
47
+ * );
48
+ * ```
49
+ */
50
+ drain(id: string, body: AccountDrainParams, options?: RequestOptions): APIPromise<AccountDrainResponse>;
51
+ /**
52
+ * Freezes an existing operating (DDA) account. This endpoint is unavailable in
53
+ * live production.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const response = await client.simulations.accounts.freeze(
58
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
59
+ * );
60
+ * ```
61
+ */
62
+ freeze(id: string, options?: RequestOptions): APIPromise<AccountFreezeResponse>;
63
+ /**
64
+ * Unfreezes an existing operating (DDA) account. This endpoint is unavailable in
65
+ * live production.
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const response = await client.simulations.accounts.unfreeze(
70
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
71
+ * );
72
+ * ```
73
+ */
74
+ unfreeze(id: string, options?: RequestOptions): APIPromise<AccountUnfreezeResponse>;
75
+ }
76
+ export interface AccountCreateResponse {
77
+ /**
78
+ * Account whose lifecycle is being simulated.
79
+ */
80
+ account_id: string;
81
+ /**
82
+ * Resource type discriminator.
83
+ */
84
+ type: 'account_simulation';
85
+ }
86
+ export interface AccountCloseResponse {
87
+ /**
88
+ * Account whose lifecycle is being simulated.
89
+ */
90
+ account_id: string;
91
+ /**
92
+ * Resource type discriminator.
93
+ */
94
+ type: 'account_simulation';
95
+ }
96
+ export interface AccountDrainResponse {
97
+ /**
98
+ * Account whose lifecycle is being simulated.
99
+ */
100
+ account_id: string;
101
+ /**
102
+ * Payout created by the drain. Feed to `POST /v1/simulations/payouts/{id}/send` to
103
+ * settle.
104
+ */
105
+ payout_id: string;
106
+ /**
107
+ * Resource type discriminator.
108
+ */
109
+ type: 'account_simulation';
110
+ }
111
+ export interface AccountFreezeResponse {
112
+ /**
113
+ * Account whose lifecycle is being simulated.
114
+ */
115
+ account_id: string;
116
+ /**
117
+ * Resource type discriminator.
118
+ */
119
+ type: 'account_simulation';
120
+ }
121
+ export interface AccountUnfreezeResponse {
122
+ /**
123
+ * Account whose lifecycle is being simulated.
124
+ */
125
+ account_id: string;
126
+ /**
127
+ * Resource type discriminator.
128
+ */
129
+ type: 'account_simulation';
130
+ }
131
+ export interface AccountCreateParams {
132
+ /**
133
+ * Human-readable label for the operating account.
134
+ */
135
+ label: string;
136
+ }
137
+ export interface AccountCloseParams {
138
+ /**
139
+ * Reason for closing the account.
140
+ */
141
+ reason: 'aml_risk_fraud' | 'client_request';
142
+ }
143
+ export interface AccountDrainParams {
144
+ /**
145
+ * Fiat financial address to which the residual balance of the frozen account is
146
+ * drained.
147
+ */
148
+ destination: AccountDrainParams.IbanFinancialAddressRequest | AccountDrainParams.SortCodeFinancialAddress | AccountDrainParams.AbaFinancialAddress;
149
+ }
150
+ export declare namespace AccountDrainParams {
151
+ interface IbanFinancialAddressRequest {
152
+ /**
153
+ * Name of the account holder.
154
+ */
155
+ account_holder_name: string;
156
+ /**
157
+ * International Bank Account Number.
158
+ */
159
+ iban: string;
160
+ /**
161
+ * Discriminator for IBAN financial address.
162
+ */
163
+ type: 'iban';
164
+ /**
165
+ * Bank Identifier Code. Optional; omit or send null if not provided.
166
+ */
167
+ bic?: string | null;
168
+ }
169
+ interface SortCodeFinancialAddress {
170
+ /**
171
+ * Name of the account holder.
172
+ */
173
+ account_holder_name: string;
174
+ /**
175
+ * UK account number (8 digits).
176
+ */
177
+ account_number: string;
178
+ /**
179
+ * UK sort code (6 digits).
180
+ */
181
+ sort_code: string;
182
+ /**
183
+ * Discriminator for UK sort code financial address.
184
+ */
185
+ type: 'sort_code';
186
+ }
187
+ interface AbaFinancialAddress {
188
+ /**
189
+ * Name of the account holder.
190
+ */
191
+ account_holder_name: string;
192
+ /**
193
+ * Bank account number.
194
+ */
195
+ account_number: string;
196
+ /**
197
+ * ABA routing number (9 digits).
198
+ */
199
+ routing_number: string;
200
+ /**
201
+ * Discriminator for ABA wire financial address.
202
+ */
203
+ type: 'aba';
204
+ }
205
+ }
206
+ export declare namespace Accounts {
207
+ export { type AccountCreateResponse as AccountCreateResponse, type AccountCloseResponse as AccountCloseResponse, type AccountDrainResponse as AccountDrainResponse, type AccountFreezeResponse as AccountFreezeResponse, type AccountUnfreezeResponse as AccountUnfreezeResponse, type AccountCreateParams as AccountCreateParams, type AccountCloseParams as AccountCloseParams, type AccountDrainParams as AccountDrainParams, };
208
+ }
209
+ //# sourceMappingURL=accounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,90 @@
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.Accounts = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Accounts extends resource_1.APIResource {
8
+ /**
9
+ * Creates a Mock-US USD operating (DDA) account owned by the caller merchant. This
10
+ * endpoint is unavailable in live production.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const account = await client.simulations.accounts.create({
15
+ * label: 'x',
16
+ * });
17
+ * ```
18
+ */
19
+ create(body, options) {
20
+ return this._client.post('/v1/simulations/accounts', { body, ...options });
21
+ }
22
+ /**
23
+ * Closes an operating (DDA) account. The account must be drained via the drain
24
+ * endpoint first. This endpoint is unavailable in live production.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const response = await client.simulations.accounts.close(
29
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
30
+ * { reason: 'aml_risk_fraud' },
31
+ * );
32
+ * ```
33
+ */
34
+ close(id, body, options) {
35
+ return this._client.post((0, path_1.path) `/v1/simulations/accounts/${id}/close`, { body, ...options });
36
+ }
37
+ /**
38
+ * Creates an outbound payout that drains the residual balance of a frozen
39
+ * operating (DDA) account to the provided destination. The returned `payout_id`
40
+ * must be settled via `POST /v1/simulations/payouts/{id}/send` for the account
41
+ * balance to reach zero. This endpoint is unavailable in live production.
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const response = await client.simulations.accounts.drain(
46
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
47
+ * {
48
+ * destination: {
49
+ * account_holder_name: 'Acme Sandbox Ltd.',
50
+ * iban: 'DE89370400440532013000',
51
+ * type: 'iban',
52
+ * },
53
+ * },
54
+ * );
55
+ * ```
56
+ */
57
+ drain(id, body, options) {
58
+ return this._client.post((0, path_1.path) `/v1/simulations/accounts/${id}/drain`, { body, ...options });
59
+ }
60
+ /**
61
+ * Freezes an existing operating (DDA) account. This endpoint is unavailable in
62
+ * live production.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const response = await client.simulations.accounts.freeze(
67
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
68
+ * );
69
+ * ```
70
+ */
71
+ freeze(id, options) {
72
+ return this._client.post((0, path_1.path) `/v1/simulations/accounts/${id}/freeze`, options);
73
+ }
74
+ /**
75
+ * Unfreezes an existing operating (DDA) account. This endpoint is unavailable in
76
+ * live production.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const response = await client.simulations.accounts.unfreeze(
81
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
82
+ * );
83
+ * ```
84
+ */
85
+ unfreeze(id, options) {
86
+ return this._client.post((0, path_1.path) `/v1/simulations/accounts/${id}/unfreeze`, options);
87
+ }
88
+ }
89
+ exports.Accounts = Accounts;
90
+ //# sourceMappingURL=accounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CACF;AArFD,4BAqFC"}
@@ -0,0 +1,86 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Accounts extends APIResource {
5
+ /**
6
+ * Creates a Mock-US USD operating (DDA) account owned by the caller merchant. This
7
+ * endpoint is unavailable in live production.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const account = await client.simulations.accounts.create({
12
+ * label: 'x',
13
+ * });
14
+ * ```
15
+ */
16
+ create(body, options) {
17
+ return this._client.post('/v1/simulations/accounts', { body, ...options });
18
+ }
19
+ /**
20
+ * Closes an operating (DDA) account. The account must be drained via the drain
21
+ * endpoint first. This endpoint is unavailable in live production.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const response = await client.simulations.accounts.close(
26
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
27
+ * { reason: 'aml_risk_fraud' },
28
+ * );
29
+ * ```
30
+ */
31
+ close(id, body, options) {
32
+ return this._client.post(path `/v1/simulations/accounts/${id}/close`, { body, ...options });
33
+ }
34
+ /**
35
+ * Creates an outbound payout that drains the residual balance of a frozen
36
+ * operating (DDA) account to the provided destination. The returned `payout_id`
37
+ * must be settled via `POST /v1/simulations/payouts/{id}/send` for the account
38
+ * balance to reach zero. This endpoint is unavailable in live production.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const response = await client.simulations.accounts.drain(
43
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
44
+ * {
45
+ * destination: {
46
+ * account_holder_name: 'Acme Sandbox Ltd.',
47
+ * iban: 'DE89370400440532013000',
48
+ * type: 'iban',
49
+ * },
50
+ * },
51
+ * );
52
+ * ```
53
+ */
54
+ drain(id, body, options) {
55
+ return this._client.post(path `/v1/simulations/accounts/${id}/drain`, { body, ...options });
56
+ }
57
+ /**
58
+ * Freezes an existing operating (DDA) account. This endpoint is unavailable in
59
+ * live production.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const response = await client.simulations.accounts.freeze(
64
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
65
+ * );
66
+ * ```
67
+ */
68
+ freeze(id, options) {
69
+ return this._client.post(path `/v1/simulations/accounts/${id}/freeze`, options);
70
+ }
71
+ /**
72
+ * Unfreezes an existing operating (DDA) account. This endpoint is unavailable in
73
+ * live production.
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * const response = await client.simulations.accounts.unfreeze(
78
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
79
+ * );
80
+ * ```
81
+ */
82
+ unfreeze(id, options) {
83
+ return this._client.post(path `/v1/simulations/accounts/${id}/unfreeze`, options);
84
+ }
85
+ }
86
+ //# sourceMappingURL=accounts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CACF"}
@@ -0,0 +1,54 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Conversions extends APIResource {
5
+ /**
6
+ * Releases a controlled (sandbox) conversion paused at its first step so it runs
7
+ * to completion normally. This endpoint is unavailable in live production.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const response =
12
+ * await client.simulations.conversions.complete(
13
+ * '550e8400-e29b-41d4-a716-446655440006',
14
+ * );
15
+ * ```
16
+ */
17
+ complete(id: string, options?: RequestOptions): APIPromise<ConversionCompleteResponse>;
18
+ /**
19
+ * Fails a controlled (sandbox) conversion paused at its first step, before any
20
+ * funds move. This endpoint is unavailable in live production.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const response = await client.simulations.conversions.fail(
25
+ * '550e8400-e29b-41d4-a716-446655440006',
26
+ * );
27
+ * ```
28
+ */
29
+ fail(id: string, options?: RequestOptions): APIPromise<ConversionFailResponse>;
30
+ }
31
+ export interface ConversionCompleteResponse {
32
+ /**
33
+ * Conversion whose execution is being simulated.
34
+ */
35
+ conversion_id: string;
36
+ /**
37
+ * Resource type discriminator.
38
+ */
39
+ type: 'conversion_simulation';
40
+ }
41
+ export interface ConversionFailResponse {
42
+ /**
43
+ * Conversion whose execution is being simulated.
44
+ */
45
+ conversion_id: string;
46
+ /**
47
+ * Resource type discriminator.
48
+ */
49
+ type: 'conversion_simulation';
50
+ }
51
+ export declare namespace Conversions {
52
+ export { type ConversionCompleteResponse as ConversionCompleteResponse, type ConversionFailResponse as ConversionFailResponse, };
53
+ }
54
+ //# sourceMappingURL=conversions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversions.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/conversions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAG/E;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,54 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Conversions extends APIResource {
5
+ /**
6
+ * Releases a controlled (sandbox) conversion paused at its first step so it runs
7
+ * to completion normally. This endpoint is unavailable in live production.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const response =
12
+ * await client.simulations.conversions.complete(
13
+ * '550e8400-e29b-41d4-a716-446655440006',
14
+ * );
15
+ * ```
16
+ */
17
+ complete(id: string, options?: RequestOptions): APIPromise<ConversionCompleteResponse>;
18
+ /**
19
+ * Fails a controlled (sandbox) conversion paused at its first step, before any
20
+ * funds move. This endpoint is unavailable in live production.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const response = await client.simulations.conversions.fail(
25
+ * '550e8400-e29b-41d4-a716-446655440006',
26
+ * );
27
+ * ```
28
+ */
29
+ fail(id: string, options?: RequestOptions): APIPromise<ConversionFailResponse>;
30
+ }
31
+ export interface ConversionCompleteResponse {
32
+ /**
33
+ * Conversion whose execution is being simulated.
34
+ */
35
+ conversion_id: string;
36
+ /**
37
+ * Resource type discriminator.
38
+ */
39
+ type: 'conversion_simulation';
40
+ }
41
+ export interface ConversionFailResponse {
42
+ /**
43
+ * Conversion whose execution is being simulated.
44
+ */
45
+ conversion_id: string;
46
+ /**
47
+ * Resource type discriminator.
48
+ */
49
+ type: 'conversion_simulation';
50
+ }
51
+ export declare namespace Conversions {
52
+ export { type ConversionCompleteResponse as ConversionCompleteResponse, type ConversionFailResponse as ConversionFailResponse, };
53
+ }
54
+ //# sourceMappingURL=conversions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversions.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/conversions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAG/E;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,39 @@
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.Conversions = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Conversions extends resource_1.APIResource {
8
+ /**
9
+ * Releases a controlled (sandbox) conversion paused at its first step so it runs
10
+ * to completion normally. This endpoint is unavailable in live production.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const response =
15
+ * await client.simulations.conversions.complete(
16
+ * '550e8400-e29b-41d4-a716-446655440006',
17
+ * );
18
+ * ```
19
+ */
20
+ complete(id, options) {
21
+ return this._client.post((0, path_1.path) `/v1/simulations/conversions/${id}/complete`, options);
22
+ }
23
+ /**
24
+ * Fails a controlled (sandbox) conversion paused at its first step, before any
25
+ * funds move. This endpoint is unavailable in live production.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const response = await client.simulations.conversions.fail(
30
+ * '550e8400-e29b-41d4-a716-446655440006',
31
+ * );
32
+ * ```
33
+ */
34
+ fail(id, options) {
35
+ return this._client.post((0, path_1.path) `/v1/simulations/conversions/${id}/fail`, options);
36
+ }
37
+ }
38
+ exports.Conversions = Conversions;
39
+ //# sourceMappingURL=conversions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversions.js","sourceRoot":"","sources":["../../src/resources/simulations/conversions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF;AA/BD,kCA+BC"}
@@ -0,0 +1,35 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Conversions extends APIResource {
5
+ /**
6
+ * Releases a controlled (sandbox) conversion paused at its first step so it runs
7
+ * to completion normally. This endpoint is unavailable in live production.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const response =
12
+ * await client.simulations.conversions.complete(
13
+ * '550e8400-e29b-41d4-a716-446655440006',
14
+ * );
15
+ * ```
16
+ */
17
+ complete(id, options) {
18
+ return this._client.post(path `/v1/simulations/conversions/${id}/complete`, options);
19
+ }
20
+ /**
21
+ * Fails a controlled (sandbox) conversion paused at its first step, before any
22
+ * funds move. This endpoint is unavailable in live production.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const response = await client.simulations.conversions.fail(
27
+ * '550e8400-e29b-41d4-a716-446655440006',
28
+ * );
29
+ * ```
30
+ */
31
+ fail(id, options) {
32
+ return this._client.post(path `/v1/simulations/conversions/${id}/fail`, options);
33
+ }
34
+ }
35
+ //# sourceMappingURL=conversions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversions.mjs","sourceRoot":"","sources":["../../src/resources/simulations/conversions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,+BAA+B,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,+BAA+B,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF"}