@naturalpay/sdk 0.2.1 → 0.4.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 +42 -0
- package/README.md +2 -2
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +37 -13
- package/client.d.mts.map +1 -1
- package/client.d.ts +37 -13
- package/client.d.ts.map +1 -1
- package/client.js +30 -6
- package/client.js.map +1 -1
- package/client.mjs +31 -7
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/envelope.d.mts.map +1 -1
- package/lib/envelope.d.ts.map +1 -1
- package/lib/envelope.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/agents.d.mts +4 -153
- package/resources/agents.d.mts.map +1 -1
- package/resources/agents.d.ts +4 -153
- package/resources/agents.d.ts.map +1 -1
- package/resources/agents.js +5 -5
- package/resources/agents.js.map +1 -1
- package/resources/agents.mjs +5 -5
- package/resources/agents.mjs.map +1 -1
- package/resources/api-keys.d.mts +16 -2
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +16 -2
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +7 -4
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +7 -4
- package/resources/api-keys.mjs.map +1 -1
- package/resources/counterparties.d.mts +5 -55
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +5 -55
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/counterparties.js +1 -3
- package/resources/counterparties.js.map +1 -1
- package/resources/counterparties.mjs +1 -3
- package/resources/counterparties.mjs.map +1 -1
- package/resources/customers.d.mts.map +1 -1
- package/resources/customers.d.ts.map +1 -1
- package/resources/customers.mjs.map +1 -1
- package/resources/delegations.d.mts.map +1 -1
- package/resources/delegations.d.ts.map +1 -1
- package/resources/delegations.mjs.map +1 -1
- package/resources/escalations.d.mts +1124 -0
- package/resources/escalations.d.mts.map +1 -0
- package/resources/escalations.d.ts +1124 -0
- package/resources/escalations.d.ts.map +1 -0
- package/resources/escalations.js +110 -0
- package/resources/escalations.js.map +1 -0
- package/resources/escalations.mjs +106 -0
- package/resources/escalations.mjs.map +1 -0
- package/resources/external-accounts.d.mts +239 -0
- package/resources/external-accounts.d.mts.map +1 -0
- package/resources/external-accounts.d.ts +239 -0
- package/resources/external-accounts.d.ts.map +1 -0
- package/resources/external-accounts.js +47 -0
- package/resources/external-accounts.js.map +1 -0
- package/resources/external-accounts.mjs +43 -0
- package/resources/external-accounts.mjs.map +1 -0
- package/resources/index.d.mts +8 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invitations.d.mts +17 -8
- package/resources/invitations.d.mts.map +1 -1
- package/resources/invitations.d.ts +17 -8
- package/resources/invitations.d.ts.map +1 -1
- package/resources/invitations.js +7 -5
- package/resources/invitations.js.map +1 -1
- package/resources/invitations.mjs +7 -5
- package/resources/invitations.mjs.map +1 -1
- package/resources/parties.d.mts +55 -28
- package/resources/parties.d.mts.map +1 -1
- package/resources/parties.d.ts +55 -28
- package/resources/parties.d.ts.map +1 -1
- package/resources/parties.js +30 -4
- package/resources/parties.js.map +1 -1
- package/resources/parties.mjs +30 -4
- package/resources/parties.mjs.map +1 -1
- package/resources/payment-requests.d.mts +751 -39
- package/resources/payment-requests.d.mts.map +1 -1
- package/resources/payment-requests.d.ts +751 -39
- package/resources/payment-requests.d.ts.map +1 -1
- package/resources/payment-requests.js +82 -2
- package/resources/payment-requests.js.map +1 -1
- package/resources/payment-requests.mjs +82 -2
- package/resources/payment-requests.mjs.map +1 -1
- package/resources/payments.d.mts +390 -24
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +390 -24
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +53 -3
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +53 -3
- package/resources/payments.mjs.map +1 -1
- package/resources/transactions.d.mts +53 -113
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +53 -113
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +3 -3
- package/resources/transactions.mjs +3 -3
- package/resources/transactions.mjs.map +1 -1
- package/resources/transfers.d.mts +1030 -0
- package/resources/transfers.d.mts.map +1 -0
- package/resources/transfers.d.ts +1030 -0
- package/resources/transfers.d.ts.map +1 -0
- package/resources/transfers.js +114 -0
- package/resources/transfers.js.map +1 -0
- package/resources/transfers.mjs +110 -0
- package/resources/transfers.mjs.map +1 -0
- package/resources/wallet.d.mts +117 -437
- package/resources/wallet.d.mts.map +1 -1
- package/resources/wallet.d.ts +117 -437
- package/resources/wallet.d.ts.map +1 -1
- package/resources/wallet.js +9 -122
- package/resources/wallet.js.map +1 -1
- package/resources/wallet.mjs +9 -122
- package/resources/wallet.mjs.map +1 -1
- package/resources/webhooks.d.mts +775 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +775 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +163 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +159 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +156 -32
- package/src/resources/agents.ts +5 -185
- package/src/resources/api-keys.ts +26 -4
- package/src/resources/counterparties.ts +5 -64
- package/src/resources/escalations.ts +1422 -0
- package/src/resources/external-accounts.ts +324 -0
- package/src/resources/index.ts +65 -13
- package/src/resources/invitations.ts +27 -11
- package/src/resources/parties.ts +88 -33
- package/src/resources/payment-requests.ts +945 -44
- package/src/resources/payments.ts +518 -23
- package/src/resources/transactions.ts +53 -129
- package/src/resources/transfers.ts +1338 -0
- package/src/resources/wallet.ts +133 -597
- package/src/resources/webhooks.ts +1232 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Linked external bank accounts
|
|
6
|
+
*/
|
|
7
|
+
export declare class ExternalAccounts extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List linked external accounts with cursor pagination.
|
|
10
|
+
*/
|
|
11
|
+
list(params?: ExternalAccountListParams | null | undefined, options?: RequestOptions): APIPromise<ExternalAccountListResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Remove (unlink) a bank account.
|
|
14
|
+
*/
|
|
15
|
+
remove(externalAccountID: string, params?: ExternalAccountRemoveParams | null | undefined, options?: RequestOptions): APIPromise<ExternalAccountRemoveResponse>;
|
|
16
|
+
}
|
|
17
|
+
export interface ExternalAccountListResponse {
|
|
18
|
+
data: Array<ExternalAccountListResponse.Data>;
|
|
19
|
+
meta: ExternalAccountListResponse.Meta;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ExternalAccountListResponse {
|
|
22
|
+
interface Data {
|
|
23
|
+
/**
|
|
24
|
+
* Resource ID
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Resource attributes
|
|
29
|
+
*/
|
|
30
|
+
attributes: Data.Attributes;
|
|
31
|
+
/**
|
|
32
|
+
* Resource relationships
|
|
33
|
+
*/
|
|
34
|
+
relationships: Data.Relationships;
|
|
35
|
+
/**
|
|
36
|
+
* Resource type
|
|
37
|
+
*/
|
|
38
|
+
type: string;
|
|
39
|
+
}
|
|
40
|
+
namespace Data {
|
|
41
|
+
/**
|
|
42
|
+
* Resource attributes
|
|
43
|
+
*/
|
|
44
|
+
interface Attributes {
|
|
45
|
+
/**
|
|
46
|
+
* Account display name
|
|
47
|
+
*/
|
|
48
|
+
accountName: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Account type (checking, savings)
|
|
51
|
+
*/
|
|
52
|
+
accountType: 'checking' | 'savings' | 'unknown' | null;
|
|
53
|
+
/**
|
|
54
|
+
* Bank institution name
|
|
55
|
+
*/
|
|
56
|
+
bankName: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* When the external account was linked
|
|
59
|
+
*/
|
|
60
|
+
createdAt: string;
|
|
61
|
+
/**
|
|
62
|
+
* Last 4 digits of account
|
|
63
|
+
*/
|
|
64
|
+
lastFour: string;
|
|
65
|
+
/**
|
|
66
|
+
* Status (pending, active, disabled)
|
|
67
|
+
*/
|
|
68
|
+
status: 'pending' | 'new' | 'active' | 'disabled' | 'deleted' | 'unknown';
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Resource relationships
|
|
72
|
+
*/
|
|
73
|
+
interface Relationships {
|
|
74
|
+
/**
|
|
75
|
+
* Party that owns the external account
|
|
76
|
+
*/
|
|
77
|
+
party: Relationships.Party;
|
|
78
|
+
}
|
|
79
|
+
namespace Relationships {
|
|
80
|
+
/**
|
|
81
|
+
* Party that owns the external account
|
|
82
|
+
*/
|
|
83
|
+
interface Party {
|
|
84
|
+
/**
|
|
85
|
+
* Related resource identifier
|
|
86
|
+
*/
|
|
87
|
+
data: Party.Data;
|
|
88
|
+
}
|
|
89
|
+
namespace Party {
|
|
90
|
+
/**
|
|
91
|
+
* Related resource identifier
|
|
92
|
+
*/
|
|
93
|
+
interface Data {
|
|
94
|
+
id: string;
|
|
95
|
+
/**
|
|
96
|
+
* Resource type
|
|
97
|
+
*/
|
|
98
|
+
type: string;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
interface Meta {
|
|
104
|
+
pagination: Meta.Pagination;
|
|
105
|
+
}
|
|
106
|
+
namespace Meta {
|
|
107
|
+
interface Pagination {
|
|
108
|
+
hasMore: boolean;
|
|
109
|
+
nextCursor: string | null;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
export interface ExternalAccountRemoveResponse {
|
|
114
|
+
data: ExternalAccountRemoveResponse.Data;
|
|
115
|
+
meta: ExternalAccountRemoveResponse.Meta;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace ExternalAccountRemoveResponse {
|
|
118
|
+
interface Data {
|
|
119
|
+
/**
|
|
120
|
+
* Resource ID
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* Resource attributes
|
|
125
|
+
*/
|
|
126
|
+
attributes: Data.Attributes;
|
|
127
|
+
/**
|
|
128
|
+
* Resource relationships
|
|
129
|
+
*/
|
|
130
|
+
relationships: Data.Relationships;
|
|
131
|
+
/**
|
|
132
|
+
* Resource type
|
|
133
|
+
*/
|
|
134
|
+
type: string;
|
|
135
|
+
}
|
|
136
|
+
namespace Data {
|
|
137
|
+
/**
|
|
138
|
+
* Resource attributes
|
|
139
|
+
*/
|
|
140
|
+
interface Attributes {
|
|
141
|
+
/**
|
|
142
|
+
* Account display name
|
|
143
|
+
*/
|
|
144
|
+
accountName: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Account type (checking, savings)
|
|
147
|
+
*/
|
|
148
|
+
accountType: 'checking' | 'savings' | 'unknown' | null;
|
|
149
|
+
/**
|
|
150
|
+
* Bank institution name
|
|
151
|
+
*/
|
|
152
|
+
bankName: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* When the external account was linked
|
|
155
|
+
*/
|
|
156
|
+
createdAt: string;
|
|
157
|
+
/**
|
|
158
|
+
* Last 4 digits of account
|
|
159
|
+
*/
|
|
160
|
+
lastFour: string;
|
|
161
|
+
/**
|
|
162
|
+
* Status (pending, active, disabled)
|
|
163
|
+
*/
|
|
164
|
+
status: 'pending' | 'new' | 'active' | 'disabled' | 'deleted' | 'unknown';
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Resource relationships
|
|
168
|
+
*/
|
|
169
|
+
interface Relationships {
|
|
170
|
+
/**
|
|
171
|
+
* Party that owns the external account
|
|
172
|
+
*/
|
|
173
|
+
party: Relationships.Party;
|
|
174
|
+
}
|
|
175
|
+
namespace Relationships {
|
|
176
|
+
/**
|
|
177
|
+
* Party that owns the external account
|
|
178
|
+
*/
|
|
179
|
+
interface Party {
|
|
180
|
+
/**
|
|
181
|
+
* Related resource identifier
|
|
182
|
+
*/
|
|
183
|
+
data: Party.Data;
|
|
184
|
+
}
|
|
185
|
+
namespace Party {
|
|
186
|
+
/**
|
|
187
|
+
* Related resource identifier
|
|
188
|
+
*/
|
|
189
|
+
interface Data {
|
|
190
|
+
id: string;
|
|
191
|
+
/**
|
|
192
|
+
* Resource type
|
|
193
|
+
*/
|
|
194
|
+
type: string;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
interface Meta {
|
|
200
|
+
/**
|
|
201
|
+
* Indicates the resource was deleted
|
|
202
|
+
*/
|
|
203
|
+
deleted: true;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
export interface ExternalAccountListParams {
|
|
207
|
+
/**
|
|
208
|
+
* Query param
|
|
209
|
+
*/
|
|
210
|
+
cursor?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Query param
|
|
213
|
+
*/
|
|
214
|
+
limit?: number;
|
|
215
|
+
/**
|
|
216
|
+
* Header param: Agent ID (agt_xxx) identifying which agent is making the request.
|
|
217
|
+
*/
|
|
218
|
+
'X-Agent-ID'?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Header param: Required when X-Agent-ID is present. Session or conversation ID
|
|
221
|
+
* for agent observability.
|
|
222
|
+
*/
|
|
223
|
+
'X-Instance-ID'?: string;
|
|
224
|
+
}
|
|
225
|
+
export interface ExternalAccountRemoveParams {
|
|
226
|
+
/**
|
|
227
|
+
* Agent ID (agt_xxx) identifying which agent is making the request.
|
|
228
|
+
*/
|
|
229
|
+
'X-Agent-ID'?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Required when X-Agent-ID is present. Session or conversation ID for agent
|
|
232
|
+
* observability.
|
|
233
|
+
*/
|
|
234
|
+
'X-Instance-ID'?: string;
|
|
235
|
+
}
|
|
236
|
+
export declare namespace ExternalAccounts {
|
|
237
|
+
export { type ExternalAccountListResponse as ExternalAccountListResponse, type ExternalAccountRemoveResponse as ExternalAccountRemoveResponse, type ExternalAccountListParams as ExternalAccountListParams, type ExternalAccountRemoveParams as ExternalAccountRemoveParams, };
|
|
238
|
+
}
|
|
239
|
+
//# sourceMappingURL=external-accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-accounts.d.ts","sourceRoot":"","sources":["../src/resources/external-accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAA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
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ExternalAccounts = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Linked external bank accounts
|
|
10
|
+
*/
|
|
11
|
+
class ExternalAccounts extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* List linked external accounts with cursor pagination.
|
|
14
|
+
*/
|
|
15
|
+
list(params = {}, options) {
|
|
16
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID, ...query } = params ?? {};
|
|
17
|
+
return this._client.get('/external-accounts', {
|
|
18
|
+
query,
|
|
19
|
+
...options,
|
|
20
|
+
headers: (0, headers_1.buildHeaders)([
|
|
21
|
+
{
|
|
22
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
23
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
24
|
+
},
|
|
25
|
+
options?.headers,
|
|
26
|
+
]),
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Remove (unlink) a bank account.
|
|
31
|
+
*/
|
|
32
|
+
remove(externalAccountID, params = {}, options) {
|
|
33
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID } = params ?? {};
|
|
34
|
+
return this._client.delete((0, path_1.path) `/external-accounts/${externalAccountID}`, {
|
|
35
|
+
...options,
|
|
36
|
+
headers: (0, headers_1.buildHeaders)([
|
|
37
|
+
{
|
|
38
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
39
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
40
|
+
},
|
|
41
|
+
options?.headers,
|
|
42
|
+
]),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ExternalAccounts = ExternalAccounts;
|
|
47
|
+
//# sourceMappingURL=external-accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-accounts.js","sourceRoot":"","sources":["../src/resources/external-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,IAAI,CACF,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;YAC5C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,iBAAyB,EACzB,SAAyD,EAAE,EAC3D,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sBAAsB,iBAAiB,EAAE,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA1CD,4CA0CC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Linked external bank accounts
|
|
7
|
+
*/
|
|
8
|
+
export class ExternalAccounts extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* List linked external accounts with cursor pagination.
|
|
11
|
+
*/
|
|
12
|
+
list(params = {}, options) {
|
|
13
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID, ...query } = params ?? {};
|
|
14
|
+
return this._client.get('/external-accounts', {
|
|
15
|
+
query,
|
|
16
|
+
...options,
|
|
17
|
+
headers: buildHeaders([
|
|
18
|
+
{
|
|
19
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
20
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
21
|
+
},
|
|
22
|
+
options?.headers,
|
|
23
|
+
]),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Remove (unlink) a bank account.
|
|
28
|
+
*/
|
|
29
|
+
remove(externalAccountID, params = {}, options) {
|
|
30
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID } = params ?? {};
|
|
31
|
+
return this._client.delete(path `/external-accounts/${externalAccountID}`, {
|
|
32
|
+
...options,
|
|
33
|
+
headers: buildHeaders([
|
|
34
|
+
{
|
|
35
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
36
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
37
|
+
},
|
|
38
|
+
options?.headers,
|
|
39
|
+
]),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=external-accounts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-accounts.mjs","sourceRoot":"","sources":["../src/resources/external-accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,IAAI,CACF,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;YAC5C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,iBAAyB,EACzB,SAAyD,EAAE,EAC3D,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,sBAAsB,iBAAiB,EAAE,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -3,10 +3,14 @@ export { Agents, type AgentCreateResponse, type AgentUpdateResponse, type AgentL
|
|
|
3
3
|
export { Counterparties, type CounterpartyListResponse, type CounterpartyListParams } from "./counterparties.mjs";
|
|
4
4
|
export { Customers, type CustomerListResponse, type CustomerListInvitationsResponse, type CustomerListParams, type CustomerListInvitationsParams, } from "./customers.mjs";
|
|
5
5
|
export { Delegations, type DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams, } from "./delegations.mjs";
|
|
6
|
+
export { Escalations, type EscalationListResponse, type EscalationApproveResponse, type EscalationDenyResponse, type EscalationGetResponse, type EscalationListParams, type EscalationApproveParams, type EscalationDenyParams, type EscalationGetParams, } from "./escalations.mjs";
|
|
7
|
+
export { ExternalAccounts, type ExternalAccountListResponse, type ExternalAccountRemoveResponse, type ExternalAccountListParams, type ExternalAccountRemoveParams, } from "./external-accounts.mjs";
|
|
6
8
|
export { Invitations, type InvitationCreateResponse, type InvitationListResponse, type InvitationRevokeResponse, type InvitationCreateParams, type InvitationListParams, type InvitationRevokeParams, } from "./invitations.mjs";
|
|
7
|
-
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, } from "./parties.mjs";
|
|
8
|
-
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestGetResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestGetParams, } from "./payment-requests.mjs";
|
|
9
|
-
export { Payments, type PaymentCreateResponse, type PaymentCreateParams } from "./payments.mjs";
|
|
9
|
+
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyRemoveMemberResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, type PartyRemoveMemberParams, } from "./parties.mjs";
|
|
10
|
+
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestDeclineResponse, type PaymentRequestFulfillResponse, type PaymentRequestGetResponse, type PaymentRequestListIncomingResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestDeclineParams, type PaymentRequestFulfillParams, type PaymentRequestGetParams, type PaymentRequestListIncomingParams, } from "./payment-requests.mjs";
|
|
11
|
+
export { Payments, type PaymentCreateResponse, type PaymentListResponse, type PaymentGetResponse, type PaymentCreateParams, type PaymentListParams, type PaymentGetParams, } from "./payments.mjs";
|
|
10
12
|
export { Transactions, type TransactionListResponse, type TransactionGetResponse, type TransactionListParams, type TransactionGetParams, } from "./transactions.mjs";
|
|
11
|
-
export {
|
|
13
|
+
export { Transfers, type TransferListResponse, type TransferGetResponse, type TransferInitiateDepositResponse, type TransferInitiateWithdrawalResponse, type TransferListParams, type TransferGetParams, type TransferInitiateDepositParams, type TransferInitiateWithdrawalParams, } from "./transfers.mjs";
|
|
14
|
+
export { Wallet, type WalletListResponse, type WalletGetResponse, type WalletListParams, type WalletGetParams, } from "./wallet.mjs";
|
|
15
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookGetResponse, type WebhookRemoveResponse, type WebhookRotateSecretResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookGetParams, type WebhookRemoveParams, type WebhookRotateSecretParams, } from "./webhooks.mjs";
|
|
12
16
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,uBAAmB;AACpB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,wCAAwC,EAC7C,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,sCAAsC,EAC3C,KAAK,iBAAiB,GACvB,qBAAiB;AAClB,OAAO,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE,6BAAyB;AAC9G,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,GACn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K,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,uBAAmB;AACpB,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B,2BAAuB;AACxB,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,GACtC,wBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,qBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,uBAAmB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -3,10 +3,14 @@ export { Agents, type AgentCreateResponse, type AgentUpdateResponse, type AgentL
|
|
|
3
3
|
export { Counterparties, type CounterpartyListResponse, type CounterpartyListParams } from "./counterparties.js";
|
|
4
4
|
export { Customers, type CustomerListResponse, type CustomerListInvitationsResponse, type CustomerListParams, type CustomerListInvitationsParams, } from "./customers.js";
|
|
5
5
|
export { Delegations, type DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams, } from "./delegations.js";
|
|
6
|
+
export { Escalations, type EscalationListResponse, type EscalationApproveResponse, type EscalationDenyResponse, type EscalationGetResponse, type EscalationListParams, type EscalationApproveParams, type EscalationDenyParams, type EscalationGetParams, } from "./escalations.js";
|
|
7
|
+
export { ExternalAccounts, type ExternalAccountListResponse, type ExternalAccountRemoveResponse, type ExternalAccountListParams, type ExternalAccountRemoveParams, } from "./external-accounts.js";
|
|
6
8
|
export { Invitations, type InvitationCreateResponse, type InvitationListResponse, type InvitationRevokeResponse, type InvitationCreateParams, type InvitationListParams, type InvitationRevokeParams, } from "./invitations.js";
|
|
7
|
-
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, } from "./parties.js";
|
|
8
|
-
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestGetResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestGetParams, } from "./payment-requests.js";
|
|
9
|
-
export { Payments, type PaymentCreateResponse, type PaymentCreateParams } from "./payments.js";
|
|
9
|
+
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyRemoveMemberResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, type PartyRemoveMemberParams, } from "./parties.js";
|
|
10
|
+
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestDeclineResponse, type PaymentRequestFulfillResponse, type PaymentRequestGetResponse, type PaymentRequestListIncomingResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestDeclineParams, type PaymentRequestFulfillParams, type PaymentRequestGetParams, type PaymentRequestListIncomingParams, } from "./payment-requests.js";
|
|
11
|
+
export { Payments, type PaymentCreateResponse, type PaymentListResponse, type PaymentGetResponse, type PaymentCreateParams, type PaymentListParams, type PaymentGetParams, } from "./payments.js";
|
|
10
12
|
export { Transactions, type TransactionListResponse, type TransactionGetResponse, type TransactionListParams, type TransactionGetParams, } from "./transactions.js";
|
|
11
|
-
export {
|
|
13
|
+
export { Transfers, type TransferListResponse, type TransferGetResponse, type TransferInitiateDepositResponse, type TransferInitiateWithdrawalResponse, type TransferListParams, type TransferGetParams, type TransferInitiateDepositParams, type TransferInitiateWithdrawalParams, } from "./transfers.js";
|
|
14
|
+
export { Wallet, type WalletListResponse, type WalletGetResponse, type WalletListParams, type WalletGetParams, } from "./wallet.js";
|
|
15
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookGetResponse, type WebhookRemoveResponse, type WebhookRotateSecretResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookGetParams, type WebhookRemoveParams, type WebhookRotateSecretParams, } from "./webhooks.js";
|
|
12
16
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,sBAAmB;AACpB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,wCAAwC,EAC7C,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,sCAAsC,EAC3C,KAAK,iBAAiB,GACvB,oBAAiB;AAClB,OAAO,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE,4BAAyB;AAC9G,OAAO,EACL,SAAS,EACT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qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,sBAAmB;AACpB,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B,0BAAuB;AACxB,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,GACtC,uBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,oBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,sBAAmB"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Wallet = exports.Transactions = exports.Payments = exports.PaymentRequests = exports.Parties = exports.Invitations = exports.Delegations = exports.Customers = exports.Counterparties = exports.Agents = exports.APIKeys = void 0;
|
|
4
|
+
exports.Webhooks = exports.Wallet = exports.Transfers = exports.Transactions = exports.Payments = exports.PaymentRequests = exports.Parties = exports.Invitations = exports.ExternalAccounts = exports.Escalations = exports.Delegations = exports.Customers = exports.Counterparties = exports.Agents = exports.APIKeys = void 0;
|
|
5
5
|
var api_keys_1 = require("./api-keys.js");
|
|
6
6
|
Object.defineProperty(exports, "APIKeys", { enumerable: true, get: function () { return api_keys_1.APIKeys; } });
|
|
7
7
|
var agents_1 = require("./agents.js");
|
|
@@ -12,6 +12,10 @@ var customers_1 = require("./customers.js");
|
|
|
12
12
|
Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
|
|
13
13
|
var delegations_1 = require("./delegations.js");
|
|
14
14
|
Object.defineProperty(exports, "Delegations", { enumerable: true, get: function () { return delegations_1.Delegations; } });
|
|
15
|
+
var escalations_1 = require("./escalations.js");
|
|
16
|
+
Object.defineProperty(exports, "Escalations", { enumerable: true, get: function () { return escalations_1.Escalations; } });
|
|
17
|
+
var external_accounts_1 = require("./external-accounts.js");
|
|
18
|
+
Object.defineProperty(exports, "ExternalAccounts", { enumerable: true, get: function () { return external_accounts_1.ExternalAccounts; } });
|
|
15
19
|
var invitations_1 = require("./invitations.js");
|
|
16
20
|
Object.defineProperty(exports, "Invitations", { enumerable: true, get: function () { return invitations_1.Invitations; } });
|
|
17
21
|
var parties_1 = require("./parties.js");
|
|
@@ -22,6 +26,10 @@ var payments_1 = require("./payments.js");
|
|
|
22
26
|
Object.defineProperty(exports, "Payments", { enumerable: true, get: function () { return payments_1.Payments; } });
|
|
23
27
|
var transactions_1 = require("./transactions.js");
|
|
24
28
|
Object.defineProperty(exports, "Transactions", { enumerable: true, get: function () { return transactions_1.Transactions; } });
|
|
29
|
+
var transfers_1 = require("./transfers.js");
|
|
30
|
+
Object.defineProperty(exports, "Transfers", { enumerable: true, get: function () { return transfers_1.Transfers; } });
|
|
25
31
|
var wallet_1 = require("./wallet.js");
|
|
26
32
|
Object.defineProperty(exports, "Wallet", { enumerable: true, get: function () { return wallet_1.Wallet; } });
|
|
33
|
+
var webhooks_1 = require("./webhooks.js");
|
|
34
|
+
Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
|
|
27
35
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,sCAgBkB;AAfhB,gGAAA,MAAM,OAAA;AAgBR,sDAA8G;AAArG,gHAAA,cAAc,OAAA;AACvB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,gDAQuB;AAPrB,0GAAA,WAAW,OAAA;AAQb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,sCAgBkB;AAfhB,gGAAA,MAAM,OAAA;AAgBR,sDAA8G;AAArG,gHAAA,cAAc,OAAA;AACvB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,gDAUuB;AATrB,0GAAA,WAAW,OAAA;AAUb,4DAM6B;AAL3B,qHAAA,gBAAgB,OAAA;AAMlB,gDAQuB;AAPrB,0GAAA,WAAW,OAAA;AAQb,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0DAc4B;AAb1B,mHAAA,eAAe,OAAA;AAcjB,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,kDAMwB;AALtB,4GAAA,YAAY,OAAA;AAMd,4CAUqB;AATnB,sGAAA,SAAS,OAAA;AAUX,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,0CAcoB;AAblB,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -4,10 +4,14 @@ export { Agents, } from "./agents.mjs";
|
|
|
4
4
|
export { Counterparties } from "./counterparties.mjs";
|
|
5
5
|
export { Customers, } from "./customers.mjs";
|
|
6
6
|
export { Delegations, } from "./delegations.mjs";
|
|
7
|
+
export { Escalations, } from "./escalations.mjs";
|
|
8
|
+
export { ExternalAccounts, } from "./external-accounts.mjs";
|
|
7
9
|
export { Invitations, } from "./invitations.mjs";
|
|
8
10
|
export { Parties, } from "./parties.mjs";
|
|
9
11
|
export { PaymentRequests, } from "./payment-requests.mjs";
|
|
10
|
-
export { Payments } from "./payments.mjs";
|
|
12
|
+
export { Payments, } from "./payments.mjs";
|
|
11
13
|
export { Transactions, } from "./transactions.mjs";
|
|
14
|
+
export { Transfers, } from "./transfers.mjs";
|
|
12
15
|
export { Wallet, } from "./wallet.mjs";
|
|
16
|
+
export { Webhooks, } from "./webhooks.mjs";
|
|
13
17
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GASR,uBAAmB;AACpB,OAAO,EACL,MAAM,GAeP,qBAAiB;AAClB,OAAO,EAAE,cAAc,EAA8D,6BAAyB;AAC9G,OAAO,EACL,SAAS,GAKV,wBAAoB;AACrB,OAAO,EACL,WAAW,GAKZ,0BAAsB;AACvB,OAAO,EACL,WAAW,GASZ,0BAAsB;AACvB,OAAO,EACL,gBAAgB,GAKjB,gCAA4B;AAC7B,OAAO,EACL,WAAW,GAOZ,0BAAsB;AACvB,OAAO,EACL,OAAO,GASR,sBAAkB;AACnB,OAAO,EACL,eAAe,GAahB,+BAA2B;AAC5B,OAAO,EACL,QAAQ,GAOT,uBAAmB;AACpB,OAAO,EACL,YAAY,GAKb,2BAAuB;AACxB,OAAO,EACL,SAAS,GASV,wBAAoB;AACrB,OAAO,EACL,MAAM,GAKP,qBAAiB;AAClB,OAAO,EACL,QAAQ,GAaT,uBAAmB"}
|
|
@@ -6,13 +6,13 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class Invitations extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Send invitations to join your party.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
13
|
* const invitation = await client.invitations.create({
|
|
14
14
|
* invitations: [
|
|
15
|
-
* { email: 'dev@stainless.com', role: '
|
|
15
|
+
* { email: 'dev@stainless.com', role: 'ADMIN' },
|
|
16
16
|
* ],
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
@@ -34,10 +34,11 @@ export declare class Invitations extends APIResource {
|
|
|
34
34
|
* ```ts
|
|
35
35
|
* const response = await client.invitations.revoke(
|
|
36
36
|
* 'invitationId',
|
|
37
|
+
* { 'Idempotency-Key': 'Idempotency-Key' },
|
|
37
38
|
* );
|
|
38
39
|
* ```
|
|
39
40
|
*/
|
|
40
|
-
revoke(invitationID: string, params
|
|
41
|
+
revoke(invitationID: string, params: InvitationRevokeParams, options?: RequestOptions): APIPromise<InvitationRevokeResponse>;
|
|
41
42
|
}
|
|
42
43
|
export interface InvitationCreateResponse {
|
|
43
44
|
/**
|
|
@@ -182,6 +183,7 @@ export declare namespace InvitationListResponse {
|
|
|
182
183
|
}
|
|
183
184
|
export interface InvitationRevokeResponse {
|
|
184
185
|
data: InvitationRevokeResponse.Data;
|
|
186
|
+
meta: InvitationRevokeResponse.Meta;
|
|
185
187
|
}
|
|
186
188
|
export declare namespace InvitationRevokeResponse {
|
|
187
189
|
interface Data {
|
|
@@ -229,16 +231,18 @@ export declare namespace InvitationRevokeResponse {
|
|
|
229
231
|
status: 'PENDING' | 'ACCEPTED' | 'REVOKED';
|
|
230
232
|
}
|
|
231
233
|
}
|
|
234
|
+
interface Meta {
|
|
235
|
+
/**
|
|
236
|
+
* Indicates the resource was deleted
|
|
237
|
+
*/
|
|
238
|
+
deleted: true;
|
|
239
|
+
}
|
|
232
240
|
}
|
|
233
241
|
export interface InvitationCreateParams {
|
|
234
242
|
/**
|
|
235
243
|
* Body param: List of invitations to create (max 100)
|
|
236
244
|
*/
|
|
237
245
|
invitations: Array<InvitationCreateParams.Invitation>;
|
|
238
|
-
/**
|
|
239
|
-
* Body param: Days until invitation expires (1-30)
|
|
240
|
-
*/
|
|
241
|
-
expiresInDays?: number;
|
|
242
246
|
/**
|
|
243
247
|
* Header param: Agent ID (agt_xxx) identifying which agent is making the request.
|
|
244
248
|
*/
|
|
@@ -261,7 +265,7 @@ export declare namespace InvitationCreateParams {
|
|
|
261
265
|
/**
|
|
262
266
|
* Role to assign on acceptance
|
|
263
267
|
*/
|
|
264
|
-
role: '
|
|
268
|
+
role: 'ADMIN' | 'MEMBER' | 'VIEWER';
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
271
|
export interface InvitationListParams {
|
|
@@ -288,6 +292,11 @@ export interface InvitationListParams {
|
|
|
288
292
|
'X-Instance-ID'?: string;
|
|
289
293
|
}
|
|
290
294
|
export interface InvitationRevokeParams {
|
|
295
|
+
/**
|
|
296
|
+
* Unique key for idempotent request handling. If a request with the same key was
|
|
297
|
+
* already processed, the original response is returned.
|
|
298
|
+
*/
|
|
299
|
+
'Idempotency-Key': string;
|
|
291
300
|
/**
|
|
292
301
|
* Agent ID (agt_xxx) identifying which agent is making the request.
|
|
293
302
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitations.d.mts","sourceRoot":"","sources":["../src/resources/invitations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"invitations.d.mts","sourceRoot":"","sources":["../src/resources/invitations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO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