@b3dotfun/sdk 0.0.70-alpha.1 → 0.0.70
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/dist/cjs/anyspend/index.d.ts +0 -1
- package/dist/cjs/anyspend/index.js +0 -1
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/cjs/anyspend/react/components/AnySpend.js +1 -13
- package/dist/cjs/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/cjs/anyspend/react/components/AnySpendBondKit.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +2 -6
- package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.js +1 -3
- package/dist/cjs/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendDepositUpside.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3ExactIn.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpside.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpsideExactIn.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +1 -1
- package/dist/cjs/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnyspendDepositHype.js +2 -2
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +1 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +1 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/cjs/anyspend/services/anyspend.d.ts +1 -2
- package/dist/cjs/anyspend/services/anyspend.js +1 -2
- package/dist/cjs/anyspend/types/api.d.ts +0 -295
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +0 -4
- package/dist/esm/anyspend/index.d.ts +0 -1
- package/dist/esm/anyspend/index.js +0 -1
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/esm/anyspend/react/components/AnySpend.js +1 -13
- package/dist/esm/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/esm/anyspend/react/components/AnySpendBondKit.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +2 -6
- package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.js +1 -3
- package/dist/esm/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendDepositUpside.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3ExactIn.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpside.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpsideExactIn.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +1 -1
- package/dist/esm/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnyspendDepositHype.js +2 -2
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +1 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +1 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/esm/anyspend/services/anyspend.d.ts +1 -2
- package/dist/esm/anyspend/services/anyspend.js +1 -2
- package/dist/esm/anyspend/types/api.d.ts +0 -295
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +0 -4
- package/dist/types/anyspend/index.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/types/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/types/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/types/anyspend/services/anyspend.d.ts +1 -2
- package/dist/types/anyspend/types/api.d.ts +0 -295
- package/dist/types/global-account/react/stores/useModalStore.d.ts +0 -4
- package/package.json +1 -1
- package/src/anyspend/index.ts +0 -1
- package/src/anyspend/react/components/AnySpend.tsx +0 -23
- package/src/anyspend/react/components/AnySpendBondKit.tsx +1 -3
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +0 -3
- package/src/anyspend/react/components/AnySpendCustom.tsx +1 -8
- package/src/anyspend/react/components/AnySpendCustomExactIn.tsx +0 -4
- package/src/anyspend/react/components/AnySpendDepositUpside.tsx +0 -3
- package/src/anyspend/react/components/AnySpendNFT.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeB3ExactIn.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeUpside.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeUpsideExactIn.tsx +0 -3
- package/src/anyspend/react/components/AnySpendTournament.tsx +0 -3
- package/src/anyspend/react/components/AnyspendDepositHype.tsx +0 -3
- package/src/anyspend/react/components/AnyspendSignatureMint.tsx +0 -3
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +0 -2
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +1 -13
- package/src/anyspend/services/anyspend.ts +0 -3
- package/src/anyspend/types/api.ts +0 -295
- package/src/global-account/react/stores/useModalStore.ts +0 -4
- package/dist/cjs/anyspend/utils/validation.d.ts +0 -67
- package/dist/cjs/anyspend/utils/validation.js +0 -157
- package/dist/esm/anyspend/utils/validation.d.ts +0 -67
- package/dist/esm/anyspend/utils/validation.js +0 -153
- package/dist/types/anyspend/utils/validation.d.ts +0 -67
- package/src/anyspend/utils/validation.ts +0 -209
|
@@ -4,12 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
6
|
"/chains/{chainId}/tokens": {
|
|
7
|
-
parameters: {
|
|
8
|
-
query?: never;
|
|
9
|
-
header?: never;
|
|
10
|
-
path?: never;
|
|
11
|
-
cookie?: never;
|
|
12
|
-
};
|
|
13
7
|
/**
|
|
14
8
|
* Get tokens for a chain
|
|
15
9
|
* @description Retrieves available tokens for a specific blockchain
|
|
@@ -25,7 +19,6 @@ export interface paths {
|
|
|
25
19
|
/** @description Maximum number of tokens to return */
|
|
26
20
|
limit?: number;
|
|
27
21
|
};
|
|
28
|
-
header?: never;
|
|
29
22
|
path: {
|
|
30
23
|
/**
|
|
31
24
|
* @description Blockchain chain ID
|
|
@@ -33,15 +26,10 @@ export interface paths {
|
|
|
33
26
|
*/
|
|
34
27
|
chainId: number;
|
|
35
28
|
};
|
|
36
|
-
cookie?: never;
|
|
37
29
|
};
|
|
38
|
-
requestBody?: never;
|
|
39
30
|
responses: {
|
|
40
31
|
/** @description Tokens retrieved successfully */
|
|
41
32
|
200: {
|
|
42
|
-
headers: {
|
|
43
|
-
[name: string]: unknown;
|
|
44
|
-
};
|
|
45
33
|
content: {
|
|
46
34
|
"application/json": {
|
|
47
35
|
/** @example true */
|
|
@@ -72,9 +60,6 @@ export interface paths {
|
|
|
72
60
|
};
|
|
73
61
|
/** @description Bad request */
|
|
74
62
|
400: {
|
|
75
|
-
headers: {
|
|
76
|
-
[name: string]: unknown;
|
|
77
|
-
};
|
|
78
63
|
content: {
|
|
79
64
|
"application/json": {
|
|
80
65
|
/** @example false */
|
|
@@ -88,21 +73,8 @@ export interface paths {
|
|
|
88
73
|
};
|
|
89
74
|
};
|
|
90
75
|
};
|
|
91
|
-
put?: never;
|
|
92
|
-
post?: never;
|
|
93
|
-
delete?: never;
|
|
94
|
-
options?: never;
|
|
95
|
-
head?: never;
|
|
96
|
-
patch?: never;
|
|
97
|
-
trace?: never;
|
|
98
76
|
};
|
|
99
77
|
"/onramp/coinbase/options": {
|
|
100
|
-
parameters: {
|
|
101
|
-
query?: never;
|
|
102
|
-
header?: never;
|
|
103
|
-
path?: never;
|
|
104
|
-
cookie?: never;
|
|
105
|
-
};
|
|
106
78
|
/**
|
|
107
79
|
* Get Coinbase onramp options
|
|
108
80
|
* @description Retrieves available Coinbase onramp configuration options.
|
|
@@ -139,17 +111,10 @@ export interface paths {
|
|
|
139
111
|
*/
|
|
140
112
|
chainIds?: string[];
|
|
141
113
|
};
|
|
142
|
-
header?: never;
|
|
143
|
-
path?: never;
|
|
144
|
-
cookie?: never;
|
|
145
114
|
};
|
|
146
|
-
requestBody?: never;
|
|
147
115
|
responses: {
|
|
148
116
|
/** @description Coinbase options retrieved successfully */
|
|
149
117
|
200: {
|
|
150
|
-
headers: {
|
|
151
|
-
[name: string]: unknown;
|
|
152
|
-
};
|
|
153
118
|
content: {
|
|
154
119
|
"application/json": {
|
|
155
120
|
/** @example true */
|
|
@@ -252,9 +217,6 @@ export interface paths {
|
|
|
252
217
|
};
|
|
253
218
|
/** @description Bad request */
|
|
254
219
|
400: {
|
|
255
|
-
headers: {
|
|
256
|
-
[name: string]: unknown;
|
|
257
|
-
};
|
|
258
220
|
content: {
|
|
259
221
|
"application/json": {
|
|
260
222
|
/** @example false */
|
|
@@ -268,34 +230,13 @@ export interface paths {
|
|
|
268
230
|
};
|
|
269
231
|
};
|
|
270
232
|
};
|
|
271
|
-
put?: never;
|
|
272
|
-
post?: never;
|
|
273
|
-
delete?: never;
|
|
274
|
-
options?: never;
|
|
275
|
-
head?: never;
|
|
276
|
-
patch?: never;
|
|
277
|
-
trace?: never;
|
|
278
233
|
};
|
|
279
234
|
"/onramp/coinbase/session-token": {
|
|
280
|
-
parameters: {
|
|
281
|
-
query?: never;
|
|
282
|
-
header?: never;
|
|
283
|
-
path?: never;
|
|
284
|
-
cookie?: never;
|
|
285
|
-
};
|
|
286
|
-
get?: never;
|
|
287
|
-
put?: never;
|
|
288
235
|
/**
|
|
289
236
|
* Create Coinbase session token
|
|
290
237
|
* @description Generates a Coinbase Onramp session token that can be reused when constructing buy URLs.
|
|
291
238
|
*/
|
|
292
239
|
post: {
|
|
293
|
-
parameters: {
|
|
294
|
-
query?: never;
|
|
295
|
-
header?: never;
|
|
296
|
-
path?: never;
|
|
297
|
-
cookie?: never;
|
|
298
|
-
};
|
|
299
240
|
requestBody: {
|
|
300
241
|
content: {
|
|
301
242
|
"application/json": components["schemas"]["CoinbaseSessionTokenRequest"];
|
|
@@ -304,18 +245,12 @@ export interface paths {
|
|
|
304
245
|
responses: {
|
|
305
246
|
/** @description Session token created successfully */
|
|
306
247
|
200: {
|
|
307
|
-
headers: {
|
|
308
|
-
[name: string]: unknown;
|
|
309
|
-
};
|
|
310
248
|
content: {
|
|
311
249
|
"application/json": components["schemas"]["CoinbaseSessionTokenResponse"];
|
|
312
250
|
};
|
|
313
251
|
};
|
|
314
252
|
/** @description Bad request */
|
|
315
253
|
400: {
|
|
316
|
-
headers: {
|
|
317
|
-
[name: string]: unknown;
|
|
318
|
-
};
|
|
319
254
|
content: {
|
|
320
255
|
"application/json": {
|
|
321
256
|
/** @example false */
|
|
@@ -329,32 +264,13 @@ export interface paths {
|
|
|
329
264
|
};
|
|
330
265
|
};
|
|
331
266
|
};
|
|
332
|
-
delete?: never;
|
|
333
|
-
options?: never;
|
|
334
|
-
head?: never;
|
|
335
|
-
patch?: never;
|
|
336
|
-
trace?: never;
|
|
337
267
|
};
|
|
338
268
|
"/onramp/coinbase/onramp-url": {
|
|
339
|
-
parameters: {
|
|
340
|
-
query?: never;
|
|
341
|
-
header?: never;
|
|
342
|
-
path?: never;
|
|
343
|
-
cookie?: never;
|
|
344
|
-
};
|
|
345
|
-
get?: never;
|
|
346
|
-
put?: never;
|
|
347
269
|
/**
|
|
348
270
|
* Create Coinbase onramp URL
|
|
349
271
|
* @description Creates a Coinbase Onramp buy URL and optionally returns a session token for reuse.
|
|
350
272
|
*/
|
|
351
273
|
post: {
|
|
352
|
-
parameters: {
|
|
353
|
-
query?: never;
|
|
354
|
-
header?: never;
|
|
355
|
-
path?: never;
|
|
356
|
-
cookie?: never;
|
|
357
|
-
};
|
|
358
274
|
requestBody: {
|
|
359
275
|
content: {
|
|
360
276
|
"application/json": components["schemas"]["CoinbaseOnrampUrlRequest"];
|
|
@@ -363,18 +279,12 @@ export interface paths {
|
|
|
363
279
|
responses: {
|
|
364
280
|
/** @description Onramp URL created successfully */
|
|
365
281
|
200: {
|
|
366
|
-
headers: {
|
|
367
|
-
[name: string]: unknown;
|
|
368
|
-
};
|
|
369
282
|
content: {
|
|
370
283
|
"application/json": components["schemas"]["CoinbaseOnrampUrlResponse"];
|
|
371
284
|
};
|
|
372
285
|
};
|
|
373
286
|
/** @description Bad request */
|
|
374
287
|
400: {
|
|
375
|
-
headers: {
|
|
376
|
-
[name: string]: unknown;
|
|
377
|
-
};
|
|
378
288
|
content: {
|
|
379
289
|
"application/json": {
|
|
380
290
|
/** @example false */
|
|
@@ -388,32 +298,13 @@ export interface paths {
|
|
|
388
298
|
};
|
|
389
299
|
};
|
|
390
300
|
};
|
|
391
|
-
delete?: never;
|
|
392
|
-
options?: never;
|
|
393
|
-
head?: never;
|
|
394
|
-
patch?: never;
|
|
395
|
-
trace?: never;
|
|
396
301
|
};
|
|
397
302
|
"/onramp/coinbase/direct-url": {
|
|
398
|
-
parameters: {
|
|
399
|
-
query?: never;
|
|
400
|
-
header?: never;
|
|
401
|
-
path?: never;
|
|
402
|
-
cookie?: never;
|
|
403
|
-
};
|
|
404
|
-
get?: never;
|
|
405
|
-
put?: never;
|
|
406
303
|
/**
|
|
407
304
|
* Generate direct Coinbase onramp URL
|
|
408
305
|
* @description Generates a direct Coinbase Onramp URL along with the session token backing it.
|
|
409
306
|
*/
|
|
410
307
|
post: {
|
|
411
|
-
parameters: {
|
|
412
|
-
query?: never;
|
|
413
|
-
header?: never;
|
|
414
|
-
path?: never;
|
|
415
|
-
cookie?: never;
|
|
416
|
-
};
|
|
417
308
|
requestBody: {
|
|
418
309
|
content: {
|
|
419
310
|
"application/json": components["schemas"]["CoinbaseDirectOnrampRequest"];
|
|
@@ -422,18 +313,12 @@ export interface paths {
|
|
|
422
313
|
responses: {
|
|
423
314
|
/** @description Direct onramp URL generated successfully */
|
|
424
315
|
200: {
|
|
425
|
-
headers: {
|
|
426
|
-
[name: string]: unknown;
|
|
427
|
-
};
|
|
428
316
|
content: {
|
|
429
317
|
"application/json": components["schemas"]["CoinbaseDirectOnrampResponse"];
|
|
430
318
|
};
|
|
431
319
|
};
|
|
432
320
|
/** @description Bad request */
|
|
433
321
|
400: {
|
|
434
|
-
headers: {
|
|
435
|
-
[name: string]: unknown;
|
|
436
|
-
};
|
|
437
322
|
content: {
|
|
438
323
|
"application/json": {
|
|
439
324
|
/** @example false */
|
|
@@ -447,19 +332,8 @@ export interface paths {
|
|
|
447
332
|
};
|
|
448
333
|
};
|
|
449
334
|
};
|
|
450
|
-
delete?: never;
|
|
451
|
-
options?: never;
|
|
452
|
-
head?: never;
|
|
453
|
-
patch?: never;
|
|
454
|
-
trace?: never;
|
|
455
335
|
};
|
|
456
336
|
"/onramp/stripe/supported": {
|
|
457
|
-
parameters: {
|
|
458
|
-
query?: never;
|
|
459
|
-
header?: never;
|
|
460
|
-
path?: never;
|
|
461
|
-
cookie?: never;
|
|
462
|
-
};
|
|
463
337
|
/**
|
|
464
338
|
* Check Stripe support
|
|
465
339
|
* @description Checks if Stripe onramp and Stripe Web2 are supported based on IP address location and optional transaction amount
|
|
@@ -473,17 +347,10 @@ export interface paths {
|
|
|
473
347
|
*/
|
|
474
348
|
usdAmount?: string;
|
|
475
349
|
};
|
|
476
|
-
header?: never;
|
|
477
|
-
path?: never;
|
|
478
|
-
cookie?: never;
|
|
479
350
|
};
|
|
480
|
-
requestBody?: never;
|
|
481
351
|
responses: {
|
|
482
352
|
/** @description Stripe support status retrieved successfully */
|
|
483
353
|
200: {
|
|
484
|
-
headers: {
|
|
485
|
-
[name: string]: unknown;
|
|
486
|
-
};
|
|
487
354
|
content: {
|
|
488
355
|
"application/json": {
|
|
489
356
|
/** @example true */
|
|
@@ -506,9 +373,6 @@ export interface paths {
|
|
|
506
373
|
};
|
|
507
374
|
/** @description Bad request */
|
|
508
375
|
400: {
|
|
509
|
-
headers: {
|
|
510
|
-
[name: string]: unknown;
|
|
511
|
-
};
|
|
512
376
|
content: {
|
|
513
377
|
"application/json": {
|
|
514
378
|
/** @example false */
|
|
@@ -522,21 +386,8 @@ export interface paths {
|
|
|
522
386
|
};
|
|
523
387
|
};
|
|
524
388
|
};
|
|
525
|
-
put?: never;
|
|
526
|
-
post?: never;
|
|
527
|
-
delete?: never;
|
|
528
|
-
options?: never;
|
|
529
|
-
head?: never;
|
|
530
|
-
patch?: never;
|
|
531
|
-
trace?: never;
|
|
532
389
|
};
|
|
533
390
|
"/orders": {
|
|
534
|
-
parameters: {
|
|
535
|
-
query?: never;
|
|
536
|
-
header?: never;
|
|
537
|
-
path?: never;
|
|
538
|
-
cookie?: never;
|
|
539
|
-
};
|
|
540
391
|
/**
|
|
541
392
|
* Get orders by creator
|
|
542
393
|
* @description Retrieves all orders created by a specific address
|
|
@@ -560,17 +411,10 @@ export interface paths {
|
|
|
560
411
|
*/
|
|
561
412
|
offset?: string;
|
|
562
413
|
};
|
|
563
|
-
header?: never;
|
|
564
|
-
path?: never;
|
|
565
|
-
cookie?: never;
|
|
566
414
|
};
|
|
567
|
-
requestBody?: never;
|
|
568
415
|
responses: {
|
|
569
416
|
/** @description Orders retrieved successfully */
|
|
570
417
|
200: {
|
|
571
|
-
headers: {
|
|
572
|
-
[name: string]: unknown;
|
|
573
|
-
};
|
|
574
418
|
content: {
|
|
575
419
|
"application/json": {
|
|
576
420
|
/** @example true */
|
|
@@ -586,9 +430,6 @@ export interface paths {
|
|
|
586
430
|
};
|
|
587
431
|
/** @description Bad request */
|
|
588
432
|
400: {
|
|
589
|
-
headers: {
|
|
590
|
-
[name: string]: unknown;
|
|
591
|
-
};
|
|
592
433
|
content: {
|
|
593
434
|
"application/json": {
|
|
594
435
|
/** @example false */
|
|
@@ -602,18 +443,11 @@ export interface paths {
|
|
|
602
443
|
};
|
|
603
444
|
};
|
|
604
445
|
};
|
|
605
|
-
put?: never;
|
|
606
446
|
/**
|
|
607
447
|
* Create a new order
|
|
608
448
|
* @description Creates a new order for token transactions across chains
|
|
609
449
|
*/
|
|
610
450
|
post: {
|
|
611
|
-
parameters: {
|
|
612
|
-
query?: never;
|
|
613
|
-
header?: never;
|
|
614
|
-
path?: never;
|
|
615
|
-
cookie?: never;
|
|
616
|
-
};
|
|
617
451
|
requestBody: {
|
|
618
452
|
content: {
|
|
619
453
|
"application/json": components["schemas"]["OrderRequest"];
|
|
@@ -622,9 +456,6 @@ export interface paths {
|
|
|
622
456
|
responses: {
|
|
623
457
|
/** @description Order created successfully */
|
|
624
458
|
200: {
|
|
625
|
-
headers: {
|
|
626
|
-
[name: string]: unknown;
|
|
627
|
-
};
|
|
628
459
|
content: {
|
|
629
460
|
"application/json": {
|
|
630
461
|
/** @example true */
|
|
@@ -639,9 +470,6 @@ export interface paths {
|
|
|
639
470
|
};
|
|
640
471
|
/** @description Bad request */
|
|
641
472
|
400: {
|
|
642
|
-
headers: {
|
|
643
|
-
[name: string]: unknown;
|
|
644
|
-
};
|
|
645
473
|
content: {
|
|
646
474
|
"application/json": {
|
|
647
475
|
/** @example false */
|
|
@@ -655,27 +483,14 @@ export interface paths {
|
|
|
655
483
|
};
|
|
656
484
|
};
|
|
657
485
|
};
|
|
658
|
-
delete?: never;
|
|
659
|
-
options?: never;
|
|
660
|
-
head?: never;
|
|
661
|
-
patch?: never;
|
|
662
|
-
trace?: never;
|
|
663
486
|
};
|
|
664
487
|
"/orders/{orderId}": {
|
|
665
|
-
parameters: {
|
|
666
|
-
query?: never;
|
|
667
|
-
header?: never;
|
|
668
|
-
path?: never;
|
|
669
|
-
cookie?: never;
|
|
670
|
-
};
|
|
671
488
|
/**
|
|
672
489
|
* Get order and transactions
|
|
673
490
|
* @description Retrieves order details along with associated transactions
|
|
674
491
|
*/
|
|
675
492
|
get: {
|
|
676
493
|
parameters: {
|
|
677
|
-
query?: never;
|
|
678
|
-
header?: never;
|
|
679
494
|
path: {
|
|
680
495
|
/**
|
|
681
496
|
* @description Unique order identifier
|
|
@@ -683,15 +498,10 @@ export interface paths {
|
|
|
683
498
|
*/
|
|
684
499
|
orderId: string;
|
|
685
500
|
};
|
|
686
|
-
cookie?: never;
|
|
687
501
|
};
|
|
688
|
-
requestBody?: never;
|
|
689
502
|
responses: {
|
|
690
503
|
/** @description Order and transactions retrieved successfully */
|
|
691
504
|
200: {
|
|
692
|
-
headers: {
|
|
693
|
-
[name: string]: unknown;
|
|
694
|
-
};
|
|
695
505
|
content: {
|
|
696
506
|
"application/json": {
|
|
697
507
|
/** @example true */
|
|
@@ -743,9 +553,6 @@ export interface paths {
|
|
|
743
553
|
};
|
|
744
554
|
/** @description Bad request */
|
|
745
555
|
400: {
|
|
746
|
-
headers: {
|
|
747
|
-
[name: string]: unknown;
|
|
748
|
-
};
|
|
749
556
|
content: {
|
|
750
557
|
"application/json": {
|
|
751
558
|
/** @example false */
|
|
@@ -759,9 +566,6 @@ export interface paths {
|
|
|
759
566
|
};
|
|
760
567
|
/** @description Order not found */
|
|
761
568
|
404: {
|
|
762
|
-
headers: {
|
|
763
|
-
[name: string]: unknown;
|
|
764
|
-
};
|
|
765
569
|
content: {
|
|
766
570
|
"application/json": {
|
|
767
571
|
/** @example false */
|
|
@@ -775,29 +579,14 @@ export interface paths {
|
|
|
775
579
|
};
|
|
776
580
|
};
|
|
777
581
|
};
|
|
778
|
-
put?: never;
|
|
779
|
-
post?: never;
|
|
780
|
-
delete?: never;
|
|
781
|
-
options?: never;
|
|
782
|
-
head?: never;
|
|
783
|
-
patch?: never;
|
|
784
|
-
trace?: never;
|
|
785
582
|
};
|
|
786
583
|
"/orders/{orderId}/comprehensive": {
|
|
787
|
-
parameters: {
|
|
788
|
-
query?: never;
|
|
789
|
-
header?: never;
|
|
790
|
-
path?: never;
|
|
791
|
-
cookie?: never;
|
|
792
|
-
};
|
|
793
584
|
/**
|
|
794
585
|
* Get comprehensive order detail
|
|
795
586
|
* @description Retrieves an order with associated transactions, settlement data, and awarded points without sanitization.
|
|
796
587
|
*/
|
|
797
588
|
get: {
|
|
798
589
|
parameters: {
|
|
799
|
-
query?: never;
|
|
800
|
-
header?: never;
|
|
801
590
|
path: {
|
|
802
591
|
/**
|
|
803
592
|
* @description Unique order identifier
|
|
@@ -805,24 +594,16 @@ export interface paths {
|
|
|
805
594
|
*/
|
|
806
595
|
orderId: string;
|
|
807
596
|
};
|
|
808
|
-
cookie?: never;
|
|
809
597
|
};
|
|
810
|
-
requestBody?: never;
|
|
811
598
|
responses: {
|
|
812
599
|
/** @description Comprehensive order retrieved successfully */
|
|
813
600
|
200: {
|
|
814
|
-
headers: {
|
|
815
|
-
[name: string]: unknown;
|
|
816
|
-
};
|
|
817
601
|
content: {
|
|
818
602
|
"application/json": components["schemas"]["ComprehensiveOrderResponse"];
|
|
819
603
|
};
|
|
820
604
|
};
|
|
821
605
|
/** @description Bad request */
|
|
822
606
|
400: {
|
|
823
|
-
headers: {
|
|
824
|
-
[name: string]: unknown;
|
|
825
|
-
};
|
|
826
607
|
content: {
|
|
827
608
|
"application/json": {
|
|
828
609
|
/** @example false */
|
|
@@ -836,9 +617,6 @@ export interface paths {
|
|
|
836
617
|
};
|
|
837
618
|
/** @description Order not found */
|
|
838
619
|
404: {
|
|
839
|
-
headers: {
|
|
840
|
-
[name: string]: unknown;
|
|
841
|
-
};
|
|
842
620
|
content: {
|
|
843
621
|
"application/json": {
|
|
844
622
|
/** @example false */
|
|
@@ -852,34 +630,13 @@ export interface paths {
|
|
|
852
630
|
};
|
|
853
631
|
};
|
|
854
632
|
};
|
|
855
|
-
put?: never;
|
|
856
|
-
post?: never;
|
|
857
|
-
delete?: never;
|
|
858
|
-
options?: never;
|
|
859
|
-
head?: never;
|
|
860
|
-
patch?: never;
|
|
861
|
-
trace?: never;
|
|
862
633
|
};
|
|
863
634
|
"/orders/quote": {
|
|
864
|
-
parameters: {
|
|
865
|
-
query?: never;
|
|
866
|
-
header?: never;
|
|
867
|
-
path?: never;
|
|
868
|
-
cookie?: never;
|
|
869
|
-
};
|
|
870
|
-
get?: never;
|
|
871
|
-
put?: never;
|
|
872
635
|
/**
|
|
873
636
|
* Get anyspend quote
|
|
874
637
|
* @description Retrieves a quote to swap, execute contract, or participate in HypeDuel
|
|
875
638
|
*/
|
|
876
639
|
post: {
|
|
877
|
-
parameters: {
|
|
878
|
-
query?: never;
|
|
879
|
-
header?: never;
|
|
880
|
-
path?: never;
|
|
881
|
-
cookie?: never;
|
|
882
|
-
};
|
|
883
640
|
requestBody: {
|
|
884
641
|
content: {
|
|
885
642
|
"application/json": {
|
|
@@ -1155,9 +912,6 @@ export interface paths {
|
|
|
1155
912
|
responses: {
|
|
1156
913
|
/** @description Quote retrieved successfully */
|
|
1157
914
|
200: {
|
|
1158
|
-
headers: {
|
|
1159
|
-
[name: string]: unknown;
|
|
1160
|
-
};
|
|
1161
915
|
content: {
|
|
1162
916
|
"application/json": {
|
|
1163
917
|
/** @example true */
|
|
@@ -1338,9 +1092,6 @@ export interface paths {
|
|
|
1338
1092
|
};
|
|
1339
1093
|
/** @description Bad request */
|
|
1340
1094
|
400: {
|
|
1341
|
-
headers: {
|
|
1342
|
-
[name: string]: unknown;
|
|
1343
|
-
};
|
|
1344
1095
|
content: {
|
|
1345
1096
|
"application/json": {
|
|
1346
1097
|
/** @example false */
|
|
@@ -1354,19 +1105,8 @@ export interface paths {
|
|
|
1354
1105
|
};
|
|
1355
1106
|
};
|
|
1356
1107
|
};
|
|
1357
|
-
delete?: never;
|
|
1358
|
-
options?: never;
|
|
1359
|
-
head?: never;
|
|
1360
|
-
patch?: never;
|
|
1361
|
-
trace?: never;
|
|
1362
1108
|
};
|
|
1363
1109
|
"/stripe/clientSecret": {
|
|
1364
|
-
parameters: {
|
|
1365
|
-
query?: never;
|
|
1366
|
-
header?: never;
|
|
1367
|
-
path?: never;
|
|
1368
|
-
cookie?: never;
|
|
1369
|
-
};
|
|
1370
1110
|
/**
|
|
1371
1111
|
* Get Stripe client secret
|
|
1372
1112
|
* @description Retrieves a Stripe client secret for payment processing using a payment intent ID
|
|
@@ -1380,17 +1120,10 @@ export interface paths {
|
|
|
1380
1120
|
*/
|
|
1381
1121
|
paymentIntentId: string;
|
|
1382
1122
|
};
|
|
1383
|
-
header?: never;
|
|
1384
|
-
path?: never;
|
|
1385
|
-
cookie?: never;
|
|
1386
1123
|
};
|
|
1387
|
-
requestBody?: never;
|
|
1388
1124
|
responses: {
|
|
1389
1125
|
/** @description Client secret retrieved successfully */
|
|
1390
1126
|
200: {
|
|
1391
|
-
headers: {
|
|
1392
|
-
[name: string]: unknown;
|
|
1393
|
-
};
|
|
1394
1127
|
content: {
|
|
1395
1128
|
"application/json": {
|
|
1396
1129
|
/** @example true */
|
|
@@ -1409,9 +1142,6 @@ export interface paths {
|
|
|
1409
1142
|
};
|
|
1410
1143
|
/** @description Bad request - PaymentIntentId is required or invalid */
|
|
1411
1144
|
400: {
|
|
1412
|
-
headers: {
|
|
1413
|
-
[name: string]: unknown;
|
|
1414
|
-
};
|
|
1415
1145
|
content: {
|
|
1416
1146
|
"application/json": {
|
|
1417
1147
|
/** @example false */
|
|
@@ -1425,13 +1155,6 @@ export interface paths {
|
|
|
1425
1155
|
};
|
|
1426
1156
|
};
|
|
1427
1157
|
};
|
|
1428
|
-
put?: never;
|
|
1429
|
-
post?: never;
|
|
1430
|
-
delete?: never;
|
|
1431
|
-
options?: never;
|
|
1432
|
-
head?: never;
|
|
1433
|
-
patch?: never;
|
|
1434
|
-
trace?: never;
|
|
1435
1158
|
};
|
|
1436
1159
|
}
|
|
1437
1160
|
export type webhooks = Record<string, never>;
|
|
@@ -2061,8 +1784,6 @@ export interface components {
|
|
|
2061
1784
|
creatorAddress: string | null;
|
|
2062
1785
|
/** @description Optional partner identifier */
|
|
2063
1786
|
partnerId: string | null;
|
|
2064
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2065
|
-
clientReferenceId?: string | null;
|
|
2066
1787
|
/** @description Onramp configuration if used */
|
|
2067
1788
|
onrampMetadata: components["schemas"]["OnrampMetadata"] | null;
|
|
2068
1789
|
/** @description Quick purchase URL if available */
|
|
@@ -2209,8 +1930,6 @@ export interface components {
|
|
|
2209
1930
|
metadata: components["schemas"]["SwapMetadata"];
|
|
2210
1931
|
/** @description Optional partner identifier */
|
|
2211
1932
|
partnerId?: string;
|
|
2212
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2213
|
-
clientReferenceId?: string;
|
|
2214
1933
|
onramp?: components["schemas"]["Onramp"];
|
|
2215
1934
|
/**
|
|
2216
1935
|
* @description Optional address of the order creator
|
|
@@ -2259,8 +1978,6 @@ export interface components {
|
|
|
2259
1978
|
metadata: components["schemas"]["SwapMetadata"];
|
|
2260
1979
|
/** @description Optional partner identifier */
|
|
2261
1980
|
partnerId?: string;
|
|
2262
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2263
|
-
clientReferenceId?: string;
|
|
2264
1981
|
onramp?: components["schemas"]["Onramp"];
|
|
2265
1982
|
/**
|
|
2266
1983
|
* @description Optional address of the order creator
|
|
@@ -2309,8 +2026,6 @@ export interface components {
|
|
|
2309
2026
|
metadata: components["schemas"]["HypeDuelMetadata"];
|
|
2310
2027
|
/** @description Optional partner identifier */
|
|
2311
2028
|
partnerId?: string;
|
|
2312
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2313
|
-
clientReferenceId?: string;
|
|
2314
2029
|
onramp?: components["schemas"]["Onramp"];
|
|
2315
2030
|
/**
|
|
2316
2031
|
* @description Optional address of the order creator
|
|
@@ -2359,8 +2074,6 @@ export interface components {
|
|
|
2359
2074
|
metadata: components["schemas"]["CustomMetadata"];
|
|
2360
2075
|
/** @description Optional partner identifier */
|
|
2361
2076
|
partnerId?: string;
|
|
2362
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2363
|
-
clientReferenceId?: string;
|
|
2364
2077
|
onramp?: components["schemas"]["Onramp"];
|
|
2365
2078
|
/**
|
|
2366
2079
|
* @description Optional address of the order creator
|
|
@@ -2409,8 +2122,6 @@ export interface components {
|
|
|
2409
2122
|
metadata: components["schemas"]["CustomMetadata"];
|
|
2410
2123
|
/** @description Optional partner identifier */
|
|
2411
2124
|
partnerId?: string;
|
|
2412
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2413
|
-
clientReferenceId?: string;
|
|
2414
2125
|
onramp?: components["schemas"]["Onramp"];
|
|
2415
2126
|
/**
|
|
2416
2127
|
* @description Optional address of the order creator
|
|
@@ -2459,8 +2170,6 @@ export interface components {
|
|
|
2459
2170
|
metadata: components["schemas"]["MintNftMetadata"];
|
|
2460
2171
|
/** @description Optional partner identifier */
|
|
2461
2172
|
partnerId?: string;
|
|
2462
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2463
|
-
clientReferenceId?: string;
|
|
2464
2173
|
onramp?: components["schemas"]["Onramp"];
|
|
2465
2174
|
/**
|
|
2466
2175
|
* @description Optional address of the order creator
|
|
@@ -2509,8 +2218,6 @@ export interface components {
|
|
|
2509
2218
|
metadata: components["schemas"]["TournamentMetadata"];
|
|
2510
2219
|
/** @description Optional partner identifier */
|
|
2511
2220
|
partnerId?: string;
|
|
2512
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2513
|
-
clientReferenceId?: string;
|
|
2514
2221
|
onramp?: components["schemas"]["Onramp"];
|
|
2515
2222
|
/**
|
|
2516
2223
|
* @description Optional address of the order creator
|
|
@@ -2559,8 +2266,6 @@ export interface components {
|
|
|
2559
2266
|
metadata: components["schemas"]["TournamentMetadata"];
|
|
2560
2267
|
/** @description Optional partner identifier */
|
|
2561
2268
|
partnerId?: string;
|
|
2562
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2563
|
-
clientReferenceId?: string;
|
|
2564
2269
|
onramp?: components["schemas"]["Onramp"];
|
|
2565
2270
|
/**
|
|
2566
2271
|
* @description Optional address of the order creator
|