modern-treasury 0.0.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.
- package/.eslintrc.js +10 -0
- package/.prettierrc +6 -0
- package/LICENSE +7 -0
- package/README.md +198 -0
- package/build +10 -0
- package/core.ts +746 -0
- package/dist/cjs/core.d.ts +215 -0
- package/dist/cjs/core.js +815 -0
- package/dist/cjs/core.js.map +1 -0
- package/dist/cjs/index.d.ts +118 -0
- package/dist/cjs/index.js +128 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/pagination.d.ts +14 -0
- package/dist/cjs/pagination.js +22 -0
- package/dist/cjs/pagination.js.map +1 -0
- package/dist/cjs/resource.d.ts +11 -0
- package/dist/cjs/resource.js +16 -0
- package/dist/cjs/resource.js.map +1 -0
- package/dist/cjs/resources/counterparties.d.ts +500 -0
- package/dist/cjs/resources/counterparties.js +57 -0
- package/dist/cjs/resources/counterparties.js.map +1 -0
- package/dist/cjs/resources/documents.d.ts +66 -0
- package/dist/cjs/resources/documents.js +23 -0
- package/dist/cjs/resources/documents.js.map +1 -0
- package/dist/cjs/resources/events.d.ts +53 -0
- package/dist/cjs/resources/events.js +22 -0
- package/dist/cjs/resources/events.js.map +1 -0
- package/dist/cjs/resources/expected-payments.d.ts +928 -0
- package/dist/cjs/resources/expected-payments.js +31 -0
- package/dist/cjs/resources/expected-payments.js.map +1 -0
- package/dist/cjs/resources/external-accounts.d.ts +597 -0
- package/dist/cjs/resources/external-accounts.js +51 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -0
- package/dist/cjs/resources/incoming-payment-details.d.ts +487 -0
- package/dist/cjs/resources/incoming-payment-details.js +35 -0
- package/dist/cjs/resources/incoming-payment-details.js.map +1 -0
- package/dist/cjs/resources/index.d.ts +15 -0
- package/dist/cjs/resources/index.js +46 -0
- package/dist/cjs/resources/index.js.map +1 -0
- package/dist/cjs/resources/internal-accounts.d.ts +666 -0
- package/dist/cjs/resources/internal-accounts.js +31 -0
- package/dist/cjs/resources/internal-accounts.js.map +1 -0
- package/dist/cjs/resources/line-items.d.ts +90 -0
- package/dist/cjs/resources/line-items.js +38 -0
- package/dist/cjs/resources/line-items.js.map +1 -0
- package/dist/cjs/resources/paper-items.d.ts +279 -0
- package/dist/cjs/resources/paper-items.js +25 -0
- package/dist/cjs/resources/paper-items.js.map +1 -0
- package/dist/cjs/resources/payment-orders/index.d.ts +2 -0
- package/dist/cjs/resources/payment-orders/index.js +33 -0
- package/dist/cjs/resources/payment-orders/index.js.map +1 -0
- package/dist/cjs/resources/payment-orders/payment-orders.d.ts +2180 -0
- package/dist/cjs/resources/payment-orders/payment-orders.js +56 -0
- package/dist/cjs/resources/payment-orders/payment-orders.js.map +1 -0
- package/dist/cjs/resources/payment-orders/reversals.d.ts +46 -0
- package/dist/cjs/resources/payment-orders/reversals.js +23 -0
- package/dist/cjs/resources/payment-orders/reversals.js.map +1 -0
- package/dist/cjs/resources/returns.d.ts +487 -0
- package/dist/cjs/resources/returns.js +31 -0
- package/dist/cjs/resources/returns.js.map +1 -0
- package/dist/cjs/resources/top-level.d.ts +3 -0
- package/dist/cjs/resources/top-level.js +4 -0
- package/dist/cjs/resources/top-level.js.map +1 -0
- package/dist/cjs/resources/transactions.d.ts +377 -0
- package/dist/cjs/resources/transactions.js +31 -0
- package/dist/cjs/resources/transactions.js.map +1 -0
- package/dist/cjs/resources/validations.d.ts +97 -0
- package/dist/cjs/resources/validations.js +16 -0
- package/dist/cjs/resources/validations.js.map +1 -0
- package/dist/cjs/resources/webhooks.d.ts +31 -0
- package/dist/cjs/resources/webhooks.js +44 -0
- package/dist/cjs/resources/webhooks.js.map +1 -0
- package/dist/cjs/tests/api-resources/counterparties.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/counterparties.test.js +275 -0
- package/dist/cjs/tests/api-resources/counterparties.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/documents.test.js +78 -0
- package/dist/cjs/tests/api-resources/documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/events.test.js +100 -0
- package/dist/cjs/tests/api-resources/events.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/expected-payments.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/expected-payments.test.js +176 -0
- package/dist/cjs/tests/api-resources/expected-payments.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js +248 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/incoming-payment-details.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/incoming-payment-details.test.js +130 -0
- package/dist/cjs/tests/api-resources/incoming-payment-details.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/internal-accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/internal-accounts.test.js +144 -0
- package/dist/cjs/tests/api-resources/internal-accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/line-items.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/line-items.test.js +123 -0
- package/dist/cjs/tests/api-resources/line-items.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/paper-items.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/paper-items.test.js +96 -0
- package/dist/cjs/tests/api-resources/paper-items.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/payment-orders/payment-orders.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/payment-orders/payment-orders.test.js +77 -0
- package/dist/cjs/tests/api-resources/payment-orders/payment-orders.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/returns.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/returns.test.js +116 -0
- package/dist/cjs/tests/api-resources/returns.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/top-level.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/top-level.test.js +59 -0
- package/dist/cjs/tests/api-resources/top-level.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.js +134 -0
- package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/validations.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/validations.test.js +62 -0
- package/dist/cjs/tests/api-resources/validations.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/webhooks.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/webhooks.test.js +100 -0
- package/dist/cjs/tests/api-resources/webhooks.test.js.map +1 -0
- package/dist/cjs/tests/form.test.d.ts +1 -0
- package/dist/cjs/tests/form.test.js +61 -0
- package/dist/cjs/tests/form.test.js.map +1 -0
- package/dist/cjs/tests/index.test.d.ts +1 -0
- package/dist/cjs/tests/index.test.js +57 -0
- package/dist/cjs/tests/index.test.js.map +1 -0
- package/dist/cjs/tests/responses.test.d.ts +1 -0
- package/dist/cjs/tests/responses.test.js +60 -0
- package/dist/cjs/tests/responses.test.js.map +1 -0
- package/index.ts +175 -0
- package/jest.config.js +8 -0
- package/package.json +47 -0
- package/pagination.ts +36 -0
- package/resource.ts +22 -0
- package/resources/counterparties.ts +666 -0
- package/resources/documents.ts +97 -0
- package/resources/events.ts +86 -0
- package/resources/expected-payments.ts +1016 -0
- package/resources/external-accounts.ts +762 -0
- package/resources/incoming-payment-details.ts +592 -0
- package/resources/index.ts +16 -0
- package/resources/internal-accounts.ts +774 -0
- package/resources/line-items.ts +138 -0
- package/resources/paper-items.ts +317 -0
- package/resources/payment-orders/index.ts +3 -0
- package/resources/payment-orders/payment-orders.ts +2486 -0
- package/resources/payment-orders/reversals.ts +72 -0
- package/resources/returns.ts +545 -0
- package/resources/top-level.ts +5 -0
- package/resources/transactions.ts +441 -0
- package/resources/validations.ts +115 -0
- package/resources/webhooks.ts +48 -0
- package/tests/api-resources/counterparties.test.ts +237 -0
- package/tests/api-resources/documents.test.ts +40 -0
- package/tests/api-resources/events.test.ts +62 -0
- package/tests/api-resources/expected-payments.test.ts +138 -0
- package/tests/api-resources/external-accounts.test.ts +210 -0
- package/tests/api-resources/incoming-payment-details.test.ts +92 -0
- package/tests/api-resources/internal-accounts.test.ts +103 -0
- package/tests/api-resources/line-items.test.ts +85 -0
- package/tests/api-resources/paper-items.test.ts +58 -0
- package/tests/api-resources/payment-orders/payment-orders.test.ts +39 -0
- package/tests/api-resources/returns.test.ts +78 -0
- package/tests/api-resources/top-level.test.ts +21 -0
- package/tests/api-resources/transactions.test.ts +96 -0
- package/tests/api-resources/validations.test.ts +24 -0
- package/tests/api-resources/webhooks.test.ts +102 -0
- package/tests/form.test.ts +27 -0
- package/tests/index.test.ts +62 -0
- package/tests/responses.test.ts +25 -0
- package/tsconfig.cjs.json +8 -0
- package/tsconfig.json +36 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.ExpectedPaymentsPage = exports.ExpectedPayments = void 0;
|
|
5
|
+
const resource_1 = require('../resource');
|
|
6
|
+
const core_1 = require('../core');
|
|
7
|
+
const pagination_1 = require('../pagination');
|
|
8
|
+
class ExpectedPayments extends resource_1.APIResource {
|
|
9
|
+
create(body, options) {
|
|
10
|
+
return this.post('/api/expected_payments', Object.assign({ body }, options));
|
|
11
|
+
}
|
|
12
|
+
retrieve(id, options) {
|
|
13
|
+
return this.get(`/api/expected_payments/${id}`, options);
|
|
14
|
+
}
|
|
15
|
+
update(id, body, options) {
|
|
16
|
+
return this.patch(`/api/expected_payments/${id}`, Object.assign({ body }, options));
|
|
17
|
+
}
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
if ((0, core_1.isRequestOptions)(query)) {
|
|
20
|
+
return this.list({}, query);
|
|
21
|
+
}
|
|
22
|
+
return this.getAPIList('/api/expected_payments', ExpectedPaymentsPage, Object.assign({ query }, options));
|
|
23
|
+
}
|
|
24
|
+
del(id, options) {
|
|
25
|
+
return this.delete(`/api/expected_payments/${id}`, options);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.ExpectedPayments = ExpectedPayments;
|
|
29
|
+
class ExpectedPaymentsPage extends pagination_1.Page {}
|
|
30
|
+
exports.ExpectedPaymentsPage = ExpectedPaymentsPage;
|
|
31
|
+
//# sourceMappingURL=expected-payments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expected-payments.js","sourceRoot":"","sources":["../../../resources/expected-payments.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AACzC,iCAA0C;AAC1C,6CAAgD;AAEhD,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,wBAAwB,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IACnE,CAAC;IAED,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,KAAK,CAAC,0BAA0B,EAAE,EAAE,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAC1E,CAAC;IAOD,IAAI,CACF,QAAyD,EAAE,EAC3D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QAED,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,oBAAoB,kBAAI,KAAK,IAAK,OAAO,EAAG,CAAC;IAChG,CAAC;IAED,GAAG,CAAC,EAAU,EAAE,OAA6B;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AAvCD,4CAuCC;AAED,MAAa,oBAAqB,SAAQ,iBAAqB;CAAG;AAAlE,oDAAkE"}
|
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
import * as Core from '../core';
|
|
2
|
+
import { APIResource } from '../resource';
|
|
3
|
+
import { Page, PageParams } from '../pagination';
|
|
4
|
+
export declare class ExternalAccounts extends APIResource {
|
|
5
|
+
create(
|
|
6
|
+
body: ExternalAccountCreateParams,
|
|
7
|
+
options?: Core.RequestOptions,
|
|
8
|
+
): Promise<Core.APIResponse<ExternalAccount>>;
|
|
9
|
+
retrieve(id: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ExternalAccount>>;
|
|
10
|
+
update(
|
|
11
|
+
id: string,
|
|
12
|
+
body?: ExternalAccountUpdateParams,
|
|
13
|
+
options?: Core.RequestOptions,
|
|
14
|
+
): Promise<Core.APIResponse<ExternalAccount>>;
|
|
15
|
+
update(id: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ExternalAccount>>;
|
|
16
|
+
list(
|
|
17
|
+
query?: ExternalAccountListParams,
|
|
18
|
+
options?: Core.RequestOptions,
|
|
19
|
+
): Core.PagePromise<ExternalAccountsPage>;
|
|
20
|
+
list(options?: Core.RequestOptions): Core.PagePromise<ExternalAccountsPage>;
|
|
21
|
+
del(id: string, options?: Core.RequestOptions): Promise<void>;
|
|
22
|
+
completeVerification(
|
|
23
|
+
id: string,
|
|
24
|
+
body?: ExternalAccountCompleteVerificationParams,
|
|
25
|
+
options?: Core.RequestOptions,
|
|
26
|
+
): Promise<Core.APIResponse<ExternalAccount>>;
|
|
27
|
+
completeVerification(id: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ExternalAccount>>;
|
|
28
|
+
verify(
|
|
29
|
+
id: string,
|
|
30
|
+
body: ExternalAccountVerifyParams,
|
|
31
|
+
options?: Core.RequestOptions,
|
|
32
|
+
): Promise<Core.APIResponse<ExternalAccount>>;
|
|
33
|
+
}
|
|
34
|
+
export declare class ExternalAccountsPage extends Page<ExternalAccount> {}
|
|
35
|
+
export interface ExternalAccount {
|
|
36
|
+
account_details?: Array<ExternalAccount.AccountDetails>;
|
|
37
|
+
/**
|
|
38
|
+
* Can be `checking`, `savings` or `other`.
|
|
39
|
+
*/
|
|
40
|
+
account_type?: 'checking' | 'other' | 'savings';
|
|
41
|
+
contact_details?: Array<ExternalAccount.ContactDetails>;
|
|
42
|
+
counterparty_id?: string | null;
|
|
43
|
+
created_at?: string;
|
|
44
|
+
discarded_at?: string | null;
|
|
45
|
+
id?: string;
|
|
46
|
+
/**
|
|
47
|
+
* This field will be true if this object exists in the live environment or false
|
|
48
|
+
* if it exists in the test environment.
|
|
49
|
+
*/
|
|
50
|
+
live_mode?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Additional data represented as key-value pairs. Both the key and value must be
|
|
53
|
+
* strings.
|
|
54
|
+
*/
|
|
55
|
+
metadata?: Record<string, string>;
|
|
56
|
+
/**
|
|
57
|
+
* A nickname for the external account. This is only for internal usage and won't
|
|
58
|
+
* affect any payments
|
|
59
|
+
*/
|
|
60
|
+
name?: string | null;
|
|
61
|
+
object?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The address associated with the owner or `null`.
|
|
64
|
+
*/
|
|
65
|
+
party_address?: ExternalAccount.PartyAddress | null;
|
|
66
|
+
/**
|
|
67
|
+
* The legal name of the entity which owns the account.
|
|
68
|
+
*/
|
|
69
|
+
party_name?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Either `individual` or `business`.
|
|
72
|
+
*/
|
|
73
|
+
party_type?: 'business' | 'individual' | null;
|
|
74
|
+
routing_details?: Array<ExternalAccount.RoutingDetails>;
|
|
75
|
+
updated_at?: string;
|
|
76
|
+
verification_status?: 'pending_verification' | 'unverified' | 'verified';
|
|
77
|
+
}
|
|
78
|
+
export declare namespace ExternalAccount {
|
|
79
|
+
interface PartyAddress {
|
|
80
|
+
/**
|
|
81
|
+
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
82
|
+
*/
|
|
83
|
+
country?: string | null;
|
|
84
|
+
created_at?: string;
|
|
85
|
+
id?: string;
|
|
86
|
+
line1?: string | null;
|
|
87
|
+
line2?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* This field will be true if this object exists in the live environment or false
|
|
90
|
+
* if it exists in the test environment.
|
|
91
|
+
*/
|
|
92
|
+
live_mode?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Locality or City.
|
|
95
|
+
*/
|
|
96
|
+
locality?: string | null;
|
|
97
|
+
object?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The postal code of the address.
|
|
100
|
+
*/
|
|
101
|
+
postal_code?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* Region or State.
|
|
104
|
+
*/
|
|
105
|
+
region?: string | null;
|
|
106
|
+
updated_at?: string;
|
|
107
|
+
}
|
|
108
|
+
interface AccountDetails {
|
|
109
|
+
account_number?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Supports iban and clabe, otherwise other if the bank account number is in a
|
|
112
|
+
* generic format.
|
|
113
|
+
*/
|
|
114
|
+
account_number_type?: 'iban' | 'clabe' | 'wallet_address' | 'pan' | 'other';
|
|
115
|
+
created_at?: string;
|
|
116
|
+
discarded_at?: string | null;
|
|
117
|
+
id?: string;
|
|
118
|
+
/**
|
|
119
|
+
* This field will be true if this object exists in the live environment or false
|
|
120
|
+
* if it exists in the test environment.
|
|
121
|
+
*/
|
|
122
|
+
live_mode?: boolean;
|
|
123
|
+
object?: string;
|
|
124
|
+
updated_at?: string;
|
|
125
|
+
}
|
|
126
|
+
interface RoutingDetails {
|
|
127
|
+
bank_address?: RoutingDetails.BankAddress | null;
|
|
128
|
+
bank_name?: string;
|
|
129
|
+
created_at?: string;
|
|
130
|
+
discarded_at?: string | null;
|
|
131
|
+
id?: string;
|
|
132
|
+
/**
|
|
133
|
+
* This field will be true if this object exists in the live environment or false
|
|
134
|
+
* if it exists in the test environment.
|
|
135
|
+
*/
|
|
136
|
+
live_mode?: boolean;
|
|
137
|
+
object?: string;
|
|
138
|
+
/**
|
|
139
|
+
* If the routing detail is to be used for a specific payment type this field will
|
|
140
|
+
* be populated, otherwise null.
|
|
141
|
+
*/
|
|
142
|
+
payment_type?:
|
|
143
|
+
| 'ach'
|
|
144
|
+
| 'au_becs'
|
|
145
|
+
| 'bacs'
|
|
146
|
+
| 'book'
|
|
147
|
+
| 'card'
|
|
148
|
+
| 'check'
|
|
149
|
+
| 'eft'
|
|
150
|
+
| 'interac'
|
|
151
|
+
| 'provxchange'
|
|
152
|
+
| 'rtp'
|
|
153
|
+
| 'sen'
|
|
154
|
+
| 'sepa'
|
|
155
|
+
| 'signet'
|
|
156
|
+
| 'wire'
|
|
157
|
+
| null;
|
|
158
|
+
/**
|
|
159
|
+
* The routing number of the bank.
|
|
160
|
+
*/
|
|
161
|
+
routing_number?: string;
|
|
162
|
+
routing_number_type?:
|
|
163
|
+
| 'aba'
|
|
164
|
+
| 'swift'
|
|
165
|
+
| 'au_bsb'
|
|
166
|
+
| 'ca_cpa'
|
|
167
|
+
| 'cnaps'
|
|
168
|
+
| 'gb_sort_code'
|
|
169
|
+
| 'in_ifsc'
|
|
170
|
+
| 'my_branch_code'
|
|
171
|
+
| 'br_codigo';
|
|
172
|
+
updated_at?: string;
|
|
173
|
+
}
|
|
174
|
+
namespace RoutingDetails {
|
|
175
|
+
interface BankAddress {
|
|
176
|
+
/**
|
|
177
|
+
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
178
|
+
*/
|
|
179
|
+
country?: string | null;
|
|
180
|
+
created_at?: string;
|
|
181
|
+
id?: string;
|
|
182
|
+
line1?: string | null;
|
|
183
|
+
line2?: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* This field will be true if this object exists in the live environment or false
|
|
186
|
+
* if it exists in the test environment.
|
|
187
|
+
*/
|
|
188
|
+
live_mode?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Locality or City.
|
|
191
|
+
*/
|
|
192
|
+
locality?: string | null;
|
|
193
|
+
object?: string;
|
|
194
|
+
/**
|
|
195
|
+
* The postal code of the address.
|
|
196
|
+
*/
|
|
197
|
+
postal_code?: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Region or State.
|
|
200
|
+
*/
|
|
201
|
+
region?: string | null;
|
|
202
|
+
updated_at?: string;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
interface ContactDetails {
|
|
206
|
+
contact_identifier?: string;
|
|
207
|
+
contact_identifier_type?: 'email' | 'phone_number';
|
|
208
|
+
created_at?: string;
|
|
209
|
+
discarded_at?: string | null;
|
|
210
|
+
id?: string;
|
|
211
|
+
/**
|
|
212
|
+
* This field will be true if this object exists in the live environment or false
|
|
213
|
+
* if it exists in the test environment.
|
|
214
|
+
*/
|
|
215
|
+
live_mode?: boolean;
|
|
216
|
+
object?: string;
|
|
217
|
+
updated_at?: string;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
export interface ExternalAccountCreateParams {
|
|
221
|
+
counterparty_id: string | null;
|
|
222
|
+
account_details?: Array<ExternalAccountCreateParams.AccountDetails>;
|
|
223
|
+
/**
|
|
224
|
+
* Can be `checking`, `savings` or `other`.
|
|
225
|
+
*/
|
|
226
|
+
account_type?: 'checking' | 'other' | 'savings';
|
|
227
|
+
contact_details?: Array<ExternalAccountCreateParams.ContactDetails>;
|
|
228
|
+
/**
|
|
229
|
+
* Additional data represented as key-value pairs. Both the key and value must be
|
|
230
|
+
* strings.
|
|
231
|
+
*/
|
|
232
|
+
metadata?: Record<string, string>;
|
|
233
|
+
/**
|
|
234
|
+
* A nickname for the external account. This is only for internal usage and won't
|
|
235
|
+
* affect any payments
|
|
236
|
+
*/
|
|
237
|
+
name?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* Required if receiving wire payments.
|
|
240
|
+
*/
|
|
241
|
+
party_address?: ExternalAccountCreateParams.PartyAddress;
|
|
242
|
+
party_identifier?: string;
|
|
243
|
+
/**
|
|
244
|
+
* If this value isn't provided, it will be inherited from the counterparty's name.
|
|
245
|
+
*/
|
|
246
|
+
party_name?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Either `individual` or `business`.
|
|
249
|
+
*/
|
|
250
|
+
party_type?: 'business' | 'individual' | null;
|
|
251
|
+
/**
|
|
252
|
+
* If you've enabled the Modern Treasury + Plaid integration in your Plaid account,
|
|
253
|
+
* you can pass the processor token in this field.
|
|
254
|
+
*/
|
|
255
|
+
plaid_processor_token?: string;
|
|
256
|
+
routing_details?: Array<ExternalAccountCreateParams.RoutingDetails>;
|
|
257
|
+
}
|
|
258
|
+
export declare namespace ExternalAccountCreateParams {
|
|
259
|
+
interface PartyAddress {
|
|
260
|
+
/**
|
|
261
|
+
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
262
|
+
*/
|
|
263
|
+
country?: string | null;
|
|
264
|
+
line1?: string | null;
|
|
265
|
+
line2?: string | null;
|
|
266
|
+
/**
|
|
267
|
+
* Locality or City.
|
|
268
|
+
*/
|
|
269
|
+
locality?: string | null;
|
|
270
|
+
/**
|
|
271
|
+
* The postal code of the address.
|
|
272
|
+
*/
|
|
273
|
+
postal_code?: string | null;
|
|
274
|
+
/**
|
|
275
|
+
* Region or State.
|
|
276
|
+
*/
|
|
277
|
+
region?: string | null;
|
|
278
|
+
}
|
|
279
|
+
interface AccountDetails {
|
|
280
|
+
account_number: string;
|
|
281
|
+
account_number_type?: 'iban' | 'clabe' | 'wallet_address' | 'pan' | 'other';
|
|
282
|
+
}
|
|
283
|
+
interface RoutingDetails {
|
|
284
|
+
routing_number: string;
|
|
285
|
+
routing_number_type:
|
|
286
|
+
| 'aba'
|
|
287
|
+
| 'swift'
|
|
288
|
+
| 'au_bsb'
|
|
289
|
+
| 'ca_cpa'
|
|
290
|
+
| 'cnaps'
|
|
291
|
+
| 'gb_sort_code'
|
|
292
|
+
| 'in_ifsc'
|
|
293
|
+
| 'my_branch_code'
|
|
294
|
+
| 'br_codigo';
|
|
295
|
+
payment_type?:
|
|
296
|
+
| 'ach'
|
|
297
|
+
| 'au_becs'
|
|
298
|
+
| 'bacs'
|
|
299
|
+
| 'book'
|
|
300
|
+
| 'card'
|
|
301
|
+
| 'check'
|
|
302
|
+
| 'eft'
|
|
303
|
+
| 'interac'
|
|
304
|
+
| 'provxchange'
|
|
305
|
+
| 'rtp'
|
|
306
|
+
| 'sen'
|
|
307
|
+
| 'sepa'
|
|
308
|
+
| 'signet'
|
|
309
|
+
| 'wire';
|
|
310
|
+
}
|
|
311
|
+
interface ContactDetails {
|
|
312
|
+
contact_identifier?: string;
|
|
313
|
+
contact_identifier_type?: 'email' | 'phone_number';
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
export interface ExternalAccountUpdateParams {
|
|
317
|
+
/**
|
|
318
|
+
* Can be `checking`, `savings` or `other`.
|
|
319
|
+
*/
|
|
320
|
+
account_type?: 'checking' | 'other' | 'savings';
|
|
321
|
+
counterparty_id?: string | null;
|
|
322
|
+
/**
|
|
323
|
+
* Additional data in the form of key-value pairs. Pairs can be removed by passing
|
|
324
|
+
* an empty string or `null` as the value.
|
|
325
|
+
*/
|
|
326
|
+
metadata?: Record<string, string>;
|
|
327
|
+
/**
|
|
328
|
+
* A nickname for the external account. This is only for internal usage and won't
|
|
329
|
+
* affect any payments
|
|
330
|
+
*/
|
|
331
|
+
name?: string | null;
|
|
332
|
+
party_address?: ExternalAccountUpdateParams.PartyAddress;
|
|
333
|
+
/**
|
|
334
|
+
* If this value isn't provided, it will be inherited from the counterparty's name.
|
|
335
|
+
*/
|
|
336
|
+
party_name?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Either `individual` or `business`.
|
|
339
|
+
*/
|
|
340
|
+
party_type?: 'business' | 'individual' | null;
|
|
341
|
+
}
|
|
342
|
+
export declare namespace ExternalAccountUpdateParams {
|
|
343
|
+
interface PartyAddress {
|
|
344
|
+
/**
|
|
345
|
+
* Country code conforms to [ISO 3166-1 alpha-2]
|
|
346
|
+
*/
|
|
347
|
+
country?: string | null;
|
|
348
|
+
line1?: string | null;
|
|
349
|
+
line2?: string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Locality or City.
|
|
352
|
+
*/
|
|
353
|
+
locality?: string | null;
|
|
354
|
+
/**
|
|
355
|
+
* The postal code of the address.
|
|
356
|
+
*/
|
|
357
|
+
postal_code?: string | null;
|
|
358
|
+
/**
|
|
359
|
+
* Region or State.
|
|
360
|
+
*/
|
|
361
|
+
region?: string | null;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
export interface ExternalAccountListParams extends PageParams {
|
|
365
|
+
counterparty_id?: string;
|
|
366
|
+
/**
|
|
367
|
+
* For example, if you want to query for records with metadata key `Type` and value
|
|
368
|
+
* `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query
|
|
369
|
+
* parameters.
|
|
370
|
+
*/
|
|
371
|
+
metadata?: Record<string, string>;
|
|
372
|
+
/**
|
|
373
|
+
* Searches the ExternalAccount's party_name AND the Counterparty's party_name
|
|
374
|
+
*/
|
|
375
|
+
party_name?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface ExternalAccountCompleteVerificationParams {
|
|
378
|
+
amounts?: Array<number>;
|
|
379
|
+
}
|
|
380
|
+
export interface ExternalAccountVerifyParams {
|
|
381
|
+
/**
|
|
382
|
+
* The ID of the internal account where the micro-deposits originate from. Both
|
|
383
|
+
* credit and debit capabilities must be enabled.
|
|
384
|
+
*/
|
|
385
|
+
originating_account_id: string;
|
|
386
|
+
/**
|
|
387
|
+
* Both ach and eft are supported payment types.
|
|
388
|
+
*/
|
|
389
|
+
payment_type:
|
|
390
|
+
| 'ach'
|
|
391
|
+
| 'au_becs'
|
|
392
|
+
| 'bacs'
|
|
393
|
+
| 'book'
|
|
394
|
+
| 'card'
|
|
395
|
+
| 'check'
|
|
396
|
+
| 'eft'
|
|
397
|
+
| 'interac'
|
|
398
|
+
| 'provxchange'
|
|
399
|
+
| 'rtp'
|
|
400
|
+
| 'sen'
|
|
401
|
+
| 'sepa'
|
|
402
|
+
| 'signet'
|
|
403
|
+
| 'wire';
|
|
404
|
+
/**
|
|
405
|
+
* Defaults to the currency of the originating account.
|
|
406
|
+
*/
|
|
407
|
+
currency?:
|
|
408
|
+
| 'AED'
|
|
409
|
+
| 'AFN'
|
|
410
|
+
| 'ALL'
|
|
411
|
+
| 'AMD'
|
|
412
|
+
| 'ANG'
|
|
413
|
+
| 'AOA'
|
|
414
|
+
| 'ARS'
|
|
415
|
+
| 'AUD'
|
|
416
|
+
| 'AWG'
|
|
417
|
+
| 'AZN'
|
|
418
|
+
| 'BAM'
|
|
419
|
+
| 'BBD'
|
|
420
|
+
| 'BCH'
|
|
421
|
+
| 'BDT'
|
|
422
|
+
| 'BGN'
|
|
423
|
+
| 'BHD'
|
|
424
|
+
| 'BIF'
|
|
425
|
+
| 'BMD'
|
|
426
|
+
| 'BND'
|
|
427
|
+
| 'BOB'
|
|
428
|
+
| 'BRL'
|
|
429
|
+
| 'BSD'
|
|
430
|
+
| 'BTC'
|
|
431
|
+
| 'BTN'
|
|
432
|
+
| 'BWP'
|
|
433
|
+
| 'BYN'
|
|
434
|
+
| 'BYR'
|
|
435
|
+
| 'BZD'
|
|
436
|
+
| 'CAD'
|
|
437
|
+
| 'CDF'
|
|
438
|
+
| 'CHF'
|
|
439
|
+
| 'CLF'
|
|
440
|
+
| 'CLP'
|
|
441
|
+
| 'CNH'
|
|
442
|
+
| 'CNY'
|
|
443
|
+
| 'COP'
|
|
444
|
+
| 'CRC'
|
|
445
|
+
| 'CUC'
|
|
446
|
+
| 'CUP'
|
|
447
|
+
| 'CVE'
|
|
448
|
+
| 'CZK'
|
|
449
|
+
| 'DJF'
|
|
450
|
+
| 'DKK'
|
|
451
|
+
| 'DOP'
|
|
452
|
+
| 'DZD'
|
|
453
|
+
| 'EEK'
|
|
454
|
+
| 'EGP'
|
|
455
|
+
| 'ERN'
|
|
456
|
+
| 'ETB'
|
|
457
|
+
| 'EUR'
|
|
458
|
+
| 'FJD'
|
|
459
|
+
| 'FKP'
|
|
460
|
+
| 'GBP'
|
|
461
|
+
| 'GBX'
|
|
462
|
+
| 'GEL'
|
|
463
|
+
| 'GGP'
|
|
464
|
+
| 'GHS'
|
|
465
|
+
| 'GIP'
|
|
466
|
+
| 'GMD'
|
|
467
|
+
| 'GNF'
|
|
468
|
+
| 'GTQ'
|
|
469
|
+
| 'GYD'
|
|
470
|
+
| 'HKD'
|
|
471
|
+
| 'HNL'
|
|
472
|
+
| 'HRK'
|
|
473
|
+
| 'HTG'
|
|
474
|
+
| 'HUF'
|
|
475
|
+
| 'IDR'
|
|
476
|
+
| 'ILS'
|
|
477
|
+
| 'IMP'
|
|
478
|
+
| 'INR'
|
|
479
|
+
| 'IQD'
|
|
480
|
+
| 'IRR'
|
|
481
|
+
| 'ISK'
|
|
482
|
+
| 'JEP'
|
|
483
|
+
| 'JMD'
|
|
484
|
+
| 'JOD'
|
|
485
|
+
| 'JPY'
|
|
486
|
+
| 'KES'
|
|
487
|
+
| 'KGS'
|
|
488
|
+
| 'KHR'
|
|
489
|
+
| 'KMF'
|
|
490
|
+
| 'KPW'
|
|
491
|
+
| 'KRW'
|
|
492
|
+
| 'KWD'
|
|
493
|
+
| 'KYD'
|
|
494
|
+
| 'KZT'
|
|
495
|
+
| 'LAK'
|
|
496
|
+
| 'LBP'
|
|
497
|
+
| 'LKR'
|
|
498
|
+
| 'LRD'
|
|
499
|
+
| 'LSL'
|
|
500
|
+
| 'LTL'
|
|
501
|
+
| 'LVL'
|
|
502
|
+
| 'LYD'
|
|
503
|
+
| 'MAD'
|
|
504
|
+
| 'MDL'
|
|
505
|
+
| 'MGA'
|
|
506
|
+
| 'MKD'
|
|
507
|
+
| 'MMK'
|
|
508
|
+
| 'MNT'
|
|
509
|
+
| 'MOP'
|
|
510
|
+
| 'MRO'
|
|
511
|
+
| 'MRU'
|
|
512
|
+
| 'MTL'
|
|
513
|
+
| 'MUR'
|
|
514
|
+
| 'MVR'
|
|
515
|
+
| 'MWK'
|
|
516
|
+
| 'MXN'
|
|
517
|
+
| 'MYR'
|
|
518
|
+
| 'MZN'
|
|
519
|
+
| 'NAD'
|
|
520
|
+
| 'NGN'
|
|
521
|
+
| 'NIO'
|
|
522
|
+
| 'NOK'
|
|
523
|
+
| 'NPR'
|
|
524
|
+
| 'NZD'
|
|
525
|
+
| 'OMR'
|
|
526
|
+
| 'PAB'
|
|
527
|
+
| 'PEN'
|
|
528
|
+
| 'PGK'
|
|
529
|
+
| 'PHP'
|
|
530
|
+
| 'PKR'
|
|
531
|
+
| 'PLN'
|
|
532
|
+
| 'PYG'
|
|
533
|
+
| 'QAR'
|
|
534
|
+
| 'RON'
|
|
535
|
+
| 'RSD'
|
|
536
|
+
| 'RUB'
|
|
537
|
+
| 'RWF'
|
|
538
|
+
| 'SAR'
|
|
539
|
+
| 'SBD'
|
|
540
|
+
| 'SCR'
|
|
541
|
+
| 'SDG'
|
|
542
|
+
| 'SEK'
|
|
543
|
+
| 'SGD'
|
|
544
|
+
| 'SHP'
|
|
545
|
+
| 'SKK'
|
|
546
|
+
| 'SLL'
|
|
547
|
+
| 'SOS'
|
|
548
|
+
| 'SRD'
|
|
549
|
+
| 'SSP'
|
|
550
|
+
| 'STD'
|
|
551
|
+
| 'SVC'
|
|
552
|
+
| 'SYP'
|
|
553
|
+
| 'SZL'
|
|
554
|
+
| 'THB'
|
|
555
|
+
| 'TJS'
|
|
556
|
+
| 'TMM'
|
|
557
|
+
| 'TMT'
|
|
558
|
+
| 'TND'
|
|
559
|
+
| 'TOP'
|
|
560
|
+
| 'TRY'
|
|
561
|
+
| 'TTD'
|
|
562
|
+
| 'TWD'
|
|
563
|
+
| 'TZS'
|
|
564
|
+
| 'UAH'
|
|
565
|
+
| 'UGX'
|
|
566
|
+
| 'USD'
|
|
567
|
+
| 'UYU'
|
|
568
|
+
| 'UZS'
|
|
569
|
+
| 'VEF'
|
|
570
|
+
| 'VES'
|
|
571
|
+
| 'VND'
|
|
572
|
+
| 'VUV'
|
|
573
|
+
| 'WST'
|
|
574
|
+
| 'XAF'
|
|
575
|
+
| 'XAG'
|
|
576
|
+
| 'XAU'
|
|
577
|
+
| 'XBA'
|
|
578
|
+
| 'XBB'
|
|
579
|
+
| 'XBC'
|
|
580
|
+
| 'XBD'
|
|
581
|
+
| 'XCD'
|
|
582
|
+
| 'XDR'
|
|
583
|
+
| 'XFU'
|
|
584
|
+
| 'XOF'
|
|
585
|
+
| 'XPD'
|
|
586
|
+
| 'XPF'
|
|
587
|
+
| 'XPT'
|
|
588
|
+
| 'XTS'
|
|
589
|
+
| 'YER'
|
|
590
|
+
| 'ZAR'
|
|
591
|
+
| 'ZMK'
|
|
592
|
+
| 'ZMW'
|
|
593
|
+
| 'ZWD'
|
|
594
|
+
| 'ZWL'
|
|
595
|
+
| 'ZWN'
|
|
596
|
+
| 'ZWR';
|
|
597
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.ExternalAccountsPage = exports.ExternalAccounts = void 0;
|
|
5
|
+
const resource_1 = require('../resource');
|
|
6
|
+
const core_1 = require('../core');
|
|
7
|
+
const pagination_1 = require('../pagination');
|
|
8
|
+
class ExternalAccounts extends resource_1.APIResource {
|
|
9
|
+
create(body, options) {
|
|
10
|
+
return this.post('/api/external_accounts', Object.assign({ body }, options));
|
|
11
|
+
}
|
|
12
|
+
retrieve(id, options) {
|
|
13
|
+
return this.get(`/api/external_accounts/${id}`, options);
|
|
14
|
+
}
|
|
15
|
+
update(id, body = {}, options) {
|
|
16
|
+
if ((0, core_1.isRequestOptions)(body)) {
|
|
17
|
+
return this.update(id, {}, body);
|
|
18
|
+
}
|
|
19
|
+
return this.patch(`/api/external_accounts/${id}`, Object.assign({ body }, options));
|
|
20
|
+
}
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
if ((0, core_1.isRequestOptions)(query)) {
|
|
23
|
+
return this.list({}, query);
|
|
24
|
+
}
|
|
25
|
+
return this.getAPIList('/api/external_accounts', ExternalAccountsPage, Object.assign({ query }, options));
|
|
26
|
+
}
|
|
27
|
+
del(id, options) {
|
|
28
|
+
return this.delete(
|
|
29
|
+
`/api/external_accounts/${id}`,
|
|
30
|
+
Object.assign(Object.assign({}, options), {
|
|
31
|
+
headers: Object.assign(
|
|
32
|
+
{ Accept: '' },
|
|
33
|
+
options === null || options === void 0 ? void 0 : options.headers,
|
|
34
|
+
),
|
|
35
|
+
}),
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
completeVerification(id, body = {}, options) {
|
|
39
|
+
if ((0, core_1.isRequestOptions)(body)) {
|
|
40
|
+
return this.completeVerification(id, {}, body);
|
|
41
|
+
}
|
|
42
|
+
return this.post(`/api/external_accounts/${id}/complete_verification`, Object.assign({ body }, options));
|
|
43
|
+
}
|
|
44
|
+
verify(id, body, options) {
|
|
45
|
+
return this.post(`/api/external_accounts/${id}/verify`, Object.assign({ body }, options));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.ExternalAccounts = ExternalAccounts;
|
|
49
|
+
class ExternalAccountsPage extends pagination_1.Page {}
|
|
50
|
+
exports.ExternalAccountsPage = ExternalAccountsPage;
|
|
51
|
+
//# sourceMappingURL=external-accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-accounts.js","sourceRoot":"","sources":["../../../resources/external-accounts.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AACzC,iCAA0C;AAC1C,6CAAgD;AAEhD,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,wBAAwB,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IACnE,CAAC;IAED,QAAQ,CAAC,EAAU,EAAE,OAA6B;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAQD,MAAM,CACJ,EAAU,EACV,OAA0D,EAAE,EAC5D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;SAClC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,0BAA0B,EAAE,EAAE,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAC1E,CAAC;IAOD,IAAI,CACF,QAAyD,EAAE,EAC3D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QAED,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,oBAAoB,kBAAI,KAAK,IAAK,OAAO,EAAG,CAAC;IAChG,CAAC;IAED,GAAG,CAAC,EAAU,EAAE,OAA6B;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,0BAA0B,EAAE,EAAE,kCAC5C,OAAO,KACV,OAAO,kBAAI,MAAM,EAAE,EAAE,IAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAC1C,CAAC;IACL,CAAC;IAQD,oBAAoB,CAClB,EAAU,EACV,OAAwE,EAAE,EAC1E,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,oBAAoB,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;SAChD;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,0BAA0B,EAAE,wBAAwB,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAC/F,CAAC;IAED,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,0BAA0B,EAAE,SAAS,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAChF,CAAC;CACF;AA9ED,4CA8EC;AAED,MAAa,oBAAqB,SAAQ,iBAAqB;CAAG;AAAlE,oDAAkE"}
|