@augustusbank/typescript-sdk 0.20.0 → 0.22.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 +28 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-holders.d.mts +1555 -1184
- package/resources/account-holders.d.mts.map +1 -1
- package/resources/account-holders.d.ts +1555 -1184
- package/resources/account-holders.d.ts.map +1 -1
- package/resources/account-holders.js +59 -0
- package/resources/account-holders.js.map +1 -1
- package/resources/account-holders.mjs +59 -0
- package/resources/account-holders.mjs.map +1 -1
- package/resources/account-programs.d.mts +2 -2
- package/resources/account-programs.d.ts +2 -2
- package/resources/accounts.d.mts +206 -43
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +206 -43
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +53 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +53 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/api-keys.d.mts +1 -1
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +1 -1
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-versions.d.mts +3 -0
- package/resources/api-versions.d.mts.map +1 -1
- package/resources/api-versions.d.ts +3 -0
- package/resources/api-versions.d.ts.map +1 -1
- package/resources/conversions.d.mts +36 -81
- package/resources/conversions.d.mts.map +1 -1
- package/resources/conversions.d.ts +36 -81
- package/resources/conversions.d.ts.map +1 -1
- package/resources/conversions.js +25 -1
- package/resources/conversions.js.map +1 -1
- package/resources/conversions.mjs +25 -1
- package/resources/conversions.mjs.map +1 -1
- package/resources/counterparties.d.mts +1042 -0
- package/resources/counterparties.d.mts.map +1 -0
- package/resources/counterparties.d.ts +1042 -0
- package/resources/counterparties.d.ts.map +1 -0
- package/resources/counterparties.js +45 -0
- package/resources/counterparties.js.map +1 -0
- package/resources/counterparties.mjs +41 -0
- package/resources/counterparties.mjs.map +1 -0
- package/resources/deposits.d.mts +38 -186
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +38 -186
- package/resources/deposits.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/payouts.d.mts +458 -276
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +458 -276
- package/resources/payouts.d.ts.map +1 -1
- package/resources/payouts.js +27 -0
- package/resources/payouts.js.map +1 -1
- package/resources/payouts.mjs +27 -0
- package/resources/payouts.mjs.map +1 -1
- package/resources/quotes/indicative.d.mts +7 -11
- package/resources/quotes/indicative.d.mts.map +1 -1
- package/resources/quotes/indicative.d.ts +7 -11
- package/resources/quotes/indicative.d.ts.map +1 -1
- package/resources/quotes/quotes.d.mts +4 -8
- package/resources/quotes/quotes.d.mts.map +1 -1
- package/resources/quotes/quotes.d.ts +4 -8
- package/resources/quotes/quotes.d.ts.map +1 -1
- package/resources/quotes/quotes.js.map +1 -1
- package/resources/quotes/quotes.mjs.map +1 -1
- package/resources/returns.d.mts +84 -39
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +84 -39
- package/resources/returns.d.ts.map +1 -1
- package/resources/returns.js +22 -0
- package/resources/returns.js.map +1 -1
- package/resources/returns.mjs +22 -0
- package/resources/returns.mjs.map +1 -1
- package/resources/scopes.d.mts +4 -1
- package/resources/scopes.d.mts.map +1 -1
- package/resources/scopes.d.ts +4 -1
- package/resources/scopes.d.ts.map +1 -1
- package/resources/simulations/account-programs.d.mts +281 -0
- package/resources/simulations/account-programs.d.mts.map +1 -0
- package/resources/simulations/account-programs.d.ts +281 -0
- package/resources/simulations/account-programs.d.ts.map +1 -0
- package/resources/simulations/account-programs.js +98 -0
- package/resources/simulations/account-programs.js.map +1 -0
- package/resources/simulations/account-programs.mjs +94 -0
- package/resources/simulations/account-programs.mjs.map +1 -0
- package/resources/simulations/accounts.d.mts +270 -0
- package/resources/simulations/accounts.d.mts.map +1 -0
- package/resources/simulations/accounts.d.ts +270 -0
- package/resources/simulations/accounts.d.ts.map +1 -0
- package/resources/simulations/accounts.js +91 -0
- package/resources/simulations/accounts.js.map +1 -0
- package/resources/simulations/accounts.mjs +87 -0
- package/resources/simulations/accounts.mjs.map +1 -0
- package/resources/simulations/deposits.d.mts +218 -0
- package/resources/simulations/deposits.d.mts.map +1 -0
- package/resources/simulations/deposits.d.ts +218 -0
- package/resources/simulations/deposits.d.ts.map +1 -0
- package/resources/simulations/deposits.js +25 -0
- package/resources/simulations/deposits.js.map +1 -0
- package/resources/simulations/deposits.mjs +21 -0
- package/resources/simulations/deposits.mjs.map +1 -0
- package/resources/simulations/index.d.mts +6 -0
- package/resources/simulations/index.d.mts.map +1 -0
- package/resources/simulations/index.d.ts +6 -0
- package/resources/simulations/index.d.ts.map +1 -0
- package/resources/simulations/index.js +15 -0
- package/resources/simulations/index.js.map +1 -0
- package/resources/simulations/index.mjs +7 -0
- package/resources/simulations/index.mjs.map +1 -0
- package/resources/simulations/payouts.d.mts +76 -0
- package/resources/simulations/payouts.d.mts.map +1 -0
- package/resources/simulations/payouts.d.ts +76 -0
- package/resources/simulations/payouts.d.ts.map +1 -0
- package/resources/simulations/payouts.js +39 -0
- package/resources/simulations/payouts.js.map +1 -0
- package/resources/simulations/payouts.mjs +35 -0
- package/resources/simulations/payouts.mjs.map +1 -0
- package/resources/simulations/simulations.d.mts +22 -0
- package/resources/simulations/simulations.d.mts.map +1 -0
- package/resources/simulations/simulations.d.ts +22 -0
- package/resources/simulations/simulations.d.ts.map +1 -0
- package/resources/simulations/simulations.js +29 -0
- package/resources/simulations/simulations.js.map +1 -0
- package/resources/simulations/simulations.mjs +24 -0
- package/resources/simulations/simulations.mjs.map +1 -0
- package/resources/simulations.d.mts +2 -0
- package/resources/simulations.d.mts.map +1 -0
- package/resources/simulations.d.ts +2 -0
- package/resources/simulations.d.ts.map +1 -0
- package/resources/simulations.js +6 -0
- package/resources/simulations.js.map +1 -0
- package/resources/simulations.mjs +3 -0
- package/resources/simulations.mjs.map +1 -0
- package/resources/transactions.d.mts +300 -180
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +300 -180
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.d.mts +54 -4
- package/resources/webhook-subscriptions.d.mts.map +1 -1
- package/resources/webhook-subscriptions.d.ts +54 -4
- package/resources/webhook-subscriptions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.js +49 -0
- package/resources/webhook-subscriptions.js.map +1 -1
- package/resources/webhook-subscriptions.mjs +49 -0
- package/resources/webhook-subscriptions.mjs.map +1 -1
- package/resources/webhooks.d.mts +736 -953
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +736 -953
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +32 -0
- package/src/resources/account-holders.ts +1701 -1282
- package/src/resources/account-programs.ts +2 -2
- package/src/resources/accounts.ts +236 -44
- package/src/resources/api-keys.ts +3 -0
- package/src/resources/api-versions.ts +3 -0
- package/src/resources/conversions.ts +36 -93
- package/src/resources/counterparties.ts +3127 -0
- package/src/resources/deposits.ts +54 -269
- package/src/resources/index.ts +13 -0
- package/src/resources/payouts.ts +2089 -367
- package/src/resources/quotes/indicative.ts +7 -12
- package/src/resources/quotes/quotes.ts +4 -9
- package/src/resources/returns.ts +144 -40
- package/src/resources/scopes.ts +7 -1
- package/src/resources/simulations/account-programs.ts +363 -0
- package/src/resources/simulations/accounts.ts +340 -0
- package/src/resources/simulations/deposits.ts +530 -0
- package/src/resources/simulations/index.ts +32 -0
- package/src/resources/simulations/payouts.ts +98 -0
- package/src/resources/simulations/simulations.ts +82 -0
- package/src/resources/simulations.ts +3 -0
- package/src/resources/transactions.ts +910 -232
- package/src/resources/webhook-subscriptions.ts +54 -4
- package/src/resources/webhooks.ts +948 -1126
- 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
package/resources/returns.d.mts
CHANGED
|
@@ -5,14 +5,36 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
5
5
|
export declare class Returns extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Initiates a return of funds from a deposit to the source.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const _return = await client.returns.create({
|
|
12
|
+
* deposit_id: '550e8400-e29b-41d4-a716-446655440004',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
8
15
|
*/
|
|
9
16
|
create(body: ReturnCreateParams, options?: RequestOptions): APIPromise<ReturnCreateResponse>;
|
|
10
17
|
/**
|
|
11
18
|
* Retrieves a return by ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const _return = await client.returns.retrieve(
|
|
23
|
+
* '550e8400-e29b-41d4-a716-446655440005',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
12
26
|
*/
|
|
13
27
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReturnRetrieveResponse>;
|
|
14
28
|
/**
|
|
15
29
|
* Lists deposit returns for the merchant with cursor-based pagination.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* // Automatically fetches more pages as needed.
|
|
34
|
+
* for await (const returnListResponse of client.returns.list()) {
|
|
35
|
+
* // ...
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
16
38
|
*/
|
|
17
39
|
list(query?: ReturnListParams | null | undefined, options?: RequestOptions): PagePromise<ReturnListResponsesCursorPage, ReturnListResponse>;
|
|
18
40
|
}
|
|
@@ -27,11 +49,7 @@ export interface ReturnCreateResponse {
|
|
|
27
49
|
*/
|
|
28
50
|
amount: string;
|
|
29
51
|
/**
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
created_at: string;
|
|
33
|
-
/**
|
|
34
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
52
|
+
* Currency code (ISO 4217 or crypto).
|
|
35
53
|
*/
|
|
36
54
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
37
55
|
/**
|
|
@@ -42,18 +60,31 @@ export interface ReturnCreateResponse {
|
|
|
42
60
|
* Failure details when status is failed, otherwise null.
|
|
43
61
|
*/
|
|
44
62
|
failure: ReturnCreateResponse.Failure | null;
|
|
63
|
+
/**
|
|
64
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
65
|
+
*/
|
|
66
|
+
initiated_at: string;
|
|
67
|
+
/**
|
|
68
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
69
|
+
*/
|
|
70
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
71
|
+
/**
|
|
72
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
73
|
+
*/
|
|
74
|
+
sent_at: string | null;
|
|
45
75
|
/**
|
|
46
76
|
* Current status of the return.
|
|
47
77
|
*/
|
|
48
|
-
status: '
|
|
78
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
49
79
|
/**
|
|
50
|
-
*
|
|
80
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
81
|
+
* rails support this field.
|
|
51
82
|
*/
|
|
52
|
-
|
|
83
|
+
tx_hash: string | null;
|
|
53
84
|
/**
|
|
54
|
-
*
|
|
85
|
+
* Resource type discriminator.
|
|
55
86
|
*/
|
|
56
|
-
|
|
87
|
+
type: 'return';
|
|
57
88
|
}
|
|
58
89
|
export declare namespace ReturnCreateResponse {
|
|
59
90
|
/**
|
|
@@ -63,7 +94,7 @@ export declare namespace ReturnCreateResponse {
|
|
|
63
94
|
/**
|
|
64
95
|
* Failure code.
|
|
65
96
|
*/
|
|
66
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
97
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
67
98
|
/**
|
|
68
99
|
* Human-readable description of the failure.
|
|
69
100
|
*/
|
|
@@ -84,11 +115,7 @@ export interface ReturnRetrieveResponse {
|
|
|
84
115
|
*/
|
|
85
116
|
amount: string;
|
|
86
117
|
/**
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
created_at: string;
|
|
90
|
-
/**
|
|
91
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
118
|
+
* Currency code (ISO 4217 or crypto).
|
|
92
119
|
*/
|
|
93
120
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
94
121
|
/**
|
|
@@ -99,18 +126,31 @@ export interface ReturnRetrieveResponse {
|
|
|
99
126
|
* Failure details when status is failed, otherwise null.
|
|
100
127
|
*/
|
|
101
128
|
failure: ReturnRetrieveResponse.Failure | null;
|
|
129
|
+
/**
|
|
130
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
131
|
+
*/
|
|
132
|
+
initiated_at: string;
|
|
133
|
+
/**
|
|
134
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
135
|
+
*/
|
|
136
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
137
|
+
/**
|
|
138
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
139
|
+
*/
|
|
140
|
+
sent_at: string | null;
|
|
102
141
|
/**
|
|
103
142
|
* Current status of the return.
|
|
104
143
|
*/
|
|
105
|
-
status: '
|
|
144
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
106
145
|
/**
|
|
107
|
-
*
|
|
146
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
147
|
+
* rails support this field.
|
|
108
148
|
*/
|
|
109
|
-
|
|
149
|
+
tx_hash: string | null;
|
|
110
150
|
/**
|
|
111
|
-
*
|
|
151
|
+
* Resource type discriminator.
|
|
112
152
|
*/
|
|
113
|
-
|
|
153
|
+
type: 'return';
|
|
114
154
|
}
|
|
115
155
|
export declare namespace ReturnRetrieveResponse {
|
|
116
156
|
/**
|
|
@@ -120,7 +160,7 @@ export declare namespace ReturnRetrieveResponse {
|
|
|
120
160
|
/**
|
|
121
161
|
* Failure code.
|
|
122
162
|
*/
|
|
123
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
163
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
124
164
|
/**
|
|
125
165
|
* Human-readable description of the failure.
|
|
126
166
|
*/
|
|
@@ -141,11 +181,7 @@ export interface ReturnListResponse {
|
|
|
141
181
|
*/
|
|
142
182
|
amount: string;
|
|
143
183
|
/**
|
|
144
|
-
*
|
|
145
|
-
*/
|
|
146
|
-
created_at: string;
|
|
147
|
-
/**
|
|
148
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
184
|
+
* Currency code (ISO 4217 or crypto).
|
|
149
185
|
*/
|
|
150
186
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
151
187
|
/**
|
|
@@ -156,18 +192,31 @@ export interface ReturnListResponse {
|
|
|
156
192
|
* Failure details when status is failed, otherwise null.
|
|
157
193
|
*/
|
|
158
194
|
failure: ReturnListResponse.Failure | null;
|
|
195
|
+
/**
|
|
196
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
197
|
+
*/
|
|
198
|
+
initiated_at: string;
|
|
199
|
+
/**
|
|
200
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
201
|
+
*/
|
|
202
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
203
|
+
/**
|
|
204
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
205
|
+
*/
|
|
206
|
+
sent_at: string | null;
|
|
159
207
|
/**
|
|
160
208
|
* Current status of the return.
|
|
161
209
|
*/
|
|
162
|
-
status: '
|
|
210
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
163
211
|
/**
|
|
164
|
-
*
|
|
212
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
213
|
+
* rails support this field.
|
|
165
214
|
*/
|
|
166
|
-
|
|
215
|
+
tx_hash: string | null;
|
|
167
216
|
/**
|
|
168
|
-
*
|
|
217
|
+
* Resource type discriminator.
|
|
169
218
|
*/
|
|
170
|
-
|
|
219
|
+
type: 'return';
|
|
171
220
|
}
|
|
172
221
|
export declare namespace ReturnListResponse {
|
|
173
222
|
/**
|
|
@@ -177,7 +226,7 @@ export declare namespace ReturnListResponse {
|
|
|
177
226
|
/**
|
|
178
227
|
* Failure code.
|
|
179
228
|
*/
|
|
180
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
229
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
181
230
|
/**
|
|
182
231
|
* Human-readable description of the failure.
|
|
183
232
|
*/
|
|
@@ -193,10 +242,6 @@ export interface ReturnCreateParams {
|
|
|
193
242
|
* Deposit to return funds from.
|
|
194
243
|
*/
|
|
195
244
|
deposit_id: string;
|
|
196
|
-
/**
|
|
197
|
-
* Payment rail when the deposit allows multiple schemes.
|
|
198
|
-
*/
|
|
199
|
-
rail?: 'sepa_instant' | 'sepa' | 'faster_payments';
|
|
200
245
|
}
|
|
201
246
|
export interface ReturnListParams extends CursorPageParams {
|
|
202
247
|
created_at?: ReturnListParams.CreatedAt;
|
|
@@ -205,9 +250,9 @@ export interface ReturnListParams extends CursorPageParams {
|
|
|
205
250
|
*/
|
|
206
251
|
deposit_id?: string;
|
|
207
252
|
/**
|
|
208
|
-
*
|
|
253
|
+
* Filter by return status.
|
|
209
254
|
*/
|
|
210
|
-
status?: '
|
|
255
|
+
status?: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
211
256
|
}
|
|
212
257
|
export declare namespace ReturnListParams {
|
|
213
258
|
interface CreatedAt {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"returns.d.mts","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,+BAA2B;AACpF,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"returns.d.mts","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,+BAA2B;AACpF,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;CAGlE;AAED,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,kBAAkB,CAAC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AEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,UAAU,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC;IAExC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;CACrE;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,SAAS;QACxB;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/returns.d.ts
CHANGED
|
@@ -5,14 +5,36 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
5
5
|
export declare class Returns extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Initiates a return of funds from a deposit to the source.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const _return = await client.returns.create({
|
|
12
|
+
* deposit_id: '550e8400-e29b-41d4-a716-446655440004',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
8
15
|
*/
|
|
9
16
|
create(body: ReturnCreateParams, options?: RequestOptions): APIPromise<ReturnCreateResponse>;
|
|
10
17
|
/**
|
|
11
18
|
* Retrieves a return by ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const _return = await client.returns.retrieve(
|
|
23
|
+
* '550e8400-e29b-41d4-a716-446655440005',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
12
26
|
*/
|
|
13
27
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReturnRetrieveResponse>;
|
|
14
28
|
/**
|
|
15
29
|
* Lists deposit returns for the merchant with cursor-based pagination.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* // Automatically fetches more pages as needed.
|
|
34
|
+
* for await (const returnListResponse of client.returns.list()) {
|
|
35
|
+
* // ...
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
16
38
|
*/
|
|
17
39
|
list(query?: ReturnListParams | null | undefined, options?: RequestOptions): PagePromise<ReturnListResponsesCursorPage, ReturnListResponse>;
|
|
18
40
|
}
|
|
@@ -27,11 +49,7 @@ export interface ReturnCreateResponse {
|
|
|
27
49
|
*/
|
|
28
50
|
amount: string;
|
|
29
51
|
/**
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
created_at: string;
|
|
33
|
-
/**
|
|
34
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
52
|
+
* Currency code (ISO 4217 or crypto).
|
|
35
53
|
*/
|
|
36
54
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
37
55
|
/**
|
|
@@ -42,18 +60,31 @@ export interface ReturnCreateResponse {
|
|
|
42
60
|
* Failure details when status is failed, otherwise null.
|
|
43
61
|
*/
|
|
44
62
|
failure: ReturnCreateResponse.Failure | null;
|
|
63
|
+
/**
|
|
64
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
65
|
+
*/
|
|
66
|
+
initiated_at: string;
|
|
67
|
+
/**
|
|
68
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
69
|
+
*/
|
|
70
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
71
|
+
/**
|
|
72
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
73
|
+
*/
|
|
74
|
+
sent_at: string | null;
|
|
45
75
|
/**
|
|
46
76
|
* Current status of the return.
|
|
47
77
|
*/
|
|
48
|
-
status: '
|
|
78
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
49
79
|
/**
|
|
50
|
-
*
|
|
80
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
81
|
+
* rails support this field.
|
|
51
82
|
*/
|
|
52
|
-
|
|
83
|
+
tx_hash: string | null;
|
|
53
84
|
/**
|
|
54
|
-
*
|
|
85
|
+
* Resource type discriminator.
|
|
55
86
|
*/
|
|
56
|
-
|
|
87
|
+
type: 'return';
|
|
57
88
|
}
|
|
58
89
|
export declare namespace ReturnCreateResponse {
|
|
59
90
|
/**
|
|
@@ -63,7 +94,7 @@ export declare namespace ReturnCreateResponse {
|
|
|
63
94
|
/**
|
|
64
95
|
* Failure code.
|
|
65
96
|
*/
|
|
66
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
97
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
67
98
|
/**
|
|
68
99
|
* Human-readable description of the failure.
|
|
69
100
|
*/
|
|
@@ -84,11 +115,7 @@ export interface ReturnRetrieveResponse {
|
|
|
84
115
|
*/
|
|
85
116
|
amount: string;
|
|
86
117
|
/**
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
created_at: string;
|
|
90
|
-
/**
|
|
91
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
118
|
+
* Currency code (ISO 4217 or crypto).
|
|
92
119
|
*/
|
|
93
120
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
94
121
|
/**
|
|
@@ -99,18 +126,31 @@ export interface ReturnRetrieveResponse {
|
|
|
99
126
|
* Failure details when status is failed, otherwise null.
|
|
100
127
|
*/
|
|
101
128
|
failure: ReturnRetrieveResponse.Failure | null;
|
|
129
|
+
/**
|
|
130
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
131
|
+
*/
|
|
132
|
+
initiated_at: string;
|
|
133
|
+
/**
|
|
134
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
135
|
+
*/
|
|
136
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
137
|
+
/**
|
|
138
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
139
|
+
*/
|
|
140
|
+
sent_at: string | null;
|
|
102
141
|
/**
|
|
103
142
|
* Current status of the return.
|
|
104
143
|
*/
|
|
105
|
-
status: '
|
|
144
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
106
145
|
/**
|
|
107
|
-
*
|
|
146
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
147
|
+
* rails support this field.
|
|
108
148
|
*/
|
|
109
|
-
|
|
149
|
+
tx_hash: string | null;
|
|
110
150
|
/**
|
|
111
|
-
*
|
|
151
|
+
* Resource type discriminator.
|
|
112
152
|
*/
|
|
113
|
-
|
|
153
|
+
type: 'return';
|
|
114
154
|
}
|
|
115
155
|
export declare namespace ReturnRetrieveResponse {
|
|
116
156
|
/**
|
|
@@ -120,7 +160,7 @@ export declare namespace ReturnRetrieveResponse {
|
|
|
120
160
|
/**
|
|
121
161
|
* Failure code.
|
|
122
162
|
*/
|
|
123
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
163
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
124
164
|
/**
|
|
125
165
|
* Human-readable description of the failure.
|
|
126
166
|
*/
|
|
@@ -141,11 +181,7 @@ export interface ReturnListResponse {
|
|
|
141
181
|
*/
|
|
142
182
|
amount: string;
|
|
143
183
|
/**
|
|
144
|
-
*
|
|
145
|
-
*/
|
|
146
|
-
created_at: string;
|
|
147
|
-
/**
|
|
148
|
-
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
184
|
+
* Currency code (ISO 4217 or crypto).
|
|
149
185
|
*/
|
|
150
186
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
151
187
|
/**
|
|
@@ -156,18 +192,31 @@ export interface ReturnListResponse {
|
|
|
156
192
|
* Failure details when status is failed, otherwise null.
|
|
157
193
|
*/
|
|
158
194
|
failure: ReturnListResponse.Failure | null;
|
|
195
|
+
/**
|
|
196
|
+
* ISO 8601 UTC timestamp when the return was initiated.
|
|
197
|
+
*/
|
|
198
|
+
initiated_at: string;
|
|
199
|
+
/**
|
|
200
|
+
* Payment scheme or blockchain used for the return, or null when unknown.
|
|
201
|
+
*/
|
|
202
|
+
rail: 'sepa' | 'sepa_instant' | 'faster_payments' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'bitcoin' | 'bitcoin_testnet4' | 'ethereum' | 'ethereum_sepolia' | 'solana' | 'solana_devnet' | 'polygon' | 'polygon_amoy' | null;
|
|
203
|
+
/**
|
|
204
|
+
* ISO 8601 UTC timestamp when the return was sent.
|
|
205
|
+
*/
|
|
206
|
+
sent_at: string | null;
|
|
159
207
|
/**
|
|
160
208
|
* Current status of the return.
|
|
161
209
|
*/
|
|
162
|
-
status: '
|
|
210
|
+
status: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
163
211
|
/**
|
|
164
|
-
*
|
|
212
|
+
* Transaction hash for crypto returns, or null when not known. Only blockchain
|
|
213
|
+
* rails support this field.
|
|
165
214
|
*/
|
|
166
|
-
|
|
215
|
+
tx_hash: string | null;
|
|
167
216
|
/**
|
|
168
|
-
*
|
|
217
|
+
* Resource type discriminator.
|
|
169
218
|
*/
|
|
170
|
-
|
|
219
|
+
type: 'return';
|
|
171
220
|
}
|
|
172
221
|
export declare namespace ReturnListResponse {
|
|
173
222
|
/**
|
|
@@ -177,7 +226,7 @@ export declare namespace ReturnListResponse {
|
|
|
177
226
|
/**
|
|
178
227
|
* Failure code.
|
|
179
228
|
*/
|
|
180
|
-
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
229
|
+
code: 'account_closed' | 'account_blocked' | 'insufficient_funds' | 'invalid_account_format' | 'invalid_routing_number' | 'invalid_instruction' | 'invalid_amount' | 'invalid_time' | 'duplicate_transaction' | 'payee_verification_failed' | 'system_error' | 'provider_system_error' | 'rejected_by_correspondent_bank' | 'blocked_by_review' | 'unknown';
|
|
181
230
|
/**
|
|
182
231
|
* Human-readable description of the failure.
|
|
183
232
|
*/
|
|
@@ -193,10 +242,6 @@ export interface ReturnCreateParams {
|
|
|
193
242
|
* Deposit to return funds from.
|
|
194
243
|
*/
|
|
195
244
|
deposit_id: string;
|
|
196
|
-
/**
|
|
197
|
-
* Payment rail when the deposit allows multiple schemes.
|
|
198
|
-
*/
|
|
199
|
-
rail?: 'sepa_instant' | 'sepa' | 'faster_payments';
|
|
200
245
|
}
|
|
201
246
|
export interface ReturnListParams extends CursorPageParams {
|
|
202
247
|
created_at?: ReturnListParams.CreatedAt;
|
|
@@ -205,9 +250,9 @@ export interface ReturnListParams extends CursorPageParams {
|
|
|
205
250
|
*/
|
|
206
251
|
deposit_id?: string;
|
|
207
252
|
/**
|
|
208
|
-
*
|
|
253
|
+
* Filter by return status.
|
|
209
254
|
*/
|
|
210
|
-
status?: '
|
|
255
|
+
status?: 'initiated' | 'submitted' | 'sent' | 'failed' | 'returned';
|
|
211
256
|
}
|
|
212
257
|
export declare namespace ReturnListParams {
|
|
213
258
|
interface CreatedAt {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"returns.d.ts","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,8BAA2B;AACpF,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"returns.d.ts","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,8BAA2B;AACpF,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,OA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
@@ -8,18 +8,40 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
8
8
|
class Returns extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Initiates a return of funds from a deposit to the source.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const _return = await client.returns.create({
|
|
15
|
+
* deposit_id: '550e8400-e29b-41d4-a716-446655440004',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
11
18
|
*/
|
|
12
19
|
create(body, options) {
|
|
13
20
|
return this._client.post('/v1/returns', { body, ...options });
|
|
14
21
|
}
|
|
15
22
|
/**
|
|
16
23
|
* Retrieves a return by ID.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const _return = await client.returns.retrieve(
|
|
28
|
+
* '550e8400-e29b-41d4-a716-446655440005',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
17
31
|
*/
|
|
18
32
|
retrieve(id, options) {
|
|
19
33
|
return this._client.get((0, path_1.path) `/v1/returns/${id}`, options);
|
|
20
34
|
}
|
|
21
35
|
/**
|
|
22
36
|
* Lists deposit returns for the merchant with cursor-based pagination.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* // Automatically fetches more pages as needed.
|
|
41
|
+
* for await (const returnListResponse of client.returns.list()) {
|
|
42
|
+
* // ...
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
23
45
|
*/
|
|
24
46
|
list(query = {}, options) {
|
|
25
47
|
return this._client.getAPIList('/v1/returns', (pagination_1.CursorPage), { query, ...options });
|
package/resources/returns.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"returns.js","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC
|
|
1
|
+
{"version":3,"file":"returns.js","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,uBAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF;AA9CD,0BA8CC"}
|
package/resources/returns.mjs
CHANGED
|
@@ -5,18 +5,40 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
5
5
|
export class Returns extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Initiates a return of funds from a deposit to the source.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const _return = await client.returns.create({
|
|
12
|
+
* deposit_id: '550e8400-e29b-41d4-a716-446655440004',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
8
15
|
*/
|
|
9
16
|
create(body, options) {
|
|
10
17
|
return this._client.post('/v1/returns', { body, ...options });
|
|
11
18
|
}
|
|
12
19
|
/**
|
|
13
20
|
* Retrieves a return by ID.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const _return = await client.returns.retrieve(
|
|
25
|
+
* '550e8400-e29b-41d4-a716-446655440005',
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
14
28
|
*/
|
|
15
29
|
retrieve(id, options) {
|
|
16
30
|
return this._client.get(path `/v1/returns/${id}`, options);
|
|
17
31
|
}
|
|
18
32
|
/**
|
|
19
33
|
* Lists deposit returns for the merchant with cursor-based pagination.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* // Automatically fetches more pages as needed.
|
|
38
|
+
* for await (const returnListResponse of client.returns.list()) {
|
|
39
|
+
* // ...
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
20
42
|
*/
|
|
21
43
|
list(query = {}, options) {
|
|
22
44
|
return this._client.getAPIList('/v1/returns', (CursorPage), { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"returns.mjs","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,UAAU,EAAsC,+BAA2B;AAEpF,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"returns.mjs","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,UAAU,EAAsC,+BAA2B;AAEpF,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,UAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF"}
|
package/resources/scopes.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ export declare namespace ScopeListResponse {
|
|
|
19
19
|
/**
|
|
20
20
|
* Scope identifier in `resource:action` format.
|
|
21
21
|
*/
|
|
22
|
-
id: 'payouts:read' | 'payouts:write' | 'deposits:read' | 'returns:read' | 'returns:write' | 'conversions:read' | 'conversions:write' | 'quotes:read' | 'accounts:read' | 'accounts:write' | 'account_programs:read' | 'account_holders:read' | 'account_holders:write' | 'webhook_subscriptions:read' | 'webhook_subscriptions:write' | 'events:read' | 'webhook_deliveries:read' | 'webhook_deliveries:write' | 'transactions:read';
|
|
22
|
+
id: 'payouts:read' | 'payouts:write' | 'deposits:read' | 'returns:read' | 'returns:write' | 'conversions:read' | 'conversions:write' | 'quotes:read' | 'accounts:read' | 'accounts:write' | 'account_programs:read' | 'account_holders:read' | 'account_holders:write' | 'counterparties:read' | 'counterparties:write' | 'webhook_subscriptions:read' | 'webhook_subscriptions:write' | 'events:read' | 'webhook_deliveries:read' | 'webhook_deliveries:write' | 'transactions:read' | 'simulations:write';
|
|
23
23
|
/**
|
|
24
24
|
* Action category.
|
|
25
25
|
*/
|
|
@@ -40,6 +40,9 @@ export declare namespace ScopeListResponse {
|
|
|
40
40
|
* Resource the scope applies to.
|
|
41
41
|
*/
|
|
42
42
|
resource: string;
|
|
43
|
+
/**
|
|
44
|
+
* Resource type discriminator.
|
|
45
|
+
*/
|
|
43
46
|
type: 'scope';
|
|
44
47
|
}
|
|
45
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scopes.d.mts","sourceRoot":"","sources":["../src/resources/scopes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEpC,QAAQ,EAAE,OAAO,CAAC;IAElB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EACE,cAAc,GACd,eAAe,GACf,eAAe,GACf,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,uBAAuB,GACvB,sBAAsB,GACtB,uBAAuB,GACvB,4BAA4B,GAC5B,6BAA6B,GAC7B,aAAa,GACb,yBAAyB,GACzB,0BAA0B,GAC1B,mBAAmB,CAAC;QAExB;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;QAEzB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,OAAO,CAA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