@imtbl/sdk 1.14.0-alpha.1 → 1.14.1-alpha
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/blockchain_data.js +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.d.ts +3 -1
- package/dist/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +11 -11
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +14 -42
- package/dist/index.d.ts +237 -69
- package/dist/index.js +17 -45
- package/dist/orderbook.js +1 -1
- package/dist/passport.d.ts +3 -1
- package/dist/passport.js +8 -9
- package/dist/x.d.ts +165 -49
- package/dist/x.js +12 -35
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -554,7 +554,7 @@ declare class BaseAPI {
|
|
|
554
554
|
* @export
|
|
555
555
|
* @interface APIError
|
|
556
556
|
*/
|
|
557
|
-
interface APIError$
|
|
557
|
+
interface APIError$2 {
|
|
558
558
|
/**
|
|
559
559
|
* The error code
|
|
560
560
|
* @type {string}
|
|
@@ -2279,7 +2279,7 @@ interface CancelOrderRequest {
|
|
|
2279
2279
|
* @export
|
|
2280
2280
|
* @interface CancelOrderResponse
|
|
2281
2281
|
*/
|
|
2282
|
-
interface CancelOrderResponse$
|
|
2282
|
+
interface CancelOrderResponse$2 {
|
|
2283
2283
|
/**
|
|
2284
2284
|
* ID of the cancelled order
|
|
2285
2285
|
* @type {number}
|
|
@@ -2803,7 +2803,7 @@ interface CreateOrderRequestV3 {
|
|
|
2803
2803
|
* @export
|
|
2804
2804
|
* @interface CreateOrderResponse
|
|
2805
2805
|
*/
|
|
2806
|
-
interface CreateOrderResponse$
|
|
2806
|
+
interface CreateOrderResponse$2 {
|
|
2807
2807
|
/**
|
|
2808
2808
|
* ID of the created order
|
|
2809
2809
|
* @type {number}
|
|
@@ -3584,7 +3584,7 @@ interface FeeInfo {
|
|
|
3584
3584
|
* @export
|
|
3585
3585
|
* @interface CreateTradeResponse
|
|
3586
3586
|
*/
|
|
3587
|
-
interface CreateTradeResponse$
|
|
3587
|
+
interface CreateTradeResponse$2 {
|
|
3588
3588
|
/**
|
|
3589
3589
|
* Request ID as a reference for an asynchronous trade creation request
|
|
3590
3590
|
* @type {string}
|
|
@@ -5081,7 +5081,7 @@ interface Project {
|
|
|
5081
5081
|
* @export
|
|
5082
5082
|
* @interface GetSignableCancelOrderRequest
|
|
5083
5083
|
*/
|
|
5084
|
-
interface GetSignableCancelOrderRequest$
|
|
5084
|
+
interface GetSignableCancelOrderRequest$2 {
|
|
5085
5085
|
/**
|
|
5086
5086
|
* ID of the order to be cancelled
|
|
5087
5087
|
* @type {number}
|
|
@@ -5155,7 +5155,7 @@ interface GetSignableCancelOrderResponse {
|
|
|
5155
5155
|
* @export
|
|
5156
5156
|
* @interface SignableToken
|
|
5157
5157
|
*/
|
|
5158
|
-
interface SignableToken {
|
|
5158
|
+
interface SignableToken$1 {
|
|
5159
5159
|
/**
|
|
5160
5160
|
* Token data. See https://docs.x.immutable.com/docs/token-data-object
|
|
5161
5161
|
* @type {object}
|
|
@@ -5187,7 +5187,7 @@ interface SignableToken {
|
|
|
5187
5187
|
* Details of the token the user is depositing
|
|
5188
5188
|
* @export
|
|
5189
5189
|
*/
|
|
5190
|
-
type GetSignableDepositRequestToken = SignableToken;
|
|
5190
|
+
type GetSignableDepositRequestToken = SignableToken$1;
|
|
5191
5191
|
|
|
5192
5192
|
/**
|
|
5193
5193
|
* Immutable X API
|
|
@@ -5276,6 +5276,112 @@ interface GetSignableDepositResponse {
|
|
|
5276
5276
|
'vault_id': number;
|
|
5277
5277
|
}
|
|
5278
5278
|
|
|
5279
|
+
/**
|
|
5280
|
+
* Immutable X API
|
|
5281
|
+
* Immutable X API
|
|
5282
|
+
*
|
|
5283
|
+
* The version of the OpenAPI document: 3.0.0
|
|
5284
|
+
* Contact: support@immutable.com
|
|
5285
|
+
*
|
|
5286
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5287
|
+
* https://openapi-generator.tech
|
|
5288
|
+
* Do not edit the class manually.
|
|
5289
|
+
*/
|
|
5290
|
+
|
|
5291
|
+
/**
|
|
5292
|
+
* @type GetSignableOrderRequestTokenBuy
|
|
5293
|
+
* Token to buy
|
|
5294
|
+
* @export
|
|
5295
|
+
*/
|
|
5296
|
+
type GetSignableOrderRequestTokenBuy = SignableToken$1;
|
|
5297
|
+
|
|
5298
|
+
/**
|
|
5299
|
+
* Immutable X API
|
|
5300
|
+
* Immutable X API
|
|
5301
|
+
*
|
|
5302
|
+
* The version of the OpenAPI document: 3.0.0
|
|
5303
|
+
* Contact: support@immutable.com
|
|
5304
|
+
*
|
|
5305
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5306
|
+
* https://openapi-generator.tech
|
|
5307
|
+
* Do not edit the class manually.
|
|
5308
|
+
*/
|
|
5309
|
+
|
|
5310
|
+
/**
|
|
5311
|
+
* @type GetSignableOrderRequestTokenSell
|
|
5312
|
+
* Token to sell
|
|
5313
|
+
* @export
|
|
5314
|
+
*/
|
|
5315
|
+
type GetSignableOrderRequestTokenSell = SignableToken$1;
|
|
5316
|
+
|
|
5317
|
+
/**
|
|
5318
|
+
* Immutable X API
|
|
5319
|
+
* Immutable X API
|
|
5320
|
+
*
|
|
5321
|
+
* The version of the OpenAPI document: 3.0.0
|
|
5322
|
+
* Contact: support@immutable.com
|
|
5323
|
+
*
|
|
5324
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5325
|
+
* https://openapi-generator.tech
|
|
5326
|
+
* Do not edit the class manually.
|
|
5327
|
+
*/
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
*
|
|
5331
|
+
* @export
|
|
5332
|
+
* @interface GetSignableOrderRequest
|
|
5333
|
+
*/
|
|
5334
|
+
interface GetSignableOrderRequest$1 {
|
|
5335
|
+
/**
|
|
5336
|
+
* Fee-exclusive amount to buy the asset
|
|
5337
|
+
* @type {string}
|
|
5338
|
+
* @memberof GetSignableOrderRequest
|
|
5339
|
+
*/
|
|
5340
|
+
'amount_buy': string;
|
|
5341
|
+
/**
|
|
5342
|
+
* Amount to sell (quantity)
|
|
5343
|
+
* @type {string}
|
|
5344
|
+
* @memberof GetSignableOrderRequest
|
|
5345
|
+
*/
|
|
5346
|
+
'amount_sell': string;
|
|
5347
|
+
/**
|
|
5348
|
+
* ExpirationTimestamp in Unix time. Note: will be rounded down to the nearest hour
|
|
5349
|
+
* @type {number}
|
|
5350
|
+
* @memberof GetSignableOrderRequest
|
|
5351
|
+
*/
|
|
5352
|
+
'expiration_timestamp'?: number;
|
|
5353
|
+
/**
|
|
5354
|
+
* Inclusion of either maker or taker fees
|
|
5355
|
+
* @type {Array<FeeEntry>}
|
|
5356
|
+
* @memberof GetSignableOrderRequest
|
|
5357
|
+
*/
|
|
5358
|
+
'fees'?: Array<FeeEntry$1>;
|
|
5359
|
+
/**
|
|
5360
|
+
* SplitFees dictates whether fees will be split between maker & taker, set split_fees to true when submitting signing to v3 endpoints and vice versa for v1
|
|
5361
|
+
* @type {boolean}
|
|
5362
|
+
* @memberof GetSignableOrderRequest
|
|
5363
|
+
*/
|
|
5364
|
+
'split_fees'?: boolean;
|
|
5365
|
+
/**
|
|
5366
|
+
*
|
|
5367
|
+
* @type {GetSignableOrderRequestTokenBuy}
|
|
5368
|
+
* @memberof GetSignableOrderRequest
|
|
5369
|
+
*/
|
|
5370
|
+
'token_buy': GetSignableOrderRequestTokenBuy;
|
|
5371
|
+
/**
|
|
5372
|
+
*
|
|
5373
|
+
* @type {GetSignableOrderRequestTokenSell}
|
|
5374
|
+
* @memberof GetSignableOrderRequest
|
|
5375
|
+
*/
|
|
5376
|
+
'token_sell': GetSignableOrderRequestTokenSell;
|
|
5377
|
+
/**
|
|
5378
|
+
* Ethereum address of the submitting user
|
|
5379
|
+
* @type {string}
|
|
5380
|
+
* @memberof GetSignableOrderRequest
|
|
5381
|
+
*/
|
|
5382
|
+
'user': string;
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5279
5385
|
/**
|
|
5280
5386
|
* Immutable X API
|
|
5281
5387
|
* Immutable X API
|
|
@@ -5293,7 +5399,7 @@ interface GetSignableDepositResponse {
|
|
|
5293
5399
|
* Token to buy
|
|
5294
5400
|
* @export
|
|
5295
5401
|
*/
|
|
5296
|
-
type GetSignableOrderRequestV3TokenBuy = SignableToken;
|
|
5402
|
+
type GetSignableOrderRequestV3TokenBuy = SignableToken$1;
|
|
5297
5403
|
|
|
5298
5404
|
/**
|
|
5299
5405
|
* Immutable X API
|
|
@@ -5312,7 +5418,7 @@ type GetSignableOrderRequestV3TokenBuy = SignableToken;
|
|
|
5312
5418
|
* Token to sell
|
|
5313
5419
|
* @export
|
|
5314
5420
|
*/
|
|
5315
|
-
type GetSignableOrderRequestV3TokenSell = SignableToken;
|
|
5421
|
+
type GetSignableOrderRequestV3TokenSell = SignableToken$1;
|
|
5316
5422
|
|
|
5317
5423
|
/**
|
|
5318
5424
|
* Immutable X API
|
|
@@ -5639,7 +5745,7 @@ interface GetSignableRegistrationResponse {
|
|
|
5639
5745
|
* @export
|
|
5640
5746
|
* @interface GetSignableTradeRequest
|
|
5641
5747
|
*/
|
|
5642
|
-
interface GetSignableTradeRequest$
|
|
5748
|
+
interface GetSignableTradeRequest$2 {
|
|
5643
5749
|
/**
|
|
5644
5750
|
* ExpirationTimestamp in Unix time in hours. Note: will be rounded down to the nearest hour
|
|
5645
5751
|
* @type {number}
|
|
@@ -5806,7 +5912,7 @@ interface GetSignableTradeResponse {
|
|
|
5806
5912
|
* Token to transfer
|
|
5807
5913
|
* @export
|
|
5808
5914
|
*/
|
|
5809
|
-
type GetSignableTransferRequestToken = SignableToken;
|
|
5915
|
+
type GetSignableTransferRequestToken = SignableToken$1;
|
|
5810
5916
|
|
|
5811
5917
|
/**
|
|
5812
5918
|
* Immutable X API
|
|
@@ -5893,7 +5999,7 @@ interface GetSignableTransferRequestV1 {
|
|
|
5893
5999
|
* @type {SignableToken}
|
|
5894
6000
|
* @memberof GetSignableTransferRequestV1
|
|
5895
6001
|
*/
|
|
5896
|
-
'token': SignableToken;
|
|
6002
|
+
'token': SignableToken$1;
|
|
5897
6003
|
}
|
|
5898
6004
|
|
|
5899
6005
|
/**
|
|
@@ -5913,7 +6019,7 @@ interface GetSignableTransferRequestV1 {
|
|
|
5913
6019
|
* Token to transfer
|
|
5914
6020
|
* @export
|
|
5915
6021
|
*/
|
|
5916
|
-
type SignableTransferDetailsV2Token = SignableToken;
|
|
6022
|
+
type SignableTransferDetailsV2Token = SignableToken$1;
|
|
5917
6023
|
|
|
5918
6024
|
/**
|
|
5919
6025
|
* Immutable X API
|
|
@@ -6002,7 +6108,7 @@ interface GetSignableTransferRequestV2 {
|
|
|
6002
6108
|
* Token in request to match in SDK implementation
|
|
6003
6109
|
* @export
|
|
6004
6110
|
*/
|
|
6005
|
-
type SignableTransferResponseDetailsToken = SignableToken;
|
|
6111
|
+
type SignableTransferResponseDetailsToken = SignableToken$1;
|
|
6006
6112
|
|
|
6007
6113
|
/**
|
|
6008
6114
|
* Immutable X API
|
|
@@ -6236,7 +6342,7 @@ interface GetSignableTransferResponseV2 {
|
|
|
6236
6342
|
* Token to withdraw
|
|
6237
6343
|
* @export
|
|
6238
6344
|
*/
|
|
6239
|
-
type GetSignableWithdrawalRequestToken = SignableToken;
|
|
6345
|
+
type GetSignableWithdrawalRequestToken = SignableToken$1;
|
|
6240
6346
|
|
|
6241
6347
|
/**
|
|
6242
6348
|
* Immutable X API
|
|
@@ -7691,7 +7797,7 @@ interface MintUser {
|
|
|
7691
7797
|
* @export
|
|
7692
7798
|
* @interface MintRequest
|
|
7693
7799
|
*/
|
|
7694
|
-
interface MintRequest {
|
|
7800
|
+
interface MintRequest$1 {
|
|
7695
7801
|
/**
|
|
7696
7802
|
* Signature from authorised minter
|
|
7697
7803
|
* @type {string}
|
|
@@ -10664,13 +10770,13 @@ interface MintsApiListMintsRequest$1 {
|
|
|
10664
10770
|
* @export
|
|
10665
10771
|
* @interface MintsApiMintTokensRequest
|
|
10666
10772
|
*/
|
|
10667
|
-
interface MintsApiMintTokensRequest {
|
|
10773
|
+
interface MintsApiMintTokensRequest$1 {
|
|
10668
10774
|
/**
|
|
10669
10775
|
* details of tokens to mint
|
|
10670
10776
|
* @type {Array<MintRequest>}
|
|
10671
10777
|
* @memberof MintsApiMintTokens
|
|
10672
10778
|
*/
|
|
10673
|
-
readonly mintTokensRequestV2: Array<MintRequest>;
|
|
10779
|
+
readonly mintTokensRequestV2: Array<MintRequest$1>;
|
|
10674
10780
|
}
|
|
10675
10781
|
/**
|
|
10676
10782
|
* MintsApi - object-oriented interface
|
|
@@ -10714,7 +10820,7 @@ declare class MintsApi$1 extends BaseAPI {
|
|
|
10714
10820
|
* @throws {RequiredError}
|
|
10715
10821
|
* @memberof MintsApi
|
|
10716
10822
|
*/
|
|
10717
|
-
mintTokens(requestParameters: MintsApiMintTokensRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MintTokensResponse$1, any>>;
|
|
10823
|
+
mintTokens(requestParameters: MintsApiMintTokensRequest$1, options?: AxiosRequestConfig): Promise<AxiosResponse<MintTokensResponse$1, any>>;
|
|
10718
10824
|
}
|
|
10719
10825
|
|
|
10720
10826
|
/**
|
|
@@ -10944,7 +11050,7 @@ interface OrdersApiCancelOrderV3Request {
|
|
|
10944
11050
|
* @export
|
|
10945
11051
|
* @interface OrdersApiCreateOrderV3Request
|
|
10946
11052
|
*/
|
|
10947
|
-
interface OrdersApiCreateOrderV3Request {
|
|
11053
|
+
interface OrdersApiCreateOrderV3Request$1 {
|
|
10948
11054
|
/**
|
|
10949
11055
|
* create an order
|
|
10950
11056
|
* @type {CreateOrderRequestV3}
|
|
@@ -11012,7 +11118,7 @@ interface OrdersApiGetSignableCancelOrderV3Request {
|
|
|
11012
11118
|
* @type {GetSignableCancelOrderRequest}
|
|
11013
11119
|
* @memberof OrdersApiGetSignableCancelOrderV3
|
|
11014
11120
|
*/
|
|
11015
|
-
readonly getSignableCancelOrderRequest: GetSignableCancelOrderRequest$
|
|
11121
|
+
readonly getSignableCancelOrderRequest: GetSignableCancelOrderRequest$2;
|
|
11016
11122
|
}
|
|
11017
11123
|
/**
|
|
11018
11124
|
* Request parameters for getSignableOrder operation in OrdersApi.
|
|
@@ -11223,7 +11329,7 @@ declare class OrdersApi$1 extends BaseAPI {
|
|
|
11223
11329
|
* @throws {RequiredError}
|
|
11224
11330
|
* @memberof OrdersApi
|
|
11225
11331
|
*/
|
|
11226
|
-
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse$
|
|
11332
|
+
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse$2, any>>;
|
|
11227
11333
|
/**
|
|
11228
11334
|
* Create an order using the v3 orderbook.
|
|
11229
11335
|
* @summary Create an order (V3)
|
|
@@ -11232,7 +11338,7 @@ declare class OrdersApi$1 extends BaseAPI {
|
|
|
11232
11338
|
* @throws {RequiredError}
|
|
11233
11339
|
* @memberof OrdersApi
|
|
11234
11340
|
*/
|
|
11235
|
-
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse$
|
|
11341
|
+
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request$1, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse$2, any>>;
|
|
11236
11342
|
/**
|
|
11237
11343
|
* Get an order (V3)
|
|
11238
11344
|
* @summary Get an order (V3)
|
|
@@ -11289,7 +11395,7 @@ interface PrimarySalesApiAcceptPrimarySaleRequest {
|
|
|
11289
11395
|
* @export
|
|
11290
11396
|
* @interface PrimarySalesApiCreatePrimarySaleRequest
|
|
11291
11397
|
*/
|
|
11292
|
-
interface PrimarySalesApiCreatePrimarySaleRequest {
|
|
11398
|
+
interface PrimarySalesApiCreatePrimarySaleRequest$1 {
|
|
11293
11399
|
/**
|
|
11294
11400
|
*
|
|
11295
11401
|
* @type {CreatePrimarySaleParamsBody}
|
|
@@ -11386,7 +11492,7 @@ declare class PrimarySalesApi$1 extends BaseAPI {
|
|
|
11386
11492
|
* @throws {RequiredError}
|
|
11387
11493
|
* @memberof PrimarySalesApi
|
|
11388
11494
|
*/
|
|
11389
|
-
createPrimarySale(requestParameters?: PrimarySalesApiCreatePrimarySaleRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreatePrimarySaleCreatedBody$1, any>>;
|
|
11495
|
+
createPrimarySale(requestParameters?: PrimarySalesApiCreatePrimarySaleRequest$1, options?: AxiosRequestConfig): Promise<AxiosResponse<CreatePrimarySaleCreatedBody$1, any>>;
|
|
11390
11496
|
/**
|
|
11391
11497
|
* Get a single primary sale by ID. This endpoint is experimental and may change in the future.
|
|
11392
11498
|
* @summary Get a single primary sale by ID
|
|
@@ -11602,7 +11708,7 @@ interface TradesApiGetSignableTradeRequest {
|
|
|
11602
11708
|
* @type {GetSignableTradeRequest}
|
|
11603
11709
|
* @memberof TradesApiGetSignableTrade
|
|
11604
11710
|
*/
|
|
11605
|
-
readonly getSignableTradeRequest: GetSignableTradeRequest$
|
|
11711
|
+
readonly getSignableTradeRequest: GetSignableTradeRequest$2;
|
|
11606
11712
|
}
|
|
11607
11713
|
/**
|
|
11608
11714
|
* Request parameters for getTradeV3 operation in TradesApi.
|
|
@@ -11705,7 +11811,7 @@ declare class TradesApi$1 extends BaseAPI {
|
|
|
11705
11811
|
* @throws {RequiredError}
|
|
11706
11812
|
* @memberof TradesApi
|
|
11707
11813
|
*/
|
|
11708
|
-
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse$
|
|
11814
|
+
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse$2, any>>;
|
|
11709
11815
|
/**
|
|
11710
11816
|
* Generate a signable trade message (V3)
|
|
11711
11817
|
* @summary Generate a signable trade message (V3)
|
|
@@ -19894,7 +20000,7 @@ interface OpenAPIError extends BasicAPIError$1 {
|
|
|
19894
20000
|
/**
|
|
19895
20001
|
* Custom Error class that is returned from the API when a request fails
|
|
19896
20002
|
*/
|
|
19897
|
-
declare class APIError extends Error {
|
|
20003
|
+
declare class APIError$1 extends Error {
|
|
19898
20004
|
readonly code: string;
|
|
19899
20005
|
readonly details: {
|
|
19900
20006
|
[key: string]: any;
|
|
@@ -20114,15 +20220,13 @@ declare class BlockchainData {
|
|
|
20114
20220
|
*/
|
|
20115
20221
|
type ActivityType = ActivityType$2;
|
|
20116
20222
|
|
|
20117
|
-
type blockchain_data_d_APIError = APIError;
|
|
20118
|
-
declare const blockchain_data_d_APIError: typeof APIError;
|
|
20119
20223
|
type blockchain_data_d_ActivityType = ActivityType;
|
|
20120
20224
|
type blockchain_data_d_BlockchainData = BlockchainData;
|
|
20121
20225
|
declare const blockchain_data_d_BlockchainData: typeof BlockchainData;
|
|
20122
20226
|
type blockchain_data_d_BlockchainDataModuleConfiguration = BlockchainDataModuleConfiguration;
|
|
20123
20227
|
declare namespace blockchain_data_d {
|
|
20124
20228
|
export {
|
|
20125
|
-
|
|
20229
|
+
APIError$1 as APIError,
|
|
20126
20230
|
blockchain_data_d_ActivityType as ActivityType,
|
|
20127
20231
|
blockchain_data_d_BlockchainData as BlockchainData,
|
|
20128
20232
|
blockchain_data_d_BlockchainDataModuleConfiguration as BlockchainDataModuleConfiguration,
|
|
@@ -21242,7 +21346,7 @@ declare class Configuration {
|
|
|
21242
21346
|
* @export
|
|
21243
21347
|
* @interface CancelOrderResponse
|
|
21244
21348
|
*/
|
|
21245
|
-
interface CancelOrderResponse {
|
|
21349
|
+
interface CancelOrderResponse$1 {
|
|
21246
21350
|
/**
|
|
21247
21351
|
* ID of the cancelled order
|
|
21248
21352
|
* @type {number}
|
|
@@ -21304,7 +21408,7 @@ interface FeeEntry {
|
|
|
21304
21408
|
* @export
|
|
21305
21409
|
* @interface CreateOrderResponse
|
|
21306
21410
|
*/
|
|
21307
|
-
interface CreateOrderResponse {
|
|
21411
|
+
interface CreateOrderResponse$1 {
|
|
21308
21412
|
/**
|
|
21309
21413
|
* ID of the created order
|
|
21310
21414
|
* @type {number}
|
|
@@ -21347,7 +21451,7 @@ interface CreateOrderResponse {
|
|
|
21347
21451
|
* @export
|
|
21348
21452
|
* @interface CreateTradeResponse
|
|
21349
21453
|
*/
|
|
21350
|
-
interface CreateTradeResponse {
|
|
21454
|
+
interface CreateTradeResponse$1 {
|
|
21351
21455
|
/**
|
|
21352
21456
|
* Request ID as a reference for an asynchronous trade creation request
|
|
21353
21457
|
* @type {string}
|
|
@@ -21489,7 +21593,7 @@ interface CreateWithdrawalResponse {
|
|
|
21489
21593
|
* @export
|
|
21490
21594
|
* @interface GetSignableCancelOrderRequest
|
|
21491
21595
|
*/
|
|
21492
|
-
interface GetSignableCancelOrderRequest {
|
|
21596
|
+
interface GetSignableCancelOrderRequest$1 {
|
|
21493
21597
|
/**
|
|
21494
21598
|
* ID of the order to be cancelled
|
|
21495
21599
|
* @type {number}
|
|
@@ -21515,7 +21619,7 @@ interface GetSignableCancelOrderRequest {
|
|
|
21515
21619
|
* @export
|
|
21516
21620
|
* @interface GetSignableTradeRequest
|
|
21517
21621
|
*/
|
|
21518
|
-
interface GetSignableTradeRequest {
|
|
21622
|
+
interface GetSignableTradeRequest$1 {
|
|
21519
21623
|
/**
|
|
21520
21624
|
* ExpirationTimestamp in Unix time in hours. Note: will be rounded down to the nearest hour
|
|
21521
21625
|
* @type {number}
|
|
@@ -21682,21 +21786,21 @@ interface IMXProvider {
|
|
|
21682
21786
|
* @param {UnsignedOrderRequest} request The unsigned order request to create an order
|
|
21683
21787
|
* @return {Promise<CreateOrderResponse>} Returns a promise that resolves with the created Order
|
|
21684
21788
|
*/
|
|
21685
|
-
createOrder(request: UnsignedOrderRequest$1): Promise<CreateOrderResponse>;
|
|
21789
|
+
createOrder(request: UnsignedOrderRequest$1): Promise<CreateOrderResponse$1>;
|
|
21686
21790
|
/**
|
|
21687
21791
|
* Cancel an Order
|
|
21688
21792
|
*
|
|
21689
21793
|
* @param {GetSignableCancelOrderRequest} request The signable cancel order request
|
|
21690
21794
|
* @return {Promise<CancelOrderResponse>} Returns a promise that resolves with the cancelled Order
|
|
21691
21795
|
*/
|
|
21692
|
-
cancelOrder(request: GetSignableCancelOrderRequest): Promise<CancelOrderResponse>;
|
|
21796
|
+
cancelOrder(request: GetSignableCancelOrderRequest$1): Promise<CancelOrderResponse$1>;
|
|
21693
21797
|
/**
|
|
21694
21798
|
* Create a Trade
|
|
21695
21799
|
*
|
|
21696
21800
|
* @param {GetSignableTradeRequest} request The signable trade request
|
|
21697
21801
|
* @return {Promise<CreateTradeResponse>} Returns a promise that resolves with the created Trade
|
|
21698
21802
|
*/
|
|
21699
|
-
createTrade(request: GetSignableTradeRequest): Promise<CreateTradeResponse>;
|
|
21803
|
+
createTrade(request: GetSignableTradeRequest$1): Promise<CreateTradeResponse$1>;
|
|
21700
21804
|
/**
|
|
21701
21805
|
* Create a new Transfer request
|
|
21702
21806
|
*
|
|
@@ -21761,10 +21865,10 @@ declare class GenericIMXProvider implements IMXProvider {
|
|
|
21761
21865
|
isRegisteredOffchain(): Promise<boolean>;
|
|
21762
21866
|
registerOffchain(): Promise<RegisterUserResponse>;
|
|
21763
21867
|
batchNftTransfer(request: Array<NftTransferDetails$1>): Promise<CreateTransferResponse>;
|
|
21764
|
-
cancelOrder(request: GetSignableCancelOrderRequest): Promise<CancelOrderResponse>;
|
|
21868
|
+
cancelOrder(request: GetSignableCancelOrderRequest$1): Promise<CancelOrderResponse$1>;
|
|
21765
21869
|
completeWithdrawal(starkPublicKey: string, token: AnyToken$1): Promise<TransactionResponse>;
|
|
21766
|
-
createOrder(request: UnsignedOrderRequest$1): Promise<CreateOrderResponse>;
|
|
21767
|
-
createTrade(request: GetSignableTradeRequest): Promise<CreateTradeResponse>;
|
|
21870
|
+
createOrder(request: UnsignedOrderRequest$1): Promise<CreateOrderResponse$1>;
|
|
21871
|
+
createTrade(request: GetSignableTradeRequest$1): Promise<CreateTradeResponse$1>;
|
|
21768
21872
|
deposit(tokenAmount: TokenAmount$1): Promise<TransactionResponse>;
|
|
21769
21873
|
exchangeTransfer(request: UnsignedExchangeTransferRequest$1): Promise<CreateTransferResponseV1$1>;
|
|
21770
21874
|
isRegisteredOnchain(): Promise<boolean>;
|
|
@@ -21779,8 +21883,8 @@ declare class MetaMaskIMXProvider extends GenericIMXProvider {
|
|
|
21779
21883
|
static signMessage(message: string): Promise<string>;
|
|
21780
21884
|
}
|
|
21781
21885
|
|
|
21782
|
-
declare
|
|
21783
|
-
|
|
21886
|
+
declare class ApiConfiguration extends Configuration$2 {
|
|
21887
|
+
}
|
|
21784
21888
|
interface ImmutableXConfigurationParams {
|
|
21785
21889
|
basePath: string;
|
|
21786
21890
|
chainID: number;
|
|
@@ -21792,31 +21896,16 @@ interface EthConfiguration {
|
|
|
21792
21896
|
registrationContractAddress: string;
|
|
21793
21897
|
chainID: number;
|
|
21794
21898
|
}
|
|
21795
|
-
interface ImxEnvironment extends EthConfiguration {
|
|
21796
|
-
basePath: string;
|
|
21797
|
-
headers?: Record<string, string>;
|
|
21798
|
-
sdkVersion?: string;
|
|
21799
|
-
}
|
|
21800
21899
|
interface ImmutableXConfiguration {
|
|
21801
21900
|
/**
|
|
21802
21901
|
* The configuration for the API client
|
|
21803
21902
|
*/
|
|
21804
|
-
apiConfiguration:
|
|
21903
|
+
apiConfiguration: ApiConfiguration;
|
|
21805
21904
|
/**
|
|
21806
21905
|
* The configuration for the Ethereum network
|
|
21807
21906
|
*/
|
|
21808
21907
|
ethConfiguration: EthConfiguration;
|
|
21809
21908
|
}
|
|
21810
|
-
/**
|
|
21811
|
-
* Creates a Configuration for the specified environment
|
|
21812
|
-
* @dev Copied from Core SDK as a convenience for migrating away from Core SDK
|
|
21813
|
-
* @returns an ImmutableXConfiguration
|
|
21814
|
-
*/
|
|
21815
|
-
declare const Config: {
|
|
21816
|
-
readonly PRODUCTION: ImmutableXConfiguration;
|
|
21817
|
-
readonly SANDBOX: ImmutableXConfiguration;
|
|
21818
|
-
createConfig: ({ coreContractAddress, registrationContractAddress, chainID, basePath, headers, sdkVersion, }: ImxEnvironment) => ImmutableXConfiguration;
|
|
21819
|
-
};
|
|
21820
21909
|
/**
|
|
21821
21910
|
* createImmutableXConfiguration to create a custom ImmutableXConfiguration
|
|
21822
21911
|
* other than the production and sandbox defined below.
|
|
@@ -21954,7 +22043,7 @@ type UnsignedTransferRequest = TokenAmount & {
|
|
|
21954
22043
|
/**
|
|
21955
22044
|
* Parameter required to Mint tokens
|
|
21956
22045
|
*/
|
|
21957
|
-
type UnsignedMintRequest = Omit<MintRequest, 'auth_signature'>;
|
|
22046
|
+
type UnsignedMintRequest = Omit<MintRequest$1, 'auth_signature'>;
|
|
21958
22047
|
/**
|
|
21959
22048
|
* Parameter required to create a Transfer
|
|
21960
22049
|
*/
|
|
@@ -22000,7 +22089,7 @@ declare class IMXError extends Error {
|
|
|
22000
22089
|
*/
|
|
22001
22090
|
readonly code: string;
|
|
22002
22091
|
readonly details?: string;
|
|
22003
|
-
constructor({ code, details, message }: APIError$
|
|
22092
|
+
constructor({ code, details, message }: APIError$2);
|
|
22004
22093
|
}
|
|
22005
22094
|
|
|
22006
22095
|
/**
|
|
@@ -22043,6 +22132,8 @@ declare class UsersApi extends UsersApi$1 {
|
|
|
22043
22132
|
}
|
|
22044
22133
|
declare class WithdrawalsApi extends WithdrawalsApi$1 {
|
|
22045
22134
|
}
|
|
22135
|
+
interface APIError extends APIError$2 {
|
|
22136
|
+
}
|
|
22046
22137
|
interface AcceptPrimarySaleBadRequestBody extends AcceptPrimarySaleBadRequestBody$1 {
|
|
22047
22138
|
}
|
|
22048
22139
|
interface AcceptPrimarySaleForbiddenBody extends AcceptPrimarySaleForbiddenBody$1 {
|
|
@@ -22063,6 +22154,8 @@ interface BalancesApiGetBalanceRequest extends BalancesApiGetBalanceRequest$1 {
|
|
|
22063
22154
|
}
|
|
22064
22155
|
interface BalancesApiListBalancesRequest extends BalancesApiListBalancesRequest$1 {
|
|
22065
22156
|
}
|
|
22157
|
+
interface CancelOrderResponse extends CancelOrderResponse$2 {
|
|
22158
|
+
}
|
|
22066
22159
|
interface CollectionsApiGetCollectionRequest extends CollectionsApiGetCollectionRequest$2 {
|
|
22067
22160
|
}
|
|
22068
22161
|
interface CollectionsApiListCollectionFiltersRequest extends CollectionsApiListCollectionFiltersRequest$1 {
|
|
@@ -22073,6 +22166,8 @@ interface CreateCollectionRequest extends CreateCollectionRequest$1 {
|
|
|
22073
22166
|
}
|
|
22074
22167
|
interface CreateMetadataRefreshRequest extends CreateMetadataRefreshRequest$1 {
|
|
22075
22168
|
}
|
|
22169
|
+
interface CreateOrderResponse extends CreateOrderResponse$2 {
|
|
22170
|
+
}
|
|
22076
22171
|
interface CreatePrimarySaleBadRequestBody extends CreatePrimarySaleBadRequestBody$1 {
|
|
22077
22172
|
}
|
|
22078
22173
|
interface CreatePrimarySaleCreatedBody extends CreatePrimarySaleCreatedBody$1 {
|
|
@@ -22083,6 +22178,8 @@ interface CreatePrimarySaleNotFoundBody extends CreatePrimarySaleNotFoundBody$1
|
|
|
22083
22178
|
}
|
|
22084
22179
|
interface CreatePrimarySaleUnauthorizedBody extends CreatePrimarySaleUnauthorizedBody$1 {
|
|
22085
22180
|
}
|
|
22181
|
+
interface CreateTradeResponse extends CreateTradeResponse$2 {
|
|
22182
|
+
}
|
|
22086
22183
|
interface CreateTransferResponseV1 extends CreateTransferResponseV1$2 {
|
|
22087
22184
|
}
|
|
22088
22185
|
interface DepositsApiGetDepositRequest extends DepositsApiGetDepositRequest$1 {
|
|
@@ -22095,10 +22192,20 @@ interface ExchangesApiGetExchangeRequest extends ExchangesApiGetExchangeRequest$
|
|
|
22095
22192
|
}
|
|
22096
22193
|
interface ExchangesApiGetExchangesRequest extends ExchangesApiGetExchangesRequest$1 {
|
|
22097
22194
|
}
|
|
22195
|
+
interface GetSignableCancelOrderRequest extends GetSignableCancelOrderRequest$2 {
|
|
22196
|
+
}
|
|
22197
|
+
interface GetSignableOrderRequest extends GetSignableOrderRequest$1 {
|
|
22198
|
+
}
|
|
22199
|
+
interface GetSignableTradeRequest extends GetSignableTradeRequest$2 {
|
|
22200
|
+
}
|
|
22098
22201
|
interface MintsApiGetMintRequest extends MintsApiGetMintRequest$1 {
|
|
22099
22202
|
}
|
|
22100
22203
|
interface MintsApiListMintsRequest extends MintsApiListMintsRequest$1 {
|
|
22101
22204
|
}
|
|
22205
|
+
interface MintsApiMintTokensRequest extends MintsApiMintTokensRequest$1 {
|
|
22206
|
+
}
|
|
22207
|
+
interface MintRequest extends MintRequest$1 {
|
|
22208
|
+
}
|
|
22102
22209
|
interface MintTokensResponse extends MintTokensResponse$1 {
|
|
22103
22210
|
}
|
|
22104
22211
|
interface MetadataApiGetMetadataSchemaRequest extends MetadataApiGetMetadataSchemaRequest$1 {
|
|
@@ -22113,10 +22220,14 @@ interface NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest extends NftChecko
|
|
|
22113
22220
|
}
|
|
22114
22221
|
interface NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest extends NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest$1 {
|
|
22115
22222
|
}
|
|
22223
|
+
interface OrdersApiCreateOrderV3Request extends OrdersApiCreateOrderV3Request$1 {
|
|
22224
|
+
}
|
|
22116
22225
|
interface OrdersApiGetOrderV3Request extends OrdersApiGetOrderV3Request$1 {
|
|
22117
22226
|
}
|
|
22118
22227
|
interface OrdersApiListOrdersV3Request extends OrdersApiListOrdersV3Request$1 {
|
|
22119
22228
|
}
|
|
22229
|
+
interface PrimarySalesApiCreatePrimarySaleRequest extends PrimarySalesApiCreatePrimarySaleRequest$1 {
|
|
22230
|
+
}
|
|
22120
22231
|
interface PrimarySalesApiSignableCreatePrimarySaleRequest extends PrimarySalesApiSignableCreatePrimarySaleRequest$1 {
|
|
22121
22232
|
}
|
|
22122
22233
|
interface RejectPrimarySaleBadRequestBody extends RejectPrimarySaleBadRequestBody$1 {
|
|
@@ -22129,6 +22240,8 @@ interface RejectPrimarySaleOKBody extends RejectPrimarySaleOKBody$1 {
|
|
|
22129
22240
|
}
|
|
22130
22241
|
interface RejectPrimarySaleUnauthorizedBody extends RejectPrimarySaleUnauthorizedBody$1 {
|
|
22131
22242
|
}
|
|
22243
|
+
interface SignableToken extends SignableToken$1 {
|
|
22244
|
+
}
|
|
22132
22245
|
interface TokensApiGetTokenRequest extends TokensApiGetTokenRequest$1 {
|
|
22133
22246
|
}
|
|
22134
22247
|
interface TokensApiListTokensRequest extends TokensApiListTokensRequest$1 {
|
|
@@ -22530,7 +22643,8 @@ declare class IMXClient {
|
|
|
22530
22643
|
*/
|
|
22531
22644
|
rejectPrimarySale(ethSigner: Signer, primarySaleId: number): Promise<RejectPrimarySaleBadRequestBody | RejectPrimarySaleForbiddenBody | RejectPrimarySaleNotFoundBody | RejectPrimarySaleOKBody | RejectPrimarySaleUnauthorizedBody>;
|
|
22532
22645
|
}
|
|
22533
|
-
declare
|
|
22646
|
+
declare class ImmutableX extends IMXClient {
|
|
22647
|
+
}
|
|
22534
22648
|
|
|
22535
22649
|
/**
|
|
22536
22650
|
* Generates a new Stark private key
|
|
@@ -28877,8 +28991,15 @@ declare namespace checkout_d {
|
|
|
28877
28991
|
};
|
|
28878
28992
|
}
|
|
28879
28993
|
|
|
28994
|
+
type x_d_APIError = APIError;
|
|
28995
|
+
type x_d_AcceptPrimarySaleBadRequestBody = AcceptPrimarySaleBadRequestBody;
|
|
28996
|
+
type x_d_AcceptPrimarySaleForbiddenBody = AcceptPrimarySaleForbiddenBody;
|
|
28997
|
+
type x_d_AcceptPrimarySaleNotFoundBody = AcceptPrimarySaleNotFoundBody;
|
|
28998
|
+
type x_d_AcceptPrimarySaleOKBody = AcceptPrimarySaleOKBody;
|
|
28999
|
+
type x_d_AcceptPrimarySaleUnauthorizedBody = AcceptPrimarySaleUnauthorizedBody;
|
|
28880
29000
|
type x_d_AddMetadataSchemaToCollectionRequest = AddMetadataSchemaToCollectionRequest;
|
|
28881
29001
|
type x_d_AnyToken = AnyToken;
|
|
29002
|
+
type x_d_ApiConfiguration = ApiConfiguration;
|
|
28882
29003
|
declare const x_d_ApiConfiguration: typeof ApiConfiguration;
|
|
28883
29004
|
type x_d_AssetsApi = AssetsApi;
|
|
28884
29005
|
declare const x_d_AssetsApi: typeof AssetsApi;
|
|
@@ -28888,14 +29009,22 @@ type x_d_BalancesApi = BalancesApi;
|
|
|
28888
29009
|
declare const x_d_BalancesApi: typeof BalancesApi;
|
|
28889
29010
|
type x_d_BalancesApiGetBalanceRequest = BalancesApiGetBalanceRequest;
|
|
28890
29011
|
type x_d_BalancesApiListBalancesRequest = BalancesApiListBalancesRequest;
|
|
29012
|
+
type x_d_CancelOrderResponse = CancelOrderResponse;
|
|
28891
29013
|
type x_d_CollectionsApi = CollectionsApi;
|
|
28892
29014
|
declare const x_d_CollectionsApi: typeof CollectionsApi;
|
|
28893
29015
|
type x_d_CollectionsApiGetCollectionRequest = CollectionsApiGetCollectionRequest;
|
|
28894
29016
|
type x_d_CollectionsApiListCollectionFiltersRequest = CollectionsApiListCollectionFiltersRequest;
|
|
28895
29017
|
type x_d_CollectionsApiListCollectionsRequest = CollectionsApiListCollectionsRequest;
|
|
28896
|
-
declare const x_d_Config: typeof Config;
|
|
28897
29018
|
type x_d_CreateCollectionRequest = CreateCollectionRequest;
|
|
28898
29019
|
type x_d_CreateMetadataRefreshRequest = CreateMetadataRefreshRequest;
|
|
29020
|
+
type x_d_CreateOrderResponse = CreateOrderResponse;
|
|
29021
|
+
type x_d_CreatePrimarySaleBadRequestBody = CreatePrimarySaleBadRequestBody;
|
|
29022
|
+
type x_d_CreatePrimarySaleCreatedBody = CreatePrimarySaleCreatedBody;
|
|
29023
|
+
type x_d_CreatePrimarySaleForbiddenBody = CreatePrimarySaleForbiddenBody;
|
|
29024
|
+
type x_d_CreatePrimarySaleNotFoundBody = CreatePrimarySaleNotFoundBody;
|
|
29025
|
+
type x_d_CreatePrimarySaleUnauthorizedBody = CreatePrimarySaleUnauthorizedBody;
|
|
29026
|
+
type x_d_CreateTradeResponse = CreateTradeResponse;
|
|
29027
|
+
type x_d_CreateTransferResponseV1 = CreateTransferResponseV1;
|
|
28899
29028
|
type x_d_DepositsApi = DepositsApi;
|
|
28900
29029
|
declare const x_d_DepositsApi: typeof DepositsApi;
|
|
28901
29030
|
type x_d_DepositsApiGetDepositRequest = DepositsApiGetDepositRequest;
|
|
@@ -28916,11 +29045,15 @@ type x_d_ExchangesApiGetExchangeRequest = ExchangesApiGetExchangeRequest;
|
|
|
28916
29045
|
type x_d_ExchangesApiGetExchangesRequest = ExchangesApiGetExchangesRequest;
|
|
28917
29046
|
type x_d_GenericIMXProvider = GenericIMXProvider;
|
|
28918
29047
|
declare const x_d_GenericIMXProvider: typeof GenericIMXProvider;
|
|
29048
|
+
type x_d_GetSignableCancelOrderRequest = GetSignableCancelOrderRequest;
|
|
29049
|
+
type x_d_GetSignableOrderRequest = GetSignableOrderRequest;
|
|
29050
|
+
type x_d_GetSignableTradeRequest = GetSignableTradeRequest;
|
|
28919
29051
|
type x_d_IMXClient = IMXClient;
|
|
28920
29052
|
declare const x_d_IMXClient: typeof IMXClient;
|
|
28921
29053
|
type x_d_IMXError = IMXError;
|
|
28922
29054
|
declare const x_d_IMXError: typeof IMXError;
|
|
28923
29055
|
type x_d_IMXProvider = IMXProvider;
|
|
29056
|
+
type x_d_ImmutableX = ImmutableX;
|
|
28924
29057
|
declare const x_d_ImmutableX: typeof ImmutableX;
|
|
28925
29058
|
type x_d_ImmutableXConfiguration = ImmutableXConfiguration;
|
|
28926
29059
|
type x_d_ImxModuleConfiguration = ImxModuleConfiguration;
|
|
@@ -28932,10 +29065,13 @@ type x_d_MetadataApiGetMetadataSchemaRequest = MetadataApiGetMetadataSchemaReque
|
|
|
28932
29065
|
type x_d_MetadataRefreshesApi = MetadataRefreshesApi;
|
|
28933
29066
|
declare const x_d_MetadataRefreshesApi: typeof MetadataRefreshesApi;
|
|
28934
29067
|
type x_d_MetadataSchemaRequest = MetadataSchemaRequest;
|
|
29068
|
+
type x_d_MintRequest = MintRequest;
|
|
29069
|
+
type x_d_MintTokensResponse = MintTokensResponse;
|
|
28935
29070
|
type x_d_MintsApi = MintsApi;
|
|
28936
29071
|
declare const x_d_MintsApi: typeof MintsApi;
|
|
28937
29072
|
type x_d_MintsApiGetMintRequest = MintsApiGetMintRequest;
|
|
28938
29073
|
type x_d_MintsApiListMintsRequest = MintsApiListMintsRequest;
|
|
29074
|
+
type x_d_MintsApiMintTokensRequest = MintsApiMintTokensRequest;
|
|
28939
29075
|
type x_d_NftCheckoutPrimaryApi = NftCheckoutPrimaryApi;
|
|
28940
29076
|
declare const x_d_NftCheckoutPrimaryApi: typeof NftCheckoutPrimaryApi;
|
|
28941
29077
|
type x_d_NftCheckoutPrimaryApiCreateNftPrimaryRequest = NftCheckoutPrimaryApiCreateNftPrimaryRequest;
|
|
@@ -28945,15 +29081,23 @@ type x_d_NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest = NftCheckoutPrim
|
|
|
28945
29081
|
type x_d_NftTransferDetails = NftTransferDetails;
|
|
28946
29082
|
type x_d_OrdersApi = OrdersApi;
|
|
28947
29083
|
declare const x_d_OrdersApi: typeof OrdersApi;
|
|
29084
|
+
type x_d_OrdersApiCreateOrderV3Request = OrdersApiCreateOrderV3Request;
|
|
28948
29085
|
type x_d_OrdersApiGetOrderV3Request = OrdersApiGetOrderV3Request;
|
|
28949
29086
|
type x_d_OrdersApiListOrdersV3Request = OrdersApiListOrdersV3Request;
|
|
28950
29087
|
type x_d_PrimarySalesApi = PrimarySalesApi;
|
|
28951
29088
|
declare const x_d_PrimarySalesApi: typeof PrimarySalesApi;
|
|
29089
|
+
type x_d_PrimarySalesApiCreatePrimarySaleRequest = PrimarySalesApiCreatePrimarySaleRequest;
|
|
28952
29090
|
type x_d_PrimarySalesApiSignableCreatePrimarySaleRequest = PrimarySalesApiSignableCreatePrimarySaleRequest;
|
|
28953
29091
|
type x_d_ProjectsApi = ProjectsApi;
|
|
28954
29092
|
declare const x_d_ProjectsApi: typeof ProjectsApi;
|
|
28955
29093
|
type x_d_ProviderConfiguration = ProviderConfiguration;
|
|
28956
29094
|
declare const x_d_ProviderConfiguration: typeof ProviderConfiguration;
|
|
29095
|
+
type x_d_RejectPrimarySaleBadRequestBody = RejectPrimarySaleBadRequestBody;
|
|
29096
|
+
type x_d_RejectPrimarySaleForbiddenBody = RejectPrimarySaleForbiddenBody;
|
|
29097
|
+
type x_d_RejectPrimarySaleNotFoundBody = RejectPrimarySaleNotFoundBody;
|
|
29098
|
+
type x_d_RejectPrimarySaleOKBody = RejectPrimarySaleOKBody;
|
|
29099
|
+
type x_d_RejectPrimarySaleUnauthorizedBody = RejectPrimarySaleUnauthorizedBody;
|
|
29100
|
+
type x_d_SignableToken = SignableToken;
|
|
28957
29101
|
type x_d_StarkExContractVersion = StarkExContractVersion;
|
|
28958
29102
|
type x_d_StarkSigner = StarkSigner;
|
|
28959
29103
|
type x_d_TokenAmount = TokenAmount;
|
|
@@ -28988,6 +29132,12 @@ declare const x_d_generateStarkPrivateKey: typeof generateStarkPrivateKey;
|
|
|
28988
29132
|
declare const x_d_imxClientConfig: typeof imxClientConfig;
|
|
28989
29133
|
declare namespace x_d {
|
|
28990
29134
|
export {
|
|
29135
|
+
x_d_APIError as APIError,
|
|
29136
|
+
x_d_AcceptPrimarySaleBadRequestBody as AcceptPrimarySaleBadRequestBody,
|
|
29137
|
+
x_d_AcceptPrimarySaleForbiddenBody as AcceptPrimarySaleForbiddenBody,
|
|
29138
|
+
x_d_AcceptPrimarySaleNotFoundBody as AcceptPrimarySaleNotFoundBody,
|
|
29139
|
+
x_d_AcceptPrimarySaleOKBody as AcceptPrimarySaleOKBody,
|
|
29140
|
+
x_d_AcceptPrimarySaleUnauthorizedBody as AcceptPrimarySaleUnauthorizedBody,
|
|
28991
29141
|
x_d_AddMetadataSchemaToCollectionRequest as AddMetadataSchemaToCollectionRequest,
|
|
28992
29142
|
x_d_AnyToken as AnyToken,
|
|
28993
29143
|
x_d_ApiConfiguration as ApiConfiguration,
|
|
@@ -28997,14 +29147,22 @@ declare namespace x_d {
|
|
|
28997
29147
|
x_d_BalancesApi as BalancesApi,
|
|
28998
29148
|
x_d_BalancesApiGetBalanceRequest as BalancesApiGetBalanceRequest,
|
|
28999
29149
|
x_d_BalancesApiListBalancesRequest as BalancesApiListBalancesRequest,
|
|
29150
|
+
x_d_CancelOrderResponse as CancelOrderResponse,
|
|
29000
29151
|
x_d_CollectionsApi as CollectionsApi,
|
|
29001
29152
|
x_d_CollectionsApiGetCollectionRequest as CollectionsApiGetCollectionRequest,
|
|
29002
29153
|
x_d_CollectionsApiListCollectionFiltersRequest as CollectionsApiListCollectionFiltersRequest,
|
|
29003
29154
|
x_d_CollectionsApiListCollectionsRequest as CollectionsApiListCollectionsRequest,
|
|
29004
|
-
x_d_Config as Config,
|
|
29005
29155
|
exportContracts_d as Contracts,
|
|
29006
29156
|
x_d_CreateCollectionRequest as CreateCollectionRequest,
|
|
29007
29157
|
x_d_CreateMetadataRefreshRequest as CreateMetadataRefreshRequest,
|
|
29158
|
+
x_d_CreateOrderResponse as CreateOrderResponse,
|
|
29159
|
+
x_d_CreatePrimarySaleBadRequestBody as CreatePrimarySaleBadRequestBody,
|
|
29160
|
+
x_d_CreatePrimarySaleCreatedBody as CreatePrimarySaleCreatedBody,
|
|
29161
|
+
x_d_CreatePrimarySaleForbiddenBody as CreatePrimarySaleForbiddenBody,
|
|
29162
|
+
x_d_CreatePrimarySaleNotFoundBody as CreatePrimarySaleNotFoundBody,
|
|
29163
|
+
x_d_CreatePrimarySaleUnauthorizedBody as CreatePrimarySaleUnauthorizedBody,
|
|
29164
|
+
x_d_CreateTradeResponse as CreateTradeResponse,
|
|
29165
|
+
x_d_CreateTransferResponseV1 as CreateTransferResponseV1,
|
|
29008
29166
|
x_d_DepositsApi as DepositsApi,
|
|
29009
29167
|
x_d_DepositsApiGetDepositRequest as DepositsApiGetDepositRequest,
|
|
29010
29168
|
x_d_DepositsApiListDepositsRequest as DepositsApiListDepositsRequest,
|
|
@@ -29022,22 +29180,26 @@ declare namespace x_d {
|
|
|
29022
29180
|
x_d_ExchangesApiGetExchangeRequest as ExchangesApiGetExchangeRequest,
|
|
29023
29181
|
x_d_ExchangesApiGetExchangesRequest as ExchangesApiGetExchangesRequest,
|
|
29024
29182
|
x_d_GenericIMXProvider as GenericIMXProvider,
|
|
29183
|
+
x_d_GetSignableCancelOrderRequest as GetSignableCancelOrderRequest,
|
|
29184
|
+
x_d_GetSignableOrderRequest as GetSignableOrderRequest,
|
|
29185
|
+
x_d_GetSignableTradeRequest as GetSignableTradeRequest,
|
|
29025
29186
|
x_d_IMXClient as IMXClient,
|
|
29026
29187
|
x_d_IMXError as IMXError,
|
|
29027
29188
|
x_d_IMXProvider as IMXProvider,
|
|
29028
29189
|
x_d_ImmutableX as ImmutableX,
|
|
29029
29190
|
x_d_ImmutableXConfiguration as ImmutableXConfiguration,
|
|
29030
|
-
ImxModuleConfiguration as ImxClientModuleConfiguration,
|
|
29031
|
-
WalletConnection as ImxClientWalletConnection,
|
|
29032
29191
|
x_d_ImxModuleConfiguration as ImxModuleConfiguration,
|
|
29033
29192
|
x_d_MetaMaskIMXProvider as MetaMaskIMXProvider,
|
|
29034
29193
|
x_d_MetadataApi as MetadataApi,
|
|
29035
29194
|
x_d_MetadataApiGetMetadataSchemaRequest as MetadataApiGetMetadataSchemaRequest,
|
|
29036
29195
|
x_d_MetadataRefreshesApi as MetadataRefreshesApi,
|
|
29037
29196
|
x_d_MetadataSchemaRequest as MetadataSchemaRequest,
|
|
29197
|
+
x_d_MintRequest as MintRequest,
|
|
29198
|
+
x_d_MintTokensResponse as MintTokensResponse,
|
|
29038
29199
|
x_d_MintsApi as MintsApi,
|
|
29039
29200
|
x_d_MintsApiGetMintRequest as MintsApiGetMintRequest,
|
|
29040
29201
|
x_d_MintsApiListMintsRequest as MintsApiListMintsRequest,
|
|
29202
|
+
x_d_MintsApiMintTokensRequest as MintsApiMintTokensRequest,
|
|
29041
29203
|
x_d_NftCheckoutPrimaryApi as NftCheckoutPrimaryApi,
|
|
29042
29204
|
x_d_NftCheckoutPrimaryApiCreateNftPrimaryRequest as NftCheckoutPrimaryApiCreateNftPrimaryRequest,
|
|
29043
29205
|
x_d_NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest as NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest,
|
|
@@ -29045,12 +29207,20 @@ declare namespace x_d {
|
|
|
29045
29207
|
x_d_NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest as NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest,
|
|
29046
29208
|
x_d_NftTransferDetails as NftTransferDetails,
|
|
29047
29209
|
x_d_OrdersApi as OrdersApi,
|
|
29210
|
+
x_d_OrdersApiCreateOrderV3Request as OrdersApiCreateOrderV3Request,
|
|
29048
29211
|
x_d_OrdersApiGetOrderV3Request as OrdersApiGetOrderV3Request,
|
|
29049
29212
|
x_d_OrdersApiListOrdersV3Request as OrdersApiListOrdersV3Request,
|
|
29050
29213
|
x_d_PrimarySalesApi as PrimarySalesApi,
|
|
29214
|
+
x_d_PrimarySalesApiCreatePrimarySaleRequest as PrimarySalesApiCreatePrimarySaleRequest,
|
|
29051
29215
|
x_d_PrimarySalesApiSignableCreatePrimarySaleRequest as PrimarySalesApiSignableCreatePrimarySaleRequest,
|
|
29052
29216
|
x_d_ProjectsApi as ProjectsApi,
|
|
29053
29217
|
x_d_ProviderConfiguration as ProviderConfiguration,
|
|
29218
|
+
x_d_RejectPrimarySaleBadRequestBody as RejectPrimarySaleBadRequestBody,
|
|
29219
|
+
x_d_RejectPrimarySaleForbiddenBody as RejectPrimarySaleForbiddenBody,
|
|
29220
|
+
x_d_RejectPrimarySaleNotFoundBody as RejectPrimarySaleNotFoundBody,
|
|
29221
|
+
x_d_RejectPrimarySaleOKBody as RejectPrimarySaleOKBody,
|
|
29222
|
+
x_d_RejectPrimarySaleUnauthorizedBody as RejectPrimarySaleUnauthorizedBody,
|
|
29223
|
+
x_d_SignableToken as SignableToken,
|
|
29054
29224
|
x_d_StarkExContractVersion as StarkExContractVersion,
|
|
29055
29225
|
x_d_StarkSigner as StarkSigner,
|
|
29056
29226
|
x_d_TokenAmount as TokenAmount,
|
|
@@ -29078,8 +29248,6 @@ declare namespace x_d {
|
|
|
29078
29248
|
x_d_generateLegacyStarkPrivateKey as generateLegacyStarkPrivateKey,
|
|
29079
29249
|
x_d_generateStarkPrivateKey as generateStarkPrivateKey,
|
|
29080
29250
|
x_d_imxClientConfig as imxClientConfig,
|
|
29081
|
-
createStarkSigner as imxClientCreateStarkSigner,
|
|
29082
|
-
generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey,
|
|
29083
29251
|
};
|
|
29084
29252
|
}
|
|
29085
29253
|
|