@augustusbank/typescript-sdk 0.26.0 → 0.28.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.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-programs.d.mts +2 -1
- package/resources/account-programs.d.mts.map +1 -1
- package/resources/account-programs.d.ts +2 -1
- package/resources/account-programs.d.ts.map +1 -1
- package/resources/accounts.d.mts +188 -115
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +188 -115
- package/resources/accounts.d.ts.map +1 -1
- package/resources/counterparties.d.mts +226 -261
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +226 -261
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/counterparties.js +3 -16
- package/resources/counterparties.js.map +1 -1
- package/resources/counterparties.mjs +3 -16
- package/resources/counterparties.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/payouts.d.mts +1 -1
- package/resources/payouts.d.ts +1 -1
- package/resources/payouts.js +1 -1
- package/resources/payouts.mjs +1 -1
- package/resources/simulations/account-programs.d.mts +38 -23
- package/resources/simulations/account-programs.d.mts.map +1 -1
- package/resources/simulations/account-programs.d.ts +38 -23
- package/resources/simulations/account-programs.d.ts.map +1 -1
- package/resources/simulations/account-programs.js +3 -2
- package/resources/simulations/account-programs.js.map +1 -1
- package/resources/simulations/account-programs.mjs +3 -2
- package/resources/simulations/account-programs.mjs.map +1 -1
- package/resources/simulations/accounts.d.mts +38 -23
- package/resources/simulations/accounts.d.mts.map +1 -1
- package/resources/simulations/accounts.d.ts +38 -23
- package/resources/simulations/accounts.d.ts.map +1 -1
- package/resources/simulations/accounts.js +4 -3
- package/resources/simulations/accounts.js.map +1 -1
- package/resources/simulations/accounts.mjs +4 -3
- package/resources/simulations/accounts.mjs.map +1 -1
- package/resources/simulations/deposits.d.mts +42 -21
- package/resources/simulations/deposits.d.mts.map +1 -1
- package/resources/simulations/deposits.d.ts +42 -21
- package/resources/simulations/deposits.d.ts.map +1 -1
- package/resources/simulations/deposits.js +1 -1
- package/resources/simulations/deposits.mjs +1 -1
- package/resources/transactions.d.mts +62 -38
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +62 -38
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +258 -114
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +258 -114
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +0 -2
- package/src/resources/account-programs.ts +2 -1
- package/src/resources/accounts.ts +218 -127
- package/src/resources/counterparties.ts +277 -580
- package/src/resources/index.ts +0 -1
- package/src/resources/payouts.ts +1 -1
- package/src/resources/simulations/account-programs.ts +42 -25
- package/src/resources/simulations/accounts.ts +42 -25
- package/src/resources/simulations/deposits.ts +47 -23
- package/src/resources/transactions.ts +72 -42
- package/src/resources/webhooks.ts +306 -126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -9,7 +9,7 @@ export declare class Accounts extends APIResource {
|
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
11
|
* const account = await client.simulations.accounts.create({
|
|
12
|
-
* label: 'Operating
|
|
12
|
+
* label: 'Operating USD account',
|
|
13
13
|
* type: 'operating',
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
@@ -41,8 +41,9 @@ export declare class Accounts extends APIResource {
|
|
|
41
41
|
* {
|
|
42
42
|
* destination: {
|
|
43
43
|
* account_holder_name: 'Acme Sandbox Ltd.',
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* account_number: '000123456789',
|
|
45
|
+
* routing_number: '110000000',
|
|
46
|
+
* type: 'aba',
|
|
46
47
|
* },
|
|
47
48
|
* },
|
|
48
49
|
* );
|
|
@@ -150,9 +151,34 @@ export interface AccountDrainParams {
|
|
|
150
151
|
* Fiat financial address to which the residual balance of the frozen account is
|
|
151
152
|
* drained.
|
|
152
153
|
*/
|
|
153
|
-
destination: AccountDrainParams.
|
|
154
|
+
destination: AccountDrainParams.AbaFinancialAddressRequest | AccountDrainParams.IbanFinancialAddressRequest | AccountDrainParams.SortCodeFinancialAddressRequest;
|
|
154
155
|
}
|
|
155
156
|
export declare namespace AccountDrainParams {
|
|
157
|
+
interface AbaFinancialAddressRequest {
|
|
158
|
+
/**
|
|
159
|
+
* Name of the account holder.
|
|
160
|
+
*/
|
|
161
|
+
account_holder_name: string;
|
|
162
|
+
/**
|
|
163
|
+
* Bank account number.
|
|
164
|
+
*/
|
|
165
|
+
account_number: string;
|
|
166
|
+
/**
|
|
167
|
+
* ABA routing number (9 digits).
|
|
168
|
+
*/
|
|
169
|
+
routing_number: string;
|
|
170
|
+
/**
|
|
171
|
+
* Discriminator for ABA wire financial address.
|
|
172
|
+
*/
|
|
173
|
+
type: 'aba';
|
|
174
|
+
/**
|
|
175
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
176
|
+
* null if not provided. Some destination countries require it (for example the
|
|
177
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
178
|
+
* code. A payment to an account without one is sent as checking.
|
|
179
|
+
*/
|
|
180
|
+
account_type?: 'checking' | 'savings' | null;
|
|
181
|
+
}
|
|
156
182
|
interface IbanFinancialAddressRequest {
|
|
157
183
|
/**
|
|
158
184
|
* Name of the account holder.
|
|
@@ -166,12 +192,19 @@ export declare namespace AccountDrainParams {
|
|
|
166
192
|
* Discriminator for IBAN financial address.
|
|
167
193
|
*/
|
|
168
194
|
type: 'iban';
|
|
195
|
+
/**
|
|
196
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
197
|
+
* null if not provided. Some destination countries require it (for example the
|
|
198
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
199
|
+
* code. A payment to an account without one is sent as checking.
|
|
200
|
+
*/
|
|
201
|
+
account_type?: 'checking' | 'savings' | null;
|
|
169
202
|
/**
|
|
170
203
|
* Bank Identifier Code. Optional; omit or send null if not provided.
|
|
171
204
|
*/
|
|
172
205
|
bic?: string | null;
|
|
173
206
|
}
|
|
174
|
-
interface
|
|
207
|
+
interface SortCodeFinancialAddressRequest {
|
|
175
208
|
/**
|
|
176
209
|
* Name of the account holder.
|
|
177
210
|
*/
|
|
@@ -189,24 +222,6 @@ export declare namespace AccountDrainParams {
|
|
|
189
222
|
*/
|
|
190
223
|
type: 'sort_code';
|
|
191
224
|
}
|
|
192
|
-
interface AbaFinancialAddress {
|
|
193
|
-
/**
|
|
194
|
-
* Name of the account holder.
|
|
195
|
-
*/
|
|
196
|
-
account_holder_name: string;
|
|
197
|
-
/**
|
|
198
|
-
* Bank account number.
|
|
199
|
-
*/
|
|
200
|
-
account_number: string;
|
|
201
|
-
/**
|
|
202
|
-
* ABA routing number (9 digits).
|
|
203
|
-
*/
|
|
204
|
-
routing_number: string;
|
|
205
|
-
/**
|
|
206
|
-
* Discriminator for ABA wire financial address.
|
|
207
|
-
*/
|
|
208
|
-
type: 'aba';
|
|
209
|
-
}
|
|
210
225
|
}
|
|
211
226
|
export declare namespace Accounts {
|
|
212
227
|
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, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;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
|
|
1
|
+
{"version":3,"file":"accounts.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;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,CAAC,EAAE,cAAc,GA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AAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC;QAEZ;;;;;WAKG;QACH,YAAY,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;KAC9C;IAED,UAAiB,2BAA2B;QAC1C;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;;;;WAKG;QACH,YAAY,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;QAE7C;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB;IAED,UAAiB,+BAA+B;QAC9C;;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;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"}
|
|
@@ -9,7 +9,7 @@ export declare class Accounts extends APIResource {
|
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
11
|
* const account = await client.simulations.accounts.create({
|
|
12
|
-
* label: 'Operating
|
|
12
|
+
* label: 'Operating USD account',
|
|
13
13
|
* type: 'operating',
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
@@ -41,8 +41,9 @@ export declare class Accounts extends APIResource {
|
|
|
41
41
|
* {
|
|
42
42
|
* destination: {
|
|
43
43
|
* account_holder_name: 'Acme Sandbox Ltd.',
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* account_number: '000123456789',
|
|
45
|
+
* routing_number: '110000000',
|
|
46
|
+
* type: 'aba',
|
|
46
47
|
* },
|
|
47
48
|
* },
|
|
48
49
|
* );
|
|
@@ -150,9 +151,34 @@ export interface AccountDrainParams {
|
|
|
150
151
|
* Fiat financial address to which the residual balance of the frozen account is
|
|
151
152
|
* drained.
|
|
152
153
|
*/
|
|
153
|
-
destination: AccountDrainParams.
|
|
154
|
+
destination: AccountDrainParams.AbaFinancialAddressRequest | AccountDrainParams.IbanFinancialAddressRequest | AccountDrainParams.SortCodeFinancialAddressRequest;
|
|
154
155
|
}
|
|
155
156
|
export declare namespace AccountDrainParams {
|
|
157
|
+
interface AbaFinancialAddressRequest {
|
|
158
|
+
/**
|
|
159
|
+
* Name of the account holder.
|
|
160
|
+
*/
|
|
161
|
+
account_holder_name: string;
|
|
162
|
+
/**
|
|
163
|
+
* Bank account number.
|
|
164
|
+
*/
|
|
165
|
+
account_number: string;
|
|
166
|
+
/**
|
|
167
|
+
* ABA routing number (9 digits).
|
|
168
|
+
*/
|
|
169
|
+
routing_number: string;
|
|
170
|
+
/**
|
|
171
|
+
* Discriminator for ABA wire financial address.
|
|
172
|
+
*/
|
|
173
|
+
type: 'aba';
|
|
174
|
+
/**
|
|
175
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
176
|
+
* null if not provided. Some destination countries require it (for example the
|
|
177
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
178
|
+
* code. A payment to an account without one is sent as checking.
|
|
179
|
+
*/
|
|
180
|
+
account_type?: 'checking' | 'savings' | null;
|
|
181
|
+
}
|
|
156
182
|
interface IbanFinancialAddressRequest {
|
|
157
183
|
/**
|
|
158
184
|
* Name of the account holder.
|
|
@@ -166,12 +192,19 @@ export declare namespace AccountDrainParams {
|
|
|
166
192
|
* Discriminator for IBAN financial address.
|
|
167
193
|
*/
|
|
168
194
|
type: 'iban';
|
|
195
|
+
/**
|
|
196
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
197
|
+
* null if not provided. Some destination countries require it (for example the
|
|
198
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
199
|
+
* code. A payment to an account without one is sent as checking.
|
|
200
|
+
*/
|
|
201
|
+
account_type?: 'checking' | 'savings' | null;
|
|
169
202
|
/**
|
|
170
203
|
* Bank Identifier Code. Optional; omit or send null if not provided.
|
|
171
204
|
*/
|
|
172
205
|
bic?: string | null;
|
|
173
206
|
}
|
|
174
|
-
interface
|
|
207
|
+
interface SortCodeFinancialAddressRequest {
|
|
175
208
|
/**
|
|
176
209
|
* Name of the account holder.
|
|
177
210
|
*/
|
|
@@ -189,24 +222,6 @@ export declare namespace AccountDrainParams {
|
|
|
189
222
|
*/
|
|
190
223
|
type: 'sort_code';
|
|
191
224
|
}
|
|
192
|
-
interface AbaFinancialAddress {
|
|
193
|
-
/**
|
|
194
|
-
* Name of the account holder.
|
|
195
|
-
*/
|
|
196
|
-
account_holder_name: string;
|
|
197
|
-
/**
|
|
198
|
-
* Bank account number.
|
|
199
|
-
*/
|
|
200
|
-
account_number: string;
|
|
201
|
-
/**
|
|
202
|
-
* ABA routing number (9 digits).
|
|
203
|
-
*/
|
|
204
|
-
routing_number: string;
|
|
205
|
-
/**
|
|
206
|
-
* Discriminator for ABA wire financial address.
|
|
207
|
-
*/
|
|
208
|
-
type: 'aba';
|
|
209
|
-
}
|
|
210
225
|
}
|
|
211
226
|
export declare namespace Accounts {
|
|
212
227
|
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, };
|
|
@@ -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;;;;;;;;;;;OAWG;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
|
|
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;;;;;;;;;;;OAWG;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;IAC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kB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -12,7 +12,7 @@ class Accounts extends resource_1.APIResource {
|
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
14
|
* const account = await client.simulations.accounts.create({
|
|
15
|
-
* label: 'Operating
|
|
15
|
+
* label: 'Operating USD account',
|
|
16
16
|
* type: 'operating',
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
@@ -48,8 +48,9 @@ class Accounts extends resource_1.APIResource {
|
|
|
48
48
|
* {
|
|
49
49
|
* destination: {
|
|
50
50
|
* account_holder_name: 'Acme Sandbox Ltd.',
|
|
51
|
-
*
|
|
52
|
-
*
|
|
51
|
+
* account_number: '000123456789',
|
|
52
|
+
* routing_number: '110000000',
|
|
53
|
+
* type: 'aba',
|
|
53
54
|
* },
|
|
54
55
|
* },
|
|
55
56
|
* );
|
|
@@ -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;;;;;;;;;;;OAWG;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
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../src/res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|
11
11
|
* const account = await client.simulations.accounts.create({
|
|
12
|
-
* label: 'Operating
|
|
12
|
+
* label: 'Operating USD account',
|
|
13
13
|
* type: 'operating',
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
@@ -45,8 +45,9 @@ export class Accounts extends APIResource {
|
|
|
45
45
|
* {
|
|
46
46
|
* destination: {
|
|
47
47
|
* account_holder_name: 'Acme Sandbox Ltd.',
|
|
48
|
-
*
|
|
49
|
-
*
|
|
48
|
+
* account_number: '000123456789',
|
|
49
|
+
* routing_number: '110000000',
|
|
50
|
+
* type: 'aba',
|
|
50
51
|
* },
|
|
51
52
|
* },
|
|
52
53
|
* );
|
|
@@ -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;;;;;;;;;;;OAWG;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
|
|
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;;;;;;;;;;;OAWG;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,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;CACF"}
|
|
@@ -11,7 +11,7 @@ export declare class Deposits extends APIResource {
|
|
|
11
11
|
* const deposit = await client.simulations.deposits.create({
|
|
12
12
|
* account_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
13
13
|
* amount: '100.50',
|
|
14
|
-
* currency: '
|
|
14
|
+
* currency: 'USD',
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
@@ -67,13 +67,38 @@ export declare namespace DepositCreateParams {
|
|
|
67
67
|
/**
|
|
68
68
|
* Financial address of the counterparty.
|
|
69
69
|
*/
|
|
70
|
-
financial_address: Counterparty.
|
|
70
|
+
financial_address: Counterparty.AbaFinancialAddressRequest | Counterparty.IbanFinancialAddressRequest | Counterparty.SortCodeFinancialAddressRequest | Counterparty.BicFinancialAddressRequest | Counterparty.CryptoWalletFinancialAddress;
|
|
71
71
|
/**
|
|
72
72
|
* Physical address of the counterparty.
|
|
73
73
|
*/
|
|
74
74
|
physical_address?: Counterparty.PhysicalAddress | null;
|
|
75
75
|
}
|
|
76
76
|
namespace Counterparty {
|
|
77
|
+
interface AbaFinancialAddressRequest {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the account holder.
|
|
80
|
+
*/
|
|
81
|
+
account_holder_name: string;
|
|
82
|
+
/**
|
|
83
|
+
* Bank account number.
|
|
84
|
+
*/
|
|
85
|
+
account_number: string;
|
|
86
|
+
/**
|
|
87
|
+
* ABA routing number (9 digits).
|
|
88
|
+
*/
|
|
89
|
+
routing_number: string;
|
|
90
|
+
/**
|
|
91
|
+
* Discriminator for ABA wire financial address.
|
|
92
|
+
*/
|
|
93
|
+
type: 'aba';
|
|
94
|
+
/**
|
|
95
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
96
|
+
* null if not provided. Some destination countries require it (for example the
|
|
97
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
98
|
+
* code. A payment to an account without one is sent as checking.
|
|
99
|
+
*/
|
|
100
|
+
account_type?: 'checking' | 'savings' | null;
|
|
101
|
+
}
|
|
77
102
|
interface IbanFinancialAddressRequest {
|
|
78
103
|
/**
|
|
79
104
|
* Name of the account holder.
|
|
@@ -87,12 +112,19 @@ export declare namespace DepositCreateParams {
|
|
|
87
112
|
* Discriminator for IBAN financial address.
|
|
88
113
|
*/
|
|
89
114
|
type: 'iban';
|
|
115
|
+
/**
|
|
116
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
117
|
+
* null if not provided. Some destination countries require it (for example the
|
|
118
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
119
|
+
* code. A payment to an account without one is sent as checking.
|
|
120
|
+
*/
|
|
121
|
+
account_type?: 'checking' | 'savings' | null;
|
|
90
122
|
/**
|
|
91
123
|
* Bank Identifier Code. Optional; omit or send null if not provided.
|
|
92
124
|
*/
|
|
93
125
|
bic?: string | null;
|
|
94
126
|
}
|
|
95
|
-
interface
|
|
127
|
+
interface SortCodeFinancialAddressRequest {
|
|
96
128
|
/**
|
|
97
129
|
* Name of the account holder.
|
|
98
130
|
*/
|
|
@@ -110,24 +142,6 @@ export declare namespace DepositCreateParams {
|
|
|
110
142
|
*/
|
|
111
143
|
type: 'sort_code';
|
|
112
144
|
}
|
|
113
|
-
interface AbaFinancialAddress {
|
|
114
|
-
/**
|
|
115
|
-
* Name of the account holder.
|
|
116
|
-
*/
|
|
117
|
-
account_holder_name: string;
|
|
118
|
-
/**
|
|
119
|
-
* Bank account number.
|
|
120
|
-
*/
|
|
121
|
-
account_number: string;
|
|
122
|
-
/**
|
|
123
|
-
* ABA routing number (9 digits).
|
|
124
|
-
*/
|
|
125
|
-
routing_number: string;
|
|
126
|
-
/**
|
|
127
|
-
* Discriminator for ABA wire financial address.
|
|
128
|
-
*/
|
|
129
|
-
type: 'aba';
|
|
130
|
-
}
|
|
131
145
|
interface BicFinancialAddressRequest {
|
|
132
146
|
/**
|
|
133
147
|
* Name of the account holder.
|
|
@@ -145,6 +159,13 @@ export declare namespace DepositCreateParams {
|
|
|
145
159
|
* Discriminator for BIC + local account financial address.
|
|
146
160
|
*/
|
|
147
161
|
type: 'bic';
|
|
162
|
+
/**
|
|
163
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
164
|
+
* null if not provided. Some destination countries require it (for example the
|
|
165
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
166
|
+
* code. A payment to an account without one is sent as checking.
|
|
167
|
+
*/
|
|
168
|
+
account_type?: 'checking' | 'savings' | null;
|
|
148
169
|
/**
|
|
149
170
|
* Domestic bank or branch code where the destination country uses one (for example
|
|
150
171
|
* the BSB in Australia). Optional; omit or send null where the country has none.
|
|
@@ -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,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAEzC;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC;IAEhD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EACD,MAAM,GACN,cAAc,GACd,iBAAiB,GACjB,OAAO,GACP,KAAK,GACL,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,cAAc,CAAC;IAEnB;;;OAGG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;CAC9C;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,YAAY;QAC3B;;WAEG;QACH,iBAAiB,EACb,YAAY,CAAC,
|
|
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,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAEzC;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC;IAEhD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EACD,MAAM,GACN,cAAc,GACd,iBAAiB,GACjB,OAAO,GACP,KAAK,GACL,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,cAAc,CAAC;IAEnB;;;OAGG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;CAC9C;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,U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AAE,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"}
|
|
@@ -11,7 +11,7 @@ export declare class Deposits extends APIResource {
|
|
|
11
11
|
* const deposit = await client.simulations.deposits.create({
|
|
12
12
|
* account_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
13
13
|
* amount: '100.50',
|
|
14
|
-
* currency: '
|
|
14
|
+
* currency: 'USD',
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
@@ -67,13 +67,38 @@ export declare namespace DepositCreateParams {
|
|
|
67
67
|
/**
|
|
68
68
|
* Financial address of the counterparty.
|
|
69
69
|
*/
|
|
70
|
-
financial_address: Counterparty.
|
|
70
|
+
financial_address: Counterparty.AbaFinancialAddressRequest | Counterparty.IbanFinancialAddressRequest | Counterparty.SortCodeFinancialAddressRequest | Counterparty.BicFinancialAddressRequest | Counterparty.CryptoWalletFinancialAddress;
|
|
71
71
|
/**
|
|
72
72
|
* Physical address of the counterparty.
|
|
73
73
|
*/
|
|
74
74
|
physical_address?: Counterparty.PhysicalAddress | null;
|
|
75
75
|
}
|
|
76
76
|
namespace Counterparty {
|
|
77
|
+
interface AbaFinancialAddressRequest {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the account holder.
|
|
80
|
+
*/
|
|
81
|
+
account_holder_name: string;
|
|
82
|
+
/**
|
|
83
|
+
* Bank account number.
|
|
84
|
+
*/
|
|
85
|
+
account_number: string;
|
|
86
|
+
/**
|
|
87
|
+
* ABA routing number (9 digits).
|
|
88
|
+
*/
|
|
89
|
+
routing_number: string;
|
|
90
|
+
/**
|
|
91
|
+
* Discriminator for ABA wire financial address.
|
|
92
|
+
*/
|
|
93
|
+
type: 'aba';
|
|
94
|
+
/**
|
|
95
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
96
|
+
* null if not provided. Some destination countries require it (for example the
|
|
97
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
98
|
+
* code. A payment to an account without one is sent as checking.
|
|
99
|
+
*/
|
|
100
|
+
account_type?: 'checking' | 'savings' | null;
|
|
101
|
+
}
|
|
77
102
|
interface IbanFinancialAddressRequest {
|
|
78
103
|
/**
|
|
79
104
|
* Name of the account holder.
|
|
@@ -87,12 +112,19 @@ export declare namespace DepositCreateParams {
|
|
|
87
112
|
* Discriminator for IBAN financial address.
|
|
88
113
|
*/
|
|
89
114
|
type: 'iban';
|
|
115
|
+
/**
|
|
116
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
117
|
+
* null if not provided. Some destination countries require it (for example the
|
|
118
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
119
|
+
* code. A payment to an account without one is sent as checking.
|
|
120
|
+
*/
|
|
121
|
+
account_type?: 'checking' | 'savings' | null;
|
|
90
122
|
/**
|
|
91
123
|
* Bank Identifier Code. Optional; omit or send null if not provided.
|
|
92
124
|
*/
|
|
93
125
|
bic?: string | null;
|
|
94
126
|
}
|
|
95
|
-
interface
|
|
127
|
+
interface SortCodeFinancialAddressRequest {
|
|
96
128
|
/**
|
|
97
129
|
* Name of the account holder.
|
|
98
130
|
*/
|
|
@@ -110,24 +142,6 @@ export declare namespace DepositCreateParams {
|
|
|
110
142
|
*/
|
|
111
143
|
type: 'sort_code';
|
|
112
144
|
}
|
|
113
|
-
interface AbaFinancialAddress {
|
|
114
|
-
/**
|
|
115
|
-
* Name of the account holder.
|
|
116
|
-
*/
|
|
117
|
-
account_holder_name: string;
|
|
118
|
-
/**
|
|
119
|
-
* Bank account number.
|
|
120
|
-
*/
|
|
121
|
-
account_number: string;
|
|
122
|
-
/**
|
|
123
|
-
* ABA routing number (9 digits).
|
|
124
|
-
*/
|
|
125
|
-
routing_number: string;
|
|
126
|
-
/**
|
|
127
|
-
* Discriminator for ABA wire financial address.
|
|
128
|
-
*/
|
|
129
|
-
type: 'aba';
|
|
130
|
-
}
|
|
131
145
|
interface BicFinancialAddressRequest {
|
|
132
146
|
/**
|
|
133
147
|
* Name of the account holder.
|
|
@@ -145,6 +159,13 @@ export declare namespace DepositCreateParams {
|
|
|
145
159
|
* Discriminator for BIC + local account financial address.
|
|
146
160
|
*/
|
|
147
161
|
type: 'bic';
|
|
162
|
+
/**
|
|
163
|
+
* Whether the account is a checking or a savings account. Optional; omit or send
|
|
164
|
+
* null if not provided. Some destination countries require it (for example the
|
|
165
|
+
* Dominican Republic, Honduras and Jamaica) and ACH uses it for the transaction
|
|
166
|
+
* code. A payment to an account without one is sent as checking.
|
|
167
|
+
*/
|
|
168
|
+
account_type?: 'checking' | 'savings' | null;
|
|
148
169
|
/**
|
|
149
170
|
* Domestic bank or branch code where the destination country uses one (for example
|
|
150
171
|
* the BSB in Australia). Optional; omit or send null where the country has none.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deposits.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/deposits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;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,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAEzC;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC;IAEhD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EACD,MAAM,GACN,cAAc,GACd,iBAAiB,GACjB,OAAO,GACP,KAAK,GACL,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,cAAc,CAAC;IAEnB;;;OAGG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;CAC9C;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,YAAY;QAC3B;;WAEG;QACH,iBAAiB,EACb,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"deposits.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/deposits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;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,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAEzC;;OAEG;IACH,YAA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