@imtbl/sdk 1.20.8-alpha → 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-b639cdfe.js → BridgeWidget-050bb010.js} +1 -1
  4. package/dist/browser/checkout/{HorizontalMenu-actual-7b55cbc5.js → HorizontalMenu-actual-254df9f7.js} +1 -1
  5. package/dist/browser/checkout/{OnRampWidget-105a2cb8.js → OnRampWidget-84f16f28.js} +1 -1
  6. package/dist/browser/checkout/{SaleWidget-21c24306.js → SaleWidget-b493918f.js} +2 -2
  7. package/dist/browser/checkout/{SpendingCapHero-bcdca60b.js → SpendingCapHero-c21b087f.js} +1 -1
  8. package/dist/browser/checkout/{SwapWidget-2696479a.js → SwapWidget-9190ea19.js} +1 -1
  9. package/dist/browser/checkout/{TopUpView-597472f7.js → TopUpView-5fed36e0.js} +1 -1
  10. package/dist/browser/checkout/{WalletWidget-7c7e881a.js → WalletWidget-ce8ba9a4.js} +1 -1
  11. package/dist/browser/checkout/{auto-track-892bccba.js → auto-track-d773ecc1.js} +1 -1
  12. package/dist/browser/checkout/{balance-2406233e.js → balance-faa2470f.js} +1 -1
  13. package/dist/browser/checkout/{index-9957d060.js → index-43c6ad17.js} +1 -1
  14. package/dist/browser/checkout/index-46c773de.js +1 -0
  15. package/dist/browser/checkout/{index-d9edec3c.js → index-4b5a276c.js} +1 -1
  16. package/dist/browser/checkout/{index-a5a408e0.js → index-70723ad3.js} +1 -1
  17. package/dist/browser/checkout/{index-0d2d3297.js → index-8d9a8e86.js} +1 -1
  18. package/dist/browser/checkout/{index-e6d17d74.js → index-a247827a.js} +3 -3
  19. package/dist/browser/checkout/{index-c9890776.js → index-a45f92e4.js} +1 -1
  20. package/dist/browser/checkout/{index-5f052ddd.js → index-a6bbe105.js} +1 -1
  21. package/dist/browser/checkout/{index.umd-dc6b2080.js → index.umd-26384df2.js} +1 -1
  22. package/dist/browser/checkout/{retry-111f2a9b.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 +298 -110
  32. package/dist/index.d.ts +83 -22
  33. package/dist/index.js +298 -110
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +467 -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-95d13e65.js +0 -1
package/dist/checkout.js CHANGED
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
139
139
  };
140
140
 
141
141
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
142
- const SDK_VERSION$1 = '1.20.8-alpha';
142
+ const SDK_VERSION$1 = '1.21.1-alpha';
143
143
  const getReferrer$1 = () => {
144
144
  if (isNode$1()) {
145
145
  return '';
@@ -17550,7 +17550,7 @@ const flattenProperties = (properties) => {
17550
17550
  };
17551
17551
 
17552
17552
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17553
- const SDK_VERSION = '1.20.8-alpha';
17553
+ const SDK_VERSION = '1.21.1-alpha';
17554
17554
  const getReferrer = () => {
17555
17555
  if (isNode()) {
17556
17556
  return '';
@@ -23642,12 +23642,13 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
23642
23642
  * @param {string} fromUpdatedAt From indexed at including given date
23643
23643
  * @param {string} [toUpdatedAt] To indexed at including given date
23644
23644
  * @param {string} [contractAddress] The contract address of the collection
23645
+ * @param {ActivityType} [activityType] The activity type
23645
23646
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
23646
23647
  * @param {number} [pageSize] Maximum number of items to return
23647
23648
  * @param {*} [options] Override http request option.
23648
23649
  * @throws {RequiredError}
23649
23650
  */
23650
- listActivityHistory: async (chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options = {}) => {
23651
+ listActivityHistory: async (chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options = {}) => {
23651
23652
  // verify required parameter 'chainName' is not null or undefined
23652
23653
  assertParamExists('listActivityHistory', 'chainName', chainName);
23653
23654
  // verify required parameter 'fromUpdatedAt' is not null or undefined
@@ -23676,6 +23677,9 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
23676
23677
  if (contractAddress !== undefined) {
23677
23678
  localVarQueryParameter['contract_address'] = contractAddress;
23678
23679
  }
23680
+ if (activityType !== undefined) {
23681
+ localVarQueryParameter['activity_type'] = activityType;
23682
+ }
23679
23683
  if (pageCursor !== undefined) {
23680
23684
  localVarQueryParameter['page_cursor'] = pageCursor;
23681
23685
  }
@@ -23736,13 +23740,14 @@ const ActivitiesApiFp = function (configuration) {
23736
23740
  * @param {string} fromUpdatedAt From indexed at including given date
23737
23741
  * @param {string} [toUpdatedAt] To indexed at including given date
23738
23742
  * @param {string} [contractAddress] The contract address of the collection
23743
+ * @param {ActivityType} [activityType] The activity type
23739
23744
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
23740
23745
  * @param {number} [pageSize] Maximum number of items to return
23741
23746
  * @param {*} [options] Override http request option.
23742
23747
  * @throws {RequiredError}
23743
23748
  */
23744
- async listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options) {
23745
- const localVarAxiosArgs = await localVarAxiosParamCreator.listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, pageCursor, pageSize, options);
23749
+ async listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options) {
23750
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listActivityHistory(chainName, fromUpdatedAt, toUpdatedAt, contractAddress, activityType, pageCursor, pageSize, options);
23746
23751
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23747
23752
  },
23748
23753
  };
@@ -23782,7 +23787,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
23782
23787
  * @throws {RequiredError}
23783
23788
  */
23784
23789
  listActivityHistory(requestParameters, options) {
23785
- return localVarFp.listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
23790
+ return localVarFp.listActivityHistory(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.toUpdatedAt, requestParameters.contractAddress, requestParameters.activityType, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
23786
23791
  },
23787
23792
  };
23788
23793
  };
@@ -23824,7 +23829,7 @@ class ActivitiesApi extends BaseAPI {
23824
23829
  * @memberof ActivitiesApi
23825
23830
  */
23826
23831
  listActivityHistory(requestParameters, options) {
23827
- 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));
23832
+ 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));
23828
23833
  }
23829
23834
  }
23830
23835
 
@@ -25034,7 +25039,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
25034
25039
  * @summary Mint NFTs
25035
25040
  * @param {string} contractAddress The address of contract
25036
25041
  * @param {string} chainName The name of chain
25037
- * @param {CreateMintRequestRequest} createMintRequestRequest the request body
25042
+ * @param {CreateMintRequestRequest} createMintRequestRequest Create Mint Request Body
25038
25043
  * @param {*} [options] Override http request option.
25039
25044
  * @throws {RequiredError}
25040
25045
  */
@@ -25074,7 +25079,7 @@ const NftsApiAxiosParamCreator = function (configuration) {
25074
25079
  * @summary Get mint request by reference ID
25075
25080
  * @param {string} contractAddress The address of contract
25076
25081
  * @param {string} chainName The name of chain
25077
- * @param {string} referenceId The ID of the mint request
25082
+ * @param {string} referenceId The id of the mint request
25078
25083
  * @param {*} [options] Override http request option.
25079
25084
  * @throws {RequiredError}
25080
25085
  */
@@ -25345,7 +25350,7 @@ const NftsApiFp = function (configuration) {
25345
25350
  * @summary Mint NFTs
25346
25351
  * @param {string} contractAddress The address of contract
25347
25352
  * @param {string} chainName The name of chain
25348
- * @param {CreateMintRequestRequest} createMintRequestRequest the request body
25353
+ * @param {CreateMintRequestRequest} createMintRequestRequest Create Mint Request Body
25349
25354
  * @param {*} [options] Override http request option.
25350
25355
  * @throws {RequiredError}
25351
25356
  */
@@ -25358,7 +25363,7 @@ const NftsApiFp = function (configuration) {
25358
25363
  * @summary Get mint request by reference ID
25359
25364
  * @param {string} contractAddress The address of contract
25360
25365
  * @param {string} chainName The name of chain
25361
- * @param {string} referenceId The ID of the mint request
25366
+ * @param {string} referenceId The id of the mint request
25362
25367
  * @param {*} [options] Override http request option.
25363
25368
  * @throws {RequiredError}
25364
25369
  */
@@ -25799,6 +25804,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
25799
25804
  * @param {string} chainName
25800
25805
  * @param {OrderStatusName} [status] Order status to filter by
25801
25806
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
25807
+ * @param {ListListingsBuyItemTypeEnum} [buyItemType] Buy item type to filter by
25802
25808
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
25803
25809
  * @param {string} [accountAddress] The account address of the user who created the listing
25804
25810
  * @param {string} [sellItemMetadataId] The metadata_id of the sell item
@@ -25811,7 +25817,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
25811
25817
  * @param {*} [options] Override http request option.
25812
25818
  * @throws {RequiredError}
25813
25819
  */
25814
- listListings: async (chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
25820
+ listListings: async (chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options = {}) => {
25815
25821
  // verify required parameter 'chainName' is not null or undefined
25816
25822
  assertParamExists('listListings', 'chainName', chainName);
25817
25823
  const localVarPath = `/v1/chains/{chain_name}/orders/listings`
@@ -25831,6 +25837,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
25831
25837
  if (sellItemContractAddress !== undefined) {
25832
25838
  localVarQueryParameter['sell_item_contract_address'] = sellItemContractAddress;
25833
25839
  }
25840
+ if (buyItemType !== undefined) {
25841
+ localVarQueryParameter['buy_item_type'] = buyItemType;
25842
+ }
25834
25843
  if (buyItemContractAddress !== undefined) {
25835
25844
  localVarQueryParameter['buy_item_contract_address'] = buyItemContractAddress;
25836
25845
  }
@@ -25998,6 +26007,7 @@ const OrdersApiFp = function (configuration) {
25998
26007
  * @param {string} chainName
25999
26008
  * @param {OrderStatusName} [status] Order status to filter by
26000
26009
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
26010
+ * @param {ListListingsBuyItemTypeEnum} [buyItemType] Buy item type to filter by
26001
26011
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
26002
26012
  * @param {string} [accountAddress] The account address of the user who created the listing
26003
26013
  * @param {string} [sellItemMetadataId] The metadata_id of the sell item
@@ -26010,8 +26020,8 @@ const OrdersApiFp = function (configuration) {
26010
26020
  * @param {*} [options] Override http request option.
26011
26021
  * @throws {RequiredError}
26012
26022
  */
26013
- async listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
26014
- const localVarAxiosArgs = await localVarAxiosParamCreator.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options);
26023
+ async listListings(chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options) {
26024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listListings(chainName, status, sellItemContractAddress, buyItemType, buyItemContractAddress, accountAddress, sellItemMetadataId, sellItemTokenId, fromUpdatedAt, pageSize, sortBy, sortDirection, pageCursor, options);
26015
26025
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26016
26026
  },
26017
26027
  /**
@@ -26098,7 +26108,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
26098
26108
  * @throws {RequiredError}
26099
26109
  */
26100
26110
  listListings(requestParameters, options) {
26101
- 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));
26111
+ 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));
26102
26112
  },
26103
26113
  /**
26104
26114
  * List all trades
@@ -26183,7 +26193,7 @@ class OrdersApi extends BaseAPI {
26183
26193
  * @memberof OrdersApi
26184
26194
  */
26185
26195
  listListings(requestParameters, options) {
26186
- 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));
26196
+ 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));
26187
26197
  }
26188
26198
  /**
26189
26199
  * List all trades
@@ -26197,6 +26207,13 @@ class OrdersApi extends BaseAPI {
26197
26207
  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));
26198
26208
  }
26199
26209
  }
26210
+ /**
26211
+ * @export
26212
+ */
26213
+ const ListListingsBuyItemTypeEnum = {
26214
+ Native: 'NATIVE',
26215
+ Erc20: 'ERC20'
26216
+ };
26200
26217
  /**
26201
26218
  * @export
26202
26219
  */
@@ -26251,6 +26268,7 @@ const PassportApiAxiosParamCreator = function (configuration) {
26251
26268
  * @param {string} chainName
26252
26269
  * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
26253
26270
  * @param {*} [options] Override http request option.
26271
+ * @deprecated
26254
26272
  * @throws {RequiredError}
26255
26273
  */
26256
26274
  createCounterfactualAddress: async (chainName, createCounterfactualAddressRequest, options = {}) => {
@@ -26287,6 +26305,7 @@ const PassportApiAxiosParamCreator = function (configuration) {
26287
26305
  * @summary Deprecated Create a counterfactual address
26288
26306
  * @param {CreateCounterfactualAddressRequestDeprecated} createCounterfactualAddressRequestDeprecated
26289
26307
  * @param {*} [options] Override http request option.
26308
+ * @deprecated
26290
26309
  * @throws {RequiredError}
26291
26310
  */
26292
26311
  createCounterfactualAddressDeprecated: async (createCounterfactualAddressRequestDeprecated, options = {}) => {
@@ -26353,22 +26372,20 @@ const PassportApiAxiosParamCreator = function (configuration) {
26353
26372
  };
26354
26373
  },
26355
26374
  /**
26356
- * Get a contract abi by contract address and method id
26357
- * @summary Get a contract abi
26375
+ * Get all the Ethereum linked addresses for a user based on its userId
26376
+ * @summary Get Ethereum linked addresses for a user
26377
+ * @param {string} userId The user\'s userId
26358
26378
  * @param {string} chainName
26359
- * @param {string} contractAddress contract address
26360
- * @param {string} methodId method id
26361
26379
  * @param {*} [options] Override http request option.
26362
26380
  * @throws {RequiredError}
26363
26381
  */
26364
- getContractAbi: async (chainName, contractAddress, methodId, options = {}) => {
26382
+ getLinkedAddresses: async (userId, chainName, options = {}) => {
26383
+ // verify required parameter 'userId' is not null or undefined
26384
+ assertParamExists('getLinkedAddresses', 'userId', userId);
26365
26385
  // verify required parameter 'chainName' is not null or undefined
26366
- assertParamExists('getContractAbi', 'chainName', chainName);
26367
- // verify required parameter 'contractAddress' is not null or undefined
26368
- assertParamExists('getContractAbi', 'contractAddress', contractAddress);
26369
- // verify required parameter 'methodId' is not null or undefined
26370
- assertParamExists('getContractAbi', 'methodId', methodId);
26371
- const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
26386
+ assertParamExists('getLinkedAddresses', 'chainName', chainName);
26387
+ const localVarPath = `/v1/chains/{chain_name}/passport/users/{user_id}/linked-addresses`
26388
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)))
26372
26389
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
26373
26390
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26374
26391
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26382,12 +26399,6 @@ const PassportApiAxiosParamCreator = function (configuration) {
26382
26399
  // authentication BearerAuth required
26383
26400
  // http bearer authentication required
26384
26401
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
26385
- if (contractAddress !== undefined) {
26386
- localVarQueryParameter['contract_address'] = contractAddress;
26387
- }
26388
- if (methodId !== undefined) {
26389
- localVarQueryParameter['method_id'] = methodId;
26390
- }
26391
26402
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26392
26403
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26393
26404
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -26398,19 +26409,51 @@ const PassportApiAxiosParamCreator = function (configuration) {
26398
26409
  },
26399
26410
  /**
26400
26411
  * Get all the Ethereum linked addresses for a user based on its userId
26401
- * @summary Get Ethereum linked addresses for a user
26412
+ * @summary Deprecated Get Ethereum linked addresses for a user
26402
26413
  * @param {string} userId The user\'s userId
26403
- * @param {string} chainName
26404
26414
  * @param {*} [options] Override http request option.
26415
+ * @deprecated
26405
26416
  * @throws {RequiredError}
26406
26417
  */
26407
- getLinkedAddresses: async (userId, chainName, options = {}) => {
26418
+ getLinkedAddressesDeprecated: async (userId, options = {}) => {
26408
26419
  // verify required parameter 'userId' is not null or undefined
26409
- assertParamExists('getLinkedAddresses', 'userId', userId);
26420
+ assertParamExists('getLinkedAddressesDeprecated', 'userId', userId);
26421
+ const localVarPath = `/passport-mr/v1/users/{userId}/linked-addresses`
26422
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
26423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26424
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26425
+ let baseOptions;
26426
+ if (configuration) {
26427
+ baseOptions = configuration.baseOptions;
26428
+ }
26429
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
26430
+ const localVarHeaderParameter = {};
26431
+ const localVarQueryParameter = {};
26432
+ // authentication BearerAuth required
26433
+ // http bearer authentication required
26434
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
26435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26437
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26438
+ return {
26439
+ url: toPathString(localVarUrlObj),
26440
+ options: localVarRequestOptions,
26441
+ };
26442
+ },
26443
+ /**
26444
+ * Get transaction metadata for a given encoded transaction
26445
+ * @summary Get transaction metadata
26446
+ * @param {string} chainName
26447
+ * @param {GetTransactionMetadataRequest} getTransactionMetadataRequest
26448
+ * @param {*} [options] Override http request option.
26449
+ * @throws {RequiredError}
26450
+ */
26451
+ getTransactionMetadata: async (chainName, getTransactionMetadataRequest, options = {}) => {
26410
26452
  // verify required parameter 'chainName' is not null or undefined
26411
- assertParamExists('getLinkedAddresses', 'chainName', chainName);
26412
- const localVarPath = `/v1/chains/{chain_name}/passport/users/{user_id}/linked-addresses`
26413
- .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)))
26453
+ assertParamExists('getTransactionMetadata', 'chainName', chainName);
26454
+ // verify required parameter 'getTransactionMetadataRequest' is not null or undefined
26455
+ assertParamExists('getTransactionMetadata', 'getTransactionMetadataRequest', getTransactionMetadataRequest);
26456
+ const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
26414
26457
  .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
26415
26458
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26416
26459
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26418,32 +26461,47 @@ const PassportApiAxiosParamCreator = function (configuration) {
26418
26461
  if (configuration) {
26419
26462
  baseOptions = configuration.baseOptions;
26420
26463
  }
26421
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
26464
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
26422
26465
  const localVarHeaderParameter = {};
26423
26466
  const localVarQueryParameter = {};
26424
26467
  // authentication BearerAuth required
26425
26468
  // http bearer authentication required
26426
26469
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
26470
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26427
26471
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26428
26472
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26429
26473
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26474
+ localVarRequestOptions.data = serializeDataIfNeeded(getTransactionMetadataRequest, localVarRequestOptions, configuration);
26430
26475
  return {
26431
26476
  url: toPathString(localVarUrlObj),
26432
26477
  options: localVarRequestOptions,
26433
26478
  };
26434
26479
  },
26435
26480
  /**
26436
- * Get all the Ethereum linked addresses for a user based on its userId
26437
- * @summary Deprecated Get Ethereum linked addresses for a user
26438
- * @param {string} userId The user\'s userId
26481
+ * Get transaction metadata for a given encoded transaction
26482
+ * @summary Get transaction metadata
26483
+ * @param {string} chainName
26484
+ * @param {string} contractAddress The address of the contract intended for interaction with this transaction
26485
+ * @param {string} methodId The method ID of the contract intended for interaction with this transaction
26486
+ * @param {string} transactionId ID of the given transaction to be decoded
26487
+ * @param {string} transactionData Encoded transaction data
26439
26488
  * @param {*} [options] Override http request option.
26489
+ * @deprecated
26440
26490
  * @throws {RequiredError}
26441
26491
  */
26442
- getLinkedAddressesDeprecated: async (userId, options = {}) => {
26443
- // verify required parameter 'userId' is not null or undefined
26444
- assertParamExists('getLinkedAddressesDeprecated', 'userId', userId);
26445
- const localVarPath = `/passport-mr/v1/users/{userId}/linked-addresses`
26446
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
26492
+ getTransactionMetadataDeprecated: async (chainName, contractAddress, methodId, transactionId, transactionData, options = {}) => {
26493
+ // verify required parameter 'chainName' is not null or undefined
26494
+ assertParamExists('getTransactionMetadataDeprecated', 'chainName', chainName);
26495
+ // verify required parameter 'contractAddress' is not null or undefined
26496
+ assertParamExists('getTransactionMetadataDeprecated', 'contractAddress', contractAddress);
26497
+ // verify required parameter 'methodId' is not null or undefined
26498
+ assertParamExists('getTransactionMetadataDeprecated', 'methodId', methodId);
26499
+ // verify required parameter 'transactionId' is not null or undefined
26500
+ assertParamExists('getTransactionMetadataDeprecated', 'transactionId', transactionId);
26501
+ // verify required parameter 'transactionData' is not null or undefined
26502
+ assertParamExists('getTransactionMetadataDeprecated', 'transactionData', transactionData);
26503
+ const localVarPath = `/v1/chains/{chain_name}/passport/transaction-metadata`
26504
+ .replace(`{${"chain_name"}}`, encodeURIComponent(String(chainName)));
26447
26505
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26448
26506
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26449
26507
  let baseOptions;
@@ -26456,6 +26514,18 @@ const PassportApiAxiosParamCreator = function (configuration) {
26456
26514
  // authentication BearerAuth required
26457
26515
  // http bearer authentication required
26458
26516
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
26517
+ if (contractAddress !== undefined) {
26518
+ localVarQueryParameter['contract_address'] = contractAddress;
26519
+ }
26520
+ if (methodId !== undefined) {
26521
+ localVarQueryParameter['method_id'] = methodId;
26522
+ }
26523
+ if (transactionId !== undefined) {
26524
+ localVarQueryParameter['transaction_id'] = transactionId;
26525
+ }
26526
+ if (transactionData !== undefined) {
26527
+ localVarQueryParameter['transaction_data'] = transactionData;
26528
+ }
26459
26529
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26460
26530
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26461
26531
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -26479,6 +26549,7 @@ const PassportApiFp = function (configuration) {
26479
26549
  * @param {string} chainName
26480
26550
  * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
26481
26551
  * @param {*} [options] Override http request option.
26552
+ * @deprecated
26482
26553
  * @throws {RequiredError}
26483
26554
  */
26484
26555
  async createCounterfactualAddress(chainName, createCounterfactualAddressRequest, options) {
@@ -26490,6 +26561,7 @@ const PassportApiFp = function (configuration) {
26490
26561
  * @summary Deprecated Create a counterfactual address
26491
26562
  * @param {CreateCounterfactualAddressRequestDeprecated} createCounterfactualAddressRequestDeprecated
26492
26563
  * @param {*} [options] Override http request option.
26564
+ * @deprecated
26493
26565
  * @throws {RequiredError}
26494
26566
  */
26495
26567
  async createCounterfactualAddressDeprecated(createCounterfactualAddressRequestDeprecated, options) {
@@ -26508,19 +26580,6 @@ const PassportApiFp = function (configuration) {
26508
26580
  const localVarAxiosArgs = await localVarAxiosParamCreator.createCounterfactualAddressV2(chainName, createCounterfactualAddressRequest, options);
26509
26581
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26510
26582
  },
26511
- /**
26512
- * Get a contract abi by contract address and method id
26513
- * @summary Get a contract abi
26514
- * @param {string} chainName
26515
- * @param {string} contractAddress contract address
26516
- * @param {string} methodId method id
26517
- * @param {*} [options] Override http request option.
26518
- * @throws {RequiredError}
26519
- */
26520
- async getContractAbi(chainName, contractAddress, methodId, options) {
26521
- const localVarAxiosArgs = await localVarAxiosParamCreator.getContractAbi(chainName, contractAddress, methodId, options);
26522
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26523
- },
26524
26583
  /**
26525
26584
  * Get all the Ethereum linked addresses for a user based on its userId
26526
26585
  * @summary Get Ethereum linked addresses for a user
@@ -26538,12 +26597,41 @@ const PassportApiFp = function (configuration) {
26538
26597
  * @summary Deprecated Get Ethereum linked addresses for a user
26539
26598
  * @param {string} userId The user\'s userId
26540
26599
  * @param {*} [options] Override http request option.
26600
+ * @deprecated
26541
26601
  * @throws {RequiredError}
26542
26602
  */
26543
26603
  async getLinkedAddressesDeprecated(userId, options) {
26544
26604
  const localVarAxiosArgs = await localVarAxiosParamCreator.getLinkedAddressesDeprecated(userId, options);
26545
26605
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26546
26606
  },
26607
+ /**
26608
+ * Get transaction metadata for a given encoded transaction
26609
+ * @summary Get transaction metadata
26610
+ * @param {string} chainName
26611
+ * @param {GetTransactionMetadataRequest} getTransactionMetadataRequest
26612
+ * @param {*} [options] Override http request option.
26613
+ * @throws {RequiredError}
26614
+ */
26615
+ async getTransactionMetadata(chainName, getTransactionMetadataRequest, options) {
26616
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionMetadata(chainName, getTransactionMetadataRequest, options);
26617
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26618
+ },
26619
+ /**
26620
+ * Get transaction metadata for a given encoded transaction
26621
+ * @summary Get transaction metadata
26622
+ * @param {string} chainName
26623
+ * @param {string} contractAddress The address of the contract intended for interaction with this transaction
26624
+ * @param {string} methodId The method ID of the contract intended for interaction with this transaction
26625
+ * @param {string} transactionId ID of the given transaction to be decoded
26626
+ * @param {string} transactionData Encoded transaction data
26627
+ * @param {*} [options] Override http request option.
26628
+ * @deprecated
26629
+ * @throws {RequiredError}
26630
+ */
26631
+ async getTransactionMetadataDeprecated(chainName, contractAddress, methodId, transactionId, transactionData, options) {
26632
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionMetadataDeprecated(chainName, contractAddress, methodId, transactionId, transactionData, options);
26633
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26634
+ },
26547
26635
  };
26548
26636
  };
26549
26637
  /**
@@ -26558,6 +26646,7 @@ const PassportApiFactory = function (configuration, basePath, axios) {
26558
26646
  * @summary Create a counterfactual address
26559
26647
  * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
26560
26648
  * @param {*} [options] Override http request option.
26649
+ * @deprecated
26561
26650
  * @throws {RequiredError}
26562
26651
  */
26563
26652
  createCounterfactualAddress(requestParameters, options) {
@@ -26568,6 +26657,7 @@ const PassportApiFactory = function (configuration, basePath, axios) {
26568
26657
  * @summary Deprecated Create a counterfactual address
26569
26658
  * @param {PassportApiCreateCounterfactualAddressDeprecatedRequest} requestParameters Request parameters.
26570
26659
  * @param {*} [options] Override http request option.
26660
+ * @deprecated
26571
26661
  * @throws {RequiredError}
26572
26662
  */
26573
26663
  createCounterfactualAddressDeprecated(requestParameters, options) {
@@ -26583,16 +26673,6 @@ const PassportApiFactory = function (configuration, basePath, axios) {
26583
26673
  createCounterfactualAddressV2(requestParameters, options) {
26584
26674
  return localVarFp.createCounterfactualAddressV2(requestParameters.chainName, requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
26585
26675
  },
26586
- /**
26587
- * Get a contract abi by contract address and method id
26588
- * @summary Get a contract abi
26589
- * @param {PassportApiGetContractAbiRequest} requestParameters Request parameters.
26590
- * @param {*} [options] Override http request option.
26591
- * @throws {RequiredError}
26592
- */
26593
- getContractAbi(requestParameters, options) {
26594
- return localVarFp.getContractAbi(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, options).then((request) => request(axios, basePath));
26595
- },
26596
26676
  /**
26597
26677
  * Get all the Ethereum linked addresses for a user based on its userId
26598
26678
  * @summary Get Ethereum linked addresses for a user
@@ -26608,11 +26688,33 @@ const PassportApiFactory = function (configuration, basePath, axios) {
26608
26688
  * @summary Deprecated Get Ethereum linked addresses for a user
26609
26689
  * @param {PassportApiGetLinkedAddressesDeprecatedRequest} requestParameters Request parameters.
26610
26690
  * @param {*} [options] Override http request option.
26691
+ * @deprecated
26611
26692
  * @throws {RequiredError}
26612
26693
  */
26613
26694
  getLinkedAddressesDeprecated(requestParameters, options) {
26614
26695
  return localVarFp.getLinkedAddressesDeprecated(requestParameters.userId, options).then((request) => request(axios, basePath));
26615
26696
  },
26697
+ /**
26698
+ * Get transaction metadata for a given encoded transaction
26699
+ * @summary Get transaction metadata
26700
+ * @param {PassportApiGetTransactionMetadataRequest} requestParameters Request parameters.
26701
+ * @param {*} [options] Override http request option.
26702
+ * @throws {RequiredError}
26703
+ */
26704
+ getTransactionMetadata(requestParameters, options) {
26705
+ return localVarFp.getTransactionMetadata(requestParameters.chainName, requestParameters.getTransactionMetadataRequest, options).then((request) => request(axios, basePath));
26706
+ },
26707
+ /**
26708
+ * Get transaction metadata for a given encoded transaction
26709
+ * @summary Get transaction metadata
26710
+ * @param {PassportApiGetTransactionMetadataDeprecatedRequest} requestParameters Request parameters.
26711
+ * @param {*} [options] Override http request option.
26712
+ * @deprecated
26713
+ * @throws {RequiredError}
26714
+ */
26715
+ getTransactionMetadataDeprecated(requestParameters, options) {
26716
+ return localVarFp.getTransactionMetadataDeprecated(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, requestParameters.transactionId, requestParameters.transactionData, options).then((request) => request(axios, basePath));
26717
+ },
26616
26718
  };
26617
26719
  };
26618
26720
  /**
@@ -26627,6 +26729,7 @@ class PassportApi extends BaseAPI {
26627
26729
  * @summary Create a counterfactual address
26628
26730
  * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
26629
26731
  * @param {*} [options] Override http request option.
26732
+ * @deprecated
26630
26733
  * @throws {RequiredError}
26631
26734
  * @memberof PassportApi
26632
26735
  */
@@ -26638,6 +26741,7 @@ class PassportApi extends BaseAPI {
26638
26741
  * @summary Deprecated Create a counterfactual address
26639
26742
  * @param {PassportApiCreateCounterfactualAddressDeprecatedRequest} requestParameters Request parameters.
26640
26743
  * @param {*} [options] Override http request option.
26744
+ * @deprecated
26641
26745
  * @throws {RequiredError}
26642
26746
  * @memberof PassportApi
26643
26747
  */
@@ -26655,17 +26759,6 @@ class PassportApi extends BaseAPI {
26655
26759
  createCounterfactualAddressV2(requestParameters, options) {
26656
26760
  return PassportApiFp(this.configuration).createCounterfactualAddressV2(requestParameters.chainName, requestParameters.createCounterfactualAddressRequest, options).then((request) => request(this.axios, this.basePath));
26657
26761
  }
26658
- /**
26659
- * Get a contract abi by contract address and method id
26660
- * @summary Get a contract abi
26661
- * @param {PassportApiGetContractAbiRequest} requestParameters Request parameters.
26662
- * @param {*} [options] Override http request option.
26663
- * @throws {RequiredError}
26664
- * @memberof PassportApi
26665
- */
26666
- getContractAbi(requestParameters, options) {
26667
- return PassportApiFp(this.configuration).getContractAbi(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, options).then((request) => request(this.axios, this.basePath));
26668
- }
26669
26762
  /**
26670
26763
  * Get all the Ethereum linked addresses for a user based on its userId
26671
26764
  * @summary Get Ethereum linked addresses for a user
@@ -26682,12 +26775,36 @@ class PassportApi extends BaseAPI {
26682
26775
  * @summary Deprecated Get Ethereum linked addresses for a user
26683
26776
  * @param {PassportApiGetLinkedAddressesDeprecatedRequest} requestParameters Request parameters.
26684
26777
  * @param {*} [options] Override http request option.
26778
+ * @deprecated
26685
26779
  * @throws {RequiredError}
26686
26780
  * @memberof PassportApi
26687
26781
  */
26688
26782
  getLinkedAddressesDeprecated(requestParameters, options) {
26689
26783
  return PassportApiFp(this.configuration).getLinkedAddressesDeprecated(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
26690
26784
  }
26785
+ /**
26786
+ * Get transaction metadata for a given encoded transaction
26787
+ * @summary Get transaction metadata
26788
+ * @param {PassportApiGetTransactionMetadataRequest} requestParameters Request parameters.
26789
+ * @param {*} [options] Override http request option.
26790
+ * @throws {RequiredError}
26791
+ * @memberof PassportApi
26792
+ */
26793
+ getTransactionMetadata(requestParameters, options) {
26794
+ return PassportApiFp(this.configuration).getTransactionMetadata(requestParameters.chainName, requestParameters.getTransactionMetadataRequest, options).then((request) => request(this.axios, this.basePath));
26795
+ }
26796
+ /**
26797
+ * Get transaction metadata for a given encoded transaction
26798
+ * @summary Get transaction metadata
26799
+ * @param {PassportApiGetTransactionMetadataDeprecatedRequest} requestParameters Request parameters.
26800
+ * @param {*} [options] Override http request option.
26801
+ * @deprecated
26802
+ * @throws {RequiredError}
26803
+ * @memberof PassportApi
26804
+ */
26805
+ getTransactionMetadataDeprecated(requestParameters, options) {
26806
+ return PassportApiFp(this.configuration).getTransactionMetadataDeprecated(requestParameters.chainName, requestParameters.contractAddress, requestParameters.methodId, requestParameters.transactionId, requestParameters.transactionData, options).then((request) => request(this.axios, this.basePath));
26807
+ }
26691
26808
  }
26692
26809
 
26693
26810
  /* tslint:disable */
@@ -27194,6 +27311,23 @@ const ERC1155ItemTypeEnum$1 = {
27194
27311
  Erc1155: 'ERC1155'
27195
27312
  };
27196
27313
 
27314
+ /* tslint:disable */
27315
+ /* eslint-disable */
27316
+ /**
27317
+ * Immutable zkEVM API
27318
+ * Immutable Multi Rollup API
27319
+ *
27320
+ * The version of the OpenAPI document: 1.0.0
27321
+ * Contact: support@immutable.com
27322
+ *
27323
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27324
+ * https://openapi-generator.tech
27325
+ * Do not edit the class manually.
27326
+ */
27327
+ const ERC20ApproveMetadataTransactionTypeEnum = {
27328
+ Erc20Approve: 'ERC20_APPROVE'
27329
+ };
27330
+
27197
27331
  /* tslint:disable */
27198
27332
  /* eslint-disable */
27199
27333
  /**
@@ -27224,8 +27358,8 @@ const ERC20ItemTypeEnum$1 = {
27224
27358
  * https://openapi-generator.tech
27225
27359
  * Do not edit the class manually.
27226
27360
  */
27227
- const ERC721ItemTypeEnum$1 = {
27228
- Erc721: 'ERC721'
27361
+ const ERC721ApproveMetadataTransactionTypeEnum = {
27362
+ Erc721Approve: 'ERC721_APPROVE'
27229
27363
  };
27230
27364
 
27231
27365
  /* tslint:disable */
@@ -27241,8 +27375,8 @@ const ERC721ItemTypeEnum$1 = {
27241
27375
  * https://openapi-generator.tech
27242
27376
  * Do not edit the class manually.
27243
27377
  */
27244
- const ExpiredOrderStatusNameEnum = {
27245
- Expired: 'EXPIRED'
27378
+ const ERC721ItemTypeEnum$1 = {
27379
+ Erc721: 'ERC721'
27246
27380
  };
27247
27381
 
27248
27382
  /* tslint:disable */
@@ -27258,8 +27392,8 @@ const ExpiredOrderStatusNameEnum = {
27258
27392
  * https://openapi-generator.tech
27259
27393
  * Do not edit the class manually.
27260
27394
  */
27261
- const FailedOrderCancellationReasonCodeEnum = {
27262
- Filled: 'FILLED'
27395
+ const ExpiredOrderStatusNameEnum = {
27396
+ Expired: 'EXPIRED'
27263
27397
  };
27264
27398
 
27265
27399
  /* tslint:disable */
@@ -27275,11 +27409,8 @@ const FailedOrderCancellationReasonCodeEnum = {
27275
27409
  * https://openapi-generator.tech
27276
27410
  * Do not edit the class manually.
27277
27411
  */
27278
- const FeeTypeEnum = {
27279
- Royalty: 'ROYALTY',
27280
- MakerEcosystem: 'MAKER_ECOSYSTEM',
27281
- TakerEcosystem: 'TAKER_ECOSYSTEM',
27282
- Protocol: 'PROTOCOL'
27412
+ const FailedOrderCancellationReasonCodeEnum = {
27413
+ Filled: 'FILLED'
27283
27414
  };
27284
27415
 
27285
27416
  /* tslint:disable */
@@ -27295,8 +27426,11 @@ const FeeTypeEnum = {
27295
27426
  * https://openapi-generator.tech
27296
27427
  * Do not edit the class manually.
27297
27428
  */
27298
- const FilledOrderStatusNameEnum = {
27299
- Filled: 'FILLED'
27429
+ const FeeTypeEnum = {
27430
+ Royalty: 'ROYALTY',
27431
+ MakerEcosystem: 'MAKER_ECOSYSTEM',
27432
+ TakerEcosystem: 'TAKER_ECOSYSTEM',
27433
+ Protocol: 'PROTOCOL'
27300
27434
  };
27301
27435
 
27302
27436
  /* tslint:disable */
@@ -27312,8 +27446,8 @@ const FilledOrderStatusNameEnum = {
27312
27446
  * https://openapi-generator.tech
27313
27447
  * Do not edit the class manually.
27314
27448
  */
27315
- const GetContractAbiResTransactionTypeEnum = {
27316
- Erc20Approve: 'ERC20_APPROVE'
27449
+ const FilledOrderStatusNameEnum = {
27450
+ Filled: 'FILLED'
27317
27451
  };
27318
27452
 
27319
27453
  /* tslint:disable */
@@ -27376,7 +27510,26 @@ const MintRequestStatus$1 = {
27376
27510
  * @enum {string}
27377
27511
  */
27378
27512
  const NFTContractType$1 = {
27379
- Erc721: 'ERC721'
27513
+ Erc721: 'ERC721',
27514
+ Erc1155: 'ERC1155'
27515
+ };
27516
+
27517
+ /* tslint:disable */
27518
+ /* eslint-disable */
27519
+ /**
27520
+ * Immutable zkEVM API
27521
+ * Immutable Multi Rollup API
27522
+ *
27523
+ * The version of the OpenAPI document: 1.0.0
27524
+ * Contact: support@immutable.com
27525
+ *
27526
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27527
+ * https://openapi-generator.tech
27528
+ * Do not edit the class manually.
27529
+ */
27530
+ const NFTSetApprovalForAllMetadataTransactionTypeEnum = {
27531
+ Erc721SetApprovalForAll: 'ERC721_SET_APPROVAL_FOR_ALL',
27532
+ Erc1155SetApprovalForAll: 'ERC1155_SET_APPROVAL_FOR_ALL'
27380
27533
  };
27381
27534
 
27382
27535
  /* tslint:disable */
@@ -27516,6 +27669,23 @@ const TokenContractType$1 = {
27516
27669
  Erc20: 'ERC20'
27517
27670
  };
27518
27671
 
27672
+ /* tslint:disable */
27673
+ /* eslint-disable */
27674
+ /**
27675
+ * Immutable zkEVM API
27676
+ * Immutable Multi Rollup API
27677
+ *
27678
+ * The version of the OpenAPI document: 1.0.0
27679
+ * Contact: support@immutable.com
27680
+ *
27681
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27682
+ * https://openapi-generator.tech
27683
+ * Do not edit the class manually.
27684
+ */
27685
+ const UnknownMetadataTransactionTypeEnum = {
27686
+ Unknown: 'UNKNOWN'
27687
+ };
27688
+
27519
27689
  /* tslint:disable */
27520
27690
  /* eslint-disable */
27521
27691
  /**
@@ -27558,14 +27728,16 @@ var index$1 = /*#__PURE__*/Object.freeze({
27558
27728
  CollectionsApiFp: CollectionsApiFp,
27559
27729
  Configuration: Configuration,
27560
27730
  ERC1155ItemTypeEnum: ERC1155ItemTypeEnum$1,
27731
+ ERC20ApproveMetadataTransactionTypeEnum: ERC20ApproveMetadataTransactionTypeEnum,
27561
27732
  ERC20ItemTypeEnum: ERC20ItemTypeEnum$1,
27733
+ ERC721ApproveMetadataTransactionTypeEnum: ERC721ApproveMetadataTransactionTypeEnum,
27562
27734
  ERC721ItemTypeEnum: ERC721ItemTypeEnum$1,
27563
27735
  ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
27564
27736
  FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
27565
27737
  FeeTypeEnum: FeeTypeEnum,
27566
27738
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
27567
- GetContractAbiResTransactionTypeEnum: GetContractAbiResTransactionTypeEnum,
27568
27739
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
27740
+ ListListingsBuyItemTypeEnum: ListListingsBuyItemTypeEnum,
27569
27741
  ListListingsSortByEnum: ListListingsSortByEnum,
27570
27742
  ListListingsSortDirectionEnum: ListListingsSortDirectionEnum,
27571
27743
  ListTradesSortByEnum: ListTradesSortByEnum,
@@ -27576,6 +27748,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
27576
27748
  MetadataApiFp: MetadataApiFp,
27577
27749
  MintRequestStatus: MintRequestStatus$1,
27578
27750
  NFTContractType: NFTContractType$1,
27751
+ NFTSetApprovalForAllMetadataTransactionTypeEnum: NFTSetApprovalForAllMetadataTransactionTypeEnum,
27579
27752
  NativeItemTypeEnum: NativeItemTypeEnum$1,
27580
27753
  NftOwnersApi: NftOwnersApi,
27581
27754
  NftOwnersApiAxiosParamCreator: NftOwnersApiAxiosParamCreator,
@@ -27602,7 +27775,8 @@ var index$1 = /*#__PURE__*/Object.freeze({
27602
27775
  TokensApi: TokensApi,
27603
27776
  TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
27604
27777
  TokensApiFactory: TokensApiFactory,
27605
- TokensApiFp: TokensApiFp
27778
+ TokensApiFp: TokensApiFp,
27779
+ UnknownMetadataTransactionTypeEnum: UnknownMetadataTransactionTypeEnum
27606
27780
  });
27607
27781
 
27608
27782
  /* tslint:disable */
@@ -27945,6 +28119,7 @@ var MintRequestStatus;
27945
28119
  var NFTContractType;
27946
28120
  (function (NFTContractType) {
27947
28121
  NFTContractType["Erc721"] = "ERC721";
28122
+ NFTContractType["Erc1155"] = "ERC1155";
27948
28123
  })(NFTContractType || (NFTContractType = {}));
27949
28124
 
27950
28125
  /* tslint:disable */
@@ -28036,7 +28211,7 @@ class APIError extends Error {
28036
28211
 
28037
28212
  /* eslint-disable implicit-arrow-linebreak */
28038
28213
  const defaultHeaders = {
28039
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.20.8-alpha',
28214
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.1-alpha',
28040
28215
  };
28041
28216
  /**
28042
28217
  * createAPIConfiguration to create a custom Configuration
@@ -29467,7 +29642,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
29467
29642
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
29468
29643
  };
29469
29644
 
29470
- const SDK_VERSION_MARKER = '1.20.8-alpha';
29645
+ const SDK_VERSION_MARKER = '1.21.1-alpha';
29471
29646
  // This SDK version is replaced by the `yarn build` command ran on the root level
29472
29647
  const globalPackageVersion = () => SDK_VERSION_MARKER;
29473
29648