@stable_sea/sdk 0.1.4 → 0.1.5
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/README.md +28 -13
- package/dist/gen/schema.d.ts +584 -86
- package/package.json +4 -4
package/dist/gen/schema.d.ts
CHANGED
|
@@ -73,19 +73,21 @@ export interface paths {
|
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* List balances
|
|
76
|
-
* @description Lists
|
|
76
|
+
* @description Lists the business's balances, with one row per chain, source, asset and segregated rail. To calculate an asset total, sum its rows. A present `segregated_rail` restricts a balance to that rail; an omitted value identifies a spendable balance.
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
* **Amounts**
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
* `balance_native` is settled. `pending_incoming_native` and `pending_outgoing_native` are separate, non-negative amounts; they are not netted against each other. Within each amount, credits and debits passing through the same account in a single movement are netted.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* USD fields are omitted when no rate is available at `created_ts`. An omitted value means unpriced, not zero.
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
* **Pagination**
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
* `limit` defaults to 10 and cannot exceed 100. Use a balance ID as either `starting_after` or `ending_before`, not both. Rows are ordered by chain, source, asset and rail. `has_more` refers to the requested paging direction. A cursor that no longer identifies a current balance, including an emptied bucket, returns an error.
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
* **Snapshot**
|
|
89
|
+
*
|
|
90
|
+
* Balances are read live. All amounts and USD valuations reflect the snapshot time in `created_ts`. A balance ID is stable for the same business, chain, source, asset and rail.
|
|
89
91
|
*/
|
|
90
92
|
get: operations["balances.list"];
|
|
91
93
|
put?: never;
|
|
@@ -105,13 +107,11 @@ export interface paths {
|
|
|
105
107
|
};
|
|
106
108
|
/**
|
|
107
109
|
* Retrieve a balance
|
|
108
|
-
* @description Retrieves one balance by
|
|
109
|
-
*
|
|
110
|
-
* A balance is ONE (chain, source, asset, segregated rail) bucket, not an asset total. Its id is derived from that key, so it is stable across reads and can be stored and re-read.
|
|
110
|
+
* @description Retrieves one balance by its stable ID. Each balance represents a chain, source, asset and segregated rail, rather than an asset total.
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
* `balance_native` is settled. Pending incoming and outgoing amounts are reported separately. Within each pending amount, credits and debits passing through the same account in a single movement are netted. USD fields are omitted when no rate is available at `created_ts`; omission means unpriced, not zero.
|
|
113
113
|
*
|
|
114
|
-
*
|
|
114
|
+
* Unknown, emptied, and cross-business balance IDs return the same not-found response.
|
|
115
115
|
*/
|
|
116
116
|
get: operations["balances.get"];
|
|
117
117
|
put?: never;
|
|
@@ -151,17 +151,17 @@ export interface paths {
|
|
|
151
151
|
};
|
|
152
152
|
/**
|
|
153
153
|
* List events
|
|
154
|
-
* @description Lists
|
|
154
|
+
* @description Lists all eligible events for the credential's business and environment, newest first. One credential addresses one business; there is no additional account scope. Events about pay-ins, payouts and held deposits are excluded.
|
|
155
155
|
*
|
|
156
|
-
*
|
|
156
|
+
* **Availability**
|
|
157
157
|
*
|
|
158
|
-
*
|
|
158
|
+
* Events enter the list 60 seconds after `created_ts`. Retrieve by ID to read an event during that window. The delay keeps cursor pages stable: older events do not appear behind a cursor that has already passed them. Events remain available for at least 90 days after recording.
|
|
159
159
|
*
|
|
160
|
-
*
|
|
160
|
+
* **Pagination**
|
|
161
161
|
*
|
|
162
|
-
*
|
|
162
|
+
* `limit` defaults to 10 and cannot exceed 100. Larger values are rejected. Use an event ID as either `starting_after` for older events or `ending_before` for immediately newer events, not both. Both directions return newest-first pages.
|
|
163
163
|
*
|
|
164
|
-
*
|
|
164
|
+
* `has_more` refers to currently listable events in the requested direction. It may be false while newer events are still within the availability window. Unknown, excluded, cross-business and cross-environment cursors return the same invalid-cursor response. Restart from the newest page by omitting the cursor.
|
|
165
165
|
*/
|
|
166
166
|
get: operations["events.list"];
|
|
167
167
|
put?: never;
|
|
@@ -181,13 +181,9 @@ export interface paths {
|
|
|
181
181
|
};
|
|
182
182
|
/**
|
|
183
183
|
* Retrieve an event
|
|
184
|
-
* @description Retrieves
|
|
185
|
-
*
|
|
186
|
-
* FRESHNESS. Retrieval is not lagged: an event is readable as soon as it is recorded, including during the 60 seconds before it becomes listable.
|
|
184
|
+
* @description Retrieves an eligible event for the credential's business and environment. Events are readable immediately after recording, including the 60 seconds before they appear in list results, and remain retrievable for at least 90 days.
|
|
187
185
|
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
* RETENTION. An event remains retrievable for at least 90 days after it is recorded.
|
|
186
|
+
* One credential addresses one business; there is no additional account scope. Events about pay-ins, payouts and held deposits are excluded. Unknown, excluded, cross-business and cross-environment IDs return the same not-found response.
|
|
191
187
|
*/
|
|
192
188
|
get: operations["events.get"];
|
|
193
189
|
put?: never;
|
|
@@ -198,6 +194,26 @@ export interface paths {
|
|
|
198
194
|
patch?: never;
|
|
199
195
|
trace?: never;
|
|
200
196
|
};
|
|
197
|
+
"/v1/external_wallet_operations/{id}": {
|
|
198
|
+
parameters: {
|
|
199
|
+
query?: never;
|
|
200
|
+
header?: never;
|
|
201
|
+
path?: never;
|
|
202
|
+
cookie?: never;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Retrieve an external wallet operation
|
|
206
|
+
* @description Returns processing status and the resulting wallet id. A succeeded registration records the wallet; it does not promise screening clearance, custodian approval or withdrawal eligibility.
|
|
207
|
+
*/
|
|
208
|
+
get: operations["external_wallet_operations.get"];
|
|
209
|
+
put?: never;
|
|
210
|
+
post?: never;
|
|
211
|
+
delete?: never;
|
|
212
|
+
options?: never;
|
|
213
|
+
head?: never;
|
|
214
|
+
patch?: never;
|
|
215
|
+
trace?: never;
|
|
216
|
+
};
|
|
201
217
|
"/v1/external_wallets": {
|
|
202
218
|
parameters: {
|
|
203
219
|
query?: never;
|
|
@@ -207,17 +223,29 @@ export interface paths {
|
|
|
207
223
|
};
|
|
208
224
|
/**
|
|
209
225
|
* List external wallets
|
|
210
|
-
* @description Lists
|
|
226
|
+
* @description Lists withdrawal addresses connected to the business, with the latest available on-chain holdings of tokens Stable Sea tracks. These holdings describe the external address and are excluded from `/v1/balances`.
|
|
227
|
+
*
|
|
228
|
+
* **Holdings**
|
|
229
|
+
*
|
|
230
|
+
* Holdings are available for wallets that are enabled, cleared for withdrawals, and on Ethereum or Stellar. Reads run in the background every few minutes. Readings are returned for up to 15 minutes; `holdings_read_ts` identifies the reading time.
|
|
211
231
|
*
|
|
212
|
-
*
|
|
232
|
+
* - `ok`: the latest read succeeded.
|
|
233
|
+
* - `stale`: the latest read failed; the last successful reading is shown.
|
|
234
|
+
* - `unavailable`: no reading is available. This does not mean the wallet is empty.
|
|
235
|
+
* - `shared_address`: a Stellar address with a memo; address-level holdings cannot be attributed to this destination.
|
|
236
|
+
* - `not_monitored`: the wallet does not meet the monitoring conditions. It is still listed, without holdings.
|
|
213
237
|
*
|
|
214
|
-
*
|
|
238
|
+
* **Pagination**
|
|
215
239
|
*
|
|
216
|
-
*
|
|
240
|
+
* `limit` defaults to 10 and cannot exceed 100. Use an external wallet ID as either `starting_after` or `ending_before`, not both. Wallets are ordered newest first by `created_ts`, then ID. An unknown or removed cursor returns an error.
|
|
217
241
|
*/
|
|
218
242
|
get: operations["external_wallets.list"];
|
|
219
243
|
put?: never;
|
|
220
|
-
|
|
244
|
+
/**
|
|
245
|
+
* Register an external wallet
|
|
246
|
+
* @description Submits a business-owned wallet for registration using the same validation, screening and network rules as Terminal. Poll the returned operation until processing succeeds or fails, then retrieve its external_wallet. Registration does not enable withdrawals or clear a pending review. Requires money:external_wallets_write and an Idempotency-Key.
|
|
247
|
+
*/
|
|
248
|
+
post: operations["external_wallets.create"];
|
|
221
249
|
delete?: never;
|
|
222
250
|
options?: never;
|
|
223
251
|
head?: never;
|
|
@@ -233,15 +261,17 @@ export interface paths {
|
|
|
233
261
|
};
|
|
234
262
|
/**
|
|
235
263
|
* Retrieve an external wallet
|
|
236
|
-
* @description Retrieves one
|
|
264
|
+
* @description Retrieves one withdrawal address connected to the business, with its latest available on-chain holdings when monitored. Holdings describe the external address and are excluded from `/v1/balances`. See the list endpoint for monitoring conditions and `holdings_status` values.
|
|
237
265
|
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
* SCOPING. Any wallet this credential's business has connected may be retrieved, and nothing else. An id that names no wallet, one belonging to another business, and one whose wallet has been removed are answered identically.
|
|
266
|
+
* Unknown, removed, and cross-business wallet IDs return the same not-found response.
|
|
241
267
|
*/
|
|
242
268
|
get: operations["external_wallets.get"];
|
|
243
269
|
put?: never;
|
|
244
|
-
|
|
270
|
+
/**
|
|
271
|
+
* Rename an external wallet
|
|
272
|
+
* @description Submits a rename for a wallet your business connected. The new name is screened using Terminal's existing rules. Poll the returned operation for the outcome. The address, network and other wallet properties remain unchanged.
|
|
273
|
+
*/
|
|
274
|
+
post: operations["external_wallets.rename"];
|
|
245
275
|
delete?: never;
|
|
246
276
|
options?: never;
|
|
247
277
|
head?: never;
|
|
@@ -303,11 +333,11 @@ export interface paths {
|
|
|
303
333
|
put?: never;
|
|
304
334
|
/**
|
|
305
335
|
* Place a fund order
|
|
306
|
-
* @description
|
|
336
|
+
* @description Creates a fund order for the authenticated business and returns it as `pending`. Execution is asynchronous and uses the same authorization checks and trading engine as Terminal. Retrieve the order to follow it through `executing` to `filled` or `failed`.
|
|
307
337
|
*
|
|
308
|
-
*
|
|
338
|
+
* The quoted price is checked against the NAV at execution. Price changes and insufficient express liquidity can cause execution to fail. The failed order includes a reason. While the quote remains valid, an express refusal can be submitted as a new standard order.
|
|
309
339
|
*
|
|
310
|
-
*
|
|
340
|
+
* Use a Live key with the production URL or a Test key with the sandbox URL. A credential environment this host does not serve returns `environment_not_served` before an order or idempotency record is created.
|
|
311
341
|
*/
|
|
312
342
|
post: operations["orders.create"];
|
|
313
343
|
delete?: never;
|
|
@@ -345,7 +375,15 @@ export interface paths {
|
|
|
345
375
|
};
|
|
346
376
|
/**
|
|
347
377
|
* Read effective money controls
|
|
348
|
-
* @description
|
|
378
|
+
* @description Returns the authenticated business's movement switches, effective limits, usage and outgoing approval tiers. This read-only snapshot does not authorize a transfer or enable withdrawal creation through the API. Controls are checked again when a request executes.
|
|
379
|
+
*
|
|
380
|
+
* **Limits**
|
|
381
|
+
*
|
|
382
|
+
* A null limit means no flow-wide USD cap; other asset and settlement checks still apply. Limit windows include calendar and rolling periods. Release delay and destination cooloff report `supported: false`.
|
|
383
|
+
*
|
|
384
|
+
* **Approvals**
|
|
385
|
+
*
|
|
386
|
+
* The highest matching approval threshold applies when USD valuation is available. If valuation is unavailable for an on-chain withdrawal or fund trade, the highest configured rule for that flow applies regardless of amount. A pending request must be resubmitted if its policy changes.
|
|
349
387
|
*/
|
|
350
388
|
get: operations["policies.snapshot"];
|
|
351
389
|
put?: never;
|
|
@@ -365,11 +403,9 @@ export interface paths {
|
|
|
365
403
|
};
|
|
366
404
|
/**
|
|
367
405
|
* Price a fund trade
|
|
368
|
-
* @description
|
|
406
|
+
* @description Returns a price to include when placing a fund order. Quotes are calculated on request, have no ID and cannot be retrieved later.
|
|
369
407
|
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
* A refused express order can be re-placed with settlement "standard" against this same quote while it is unexpired. The price is the same either way; express changes only the commission and the delivered quantity.
|
|
408
|
+
* `express` describes the commission, order limit, estimated quantity and settlement estimate for express settlement. These terms do not guarantee available liquidity. An express order may fail at execution; while the quote remains valid, you can submit a new standard order using the same quoted price. Standard settlement changes the commission and delivered quantity, not the quoted price.
|
|
373
409
|
*/
|
|
374
410
|
get: operations["quotes.quote"];
|
|
375
411
|
put?: never;
|
|
@@ -469,23 +505,30 @@ export interface paths {
|
|
|
469
505
|
};
|
|
470
506
|
/**
|
|
471
507
|
* List transactions
|
|
472
|
-
* @description Lists the business's money movements, newest first.
|
|
508
|
+
* @description Lists the business's money movements, newest first. Each transaction represents one movement.
|
|
509
|
+
*
|
|
510
|
+
* **Settled amounts**
|
|
511
|
+
*
|
|
512
|
+
* `asset_changes` reports the signed net effect on the business's settled holdings, after fees and taxes: negative amounts decrease holdings and positive amounts increase them. Transfers through accounts outside `/v1/balances`, such as bank accounts and external addresses, are excluded from these amounts. Failed, unsettled parts of a movement contribute no change.
|
|
473
513
|
*
|
|
474
|
-
*
|
|
514
|
+
* Reconcile using `asset_changes` from all transactions, including failed transactions, rather than filtering by status. A partially settled movement reports the changes that settled. Pay-ins and payouts are excluded from transaction, statement-transaction and event lists, but still affect balances and statement totals. Businesses with those movements need additional payment records to reconcile.
|
|
475
515
|
*
|
|
476
|
-
*
|
|
516
|
+
* **Status**
|
|
477
517
|
*
|
|
478
|
-
*
|
|
518
|
+
* - `pending`: execution has not started.
|
|
519
|
+
* - `processing`: at least one part is in flight.
|
|
520
|
+
* - `completed`: all parts settled; `completed_ts` records the final settlement.
|
|
521
|
+
* - `failed`: the movement ended unsuccessfully; `failed_ts` records the failure. Some parts may already have settled and are included in `asset_changes`.
|
|
479
522
|
*
|
|
480
|
-
*
|
|
523
|
+
* **Pagination**
|
|
481
524
|
*
|
|
482
|
-
*
|
|
525
|
+
* `limit` defaults to 10 and cannot exceed 100. Use a transaction ID as either `starting_after` for older transactions or `ending_before` for immediately newer transactions, not both. Both directions return newest-first pages. `has_more` refers to the requested direction. An unreadable cursor returns an error.
|
|
483
526
|
*
|
|
484
|
-
*
|
|
527
|
+
* The order is fixed by `created_ts` and ID. New activity does not shift an older-page sweep; changing direction can return a previously seen transaction. Deduplicate by ID.
|
|
485
528
|
*
|
|
486
|
-
*
|
|
529
|
+
* **Updates**
|
|
487
530
|
*
|
|
488
|
-
*
|
|
531
|
+
* Transactions are available as soon as they are booked. Reads return the current status and settled changes. ID, `created_ts` and type remain unchanged.
|
|
489
532
|
*/
|
|
490
533
|
get: operations["transactions.list"];
|
|
491
534
|
put?: never;
|
|
@@ -505,17 +548,15 @@ export interface paths {
|
|
|
505
548
|
};
|
|
506
549
|
/**
|
|
507
550
|
* Retrieve a transaction
|
|
508
|
-
* @description Retrieves one
|
|
551
|
+
* @description Retrieves one money movement by its stable transaction ID.
|
|
509
552
|
*
|
|
510
|
-
*
|
|
553
|
+
* `asset_changes` reports its signed net effect on the business's settled holdings, after fees and taxes. Negative amounts decrease holdings; positive amounts increase them. Parts that have not settled, or that touch accounts outside `/v1/balances`, contribute no change.
|
|
511
554
|
*
|
|
512
|
-
*
|
|
555
|
+
* A movement can fail after partial settlement. Reconcile using the settled changes from every transaction, including failed ones. Pay-ins and payouts are excluded from this API but still affect balances and statement totals, so businesses with those movements need additional payment records to reconcile.
|
|
513
556
|
*
|
|
514
|
-
*
|
|
557
|
+
* The status is `pending`, `processing`, `completed` or `failed`. `completed_ts` and `failed_ts` are mutually exclusive and absent while execution is pending or processing.
|
|
515
558
|
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
* SCOPING. Any transaction booked for this credential's business may be retrieved, and nothing else. An id that names no movement and one belonging to another business are answered identically.
|
|
559
|
+
* Unknown and cross-business IDs return the same not-found response.
|
|
519
560
|
*/
|
|
520
561
|
get: operations["transactions.get"];
|
|
521
562
|
put?: never;
|
|
@@ -541,7 +582,7 @@ export interface paths {
|
|
|
541
582
|
put?: never;
|
|
542
583
|
/**
|
|
543
584
|
* Create a webhook endpoint
|
|
544
|
-
* @description Registers one HTTPS webhook endpoint for the authenticated business. The signing secret is returned only by this response and its
|
|
585
|
+
* @description Registers one HTTPS webhook endpoint for the authenticated business. The signing secret is returned only by this response and a replay of the same request with its idempotency key.
|
|
545
586
|
*/
|
|
546
587
|
post: operations["webhook_endpoints.create"];
|
|
547
588
|
delete?: never;
|
|
@@ -583,7 +624,7 @@ export interface paths {
|
|
|
583
624
|
};
|
|
584
625
|
/**
|
|
585
626
|
* List webhook deliveries
|
|
586
|
-
* @description Lists
|
|
627
|
+
* @description Lists delivery status for an endpoint, newest first, without signing secrets. limit defaults to 10 and may not exceed 100. starting_after and ending_before are mutually exclusive. Deliveries of events about pay-ins and payouts (and held deposits, which have no /v1 transaction) are not served, and none is sent. A cursor that names a withheld delivery is refused like a cursor that names no delivery, so restart from the newest page by sending no cursor.
|
|
587
628
|
*/
|
|
588
629
|
get: operations["webhook_deliveries.list"];
|
|
589
630
|
put?: never;
|
|
@@ -645,7 +686,7 @@ export interface paths {
|
|
|
645
686
|
put?: never;
|
|
646
687
|
/**
|
|
647
688
|
* Disable a webhook endpoint
|
|
648
|
-
* @description Disables a webhook endpoint so future events are
|
|
689
|
+
* @description Disables a webhook endpoint so future events are no longer scheduled for delivery. Repeating the operation is safe.
|
|
649
690
|
*/
|
|
650
691
|
post: operations["webhook_endpoints.disable"];
|
|
651
692
|
delete?: never;
|
|
@@ -665,7 +706,7 @@ export interface paths {
|
|
|
665
706
|
put?: never;
|
|
666
707
|
/**
|
|
667
708
|
* Rotate a webhook endpoint signing secret
|
|
668
|
-
* @description Issues a replacement signing secret for this endpoint. The secret is returned only by this response and its
|
|
709
|
+
* @description Issues a replacement signing secret for this endpoint. The secret is returned only by this response and a replay of the same request with its idempotency key.
|
|
669
710
|
*/
|
|
670
711
|
post: operations["webhook_endpoints.rotate_secret"];
|
|
671
712
|
delete?: never;
|
|
@@ -695,7 +736,7 @@ export interface components {
|
|
|
695
736
|
capabilities: string[];
|
|
696
737
|
/**
|
|
697
738
|
* Format: date-time
|
|
698
|
-
* @description When
|
|
739
|
+
* @description When the business's first API credential was issued in this environment. Unchanged by key rotation; separate from the business's signup date.
|
|
699
740
|
*/
|
|
700
741
|
created_ts: string;
|
|
701
742
|
/** @description The account id. Constant for the life of a credential. */
|
|
@@ -716,7 +757,7 @@ export interface components {
|
|
|
716
757
|
asset: string;
|
|
717
758
|
/** @description The settled balance, in the asset's own units. */
|
|
718
759
|
balance_native: string;
|
|
719
|
-
/** @description
|
|
760
|
+
/** @description Settled balance in USD. Omitted when no rate is available at created_ts; omission means unpriced, not zero. */
|
|
720
761
|
balance_usd?: string;
|
|
721
762
|
/**
|
|
722
763
|
* @description The network this holding sits on. off_chain is the chain-agnostic omnibus balance; unknown means the chain could not be attributed, and the holding is reported anyway rather than dropped.
|
|
@@ -730,19 +771,19 @@ export interface components {
|
|
|
730
771
|
created_ts: string;
|
|
731
772
|
/** @description The balance id. Derived from (business, chain, source, asset, segregated rail), so it is stable across reads and safe to diff against. */
|
|
732
773
|
id: string;
|
|
733
|
-
/** @description False
|
|
774
|
+
/** @description Whether the resource represents live financial data. False for an isolated simulated ledger; independent of the reading credential. */
|
|
734
775
|
livemode: boolean;
|
|
735
776
|
/** @enum {string} */
|
|
736
777
|
object: "balance";
|
|
737
|
-
/** @description Value
|
|
778
|
+
/** @description Value incoming to this balance and not yet settled, in the asset's own units. Never netted against pending_outgoing_native. A single movement's pass-through legs are netted inside this figure: an account credited and debited within one movement counts once, not twice in both directions. */
|
|
738
779
|
pending_incoming_native: string;
|
|
739
|
-
/** @description pending_incoming_native valued in USD.
|
|
780
|
+
/** @description pending_incoming_native valued in USD. Omitted when no rate is available at created_ts. */
|
|
740
781
|
pending_incoming_usd?: string;
|
|
741
|
-
/** @description Value
|
|
782
|
+
/** @description Value outgoing from this balance and not yet settled, in the asset's own units. Never netted against pending_incoming_native. A single movement's pass-through legs are netted inside this figure: an account credited and debited within one movement counts once, not twice in both directions. */
|
|
742
783
|
pending_outgoing_native: string;
|
|
743
|
-
/** @description pending_outgoing_native valued in USD.
|
|
784
|
+
/** @description pending_outgoing_native valued in USD. Omitted when no rate is available at created_ts. */
|
|
744
785
|
pending_outgoing_usd?: string;
|
|
745
|
-
/** @description The rail this balance is
|
|
786
|
+
/** @description The rail to which this balance is restricted. Omitted for spendable balances. A present value means the balance can be held and withdrawn only over that rail. */
|
|
746
787
|
segregated_rail?: string;
|
|
747
788
|
/**
|
|
748
789
|
* @description The custodian holding this balance.
|
|
@@ -774,7 +815,7 @@ export interface components {
|
|
|
774
815
|
/** @description RFC 6901 JSON Pointer to the offending field. */
|
|
775
816
|
pointer?: string;
|
|
776
817
|
}[];
|
|
777
|
-
/** @description Human-readable
|
|
818
|
+
/** @description Human-readable explanation. Use code or type for programmatic handling. */
|
|
778
819
|
message?: string;
|
|
779
820
|
/** @description RFC 6901 JSON Pointer to the first offending field (validation errors). */
|
|
780
821
|
param?: string;
|
|
@@ -820,7 +861,7 @@ export interface components {
|
|
|
820
861
|
object: "list";
|
|
821
862
|
};
|
|
822
863
|
/** @enum {string} */
|
|
823
|
-
EventTypeName: "notification.created" | "order.updated" | "transaction.created" | "transaction.updated";
|
|
864
|
+
EventTypeName: "external_wallet.created" | "external_wallet.updated" | "external_wallet_operation.updated" | "notification.created" | "order.updated" | "transaction.created" | "transaction.updated";
|
|
824
865
|
ExternalWallet: {
|
|
825
866
|
/** @description The wallet's on-chain address, exactly as the business connected it. */
|
|
826
867
|
address: string;
|
|
@@ -842,16 +883,18 @@ export interface components {
|
|
|
842
883
|
*/
|
|
843
884
|
holdings_read_ts?: string;
|
|
844
885
|
/**
|
|
845
|
-
* @description
|
|
886
|
+
* @description Availability of holdings. ok: latest read succeeded. stale: latest read failed and the last successful reading is shown. unavailable: no successful reading within 15 minutes; empty holdings do not imply an empty wallet. shared_address: Stellar memo destination whose holdings cannot be attributed at address level. not_monitored: disabled, not cleared for withdrawals, or on an unsupported network. Available readings are at most 15 minutes old; holdings_read_ts identifies their time.
|
|
846
887
|
* @enum {string}
|
|
847
888
|
*/
|
|
848
889
|
holdings_status: "ok" | "stale" | "unavailable" | "shared_address" | "not_monitored";
|
|
849
890
|
/** @description The external wallet id. Stable for the life of the wallet and safe to store. */
|
|
850
891
|
id: string;
|
|
851
|
-
/** @description
|
|
892
|
+
/** @description Whether holdings represent live on-chain data. False for isolated simulated holdings; independent of the reading credential. */
|
|
852
893
|
livemode: boolean;
|
|
853
|
-
/** @description
|
|
894
|
+
/** @description Optional Stellar memo identifying this withdrawal destination. Address-level holdings are not reported when a memo is present. */
|
|
854
895
|
memo?: string;
|
|
896
|
+
/** @description The name your business assigned to this wallet. */
|
|
897
|
+
name?: string;
|
|
855
898
|
/** @enum {string} */
|
|
856
899
|
object: "external_wallet";
|
|
857
900
|
/** @description The network the wallet is on, as a withdrawal rail (onchain_ethereum, onchain_stellar). */
|
|
@@ -862,6 +905,18 @@ export interface components {
|
|
|
862
905
|
*/
|
|
863
906
|
status: "enabled" | "disabled";
|
|
864
907
|
};
|
|
908
|
+
ExternalWalletCreateInput: {
|
|
909
|
+
address: string;
|
|
910
|
+
memo?: string;
|
|
911
|
+
memo_not_required?: boolean;
|
|
912
|
+
name: string;
|
|
913
|
+
/** @description Confirm that this business owns and controls the wallet. */
|
|
914
|
+
owner_attestation: boolean;
|
|
915
|
+
/** @enum {string} */
|
|
916
|
+
payment_rail: "onchain_ethereum" | "onchain_stellar" | "onchain_solana";
|
|
917
|
+
/** @enum {string} */
|
|
918
|
+
symbol?: "USDC" | "XLM";
|
|
919
|
+
};
|
|
865
920
|
ExternalWalletHolding: {
|
|
866
921
|
/** @description The quantity held, in the token's own units. Exact, never rounded, and always above zero. */
|
|
867
922
|
amount: string;
|
|
@@ -883,6 +938,24 @@ export interface components {
|
|
|
883
938
|
/** @enum {string} */
|
|
884
939
|
object: "list";
|
|
885
940
|
};
|
|
941
|
+
ExternalWalletOperation: {
|
|
942
|
+
/** Format: date-time */
|
|
943
|
+
created_ts: string;
|
|
944
|
+
/** @description The resulting wallet, once recorded. Registration does not enable withdrawals or clear review. */
|
|
945
|
+
external_wallet?: string;
|
|
946
|
+
failure_code?: string;
|
|
947
|
+
id: string;
|
|
948
|
+
livemode: boolean;
|
|
949
|
+
/** @enum {string} */
|
|
950
|
+
object: "external_wallet_operation";
|
|
951
|
+
/** @enum {string} */
|
|
952
|
+
operation: "create" | "rename";
|
|
953
|
+
/** @enum {string} */
|
|
954
|
+
state: "pending" | "succeeded" | "failed";
|
|
955
|
+
};
|
|
956
|
+
ExternalWalletRenameInput: {
|
|
957
|
+
name: string;
|
|
958
|
+
};
|
|
886
959
|
List: {
|
|
887
960
|
data: components["schemas"]["Resource"][];
|
|
888
961
|
has_more: boolean;
|
|
@@ -987,10 +1060,10 @@ export interface components {
|
|
|
987
1060
|
approvals_required: number;
|
|
988
1061
|
/** @enum {string} */
|
|
989
1062
|
flow: "ach_withdrawal" | "wire_withdrawal" | "onchain_withdrawal" | "fund_buy" | "fund_sell";
|
|
990
|
-
/** @description
|
|
1063
|
+
/** @description When true, this tier applies at min_usd and above. When false, the amount must exceed min_usd. */
|
|
991
1064
|
min_inclusive: boolean;
|
|
992
1065
|
min_usd: string;
|
|
993
|
-
/** @description
|
|
1066
|
+
/** @description Whether an additional named approver is required. approvals_required excludes the requester and the named approver. */
|
|
994
1067
|
named_approval_required: boolean;
|
|
995
1068
|
};
|
|
996
1069
|
PolicyDelay: {
|
|
@@ -1085,16 +1158,16 @@ export interface components {
|
|
|
1085
1158
|
QuoteExpress: {
|
|
1086
1159
|
/**
|
|
1087
1160
|
* Format: int64
|
|
1088
|
-
* @description
|
|
1161
|
+
* @description Express commission rate for this quote, in basis points.
|
|
1089
1162
|
*/
|
|
1090
1163
|
fee_bps: number;
|
|
1091
|
-
/** @description
|
|
1164
|
+
/** @description Express commission for this trade, in USD. */
|
|
1092
1165
|
fee_usd: string;
|
|
1093
1166
|
/** @description The per-order ceiling on the express pathway. A policy constant, identical for every business. */
|
|
1094
1167
|
max_order_usd: string;
|
|
1095
1168
|
/** @description What an express buy delivers: estimated_quantity less the commission. A standard buy delivers the gross figure instead. */
|
|
1096
1169
|
net_estimated_quantity: string;
|
|
1097
|
-
/** @description
|
|
1170
|
+
/** @description Estimated express settlement time in seconds. This estimate does not reflect current reserve liquidity. */
|
|
1098
1171
|
settlement_estimate_seconds: number;
|
|
1099
1172
|
};
|
|
1100
1173
|
Resource: {
|
|
@@ -1243,7 +1316,7 @@ export interface components {
|
|
|
1243
1316
|
paid_to_bank: string;
|
|
1244
1317
|
};
|
|
1245
1318
|
Transaction: {
|
|
1246
|
-
/** @description
|
|
1319
|
+
/** @description Signed net changes to settled holdings, one entry per asset, ordered by asset. Empty when no part has settled. A failed movement includes any changes that settled before failure; pending or processing status alone does not determine whether this array is empty. */
|
|
1247
1320
|
asset_changes: components["schemas"]["TransactionAssetChange"][];
|
|
1248
1321
|
/**
|
|
1249
1322
|
* Format: date-time
|
|
@@ -1262,12 +1335,12 @@ export interface components {
|
|
|
1262
1335
|
failed_ts?: string;
|
|
1263
1336
|
/** @description The transaction id. Stable for the life of the movement and safe to store. */
|
|
1264
1337
|
id: string;
|
|
1265
|
-
/** @description False
|
|
1338
|
+
/** @description Whether the resource represents live financial data. False for an isolated simulated ledger; independent of the reading credential. */
|
|
1266
1339
|
livemode: boolean;
|
|
1267
1340
|
/** @enum {string} */
|
|
1268
1341
|
object: "transaction";
|
|
1269
1342
|
/**
|
|
1270
|
-
* @description The movement
|
|
1343
|
+
* @description The movement lifecycle: pending before execution starts; processing while at least one part is in flight; completed when all parts settle; failed when execution ends unsuccessfully. A failed movement can have settled changes, reported in asset_changes.
|
|
1271
1344
|
* @enum {string}
|
|
1272
1345
|
*/
|
|
1273
1346
|
status: "pending" | "processing" | "completed" | "failed";
|
|
@@ -1278,7 +1351,7 @@ export interface components {
|
|
|
1278
1351
|
type: "ach_offramp" | "ach_onramp" | "adjustment" | "buy_fund_token" | "buy_fund_token_return" | "buy_fund_token_return_sweep" | "deposit_hold" | "deposit_return" | "deposit_reversal" | "fund_cash_subscription" | "fund_dividend_payout" | "fund_distribution_payout" | "fund_gas_tank" | "fund_xlm_reserve" | "gas_tank_refill" | "gas_wallet_funding" | "go_account_conversion" | "go_account_custodial_transfer" | "go_account_external_send" | "held_deposit_release" | "onchain_deposit" | "onchain_withdrawal" | "ramp_fee_refund" | "reclassification" | "sell_fund_token" | "sell_fund_token_return" | "trade_order" | "treasury_booking" | "treasury_wire_credit" | "wire_offramp" | "wire_onramp";
|
|
1279
1352
|
};
|
|
1280
1353
|
TransactionAssetChange: {
|
|
1281
|
-
/** @description The signed net change to the business's settled holdings of this asset, in the asset's own units.
|
|
1354
|
+
/** @description The signed net change to the business's settled holdings of this asset, in the asset's own units. Negative amounts decrease holdings; positive amounts increase them. Net of the ledger's fees and taxes, on the same basis /v1/balances reports. For a business with no pay-ins or payouts, summing an asset's amounts across every transaction — not only the completed ones — gives the movement in its settled balance. Pay-ins and payouts are not served on this API but still move /v1/balances, so a business with payments cannot reconcile its balance from transactions alone. */
|
|
1282
1355
|
amount: string;
|
|
1283
1356
|
/** @description The asset symbol, in the ledger's own casing (USDC, WTGXX, SOL:USDC). */
|
|
1284
1357
|
asset: string;
|
|
@@ -1384,13 +1457,82 @@ export interface components {
|
|
|
1384
1457
|
url?: string | null;
|
|
1385
1458
|
};
|
|
1386
1459
|
};
|
|
1387
|
-
responses:
|
|
1460
|
+
responses: {
|
|
1461
|
+
/** @description Invalid input, version, account directive, or idempotency header. Correct the request before retrying. */
|
|
1462
|
+
Error400: {
|
|
1463
|
+
headers: {
|
|
1464
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1465
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1466
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1467
|
+
[name: string]: unknown;
|
|
1468
|
+
};
|
|
1469
|
+
content: {
|
|
1470
|
+
"application/json": components["schemas"]["Error"];
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
/** @description Missing, invalid, revoked, or wrong-environment bearer credential. */
|
|
1474
|
+
Error401: {
|
|
1475
|
+
headers: {
|
|
1476
|
+
[name: string]: unknown;
|
|
1477
|
+
};
|
|
1478
|
+
content: {
|
|
1479
|
+
"application/json": components["schemas"]["Error"];
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
/** @description The credential lacks the required permission or the operation is unavailable to this business. */
|
|
1483
|
+
Error403: {
|
|
1484
|
+
headers: {
|
|
1485
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1486
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1487
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1488
|
+
[name: string]: unknown;
|
|
1489
|
+
};
|
|
1490
|
+
content: {
|
|
1491
|
+
"application/json": components["schemas"]["Error"];
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
/** @description A request with this idempotency key is still running, or the operation conflicts with current state. For request_in_progress, honor Retry-After and retry with the same key and body. */
|
|
1495
|
+
Error409: {
|
|
1496
|
+
headers: {
|
|
1497
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
1498
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1499
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1500
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1501
|
+
[name: string]: unknown;
|
|
1502
|
+
};
|
|
1503
|
+
content: {
|
|
1504
|
+
"application/json": components["schemas"]["Error"];
|
|
1505
|
+
};
|
|
1506
|
+
};
|
|
1507
|
+
/** @description Rate limit exceeded. Honor Retry-After. Credential budget headers are absent on IP refusals; edge refusals may have a different body. */
|
|
1508
|
+
Error429: {
|
|
1509
|
+
headers: {
|
|
1510
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
1511
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1512
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1513
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1514
|
+
[name: string]: unknown;
|
|
1515
|
+
};
|
|
1516
|
+
content: {
|
|
1517
|
+
"application/json": components["schemas"]["Error"];
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1388
1521
|
parameters: {
|
|
1389
1522
|
"Idempotency-Key": string;
|
|
1390
1523
|
"Stable-Sea-Version": components["schemas"]["APIVersion"];
|
|
1391
1524
|
};
|
|
1392
1525
|
requestBodies: never;
|
|
1393
|
-
headers:
|
|
1526
|
+
headers: {
|
|
1527
|
+
/** @description Wait at least this many seconds before retrying. */
|
|
1528
|
+
"Retry-After": number;
|
|
1529
|
+
/** @description Credential requests allowed per window on this server instance; not a fleet-wide quota. */
|
|
1530
|
+
"X-RateLimit-Limit": number;
|
|
1531
|
+
/** @description Credential requests left after this request on this server instance; a pacing hint, not reserved capacity. */
|
|
1532
|
+
"X-RateLimit-Remaining": number;
|
|
1533
|
+
/** @description Credential window end as Unix seconds, rounded up. */
|
|
1534
|
+
"X-RateLimit-Reset": number;
|
|
1535
|
+
};
|
|
1394
1536
|
pathItems: never;
|
|
1395
1537
|
}
|
|
1396
1538
|
export type $defs = Record<string, never>;
|
|
@@ -1414,12 +1556,19 @@ export interface operations {
|
|
|
1414
1556
|
/** @description OK */
|
|
1415
1557
|
200: {
|
|
1416
1558
|
headers: {
|
|
1559
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1560
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1561
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1417
1562
|
[name: string]: unknown;
|
|
1418
1563
|
};
|
|
1419
1564
|
content: {
|
|
1420
1565
|
"application/json": components["schemas"]["AccountList"];
|
|
1421
1566
|
};
|
|
1422
1567
|
};
|
|
1568
|
+
400: components["responses"]["Error400"];
|
|
1569
|
+
401: components["responses"]["Error401"];
|
|
1570
|
+
403: components["responses"]["Error403"];
|
|
1571
|
+
429: components["responses"]["Error429"];
|
|
1423
1572
|
/** @description Error response. */
|
|
1424
1573
|
default: {
|
|
1425
1574
|
headers: {
|
|
@@ -1446,12 +1595,19 @@ export interface operations {
|
|
|
1446
1595
|
/** @description OK */
|
|
1447
1596
|
200: {
|
|
1448
1597
|
headers: {
|
|
1598
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1599
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1600
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1449
1601
|
[name: string]: unknown;
|
|
1450
1602
|
};
|
|
1451
1603
|
content: {
|
|
1452
1604
|
"application/json": components["schemas"]["Account"];
|
|
1453
1605
|
};
|
|
1454
1606
|
};
|
|
1607
|
+
400: components["responses"]["Error400"];
|
|
1608
|
+
401: components["responses"]["Error401"];
|
|
1609
|
+
403: components["responses"]["Error403"];
|
|
1610
|
+
429: components["responses"]["Error429"];
|
|
1455
1611
|
/** @description Error response. */
|
|
1456
1612
|
default: {
|
|
1457
1613
|
headers: {
|
|
@@ -1475,12 +1631,19 @@ export interface operations {
|
|
|
1475
1631
|
/** @description OK */
|
|
1476
1632
|
200: {
|
|
1477
1633
|
headers: {
|
|
1634
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1635
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1636
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1478
1637
|
[name: string]: unknown;
|
|
1479
1638
|
};
|
|
1480
1639
|
content: {
|
|
1481
1640
|
"application/json": components["schemas"]["APIClient"];
|
|
1482
1641
|
};
|
|
1483
1642
|
};
|
|
1643
|
+
400: components["responses"]["Error400"];
|
|
1644
|
+
401: components["responses"]["Error401"];
|
|
1645
|
+
403: components["responses"]["Error403"];
|
|
1646
|
+
429: components["responses"]["Error429"];
|
|
1484
1647
|
/** @description Error response. */
|
|
1485
1648
|
default: {
|
|
1486
1649
|
headers: {
|
|
@@ -1511,12 +1674,19 @@ export interface operations {
|
|
|
1511
1674
|
/** @description OK */
|
|
1512
1675
|
200: {
|
|
1513
1676
|
headers: {
|
|
1677
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1678
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1679
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1514
1680
|
[name: string]: unknown;
|
|
1515
1681
|
};
|
|
1516
1682
|
content: {
|
|
1517
1683
|
"application/json": components["schemas"]["BalanceList"];
|
|
1518
1684
|
};
|
|
1519
1685
|
};
|
|
1686
|
+
400: components["responses"]["Error400"];
|
|
1687
|
+
401: components["responses"]["Error401"];
|
|
1688
|
+
403: components["responses"]["Error403"];
|
|
1689
|
+
429: components["responses"]["Error429"];
|
|
1520
1690
|
/** @description Error response. */
|
|
1521
1691
|
default: {
|
|
1522
1692
|
headers: {
|
|
@@ -1543,12 +1713,19 @@ export interface operations {
|
|
|
1543
1713
|
/** @description OK */
|
|
1544
1714
|
200: {
|
|
1545
1715
|
headers: {
|
|
1716
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1717
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1718
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1546
1719
|
[name: string]: unknown;
|
|
1547
1720
|
};
|
|
1548
1721
|
content: {
|
|
1549
1722
|
"application/json": components["schemas"]["Balance"];
|
|
1550
1723
|
};
|
|
1551
1724
|
};
|
|
1725
|
+
400: components["responses"]["Error400"];
|
|
1726
|
+
401: components["responses"]["Error401"];
|
|
1727
|
+
403: components["responses"]["Error403"];
|
|
1728
|
+
429: components["responses"]["Error429"];
|
|
1552
1729
|
/** @description Error response. */
|
|
1553
1730
|
default: {
|
|
1554
1731
|
headers: {
|
|
@@ -1572,12 +1749,19 @@ export interface operations {
|
|
|
1572
1749
|
/** @description OK */
|
|
1573
1750
|
200: {
|
|
1574
1751
|
headers: {
|
|
1752
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1753
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1754
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1575
1755
|
[name: string]: unknown;
|
|
1576
1756
|
};
|
|
1577
1757
|
content: {
|
|
1578
1758
|
"application/json": components["schemas"]["EventTypeCatalog"];
|
|
1579
1759
|
};
|
|
1580
1760
|
};
|
|
1761
|
+
400: components["responses"]["Error400"];
|
|
1762
|
+
401: components["responses"]["Error401"];
|
|
1763
|
+
403: components["responses"]["Error403"];
|
|
1764
|
+
429: components["responses"]["Error429"];
|
|
1581
1765
|
/** @description Error response. */
|
|
1582
1766
|
default: {
|
|
1583
1767
|
headers: {
|
|
@@ -1608,12 +1792,19 @@ export interface operations {
|
|
|
1608
1792
|
/** @description OK */
|
|
1609
1793
|
200: {
|
|
1610
1794
|
headers: {
|
|
1795
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1796
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1797
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1611
1798
|
[name: string]: unknown;
|
|
1612
1799
|
};
|
|
1613
1800
|
content: {
|
|
1614
1801
|
"application/json": components["schemas"]["EventList"];
|
|
1615
1802
|
};
|
|
1616
1803
|
};
|
|
1804
|
+
400: components["responses"]["Error400"];
|
|
1805
|
+
401: components["responses"]["Error401"];
|
|
1806
|
+
403: components["responses"]["Error403"];
|
|
1807
|
+
429: components["responses"]["Error429"];
|
|
1617
1808
|
/** @description Error response. */
|
|
1618
1809
|
default: {
|
|
1619
1810
|
headers: {
|
|
@@ -1640,12 +1831,57 @@ export interface operations {
|
|
|
1640
1831
|
/** @description OK */
|
|
1641
1832
|
200: {
|
|
1642
1833
|
headers: {
|
|
1834
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1835
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1836
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1643
1837
|
[name: string]: unknown;
|
|
1644
1838
|
};
|
|
1645
1839
|
content: {
|
|
1646
1840
|
"application/json": components["schemas"]["Event"];
|
|
1647
1841
|
};
|
|
1648
1842
|
};
|
|
1843
|
+
400: components["responses"]["Error400"];
|
|
1844
|
+
401: components["responses"]["Error401"];
|
|
1845
|
+
403: components["responses"]["Error403"];
|
|
1846
|
+
429: components["responses"]["Error429"];
|
|
1847
|
+
/** @description Error response. */
|
|
1848
|
+
default: {
|
|
1849
|
+
headers: {
|
|
1850
|
+
[name: string]: unknown;
|
|
1851
|
+
};
|
|
1852
|
+
content: {
|
|
1853
|
+
"application/json": components["schemas"]["Error"];
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
"external_wallet_operations.get": {
|
|
1859
|
+
parameters: {
|
|
1860
|
+
query?: never;
|
|
1861
|
+
header?: never;
|
|
1862
|
+
path: {
|
|
1863
|
+
id: string;
|
|
1864
|
+
};
|
|
1865
|
+
cookie?: never;
|
|
1866
|
+
};
|
|
1867
|
+
requestBody?: never;
|
|
1868
|
+
responses: {
|
|
1869
|
+
/** @description OK */
|
|
1870
|
+
200: {
|
|
1871
|
+
headers: {
|
|
1872
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1873
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1874
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1875
|
+
[name: string]: unknown;
|
|
1876
|
+
};
|
|
1877
|
+
content: {
|
|
1878
|
+
"application/json": components["schemas"]["ExternalWalletOperation"];
|
|
1879
|
+
};
|
|
1880
|
+
};
|
|
1881
|
+
400: components["responses"]["Error400"];
|
|
1882
|
+
401: components["responses"]["Error401"];
|
|
1883
|
+
403: components["responses"]["Error403"];
|
|
1884
|
+
429: components["responses"]["Error429"];
|
|
1649
1885
|
/** @description Error response. */
|
|
1650
1886
|
default: {
|
|
1651
1887
|
headers: {
|
|
@@ -1676,12 +1912,62 @@ export interface operations {
|
|
|
1676
1912
|
/** @description OK */
|
|
1677
1913
|
200: {
|
|
1678
1914
|
headers: {
|
|
1915
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1916
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1917
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1679
1918
|
[name: string]: unknown;
|
|
1680
1919
|
};
|
|
1681
1920
|
content: {
|
|
1682
1921
|
"application/json": components["schemas"]["ExternalWalletList"];
|
|
1683
1922
|
};
|
|
1684
1923
|
};
|
|
1924
|
+
400: components["responses"]["Error400"];
|
|
1925
|
+
401: components["responses"]["Error401"];
|
|
1926
|
+
403: components["responses"]["Error403"];
|
|
1927
|
+
429: components["responses"]["Error429"];
|
|
1928
|
+
/** @description Error response. */
|
|
1929
|
+
default: {
|
|
1930
|
+
headers: {
|
|
1931
|
+
[name: string]: unknown;
|
|
1932
|
+
};
|
|
1933
|
+
content: {
|
|
1934
|
+
"application/json": components["schemas"]["Error"];
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
"external_wallets.create": {
|
|
1940
|
+
parameters: {
|
|
1941
|
+
query?: never;
|
|
1942
|
+
header: {
|
|
1943
|
+
"Idempotency-Key": components["parameters"]["Idempotency-Key"];
|
|
1944
|
+
};
|
|
1945
|
+
path?: never;
|
|
1946
|
+
cookie?: never;
|
|
1947
|
+
};
|
|
1948
|
+
requestBody?: {
|
|
1949
|
+
content: {
|
|
1950
|
+
"application/json": components["schemas"]["ExternalWalletCreateInput"];
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
responses: {
|
|
1954
|
+
/** @description OK */
|
|
1955
|
+
200: {
|
|
1956
|
+
headers: {
|
|
1957
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1958
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1959
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1960
|
+
[name: string]: unknown;
|
|
1961
|
+
};
|
|
1962
|
+
content: {
|
|
1963
|
+
"application/json": components["schemas"]["ExternalWalletOperation"];
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1966
|
+
400: components["responses"]["Error400"];
|
|
1967
|
+
401: components["responses"]["Error401"];
|
|
1968
|
+
403: components["responses"]["Error403"];
|
|
1969
|
+
409: components["responses"]["Error409"];
|
|
1970
|
+
429: components["responses"]["Error429"];
|
|
1685
1971
|
/** @description Error response. */
|
|
1686
1972
|
default: {
|
|
1687
1973
|
headers: {
|
|
@@ -1708,12 +1994,64 @@ export interface operations {
|
|
|
1708
1994
|
/** @description OK */
|
|
1709
1995
|
200: {
|
|
1710
1996
|
headers: {
|
|
1997
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
1998
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
1999
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1711
2000
|
[name: string]: unknown;
|
|
1712
2001
|
};
|
|
1713
2002
|
content: {
|
|
1714
2003
|
"application/json": components["schemas"]["ExternalWallet"];
|
|
1715
2004
|
};
|
|
1716
2005
|
};
|
|
2006
|
+
400: components["responses"]["Error400"];
|
|
2007
|
+
401: components["responses"]["Error401"];
|
|
2008
|
+
403: components["responses"]["Error403"];
|
|
2009
|
+
429: components["responses"]["Error429"];
|
|
2010
|
+
/** @description Error response. */
|
|
2011
|
+
default: {
|
|
2012
|
+
headers: {
|
|
2013
|
+
[name: string]: unknown;
|
|
2014
|
+
};
|
|
2015
|
+
content: {
|
|
2016
|
+
"application/json": components["schemas"]["Error"];
|
|
2017
|
+
};
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
"external_wallets.rename": {
|
|
2022
|
+
parameters: {
|
|
2023
|
+
query?: never;
|
|
2024
|
+
header: {
|
|
2025
|
+
"Idempotency-Key": components["parameters"]["Idempotency-Key"];
|
|
2026
|
+
};
|
|
2027
|
+
path: {
|
|
2028
|
+
id: string;
|
|
2029
|
+
};
|
|
2030
|
+
cookie?: never;
|
|
2031
|
+
};
|
|
2032
|
+
requestBody?: {
|
|
2033
|
+
content: {
|
|
2034
|
+
"application/json": components["schemas"]["ExternalWalletRenameInput"];
|
|
2035
|
+
};
|
|
2036
|
+
};
|
|
2037
|
+
responses: {
|
|
2038
|
+
/** @description OK */
|
|
2039
|
+
200: {
|
|
2040
|
+
headers: {
|
|
2041
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2042
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2043
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2044
|
+
[name: string]: unknown;
|
|
2045
|
+
};
|
|
2046
|
+
content: {
|
|
2047
|
+
"application/json": components["schemas"]["ExternalWalletOperation"];
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
400: components["responses"]["Error400"];
|
|
2051
|
+
401: components["responses"]["Error401"];
|
|
2052
|
+
403: components["responses"]["Error403"];
|
|
2053
|
+
409: components["responses"]["Error409"];
|
|
2054
|
+
429: components["responses"]["Error429"];
|
|
1717
2055
|
/** @description Error response. */
|
|
1718
2056
|
default: {
|
|
1719
2057
|
headers: {
|
|
@@ -1744,12 +2082,19 @@ export interface operations {
|
|
|
1744
2082
|
/** @description OK */
|
|
1745
2083
|
200: {
|
|
1746
2084
|
headers: {
|
|
2085
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2086
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2087
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1747
2088
|
[name: string]: unknown;
|
|
1748
2089
|
};
|
|
1749
2090
|
content: {
|
|
1750
2091
|
"application/json": components["schemas"]["NotificationList"];
|
|
1751
2092
|
};
|
|
1752
2093
|
};
|
|
2094
|
+
400: components["responses"]["Error400"];
|
|
2095
|
+
401: components["responses"]["Error401"];
|
|
2096
|
+
403: components["responses"]["Error403"];
|
|
2097
|
+
429: components["responses"]["Error429"];
|
|
1753
2098
|
/** @description Error response. */
|
|
1754
2099
|
default: {
|
|
1755
2100
|
headers: {
|
|
@@ -1776,12 +2121,19 @@ export interface operations {
|
|
|
1776
2121
|
/** @description OK */
|
|
1777
2122
|
200: {
|
|
1778
2123
|
headers: {
|
|
2124
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2125
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2126
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1779
2127
|
[name: string]: unknown;
|
|
1780
2128
|
};
|
|
1781
2129
|
content: {
|
|
1782
2130
|
"application/json": components["schemas"]["Notification"];
|
|
1783
2131
|
};
|
|
1784
2132
|
};
|
|
2133
|
+
400: components["responses"]["Error400"];
|
|
2134
|
+
401: components["responses"]["Error401"];
|
|
2135
|
+
403: components["responses"]["Error403"];
|
|
2136
|
+
429: components["responses"]["Error429"];
|
|
1785
2137
|
/** @description Error response. */
|
|
1786
2138
|
default: {
|
|
1787
2139
|
headers: {
|
|
@@ -1812,12 +2164,19 @@ export interface operations {
|
|
|
1812
2164
|
/** @description OK */
|
|
1813
2165
|
200: {
|
|
1814
2166
|
headers: {
|
|
2167
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2168
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2169
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1815
2170
|
[name: string]: unknown;
|
|
1816
2171
|
};
|
|
1817
2172
|
content: {
|
|
1818
2173
|
"application/json": components["schemas"]["OrderList"];
|
|
1819
2174
|
};
|
|
1820
2175
|
};
|
|
2176
|
+
400: components["responses"]["Error400"];
|
|
2177
|
+
401: components["responses"]["Error401"];
|
|
2178
|
+
403: components["responses"]["Error403"];
|
|
2179
|
+
429: components["responses"]["Error429"];
|
|
1821
2180
|
/** @description Error response. */
|
|
1822
2181
|
default: {
|
|
1823
2182
|
headers: {
|
|
@@ -1847,12 +2206,20 @@ export interface operations {
|
|
|
1847
2206
|
/** @description OK */
|
|
1848
2207
|
200: {
|
|
1849
2208
|
headers: {
|
|
2209
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2210
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2211
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1850
2212
|
[name: string]: unknown;
|
|
1851
2213
|
};
|
|
1852
2214
|
content: {
|
|
1853
2215
|
"application/json": components["schemas"]["Order"];
|
|
1854
2216
|
};
|
|
1855
2217
|
};
|
|
2218
|
+
400: components["responses"]["Error400"];
|
|
2219
|
+
401: components["responses"]["Error401"];
|
|
2220
|
+
403: components["responses"]["Error403"];
|
|
2221
|
+
409: components["responses"]["Error409"];
|
|
2222
|
+
429: components["responses"]["Error429"];
|
|
1856
2223
|
/** @description Error response. */
|
|
1857
2224
|
default: {
|
|
1858
2225
|
headers: {
|
|
@@ -1879,12 +2246,19 @@ export interface operations {
|
|
|
1879
2246
|
/** @description OK */
|
|
1880
2247
|
200: {
|
|
1881
2248
|
headers: {
|
|
2249
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2250
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2251
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1882
2252
|
[name: string]: unknown;
|
|
1883
2253
|
};
|
|
1884
2254
|
content: {
|
|
1885
2255
|
"application/json": components["schemas"]["Order"];
|
|
1886
2256
|
};
|
|
1887
2257
|
};
|
|
2258
|
+
400: components["responses"]["Error400"];
|
|
2259
|
+
401: components["responses"]["Error401"];
|
|
2260
|
+
403: components["responses"]["Error403"];
|
|
2261
|
+
429: components["responses"]["Error429"];
|
|
1888
2262
|
/** @description Error response. */
|
|
1889
2263
|
default: {
|
|
1890
2264
|
headers: {
|
|
@@ -1908,12 +2282,19 @@ export interface operations {
|
|
|
1908
2282
|
/** @description OK */
|
|
1909
2283
|
200: {
|
|
1910
2284
|
headers: {
|
|
2285
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2286
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2287
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1911
2288
|
[name: string]: unknown;
|
|
1912
2289
|
};
|
|
1913
2290
|
content: {
|
|
1914
2291
|
"application/json": components["schemas"]["PolicySnapshot"];
|
|
1915
2292
|
};
|
|
1916
2293
|
};
|
|
2294
|
+
400: components["responses"]["Error400"];
|
|
2295
|
+
401: components["responses"]["Error401"];
|
|
2296
|
+
403: components["responses"]["Error403"];
|
|
2297
|
+
429: components["responses"]["Error429"];
|
|
1917
2298
|
/** @description Error response. */
|
|
1918
2299
|
default: {
|
|
1919
2300
|
headers: {
|
|
@@ -1944,12 +2325,19 @@ export interface operations {
|
|
|
1944
2325
|
/** @description OK */
|
|
1945
2326
|
200: {
|
|
1946
2327
|
headers: {
|
|
2328
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2329
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2330
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1947
2331
|
[name: string]: unknown;
|
|
1948
2332
|
};
|
|
1949
2333
|
content: {
|
|
1950
2334
|
"application/json": components["schemas"]["Quote"];
|
|
1951
2335
|
};
|
|
1952
2336
|
};
|
|
2337
|
+
400: components["responses"]["Error400"];
|
|
2338
|
+
401: components["responses"]["Error401"];
|
|
2339
|
+
403: components["responses"]["Error403"];
|
|
2340
|
+
429: components["responses"]["Error429"];
|
|
1953
2341
|
/** @description Error response. */
|
|
1954
2342
|
default: {
|
|
1955
2343
|
headers: {
|
|
@@ -1973,12 +2361,19 @@ export interface operations {
|
|
|
1973
2361
|
/** @description OK */
|
|
1974
2362
|
200: {
|
|
1975
2363
|
headers: {
|
|
2364
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2365
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2366
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
1976
2367
|
[name: string]: unknown;
|
|
1977
2368
|
};
|
|
1978
2369
|
content: {
|
|
1979
2370
|
"application/json": components["schemas"]["SecurityCatalog"];
|
|
1980
2371
|
};
|
|
1981
2372
|
};
|
|
2373
|
+
400: components["responses"]["Error400"];
|
|
2374
|
+
401: components["responses"]["Error401"];
|
|
2375
|
+
403: components["responses"]["Error403"];
|
|
2376
|
+
429: components["responses"]["Error429"];
|
|
1982
2377
|
/** @description Error response. */
|
|
1983
2378
|
default: {
|
|
1984
2379
|
headers: {
|
|
@@ -2009,12 +2404,19 @@ export interface operations {
|
|
|
2009
2404
|
/** @description OK */
|
|
2010
2405
|
200: {
|
|
2011
2406
|
headers: {
|
|
2407
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2408
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2409
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2012
2410
|
[name: string]: unknown;
|
|
2013
2411
|
};
|
|
2014
2412
|
content: {
|
|
2015
2413
|
"application/json": components["schemas"]["StatementList"];
|
|
2016
2414
|
};
|
|
2017
2415
|
};
|
|
2416
|
+
400: components["responses"]["Error400"];
|
|
2417
|
+
401: components["responses"]["Error401"];
|
|
2418
|
+
403: components["responses"]["Error403"];
|
|
2419
|
+
429: components["responses"]["Error429"];
|
|
2018
2420
|
/** @description Error response. */
|
|
2019
2421
|
default: {
|
|
2020
2422
|
headers: {
|
|
@@ -2041,12 +2443,19 @@ export interface operations {
|
|
|
2041
2443
|
/** @description OK */
|
|
2042
2444
|
200: {
|
|
2043
2445
|
headers: {
|
|
2446
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2447
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2448
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2044
2449
|
[name: string]: unknown;
|
|
2045
2450
|
};
|
|
2046
2451
|
content: {
|
|
2047
2452
|
"application/json": components["schemas"]["Statement"];
|
|
2048
2453
|
};
|
|
2049
2454
|
};
|
|
2455
|
+
400: components["responses"]["Error400"];
|
|
2456
|
+
401: components["responses"]["Error401"];
|
|
2457
|
+
403: components["responses"]["Error403"];
|
|
2458
|
+
429: components["responses"]["Error429"];
|
|
2050
2459
|
/** @description Error response. */
|
|
2051
2460
|
default: {
|
|
2052
2461
|
headers: {
|
|
@@ -2073,12 +2482,19 @@ export interface operations {
|
|
|
2073
2482
|
/** @description OK */
|
|
2074
2483
|
200: {
|
|
2075
2484
|
headers: {
|
|
2485
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2486
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2487
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2076
2488
|
[name: string]: unknown;
|
|
2077
2489
|
};
|
|
2078
2490
|
content: {
|
|
2079
2491
|
"application/json": components["schemas"]["StatementContent"];
|
|
2080
2492
|
};
|
|
2081
2493
|
};
|
|
2494
|
+
400: components["responses"]["Error400"];
|
|
2495
|
+
401: components["responses"]["Error401"];
|
|
2496
|
+
403: components["responses"]["Error403"];
|
|
2497
|
+
429: components["responses"]["Error429"];
|
|
2082
2498
|
/** @description Error response. */
|
|
2083
2499
|
default: {
|
|
2084
2500
|
headers: {
|
|
@@ -2109,12 +2525,19 @@ export interface operations {
|
|
|
2109
2525
|
/** @description OK */
|
|
2110
2526
|
200: {
|
|
2111
2527
|
headers: {
|
|
2528
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2529
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2530
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2112
2531
|
[name: string]: unknown;
|
|
2113
2532
|
};
|
|
2114
2533
|
content: {
|
|
2115
2534
|
"application/json": components["schemas"]["TransactionList"];
|
|
2116
2535
|
};
|
|
2117
2536
|
};
|
|
2537
|
+
400: components["responses"]["Error400"];
|
|
2538
|
+
401: components["responses"]["Error401"];
|
|
2539
|
+
403: components["responses"]["Error403"];
|
|
2540
|
+
429: components["responses"]["Error429"];
|
|
2118
2541
|
/** @description Error response. */
|
|
2119
2542
|
default: {
|
|
2120
2543
|
headers: {
|
|
@@ -2141,12 +2564,19 @@ export interface operations {
|
|
|
2141
2564
|
/** @description OK */
|
|
2142
2565
|
200: {
|
|
2143
2566
|
headers: {
|
|
2567
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2568
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2569
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2144
2570
|
[name: string]: unknown;
|
|
2145
2571
|
};
|
|
2146
2572
|
content: {
|
|
2147
2573
|
"application/json": components["schemas"]["Transaction"];
|
|
2148
2574
|
};
|
|
2149
2575
|
};
|
|
2576
|
+
400: components["responses"]["Error400"];
|
|
2577
|
+
401: components["responses"]["Error401"];
|
|
2578
|
+
403: components["responses"]["Error403"];
|
|
2579
|
+
429: components["responses"]["Error429"];
|
|
2150
2580
|
/** @description Error response. */
|
|
2151
2581
|
default: {
|
|
2152
2582
|
headers: {
|
|
@@ -2177,12 +2607,19 @@ export interface operations {
|
|
|
2177
2607
|
/** @description OK */
|
|
2178
2608
|
200: {
|
|
2179
2609
|
headers: {
|
|
2610
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2611
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2612
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2180
2613
|
[name: string]: unknown;
|
|
2181
2614
|
};
|
|
2182
2615
|
content: {
|
|
2183
2616
|
"application/json": components["schemas"]["WebhookEndpointList"];
|
|
2184
2617
|
};
|
|
2185
2618
|
};
|
|
2619
|
+
400: components["responses"]["Error400"];
|
|
2620
|
+
401: components["responses"]["Error401"];
|
|
2621
|
+
403: components["responses"]["Error403"];
|
|
2622
|
+
429: components["responses"]["Error429"];
|
|
2186
2623
|
/** @description Error response. */
|
|
2187
2624
|
default: {
|
|
2188
2625
|
headers: {
|
|
@@ -2212,12 +2649,20 @@ export interface operations {
|
|
|
2212
2649
|
/** @description OK */
|
|
2213
2650
|
200: {
|
|
2214
2651
|
headers: {
|
|
2652
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2653
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2654
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2215
2655
|
[name: string]: unknown;
|
|
2216
2656
|
};
|
|
2217
2657
|
content: {
|
|
2218
2658
|
"application/json": components["schemas"]["WebhookEndpointCreateResponse"];
|
|
2219
2659
|
};
|
|
2220
2660
|
};
|
|
2661
|
+
400: components["responses"]["Error400"];
|
|
2662
|
+
401: components["responses"]["Error401"];
|
|
2663
|
+
403: components["responses"]["Error403"];
|
|
2664
|
+
409: components["responses"]["Error409"];
|
|
2665
|
+
429: components["responses"]["Error429"];
|
|
2221
2666
|
/** @description Error response. */
|
|
2222
2667
|
default: {
|
|
2223
2668
|
headers: {
|
|
@@ -2244,12 +2689,19 @@ export interface operations {
|
|
|
2244
2689
|
/** @description OK */
|
|
2245
2690
|
200: {
|
|
2246
2691
|
headers: {
|
|
2692
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2693
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2694
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2247
2695
|
[name: string]: unknown;
|
|
2248
2696
|
};
|
|
2249
2697
|
content: {
|
|
2250
2698
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
2251
2699
|
};
|
|
2252
2700
|
};
|
|
2701
|
+
400: components["responses"]["Error400"];
|
|
2702
|
+
401: components["responses"]["Error401"];
|
|
2703
|
+
403: components["responses"]["Error403"];
|
|
2704
|
+
429: components["responses"]["Error429"];
|
|
2253
2705
|
/** @description Error response. */
|
|
2254
2706
|
default: {
|
|
2255
2707
|
headers: {
|
|
@@ -2282,12 +2734,20 @@ export interface operations {
|
|
|
2282
2734
|
/** @description OK */
|
|
2283
2735
|
200: {
|
|
2284
2736
|
headers: {
|
|
2737
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2738
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2739
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2285
2740
|
[name: string]: unknown;
|
|
2286
2741
|
};
|
|
2287
2742
|
content: {
|
|
2288
2743
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
2289
2744
|
};
|
|
2290
2745
|
};
|
|
2746
|
+
400: components["responses"]["Error400"];
|
|
2747
|
+
401: components["responses"]["Error401"];
|
|
2748
|
+
403: components["responses"]["Error403"];
|
|
2749
|
+
409: components["responses"]["Error409"];
|
|
2750
|
+
429: components["responses"]["Error429"];
|
|
2291
2751
|
/** @description Error response. */
|
|
2292
2752
|
default: {
|
|
2293
2753
|
headers: {
|
|
@@ -2321,12 +2781,19 @@ export interface operations {
|
|
|
2321
2781
|
/** @description OK */
|
|
2322
2782
|
200: {
|
|
2323
2783
|
headers: {
|
|
2784
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2785
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2786
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2324
2787
|
[name: string]: unknown;
|
|
2325
2788
|
};
|
|
2326
2789
|
content: {
|
|
2327
2790
|
"application/json": components["schemas"]["WebhookDeliveryList"];
|
|
2328
2791
|
};
|
|
2329
2792
|
};
|
|
2793
|
+
400: components["responses"]["Error400"];
|
|
2794
|
+
401: components["responses"]["Error401"];
|
|
2795
|
+
403: components["responses"]["Error403"];
|
|
2796
|
+
429: components["responses"]["Error429"];
|
|
2330
2797
|
/** @description Error response. */
|
|
2331
2798
|
default: {
|
|
2332
2799
|
headers: {
|
|
@@ -2355,12 +2822,19 @@ export interface operations {
|
|
|
2355
2822
|
/** @description OK */
|
|
2356
2823
|
200: {
|
|
2357
2824
|
headers: {
|
|
2825
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2826
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2827
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2358
2828
|
[name: string]: unknown;
|
|
2359
2829
|
};
|
|
2360
2830
|
content: {
|
|
2361
2831
|
"application/json": components["schemas"]["WebhookDelivery"];
|
|
2362
2832
|
};
|
|
2363
2833
|
};
|
|
2834
|
+
400: components["responses"]["Error400"];
|
|
2835
|
+
401: components["responses"]["Error401"];
|
|
2836
|
+
403: components["responses"]["Error403"];
|
|
2837
|
+
429: components["responses"]["Error429"];
|
|
2364
2838
|
/** @description Error response. */
|
|
2365
2839
|
default: {
|
|
2366
2840
|
headers: {
|
|
@@ -2391,12 +2865,20 @@ export interface operations {
|
|
|
2391
2865
|
/** @description OK */
|
|
2392
2866
|
200: {
|
|
2393
2867
|
headers: {
|
|
2868
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2869
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2870
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2394
2871
|
[name: string]: unknown;
|
|
2395
2872
|
};
|
|
2396
2873
|
content: {
|
|
2397
2874
|
"application/json": components["schemas"]["WebhookDelivery"];
|
|
2398
2875
|
};
|
|
2399
2876
|
};
|
|
2877
|
+
400: components["responses"]["Error400"];
|
|
2878
|
+
401: components["responses"]["Error401"];
|
|
2879
|
+
403: components["responses"]["Error403"];
|
|
2880
|
+
409: components["responses"]["Error409"];
|
|
2881
|
+
429: components["responses"]["Error429"];
|
|
2400
2882
|
/** @description Error response. */
|
|
2401
2883
|
default: {
|
|
2402
2884
|
headers: {
|
|
@@ -2425,12 +2907,20 @@ export interface operations {
|
|
|
2425
2907
|
/** @description OK */
|
|
2426
2908
|
200: {
|
|
2427
2909
|
headers: {
|
|
2910
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2911
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2912
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2428
2913
|
[name: string]: unknown;
|
|
2429
2914
|
};
|
|
2430
2915
|
content: {
|
|
2431
2916
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
2432
2917
|
};
|
|
2433
2918
|
};
|
|
2919
|
+
400: components["responses"]["Error400"];
|
|
2920
|
+
401: components["responses"]["Error401"];
|
|
2921
|
+
403: components["responses"]["Error403"];
|
|
2922
|
+
409: components["responses"]["Error409"];
|
|
2923
|
+
429: components["responses"]["Error429"];
|
|
2434
2924
|
/** @description Error response. */
|
|
2435
2925
|
default: {
|
|
2436
2926
|
headers: {
|
|
@@ -2459,12 +2949,20 @@ export interface operations {
|
|
|
2459
2949
|
/** @description OK */
|
|
2460
2950
|
200: {
|
|
2461
2951
|
headers: {
|
|
2952
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2953
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2954
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2462
2955
|
[name: string]: unknown;
|
|
2463
2956
|
};
|
|
2464
2957
|
content: {
|
|
2465
2958
|
"application/json": components["schemas"]["WebhookEndpointCreateResponse"];
|
|
2466
2959
|
};
|
|
2467
2960
|
};
|
|
2961
|
+
400: components["responses"]["Error400"];
|
|
2962
|
+
401: components["responses"]["Error401"];
|
|
2963
|
+
403: components["responses"]["Error403"];
|
|
2964
|
+
409: components["responses"]["Error409"];
|
|
2965
|
+
429: components["responses"]["Error429"];
|
|
2468
2966
|
/** @description Error response. */
|
|
2469
2967
|
default: {
|
|
2470
2968
|
headers: {
|