@augustusbank/typescript-sdk 0.22.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 (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/client.d.mts +6 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/account-programs.d.mts +21 -16
  10. package/resources/account-programs.d.mts.map +1 -1
  11. package/resources/account-programs.d.ts +21 -16
  12. package/resources/account-programs.d.ts.map +1 -1
  13. package/resources/account-programs.js +2 -2
  14. package/resources/account-programs.js.map +1 -1
  15. package/resources/account-programs.mjs +2 -2
  16. package/resources/account-programs.mjs.map +1 -1
  17. package/resources/accounts.d.mts +21 -6
  18. package/resources/accounts.d.mts.map +1 -1
  19. package/resources/accounts.d.ts +21 -6
  20. package/resources/accounts.d.ts.map +1 -1
  21. package/resources/accounts.js +2 -2
  22. package/resources/accounts.js.map +1 -1
  23. package/resources/accounts.mjs +2 -2
  24. package/resources/accounts.mjs.map +1 -1
  25. package/resources/counterparties.d.mts +16 -16
  26. package/resources/counterparties.d.mts.map +1 -1
  27. package/resources/counterparties.d.ts +16 -16
  28. package/resources/counterparties.d.ts.map +1 -1
  29. package/resources/deposits.d.mts +10 -0
  30. package/resources/deposits.d.mts.map +1 -1
  31. package/resources/deposits.d.ts +10 -0
  32. package/resources/deposits.d.ts.map +1 -1
  33. package/resources/events.d.mts +3 -3
  34. package/resources/events.d.mts.map +1 -1
  35. package/resources/events.d.ts +3 -3
  36. package/resources/events.d.ts.map +1 -1
  37. package/resources/index.d.mts +3 -3
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +3 -3
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/index.js.map +1 -1
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/payouts.d.mts +22 -406
  44. package/resources/payouts.d.mts.map +1 -1
  45. package/resources/payouts.d.ts +22 -406
  46. package/resources/payouts.d.ts.map +1 -1
  47. package/resources/payouts.js +2 -4
  48. package/resources/payouts.js.map +1 -1
  49. package/resources/payouts.mjs +2 -4
  50. package/resources/payouts.mjs.map +1 -1
  51. package/resources/simulations/account-programs.d.mts +9 -75
  52. package/resources/simulations/account-programs.d.mts.map +1 -1
  53. package/resources/simulations/account-programs.d.ts +9 -75
  54. package/resources/simulations/account-programs.d.ts.map +1 -1
  55. package/resources/simulations/account-programs.js +0 -2
  56. package/resources/simulations/account-programs.js.map +1 -1
  57. package/resources/simulations/account-programs.mjs +0 -2
  58. package/resources/simulations/account-programs.mjs.map +1 -1
  59. package/resources/simulations/accounts.d.mts +9 -70
  60. package/resources/simulations/accounts.d.mts.map +1 -1
  61. package/resources/simulations/accounts.d.ts +9 -70
  62. package/resources/simulations/accounts.d.ts.map +1 -1
  63. package/resources/simulations/accounts.js +0 -1
  64. package/resources/simulations/accounts.js.map +1 -1
  65. package/resources/simulations/accounts.mjs +0 -1
  66. package/resources/simulations/accounts.mjs.map +1 -1
  67. package/resources/simulations/conversions.d.mts +54 -0
  68. package/resources/simulations/conversions.d.mts.map +1 -0
  69. package/resources/simulations/conversions.d.ts +54 -0
  70. package/resources/simulations/conversions.d.ts.map +1 -0
  71. package/resources/simulations/conversions.js +39 -0
  72. package/resources/simulations/conversions.js.map +1 -0
  73. package/resources/simulations/conversions.mjs +35 -0
  74. package/resources/simulations/conversions.mjs.map +1 -0
  75. package/resources/simulations/deposits.d.mts +14 -30
  76. package/resources/simulations/deposits.d.mts.map +1 -1
  77. package/resources/simulations/deposits.d.ts +14 -30
  78. package/resources/simulations/deposits.d.ts.map +1 -1
  79. package/resources/simulations/index.d.mts +1 -0
  80. package/resources/simulations/index.d.mts.map +1 -1
  81. package/resources/simulations/index.d.ts +1 -0
  82. package/resources/simulations/index.d.ts.map +1 -1
  83. package/resources/simulations/index.js +3 -1
  84. package/resources/simulations/index.js.map +1 -1
  85. package/resources/simulations/index.mjs +1 -0
  86. package/resources/simulations/index.mjs.map +1 -1
  87. package/resources/simulations/payouts.d.mts +4 -18
  88. package/resources/simulations/payouts.d.mts.map +1 -1
  89. package/resources/simulations/payouts.d.ts +4 -18
  90. package/resources/simulations/payouts.d.ts.map +1 -1
  91. package/resources/simulations/simulations.d.mts +4 -0
  92. package/resources/simulations/simulations.d.mts.map +1 -1
  93. package/resources/simulations/simulations.d.ts +4 -0
  94. package/resources/simulations/simulations.d.ts.map +1 -1
  95. package/resources/simulations/simulations.js +4 -0
  96. package/resources/simulations/simulations.js.map +1 -1
  97. package/resources/simulations/simulations.mjs +4 -0
  98. package/resources/simulations/simulations.mjs.map +1 -1
  99. package/resources/transactions.d.mts +60 -0
  100. package/resources/transactions.d.mts.map +1 -1
  101. package/resources/transactions.d.ts +60 -0
  102. package/resources/transactions.d.ts.map +1 -1
  103. package/resources/webhook-subscriptions.d.mts +9 -9
  104. package/resources/webhook-subscriptions.d.mts.map +1 -1
  105. package/resources/webhook-subscriptions.d.ts +9 -9
  106. package/resources/webhook-subscriptions.d.ts.map +1 -1
  107. package/resources/webhook-subscriptions.js +1 -1
  108. package/resources/webhook-subscriptions.mjs +1 -1
  109. package/resources/webhooks.d.mts +245 -30
  110. package/resources/webhooks.d.mts.map +1 -1
  111. package/resources/webhooks.d.ts +245 -30
  112. package/resources/webhooks.d.ts.map +1 -1
  113. package/src/client.ts +16 -8
  114. package/src/resources/account-programs.ts +29 -18
  115. package/src/resources/accounts.ts +29 -6
  116. package/src/resources/counterparties.ts +16 -16
  117. package/src/resources/deposits.ts +12 -0
  118. package/src/resources/events.ts +18 -12
  119. package/src/resources/index.ts +8 -4
  120. package/src/resources/payouts.ts +36 -1993
  121. package/src/resources/simulations/account-programs.ts +10 -91
  122. package/src/resources/simulations/accounts.ts +10 -85
  123. package/src/resources/simulations/conversions.ts +70 -0
  124. package/src/resources/simulations/deposits.ts +27 -35
  125. package/src/resources/simulations/index.ts +1 -0
  126. package/src/resources/simulations/payouts.ts +4 -22
  127. package/src/resources/simulations/simulations.ts +10 -0
  128. package/src/resources/transactions.ts +70 -0
  129. package/src/resources/webhook-subscriptions.ts +49 -33
  130. package/src/resources/webhooks.ts +360 -36
  131. package/src/version.ts +1 -1
  132. package/version.d.mts +1 -1
  133. package/version.d.ts +1 -1
  134. package/version.js +1 -1
  135. package/version.mjs +1 -1
@@ -40,7 +40,6 @@ export declare class Accounts extends APIResource {
40
40
  * {
41
41
  * destination: {
42
42
  * account_holder_name: 'Acme Sandbox Ltd.',
43
- * bic: 'COBADEFFXXX',
44
43
  * iban: 'DE89370400440532013000',
45
44
  * type: 'iban',
46
45
  * },
@@ -79,19 +78,6 @@ export interface AccountCreateResponse {
79
78
  * Account whose lifecycle is being simulated.
80
79
  */
81
80
  account_id: string;
82
- /**
83
- * Account lifecycle event submitted to the sandbox.
84
- */
85
- event: 'create' | 'freeze' | 'unfreeze' | 'close' | 'drain';
86
- /**
87
- * Payout created by a drain event. Feed to
88
- * `POST /v1/simulations/payouts/{id}/send` to settle. `null` for non-drain events.
89
- */
90
- payout_id: string | null;
91
- /**
92
- * Whether the simulation submission was successful.
93
- */
94
- success: boolean;
95
81
  /**
96
82
  * Resource type discriminator.
97
83
  */
@@ -102,19 +88,6 @@ export interface AccountCloseResponse {
102
88
  * Account whose lifecycle is being simulated.
103
89
  */
104
90
  account_id: string;
105
- /**
106
- * Account lifecycle event submitted to the sandbox.
107
- */
108
- event: 'create' | 'freeze' | 'unfreeze' | 'close' | 'drain';
109
- /**
110
- * Payout created by a drain event. Feed to
111
- * `POST /v1/simulations/payouts/{id}/send` to settle. `null` for non-drain events.
112
- */
113
- payout_id: string | null;
114
- /**
115
- * Whether the simulation submission was successful.
116
- */
117
- success: boolean;
118
91
  /**
119
92
  * Resource type discriminator.
120
93
  */
@@ -126,18 +99,10 @@ export interface AccountDrainResponse {
126
99
  */
127
100
  account_id: string;
128
101
  /**
129
- * Account lifecycle event submitted to the sandbox.
130
- */
131
- event: 'create' | 'freeze' | 'unfreeze' | 'close' | 'drain';
132
- /**
133
- * Payout created by a drain event. Feed to
134
- * `POST /v1/simulations/payouts/{id}/send` to settle. `null` for non-drain events.
135
- */
136
- payout_id: string | null;
137
- /**
138
- * Whether the simulation submission was successful.
102
+ * Payout created by the drain. Feed to `POST /v1/simulations/payouts/{id}/send` to
103
+ * settle.
139
104
  */
140
- success: boolean;
105
+ payout_id: string;
141
106
  /**
142
107
  * Resource type discriminator.
143
108
  */
@@ -148,19 +113,6 @@ export interface AccountFreezeResponse {
148
113
  * Account whose lifecycle is being simulated.
149
114
  */
150
115
  account_id: string;
151
- /**
152
- * Account lifecycle event submitted to the sandbox.
153
- */
154
- event: 'create' | 'freeze' | 'unfreeze' | 'close' | 'drain';
155
- /**
156
- * Payout created by a drain event. Feed to
157
- * `POST /v1/simulations/payouts/{id}/send` to settle. `null` for non-drain events.
158
- */
159
- payout_id: string | null;
160
- /**
161
- * Whether the simulation submission was successful.
162
- */
163
- success: boolean;
164
116
  /**
165
117
  * Resource type discriminator.
166
118
  */
@@ -171,19 +123,6 @@ export interface AccountUnfreezeResponse {
171
123
  * Account whose lifecycle is being simulated.
172
124
  */
173
125
  account_id: string;
174
- /**
175
- * Account lifecycle event submitted to the sandbox.
176
- */
177
- event: 'create' | 'freeze' | 'unfreeze' | 'close' | 'drain';
178
- /**
179
- * Payout created by a drain event. Feed to
180
- * `POST /v1/simulations/payouts/{id}/send` to settle. `null` for non-drain events.
181
- */
182
- payout_id: string | null;
183
- /**
184
- * Whether the simulation submission was successful.
185
- */
186
- success: boolean;
187
126
  /**
188
127
  * Resource type discriminator.
189
128
  */
@@ -206,18 +145,14 @@ export interface AccountDrainParams {
206
145
  * Fiat financial address to which the residual balance of the frozen account is
207
146
  * drained.
208
147
  */
209
- destination: AccountDrainParams.IbanFinancialAddress | AccountDrainParams.SortCodeFinancialAddress | AccountDrainParams.AbaFinancialAddress;
148
+ destination: AccountDrainParams.IbanFinancialAddressRequest | AccountDrainParams.SortCodeFinancialAddress | AccountDrainParams.AbaFinancialAddress;
210
149
  }
211
150
  export declare namespace AccountDrainParams {
212
- interface IbanFinancialAddress {
151
+ interface IbanFinancialAddressRequest {
213
152
  /**
214
153
  * Name of the account holder.
215
154
  */
216
155
  account_holder_name: string;
217
- /**
218
- * Bank Identifier Code, or null if not provided.
219
- */
220
- bic: string | null;
221
156
  /**
222
157
  * International Bank Account Number.
223
158
  */
@@ -226,6 +161,10 @@ export declare namespace AccountDrainParams {
226
161
  * Discriminator for IBAN financial address.
227
162
  */
228
163
  type: 'iban';
164
+ /**
165
+ * Bank Identifier Code. Optional; omit or send null if not provided.
166
+ */
167
+ bic?: string | null;
229
168
  }
230
169
  interface SortCodeFinancialAddress {
231
170
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIvG;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIvG;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO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;CAC5C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,2BAA2B;QAC1C;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB;IAED,UAAiB,wBAAwB;QACvC;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,IAAI,EAAE,WAAW,CAAC;KACnB;IAED,UAAiB,mBAAmB;QAClC;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC;KACb;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -47,7 +47,6 @@ class Accounts extends resource_1.APIResource {
47
47
  * {
48
48
  * destination: {
49
49
  * account_holder_name: 'Acme Sandbox Ltd.',
50
- * bic: 'COBADEFFXXX',
51
50
  * iban: 'DE89370400440532013000',
52
51
  * type: 'iban',
53
52
  * },
@@ -1 +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;;;;;;;;;;;;;;;;;;;;OAoBG;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;AAtFD,4BAsFC"}
1
+ {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names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'COBADEFFXXX',
48
47
  * iban: 'DE89370400440532013000',
49
48
  * type: 'iban',
50
49
  * },
@@ -1 +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;;;;;;;;;;;;;;;;;;;;OAoBG;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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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"}
@@ -22,31 +22,10 @@ export interface DepositCreateResponse {
22
22
  * Account receiving the simulated deposit.
23
23
  */
24
24
  account_id: string;
25
- /**
26
- * Simulated amount as a decimal string.
27
- */
28
- amount: string;
29
- /**
30
- * Currency of the receiving account.
31
- */
32
- currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
33
- /**
34
- * Payment rail the simulated deposit arrived on, or null when not known.
35
- */
36
- rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'ach' | 'fedwire' | 'swift' | null;
37
- /**
38
- * Whether the simulation submission was successful.
39
- */
40
- success: boolean;
41
25
  /**
42
26
  * Resource type discriminator.
43
27
  */
44
28
  type: 'deposit_simulation';
45
- /**
46
- * ISO 20022 unstructured remittance information (<RmtInf>/<Ustrd>), or null when
47
- * omitted.
48
- */
49
- unstructured_remittance_information: string | null;
50
29
  }
51
30
  export interface DepositCreateParams {
52
31
  /**
@@ -62,13 +41,18 @@ export interface DepositCreateParams {
62
41
  */
63
42
  currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
64
43
  /**
65
- * Sender of the simulated deposit.
44
+ * Sender of the simulated deposit. Mutually exclusive with `counterparty_id`.
66
45
  */
67
46
  counterparty?: DepositCreateParams.Counterparty;
47
+ /**
48
+ * ID of an existing counterparty to use as the sender of the simulated deposit.
49
+ * Mutually exclusive with `counterparty`.
50
+ */
51
+ counterparty_id?: string;
68
52
  /**
69
53
  * Payment rail the simulated deposit arrives on.
70
54
  */
71
- rail?: 'sepa' | 'sepa_instant' | 'faster_payments' | 'ach' | 'fedwire' | 'swift';
55
+ rail?: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'ach' | 'fedwire' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy';
72
56
  /**
73
57
  * Unstructured remittance information attached to the transfer. Not all rails
74
58
  * support this field.
@@ -77,7 +61,7 @@ export interface DepositCreateParams {
77
61
  }
78
62
  export declare namespace DepositCreateParams {
79
63
  /**
80
- * Sender of the simulated deposit.
64
+ * Sender of the simulated deposit. Mutually exclusive with `counterparty_id`.
81
65
  */
82
66
  interface Counterparty {
83
67
  /**
@@ -197,18 +181,18 @@ export declare namespace DepositCreateParams {
197
181
  * Primary street address.
198
182
  */
199
183
  line_1: string;
200
- /**
201
- * Secondary street address, or null if not recorded.
202
- */
203
- line_2: string | null;
204
184
  /**
205
185
  * Postal or ZIP code.
206
186
  */
207
187
  postal_code: string;
208
188
  /**
209
- * State, province, or region, or null if not recorded.
189
+ * Secondary street address. Optional; omit or send null if not recorded.
190
+ */
191
+ line_2?: string | null;
192
+ /**
193
+ * State, province, or region. Optional; omit or send null if not recorded.
210
194
  */
211
- state: string | null;
195
+ state?: string | null;
212
196
  }
213
197
  }
214
198
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deposits.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/deposits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAA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IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;YAET;;eAEG;YACH,MAAM,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEvB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SACvB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -22,31 +22,10 @@ export interface DepositCreateResponse {
22
22
  * Account receiving the simulated deposit.
23
23
  */
24
24
  account_id: string;
25
- /**
26
- * Simulated amount as a decimal string.
27
- */
28
- amount: string;
29
- /**
30
- * Currency of the receiving account.
31
- */
32
- currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
33
- /**
34
- * Payment rail the simulated deposit arrived on, or null when not known.
35
- */
36
- rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'ach' | 'fedwire' | 'swift' | null;
37
- /**
38
- * Whether the simulation submission was successful.
39
- */
40
- success: boolean;
41
25
  /**
42
26
  * Resource type discriminator.
43
27
  */
44
28
  type: 'deposit_simulation';
45
- /**
46
- * ISO 20022 unstructured remittance information (<RmtInf>/<Ustrd>), or null when
47
- * omitted.
48
- */
49
- unstructured_remittance_information: string | null;
50
29
  }
51
30
  export interface DepositCreateParams {
52
31
  /**
@@ -62,13 +41,18 @@ export interface DepositCreateParams {
62
41
  */
63
42
  currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
64
43
  /**
65
- * Sender of the simulated deposit.
44
+ * Sender of the simulated deposit. Mutually exclusive with `counterparty_id`.
66
45
  */
67
46
  counterparty?: DepositCreateParams.Counterparty;
47
+ /**
48
+ * ID of an existing counterparty to use as the sender of the simulated deposit.
49
+ * Mutually exclusive with `counterparty`.
50
+ */
51
+ counterparty_id?: string;
68
52
  /**
69
53
  * Payment rail the simulated deposit arrives on.
70
54
  */
71
- rail?: 'sepa' | 'sepa_instant' | 'faster_payments' | 'ach' | 'fedwire' | 'swift';
55
+ rail?: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'ach' | 'fedwire' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy';
72
56
  /**
73
57
  * Unstructured remittance information attached to the transfer. Not all rails
74
58
  * support this field.
@@ -77,7 +61,7 @@ export interface DepositCreateParams {
77
61
  }
78
62
  export declare namespace DepositCreateParams {
79
63
  /**
80
- * Sender of the simulated deposit.
64
+ * Sender of the simulated deposit. Mutually exclusive with `counterparty_id`.
81
65
  */
82
66
  interface Counterparty {
83
67
  /**
@@ -197,18 +181,18 @@ export declare namespace DepositCreateParams {
197
181
  * Primary street address.
198
182
  */
199
183
  line_1: string;
200
- /**
201
- * Secondary street address, or null if not recorded.
202
- */
203
- line_2: string | null;
204
184
  /**
205
185
  * Postal or ZIP code.
206
186
  */
207
187
  postal_code: string;
208
188
  /**
209
- * State, province, or region, or null if not recorded.
189
+ * Secondary street address. Optional; omit or send null if not recorded.
190
+ */
191
+ line_2?: string | null;
192
+ /**
193
+ * State, province, or region. Optional; omit or send null if not recorded.
210
194
  */
211
- state: string | null;
195
+ state?: string | null;
212
196
  }
213
197
  }
214
198
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deposits.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/deposits.ts"],"names":[],"mappings":"AAEA,OAAO,EAA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AI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;YAET;;eAEG;YACH,MAAM,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEvB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SACvB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -1,5 +1,6 @@
1
1
  export { AccountPrograms, type AccountProgramCreateResponse, type AccountProgramCloseResponse, type AccountProgramDrainResponse, type AccountProgramFreezeResponse, type AccountProgramUnfreezeResponse, type AccountProgramCreateParams, type AccountProgramCloseParams, type AccountProgramDrainParams, } from "./account-programs.mjs";
2
2
  export { Accounts, type AccountCreateResponse, type AccountCloseResponse, type AccountDrainResponse, type AccountFreezeResponse, type AccountUnfreezeResponse, type AccountCreateParams, type AccountCloseParams, type AccountDrainParams, } from "./accounts.mjs";
3
+ export { Conversions, type ConversionCompleteResponse, type ConversionFailResponse } from "./conversions.mjs";
3
4
  export { Deposits, type DepositCreateResponse, type DepositCreateParams } from "./deposits.mjs";
4
5
  export { Payouts, type PayoutRejectResponse, type PayoutSendResponse, type PayoutRejectParams, } from "./payouts.mjs";
5
6
  export { Simulations } from "./simulations.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B,+BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,uBAAmB;AACpB,OAAO,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,uBAAmB;AAC5F,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,sBAAkB;AACnB,OAAO,EAAE,WAAW,EAAE,0BAAsB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B,+BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,uBAAmB;AACpB,OAAO,EAAE,WAAW,EAAE,KAAK,0BAA0B,EAAE,KAAK,sBAAsB,EAAE,0BAAsB;AAC1G,OAAO,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,uBAAmB;AAC5F,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,sBAAkB;AACnB,OAAO,EAAE,WAAW,EAAE,0BAAsB"}
@@ -1,5 +1,6 @@
1
1
  export { AccountPrograms, type AccountProgramCreateResponse, type AccountProgramCloseResponse, type AccountProgramDrainResponse, type AccountProgramFreezeResponse, type AccountProgramUnfreezeResponse, type AccountProgramCreateParams, type AccountProgramCloseParams, type AccountProgramDrainParams, } from "./account-programs.js";
2
2
  export { Accounts, type AccountCreateResponse, type AccountCloseResponse, type AccountDrainResponse, type AccountFreezeResponse, type AccountUnfreezeResponse, type AccountCreateParams, type AccountCloseParams, type AccountDrainParams, } from "./accounts.js";
3
+ export { Conversions, type ConversionCompleteResponse, type ConversionFailResponse } from "./conversions.js";
3
4
  export { Deposits, type DepositCreateResponse, type DepositCreateParams } from "./deposits.js";
4
5
  export { Payouts, type PayoutRejectResponse, type PayoutSendResponse, type PayoutRejectParams, } from "./payouts.js";
5
6
  export { Simulations } from "./simulations.js";