@imtbl/sdk 1.46.0 → 1.46.1-alpha.1

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.
@@ -178,9 +178,10 @@ interface ActivityNFT$1 {
178
178
  */
179
179
  'token_id': string;
180
180
  /**
181
- * The amount of tokens exchanged
181
+ * (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
182
182
  * @type {string}
183
183
  * @memberof ActivityNFT
184
+ * @deprecated
184
185
  */
185
186
  'amount': string;
186
187
  }
@@ -1130,7 +1131,7 @@ interface NFTMetadataAttribute$1 {
1130
1131
  */
1131
1132
 
1132
1133
  /**
1133
- * The NFT metadata
1134
+ * The NFT metadata. Total size of this object should not exceed 16 KiB
1134
1135
  * @export
1135
1136
  * @interface NFTMetadataRequest
1136
1137
  */
@@ -1786,6 +1787,18 @@ interface Token$1 {
1786
1787
  * @memberof Token
1787
1788
  */
1788
1789
  'root_contract_address': string | null;
1790
+ /**
1791
+ * The id of the root chain for a bridged token
1792
+ * @type {string}
1793
+ * @memberof Token
1794
+ */
1795
+ 'root_chain_id'?: string | null;
1796
+ /**
1797
+ * The name of the bridge, for bridged tokens only
1798
+ * @type {string}
1799
+ * @memberof Token
1800
+ */
1801
+ 'bridge_used'?: string | null;
1789
1802
  /**
1790
1803
  * The symbol of token
1791
1804
  * @type {string}
@@ -2381,7 +2394,7 @@ type RefreshMetadataByID$1 = RefreshMetadataByIDAllOf$1 & RefreshableNFTAttribut
2381
2394
  */
2382
2395
 
2383
2396
  /**
2384
- * Request body for refreshing metadata by id
2397
+ * Request body for refreshing metadata by id. Total size of this list should not exceed 228 KiB
2385
2398
  * @export
2386
2399
  * @interface RefreshMetadataByIDRequest
2387
2400
  */
@@ -2456,7 +2469,7 @@ type RefreshMetadataByTokenID$1 = RefreshMetadataByTokenIDAllOf$1 & RefreshableN
2456
2469
  */
2457
2470
  interface RefreshNFTMetadataByTokenIDRequest$1 {
2458
2471
  /**
2459
- * List of nft metadata to be refreshed
2472
+ * List of nft metadata to be refreshed. Total size of the list should not exceed 228 KiB
2460
2473
  * @type {Array<RefreshMetadataByTokenID>}
2461
2474
  * @memberof RefreshNFTMetadataByTokenIDRequest
2462
2475
  */
@@ -3192,6 +3205,12 @@ interface NftsApiListNFTsByAccountAddressRequest {
3192
3205
  * @memberof NftsApiListNFTsByAccountAddress
3193
3206
  */
3194
3207
  readonly contractAddress?: string;
3208
+ /**
3209
+ * List of token IDs to filter by
3210
+ * @type {Array<string>}
3211
+ * @memberof NftsApiListNFTsByAccountAddress
3212
+ */
3213
+ readonly tokenId?: Array<string>;
3195
3214
  /**
3196
3215
  * Datetime to use as the oldest updated timestamp
3197
3216
  * @type {string}
@@ -1942,13 +1942,14 @@ const NftsApiAxiosParamCreator = function (configuration) {
1942
1942
  * @param {string} accountAddress Account address
1943
1943
  * @param {string} chainName The name of chain
1944
1944
  * @param {string} [contractAddress] The address of contract
1945
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
1945
1946
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
1946
1947
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1947
1948
  * @param {number} [pageSize] Maximum number of items to return
1948
1949
  * @param {*} [options] Override http request option.
1949
1950
  * @throws {RequiredError}
1950
1951
  */
1951
- listNFTsByAccountAddress: async (accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
1952
+ listNFTsByAccountAddress: async (accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
1952
1953
  // verify required parameter 'accountAddress' is not null or undefined
1953
1954
  assertParamExists('listNFTsByAccountAddress', 'accountAddress', accountAddress);
1954
1955
  // verify required parameter 'chainName' is not null or undefined
@@ -1968,6 +1969,9 @@ const NftsApiAxiosParamCreator = function (configuration) {
1968
1969
  if (contractAddress !== undefined) {
1969
1970
  localVarQueryParameter['contract_address'] = contractAddress;
1970
1971
  }
1972
+ if (tokenId) {
1973
+ localVarQueryParameter['token_id'] = tokenId;
1974
+ }
1971
1975
  if (fromUpdatedAt !== undefined) {
1972
1976
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
1973
1977
  fromUpdatedAt.toISOString() :
@@ -2086,14 +2090,15 @@ const NftsApiFp = function (configuration) {
2086
2090
  * @param {string} accountAddress Account address
2087
2091
  * @param {string} chainName The name of chain
2088
2092
  * @param {string} [contractAddress] The address of contract
2093
+ * @param {Array<string>} [tokenId] List of token IDs to filter by
2089
2094
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
2090
2095
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2091
2096
  * @param {number} [pageSize] Maximum number of items to return
2092
2097
  * @param {*} [options] Override http request option.
2093
2098
  * @throws {RequiredError}
2094
2099
  */
2095
- async listNFTsByAccountAddress(accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
2096
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options);
2100
+ async listNFTsByAccountAddress(accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options) {
2101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, tokenId, fromUpdatedAt, pageCursor, pageSize, options);
2097
2102
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2098
2103
  },
2099
2104
  };
@@ -2173,7 +2178,7 @@ const NftsApiFactory = function (configuration, basePath, axios) {
2173
2178
  * @throws {RequiredError}
2174
2179
  */
2175
2180
  listNFTsByAccountAddress(requestParameters, options) {
2176
- return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
2181
+ return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
2177
2182
  },
2178
2183
  };
2179
2184
  };
@@ -2259,7 +2264,7 @@ class NftsApi extends BaseAPI {
2259
2264
  * @memberof NftsApi
2260
2265
  */
2261
2266
  listNFTsByAccountAddress(requestParameters, options) {
2262
- return NftsApiFp(this.configuration).listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2267
+ return NftsApiFp(this.configuration).listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2263
2268
  }
2264
2269
  }
2265
2270
 
@@ -2463,7 +2468,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2463
2468
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2464
2469
  * @param {string} [fromUpdatedAt] From updated at including given date
2465
2470
  * @param {number} [pageSize] Maximum number of orders to return per page
2466
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2471
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by. &#x60;buy_item_amount&#x60; sorts by per token price, for example if 5 ERC-1155s are on sale for 10eth, it’s sorted as 2eth for &#x60;buy_item_amount&#x60;.
2467
2472
  * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2468
2473
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2469
2474
  * @param {*} [options] Override http request option.
@@ -2534,6 +2539,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2534
2539
  * @summary List all trades
2535
2540
  * @param {string} chainName
2536
2541
  * @param {string} [accountAddress]
2542
+ * @param {string} [sellItemContractAddress]
2537
2543
  * @param {string} [fromIndexedAt] From indexed at including given date
2538
2544
  * @param {number} [pageSize] Maximum number of trades to return per page
2539
2545
  * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
@@ -2542,7 +2548,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2542
2548
  * @param {*} [options] Override http request option.
2543
2549
  * @throws {RequiredError}
2544
2550
  */
2545
- listTrades: async (chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
2551
+ listTrades: async (chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
2546
2552
  // verify required parameter 'chainName' is not null or undefined
2547
2553
  assertParamExists('listTrades', 'chainName', chainName);
2548
2554
  const localVarPath = `/v1/chains/{chain_name}/trades`
@@ -2559,6 +2565,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2559
2565
  if (accountAddress !== undefined) {
2560
2566
  localVarQueryParameter['account_address'] = accountAddress;
2561
2567
  }
2568
+ if (sellItemContractAddress !== undefined) {
2569
+ localVarQueryParameter['sell_item_contract_address'] = sellItemContractAddress;
2570
+ }
2562
2571
  if (fromIndexedAt !== undefined) {
2563
2572
  localVarQueryParameter['from_indexed_at'] = (fromIndexedAt instanceof Date) ?
2564
2573
  fromIndexedAt.toISOString() :
@@ -2666,7 +2675,7 @@ const OrdersApiFp = function (configuration) {
2666
2675
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2667
2676
  * @param {string} [fromUpdatedAt] From updated at including given date
2668
2677
  * @param {number} [pageSize] Maximum number of orders to return per page
2669
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2678
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by. &#x60;buy_item_amount&#x60; sorts by per token price, for example if 5 ERC-1155s are on sale for 10eth, it’s sorted as 2eth for &#x60;buy_item_amount&#x60;.
2670
2679
  * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2671
2680
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2672
2681
  * @param {*} [options] Override http request option.
@@ -2681,6 +2690,7 @@ const OrdersApiFp = function (configuration) {
2681
2690
  * @summary List all trades
2682
2691
  * @param {string} chainName
2683
2692
  * @param {string} [accountAddress]
2693
+ * @param {string} [sellItemContractAddress]
2684
2694
  * @param {string} [fromIndexedAt] From indexed at including given date
2685
2695
  * @param {number} [pageSize] Maximum number of trades to return per page
2686
2696
  * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
@@ -2689,8 +2699,8 @@ const OrdersApiFp = function (configuration) {
2689
2699
  * @param {*} [options] Override http request option.
2690
2700
  * @throws {RequiredError}
2691
2701
  */
2692
- async listTrades(chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
2693
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTrades(chainName, accountAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options);
2702
+ async listTrades(chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
2703
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTrades(chainName, accountAddress, sellItemContractAddress, fromIndexedAt, pageSize, sortBy, sortDirection, pageCursor, options);
2694
2704
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2695
2705
  },
2696
2706
  };
@@ -2770,7 +2780,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
2770
2780
  * @throws {RequiredError}
2771
2781
  */
2772
2782
  listTrades(requestParameters, options) {
2773
- return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2783
+ return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.sellItemContractAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2774
2784
  },
2775
2785
  };
2776
2786
  };
@@ -2856,7 +2866,7 @@ class OrdersApi extends BaseAPI {
2856
2866
  * @memberof OrdersApi
2857
2867
  */
2858
2868
  listTrades(requestParameters, options) {
2859
- return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
2869
+ return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.sellItemContractAddress, requestParameters.fromIndexedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
2860
2870
  }
2861
2871
  }
2862
2872
  /**
@@ -3341,6 +3351,37 @@ const PassportProfileApiAxiosParamCreator = function (configuration) {
3341
3351
  options: localVarRequestOptions,
3342
3352
  };
3343
3353
  },
3354
+ /**
3355
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
3356
+ * @summary Link wallet v2
3357
+ * @param {LinkWalletV2Request} [linkWalletV2Request]
3358
+ * @param {*} [options] Override http request option.
3359
+ * @throws {RequiredError}
3360
+ */
3361
+ linkWalletV2: async (linkWalletV2Request, options = {}) => {
3362
+ const localVarPath = `/passport-profile/v2/linked-wallets`;
3363
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3364
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3365
+ let baseOptions;
3366
+ if (configuration) {
3367
+ baseOptions = configuration.baseOptions;
3368
+ }
3369
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3370
+ const localVarHeaderParameter = {};
3371
+ const localVarQueryParameter = {};
3372
+ // authentication BearerAuth required
3373
+ // http bearer authentication required
3374
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
3375
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3376
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3377
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3378
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3379
+ localVarRequestOptions.data = serializeDataIfNeeded(linkWalletV2Request, localVarRequestOptions, configuration);
3380
+ return {
3381
+ url: toPathString(localVarUrlObj),
3382
+ options: localVarRequestOptions,
3383
+ };
3384
+ },
3344
3385
  };
3345
3386
  };
3346
3387
  /**
@@ -3360,6 +3401,17 @@ const PassportProfileApiFp = function (configuration) {
3360
3401
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfo(options);
3361
3402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3362
3403
  },
3404
+ /**
3405
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
3406
+ * @summary Link wallet v2
3407
+ * @param {LinkWalletV2Request} [linkWalletV2Request]
3408
+ * @param {*} [options] Override http request option.
3409
+ * @throws {RequiredError}
3410
+ */
3411
+ async linkWalletV2(linkWalletV2Request, options) {
3412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.linkWalletV2(linkWalletV2Request, options);
3413
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3414
+ },
3363
3415
  };
3364
3416
  };
3365
3417
  /**
@@ -3378,6 +3430,16 @@ const PassportProfileApiFactory = function (configuration, basePath, axios) {
3378
3430
  getUserInfo(options) {
3379
3431
  return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
3380
3432
  },
3433
+ /**
3434
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
3435
+ * @summary Link wallet v2
3436
+ * @param {PassportProfileApiLinkWalletV2Request} requestParameters Request parameters.
3437
+ * @param {*} [options] Override http request option.
3438
+ * @throws {RequiredError}
3439
+ */
3440
+ linkWalletV2(requestParameters = {}, options) {
3441
+ return localVarFp.linkWalletV2(requestParameters.linkWalletV2Request, options).then((request) => request(axios, basePath));
3442
+ },
3381
3443
  };
3382
3444
  };
3383
3445
  /**
@@ -3397,6 +3459,17 @@ class PassportProfileApi extends BaseAPI {
3397
3459
  getUserInfo(options) {
3398
3460
  return PassportProfileApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
3399
3461
  }
3462
+ /**
3463
+ * Link an external EOA wallet to an Immutable Passport account by providing an EIP-712 signature.
3464
+ * @summary Link wallet v2
3465
+ * @param {PassportProfileApiLinkWalletV2Request} requestParameters Request parameters.
3466
+ * @param {*} [options] Override http request option.
3467
+ * @throws {RequiredError}
3468
+ * @memberof PassportProfileApi
3469
+ */
3470
+ linkWalletV2(requestParameters = {}, options) {
3471
+ return PassportProfileApiFp(this.configuration).linkWalletV2(requestParameters.linkWalletV2Request, options).then((request) => request(this.axios, this.basePath));
3472
+ }
3400
3473
  }
3401
3474
 
3402
3475
  /* tslint:disable */
@@ -3907,7 +3980,8 @@ const CancelledOrderStatusNameEnum = {
3907
3980
  };
3908
3981
  const CancelledOrderStatusCancellationTypeEnum = {
3909
3982
  OnChain: 'ON_CHAIN',
3910
- OffChain: 'OFF_CHAIN'
3983
+ OffChain: 'OFF_CHAIN',
3984
+ Underfunded: 'UNDERFUNDED'
3911
3985
  };
3912
3986
 
3913
3987
  /* tslint:disable */
@@ -4157,6 +4231,31 @@ const FilledOrderStatusNameEnum = {
4157
4231
  Filled: 'FILLED'
4158
4232
  };
4159
4233
 
4234
+ /* tslint:disable */
4235
+ /* eslint-disable */
4236
+ /**
4237
+ * Immutable zkEVM API
4238
+ * Immutable Multi Rollup API
4239
+ *
4240
+ * The version of the OpenAPI document: 1.0.0
4241
+ * Contact: support@immutable.com
4242
+ *
4243
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4244
+ * https://openapi-generator.tech
4245
+ * Do not edit the class manually.
4246
+ */
4247
+ /**
4248
+ *
4249
+ * @export
4250
+ * @enum {string}
4251
+ */
4252
+ const ImmutableVerificationStatusEnum = {
4253
+ Verified: 'verified',
4254
+ Unverified: 'unverified',
4255
+ Spam: 'spam',
4256
+ Inactive: 'inactive'
4257
+ };
4258
+
4160
4259
  /* tslint:disable */
4161
4260
  /* eslint-disable */
4162
4261
  /**
@@ -4282,6 +4381,55 @@ const Network = {
4282
4381
  ZkEvm: 'zkEvm'
4283
4382
  };
4284
4383
 
4384
+ /* tslint:disable */
4385
+ /* eslint-disable */
4386
+ /**
4387
+ * Immutable zkEVM API
4388
+ * Immutable Multi Rollup API
4389
+ *
4390
+ * The version of the OpenAPI document: 1.0.0
4391
+ * Contact: support@immutable.com
4392
+ *
4393
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4394
+ * https://openapi-generator.tech
4395
+ * Do not edit the class manually.
4396
+ */
4397
+ /**
4398
+ * The action an admin can take on an operator allowlist request
4399
+ * @export
4400
+ * @enum {string}
4401
+ */
4402
+ const OperatorAllowlistAdminAction = {
4403
+ Approve: 'approve',
4404
+ Reject: 'reject'
4405
+ };
4406
+
4407
+ /* tslint:disable */
4408
+ /* eslint-disable */
4409
+ /**
4410
+ * Immutable zkEVM API
4411
+ * Immutable Multi Rollup API
4412
+ *
4413
+ * The version of the OpenAPI document: 1.0.0
4414
+ * Contact: support@immutable.com
4415
+ *
4416
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4417
+ * https://openapi-generator.tech
4418
+ * Do not edit the class manually.
4419
+ */
4420
+ /**
4421
+ * The status of a contract on the operator allowlist
4422
+ * @export
4423
+ * @enum {string}
4424
+ */
4425
+ const OperatorAllowlistStatus = {
4426
+ Requested: 'requested',
4427
+ Approved: 'approved',
4428
+ Rejected: 'rejected',
4429
+ Removed: 'removed',
4430
+ Added: 'added'
4431
+ };
4432
+
4285
4433
  /* tslint:disable */
4286
4434
  /* eslint-disable */
4287
4435
  /**
@@ -4326,6 +4474,32 @@ const OrderStatusName = {
4326
4474
  Cancelled: 'CANCELLED'
4327
4475
  };
4328
4476
 
4477
+ /* tslint:disable */
4478
+ /* eslint-disable */
4479
+ /**
4480
+ * Immutable zkEVM API
4481
+ * Immutable Multi Rollup API
4482
+ *
4483
+ * The version of the OpenAPI document: 1.0.0
4484
+ * Contact: support@immutable.com
4485
+ *
4486
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4487
+ * https://openapi-generator.tech
4488
+ * Do not edit the class manually.
4489
+ */
4490
+ /**
4491
+ * The tier of the organisation
4492
+ * @export
4493
+ * @enum {string}
4494
+ */
4495
+ const OrganisationTier = {
4496
+ Common: 'common',
4497
+ Uncommon: 'uncommon',
4498
+ Rare: 'rare',
4499
+ Epic: 'epic',
4500
+ Legendary: 'legendary'
4501
+ };
4502
+
4329
4503
  /* tslint:disable */
4330
4504
  /* eslint-disable */
4331
4505
  /**
@@ -4395,6 +4569,23 @@ const SeaportCreateListingMetadataTypedDataTypeEnum = {
4395
4569
  SeaportCreateListingMetadata: 'SEAPORT_CREATE_LISTING_METADATA'
4396
4570
  };
4397
4571
 
4572
+ /* tslint:disable */
4573
+ /* eslint-disable */
4574
+ /**
4575
+ * Immutable zkEVM API
4576
+ * Immutable Multi Rollup API
4577
+ *
4578
+ * The version of the OpenAPI document: 1.0.0
4579
+ * Contact: support@immutable.com
4580
+ *
4581
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4582
+ * https://openapi-generator.tech
4583
+ * Do not edit the class manually.
4584
+ */
4585
+ const SeaportERC1155ItemTypeEnum = {
4586
+ Erc1155: 'ERC1155'
4587
+ };
4588
+
4398
4589
  /* tslint:disable */
4399
4590
  /* eslint-disable */
4400
4591
  /**
@@ -4503,6 +4694,29 @@ const TokenContractType$1 = {
4503
4694
  Erc20: 'ERC20'
4504
4695
  };
4505
4696
 
4697
+ /* tslint:disable */
4698
+ /* eslint-disable */
4699
+ /**
4700
+ * Immutable zkEVM API
4701
+ * Immutable Multi Rollup API
4702
+ *
4703
+ * The version of the OpenAPI document: 1.0.0
4704
+ * Contact: support@immutable.com
4705
+ *
4706
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4707
+ * https://openapi-generator.tech
4708
+ * Do not edit the class manually.
4709
+ */
4710
+ /**
4711
+ * Contract type for token (ERC721/ERC1155)
4712
+ * @export
4713
+ * @enum {string}
4714
+ */
4715
+ const TokenType = {
4716
+ Erc721: 'ERC721',
4717
+ Erc1155: 'ERC1155'
4718
+ };
4719
+
4506
4720
  /* tslint:disable */
4507
4721
  /* eslint-disable */
4508
4722
  /**
@@ -4640,6 +4854,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
4640
4854
  FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
4641
4855
  FeeTypeEnum: FeeTypeEnum,
4642
4856
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
4857
+ ImmutableVerificationStatusEnum: ImmutableVerificationStatusEnum,
4643
4858
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
4644
4859
  ListListingsBuyItemTypeEnum: ListListingsBuyItemTypeEnum,
4645
4860
  ListListingsSortByEnum: ListListingsSortByEnum,
@@ -4663,12 +4878,15 @@ var index$1 = /*#__PURE__*/Object.freeze({
4663
4878
  NftsApiAxiosParamCreator: NftsApiAxiosParamCreator,
4664
4879
  NftsApiFactory: NftsApiFactory,
4665
4880
  NftsApiFp: NftsApiFp,
4881
+ OperatorAllowlistAdminAction: OperatorAllowlistAdminAction,
4882
+ OperatorAllowlistStatus: OperatorAllowlistStatus,
4666
4883
  OrderStatusName: OrderStatusName,
4667
4884
  OrderTypeEnum: OrderTypeEnum,
4668
4885
  OrdersApi: OrdersApi,
4669
4886
  OrdersApiAxiosParamCreator: OrdersApiAxiosParamCreator,
4670
4887
  OrdersApiFactory: OrdersApiFactory,
4671
4888
  OrdersApiFp: OrdersApiFp,
4889
+ OrganisationTier: OrganisationTier,
4672
4890
  PassportApi: PassportApi,
4673
4891
  PassportApiAxiosParamCreator: PassportApiAxiosParamCreator,
4674
4892
  PassportApiFactory: PassportApiFactory,
@@ -4681,12 +4899,14 @@ var index$1 = /*#__PURE__*/Object.freeze({
4681
4899
  ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
4682
4900
  SaleFeeTypeEnum: SaleFeeTypeEnum$1,
4683
4901
  SeaportCreateListingMetadataTypedDataTypeEnum: SeaportCreateListingMetadataTypedDataTypeEnum,
4902
+ SeaportERC1155ItemTypeEnum: SeaportERC1155ItemTypeEnum,
4684
4903
  SeaportERC20ItemTypeEnum: SeaportERC20ItemTypeEnum,
4685
4904
  SeaportERC721ItemTypeEnum: SeaportERC721ItemTypeEnum,
4686
4905
  SeaportFeeTypeEnum: SeaportFeeTypeEnum,
4687
4906
  SeaportFulfillAvailableAdvancedOrdersMetadataTransactionTypeEnum: SeaportFulfillAvailableAdvancedOrdersMetadataTransactionTypeEnum,
4688
4907
  SeaportNativeItemTypeEnum: SeaportNativeItemTypeEnum,
4689
4908
  TokenContractType: TokenContractType$1,
4909
+ TokenType: TokenType,
4690
4910
  TokensApi: TokensApi,
4691
4911
  TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
4692
4912
  TokensApiFactory: TokensApiFactory,
@@ -5339,7 +5559,7 @@ const flattenProperties = (properties) => {
5339
5559
  };
5340
5560
 
5341
5561
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
5342
- const SDK_VERSION = '1.46.0';
5562
+ const SDK_VERSION = '1.46.1-alpha.1';
5343
5563
  const getFrameParentDomain = () => {
5344
5564
  if (isNode()) {
5345
5565
  return '';
@@ -5610,7 +5830,7 @@ class APIError extends Error {
5610
5830
 
5611
5831
  /* eslint-disable implicit-arrow-linebreak */
5612
5832
  const defaultHeaders = {
5613
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.0',
5833
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.1-alpha.1',
5614
5834
  };
5615
5835
  /**
5616
5836
  * createAPIConfiguration to create a custom Configuration
@@ -13841,6 +13841,20 @@ type DeviceConnectResponse = {
13841
13841
  url: string;
13842
13842
  interval: number;
13843
13843
  };
13844
+ type LinkWalletParams = {
13845
+ type: string;
13846
+ walletAddress: string;
13847
+ signature: string;
13848
+ nonce: string;
13849
+ };
13850
+ type LinkedWallet = {
13851
+ address: string;
13852
+ type: string;
13853
+ created_at: string;
13854
+ updated_at: string;
13855
+ name?: string;
13856
+ clientName: string;
13857
+ };
13844
13858
 
13845
13859
  /**
13846
13860
  * ProviderErrors should take priority over RpcErrorCodes
@@ -13951,6 +13965,7 @@ declare class Passport {
13951
13965
  getIdToken(): Promise<string | undefined>;
13952
13966
  getAccessToken(): Promise<string | undefined>;
13953
13967
  getLinkedAddresses(): Promise<string[]>;
13968
+ linkExternalWallet(params: LinkWalletParams): Promise<LinkedWallet>;
13954
13969
  }
13955
13970
 
13956
13971
  /**
@@ -15682,6 +15697,7 @@ declare class CheckoutConfiguration {
15682
15697
  readonly remote: RemoteConfigFetcher;
15683
15698
  readonly environment: Environment;
15684
15699
  readonly networkMap: NetworkMap;
15700
+ readonly publishableKey: string;
15685
15701
  constructor(config: CheckoutModuleConfiguration, httpClient: HttpClient);
15686
15702
  }
15687
15703
 
@@ -15789,7 +15805,14 @@ type SaleWidgetConfiguration = {
15789
15805
  hideExcludedPaymentTypes?: boolean;
15790
15806
  } & WidgetConfiguration;
15791
15807
 
15792
- type CheckoutWidgetConfiguration = {} & WidgetConfiguration;
15808
+ type CheckoutWidgetConfiguration = {
15809
+ connect?: Omit<ConnectWidgetConfiguration, keyof WidgetConfiguration>;
15810
+ wallet?: Omit<WalletWidgetConfiguration, keyof WidgetConfiguration>;
15811
+ swap?: Omit<SwapWidgetConfiguration, keyof WidgetConfiguration>;
15812
+ bridge?: Omit<BridgeWidgetConfiguration, keyof WidgetConfiguration>;
15813
+ onRamp?: Omit<OnrampWidgetConfiguration, keyof WidgetConfiguration>;
15814
+ sale?: Omit<SaleWidgetConfiguration, keyof WidgetConfiguration>;
15815
+ } & Omit<WidgetConfiguration, 'walletConnect'>;
15793
15816
 
15794
15817
  /**
15795
15818
  * Enum representing the events emitted by the widgets.
@@ -16317,10 +16340,37 @@ type SaleItem = {
16317
16340
  description: string;
16318
16341
  };
16319
16342
 
16343
+ declare enum CheckoutFlowType {
16344
+ CONNECT = "connect",
16345
+ WALLET = "wallet",
16346
+ SWAP = "swap",
16347
+ BRIDGE = "bridge",
16348
+ ONRAMP = "on-ramp",
16349
+ SALE = "sale"
16350
+ }
16351
+ type CheckoutWidgetConnectFlowParams = {
16352
+ flow: CheckoutFlowType.CONNECT;
16353
+ } & ConnectWidgetParams;
16354
+ type CheckoutWidgetWalletFlowParams = {
16355
+ flow: CheckoutFlowType.WALLET;
16356
+ } & WalletWidgetParams;
16357
+ type CheckouWidgetSwapFlowParams = {
16358
+ flow: CheckoutFlowType.SWAP;
16359
+ } & SwapWidgetParams;
16360
+ type CheckouWidgetBridgeFlowParams = {
16361
+ flow: CheckoutFlowType.BRIDGE;
16362
+ } & BridgeWidgetParams;
16363
+ type CheckouWidgetOnRampFlowParams = {
16364
+ flow: CheckoutFlowType.ONRAMP;
16365
+ } & OnRampWidgetParams;
16366
+ type CheckouWidgetSaleFlowParams = {
16367
+ flow: CheckoutFlowType.SALE;
16368
+ } & SaleWidgetParams;
16369
+ type CheckoutWidgetFlowParams = CheckoutWidgetConnectFlowParams | CheckoutWidgetWalletFlowParams | CheckouWidgetSwapFlowParams | CheckouWidgetBridgeFlowParams | CheckouWidgetOnRampFlowParams | CheckouWidgetSaleFlowParams;
16320
16370
  type CheckoutWidgetParams = {
16321
16371
  /** The language to use for the checkout widget */
16322
16372
  language?: WidgetLanguage;
16323
- };
16373
+ } & CheckoutWidgetFlowParams;
16324
16374
 
16325
16375
  /**
16326
16376
  * Enum representing the list of widget types.
@@ -16903,4 +16953,4 @@ declare class BlockExplorerService {
16903
16953
  static getTransactionLink(chainId: ChainId, hash: string): string | undefined;
16904
16954
  }
16905
16955
 
16906
- export { AllowedNetworkConfig, AvailableRoutingOptions, BalanceDelta, BlockExplorerService, BridgeClaimWithdrawalFailed, BridgeClaimWithdrawalSuccess, BridgeEventType, BridgeFailed, BridgeFundingStep, BridgeTransactionSent, BridgeWidgetConfiguration, BridgeWidgetParams, BuyOrder, BuyOverrides, BuyParams, BuyResult, BuyResultFailed, BuyResultFulfillmentsUnsettled, BuyResultInsufficientFunds, BuyResultSuccess, BuyToken, CancelOverrides, CancelParams, CancelResult, CancelResultFailed, CancelResultFulfillmentsUnsettled, CancelResultGasless, CancelResultSuccess, ChainId, ChainName, ChainSlug, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutErrorType, CheckoutEventType, CheckoutModuleConfiguration, CheckoutOnRampConfiguration, CheckoutStatus, CheckoutSwapConfiguration, CheckoutWidgetConfiguration, CheckoutWidgetParams, CheckoutWidgetsConfig, ConnectEventType, ConnectParams, ConnectResult, ConnectTargetLayer, ConnectWidgetConfiguration, ConnectWidgetParams, ConnectionFailed, ConnectionSuccess, CreateProviderParams, CreateProviderResult, DexConfig, EIP1193Provider, EIP6963ProviderDetail, EIP6963ProviderInfo, ERC20ItemRequirement, ERC721Balance, ERC721ItemRequirement, ErrorType, ExchangeType, FailedGaslessCancellation, Fee, FeePercentage, FeeToken, FeeType, FiatRampParams, FulfillmentTransaction, FundingItem, FundingRoute, FundingStep, FundingStepType, GasAmount, GasEstimateBridgeToL2Result, GasEstimateParams, GasEstimateSwapResult, GasEstimateTokenConfig, GasEstimateType, GasToken, GasTokenType, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetTokenInfoParams, GetWalletAllowListParams, GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, IWidgetsFactory, ItemBalance, ItemType, LanguageChanged, NativeItemRequirement, NetworkFilter, NetworkFilterTypes, NetworkInfo, NoRouteOptions, NoRoutesFound, OnRampEventType, OnRampFailed, OnRampFundingStep, OnRampProviderFees, OnRampSuccess, OnRampWidgetParams, OnrampWidgetConfiguration, OrchestrationEvent, OrchestrationEventData, OrchestrationEventType, OrderFee, PendingGaslessCancellation, ProviderEvent, ProviderEventType, ProviderUpdated, RemoteConfiguration, RequestBridgeEvent, RequestConnectEvent, RequestOnrampEvent, RequestSwapEvent, RequestWalletEvent, RoutesFound, RoutingOutcome, RoutingOutcomeType, SaleEventType, SaleFailed, SaleItem, SalePaymentMethod, SalePaymentToken, SalePaymentTypes, SaleSuccess, SaleTransactionSuccess, SaleWidgetConfiguration, SaleWidgetParams, SellOrder, SellParams, SellResult, SellResultFailed, SellResultInsufficientFunds, SellResultSuccess, SellToken, SemanticVersion, SendTransactionParams, SendTransactionResult, SmartCheckoutInsufficient, SmartCheckoutParams, SmartCheckoutResult, SmartCheckoutRouter, SmartCheckoutSufficient, SuccessfulGaslessCancellation, SwapEventType, SwapFailed, SwapFundingStep, SwapRejected, SwapSuccess, SwapWidgetConfiguration, SwapWidgetParams, SwitchNetworkParams, SwitchNetworkResult, TokenAmountEstimate, TokenBalance, TokenFilter, TokenFilterTypes, TokenInfo, TransactionOrGasType, TransactionRequirement, WalletConnectConfig, WalletConnectManager, WalletConnectProviderChanged, WalletDisconnect, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitch, WalletProviderName, WalletProviderRdns, WalletWidgetConfiguration, WalletWidgetParams, Widget, WidgetConfiguration, WidgetConfigurations, WidgetEvent, WidgetEventData, WidgetEventTypes, WidgetLanguage, WidgetParameters, WidgetProperties, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, validateProvider };
16956
+ export { AllowedNetworkConfig, AvailableRoutingOptions, BalanceDelta, BlockExplorerService, BridgeClaimWithdrawalFailed, BridgeClaimWithdrawalSuccess, BridgeEventType, BridgeFailed, BridgeFundingStep, BridgeTransactionSent, BridgeWidgetConfiguration, BridgeWidgetParams, BuyOrder, BuyOverrides, BuyParams, BuyResult, BuyResultFailed, BuyResultFulfillmentsUnsettled, BuyResultInsufficientFunds, BuyResultSuccess, BuyToken, CancelOverrides, CancelParams, CancelResult, CancelResultFailed, CancelResultFulfillmentsUnsettled, CancelResultGasless, CancelResultSuccess, ChainId, ChainName, ChainSlug, CheckConnectionParams, CheckConnectionResult, CheckouWidgetBridgeFlowParams, CheckouWidgetOnRampFlowParams, CheckouWidgetSaleFlowParams, CheckouWidgetSwapFlowParams, Checkout, CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutErrorType, CheckoutEventType, CheckoutFlowType, CheckoutModuleConfiguration, CheckoutOnRampConfiguration, CheckoutStatus, CheckoutSwapConfiguration, CheckoutWidgetConfiguration, CheckoutWidgetConnectFlowParams, CheckoutWidgetFlowParams, CheckoutWidgetParams, CheckoutWidgetWalletFlowParams, CheckoutWidgetsConfig, ConnectEventType, ConnectParams, ConnectResult, ConnectTargetLayer, ConnectWidgetConfiguration, ConnectWidgetParams, ConnectionFailed, ConnectionSuccess, CreateProviderParams, CreateProviderResult, DexConfig, EIP1193Provider, EIP6963ProviderDetail, EIP6963ProviderInfo, ERC20ItemRequirement, ERC721Balance, ERC721ItemRequirement, ErrorType, ExchangeType, FailedGaslessCancellation, Fee, FeePercentage, FeeToken, FeeType, FiatRampParams, FulfillmentTransaction, FundingItem, FundingRoute, FundingStep, FundingStepType, GasAmount, GasEstimateBridgeToL2Result, GasEstimateParams, GasEstimateSwapResult, GasEstimateTokenConfig, GasEstimateType, GasToken, GasTokenType, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetTokenInfoParams, GetWalletAllowListParams, GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, IWidgetsFactory, ItemBalance, ItemType, LanguageChanged, NativeItemRequirement, NetworkFilter, NetworkFilterTypes, NetworkInfo, NoRouteOptions, NoRoutesFound, OnRampEventType, OnRampFailed, OnRampFundingStep, OnRampProviderFees, OnRampSuccess, OnRampWidgetParams, OnrampWidgetConfiguration, OrchestrationEvent, OrchestrationEventData, OrchestrationEventType, OrderFee, PendingGaslessCancellation, ProviderEvent, ProviderEventType, ProviderUpdated, RemoteConfiguration, RequestBridgeEvent, RequestConnectEvent, RequestOnrampEvent, RequestSwapEvent, RequestWalletEvent, RoutesFound, RoutingOutcome, RoutingOutcomeType, SaleEventType, SaleFailed, SaleItem, SalePaymentMethod, SalePaymentToken, SalePaymentTypes, SaleSuccess, SaleTransactionSuccess, SaleWidgetConfiguration, SaleWidgetParams, SellOrder, SellParams, SellResult, SellResultFailed, SellResultInsufficientFunds, SellResultSuccess, SellToken, SemanticVersion, SendTransactionParams, SendTransactionResult, SmartCheckoutInsufficient, SmartCheckoutParams, SmartCheckoutResult, SmartCheckoutRouter, SmartCheckoutSufficient, SuccessfulGaslessCancellation, SwapEventType, SwapFailed, SwapFundingStep, SwapRejected, SwapSuccess, SwapWidgetConfiguration, SwapWidgetParams, SwitchNetworkParams, SwitchNetworkResult, TokenAmountEstimate, TokenBalance, TokenFilter, TokenFilterTypes, TokenInfo, TransactionOrGasType, TransactionRequirement, WalletConnectConfig, WalletConnectManager, WalletConnectProviderChanged, WalletDisconnect, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitch, WalletProviderName, WalletProviderRdns, WalletWidgetConfiguration, WalletWidgetParams, Widget, WidgetConfiguration, WidgetConfigurations, WidgetEvent, WidgetEventData, WidgetEventTypes, WidgetLanguage, WidgetParameters, WidgetProperties, WidgetTheme, WidgetType, getMetaMaskProviderDetail, getPassportProviderDetail, validateProvider };