@imtbl/sdk 1.21.0 → 1.21.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.
Files changed (39) hide show
  1. package/dist/blockchain_data.d.ts +72 -22
  2. package/dist/blockchain_data.js +276 -101
  3. package/dist/browser/checkout/{BridgeWidget-48ef95fb.js → BridgeWidget-050bb010.js} +1 -1
  4. package/dist/browser/checkout/{HorizontalMenu-actual-1b0aa351.js → HorizontalMenu-actual-254df9f7.js} +1 -1
  5. package/dist/browser/checkout/{OnRampWidget-1c87f5ac.js → OnRampWidget-84f16f28.js} +1 -1
  6. package/dist/browser/checkout/{SaleWidget-51e77b6f.js → SaleWidget-b493918f.js} +2 -2
  7. package/dist/browser/checkout/{SpendingCapHero-43d4d6a1.js → SpendingCapHero-c21b087f.js} +1 -1
  8. package/dist/browser/checkout/{SwapWidget-3040f466.js → SwapWidget-9190ea19.js} +1 -1
  9. package/dist/browser/checkout/{TopUpView-9237bc6c.js → TopUpView-5fed36e0.js} +1 -1
  10. package/dist/browser/checkout/{WalletWidget-b5e4f4d7.js → WalletWidget-ce8ba9a4.js} +1 -1
  11. package/dist/browser/checkout/{auto-track-dbd0e9c6.js → auto-track-d773ecc1.js} +1 -1
  12. package/dist/browser/checkout/{balance-3b1416a3.js → balance-faa2470f.js} +1 -1
  13. package/dist/browser/checkout/{index-d80910d5.js → index-43c6ad17.js} +1 -1
  14. package/dist/browser/checkout/index-46c773de.js +1 -0
  15. package/dist/browser/checkout/{index-383a69c3.js → index-4b5a276c.js} +1 -1
  16. package/dist/browser/checkout/{index-ebf766fc.js → index-70723ad3.js} +1 -1
  17. package/dist/browser/checkout/{index-f5dd3066.js → index-8d9a8e86.js} +1 -1
  18. package/dist/browser/checkout/{index-67abd982.js → index-a247827a.js} +3 -3
  19. package/dist/browser/checkout/{index-a4b63381.js → index-a45f92e4.js} +1 -1
  20. package/dist/browser/checkout/{index-8107ef81.js → index-a6bbe105.js} +1 -1
  21. package/dist/browser/checkout/{index.umd-b03c715d.js → index.umd-26384df2.js} +1 -1
  22. package/dist/browser/checkout/{retry-da82ba74.js → retry-5c1764e1.js} +1 -1
  23. package/dist/browser/checkout/sdk.js +4 -4
  24. package/dist/browser/checkout/widgets-esm.js +1 -1
  25. package/dist/browser/checkout/widgets.js +5 -5
  26. package/dist/checkout.d.ts +2 -0
  27. package/dist/checkout.js +278 -103
  28. package/dist/config.js +1 -1
  29. package/dist/index.browser.js +11 -28
  30. package/dist/index.browser.js.map +1 -1
  31. package/dist/index.cjs +286 -110
  32. package/dist/index.d.ts +83 -22
  33. package/dist/index.js +286 -110
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +455 -78
  36. package/dist/x.d.ts +6 -1
  37. package/dist/x.js +5 -4
  38. package/package.json +1 -2
  39. package/dist/browser/checkout/index-a81361a5.js +0 -1
@@ -277,12 +277,13 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
277
277
  * @param {string} fromUpdatedAt From indexed at including given date
278
278
  * @param {string} [toUpdatedAt] To indexed at including given date
279
279
  * @param {string} [contractAddress] The contract address of the collection
280
+ * @param {ActivityType} [activityType] The activity type
280
281
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
281
282
  * @param {number} [pageSize] Maximum number of items to return
282
283
  * @param {*} [options] Override http request option.
283
284
  * @throws {RequiredError}
284
285
  */
285
- listActivityHistory: async (chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options = {}) => {
286
+ listActivityHistory: async (chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options = {}) => {
286
287
  // verify required parameter 'chainName' is not null or undefined
287
288
  assertParamExists('listActivityHistory', 'chainName', chainName);
288
289
  // verify required parameter 'fromUpdatedAt' is not null or undefined
@@ -311,6 +312,9 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
311
312
  if (contractAddress !== undefined) {
312
313
  localVarQueryParameter['contract_address'] = contractAddress;
313
314
  }
315
+ if (activityType !== undefined) {
316
+ localVarQueryParameter['activity_type'] = activityType;
317
+ }
314
318
  if (pageCursor !== undefined) {
315
319
  localVarQueryParameter['page_cursor'] = pageCursor;
316
320
  }
@@ -371,13 +375,14 @@ const ActivitiesApiFp = function (configuration) {
371
375
  * @param {string} fromUpdatedAt From indexed at including given date
372
376
  * @param {string} [toUpdatedAt] To indexed at including given date
373
377
  * @param {string} [contractAddress] The contract address of the collection
378
+ * @param {ActivityType} [activityType] The activity type
374
379
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
375
380
  * @param {number} [pageSize] Maximum number of items to return
376
381
  * @param {*} [options] Override http request option.
377
382
  * @throws {RequiredError}
378
383
  */
379
- async listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options) {
380
- const localVarAxiosArgs = await localVarAxiosParamCreator.listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options);
384
+ async listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options) {
385
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options);
381
386
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
382
387
  },
383
388
  };
@@ -417,7 +422,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
417
422
  * @throws {RequiredError}
418
423
  */
419
424
  listActivityHistory(requestParameters, options) {
420
- return localVarFp.listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
425
+ return localVarFp.listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.activityType, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
421
426
  },
422
427
  };
423
428
  };
@@ -459,7 +464,7 @@ class ActivitiesApi extends BaseAPI {
459
464
  * @memberof ActivitiesApi
460
465
  */
461
466
  listActivityHistory(requestParameters, options) {
462
- return ActivitiesApiFp(this.configuration).listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
467
+ return ActivitiesApiFp(this.configuration).listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.activityType, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
463
468
  }
464
469
  }
465
470
 
@@ -1669,7 +1674,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
1669
1674
  * @summary Mint NFTs
1670
1675
  * @param {string} contractAddress The address of contract
1671
1676
  * @param {string} chainName The name of chain
1672
- * @param {CreateMintRequestRequest} createMintRequestRequest the request body
1677
+ * @param {CreateMintRequestRequest} createMintRequestRequest Create Mint Request Body
1673
1678
  * @param {*} [options] Override http request option.
1674
1679
  * @throws {RequiredError}
1675
1680
  */
@@ -1709,7 +1714,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
1709
1714
  * @summary Get mint request by reference ID
1710
1715
  * @param {string} contractAddress The address of contract
1711
1716
  * @param {string} chainName The name of chain
1712
- * @param {string} referenceId The ID of the mint request
1717
+ * @param {string} referenceId The id of the mint request
1713
1718
  * @param {*} [options] Override http request option.
1714
1719
  * @throws {RequiredError}
1715
1720
  */
@@ -1980,7 +1985,7 @@ const NftsApiFp = function (configuration) {
1980
1985
  * @summary Mint NFTs
1981
1986
  * @param {string} contractAddress The address of contract
1982
1987
  * @param {string} chainName The name of chain
1983
- * @param {CreateMintRequestRequest} createMintRequestRequest the request body
1988
+ * @param {CreateMintRequestRequest} createMintRequestRequest Create Mint Request Body
1984
1989
  * @param {*} [options] Override http request option.
1985
1990
  * @throws {RequiredError}
1986
1991
  */
@@ -1993,7 +1998,7 @@ const NftsApiFp = function (configuration) {
1993
1998
  * @summary Get mint request by reference ID
1994
1999
  * @param {string} contractAddress The address of contract
1995
2000
  * @param {string} chainName The name of chain
1996
- * @param {string} referenceId The ID of the mint request
2001
+ * @param {string} referenceId The id of the mint request
1997
2002
  * @param {*} [options] Override http request option.
1998
2003
  * @throws {RequiredError}
1999
2004
  */
@@ -2434,6 +2439,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2434
2439
  * @param {string} chainName
2435
2440
  * @param {OrderStatusName} [status] Order status to filter by
2436
2441
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
2442
+ * @param {ListListingsBuyItemTypeEnum} [buyItemType] Buy item type to filter by
2437
2443
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2438
2444
  * @param {string} [accountAddress] The account address of the user who created the listing
2439
2445
  * @param {string} [sellItemMetadataId] The metadata_id of the sell item
@@ -2446,7 +2452,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2446
2452
  * @param {*} [options] Override http request option.
2447
2453
  * @throws {RequiredError}
2448
2454
  */
2449
- listListings: async (chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
2455
+ listListings: async (chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
2450
2456
  // verify required parameter 'chainName' is not null or undefined
2451
2457
  assertParamExists('listListings', 'chainName', chainName);
2452
2458
  const localVarPath = `/v1/chains/{chain_name}/orders/listings`
@@ -2466,6 +2472,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2466
2472
  if (sellItemContractAddress !== undefined) {
2467
2473
  localVarQueryParameter['sell_item_contract_address'] = sellItemContractAddress;
2468
2474
  }
2475
+ if (buyItemType !== undefined) {
2476
+ localVarQueryParameter['buy_item_type'] = buyItemType;
2477
+ }
2469
2478
  if (buyItemContractAddress !== undefined) {
2470
2479
  localVarQueryParameter['buy_item_contract_address'] = buyItemContractAddress;
2471
2480
  }
@@ -2633,6 +2642,7 @@ const OrdersApiFp = function (configuration) {
2633
2642
  * @param {string} chainName
2634
2643
  * @param {OrderStatusName} [status] Order status to filter by
2635
2644
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
2645
+ * @param {ListListingsBuyItemTypeEnum} [buyItemType] Buy item type to filter by
2636
2646
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2637
2647
  * @param {string} [accountAddress] The account address of the user who created the listing
2638
2648
  * @param {string} [sellItemMetadataId] The metadata_id of the sell item
@@ -2645,8 +2655,8 @@ const OrdersApiFp = function (configuration) {
2645
2655
  * @param {*} [options] Override http request option.
2646
2656
  * @throws {RequiredError}
2647
2657
  */
2648
- async listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
2649
- const localVarAxiosArgs = await localVarAxiosParamCreator.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options);
2658
+ async listListings(chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
2659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listListings(chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options);
2650
2660
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2651
2661
  },
2652
2662
  /**
@@ -2733,7 +2743,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
2733
2743
  * @throws {RequiredError}
2734
2744
  */
2735
2745
  listListings(requestParameters, options) {
2736
- return localVarFp.listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemContractAddress, requestParameters.accountAddress, requestParameters.sellItemMetadataId, requestParameters.sellItemTokenId, requestParameters.fromUpdatedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2746
+ return localVarFp.listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemType, requestParameters.buyItemContractAddress, requestParameters.accountAddress, requestParameters.sellItemMetadataId, requestParameters.sellItemTokenId, requestParameters.fromUpdatedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2737
2747
  },
2738
2748
  /**
2739
2749
  * List all trades
@@ -2818,7 +2828,7 @@ class OrdersApi extends BaseAPI {
2818
2828
  * @memberof OrdersApi
2819
2829
  */
2820
2830
  listListings(requestParameters, options) {
2821
- return OrdersApiFp(this.configuration).listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemContractAddress, requestParameters.accountAddress, requestParameters.sellItemMetadataId, requestParameters.sellItemTokenId, requestParameters.fromUpdatedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
2831
+ return OrdersApiFp(this.configuration).listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemType, requestParameters.buyItemContractAddress, requestParameters.accountAddress, requestParameters.sellItemMetadataId, requestParameters.sellItemTokenId, requestParameters.fromUpdatedAt, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
2822
2832
  }
2823
2833
  /**
2824
2834
  * List all trades
@@ -2832,6 +2842,13 @@ class OrdersApi extends BaseAPI {
2832
2842
  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));
2833
2843
  }
2834
2844
  }
2845
+ /**
2846
+ * @export
2847
+ */
2848
+ const ListListingsBuyItemTypeEnum = {
2849
+ Native: 'NATIVE',
2850
+ Erc20: 'ERC20'
2851
+ };
2835
2852
  /**
2836
2853
  * @export
2837
2854
  */
@@ -2886,6 +2903,7 @@ const PassportApiAxiosParamCreator = function (configuration) {
2886
2903
  * @param {string} chainName
2887
2904
  * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
2888
2905
  * @param {*} [options] Override http request option.
2906
+ * @deprecated
2889
2907
  * @throws {RequiredError}
2890
2908
  */
2891
2909
  createCounterfactualAddress: async (chainName, createCounterfactualAddressRequest, options = {}) => {
@@ -2922,6 +2940,7 @@ const PassportApiAxiosParamCreator = function (configuration) {
2922
2940
  * @summary Deprecated Create a counterfactual address
2923
2941
  * @param {CreateCounterfactualAddressRequestDeprecated} createCounterfactualAddressRequestDeprecated
2924
2942
  * @param {*} [options] Override http request option.
2943
+ * @deprecated
2925
2944
  * @throws {RequiredError}
2926
2945
  */
2927
2946
  createCounterfactualAddressDeprecated: async (createCounterfactualAddressRequestDeprecated, options = {}) => {
@@ -2988,22 +3007,20 @@ const PassportApiAxiosParamCreator = function (configuration) {
2988
3007
  };
2989
3008
  },
2990
3009
  /**
2991
- * Get a contract abi by contract address and method id
2992
- * @summary Get a contract abi
3010
+ * Get all the Ethereum linked addresses for a user based on its userId
3011
+ * @summary Get Ethereum linked addresses for a user
3012
+ * @param {string} userId The user\'s userId
2993
3013
  * @param {string} chainName
2994
- * @param {string} contractAddress contract address
2995
- * @param {string} methodId method id
2996
3014
  * @param {*} [options] Override http request option.
2997
3015
  * @throws {RequiredError}
2998
3016
  */
2999
- getContractAbi: async (chainName, contractAddress, methodId, options = {}) => {
3017
+ getLinkedAddresses: async (userId, chainName, options = {}) => {
3018
+ // verify required parameter 'userId' is not null or undefined
3019
+ assertParamExists('getLinkedAddresses', 'userId', userId);
3000
3020
  // verify required parameter 'chainName' is not null or undefined
3001
- assertParamExists('getContractAbi', 'chainName', chainName);
3002
- // verify required parameter 'contractAddress' is not null or undefined
3003
- assertParamExists('getContractAbi', 'contractAddress', contractAddress);
3004
- // verify required parameter 'methodId' is not null or undefined
3005
- assertParamExists('getContractAbi', 'methodId', methodId);
3006
- const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
3021
+ assertParamExists('getLinkedAddresses', 'chainName', chainName);
3022
+ const localVarPath = `/v1/chains/{chain_name}/passport/users/{user_id}/linked-addresses`
3023
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)))
3007
3024
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
3008
3025
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3009
3026
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3017,12 +3034,6 @@ const PassportApiAxiosParamCreator = function (configuration) {
3017
3034
  // authentication BearerAuth required
3018
3035
  // http bearer authentication required
3019
3036
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3020
- if (contractAddress !== undefined) {
3021
- localVarQueryParameter['contract_address'] = contractAddress;
3022
- }
3023
- if (methodId !== undefined) {
3024
- localVarQueryParameter['method_id'] = methodId;
3025
- }
3026
3037
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3027
3038
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3028
3039
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3033,19 +3044,51 @@ const PassportApiAxiosParamCreator = function (configuration) {
3033
3044
  },
3034
3045
  /**
3035
3046
  * Get all the Ethereum linked addresses for a user based on its userId
3036
- * @summary Get Ethereum linked addresses for a user
3047
+ * @summary Deprecated Get Ethereum linked addresses for a user
3037
3048
  * @param {string} userId The user\'s userId
3038
- * @param {string} chainName
3039
3049
  * @param {*} [options] Override http request option.
3050
+ * @deprecated
3040
3051
  * @throws {RequiredError}
3041
3052
  */
3042
- getLinkedAddresses: async (userId, chainName, options = {}) => {
3053
+ getLinkedAddressesDeprecated: async (userId, options = {}) => {
3043
3054
  // verify required parameter 'userId' is not null or undefined
3044
- assertParamExists('getLinkedAddresses', 'userId', userId);
3055
+ assertParamExists('getLinkedAddressesDeprecated', 'userId', userId);
3056
+ const localVarPath = `/passport-mr/v1/users/{userId}/linked-addresses`
3057
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
3058
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3059
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3060
+ let baseOptions;
3061
+ if (configuration) {
3062
+ baseOptions = configuration.baseOptions;
3063
+ }
3064
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3065
+ const localVarHeaderParameter = {};
3066
+ const localVarQueryParameter = {};
3067
+ // authentication BearerAuth required
3068
+ // http bearer authentication required
3069
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
3070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3071
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3072
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3073
+ return {
3074
+ url: toPathString(localVarUrlObj),
3075
+ options: localVarRequestOptions,
3076
+ };
3077
+ },
3078
+ /**
3079
+ * Get transaction metadata for a given encoded transaction
3080
+ * @summary Get transaction metadata
3081
+ * @param {string} chainName
3082
+ * @param {GetTransactionMetadataRequest} getTransactionMetadataRequest
3083
+ * @param {*} [options] Override http request option.
3084
+ * @throws {RequiredError}
3085
+ */
3086
+ getTransactionMetadata: async (chainName, getTransactionMetadataRequest, options = {}) => {
3045
3087
  // verify required parameter 'chainName' is not null or undefined
3046
- assertParamExists('getLinkedAddresses', 'chainName', chainName);
3047
- const localVarPath = `/v1/chains/{chain_name}/passport/users/{user_id}/linked-addresses`
3048
- .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)))
3088
+ assertParamExists('getTransactionMetadata', 'chainName', chainName);
3089
+ // verify required parameter 'getTransactionMetadataRequest' is not null or undefined
3090
+ assertParamExists('getTransactionMetadata', 'getTransactionMetadataRequest', getTransactionMetadataRequest);
3091
+ const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
3049
3092
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
3050
3093
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3051
3094
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3053,32 +3096,47 @@ const PassportApiAxiosParamCreator = function (configuration) {
3053
3096
  if (configuration) {
3054
3097
  baseOptions = configuration.baseOptions;
3055
3098
  }
3056
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3099
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3057
3100
  const localVarHeaderParameter = {};
3058
3101
  const localVarQueryParameter = {};
3059
3102
  // authentication BearerAuth required
3060
3103
  // http bearer authentication required
3061
3104
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3105
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3062
3106
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3063
3107
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3064
3108
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3109
+ localVarRequestOptions.data = serializeDataIfNeeded(getTransactionMetadataRequest, localVarRequestOptions, configuration);
3065
3110
  return {
3066
3111
  url: toPathString(localVarUrlObj),
3067
3112
  options: localVarRequestOptions,
3068
3113
  };
3069
3114
  },
3070
3115
  /**
3071
- * Get all the Ethereum linked addresses for a user based on its userId
3072
- * @summary Deprecated Get Ethereum linked addresses for a user
3073
- * @param {string} userId The user\'s userId
3116
+ * Get transaction metadata for a given encoded transaction
3117
+ * @summary Get transaction metadata
3118
+ * @param {string} chainName
3119
+ * @param {string} contractAddress The address of the contract intended for interaction with this transaction
3120
+ * @param {string} methodId The method ID of the contract intended for interaction with this transaction
3121
+ * @param {string} transactionId ID of the given transaction to be decoded
3122
+ * @param {string} transactionData Encoded transaction data
3074
3123
  * @param {*} [options] Override http request option.
3124
+ * @deprecated
3075
3125
  * @throws {RequiredError}
3076
3126
  */
3077
- getLinkedAddressesDeprecated: async (userId, options = {}) => {
3078
- // verify required parameter 'userId' is not null or undefined
3079
- assertParamExists('getLinkedAddressesDeprecated', 'userId', userId);
3080
- const localVarPath = `/passport-mr/v1/users/{userId}/linked-addresses`
3081
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
3127
+ getTransactionMetadataDeprecated: async (chainName, contractAddress, methodId, transactionId, transactionData, options = {}) => {
3128
+ // verify required parameter 'chainName' is not null or undefined
3129
+ assertParamExists('getTransactionMetadataDeprecated', 'chainName', chainName);
3130
+ // verify required parameter 'contractAddress' is not null or undefined
3131
+ assertParamExists('getTransactionMetadataDeprecated', 'contractAddress', contractAddress);
3132
+ // verify required parameter 'methodId' is not null or undefined
3133
+ assertParamExists('getTransactionMetadataDeprecated', 'methodId', methodId);
3134
+ // verify required parameter 'transactionId' is not null or undefined
3135
+ assertParamExists('getTransactionMetadataDeprecated', 'transactionId', transactionId);
3136
+ // verify required parameter 'transactionData' is not null or undefined
3137
+ assertParamExists('getTransactionMetadataDeprecated', 'transactionData', transactionData);
3138
+ const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
3139
+ .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
3082
3140
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3083
3141
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3084
3142
  let baseOptions;
@@ -3091,6 +3149,18 @@ const PassportApiAxiosParamCreator = function (configuration) {
3091
3149
  // authentication BearerAuth required
3092
3150
  // http bearer authentication required
3093
3151
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3152
+ if (contractAddress !== undefined) {
3153
+ localVarQueryParameter['contract_address'] = contractAddress;
3154
+ }
3155
+ if (methodId !== undefined) {
3156
+ localVarQueryParameter['method_id'] = methodId;
3157
+ }
3158
+ if (transactionId !== undefined) {
3159
+ localVarQueryParameter['transaction_id'] = transactionId;
3160
+ }
3161
+ if (transactionData !== undefined) {
3162
+ localVarQueryParameter['transaction_data'] = transactionData;
3163
+ }
3094
3164
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3095
3165
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3096
3166
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3114,6 +3184,7 @@ const PassportApiFp = function (configuration) {
3114
3184
  * @param {string} chainName
3115
3185
  * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
3116
3186
  * @param {*} [options] Override http request option.
3187
+ * @deprecated
3117
3188
  * @throws {RequiredError}
3118
3189
  */
3119
3190
  async createCounterfactualAddress(chainName, createCounterfactualAddressRequest, options) {
@@ -3125,6 +3196,7 @@ const PassportApiFp = function (configuration) {
3125
3196
  * @summary Deprecated Create a counterfactual address
3126
3197
  * @param {CreateCounterfactualAddressRequestDeprecated} createCounterfactualAddressRequestDeprecated
3127
3198
  * @param {*} [options] Override http request option.
3199
+ * @deprecated
3128
3200
  * @throws {RequiredError}
3129
3201
  */
3130
3202
  async createCounterfactualAddressDeprecated(createCounterfactualAddressRequestDeprecated, options) {
@@ -3143,19 +3215,6 @@ const PassportApiFp = function (configuration) {
3143
3215
  const localVarAxiosArgs = await localVarAxiosParamCreator.createCounterfactualAddressV2(chainName, createCounterfactualAddressRequest, options);
3144
3216
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3145
3217
  },
3146
- /**
3147
- * Get a contract abi by contract address and method id
3148
- * @summary Get a contract abi
3149
- * @param {string} chainName
3150
- * @param {string} contractAddress contract address
3151
- * @param {string} methodId method id
3152
- * @param {*} [options] Override http request option.
3153
- * @throws {RequiredError}
3154
- */
3155
- async getContractAbi(chainName, contractAddress, methodId, options) {
3156
- const localVarAxiosArgs = await localVarAxiosParamCreator.getContractAbi(chainName, contractAddress, methodId, options);
3157
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3158
- },
3159
3218
  /**
3160
3219
  * Get all the Ethereum linked addresses for a user based on its userId
3161
3220
  * @summary Get Ethereum linked addresses for a user
@@ -3173,12 +3232,41 @@ const PassportApiFp = function (configuration) {
3173
3232
  * @summary Deprecated Get Ethereum linked addresses for a user
3174
3233
  * @param {string} userId The user\'s userId
3175
3234
  * @param {*} [options] Override http request option.
3235
+ * @deprecated
3176
3236
  * @throws {RequiredError}
3177
3237
  */
3178
3238
  async getLinkedAddressesDeprecated(userId, options) {
3179
3239
  const localVarAxiosArgs = await localVarAxiosParamCreator.getLinkedAddressesDeprecated(userId, options);
3180
3240
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3181
3241
  },
3242
+ /**
3243
+ * Get transaction metadata for a given encoded transaction
3244
+ * @summary Get transaction metadata
3245
+ * @param {string} chainName
3246
+ * @param {GetTransactionMetadataRequest} getTransactionMetadataRequest
3247
+ * @param {*} [options] Override http request option.
3248
+ * @throws {RequiredError}
3249
+ */
3250
+ async getTransactionMetadata(chainName, getTransactionMetadataRequest, options) {
3251
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionMetadata(chainName, getTransactionMetadataRequest, options);
3252
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3253
+ },
3254
+ /**
3255
+ * Get transaction metadata for a given encoded transaction
3256
+ * @summary Get transaction metadata
3257
+ * @param {string} chainName
3258
+ * @param {string} contractAddress The address of the contract intended for interaction with this transaction
3259
+ * @param {string} methodId The method ID of the contract intended for interaction with this transaction
3260
+ * @param {string} transactionId ID of the given transaction to be decoded
3261
+ * @param {string} transactionData Encoded transaction data
3262
+ * @param {*} [options] Override http request option.
3263
+ * @deprecated
3264
+ * @throws {RequiredError}
3265
+ */
3266
+ async getTransactionMetadataDeprecated(chainName, contractAddress, methodId, transactionId, transactionData, options) {
3267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionMetadataDeprecated(chainName, contractAddress, methodId, transactionId, transactionData, options);
3268
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3269
+ },
3182
3270
  };
3183
3271
  };
3184
3272
  /**
@@ -3193,6 +3281,7 @@ const PassportApiFactory = function (configuration, basePath, axios) {
3193
3281
  * @summary Create a counterfactual address
3194
3282
  * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
3195
3283
  * @param {*} [options] Override http request option.
3284
+ * @deprecated
3196
3285
  * @throws {RequiredError}
3197
3286
  */
3198
3287
  createCounterfactualAddress(requestParameters, options) {
@@ -3203,6 +3292,7 @@ const PassportApiFactory = function (configuration, basePath, axios) {
3203
3292
  * @summary Deprecated Create a counterfactual address
3204
3293
  * @param {PassportApiCreateCounterfactualAddressDeprecatedRequest} requestParameters Request parameters.
3205
3294
  * @param {*} [options] Override http request option.
3295
+ * @deprecated
3206
3296
  * @throws {RequiredError}
3207
3297
  */
3208
3298
  createCounterfactualAddressDeprecated(requestParameters, options) {
@@ -3218,16 +3308,6 @@ const PassportApiFactory = function (configuration, basePath, axios) {
3218
3308
  createCounterfactualAddressV2(requestParameters, options) {
3219
3309
  return localVarFp.createCounterfactualAddressV2(requestParameters.chainName, requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
3220
3310
  },
3221
- /**
3222
- * Get a contract abi by contract address and method id
3223
- * @summary Get a contract abi
3224
- * @param {PassportApiGetContractAbiRequest} requestParameters Request parameters.
3225
- * @param {*} [options] Override http request option.
3226
- * @throws {RequiredError}
3227
- */
3228
- getContractAbi(requestParameters, options) {
3229
- return localVarFp.getContractAbi(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, options).then((request) => request(axios, basePath));
3230
- },
3231
3311
  /**
3232
3312
  * Get all the Ethereum linked addresses for a user based on its userId
3233
3313
  * @summary Get Ethereum linked addresses for a user
@@ -3243,11 +3323,33 @@ const PassportApiFactory = function (configuration, basePath, axios) {
3243
3323
  * @summary Deprecated Get Ethereum linked addresses for a user
3244
3324
  * @param {PassportApiGetLinkedAddressesDeprecatedRequest} requestParameters Request parameters.
3245
3325
  * @param {*} [options] Override http request option.
3326
+ * @deprecated
3246
3327
  * @throws {RequiredError}
3247
3328
  */
3248
3329
  getLinkedAddressesDeprecated(requestParameters, options) {
3249
3330
  return localVarFp.getLinkedAddressesDeprecated(requestParameters.userId, options).then((request) => request(axios, basePath));
3250
3331
  },
3332
+ /**
3333
+ * Get transaction metadata for a given encoded transaction
3334
+ * @summary Get transaction metadata
3335
+ * @param {PassportApiGetTransactionMetadataRequest} requestParameters Request parameters.
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ */
3339
+ getTransactionMetadata(requestParameters, options) {
3340
+ return localVarFp.getTransactionMetadata(requestParameters.chainName, requestParameters.getTransactionMetadataRequest, options).then((request) => request(axios, basePath));
3341
+ },
3342
+ /**
3343
+ * Get transaction metadata for a given encoded transaction
3344
+ * @summary Get transaction metadata
3345
+ * @param {PassportApiGetTransactionMetadataDeprecatedRequest} requestParameters Request parameters.
3346
+ * @param {*} [options] Override http request option.
3347
+ * @deprecated
3348
+ * @throws {RequiredError}
3349
+ */
3350
+ getTransactionMetadataDeprecated(requestParameters, options) {
3351
+ return localVarFp.getTransactionMetadataDeprecated(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, requestParameters.transactionId, requestParameters.transactionData, options).then((request) => request(axios, basePath));
3352
+ },
3251
3353
  };
3252
3354
  };
3253
3355
  /**
@@ -3262,6 +3364,7 @@ class PassportApi extends BaseAPI {
3262
3364
  * @summary Create a counterfactual address
3263
3365
  * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
3264
3366
  * @param {*} [options] Override http request option.
3367
+ * @deprecated
3265
3368
  * @throws {RequiredError}
3266
3369
  * @memberof PassportApi
3267
3370
  */
@@ -3273,6 +3376,7 @@ class PassportApi extends BaseAPI {
3273
3376
  * @summary Deprecated Create a counterfactual address
3274
3377
  * @param {PassportApiCreateCounterfactualAddressDeprecatedRequest} requestParameters Request parameters.
3275
3378
  * @param {*} [options] Override http request option.
3379
+ * @deprecated
3276
3380
  * @throws {RequiredError}
3277
3381
  * @memberof PassportApi
3278
3382
  */
@@ -3290,17 +3394,6 @@ class PassportApi extends BaseAPI {
3290
3394
  createCounterfactualAddressV2(requestParameters, options) {
3291
3395
  return PassportApiFp(this.configuration).createCounterfactualAddressV2(requestParameters.chainName, requestParameters.createCounterfactualAddressRequest, options).then((request) => request(this.axios, this.basePath));
3292
3396
  }
3293
- /**
3294
- * Get a contract abi by contract address and method id
3295
- * @summary Get a contract abi
3296
- * @param {PassportApiGetContractAbiRequest} requestParameters Request parameters.
3297
- * @param {*} [options] Override http request option.
3298
- * @throws {RequiredError}
3299
- * @memberof PassportApi
3300
- */
3301
- getContractAbi(requestParameters, options) {
3302
- return PassportApiFp(this.configuration).getContractAbi(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, options).then((request) => request(this.axios, this.basePath));
3303
- }
3304
3397
  /**
3305
3398
  * Get all the Ethereum linked addresses for a user based on its userId
3306
3399
  * @summary Get Ethereum linked addresses for a user
@@ -3317,12 +3410,36 @@ class PassportApi extends BaseAPI {
3317
3410
  * @summary Deprecated Get Ethereum linked addresses for a user
3318
3411
  * @param {PassportApiGetLinkedAddressesDeprecatedRequest} requestParameters Request parameters.
3319
3412
  * @param {*} [options] Override http request option.
3413
+ * @deprecated
3320
3414
  * @throws {RequiredError}
3321
3415
  * @memberof PassportApi
3322
3416
  */
3323
3417
  getLinkedAddressesDeprecated(requestParameters, options) {
3324
3418
  return PassportApiFp(this.configuration).getLinkedAddressesDeprecated(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3325
3419
  }
3420
+ /**
3421
+ * Get transaction metadata for a given encoded transaction
3422
+ * @summary Get transaction metadata
3423
+ * @param {PassportApiGetTransactionMetadataRequest} requestParameters Request parameters.
3424
+ * @param {*} [options] Override http request option.
3425
+ * @throws {RequiredError}
3426
+ * @memberof PassportApi
3427
+ */
3428
+ getTransactionMetadata(requestParameters, options) {
3429
+ return PassportApiFp(this.configuration).getTransactionMetadata(requestParameters.chainName, requestParameters.getTransactionMetadataRequest, options).then((request) => request(this.axios, this.basePath));
3430
+ }
3431
+ /**
3432
+ * Get transaction metadata for a given encoded transaction
3433
+ * @summary Get transaction metadata
3434
+ * @param {PassportApiGetTransactionMetadataDeprecatedRequest} requestParameters Request parameters.
3435
+ * @param {*} [options] Override http request option.
3436
+ * @deprecated
3437
+ * @throws {RequiredError}
3438
+ * @memberof PassportApi
3439
+ */
3440
+ getTransactionMetadataDeprecated(requestParameters, options) {
3441
+ return PassportApiFp(this.configuration).getTransactionMetadataDeprecated(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, requestParameters.transactionId, requestParameters.transactionData, options).then((request) => request(this.axios, this.basePath));
3442
+ }
3326
3443
  }
3327
3444
 
3328
3445
  /* tslint:disable */
@@ -3829,6 +3946,23 @@ const ERC1155ItemTypeEnum$1 = {
3829
3946
  Erc1155: 'ERC1155'
3830
3947
  };
3831
3948
 
3949
+ /* tslint:disable */
3950
+ /* eslint-disable */
3951
+ /**
3952
+ * Immutable zkEVM API
3953
+ * Immutable Multi Rollup API
3954
+ *
3955
+ * The version of the OpenAPI document: 1.0.0
3956
+ * Contact: support@immutable.com
3957
+ *
3958
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3959
+ * https://openapi-generator.tech
3960
+ * Do not edit the class manually.
3961
+ */
3962
+ const ERC20ApproveMetadataTransactionTypeEnum = {
3963
+ Erc20Approve: 'ERC20_APPROVE'
3964
+ };
3965
+
3832
3966
  /* tslint:disable */
3833
3967
  /* eslint-disable */
3834
3968
  /**
@@ -3859,8 +3993,8 @@ const ERC20ItemTypeEnum$1 = {
3859
3993
  * https://openapi-generator.tech
3860
3994
  * Do not edit the class manually.
3861
3995
  */
3862
- const ERC721ItemTypeEnum$1 = {
3863
- Erc721: 'ERC721'
3996
+ const ERC721ApproveMetadataTransactionTypeEnum = {
3997
+ Erc721Approve: 'ERC721_APPROVE'
3864
3998
  };
3865
3999
 
3866
4000
  /* tslint:disable */
@@ -3876,8 +4010,8 @@ const ERC721ItemTypeEnum$1 = {
3876
4010
  * https://openapi-generator.tech
3877
4011
  * Do not edit the class manually.
3878
4012
  */
3879
- const ExpiredOrderStatusNameEnum = {
3880
- Expired: 'EXPIRED'
4013
+ const ERC721ItemTypeEnum$1 = {
4014
+ Erc721: 'ERC721'
3881
4015
  };
3882
4016
 
3883
4017
  /* tslint:disable */
@@ -3893,8 +4027,8 @@ const ExpiredOrderStatusNameEnum = {
3893
4027
  * https://openapi-generator.tech
3894
4028
  * Do not edit the class manually.
3895
4029
  */
3896
- const FailedOrderCancellationReasonCodeEnum = {
3897
- Filled: 'FILLED'
4030
+ const ExpiredOrderStatusNameEnum = {
4031
+ Expired: 'EXPIRED'
3898
4032
  };
3899
4033
 
3900
4034
  /* tslint:disable */
@@ -3910,11 +4044,8 @@ const FailedOrderCancellationReasonCodeEnum = {
3910
4044
  * https://openapi-generator.tech
3911
4045
  * Do not edit the class manually.
3912
4046
  */
3913
- const FeeTypeEnum = {
3914
- Royalty: 'ROYALTY',
3915
- MakerEcosystem: 'MAKER_ECOSYSTEM',
3916
- TakerEcosystem: 'TAKER_ECOSYSTEM',
3917
- Protocol: 'PROTOCOL'
4047
+ const FailedOrderCancellationReasonCodeEnum = {
4048
+ Filled: 'FILLED'
3918
4049
  };
3919
4050
 
3920
4051
  /* tslint:disable */
@@ -3930,8 +4061,11 @@ const FeeTypeEnum = {
3930
4061
  * https://openapi-generator.tech
3931
4062
  * Do not edit the class manually.
3932
4063
  */
3933
- const FilledOrderStatusNameEnum = {
3934
- Filled: 'FILLED'
4064
+ const FeeTypeEnum = {
4065
+ Royalty: 'ROYALTY',
4066
+ MakerEcosystem: 'MAKER_ECOSYSTEM',
4067
+ TakerEcosystem: 'TAKER_ECOSYSTEM',
4068
+ Protocol: 'PROTOCOL'
3935
4069
  };
3936
4070
 
3937
4071
  /* tslint:disable */
@@ -3947,8 +4081,8 @@ const FilledOrderStatusNameEnum = {
3947
4081
  * https://openapi-generator.tech
3948
4082
  * Do not edit the class manually.
3949
4083
  */
3950
- const GetContractAbiResTransactionTypeEnum = {
3951
- Erc20Approve: 'ERC20_APPROVE'
4084
+ const FilledOrderStatusNameEnum = {
4085
+ Filled: 'FILLED'
3952
4086
  };
3953
4087
 
3954
4088
  /* tslint:disable */
@@ -4011,7 +4145,26 @@ const MintRequestStatus$1 = {
4011
4145
  * @enum {string}
4012
4146
  */
4013
4147
  const NFTContractType$1 = {
4014
- Erc721: 'ERC721'
4148
+ Erc721: 'ERC721',
4149
+ Erc1155: 'ERC1155'
4150
+ };
4151
+
4152
+ /* tslint:disable */
4153
+ /* eslint-disable */
4154
+ /**
4155
+ * Immutable zkEVM API
4156
+ * Immutable Multi Rollup API
4157
+ *
4158
+ * The version of the OpenAPI document: 1.0.0
4159
+ * Contact: support@immutable.com
4160
+ *
4161
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4162
+ * https://openapi-generator.tech
4163
+ * Do not edit the class manually.
4164
+ */
4165
+ const NFTSetApprovalForAllMetadataTransactionTypeEnum = {
4166
+ Erc721SetApprovalForAll: 'ERC721_SET_APPROVAL_FOR_ALL',
4167
+ Erc1155SetApprovalForAll: 'ERC1155_SET_APPROVAL_FOR_ALL'
4015
4168
  };
4016
4169
 
4017
4170
  /* tslint:disable */
@@ -4151,6 +4304,23 @@ const TokenContractType$1 = {
4151
4304
  Erc20: 'ERC20'
4152
4305
  };
4153
4306
 
4307
+ /* tslint:disable */
4308
+ /* eslint-disable */
4309
+ /**
4310
+ * Immutable zkEVM API
4311
+ * Immutable Multi Rollup API
4312
+ *
4313
+ * The version of the OpenAPI document: 1.0.0
4314
+ * Contact: support@immutable.com
4315
+ *
4316
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4317
+ * https://openapi-generator.tech
4318
+ * Do not edit the class manually.
4319
+ */
4320
+ const UnknownMetadataTransactionTypeEnum = {
4321
+ Unknown: 'UNKNOWN'
4322
+ };
4323
+
4154
4324
  /* tslint:disable */
4155
4325
  /* eslint-disable */
4156
4326
  /**
@@ -4193,14 +4363,16 @@ var index$1 = /*#__PURE__*/Object.freeze({
4193
4363
  CollectionsApiFp: CollectionsApiFp,
4194
4364
  Configuration: Configuration,
4195
4365
  ERC1155ItemTypeEnum: ERC1155ItemTypeEnum$1,
4366
+ ERC20ApproveMetadataTransactionTypeEnum: ERC20ApproveMetadataTransactionTypeEnum,
4196
4367
  ERC20ItemTypeEnum: ERC20ItemTypeEnum$1,
4368
+ ERC721ApproveMetadataTransactionTypeEnum: ERC721ApproveMetadataTransactionTypeEnum,
4197
4369
  ERC721ItemTypeEnum: ERC721ItemTypeEnum$1,
4198
4370
  ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
4199
4371
  FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
4200
4372
  FeeTypeEnum: FeeTypeEnum,
4201
4373
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
4202
- GetContractAbiResTransactionTypeEnum: GetContractAbiResTransactionTypeEnum,
4203
4374
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
4375
+ ListListingsBuyItemTypeEnum: ListListingsBuyItemTypeEnum,
4204
4376
  ListListingsSortByEnum: ListListingsSortByEnum,
4205
4377
  ListListingsSortDirectionEnum: ListListingsSortDirectionEnum,
4206
4378
  ListTradesSortByEnum: ListTradesSortByEnum,
@@ -4211,6 +4383,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
4211
4383
  MetadataApiFp: MetadataApiFp,
4212
4384
  MintRequestStatus: MintRequestStatus$1,
4213
4385
  NFTContractType: NFTContractType$1,
4386
+ NFTSetApprovalForAllMetadataTransactionTypeEnum: NFTSetApprovalForAllMetadataTransactionTypeEnum,
4214
4387
  NativeItemTypeEnum: NativeItemTypeEnum$1,
4215
4388
  NftOwnersApi: NftOwnersApi,
4216
4389
  NftOwnersApiAxiosParamCreator: NftOwnersApiAxiosParamCreator,
@@ -4237,7 +4410,8 @@ var index$1 = /*#__PURE__*/Object.freeze({
4237
4410
  TokensApi: TokensApi,
4238
4411
  TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
4239
4412
  TokensApiFactory: TokensApiFactory,
4240
- TokensApiFp: TokensApiFp
4413
+ TokensApiFp: TokensApiFp,
4414
+ UnknownMetadataTransactionTypeEnum: UnknownMetadataTransactionTypeEnum
4241
4415
  });
4242
4416
 
4243
4417
  /* tslint:disable */
@@ -4580,6 +4754,7 @@ var MintRequestStatus;
4580
4754
  var NFTContractType;
4581
4755
  (function (NFTContractType) {
4582
4756
  NFTContractType["Erc721"] = "ERC721";
4757
+ NFTContractType["Erc1155"] = "ERC1155";
4583
4758
  })(NFTContractType || (NFTContractType = {}));
4584
4759
 
4585
4760
  /* tslint:disable */
@@ -4814,7 +4989,7 @@ const flattenProperties = (properties) => {
4814
4989
  };
4815
4990
 
4816
4991
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
4817
- const SDK_VERSION = '1.21.0';
4992
+ const SDK_VERSION = '1.21.1-alpha';
4818
4993
  const getReferrer = () => {
4819
4994
  if (isNode()) {
4820
4995
  return '';
@@ -5059,7 +5234,7 @@ class APIError extends Error {
5059
5234
 
5060
5235
  /* eslint-disable implicit-arrow-linebreak */
5061
5236
  const defaultHeaders = {
5062
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.0',
5237
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.1-alpha',
5063
5238
  };
5064
5239
  /**
5065
5240
  * createAPIConfiguration to create a custom Configuration