@imtbl/sdk 0.27.0 → 0.27.2-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -146,8 +146,6 @@ let Configuration$1 = class Configuration {
146
146
  * https://openapi-generator.tech
147
147
  * Do not edit the class manually.
148
148
  */
149
- // Some imports not used depending on template conditions
150
- // @ts-ignore
151
149
  const BASE_PATH$1 = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
152
150
  /**
153
151
  *
@@ -175,10 +173,10 @@ let BaseAPI$1 = class BaseAPI {
175
173
  */
176
174
  let RequiredError$1 = class RequiredError extends Error {
177
175
  field;
178
- name = "RequiredError";
179
176
  constructor(field, msg) {
180
177
  super(msg);
181
178
  this.field = field;
179
+ this.name = "RequiredError";
182
180
  }
183
181
  };
184
182
 
@@ -235,6 +233,8 @@ const setBearerAuthToObject$1 = async function (object, configuration) {
235
233
  }
236
234
  };
237
235
  function setFlattenedQueryParams$1(urlSearchParams, parameter, key = "") {
236
+ if (parameter == null)
237
+ return;
238
238
  if (typeof parameter === "object") {
239
239
  if (Array.isArray(parameter)) {
240
240
  parameter.forEach(item => setFlattenedQueryParams$1(urlSearchParams, item, key));
@@ -287,7 +287,7 @@ const toPathString$1 = function (url) {
287
287
  */
288
288
  const createRequestFunction$1 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
289
289
  return (axios = globalAxios, basePath = BASE_PATH) => {
290
- const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
290
+ const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url };
291
291
  return axios.request(axiosRequestArgs);
292
292
  };
293
293
  };
@@ -466,32 +466,22 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
466
466
  /**
467
467
  * Get a single activity by ID
468
468
  * @summary Get a single activity by ID
469
- * @param {string} chainName The name of chain
470
- * @param {string} activityId The id of activity
469
+ * @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
471
470
  * @param {*} [options] Override http request option.
472
471
  * @throws {RequiredError}
473
472
  */
474
- getActivity(chainName, activityId, options) {
475
- return localVarFp.getActivity(chainName, activityId, options).then((request) => request(axios, basePath));
473
+ getActivity(requestParameters, options) {
474
+ return localVarFp.getActivity(requestParameters.chainName, requestParameters.activityId, options).then((request) => request(axios, basePath));
476
475
  },
477
476
  /**
478
477
  * List all activities
479
478
  * @summary List all activities
480
- * @param {string} chainName The name of chain
481
- * @param {string} [contractAddress] The contract address of NFT or ERC20 Token
482
- * @param {string} [tokenId] An `uint256` token id as string
483
- * @param {string} [accountAddress] The account address activity contains
484
- * @param {ActivityType} [activityType] The activity type
485
- * @param {string} [fromIndexedAt] From indexed at including given date
486
- * @param {string} [toIndexedAt] To indexed at including given date
487
- * @param {string} [transactionHash] The transaction hash of activity
488
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
489
- * @param {number} [pageSize] Maximum number of items to return
479
+ * @param {ActivitiesApiListActivitiesRequest} requestParameters Request parameters.
490
480
  * @param {*} [options] Override http request option.
491
481
  * @throws {RequiredError}
492
482
  */
493
- listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options) {
494
- return localVarFp.listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options).then((request) => request(axios, basePath));
483
+ listActivities(requestParameters, options) {
484
+ return localVarFp.listActivities(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.accountAddress, requestParameters.activityType, requestParameters.fromIndexedAt, requestParameters.toIndexedAt, requestParameters.transactionHash, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
495
485
  },
496
486
  };
497
487
  };
@@ -611,13 +601,12 @@ const ChainsApiFactory = function (configuration, basePath, axios) {
611
601
  /**
612
602
  * List supported chains
613
603
  * @summary List supported chains
614
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
615
- * @param {number} [pageSize] Maximum number of items to return
604
+ * @param {ChainsApiListChainsRequest} requestParameters Request parameters.
616
605
  * @param {*} [options] Override http request option.
617
606
  * @throws {RequiredError}
618
607
  */
619
- listChains(pageCursor, pageSize, options) {
620
- return localVarFp.listChains(pageCursor, pageSize, options).then((request) => request(axios, basePath));
608
+ listChains(requestParameters = {}, options) {
609
+ return localVarFp.listChains(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
621
610
  },
622
611
  };
623
612
  };
@@ -697,13 +686,14 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
697
686
  * List all collections
698
687
  * @summary List all collections
699
688
  * @param {string} chainName The name of chain
689
+ * @param {Array<string>} [contractAddress] List of contract addresses to filter by
700
690
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
701
691
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
702
692
  * @param {number} [pageSize] Maximum number of items to return
703
693
  * @param {*} [options] Override http request option.
704
694
  * @throws {RequiredError}
705
695
  */
706
- listCollections: async (chainName, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
696
+ listCollections: async (chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
707
697
  // verify required parameter 'chainName' is not null or undefined
708
698
  assertParamExists$1('listCollections', 'chainName', chainName);
709
699
  const localVarPath = `/v1/chains/{chain_name}/collections`
@@ -717,6 +707,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
717
707
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
718
708
  const localVarHeaderParameter = {};
719
709
  const localVarQueryParameter = {};
710
+ if (contractAddress) {
711
+ localVarQueryParameter['contract_address'] = contractAddress;
712
+ }
720
713
  if (fromUpdatedAt !== undefined) {
721
714
  localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
722
715
  fromUpdatedAt.toISOString() :
@@ -842,14 +835,15 @@ const CollectionsApiFp = function (configuration) {
842
835
  * List all collections
843
836
  * @summary List all collections
844
837
  * @param {string} chainName The name of chain
838
+ * @param {Array<string>} [contractAddress] List of contract addresses to filter by
845
839
  * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
846
840
  * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
847
841
  * @param {number} [pageSize] Maximum number of items to return
848
842
  * @param {*} [options] Override http request option.
849
843
  * @throws {RequiredError}
850
844
  */
851
- async listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
852
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options);
845
+ async listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
846
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options);
853
847
  return createRequestFunction$1(localVarAxiosArgs, globalAxios$1, BASE_PATH$1, configuration);
854
848
  },
855
849
  /**
@@ -891,51 +885,42 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
891
885
  /**
892
886
  * Get collection by contract address
893
887
  * @summary Get collection by contract address
894
- * @param {string} contractAddress The address contract
895
- * @param {string} chainName The name of chain
888
+ * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
896
889
  * @param {*} [options] Override http request option.
897
890
  * @throws {RequiredError}
898
891
  */
899
- getCollection(contractAddress, chainName, options) {
900
- return localVarFp.getCollection(contractAddress, chainName, options).then((request) => request(axios, basePath));
892
+ getCollection(requestParameters, options) {
893
+ return localVarFp.getCollection(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
901
894
  },
902
895
  /**
903
896
  * List all collections
904
897
  * @summary List all collections
905
- * @param {string} chainName The name of chain
906
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
907
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
908
- * @param {number} [pageSize] Maximum number of items to return
898
+ * @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
909
899
  * @param {*} [options] Override http request option.
910
900
  * @throws {RequiredError}
911
901
  */
912
- listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
913
- return localVarFp.listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
902
+ listCollections(requestParameters, options) {
903
+ return localVarFp.listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
914
904
  },
915
905
  /**
916
906
  * List collections by NFT owner account address
917
907
  * @summary List collections by NFT owner
918
- * @param {string} accountAddress Account address
919
- * @param {string} chainName The name of chain
920
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
921
- * @param {number} [pageSize] Maximum number of items to return
908
+ * @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
922
909
  * @param {*} [options] Override http request option.
923
910
  * @throws {RequiredError}
924
911
  */
925
- listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options) {
926
- return localVarFp.listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
912
+ listCollectionsByNFTOwner(requestParameters, options) {
913
+ return localVarFp.listCollectionsByNFTOwner(requestParameters.accountAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
927
914
  },
928
915
  /**
929
916
  * Refresh collection metadata
930
917
  * @summary Refresh collection metadata
931
- * @param {string} contractAddress The address contract
932
- * @param {string} chainName The name of chain
933
- * @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
918
+ * @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
934
919
  * @param {*} [options] Override http request option.
935
920
  * @throws {RequiredError}
936
921
  */
937
- refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options) {
938
- return localVarFp.refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
922
+ refreshCollectionMetadata(requestParameters, options) {
923
+ return localVarFp.refreshCollectionMetadata(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
939
924
  },
940
925
  };
941
926
  };
@@ -966,7 +951,7 @@ class CollectionsApi extends BaseAPI$1 {
966
951
  * @memberof CollectionsApi
967
952
  */
968
953
  listCollections(requestParameters, options) {
969
- return CollectionsApiFp(this.configuration).listCollections(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
954
+ return CollectionsApiFp(this.configuration).listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
970
955
  }
971
956
  /**
972
957
  * List collections by NFT owner account address
@@ -1250,52 +1235,42 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
1250
1235
  /**
1251
1236
  * Get metadata by ID
1252
1237
  * @summary Get metadata by ID
1253
- * @param {string} chainName The name of chain
1254
- * @param {string} contractAddress The address of metadata contract
1255
- * @param {string} metadataId The id of the metadata
1238
+ * @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
1256
1239
  * @param {*} [options] Override http request option.
1257
1240
  * @throws {RequiredError}
1258
1241
  */
1259
- getMetadata(chainName, contractAddress, metadataId, options) {
1260
- return localVarFp.getMetadata(chainName, contractAddress, metadataId, options).then((request) => request(axios, basePath));
1242
+ getMetadata(requestParameters, options) {
1243
+ return localVarFp.getMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.metadataId, options).then((request) => request(axios, basePath));
1261
1244
  },
1262
1245
  /**
1263
1246
  * Get a list of metadata by from the a given contract
1264
1247
  * @summary Get a list of metadata by from the a given contract
1265
- * @param {string} chainName The name of chain
1266
- * @param {string} contractAddress The address of metadata contract
1267
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
1268
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1269
- * @param {number} [pageSize] Maximum number of items to return
1248
+ * @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
1270
1249
  * @param {*} [options] Override http request option.
1271
1250
  * @throws {RequiredError}
1272
1251
  */
1273
- listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
1274
- return localVarFp.listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1252
+ listMetadata(requestParameters, options) {
1253
+ return localVarFp.listMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1275
1254
  },
1276
1255
  /**
1277
1256
  * Refresh stacked metadata
1278
1257
  * @summary Refresh stacked metadata
1279
- * @param {string} chainName The name of chain
1280
- * @param {string} contractAddress Contract address
1281
- * @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
1258
+ * @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
1282
1259
  * @param {*} [options] Override http request option.
1283
1260
  * @throws {RequiredError}
1284
1261
  */
1285
- refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options) {
1286
- return localVarFp.refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
1262
+ refreshMetadataByID(requestParameters, options) {
1263
+ return localVarFp.refreshMetadataByID(requestParameters.chainName, requestParameters.contractAddress, requestParameters.refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
1287
1264
  },
1288
1265
  /**
1289
1266
  * Refresh NFT metadata
1290
1267
  * @summary Refresh NFT metadata
1291
- * @param {string} contractAddress The address of contract
1292
- * @param {string} chainName The name of chain
1293
- * @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
1268
+ * @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
1294
1269
  * @param {*} [options] Override http request option.
1295
1270
  * @throws {RequiredError}
1296
1271
  */
1297
- refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options) {
1298
- return localVarFp.refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
1272
+ refreshNFTMetadataByTokenID(requestParameters, options) {
1273
+ return localVarFp.refreshNFTMetadataByTokenID(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
1299
1274
  },
1300
1275
  };
1301
1276
  };
@@ -1514,30 +1489,22 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
1514
1489
  /**
1515
1490
  * List NFT owners by token ID
1516
1491
  * @summary List NFT owners by token ID
1517
- * @param {string} contractAddress The address of contract
1518
- * @param {string} tokenId An &#x60;uint256&#x60; token id as string
1519
- * @param {string} chainName The name of chain
1520
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1521
- * @param {number} [pageSize] Maximum number of items to return
1492
+ * @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
1522
1493
  * @param {*} [options] Override http request option.
1523
1494
  * @throws {RequiredError}
1524
1495
  */
1525
- listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options) {
1526
- return localVarFp.listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1496
+ listNFTOwners(requestParameters, options) {
1497
+ return localVarFp.listNFTOwners(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1527
1498
  },
1528
1499
  /**
1529
1500
  * List owners by contract address
1530
1501
  * @summary List owners by contract address
1531
- * @param {string} contractAddress The address of contract
1532
- * @param {string} chainName The name of chain
1533
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
1534
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1535
- * @param {number} [pageSize] Maximum number of items to return
1502
+ * @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
1536
1503
  * @param {*} [options] Override http request option.
1537
1504
  * @throws {RequiredError}
1538
1505
  */
1539
- listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1540
- return localVarFp.listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1506
+ listOwnersByContractAddress(requestParameters, options) {
1507
+ return localVarFp.listOwnersByContractAddress(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1541
1508
  },
1542
1509
  };
1543
1510
  };
@@ -1900,68 +1867,52 @@ const NftsApiFactory = function (configuration, basePath, axios) {
1900
1867
  /**
1901
1868
  * Get NFT by token ID
1902
1869
  * @summary Get NFT by token ID
1903
- * @param {string} contractAddress The address of NFT contract
1904
- * @param {string} tokenId An &#x60;uint256&#x60; token id as string
1905
- * @param {string} chainName The name of chain
1870
+ * @param {NftsApiGetNFTRequest} requestParameters Request parameters.
1906
1871
  * @param {*} [options] Override http request option.
1907
1872
  * @throws {RequiredError}
1908
1873
  */
1909
- getNFT(contractAddress, tokenId, chainName, options) {
1910
- return localVarFp.getNFT(contractAddress, tokenId, chainName, options).then((request) => request(axios, basePath));
1874
+ getNFT(requestParameters, options) {
1875
+ return localVarFp.getNFT(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, options).then((request) => request(axios, basePath));
1911
1876
  },
1912
1877
  /**
1913
1878
  * List all NFT owners on a chain
1914
1879
  * @summary List all NFT owners
1915
- * @param {string} chainName The name of chain
1916
- * @param {string} fromUpdatedAt Datetime to use as the oldest updated timestamp
1917
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1918
- * @param {number} [pageSize] Maximum number of items to return
1880
+ * @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
1919
1881
  * @param {*} [options] Override http request option.
1920
1882
  * @throws {RequiredError}
1921
1883
  */
1922
- listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1923
- return localVarFp.listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1884
+ listAllNFTOwners(requestParameters, options) {
1885
+ return localVarFp.listAllNFTOwners(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1924
1886
  },
1925
1887
  /**
1926
1888
  * List all NFTs on a chain
1927
1889
  * @summary List all NFTs
1928
- * @param {string} chainName The name of chain
1929
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
1930
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1931
- * @param {number} [pageSize] Maximum number of items to return
1890
+ * @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
1932
1891
  * @param {*} [options] Override http request option.
1933
1892
  * @throws {RequiredError}
1934
1893
  */
1935
- listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1936
- return localVarFp.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1894
+ listAllNFTs(requestParameters, options) {
1895
+ return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1937
1896
  },
1938
1897
  /**
1939
1898
  * List NFTs by contract address
1940
1899
  * @summary List NFTs by contract address
1941
- * @param {string} contractAddress Contract address
1942
- * @param {string} chainName The name of chain
1943
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
1944
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1945
- * @param {number} [pageSize] Maximum number of items to return
1900
+ * @param {NftsApiListNFTsRequest} requestParameters Request parameters.
1946
1901
  * @param {*} [options] Override http request option.
1947
1902
  * @throws {RequiredError}
1948
1903
  */
1949
- listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1950
- return localVarFp.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1904
+ listNFTs(requestParameters, options) {
1905
+ return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1951
1906
  },
1952
1907
  /**
1953
1908
  * List NFTs by account address
1954
1909
  * @summary List NFTs by account address
1955
- * @param {string} accountAddress Account address
1956
- * @param {string} chainName The name of chain
1957
- * @param {string} [contractAddress] The address of contract
1958
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
1959
- * @param {number} [pageSize] Maximum number of items to return
1910
+ * @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
1960
1911
  * @param {*} [options] Override http request option.
1961
1912
  * @throws {RequiredError}
1962
1913
  */
1963
- listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options) {
1964
- return localVarFp.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1914
+ listNFTsByAccountAddress(requestParameters, options) {
1915
+ return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1965
1916
  },
1966
1917
  };
1967
1918
  };
@@ -2220,13 +2171,13 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2220
2171
  * List all listings
2221
2172
  * @summary List all listings
2222
2173
  * @param {string} chainName
2223
- * @param {OrderStatus} [status] Order status to filter by
2174
+ * @param {OrderStatusName} [status] Order status to filter by
2224
2175
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
2225
2176
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2226
2177
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2227
2178
  * @param {number} [pageSize] Maximum number of orders to return per page
2228
- * @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
2229
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2179
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2180
+ * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2230
2181
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2231
2182
  * @param {*} [options] Override http request option.
2232
2183
  * @throws {RequiredError}
@@ -2283,8 +2234,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2283
2234
  * @param {string} chainName
2284
2235
  * @param {string} [accountAddress]
2285
2236
  * @param {number} [pageSize] Maximum number of trades to return per page
2286
- * @param {'indexed_at'} [sortBy] Trade field to sort by
2287
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2237
+ * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
2238
+ * @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2288
2239
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2289
2240
  * @param {*} [options] Override http request option.
2290
2241
  * @throws {RequiredError}
@@ -2399,13 +2350,13 @@ const OrdersApiFp = function (configuration) {
2399
2350
  * List all listings
2400
2351
  * @summary List all listings
2401
2352
  * @param {string} chainName
2402
- * @param {OrderStatus} [status] Order status to filter by
2353
+ * @param {OrderStatusName} [status] Order status to filter by
2403
2354
  * @param {string} [sellItemContractAddress] Sell item contract address to filter by
2404
2355
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2405
2356
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2406
2357
  * @param {number} [pageSize] Maximum number of orders to return per page
2407
- * @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
2408
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2358
+ * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2359
+ * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2409
2360
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2410
2361
  * @param {*} [options] Override http request option.
2411
2362
  * @throws {RequiredError}
@@ -2420,8 +2371,8 @@ const OrdersApiFp = function (configuration) {
2420
2371
  * @param {string} chainName
2421
2372
  * @param {string} [accountAddress]
2422
2373
  * @param {number} [pageSize] Maximum number of trades to return per page
2423
- * @param {'indexed_at'} [sortBy] Trade field to sort by
2424
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2374
+ * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
2375
+ * @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2425
2376
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2426
2377
  * @param {*} [options] Override http request option.
2427
2378
  * @throws {RequiredError}
@@ -2442,90 +2393,72 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
2442
2393
  /**
2443
2394
  * Cancel one or more orders
2444
2395
  * @summary Cancel one or more orders
2445
- * @param {string} chainName
2446
- * @param {CancelOrdersRequestBody} cancelOrdersRequestBody
2396
+ * @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
2447
2397
  * @param {*} [options] Override http request option.
2448
2398
  * @throws {RequiredError}
2449
2399
  */
2450
- cancelOrders(chainName, cancelOrdersRequestBody, options) {
2451
- return localVarFp.cancelOrders(chainName, cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
2400
+ cancelOrders(requestParameters, options) {
2401
+ return localVarFp.cancelOrders(requestParameters.chainName, requestParameters.cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
2452
2402
  },
2453
2403
  /**
2454
2404
  * Create a listing
2455
2405
  * @summary Create a listing
2456
- * @param {string} chainName
2457
- * @param {CreateListingRequestBody} createListingRequestBody
2406
+ * @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
2458
2407
  * @param {*} [options] Override http request option.
2459
2408
  * @throws {RequiredError}
2460
2409
  */
2461
- createListing(chainName, createListingRequestBody, options) {
2462
- return localVarFp.createListing(chainName, createListingRequestBody, options).then((request) => request(axios, basePath));
2410
+ createListing(requestParameters, options) {
2411
+ return localVarFp.createListing(requestParameters.chainName, requestParameters.createListingRequestBody, options).then((request) => request(axios, basePath));
2463
2412
  },
2464
2413
  /**
2465
2414
  * Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
2466
2415
  * @summary Retrieve fulfillment data for orders
2467
- * @param {string} chainName
2468
- * @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
2416
+ * @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
2469
2417
  * @param {*} [options] Override http request option.
2470
2418
  * @throws {RequiredError}
2471
2419
  */
2472
- fulfillmentData(chainName, fulfillmentDataRequest, options) {
2473
- return localVarFp.fulfillmentData(chainName, fulfillmentDataRequest, options).then((request) => request(axios, basePath));
2420
+ fulfillmentData(requestParameters, options) {
2421
+ return localVarFp.fulfillmentData(requestParameters.chainName, requestParameters.fulfillmentDataRequest, options).then((request) => request(axios, basePath));
2474
2422
  },
2475
2423
  /**
2476
2424
  * Get a single listing by ID
2477
2425
  * @summary Get a single listing by ID
2478
- * @param {string} chainName
2479
- * @param {string} listingId Global Order identifier
2426
+ * @param {OrdersApiGetListingRequest} requestParameters Request parameters.
2480
2427
  * @param {*} [options] Override http request option.
2481
2428
  * @throws {RequiredError}
2482
2429
  */
2483
- getListing(chainName, listingId, options) {
2484
- return localVarFp.getListing(chainName, listingId, options).then((request) => request(axios, basePath));
2430
+ getListing(requestParameters, options) {
2431
+ return localVarFp.getListing(requestParameters.chainName, requestParameters.listingId, options).then((request) => request(axios, basePath));
2485
2432
  },
2486
2433
  /**
2487
2434
  * Get a single trade by ID
2488
2435
  * @summary Get a single trade by ID
2489
- * @param {string} chainName
2490
- * @param {string} tradeId Global Trade identifier
2436
+ * @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
2491
2437
  * @param {*} [options] Override http request option.
2492
2438
  * @throws {RequiredError}
2493
2439
  */
2494
- getTrade(chainName, tradeId, options) {
2495
- return localVarFp.getTrade(chainName, tradeId, options).then((request) => request(axios, basePath));
2440
+ getTrade(requestParameters, options) {
2441
+ return localVarFp.getTrade(requestParameters.chainName, requestParameters.tradeId, options).then((request) => request(axios, basePath));
2496
2442
  },
2497
2443
  /**
2498
2444
  * List all listings
2499
2445
  * @summary List all listings
2500
- * @param {string} chainName
2501
- * @param {OrderStatus} [status] Order status to filter by
2502
- * @param {string} [sellItemContractAddress] Sell item contract address to filter by
2503
- * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2504
- * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2505
- * @param {number} [pageSize] Maximum number of orders to return per page
2506
- * @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
2507
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2508
- * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2446
+ * @param {OrdersApiListListingsRequest} requestParameters Request parameters.
2509
2447
  * @param {*} [options] Override http request option.
2510
2448
  * @throws {RequiredError}
2511
2449
  */
2512
- listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options) {
2513
- return localVarFp.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
2450
+ listListings(requestParameters, options) {
2451
+ return localVarFp.listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemContractAddress, requestParameters.sellItemTokenId, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2514
2452
  },
2515
2453
  /**
2516
2454
  * List all trades
2517
2455
  * @summary List all trades
2518
- * @param {string} chainName
2519
- * @param {string} [accountAddress]
2520
- * @param {number} [pageSize] Maximum number of trades to return per page
2521
- * @param {'indexed_at'} [sortBy] Trade field to sort by
2522
- * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2523
- * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2456
+ * @param {OrdersApiListTradesRequest} requestParameters Request parameters.
2524
2457
  * @param {*} [options] Override http request option.
2525
2458
  * @throws {RequiredError}
2526
2459
  */
2527
- listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options) {
2528
- return localVarFp.listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
2460
+ listTrades(requestParameters, options) {
2461
+ return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
2529
2462
  },
2530
2463
  };
2531
2464
  };
@@ -2614,6 +2547,34 @@ class OrdersApi extends BaseAPI$1 {
2614
2547
  return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
2615
2548
  }
2616
2549
  }
2550
+ /**
2551
+ * @export
2552
+ */
2553
+ const ListListingsSortByEnum$1 = {
2554
+ CreatedAt: 'created_at',
2555
+ UpdatedAt: 'updated_at',
2556
+ BuyItemAmount: 'buy_item_amount'
2557
+ };
2558
+ /**
2559
+ * @export
2560
+ */
2561
+ const ListListingsSortDirectionEnum$1 = {
2562
+ Asc: 'asc',
2563
+ Desc: 'desc'
2564
+ };
2565
+ /**
2566
+ * @export
2567
+ */
2568
+ const ListTradesSortByEnum$1 = {
2569
+ IndexedAt: 'indexed_at'
2570
+ };
2571
+ /**
2572
+ * @export
2573
+ */
2574
+ const ListTradesSortDirectionEnum$1 = {
2575
+ Asc: 'asc',
2576
+ Desc: 'desc'
2577
+ };
2617
2578
 
2618
2579
  /* tslint:disable */
2619
2580
  /* eslint-disable */
@@ -2742,22 +2703,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
2742
2703
  /**
2743
2704
  * Create a counterfactual address for a user based on their Ethereum address
2744
2705
  * @summary Create a counterfactual address
2745
- * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
2706
+ * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
2746
2707
  * @param {*} [options] Override http request option.
2747
2708
  * @throws {RequiredError}
2748
2709
  */
2749
- createCounterfactualAddress(createCounterfactualAddressRequest, options) {
2750
- return localVarFp.createCounterfactualAddress(createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
2710
+ createCounterfactualAddress(requestParameters, options) {
2711
+ return localVarFp.createCounterfactualAddress(requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
2751
2712
  },
2752
2713
  /**
2753
2714
  * Get all the Ethereum linked addresses for a user based on its userId
2754
2715
  * @summary Get Ethereum linked addresses for a user
2755
- * @param {string} userId The user\&#39;s userId
2716
+ * @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
2756
2717
  * @param {*} [options] Override http request option.
2757
2718
  * @throws {RequiredError}
2758
2719
  */
2759
- getLinkedAddresses(userId, options) {
2760
- return localVarFp.getLinkedAddresses(userId, options).then((request) => request(axios, basePath));
2720
+ getLinkedAddresses(requestParameters, options) {
2721
+ return localVarFp.getLinkedAddresses(requestParameters.userId, options).then((request) => request(axios, basePath));
2761
2722
  },
2762
2723
  };
2763
2724
  };
@@ -2934,26 +2895,22 @@ const TokensApiFactory = function (configuration, basePath, axios) {
2934
2895
  /**
2935
2896
  * Get single ERC20 token
2936
2897
  * @summary Get single ERC20 token
2937
- * @param {string} contractAddress The address of contract
2938
- * @param {string} chainName The name of chain
2898
+ * @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
2939
2899
  * @param {*} [options] Override http request option.
2940
2900
  * @throws {RequiredError}
2941
2901
  */
2942
- getERC20Token(contractAddress, chainName, options) {
2943
- return localVarFp.getERC20Token(contractAddress, chainName, options).then((request) => request(axios, basePath));
2902
+ getERC20Token(requestParameters, options) {
2903
+ return localVarFp.getERC20Token(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
2944
2904
  },
2945
2905
  /**
2946
2906
  * List ERC20 tokens
2947
2907
  * @summary List ERC20 tokens
2948
- * @param {string} chainName The name of chain
2949
- * @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
2950
- * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2951
- * @param {number} [pageSize] Maximum number of items to return
2908
+ * @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
2952
2909
  * @param {*} [options] Override http request option.
2953
2910
  * @throws {RequiredError}
2954
2911
  */
2955
- listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
2956
- return localVarFp.listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
2912
+ listERC20Tokens(requestParameters, options) {
2913
+ return localVarFp.listERC20Tokens(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
2957
2914
  },
2958
2915
  };
2959
2916
  };
@@ -3089,8 +3046,8 @@ let Configuration$2 = class Configuration {
3089
3046
  * https://openapi-generator.tech
3090
3047
  * Do not edit the class manually.
3091
3048
  */
3092
- const APIError400AllOfCodeEnum = {
3093
- ValidationError: 'VALIDATION_ERROR'
3049
+ const ActiveOrderStatusNameEnum = {
3050
+ Active: 'ACTIVE'
3094
3051
  };
3095
3052
 
3096
3053
  /* tslint:disable */
@@ -3106,25 +3063,18 @@ const APIError400AllOfCodeEnum = {
3106
3063
  * https://openapi-generator.tech
3107
3064
  * Do not edit the class manually.
3108
3065
  */
3109
- const APIError401AllOfCodeEnum = {
3110
- UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
3111
- };
3112
-
3113
- /* tslint:disable */
3114
- /* eslint-disable */
3115
3066
  /**
3116
- * Immutable zkEVM API
3117
- * Immutable Multi Rollup API
3118
- *
3119
- * The version of the OpenAPI document: 1.0.0
3120
- * Contact: support@immutable.com
3121
- *
3122
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3123
- * https://openapi-generator.tech
3124
- * Do not edit the class manually.
3067
+ * The activity type
3068
+ * @export
3069
+ * @enum {string}
3125
3070
  */
3126
- const APIError403AllOfCodeEnum = {
3127
- AuthenticationError: 'AUTHENTICATION_ERROR'
3071
+ const ActivityType = {
3072
+ Mint: 'mint',
3073
+ Burn: 'burn',
3074
+ Transfer: 'transfer',
3075
+ Sale: 'sale',
3076
+ Deposit: 'deposit',
3077
+ Withdrawal: 'withdrawal'
3128
3078
  };
3129
3079
 
3130
3080
  /* tslint:disable */
@@ -3140,8 +3090,12 @@ const APIError403AllOfCodeEnum = {
3140
3090
  * https://openapi-generator.tech
3141
3091
  * Do not edit the class manually.
3142
3092
  */
3143
- const APIError404AllOfCodeEnum = {
3144
- ResourceNotFound: 'RESOURCE_NOT_FOUND'
3093
+ const CancelledOrderStatusNameEnum = {
3094
+ Cancelled: 'CANCELLED'
3095
+ };
3096
+ const CancelledOrderStatusCancellationTypeEnum = {
3097
+ OnChain: 'ON_CHAIN',
3098
+ OffChain: 'OFF_CHAIN'
3145
3099
  };
3146
3100
 
3147
3101
  /* tslint:disable */
@@ -3157,25 +3111,13 @@ const APIError404AllOfCodeEnum = {
3157
3111
  * https://openapi-generator.tech
3158
3112
  * Do not edit the class manually.
3159
3113
  */
3160
- const APIError429AllOfCodeEnum = {
3161
- TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
3162
- };
3163
-
3164
- /* tslint:disable */
3165
- /* eslint-disable */
3166
3114
  /**
3167
- * Immutable zkEVM API
3168
- * Immutable Multi Rollup API
3169
- *
3170
- * The version of the OpenAPI document: 1.0.0
3171
- * Contact: support@immutable.com
3172
- *
3173
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3174
- * https://openapi-generator.tech
3175
- * Do not edit the class manually.
3115
+ * The collection contract type
3116
+ * @export
3117
+ * @enum {string}
3176
3118
  */
3177
- const APIError500AllOfCodeEnum = {
3178
- InternalServerError: 'INTERNAL_SERVER_ERROR'
3119
+ const CollectionContractType = {
3120
+ Erc721: 'ERC721'
3179
3121
  };
3180
3122
 
3181
3123
  /* tslint:disable */
@@ -3191,8 +3133,8 @@ const APIError500AllOfCodeEnum = {
3191
3133
  * https://openapi-generator.tech
3192
3134
  * Do not edit the class manually.
3193
3135
  */
3194
- const APIError501AllOfCodeEnum = {
3195
- NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
3136
+ const ERC20ItemItemTypeEnum = {
3137
+ Erc20: 'ERC20'
3196
3138
  };
3197
3139
 
3198
3140
  /* tslint:disable */
@@ -3208,18 +3150,8 @@ const APIError501AllOfCodeEnum = {
3208
3150
  * https://openapi-generator.tech
3209
3151
  * Do not edit the class manually.
3210
3152
  */
3211
- /**
3212
- * The activity type
3213
- * @export
3214
- * @enum {string}
3215
- */
3216
- const ActivityType = {
3217
- Mint: 'mint',
3218
- Burn: 'burn',
3219
- Transfer: 'transfer',
3220
- Sale: 'sale',
3221
- Deposit: 'deposit',
3222
- Withdrawal: 'withdrawal'
3153
+ const ERC721ItemItemTypeEnum = {
3154
+ Erc721: 'ERC721'
3223
3155
  };
3224
3156
 
3225
3157
  /* tslint:disable */
@@ -3235,8 +3167,8 @@ const ActivityType = {
3235
3167
  * https://openapi-generator.tech
3236
3168
  * Do not edit the class manually.
3237
3169
  */
3238
- const CancelOrdersResultResultFailedCancellationsInnerReasonCodeEnum = {
3239
- AlreadyFilled: 'ALREADY_FILLED'
3170
+ const ExpiredOrderStatusNameEnum = {
3171
+ Expired: 'EXPIRED'
3240
3172
  };
3241
3173
 
3242
3174
  /* tslint:disable */
@@ -3252,13 +3184,8 @@ const CancelOrdersResultResultFailedCancellationsInnerReasonCodeEnum = {
3252
3184
  * https://openapi-generator.tech
3253
3185
  * Do not edit the class manually.
3254
3186
  */
3255
- /**
3256
- * The collection contract type
3257
- * @export
3258
- * @enum {string}
3259
- */
3260
- const CollectionContractType = {
3261
- Erc721: 'ERC721'
3187
+ const FailedOrderCancellationReasonCodeEnum = {
3188
+ AlreadyFilled: 'ALREADY_FILLED'
3262
3189
  };
3263
3190
 
3264
3191
  /* tslint:disable */
@@ -3274,8 +3201,11 @@ const CollectionContractType = {
3274
3201
  * https://openapi-generator.tech
3275
3202
  * Do not edit the class manually.
3276
3203
  */
3277
- const ERC20ItemItemTypeEnum = {
3278
- Erc20: 'ERC20'
3204
+ const FeeFeeTypeEnum = {
3205
+ Royalty: 'ROYALTY',
3206
+ MakerEcosystem: 'MAKER_ECOSYSTEM',
3207
+ TakerEcosystem: 'TAKER_ECOSYSTEM',
3208
+ Protocol: 'PROTOCOL'
3279
3209
  };
3280
3210
 
3281
3211
  /* tslint:disable */
@@ -3291,8 +3221,8 @@ const ERC20ItemItemTypeEnum = {
3291
3221
  * https://openapi-generator.tech
3292
3222
  * Do not edit the class manually.
3293
3223
  */
3294
- const ERC721ItemItemTypeEnum = {
3295
- Erc721: 'ERC721'
3224
+ const FilledOrderStatusNameEnum = {
3225
+ Filled: 'FILLED'
3296
3226
  };
3297
3227
 
3298
3228
  /* tslint:disable */
@@ -3308,11 +3238,8 @@ const ERC721ItemItemTypeEnum = {
3308
3238
  * https://openapi-generator.tech
3309
3239
  * Do not edit the class manually.
3310
3240
  */
3311
- const FeeFeeTypeEnum = {
3312
- Royalty: 'ROYALTY',
3313
- MakerEcosystem: 'MAKER_ECOSYSTEM',
3314
- TakerEcosystem: 'TAKER_ECOSYSTEM',
3315
- Protocol: 'PROTOCOL'
3241
+ const InactiveOrderStatusNameEnum = {
3242
+ Inactive: 'INACTIVE'
3316
3243
  };
3317
3244
 
3318
3245
  /* tslint:disable */
@@ -3372,13 +3299,30 @@ const NativeItemItemTypeEnum = {
3372
3299
  * @export
3373
3300
  * @enum {string}
3374
3301
  */
3375
- const OrderStatus = {
3302
+ const OrderStatusName$1 = {
3376
3303
  Pending: 'PENDING',
3377
3304
  Active: 'ACTIVE',
3378
3305
  Inactive: 'INACTIVE',
3379
3306
  Filled: 'FILLED',
3380
- Cancelled: 'CANCELLED',
3381
- Expired: 'EXPIRED'
3307
+ Expired: 'EXPIRED',
3308
+ Cancelled: 'CANCELLED'
3309
+ };
3310
+
3311
+ /* tslint:disable */
3312
+ /* eslint-disable */
3313
+ /**
3314
+ * Immutable zkEVM API
3315
+ * Immutable Multi Rollup API
3316
+ *
3317
+ * The version of the OpenAPI document: 1.0.0
3318
+ * Contact: support@immutable.com
3319
+ *
3320
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3321
+ * https://openapi-generator.tech
3322
+ * Do not edit the class manually.
3323
+ */
3324
+ const PendingOrderStatusNameEnum = {
3325
+ Pending: 'PENDING'
3382
3326
  };
3383
3327
 
3384
3328
  /* tslint:disable */
@@ -3453,19 +3397,14 @@ const TokenContractType = {
3453
3397
 
3454
3398
  var index = /*#__PURE__*/Object.freeze({
3455
3399
  __proto__: null,
3456
- APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
3457
- APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
3458
- APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
3459
- APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
3460
- APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
3461
- APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
3462
- APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
3400
+ ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
3463
3401
  ActivitiesApi: ActivitiesApi,
3464
3402
  ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
3465
3403
  ActivitiesApiFactory: ActivitiesApiFactory,
3466
3404
  ActivitiesApiFp: ActivitiesApiFp,
3467
3405
  ActivityType: ActivityType,
3468
- CancelOrdersResultResultFailedCancellationsInnerReasonCodeEnum: CancelOrdersResultResultFailedCancellationsInnerReasonCodeEnum,
3406
+ CancelledOrderStatusCancellationTypeEnum: CancelledOrderStatusCancellationTypeEnum,
3407
+ CancelledOrderStatusNameEnum: CancelledOrderStatusNameEnum,
3469
3408
  ChainsApi: ChainsApi,
3470
3409
  ChainsApiAxiosParamCreator: ChainsApiAxiosParamCreator,
3471
3410
  ChainsApiFactory: ChainsApiFactory,
@@ -3478,7 +3417,15 @@ var index = /*#__PURE__*/Object.freeze({
3478
3417
  Configuration: Configuration$2,
3479
3418
  ERC20ItemItemTypeEnum: ERC20ItemItemTypeEnum,
3480
3419
  ERC721ItemItemTypeEnum: ERC721ItemItemTypeEnum,
3420
+ ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
3421
+ FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
3481
3422
  FeeFeeTypeEnum: FeeFeeTypeEnum,
3423
+ FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
3424
+ InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
3425
+ ListListingsSortByEnum: ListListingsSortByEnum$1,
3426
+ ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
3427
+ ListTradesSortByEnum: ListTradesSortByEnum$1,
3428
+ ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
3482
3429
  MetadataApi: MetadataApi,
3483
3430
  MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
3484
3431
  MetadataApiFactory: MetadataApiFactory,
@@ -3493,7 +3440,7 @@ var index = /*#__PURE__*/Object.freeze({
3493
3440
  NftsApiAxiosParamCreator: NftsApiAxiosParamCreator,
3494
3441
  NftsApiFactory: NftsApiFactory,
3495
3442
  NftsApiFp: NftsApiFp,
3496
- OrderStatus: OrderStatus,
3443
+ OrderStatusName: OrderStatusName$1,
3497
3444
  OrdersApi: OrdersApi,
3498
3445
  OrdersApiAxiosParamCreator: OrdersApiAxiosParamCreator,
3499
3446
  OrdersApiFactory: OrdersApiFactory,
@@ -3502,6 +3449,7 @@ var index = /*#__PURE__*/Object.freeze({
3502
3449
  PassportApiAxiosParamCreator: PassportApiAxiosParamCreator,
3503
3450
  PassportApiFactory: PassportApiFactory,
3504
3451
  PassportApiFp: PassportApiFp,
3452
+ PendingOrderStatusNameEnum: PendingOrderStatusNameEnum,
3505
3453
  ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
3506
3454
  SaleFeeTypeEnum: SaleFeeTypeEnum,
3507
3455
  TokenContractType: TokenContractType,
@@ -3511,6 +3459,134 @@ var index = /*#__PURE__*/Object.freeze({
3511
3459
  TokensApiFp: TokensApiFp
3512
3460
  });
3513
3461
 
3462
+ /* tslint:disable */
3463
+ /* eslint-disable */
3464
+ /**
3465
+ * Immutable zkEVM API
3466
+ * Immutable Multi Rollup API
3467
+ *
3468
+ * The version of the OpenAPI document: 1.0.0
3469
+ * Contact: support@immutable.com
3470
+ *
3471
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3472
+ * https://openapi-generator.tech
3473
+ * Do not edit the class manually.
3474
+ */
3475
+ // @ts-ignore
3476
+
3477
+ var activitiesApiTypes = /*#__PURE__*/Object.freeze({
3478
+ __proto__: null,
3479
+ ActivityType: ActivityType
3480
+ });
3481
+
3482
+ /* tslint:disable */
3483
+ /* eslint-disable */
3484
+ /**
3485
+ * Immutable zkEVM API
3486
+ * Immutable Multi Rollup API
3487
+ *
3488
+ * The version of the OpenAPI document: 1.0.0
3489
+ * Contact: support@immutable.com
3490
+ *
3491
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3492
+ * https://openapi-generator.tech
3493
+ * Do not edit the class manually.
3494
+ */
3495
+
3496
+ var chainsApiTypes = /*#__PURE__*/Object.freeze({
3497
+ __proto__: null
3498
+ });
3499
+
3500
+ /* tslint:disable */
3501
+ /* eslint-disable */
3502
+ /**
3503
+ * Immutable zkEVM API
3504
+ * Immutable Multi Rollup API
3505
+ *
3506
+ * The version of the OpenAPI document: 1.0.0
3507
+ * Contact: support@immutable.com
3508
+ *
3509
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3510
+ * https://openapi-generator.tech
3511
+ * Do not edit the class manually.
3512
+ */
3513
+
3514
+ var collectionsApiTypes = /*#__PURE__*/Object.freeze({
3515
+ __proto__: null
3516
+ });
3517
+
3518
+ /* tslint:disable */
3519
+ /* eslint-disable */
3520
+ /**
3521
+ * Immutable zkEVM API
3522
+ * Immutable Multi Rollup API
3523
+ *
3524
+ * The version of the OpenAPI document: 1.0.0
3525
+ * Contact: support@immutable.com
3526
+ *
3527
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3528
+ * https://openapi-generator.tech
3529
+ * Do not edit the class manually.
3530
+ */
3531
+
3532
+ var metadataApiTypes = /*#__PURE__*/Object.freeze({
3533
+ __proto__: null
3534
+ });
3535
+
3536
+ /* tslint:disable */
3537
+ /* eslint-disable */
3538
+ /**
3539
+ * Immutable zkEVM API
3540
+ * Immutable Multi Rollup API
3541
+ *
3542
+ * The version of the OpenAPI document: 1.0.0
3543
+ * Contact: support@immutable.com
3544
+ *
3545
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3546
+ * https://openapi-generator.tech
3547
+ * Do not edit the class manually.
3548
+ */
3549
+
3550
+ var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
3551
+ __proto__: null
3552
+ });
3553
+
3554
+ /* tslint:disable */
3555
+ /* eslint-disable */
3556
+ /**
3557
+ * Immutable zkEVM API
3558
+ * Immutable Multi Rollup API
3559
+ *
3560
+ * The version of the OpenAPI document: 1.0.0
3561
+ * Contact: support@immutable.com
3562
+ *
3563
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3564
+ * https://openapi-generator.tech
3565
+ * Do not edit the class manually.
3566
+ */
3567
+
3568
+ var nftsApiTypes = /*#__PURE__*/Object.freeze({
3569
+ __proto__: null
3570
+ });
3571
+
3572
+ /* tslint:disable */
3573
+ /* eslint-disable */
3574
+ /**
3575
+ * Immutable zkEVM API
3576
+ * Immutable Multi Rollup API
3577
+ *
3578
+ * The version of the OpenAPI document: 1.0.0
3579
+ * Contact: support@immutable.com
3580
+ *
3581
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3582
+ * https://openapi-generator.tech
3583
+ * Do not edit the class manually.
3584
+ */
3585
+
3586
+ var tokensApiTypes = /*#__PURE__*/Object.freeze({
3587
+ __proto__: null
3588
+ });
3589
+
3514
3590
  class MultiRollupApiClients {
3515
3591
  config;
3516
3592
  activitiesApi;
@@ -3533,7 +3609,7 @@ class MultiRollupApiClients {
3533
3609
  }
3534
3610
 
3535
3611
  // eslint-disable-next-line @typescript-eslint/naming-convention
3536
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.0' };
3612
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.2-alpha' };
3537
3613
  const createConfig = ({ basePath, headers, }) => {
3538
3614
  if (!basePath.trim()) {
3539
3615
  throw Error('basePath can not be empty');
@@ -3593,7 +3669,7 @@ class APIError extends Error {
3593
3669
 
3594
3670
  /* eslint-disable implicit-arrow-linebreak */
3595
3671
  const defaultHeaders = {
3596
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.0',
3672
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.2-alpha',
3597
3673
  };
3598
3674
  /**
3599
3675
  * createAPIConfiguration to create a custom Configuration
@@ -3985,7 +4061,14 @@ class BlockchainData {
3985
4061
  var blockchain_data = /*#__PURE__*/Object.freeze({
3986
4062
  __proto__: null,
3987
4063
  APIError: APIError,
3988
- BlockchainData: BlockchainData
4064
+ ActivitiesApi: activitiesApiTypes,
4065
+ BlockchainData: BlockchainData,
4066
+ ChainsApi: chainsApiTypes,
4067
+ CollectionsApi: collectionsApiTypes,
4068
+ MetadataApi: metadataApiTypes,
4069
+ NFTOwnersApi: nftOwnersApiTypes,
4070
+ NFTsApi: nftsApiTypes,
4071
+ TokensApi: tokensApiTypes
3989
4072
  });
3990
4073
 
3991
4074
  /**
@@ -3997,7 +4080,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
3997
4080
  chainID,
3998
4081
  coreContractAddress,
3999
4082
  registrationContractAddress,
4000
- sdkVersion: 'ts-immutable-sdk-0.27.0',
4083
+ sdkVersion: 'ts-immutable-sdk-0.27.2-alpha',
4001
4084
  });
4002
4085
  /**
4003
4086
  * Sets `sdkVersion` at the time of build
@@ -32922,7 +33005,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
32922
33005
  })($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
32923
33006
 
32924
33007
 
32925
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.0";
33008
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.2-alpha";
32926
33009
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
32927
33010
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
32928
33011