@imtbl/sdk 1.43.3 → 1.43.4

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.
Files changed (53) hide show
  1. package/dist/Passport.d-011d5035.d.ts +224 -0
  2. package/dist/blockchain-data.d-1634b683.d.ts +3406 -0
  3. package/dist/blockchain_data-d989298c.js +1 -0
  4. package/dist/blockchain_data.d-d538f8d4.d.ts +4543 -0
  5. package/dist/blockchain_data.d.ts +3 -7950
  6. package/dist/blockchain_data.js +1 -6058
  7. package/dist/browser/checkout/sdk.js +4 -4
  8. package/dist/checkout-68675dd1.js +16 -0
  9. package/dist/checkout.d-ae9ca847.d.ts +3392 -0
  10. package/dist/checkout.d.ts +7 -16882
  11. package/dist/checkout.js +1 -37189
  12. package/dist/config-53a9a4ca.js +1 -0
  13. package/dist/config.d-65420620.d.ts +18 -0
  14. package/dist/config.d.ts +1 -30
  15. package/dist/config.js +1 -394
  16. package/dist/event-types.d-42520276.d.ts +332 -0
  17. package/dist/imxProvider.d-cac9e315.d.ts +12538 -0
  18. package/dist/index-14aad537.js +1 -0
  19. package/dist/index-3951cdf0.js +1 -0
  20. package/dist/index-3f40d7f6.js +1 -0
  21. package/dist/index-58a79c29.js +1 -0
  22. package/dist/index-96599707.js +1 -0
  23. package/dist/index-e7002486.js +1 -0
  24. package/dist/index.browser.js +4 -4
  25. package/dist/index.cjs +7 -7
  26. package/dist/index.d-c4a4c17d.d.ts +277 -0
  27. package/dist/index.d-f0845744.d.ts +30 -0
  28. package/dist/index.d-f1471830.d.ts +376 -0
  29. package/dist/index.d.ts +18 -32627
  30. package/dist/index.js +1 -64124
  31. package/dist/json-rpc-provider.d-5c038bd9.d.ts +249 -0
  32. package/dist/minting_backend-04aef147.js +1 -0
  33. package/dist/minting_backend.d-4754ffee.d.ts +104 -0
  34. package/dist/minting_backend.d.ts +5 -3535
  35. package/dist/minting_backend.js +1 -6756
  36. package/dist/orderbook-e71036df.js +1 -0
  37. package/dist/orderbook.d-77162c6c.d.ts +1257 -0
  38. package/dist/orderbook.d.ts +5 -1713
  39. package/dist/orderbook.js +1 -2479
  40. package/dist/passport-0f45e532.js +1 -0
  41. package/dist/passport.d-d3f44798.d.ts +67 -0
  42. package/dist/passport.d.ts +6 -13703
  43. package/dist/passport.js +1 -23137
  44. package/dist/transfer.d-87728423.d.ts +898 -0
  45. package/dist/webhook-a16541bb.js +1 -0
  46. package/dist/webhook.d-4c3cb340.d.ts +75 -0
  47. package/dist/webhook.d.ts +4 -1265
  48. package/dist/webhook.js +1 -488
  49. package/dist/x-a5b39578.js +1 -0
  50. package/dist/x.d-1b51f0c3.d.ts +4879 -0
  51. package/dist/x.d.ts +6 -18663
  52. package/dist/x.js +1 -19242
  53. package/package.json +1 -1
@@ -0,0 +1,898 @@
1
+ /**
2
+ * Immutable X API
3
+ * Immutable X API
4
+ *
5
+ * The version of the OpenAPI document: 3.0.0
6
+ * Contact: support@immutable.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CollectionDetails
16
+ */
17
+ interface CollectionDetails {
18
+ /**
19
+ * URL of the icon of the collection
20
+ * @type {string}
21
+ * @memberof CollectionDetails
22
+ */
23
+ 'icon_url': string | null;
24
+ /**
25
+ * Name of the collection
26
+ * @type {string}
27
+ * @memberof CollectionDetails
28
+ */
29
+ 'name': string;
30
+ }
31
+
32
+ /**
33
+ * Immutable X API
34
+ * Immutable X API
35
+ *
36
+ * The version of the OpenAPI document: 3.0.0
37
+ * Contact: support@immutable.com
38
+ *
39
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
40
+ * https://openapi-generator.tech
41
+ * Do not edit the class manually.
42
+ */
43
+
44
+ /**
45
+ * @type AssetPropertiesCollection
46
+ * Details of this asset\'s collection
47
+ * @export
48
+ */
49
+ type AssetPropertiesCollection = CollectionDetails;
50
+
51
+ /**
52
+ * Immutable X API
53
+ * Immutable X API
54
+ *
55
+ * The version of the OpenAPI document: 3.0.0
56
+ * Contact: support@immutable.com
57
+ *
58
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
59
+ * https://openapi-generator.tech
60
+ * Do not edit the class manually.
61
+ */
62
+
63
+ /**
64
+ *
65
+ * @export
66
+ * @interface AssetProperties
67
+ */
68
+ interface AssetProperties {
69
+ /**
70
+ *
71
+ * @type {AssetPropertiesCollection}
72
+ * @memberof AssetProperties
73
+ */
74
+ 'collection'?: AssetPropertiesCollection;
75
+ /**
76
+ * Image URL of this asset
77
+ * @type {string}
78
+ * @memberof AssetProperties
79
+ */
80
+ 'image_url'?: string;
81
+ /**
82
+ * Name of this asset
83
+ * @type {string}
84
+ * @memberof AssetProperties
85
+ */
86
+ 'name'?: string;
87
+ }
88
+
89
+ /**
90
+ * Immutable X API
91
+ * Immutable X API
92
+ *
93
+ * The version of the OpenAPI document: 3.0.0
94
+ * Contact: support@immutable.com
95
+ *
96
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
97
+ * https://openapi-generator.tech
98
+ * Do not edit the class manually.
99
+ */
100
+
101
+ /**
102
+ * @type TokenDataProperties
103
+ * Properties of this asset
104
+ * @export
105
+ */
106
+ type TokenDataProperties = AssetProperties;
107
+
108
+ /**
109
+ * Immutable X API
110
+ * Immutable X API
111
+ *
112
+ * The version of the OpenAPI document: 3.0.0
113
+ * Contact: support@immutable.com
114
+ *
115
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
116
+ * https://openapi-generator.tech
117
+ * Do not edit the class manually.
118
+ */
119
+
120
+ /**
121
+ *
122
+ * @export
123
+ * @interface TokenData
124
+ */
125
+ interface TokenData {
126
+ /**
127
+ * Number of decimals supported by this asset
128
+ * @type {number}
129
+ * @memberof TokenData
130
+ */
131
+ 'decimals'?: number;
132
+ /**
133
+ * [DEPRECATED] Internal Immutable X Token ID
134
+ * @type {string}
135
+ * @memberof TokenData
136
+ */
137
+ 'id'?: string;
138
+ /**
139
+ *
140
+ * @type {TokenDataProperties}
141
+ * @memberof TokenData
142
+ */
143
+ 'properties'?: TokenDataProperties;
144
+ /**
145
+ * Quantity of this asset - inclusive of fees for buy order in v1 API and exclusive of fees in v3 API
146
+ * @type {string}
147
+ * @memberof TokenData
148
+ */
149
+ 'quantity': string;
150
+ /**
151
+ * [DEPRECATED for v3 endpoints] Quantity of this asset with the sum of all fees applied to the asset. Replaced by quantity_with_fees in maker_fees / taker_fees depending on the type of order. Refer https://docs.x.immutable.com/docs/maker-taker-fees/#new-maker-taker-fields-and-the-deprecation-of-quantity_with_fees-in-buy-and-sell.
152
+ * @type {string}
153
+ * @memberof TokenData
154
+ */
155
+ 'quantity_with_fees': string;
156
+ /**
157
+ * Symbol of a token
158
+ * @type {string}
159
+ * @memberof TokenData
160
+ */
161
+ 'symbol'?: string;
162
+ /**
163
+ * Address of ERC721/ERC20 contract
164
+ * @type {string}
165
+ * @memberof TokenData
166
+ */
167
+ 'token_address'?: string;
168
+ /**
169
+ * ERC721 Token ID
170
+ * @type {string}
171
+ * @memberof TokenData
172
+ */
173
+ 'token_id'?: string;
174
+ }
175
+
176
+ /**
177
+ * Immutable X API
178
+ * Immutable X API
179
+ *
180
+ * The version of the OpenAPI document: 3.0.0
181
+ * Contact: support@immutable.com
182
+ *
183
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
184
+ * https://openapi-generator.tech
185
+ * Do not edit the class manually.
186
+ */
187
+
188
+ /**
189
+ * @type TokenDataOAIGen
190
+ * Token details of this asset
191
+ * @export
192
+ */
193
+ type TokenDataOAIGen = TokenData;
194
+
195
+ /**
196
+ * Immutable X API
197
+ * Immutable X API
198
+ *
199
+ * The version of the OpenAPI document: 3.0.0
200
+ * Contact: support@immutable.com
201
+ *
202
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
203
+ * https://openapi-generator.tech
204
+ * Do not edit the class manually.
205
+ */
206
+
207
+ /**
208
+ *
209
+ * @export
210
+ * @interface Token
211
+ */
212
+ interface Token {
213
+ /**
214
+ *
215
+ * @type {TokenDataOAIGen}
216
+ * @memberof Token
217
+ */
218
+ 'data': TokenDataOAIGen;
219
+ /**
220
+ * Type of this asset (ETH/ERC20/ERC721)
221
+ * @type {string}
222
+ * @memberof Token
223
+ */
224
+ 'type': string;
225
+ }
226
+
227
+ /**
228
+ * Immutable X API
229
+ * Immutable X API
230
+ *
231
+ * The version of the OpenAPI document: 3.0.0
232
+ * Contact: support@immutable.com
233
+ *
234
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
235
+ * https://openapi-generator.tech
236
+ * Do not edit the class manually.
237
+ */
238
+ /**
239
+ *
240
+ * @export
241
+ * @interface FeeData
242
+ */
243
+ interface FeeData {
244
+ /**
245
+ * Address of ERC721/ERC20 contract
246
+ * @type {string}
247
+ * @memberof FeeData
248
+ */
249
+ 'contract_address'?: string;
250
+ /**
251
+ * Number of decimals supported by this asset
252
+ * @type {number}
253
+ * @memberof FeeData
254
+ */
255
+ 'decimals'?: number;
256
+ }
257
+
258
+ /**
259
+ * Immutable X API
260
+ * Immutable X API
261
+ *
262
+ * The version of the OpenAPI document: 3.0.0
263
+ * Contact: support@immutable.com
264
+ *
265
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
266
+ * https://openapi-generator.tech
267
+ * Do not edit the class manually.
268
+ */
269
+
270
+ /**
271
+ * @type FeeTokenData
272
+ * Fee token data details
273
+ * @export
274
+ */
275
+ type FeeTokenData = FeeData;
276
+
277
+ /**
278
+ * Immutable X API
279
+ * Immutable X API
280
+ *
281
+ * The version of the OpenAPI document: 3.0.0
282
+ * Contact: support@immutable.com
283
+ *
284
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
285
+ * https://openapi-generator.tech
286
+ * Do not edit the class manually.
287
+ */
288
+
289
+ /**
290
+ *
291
+ * @export
292
+ * @interface FeeToken
293
+ */
294
+ interface FeeToken {
295
+ /**
296
+ *
297
+ * @type {FeeTokenData}
298
+ * @memberof FeeToken
299
+ */
300
+ 'data'?: FeeTokenData;
301
+ /**
302
+ * Fee token type. One of ETH/ERC20
303
+ * @type {string}
304
+ * @memberof FeeToken
305
+ */
306
+ 'type'?: FeeTokenTypeEnum;
307
+ }
308
+ declare const FeeTokenTypeEnum: {
309
+ readonly Eth: "ETH";
310
+ readonly Erc20: "ERC20";
311
+ };
312
+ type FeeTokenTypeEnum = typeof FeeTokenTypeEnum[keyof typeof FeeTokenTypeEnum];
313
+
314
+ /**
315
+ * Immutable X API
316
+ * Immutable X API
317
+ *
318
+ * The version of the OpenAPI document: 3.0.0
319
+ * Contact: support@immutable.com
320
+ *
321
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
322
+ * https://openapi-generator.tech
323
+ * Do not edit the class manually.
324
+ */
325
+
326
+ /**
327
+ * @type OrderFeeInfoToken
328
+ * Details of the fee currency
329
+ * @export
330
+ */
331
+ type OrderFeeInfoToken = FeeToken;
332
+
333
+ /**
334
+ * Immutable X API
335
+ * Immutable X API
336
+ *
337
+ * The version of the OpenAPI document: 3.0.0
338
+ * Contact: support@immutable.com
339
+ *
340
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
341
+ * https://openapi-generator.tech
342
+ * Do not edit the class manually.
343
+ */
344
+
345
+ /**
346
+ *
347
+ * @export
348
+ * @interface OrderFeeInfo
349
+ */
350
+ interface OrderFeeInfo {
351
+ /**
352
+ * Address of the fee recipient
353
+ * @type {string}
354
+ * @memberof OrderFeeInfo
355
+ */
356
+ 'address'?: string;
357
+ /**
358
+ * Fee amount
359
+ * @type {string}
360
+ * @memberof OrderFeeInfo
361
+ */
362
+ 'amount'?: string;
363
+ /**
364
+ *
365
+ * @type {OrderFeeInfoToken}
366
+ * @memberof OrderFeeInfo
367
+ */
368
+ 'token'?: OrderFeeInfoToken;
369
+ /**
370
+ * Fee type
371
+ * @type {string}
372
+ * @memberof OrderFeeInfo
373
+ */
374
+ 'type'?: string;
375
+ }
376
+
377
+ /**
378
+ * Immutable X API
379
+ * Immutable X API
380
+ *
381
+ * The version of the OpenAPI document: 3.0.0
382
+ * Contact: support@immutable.com
383
+ *
384
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
385
+ * https://openapi-generator.tech
386
+ * Do not edit the class manually.
387
+ */
388
+
389
+ /**
390
+ * @type AssetCollection
391
+ * Information about the collection to which this asset belongs
392
+ * @export
393
+ */
394
+ type AssetCollection = CollectionDetails;
395
+
396
+ /**
397
+ * Immutable X API
398
+ * Immutable X API
399
+ *
400
+ * The version of the OpenAPI document: 3.0.0
401
+ * Contact: support@immutable.com
402
+ *
403
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
404
+ * https://openapi-generator.tech
405
+ * Do not edit the class manually.
406
+ */
407
+ /**
408
+ *
409
+ * @export
410
+ * @interface OrderDetails
411
+ */
412
+ interface OrderDetails {
413
+ /**
414
+ * Buy orders for this asset
415
+ * @type {Array<object>}
416
+ * @memberof OrderDetails
417
+ */
418
+ 'buy_orders'?: Array<object>;
419
+ /**
420
+ * Sell orders for this asset
421
+ * @type {Array<object>}
422
+ * @memberof OrderDetails
423
+ */
424
+ 'sell_orders'?: Array<object>;
425
+ }
426
+
427
+ /**
428
+ * Immutable X API
429
+ * Immutable X API
430
+ *
431
+ * The version of the OpenAPI document: 3.0.0
432
+ * Contact: support@immutable.com
433
+ *
434
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
435
+ * https://openapi-generator.tech
436
+ * Do not edit the class manually.
437
+ */
438
+
439
+ /**
440
+ * @type AssetOrders
441
+ * [DEPRECATED] Open orders for this asset will always return empty. Use GET /orders
442
+ * @export
443
+ */
444
+ type AssetOrders = OrderDetails;
445
+
446
+ /**
447
+ * Immutable X API
448
+ * Immutable X API
449
+ *
450
+ * The version of the OpenAPI document: 3.0.0
451
+ * Contact: support@immutable.com
452
+ *
453
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
454
+ * https://openapi-generator.tech
455
+ * Do not edit the class manually.
456
+ */
457
+ /**
458
+ *
459
+ * @export
460
+ * @interface Fee
461
+ */
462
+ interface Fee {
463
+ /**
464
+ * Wallet address
465
+ * @type {string}
466
+ * @memberof Fee
467
+ */
468
+ 'address': string;
469
+ /**
470
+ * The percentage of fee
471
+ * @type {number}
472
+ * @memberof Fee
473
+ */
474
+ 'percentage': number;
475
+ /**
476
+ * Type of fee. Examples: `royalty`, `maker`, `taker` or `protocol`
477
+ * @type {string}
478
+ * @memberof Fee
479
+ */
480
+ 'type': string;
481
+ }
482
+
483
+ /**
484
+ * Immutable X API
485
+ * Immutable X API
486
+ *
487
+ * The version of the OpenAPI document: 3.0.0
488
+ * Contact: support@immutable.com
489
+ *
490
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
491
+ * https://openapi-generator.tech
492
+ * Do not edit the class manually.
493
+ */
494
+
495
+ /**
496
+ *
497
+ * @export
498
+ * @interface Asset
499
+ */
500
+ interface Asset {
501
+ /**
502
+ *
503
+ * @type {AssetCollection}
504
+ * @memberof Asset
505
+ */
506
+ 'collection': AssetCollection;
507
+ /**
508
+ * Timestamp of when the asset was created
509
+ * @type {string}
510
+ * @memberof Asset
511
+ */
512
+ 'created_at': string | null;
513
+ /**
514
+ * Description of this asset
515
+ * @type {string}
516
+ * @memberof Asset
517
+ */
518
+ 'description': string | null;
519
+ /**
520
+ * Royalties to pay on this asset operations
521
+ * @type {Array<Fee>}
522
+ * @memberof Asset
523
+ */
524
+ 'fees'?: Array<Fee>;
525
+ /**
526
+ * [DEPRECATED] Internal Immutable X Token ID
527
+ * @type {string}
528
+ * @memberof Asset
529
+ */
530
+ 'id'?: string;
531
+ /**
532
+ * URL of the image which should be used for this asset
533
+ * @type {string}
534
+ * @memberof Asset
535
+ */
536
+ 'image_url': string | null;
537
+ /**
538
+ * Metadata of this asset
539
+ * @type {object}
540
+ * @memberof Asset
541
+ */
542
+ 'metadata': object | null;
543
+ /**
544
+ * Name of this asset
545
+ * @type {string}
546
+ * @memberof Asset
547
+ */
548
+ 'name': string | null;
549
+ /**
550
+ *
551
+ * @type {AssetOrders}
552
+ * @memberof Asset
553
+ */
554
+ 'orders'?: AssetOrders;
555
+ /**
556
+ * Status of this asset (where it is in the system)
557
+ * @type {string}
558
+ * @memberof Asset
559
+ */
560
+ 'status': string;
561
+ /**
562
+ * Address of the ERC721 contract
563
+ * @type {string}
564
+ * @memberof Asset
565
+ */
566
+ 'token_address': string;
567
+ /**
568
+ * ERC721 Token ID of this asset
569
+ * @type {string}
570
+ * @memberof Asset
571
+ */
572
+ 'token_id': string;
573
+ /**
574
+ * Timestamp of when the asset was updated
575
+ * @type {string}
576
+ * @memberof Asset
577
+ */
578
+ 'updated_at': string | null;
579
+ /**
580
+ * URI to access this asset externally to Immutable X
581
+ * @type {string}
582
+ * @memberof Asset
583
+ */
584
+ 'uri': string | null;
585
+ /**
586
+ * Ethereum address of the user who owns this asset
587
+ * @type {string}
588
+ * @memberof Asset
589
+ */
590
+ 'user': string;
591
+ }
592
+
593
+ /**
594
+ * Immutable X API
595
+ * Immutable X API
596
+ *
597
+ * The version of the OpenAPI document: 3.0.0
598
+ * Contact: support@immutable.com
599
+ *
600
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
601
+ * https://openapi-generator.tech
602
+ * Do not edit the class manually.
603
+ */
604
+
605
+ /**
606
+ * @type OrderV3Buy
607
+ * Details of the asset being bought
608
+ * @export
609
+ */
610
+ type OrderV3Buy = Token;
611
+
612
+ /**
613
+ * Immutable X API
614
+ * Immutable X API
615
+ *
616
+ * The version of the OpenAPI document: 3.0.0
617
+ * Contact: support@immutable.com
618
+ *
619
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
620
+ * https://openapi-generator.tech
621
+ * Do not edit the class manually.
622
+ */
623
+
624
+ /**
625
+ *
626
+ * @export
627
+ * @interface OrdersMakerTakerFee
628
+ */
629
+ interface OrdersMakerTakerFee {
630
+ /**
631
+ * Number of Decimals supported the fee token
632
+ * @type {number}
633
+ * @memberof OrdersMakerTakerFee
634
+ */
635
+ 'decimals'?: number;
636
+ /**
637
+ * Fees
638
+ * @type {Array<OrderFeeInfo>}
639
+ * @memberof OrdersMakerTakerFee
640
+ */
641
+ 'fees'?: Array<OrderFeeInfo>;
642
+ /**
643
+ * Quantity of this asset with the sum of all fees applied to the asset
644
+ * @type {string}
645
+ * @memberof OrdersMakerTakerFee
646
+ */
647
+ 'quantity_with_fees': string;
648
+ /**
649
+ * Symbol of the fee token
650
+ * @type {string}
651
+ * @memberof OrdersMakerTakerFee
652
+ */
653
+ 'symbol'?: string;
654
+ /**
655
+ * Address of the ERC20 contract for the fee token
656
+ * @type {string}
657
+ * @memberof OrdersMakerTakerFee
658
+ */
659
+ 'token_address'?: string;
660
+ /**
661
+ * Type of the fee token (ETH/ERC20)
662
+ * @type {string}
663
+ * @memberof OrdersMakerTakerFee
664
+ */
665
+ 'token_type'?: string;
666
+ }
667
+
668
+ /**
669
+ * Immutable X API
670
+ * Immutable X API
671
+ *
672
+ * The version of the OpenAPI document: 3.0.0
673
+ * Contact: support@immutable.com
674
+ *
675
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
676
+ * https://openapi-generator.tech
677
+ * Do not edit the class manually.
678
+ */
679
+
680
+ /**
681
+ * @type OrderV3MakerFees
682
+ * MakerFees is the information about the fees that needs to be paid by the maker (liquidity)
683
+ * @export
684
+ */
685
+ type OrderV3MakerFees = OrdersMakerTakerFee;
686
+
687
+ /**
688
+ * Immutable X API
689
+ * Immutable X API
690
+ *
691
+ * The version of the OpenAPI document: 3.0.0
692
+ * Contact: support@immutable.com
693
+ *
694
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
695
+ * https://openapi-generator.tech
696
+ * Do not edit the class manually.
697
+ */
698
+
699
+ /**
700
+ * @type OrderV3Sell
701
+ * Details of the asset being sold
702
+ * @export
703
+ */
704
+ type OrderV3Sell = Token;
705
+
706
+ /**
707
+ * Immutable X API
708
+ * Immutable X API
709
+ *
710
+ * The version of the OpenAPI document: 3.0.0
711
+ * Contact: support@immutable.com
712
+ *
713
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
714
+ * https://openapi-generator.tech
715
+ * Do not edit the class manually.
716
+ */
717
+
718
+ /**
719
+ * @type OrderV3TakerFees
720
+ * TakerFees is the information about the fees that needs to be paid by the taker (liquidity)
721
+ * @export
722
+ */
723
+ type OrderV3TakerFees = OrdersMakerTakerFee;
724
+
725
+ /**
726
+ * Immutable X API
727
+ * Immutable X API
728
+ *
729
+ * The version of the OpenAPI document: 3.0.0
730
+ * Contact: support@immutable.com
731
+ *
732
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
733
+ * https://openapi-generator.tech
734
+ * Do not edit the class manually.
735
+ */
736
+
737
+ /**
738
+ *
739
+ * @export
740
+ * @interface OrderV3
741
+ */
742
+ interface OrderV3 {
743
+ /**
744
+ * Amount of the asset already sold by this order
745
+ * @type {string}
746
+ * @memberof OrderV3
747
+ */
748
+ 'amount_sold': string | null;
749
+ /**
750
+ *
751
+ * @type {OrderV3Buy}
752
+ * @memberof OrderV3
753
+ */
754
+ 'buy': OrderV3Buy;
755
+ /**
756
+ * Expiration timestamp of this order
757
+ * @type {string}
758
+ * @memberof OrderV3
759
+ */
760
+ 'expiration_timestamp': string | null;
761
+ /**
762
+ * [DEPRECATED] Fee information for the order. Replaced by maker_fees / taker_fees depending on the type of order. Refer https://docs.x.immutable.com/docs/maker-taker-fees/#new-maker-taker-fields-and-the-deprecation-of-quantity_with_fees-in-buy-and-sell.
763
+ * @type {Array<OrderFeeInfo>}
764
+ * @memberof OrderV3
765
+ */
766
+ 'fees'?: Array<OrderFeeInfo>;
767
+ /**
768
+ *
769
+ * @type {OrderV3MakerFees}
770
+ * @memberof OrderV3
771
+ */
772
+ 'maker_fees'?: OrderV3MakerFees;
773
+ /**
774
+ * MakerTakerType
775
+ * @type {string}
776
+ * @memberof OrderV3
777
+ */
778
+ 'maker_taker_type'?: string;
779
+ /**
780
+ * ID of the order
781
+ * @type {number}
782
+ * @memberof OrderV3
783
+ */
784
+ 'order_id': number;
785
+ /**
786
+ *
787
+ * @type {OrderV3Sell}
788
+ * @memberof OrderV3
789
+ */
790
+ 'sell': OrderV3Sell;
791
+ /**
792
+ * Status of the order
793
+ * @type {string}
794
+ * @memberof OrderV3
795
+ */
796
+ 'status': string;
797
+ /**
798
+ *
799
+ * @type {OrderV3TakerFees}
800
+ * @memberof OrderV3
801
+ */
802
+ 'taker_fees'?: OrderV3TakerFees;
803
+ /**
804
+ * Timestamp this order was created
805
+ * @type {string}
806
+ * @memberof OrderV3
807
+ */
808
+ 'timestamp': string | null;
809
+ /**
810
+ * Updated timestamp of this order
811
+ * @type {string}
812
+ * @memberof OrderV3
813
+ */
814
+ 'updated_timestamp': string | null;
815
+ /**
816
+ * Ethereum address of the user who submitted the order
817
+ * @type {string}
818
+ * @memberof OrderV3
819
+ */
820
+ 'user': string;
821
+ }
822
+
823
+ /**
824
+ * Immutable X API
825
+ * Immutable X API
826
+ *
827
+ * The version of the OpenAPI document: 3.0.0
828
+ * Contact: support@immutable.com
829
+ *
830
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
831
+ * https://openapi-generator.tech
832
+ * Do not edit the class manually.
833
+ */
834
+
835
+ /**
836
+ * @type TransferToken
837
+ * Token transferred by the user
838
+ * @export
839
+ */
840
+ type TransferToken = Token;
841
+
842
+ /**
843
+ * Immutable X API
844
+ * Immutable X API
845
+ *
846
+ * The version of the OpenAPI document: 3.0.0
847
+ * Contact: support@immutable.com
848
+ *
849
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
850
+ * https://openapi-generator.tech
851
+ * Do not edit the class manually.
852
+ */
853
+
854
+ /**
855
+ *
856
+ * @export
857
+ * @interface Transfer
858
+ */
859
+ interface Transfer {
860
+ /**
861
+ * Ethereum address of the user who received this transfer
862
+ * @type {string}
863
+ * @memberof Transfer
864
+ */
865
+ 'receiver': string;
866
+ /**
867
+ * Status of the transaction
868
+ * @type {string}
869
+ * @memberof Transfer
870
+ */
871
+ 'status': string;
872
+ /**
873
+ * Timestamp of the transfer
874
+ * @type {string}
875
+ * @memberof Transfer
876
+ */
877
+ 'timestamp': string | null;
878
+ /**
879
+ *
880
+ * @type {TransferToken}
881
+ * @memberof Transfer
882
+ */
883
+ 'token': TransferToken;
884
+ /**
885
+ * Sequential transaction ID
886
+ * @type {number}
887
+ * @memberof Transfer
888
+ */
889
+ 'transaction_id': number;
890
+ /**
891
+ * Ethereum address of the user who submitted this transfer
892
+ * @type {string}
893
+ * @memberof Transfer
894
+ */
895
+ 'user': string;
896
+ }
897
+
898
+ export { Asset as A, CollectionDetails as C, Fee as F, OrderV3 as O, Transfer as T, OrderDetails as a, Token as b };