@imtbl/sdk 0.27.1 → 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/blockchain_data.d.ts +990 -79
- package/dist/blockchain_data.js +261 -304
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +1 -1
- package/dist/checkout_sdk.js +132 -303
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +271 -307
- package/dist/index.d.ts +1157 -239
- package/dist/index.js +271 -307
- package/dist/passport.js +14 -14
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -168,8 +168,6 @@ let Configuration$1 = class Configuration {
|
|
|
168
168
|
* https://openapi-generator.tech
|
|
169
169
|
* Do not edit the class manually.
|
|
170
170
|
*/
|
|
171
|
-
// Some imports not used depending on template conditions
|
|
172
|
-
// @ts-ignore
|
|
173
171
|
const BASE_PATH$1 = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
|
|
174
172
|
/**
|
|
175
173
|
*
|
|
@@ -197,10 +195,10 @@ let BaseAPI$1 = class BaseAPI {
|
|
|
197
195
|
*/
|
|
198
196
|
let RequiredError$1 = class RequiredError extends Error {
|
|
199
197
|
field;
|
|
200
|
-
name = "RequiredError";
|
|
201
198
|
constructor(field, msg) {
|
|
202
199
|
super(msg);
|
|
203
200
|
this.field = field;
|
|
201
|
+
this.name = "RequiredError";
|
|
204
202
|
}
|
|
205
203
|
};
|
|
206
204
|
|
|
@@ -257,6 +255,8 @@ const setBearerAuthToObject$1 = async function (object, configuration) {
|
|
|
257
255
|
}
|
|
258
256
|
};
|
|
259
257
|
function setFlattenedQueryParams$1(urlSearchParams, parameter, key = "") {
|
|
258
|
+
if (parameter == null)
|
|
259
|
+
return;
|
|
260
260
|
if (typeof parameter === "object") {
|
|
261
261
|
if (Array.isArray(parameter)) {
|
|
262
262
|
parameter.forEach(item => setFlattenedQueryParams$1(urlSearchParams, item, key));
|
|
@@ -309,7 +309,7 @@ const toPathString$1 = function (url) {
|
|
|
309
309
|
*/
|
|
310
310
|
const createRequestFunction$1 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
311
311
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
312
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
312
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url };
|
|
313
313
|
return axios.request(axiosRequestArgs);
|
|
314
314
|
};
|
|
315
315
|
};
|
|
@@ -488,32 +488,22 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
488
488
|
/**
|
|
489
489
|
* Get a single activity by ID
|
|
490
490
|
* @summary Get a single activity by ID
|
|
491
|
-
* @param {
|
|
492
|
-
* @param {string} activityId The id of activity
|
|
491
|
+
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
|
493
492
|
* @param {*} [options] Override http request option.
|
|
494
493
|
* @throws {RequiredError}
|
|
495
494
|
*/
|
|
496
|
-
getActivity(
|
|
497
|
-
return localVarFp.getActivity(chainName, activityId, options).then((request) => request(axios, basePath));
|
|
495
|
+
getActivity(requestParameters, options) {
|
|
496
|
+
return localVarFp.getActivity(requestParameters.chainName, requestParameters.activityId, options).then((request) => request(axios, basePath));
|
|
498
497
|
},
|
|
499
498
|
/**
|
|
500
499
|
* List all activities
|
|
501
500
|
* @summary List all activities
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {string} [contractAddress] The contract address of NFT or ERC20 Token
|
|
504
|
-
* @param {string} [tokenId] An `uint256` token id as string
|
|
505
|
-
* @param {string} [accountAddress] The account address activity contains
|
|
506
|
-
* @param {ActivityType} [activityType] The activity type
|
|
507
|
-
* @param {string} [fromIndexedAt] From indexed at including given date
|
|
508
|
-
* @param {string} [toIndexedAt] To indexed at including given date
|
|
509
|
-
* @param {string} [transactionHash] The transaction hash of activity
|
|
510
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
511
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
501
|
+
* @param {ActivitiesApiListActivitiesRequest} requestParameters Request parameters.
|
|
512
502
|
* @param {*} [options] Override http request option.
|
|
513
503
|
* @throws {RequiredError}
|
|
514
504
|
*/
|
|
515
|
-
listActivities(
|
|
516
|
-
return localVarFp.listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
505
|
+
listActivities(requestParameters, options) {
|
|
506
|
+
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));
|
|
517
507
|
},
|
|
518
508
|
};
|
|
519
509
|
};
|
|
@@ -633,13 +623,12 @@ const ChainsApiFactory = function (configuration, basePath, axios) {
|
|
|
633
623
|
/**
|
|
634
624
|
* List supported chains
|
|
635
625
|
* @summary List supported chains
|
|
636
|
-
* @param {
|
|
637
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
626
|
+
* @param {ChainsApiListChainsRequest} requestParameters Request parameters.
|
|
638
627
|
* @param {*} [options] Override http request option.
|
|
639
628
|
* @throws {RequiredError}
|
|
640
629
|
*/
|
|
641
|
-
listChains(
|
|
642
|
-
return localVarFp.listChains(pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
630
|
+
listChains(requestParameters = {}, options) {
|
|
631
|
+
return localVarFp.listChains(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
643
632
|
},
|
|
644
633
|
};
|
|
645
634
|
};
|
|
@@ -918,52 +907,42 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
918
907
|
/**
|
|
919
908
|
* Get collection by contract address
|
|
920
909
|
* @summary Get collection by contract address
|
|
921
|
-
* @param {
|
|
922
|
-
* @param {string} chainName The name of chain
|
|
910
|
+
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
923
911
|
* @param {*} [options] Override http request option.
|
|
924
912
|
* @throws {RequiredError}
|
|
925
913
|
*/
|
|
926
|
-
getCollection(
|
|
927
|
-
return localVarFp.getCollection(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
914
|
+
getCollection(requestParameters, options) {
|
|
915
|
+
return localVarFp.getCollection(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
928
916
|
},
|
|
929
917
|
/**
|
|
930
918
|
* List all collections
|
|
931
919
|
* @summary List all collections
|
|
932
|
-
* @param {
|
|
933
|
-
* @param {Array<string>} [contractAddress] List of contract addresses to filter by
|
|
934
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
935
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
936
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
920
|
+
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
937
921
|
* @param {*} [options] Override http request option.
|
|
938
922
|
* @throws {RequiredError}
|
|
939
923
|
*/
|
|
940
|
-
listCollections(
|
|
941
|
-
return localVarFp.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
924
|
+
listCollections(requestParameters, options) {
|
|
925
|
+
return localVarFp.listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
942
926
|
},
|
|
943
927
|
/**
|
|
944
928
|
* List collections by NFT owner account address
|
|
945
929
|
* @summary List collections by NFT owner
|
|
946
|
-
* @param {
|
|
947
|
-
* @param {string} chainName The name of chain
|
|
948
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
949
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
930
|
+
* @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
|
|
950
931
|
* @param {*} [options] Override http request option.
|
|
951
932
|
* @throws {RequiredError}
|
|
952
933
|
*/
|
|
953
|
-
listCollectionsByNFTOwner(
|
|
954
|
-
return localVarFp.listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
934
|
+
listCollectionsByNFTOwner(requestParameters, options) {
|
|
935
|
+
return localVarFp.listCollectionsByNFTOwner(requestParameters.accountAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
955
936
|
},
|
|
956
937
|
/**
|
|
957
938
|
* Refresh collection metadata
|
|
958
939
|
* @summary Refresh collection metadata
|
|
959
|
-
* @param {
|
|
960
|
-
* @param {string} chainName The name of chain
|
|
961
|
-
* @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
|
|
940
|
+
* @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
|
|
962
941
|
* @param {*} [options] Override http request option.
|
|
963
942
|
* @throws {RequiredError}
|
|
964
943
|
*/
|
|
965
|
-
refreshCollectionMetadata(
|
|
966
|
-
return localVarFp.refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
944
|
+
refreshCollectionMetadata(requestParameters, options) {
|
|
945
|
+
return localVarFp.refreshCollectionMetadata(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
967
946
|
},
|
|
968
947
|
};
|
|
969
948
|
};
|
|
@@ -1278,52 +1257,42 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
1278
1257
|
/**
|
|
1279
1258
|
* Get metadata by ID
|
|
1280
1259
|
* @summary Get metadata by ID
|
|
1281
|
-
* @param {
|
|
1282
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1283
|
-
* @param {string} metadataId The id of the metadata
|
|
1260
|
+
* @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
|
|
1284
1261
|
* @param {*} [options] Override http request option.
|
|
1285
1262
|
* @throws {RequiredError}
|
|
1286
1263
|
*/
|
|
1287
|
-
getMetadata(
|
|
1288
|
-
return localVarFp.getMetadata(chainName, contractAddress, metadataId, options).then((request) => request(axios, basePath));
|
|
1264
|
+
getMetadata(requestParameters, options) {
|
|
1265
|
+
return localVarFp.getMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.metadataId, options).then((request) => request(axios, basePath));
|
|
1289
1266
|
},
|
|
1290
1267
|
/**
|
|
1291
1268
|
* Get a list of metadata by from the a given contract
|
|
1292
1269
|
* @summary Get a list of metadata by from the a given contract
|
|
1293
|
-
* @param {
|
|
1294
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1295
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1296
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1297
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1270
|
+
* @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
|
|
1298
1271
|
* @param {*} [options] Override http request option.
|
|
1299
1272
|
* @throws {RequiredError}
|
|
1300
1273
|
*/
|
|
1301
|
-
listMetadata(
|
|
1302
|
-
return localVarFp.listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1274
|
+
listMetadata(requestParameters, options) {
|
|
1275
|
+
return localVarFp.listMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1303
1276
|
},
|
|
1304
1277
|
/**
|
|
1305
1278
|
* Refresh stacked metadata
|
|
1306
1279
|
* @summary Refresh stacked metadata
|
|
1307
|
-
* @param {
|
|
1308
|
-
* @param {string} contractAddress Contract address
|
|
1309
|
-
* @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
|
|
1280
|
+
* @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
|
|
1310
1281
|
* @param {*} [options] Override http request option.
|
|
1311
1282
|
* @throws {RequiredError}
|
|
1312
1283
|
*/
|
|
1313
|
-
refreshMetadataByID(
|
|
1314
|
-
return localVarFp.refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1284
|
+
refreshMetadataByID(requestParameters, options) {
|
|
1285
|
+
return localVarFp.refreshMetadataByID(requestParameters.chainName, requestParameters.contractAddress, requestParameters.refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1315
1286
|
},
|
|
1316
1287
|
/**
|
|
1317
1288
|
* Refresh NFT metadata
|
|
1318
1289
|
* @summary Refresh NFT metadata
|
|
1319
|
-
* @param {
|
|
1320
|
-
* @param {string} chainName The name of chain
|
|
1321
|
-
* @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
|
|
1290
|
+
* @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
|
|
1322
1291
|
* @param {*} [options] Override http request option.
|
|
1323
1292
|
* @throws {RequiredError}
|
|
1324
1293
|
*/
|
|
1325
|
-
refreshNFTMetadataByTokenID(
|
|
1326
|
-
return localVarFp.refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1294
|
+
refreshNFTMetadataByTokenID(requestParameters, options) {
|
|
1295
|
+
return localVarFp.refreshNFTMetadataByTokenID(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1327
1296
|
},
|
|
1328
1297
|
};
|
|
1329
1298
|
};
|
|
@@ -1542,30 +1511,22 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1542
1511
|
/**
|
|
1543
1512
|
* List NFT owners by token ID
|
|
1544
1513
|
* @summary List NFT owners by token ID
|
|
1545
|
-
* @param {
|
|
1546
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1547
|
-
* @param {string} chainName The name of chain
|
|
1548
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1549
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1514
|
+
* @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
|
|
1550
1515
|
* @param {*} [options] Override http request option.
|
|
1551
1516
|
* @throws {RequiredError}
|
|
1552
1517
|
*/
|
|
1553
|
-
listNFTOwners(
|
|
1554
|
-
return localVarFp.listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1518
|
+
listNFTOwners(requestParameters, options) {
|
|
1519
|
+
return localVarFp.listNFTOwners(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1555
1520
|
},
|
|
1556
1521
|
/**
|
|
1557
1522
|
* List owners by contract address
|
|
1558
1523
|
* @summary List owners by contract address
|
|
1559
|
-
* @param {
|
|
1560
|
-
* @param {string} chainName The name of chain
|
|
1561
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1562
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1563
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1524
|
+
* @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
|
|
1564
1525
|
* @param {*} [options] Override http request option.
|
|
1565
1526
|
* @throws {RequiredError}
|
|
1566
1527
|
*/
|
|
1567
|
-
listOwnersByContractAddress(
|
|
1568
|
-
return localVarFp.listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1528
|
+
listOwnersByContractAddress(requestParameters, options) {
|
|
1529
|
+
return localVarFp.listOwnersByContractAddress(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1569
1530
|
},
|
|
1570
1531
|
};
|
|
1571
1532
|
};
|
|
@@ -1928,68 +1889,52 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
1928
1889
|
/**
|
|
1929
1890
|
* Get NFT by token ID
|
|
1930
1891
|
* @summary Get NFT by token ID
|
|
1931
|
-
* @param {
|
|
1932
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1933
|
-
* @param {string} chainName The name of chain
|
|
1892
|
+
* @param {NftsApiGetNFTRequest} requestParameters Request parameters.
|
|
1934
1893
|
* @param {*} [options] Override http request option.
|
|
1935
1894
|
* @throws {RequiredError}
|
|
1936
1895
|
*/
|
|
1937
|
-
getNFT(
|
|
1938
|
-
return localVarFp.getNFT(contractAddress, tokenId, chainName, options).then((request) => request(axios, basePath));
|
|
1896
|
+
getNFT(requestParameters, options) {
|
|
1897
|
+
return localVarFp.getNFT(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
1939
1898
|
},
|
|
1940
1899
|
/**
|
|
1941
1900
|
* List all NFT owners on a chain
|
|
1942
1901
|
* @summary List all NFT owners
|
|
1943
|
-
* @param {
|
|
1944
|
-
* @param {string} fromUpdatedAt Datetime to use as the oldest updated timestamp
|
|
1945
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1946
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1902
|
+
* @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
|
|
1947
1903
|
* @param {*} [options] Override http request option.
|
|
1948
1904
|
* @throws {RequiredError}
|
|
1949
1905
|
*/
|
|
1950
|
-
listAllNFTOwners(
|
|
1951
|
-
return localVarFp.listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1906
|
+
listAllNFTOwners(requestParameters, options) {
|
|
1907
|
+
return localVarFp.listAllNFTOwners(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1952
1908
|
},
|
|
1953
1909
|
/**
|
|
1954
1910
|
* List all NFTs on a chain
|
|
1955
1911
|
* @summary List all NFTs
|
|
1956
|
-
* @param {
|
|
1957
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
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
|
|
1912
|
+
* @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
|
|
1960
1913
|
* @param {*} [options] Override http request option.
|
|
1961
1914
|
* @throws {RequiredError}
|
|
1962
1915
|
*/
|
|
1963
|
-
listAllNFTs(
|
|
1964
|
-
return localVarFp.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1916
|
+
listAllNFTs(requestParameters, options) {
|
|
1917
|
+
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1965
1918
|
},
|
|
1966
1919
|
/**
|
|
1967
1920
|
* List NFTs by contract address
|
|
1968
1921
|
* @summary List NFTs by contract address
|
|
1969
|
-
* @param {
|
|
1970
|
-
* @param {string} chainName The name of chain
|
|
1971
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1972
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1973
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1922
|
+
* @param {NftsApiListNFTsRequest} requestParameters Request parameters.
|
|
1974
1923
|
* @param {*} [options] Override http request option.
|
|
1975
1924
|
* @throws {RequiredError}
|
|
1976
1925
|
*/
|
|
1977
|
-
listNFTs(
|
|
1978
|
-
return localVarFp.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1926
|
+
listNFTs(requestParameters, options) {
|
|
1927
|
+
return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1979
1928
|
},
|
|
1980
1929
|
/**
|
|
1981
1930
|
* List NFTs by account address
|
|
1982
1931
|
* @summary List NFTs by account address
|
|
1983
|
-
* @param {
|
|
1984
|
-
* @param {string} chainName The name of chain
|
|
1985
|
-
* @param {string} [contractAddress] The address of contract
|
|
1986
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1987
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1932
|
+
* @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
|
|
1988
1933
|
* @param {*} [options] Override http request option.
|
|
1989
1934
|
* @throws {RequiredError}
|
|
1990
1935
|
*/
|
|
1991
|
-
listNFTsByAccountAddress(
|
|
1992
|
-
return localVarFp.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1936
|
+
listNFTsByAccountAddress(requestParameters, options) {
|
|
1937
|
+
return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1993
1938
|
},
|
|
1994
1939
|
};
|
|
1995
1940
|
};
|
|
@@ -2253,8 +2198,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2253
2198
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2254
2199
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2255
2200
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2256
|
-
* @param {
|
|
2257
|
-
* @param {
|
|
2201
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2202
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2258
2203
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2259
2204
|
* @param {*} [options] Override http request option.
|
|
2260
2205
|
* @throws {RequiredError}
|
|
@@ -2311,8 +2256,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2311
2256
|
* @param {string} chainName
|
|
2312
2257
|
* @param {string} [accountAddress]
|
|
2313
2258
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2314
|
-
* @param {
|
|
2315
|
-
* @param {
|
|
2259
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2260
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2316
2261
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2317
2262
|
* @param {*} [options] Override http request option.
|
|
2318
2263
|
* @throws {RequiredError}
|
|
@@ -2432,8 +2377,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2432
2377
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2433
2378
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2434
2379
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2435
|
-
* @param {
|
|
2436
|
-
* @param {
|
|
2380
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2381
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2437
2382
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2438
2383
|
* @param {*} [options] Override http request option.
|
|
2439
2384
|
* @throws {RequiredError}
|
|
@@ -2448,8 +2393,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2448
2393
|
* @param {string} chainName
|
|
2449
2394
|
* @param {string} [accountAddress]
|
|
2450
2395
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2451
|
-
* @param {
|
|
2452
|
-
* @param {
|
|
2396
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2397
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2453
2398
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2454
2399
|
* @param {*} [options] Override http request option.
|
|
2455
2400
|
* @throws {RequiredError}
|
|
@@ -2470,90 +2415,72 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
2470
2415
|
/**
|
|
2471
2416
|
* Cancel one or more orders
|
|
2472
2417
|
* @summary Cancel one or more orders
|
|
2473
|
-
* @param {
|
|
2474
|
-
* @param {CancelOrdersRequestBody} cancelOrdersRequestBody
|
|
2418
|
+
* @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
|
|
2475
2419
|
* @param {*} [options] Override http request option.
|
|
2476
2420
|
* @throws {RequiredError}
|
|
2477
2421
|
*/
|
|
2478
|
-
cancelOrders(
|
|
2479
|
-
return localVarFp.cancelOrders(chainName, cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2422
|
+
cancelOrders(requestParameters, options) {
|
|
2423
|
+
return localVarFp.cancelOrders(requestParameters.chainName, requestParameters.cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2480
2424
|
},
|
|
2481
2425
|
/**
|
|
2482
2426
|
* Create a listing
|
|
2483
2427
|
* @summary Create a listing
|
|
2484
|
-
* @param {
|
|
2485
|
-
* @param {CreateListingRequestBody} createListingRequestBody
|
|
2428
|
+
* @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
|
|
2486
2429
|
* @param {*} [options] Override http request option.
|
|
2487
2430
|
* @throws {RequiredError}
|
|
2488
2431
|
*/
|
|
2489
|
-
createListing(
|
|
2490
|
-
return localVarFp.createListing(chainName, createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2432
|
+
createListing(requestParameters, options) {
|
|
2433
|
+
return localVarFp.createListing(requestParameters.chainName, requestParameters.createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2491
2434
|
},
|
|
2492
2435
|
/**
|
|
2493
2436
|
* Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
|
|
2494
2437
|
* @summary Retrieve fulfillment data for orders
|
|
2495
|
-
* @param {
|
|
2496
|
-
* @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
|
|
2438
|
+
* @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
|
|
2497
2439
|
* @param {*} [options] Override http request option.
|
|
2498
2440
|
* @throws {RequiredError}
|
|
2499
2441
|
*/
|
|
2500
|
-
fulfillmentData(
|
|
2501
|
-
return localVarFp.fulfillmentData(chainName, fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2442
|
+
fulfillmentData(requestParameters, options) {
|
|
2443
|
+
return localVarFp.fulfillmentData(requestParameters.chainName, requestParameters.fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2502
2444
|
},
|
|
2503
2445
|
/**
|
|
2504
2446
|
* Get a single listing by ID
|
|
2505
2447
|
* @summary Get a single listing by ID
|
|
2506
|
-
* @param {
|
|
2507
|
-
* @param {string} listingId Global Order identifier
|
|
2448
|
+
* @param {OrdersApiGetListingRequest} requestParameters Request parameters.
|
|
2508
2449
|
* @param {*} [options] Override http request option.
|
|
2509
2450
|
* @throws {RequiredError}
|
|
2510
2451
|
*/
|
|
2511
|
-
getListing(
|
|
2512
|
-
return localVarFp.getListing(chainName, listingId, options).then((request) => request(axios, basePath));
|
|
2452
|
+
getListing(requestParameters, options) {
|
|
2453
|
+
return localVarFp.getListing(requestParameters.chainName, requestParameters.listingId, options).then((request) => request(axios, basePath));
|
|
2513
2454
|
},
|
|
2514
2455
|
/**
|
|
2515
2456
|
* Get a single trade by ID
|
|
2516
2457
|
* @summary Get a single trade by ID
|
|
2517
|
-
* @param {
|
|
2518
|
-
* @param {string} tradeId Global Trade identifier
|
|
2458
|
+
* @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
|
|
2519
2459
|
* @param {*} [options] Override http request option.
|
|
2520
2460
|
* @throws {RequiredError}
|
|
2521
2461
|
*/
|
|
2522
|
-
getTrade(
|
|
2523
|
-
return localVarFp.getTrade(chainName, tradeId, options).then((request) => request(axios, basePath));
|
|
2462
|
+
getTrade(requestParameters, options) {
|
|
2463
|
+
return localVarFp.getTrade(requestParameters.chainName, requestParameters.tradeId, options).then((request) => request(axios, basePath));
|
|
2524
2464
|
},
|
|
2525
2465
|
/**
|
|
2526
2466
|
* List all listings
|
|
2527
2467
|
* @summary List all listings
|
|
2528
|
-
* @param {
|
|
2529
|
-
* @param {OrderStatusName} [status] Order status to filter by
|
|
2530
|
-
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2531
|
-
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2532
|
-
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2533
|
-
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2534
|
-
* @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
|
|
2535
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2536
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2468
|
+
* @param {OrdersApiListListingsRequest} requestParameters Request parameters.
|
|
2537
2469
|
* @param {*} [options] Override http request option.
|
|
2538
2470
|
* @throws {RequiredError}
|
|
2539
2471
|
*/
|
|
2540
|
-
listListings(
|
|
2541
|
-
return localVarFp.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2472
|
+
listListings(requestParameters, options) {
|
|
2473
|
+
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));
|
|
2542
2474
|
},
|
|
2543
2475
|
/**
|
|
2544
2476
|
* List all trades
|
|
2545
2477
|
* @summary List all trades
|
|
2546
|
-
* @param {
|
|
2547
|
-
* @param {string} [accountAddress]
|
|
2548
|
-
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2549
|
-
* @param {'indexed_at'} [sortBy] Trade field to sort by
|
|
2550
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2551
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2478
|
+
* @param {OrdersApiListTradesRequest} requestParameters Request parameters.
|
|
2552
2479
|
* @param {*} [options] Override http request option.
|
|
2553
2480
|
* @throws {RequiredError}
|
|
2554
2481
|
*/
|
|
2555
|
-
listTrades(
|
|
2556
|
-
return localVarFp.listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2482
|
+
listTrades(requestParameters, options) {
|
|
2483
|
+
return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
2557
2484
|
},
|
|
2558
2485
|
};
|
|
2559
2486
|
};
|
|
@@ -2642,6 +2569,34 @@ class OrdersApi extends BaseAPI$1 {
|
|
|
2642
2569
|
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));
|
|
2643
2570
|
}
|
|
2644
2571
|
}
|
|
2572
|
+
/**
|
|
2573
|
+
* @export
|
|
2574
|
+
*/
|
|
2575
|
+
const ListListingsSortByEnum$1 = {
|
|
2576
|
+
CreatedAt: 'created_at',
|
|
2577
|
+
UpdatedAt: 'updated_at',
|
|
2578
|
+
BuyItemAmount: 'buy_item_amount'
|
|
2579
|
+
};
|
|
2580
|
+
/**
|
|
2581
|
+
* @export
|
|
2582
|
+
*/
|
|
2583
|
+
const ListListingsSortDirectionEnum$1 = {
|
|
2584
|
+
Asc: 'asc',
|
|
2585
|
+
Desc: 'desc'
|
|
2586
|
+
};
|
|
2587
|
+
/**
|
|
2588
|
+
* @export
|
|
2589
|
+
*/
|
|
2590
|
+
const ListTradesSortByEnum$1 = {
|
|
2591
|
+
IndexedAt: 'indexed_at'
|
|
2592
|
+
};
|
|
2593
|
+
/**
|
|
2594
|
+
* @export
|
|
2595
|
+
*/
|
|
2596
|
+
const ListTradesSortDirectionEnum$1 = {
|
|
2597
|
+
Asc: 'asc',
|
|
2598
|
+
Desc: 'desc'
|
|
2599
|
+
};
|
|
2645
2600
|
|
|
2646
2601
|
/* tslint:disable */
|
|
2647
2602
|
/* eslint-disable */
|
|
@@ -2770,22 +2725,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
|
|
|
2770
2725
|
/**
|
|
2771
2726
|
* Create a counterfactual address for a user based on their Ethereum address
|
|
2772
2727
|
* @summary Create a counterfactual address
|
|
2773
|
-
* @param {
|
|
2728
|
+
* @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
|
|
2774
2729
|
* @param {*} [options] Override http request option.
|
|
2775
2730
|
* @throws {RequiredError}
|
|
2776
2731
|
*/
|
|
2777
|
-
createCounterfactualAddress(
|
|
2778
|
-
return localVarFp.createCounterfactualAddress(createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2732
|
+
createCounterfactualAddress(requestParameters, options) {
|
|
2733
|
+
return localVarFp.createCounterfactualAddress(requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2779
2734
|
},
|
|
2780
2735
|
/**
|
|
2781
2736
|
* Get all the Ethereum linked addresses for a user based on its userId
|
|
2782
2737
|
* @summary Get Ethereum linked addresses for a user
|
|
2783
|
-
* @param {
|
|
2738
|
+
* @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
|
|
2784
2739
|
* @param {*} [options] Override http request option.
|
|
2785
2740
|
* @throws {RequiredError}
|
|
2786
2741
|
*/
|
|
2787
|
-
getLinkedAddresses(
|
|
2788
|
-
return localVarFp.getLinkedAddresses(userId, options).then((request) => request(axios, basePath));
|
|
2742
|
+
getLinkedAddresses(requestParameters, options) {
|
|
2743
|
+
return localVarFp.getLinkedAddresses(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2789
2744
|
},
|
|
2790
2745
|
};
|
|
2791
2746
|
};
|
|
@@ -2962,26 +2917,22 @@ const TokensApiFactory = function (configuration, basePath, axios) {
|
|
|
2962
2917
|
/**
|
|
2963
2918
|
* Get single ERC20 token
|
|
2964
2919
|
* @summary Get single ERC20 token
|
|
2965
|
-
* @param {
|
|
2966
|
-
* @param {string} chainName The name of chain
|
|
2920
|
+
* @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
|
|
2967
2921
|
* @param {*} [options] Override http request option.
|
|
2968
2922
|
* @throws {RequiredError}
|
|
2969
2923
|
*/
|
|
2970
|
-
getERC20Token(
|
|
2971
|
-
return localVarFp.getERC20Token(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
2924
|
+
getERC20Token(requestParameters, options) {
|
|
2925
|
+
return localVarFp.getERC20Token(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
2972
2926
|
},
|
|
2973
2927
|
/**
|
|
2974
2928
|
* List ERC20 tokens
|
|
2975
2929
|
* @summary List ERC20 tokens
|
|
2976
|
-
* @param {
|
|
2977
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
2978
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2979
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
2930
|
+
* @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
|
|
2980
2931
|
* @param {*} [options] Override http request option.
|
|
2981
2932
|
* @throws {RequiredError}
|
|
2982
2933
|
*/
|
|
2983
|
-
listERC20Tokens(
|
|
2984
|
-
return localVarFp.listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
2934
|
+
listERC20Tokens(requestParameters, options) {
|
|
2935
|
+
return localVarFp.listERC20Tokens(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2985
2936
|
},
|
|
2986
2937
|
};
|
|
2987
2938
|
};
|
|
@@ -3104,125 +3055,6 @@ let Configuration$2 = class Configuration {
|
|
|
3104
3055
|
}
|
|
3105
3056
|
};
|
|
3106
3057
|
|
|
3107
|
-
/* tslint:disable */
|
|
3108
|
-
/* eslint-disable */
|
|
3109
|
-
/**
|
|
3110
|
-
* Immutable zkEVM API
|
|
3111
|
-
* Immutable Multi Rollup API
|
|
3112
|
-
*
|
|
3113
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3114
|
-
* Contact: support@immutable.com
|
|
3115
|
-
*
|
|
3116
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3117
|
-
* https://openapi-generator.tech
|
|
3118
|
-
* Do not edit the class manually.
|
|
3119
|
-
*/
|
|
3120
|
-
const APIError400AllOfCodeEnum = {
|
|
3121
|
-
ValidationError: 'VALIDATION_ERROR'
|
|
3122
|
-
};
|
|
3123
|
-
|
|
3124
|
-
/* tslint:disable */
|
|
3125
|
-
/* eslint-disable */
|
|
3126
|
-
/**
|
|
3127
|
-
* Immutable zkEVM API
|
|
3128
|
-
* Immutable Multi Rollup API
|
|
3129
|
-
*
|
|
3130
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3131
|
-
* Contact: support@immutable.com
|
|
3132
|
-
*
|
|
3133
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3134
|
-
* https://openapi-generator.tech
|
|
3135
|
-
* Do not edit the class manually.
|
|
3136
|
-
*/
|
|
3137
|
-
const APIError401AllOfCodeEnum = {
|
|
3138
|
-
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
3139
|
-
};
|
|
3140
|
-
|
|
3141
|
-
/* tslint:disable */
|
|
3142
|
-
/* eslint-disable */
|
|
3143
|
-
/**
|
|
3144
|
-
* Immutable zkEVM API
|
|
3145
|
-
* Immutable Multi Rollup API
|
|
3146
|
-
*
|
|
3147
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3148
|
-
* Contact: support@immutable.com
|
|
3149
|
-
*
|
|
3150
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3151
|
-
* https://openapi-generator.tech
|
|
3152
|
-
* Do not edit the class manually.
|
|
3153
|
-
*/
|
|
3154
|
-
const APIError403AllOfCodeEnum = {
|
|
3155
|
-
AuthenticationError: 'AUTHENTICATION_ERROR'
|
|
3156
|
-
};
|
|
3157
|
-
|
|
3158
|
-
/* tslint:disable */
|
|
3159
|
-
/* eslint-disable */
|
|
3160
|
-
/**
|
|
3161
|
-
* Immutable zkEVM API
|
|
3162
|
-
* Immutable Multi Rollup API
|
|
3163
|
-
*
|
|
3164
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3165
|
-
* Contact: support@immutable.com
|
|
3166
|
-
*
|
|
3167
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3168
|
-
* https://openapi-generator.tech
|
|
3169
|
-
* Do not edit the class manually.
|
|
3170
|
-
*/
|
|
3171
|
-
const APIError404AllOfCodeEnum = {
|
|
3172
|
-
ResourceNotFound: 'RESOURCE_NOT_FOUND'
|
|
3173
|
-
};
|
|
3174
|
-
|
|
3175
|
-
/* tslint:disable */
|
|
3176
|
-
/* eslint-disable */
|
|
3177
|
-
/**
|
|
3178
|
-
* Immutable zkEVM API
|
|
3179
|
-
* Immutable Multi Rollup API
|
|
3180
|
-
*
|
|
3181
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3182
|
-
* Contact: support@immutable.com
|
|
3183
|
-
*
|
|
3184
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3185
|
-
* https://openapi-generator.tech
|
|
3186
|
-
* Do not edit the class manually.
|
|
3187
|
-
*/
|
|
3188
|
-
const APIError429AllOfCodeEnum = {
|
|
3189
|
-
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
3190
|
-
};
|
|
3191
|
-
|
|
3192
|
-
/* tslint:disable */
|
|
3193
|
-
/* eslint-disable */
|
|
3194
|
-
/**
|
|
3195
|
-
* Immutable zkEVM API
|
|
3196
|
-
* Immutable Multi Rollup API
|
|
3197
|
-
*
|
|
3198
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3199
|
-
* Contact: support@immutable.com
|
|
3200
|
-
*
|
|
3201
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3202
|
-
* https://openapi-generator.tech
|
|
3203
|
-
* Do not edit the class manually.
|
|
3204
|
-
*/
|
|
3205
|
-
const APIError500AllOfCodeEnum = {
|
|
3206
|
-
InternalServerError: 'INTERNAL_SERVER_ERROR'
|
|
3207
|
-
};
|
|
3208
|
-
|
|
3209
|
-
/* tslint:disable */
|
|
3210
|
-
/* eslint-disable */
|
|
3211
|
-
/**
|
|
3212
|
-
* Immutable zkEVM API
|
|
3213
|
-
* Immutable Multi Rollup API
|
|
3214
|
-
*
|
|
3215
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3216
|
-
* Contact: support@immutable.com
|
|
3217
|
-
*
|
|
3218
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3219
|
-
* https://openapi-generator.tech
|
|
3220
|
-
* Do not edit the class manually.
|
|
3221
|
-
*/
|
|
3222
|
-
const APIError501AllOfCodeEnum = {
|
|
3223
|
-
NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
|
|
3224
|
-
};
|
|
3225
|
-
|
|
3226
3058
|
/* tslint:disable */
|
|
3227
3059
|
/* eslint-disable */
|
|
3228
3060
|
/**
|
|
@@ -3587,13 +3419,6 @@ const TokenContractType = {
|
|
|
3587
3419
|
|
|
3588
3420
|
var index = /*#__PURE__*/Object.freeze({
|
|
3589
3421
|
__proto__: null,
|
|
3590
|
-
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
|
|
3591
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
3592
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
3593
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
3594
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
3595
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
3596
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
3597
3422
|
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
3598
3423
|
ActivitiesApi: ActivitiesApi,
|
|
3599
3424
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
@@ -3619,6 +3444,10 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3619
3444
|
FeeFeeTypeEnum: FeeFeeTypeEnum,
|
|
3620
3445
|
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
3621
3446
|
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
3447
|
+
ListListingsSortByEnum: ListListingsSortByEnum$1,
|
|
3448
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
|
|
3449
|
+
ListTradesSortByEnum: ListTradesSortByEnum$1,
|
|
3450
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
|
|
3622
3451
|
MetadataApi: MetadataApi,
|
|
3623
3452
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
3624
3453
|
MetadataApiFactory: MetadataApiFactory,
|
|
@@ -3652,6 +3481,134 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3652
3481
|
TokensApiFp: TokensApiFp
|
|
3653
3482
|
});
|
|
3654
3483
|
|
|
3484
|
+
/* tslint:disable */
|
|
3485
|
+
/* eslint-disable */
|
|
3486
|
+
/**
|
|
3487
|
+
* Immutable zkEVM API
|
|
3488
|
+
* Immutable Multi Rollup API
|
|
3489
|
+
*
|
|
3490
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3491
|
+
* Contact: support@immutable.com
|
|
3492
|
+
*
|
|
3493
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3494
|
+
* https://openapi-generator.tech
|
|
3495
|
+
* Do not edit the class manually.
|
|
3496
|
+
*/
|
|
3497
|
+
// @ts-ignore
|
|
3498
|
+
|
|
3499
|
+
var activitiesApiTypes = /*#__PURE__*/Object.freeze({
|
|
3500
|
+
__proto__: null,
|
|
3501
|
+
ActivityType: ActivityType
|
|
3502
|
+
});
|
|
3503
|
+
|
|
3504
|
+
/* tslint:disable */
|
|
3505
|
+
/* eslint-disable */
|
|
3506
|
+
/**
|
|
3507
|
+
* Immutable zkEVM API
|
|
3508
|
+
* Immutable Multi Rollup API
|
|
3509
|
+
*
|
|
3510
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3511
|
+
* Contact: support@immutable.com
|
|
3512
|
+
*
|
|
3513
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3514
|
+
* https://openapi-generator.tech
|
|
3515
|
+
* Do not edit the class manually.
|
|
3516
|
+
*/
|
|
3517
|
+
|
|
3518
|
+
var chainsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3519
|
+
__proto__: null
|
|
3520
|
+
});
|
|
3521
|
+
|
|
3522
|
+
/* tslint:disable */
|
|
3523
|
+
/* eslint-disable */
|
|
3524
|
+
/**
|
|
3525
|
+
* Immutable zkEVM API
|
|
3526
|
+
* Immutable Multi Rollup API
|
|
3527
|
+
*
|
|
3528
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3529
|
+
* Contact: support@immutable.com
|
|
3530
|
+
*
|
|
3531
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3532
|
+
* https://openapi-generator.tech
|
|
3533
|
+
* Do not edit the class manually.
|
|
3534
|
+
*/
|
|
3535
|
+
|
|
3536
|
+
var collectionsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3537
|
+
__proto__: null
|
|
3538
|
+
});
|
|
3539
|
+
|
|
3540
|
+
/* tslint:disable */
|
|
3541
|
+
/* eslint-disable */
|
|
3542
|
+
/**
|
|
3543
|
+
* Immutable zkEVM API
|
|
3544
|
+
* Immutable Multi Rollup API
|
|
3545
|
+
*
|
|
3546
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3547
|
+
* Contact: support@immutable.com
|
|
3548
|
+
*
|
|
3549
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3550
|
+
* https://openapi-generator.tech
|
|
3551
|
+
* Do not edit the class manually.
|
|
3552
|
+
*/
|
|
3553
|
+
|
|
3554
|
+
var metadataApiTypes = /*#__PURE__*/Object.freeze({
|
|
3555
|
+
__proto__: null
|
|
3556
|
+
});
|
|
3557
|
+
|
|
3558
|
+
/* tslint:disable */
|
|
3559
|
+
/* eslint-disable */
|
|
3560
|
+
/**
|
|
3561
|
+
* Immutable zkEVM API
|
|
3562
|
+
* Immutable Multi Rollup API
|
|
3563
|
+
*
|
|
3564
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3565
|
+
* Contact: support@immutable.com
|
|
3566
|
+
*
|
|
3567
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3568
|
+
* https://openapi-generator.tech
|
|
3569
|
+
* Do not edit the class manually.
|
|
3570
|
+
*/
|
|
3571
|
+
|
|
3572
|
+
var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
|
|
3573
|
+
__proto__: null
|
|
3574
|
+
});
|
|
3575
|
+
|
|
3576
|
+
/* tslint:disable */
|
|
3577
|
+
/* eslint-disable */
|
|
3578
|
+
/**
|
|
3579
|
+
* Immutable zkEVM API
|
|
3580
|
+
* Immutable Multi Rollup API
|
|
3581
|
+
*
|
|
3582
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3583
|
+
* Contact: support@immutable.com
|
|
3584
|
+
*
|
|
3585
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3586
|
+
* https://openapi-generator.tech
|
|
3587
|
+
* Do not edit the class manually.
|
|
3588
|
+
*/
|
|
3589
|
+
|
|
3590
|
+
var nftsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3591
|
+
__proto__: null
|
|
3592
|
+
});
|
|
3593
|
+
|
|
3594
|
+
/* tslint:disable */
|
|
3595
|
+
/* eslint-disable */
|
|
3596
|
+
/**
|
|
3597
|
+
* Immutable zkEVM API
|
|
3598
|
+
* Immutable Multi Rollup API
|
|
3599
|
+
*
|
|
3600
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3601
|
+
* Contact: support@immutable.com
|
|
3602
|
+
*
|
|
3603
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3604
|
+
* https://openapi-generator.tech
|
|
3605
|
+
* Do not edit the class manually.
|
|
3606
|
+
*/
|
|
3607
|
+
|
|
3608
|
+
var tokensApiTypes = /*#__PURE__*/Object.freeze({
|
|
3609
|
+
__proto__: null
|
|
3610
|
+
});
|
|
3611
|
+
|
|
3655
3612
|
class MultiRollupApiClients {
|
|
3656
3613
|
config;
|
|
3657
3614
|
activitiesApi;
|
|
@@ -3674,7 +3631,7 @@ class MultiRollupApiClients {
|
|
|
3674
3631
|
}
|
|
3675
3632
|
|
|
3676
3633
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3677
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.
|
|
3634
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.2-alpha' };
|
|
3678
3635
|
const createConfig = ({ basePath, headers, }) => {
|
|
3679
3636
|
if (!basePath.trim()) {
|
|
3680
3637
|
throw Error('basePath can not be empty');
|
|
@@ -3734,7 +3691,7 @@ class APIError extends Error {
|
|
|
3734
3691
|
|
|
3735
3692
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3736
3693
|
const defaultHeaders = {
|
|
3737
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.
|
|
3694
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.2-alpha',
|
|
3738
3695
|
};
|
|
3739
3696
|
/**
|
|
3740
3697
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4126,7 +4083,14 @@ class BlockchainData {
|
|
|
4126
4083
|
var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
4127
4084
|
__proto__: null,
|
|
4128
4085
|
APIError: APIError,
|
|
4129
|
-
|
|
4086
|
+
ActivitiesApi: activitiesApiTypes,
|
|
4087
|
+
BlockchainData: BlockchainData,
|
|
4088
|
+
ChainsApi: chainsApiTypes,
|
|
4089
|
+
CollectionsApi: collectionsApiTypes,
|
|
4090
|
+
MetadataApi: metadataApiTypes,
|
|
4091
|
+
NFTOwnersApi: nftOwnersApiTypes,
|
|
4092
|
+
NFTsApi: nftsApiTypes,
|
|
4093
|
+
TokensApi: tokensApiTypes
|
|
4130
4094
|
});
|
|
4131
4095
|
|
|
4132
4096
|
/**
|
|
@@ -4138,7 +4102,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4138
4102
|
chainID,
|
|
4139
4103
|
coreContractAddress,
|
|
4140
4104
|
registrationContractAddress,
|
|
4141
|
-
sdkVersion: 'ts-immutable-sdk-0.27.
|
|
4105
|
+
sdkVersion: 'ts-immutable-sdk-0.27.2-alpha',
|
|
4142
4106
|
});
|
|
4143
4107
|
/**
|
|
4144
4108
|
* Sets `sdkVersion` at the time of build
|
|
@@ -33063,7 +33027,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
|
|
|
33063
33027
|
})($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
|
|
33064
33028
|
|
|
33065
33029
|
|
|
33066
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.
|
|
33030
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.2-alpha";
|
|
33067
33031
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
33068
33032
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
33069
33033
|
|