@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/blockchain_data.d.ts +996 -79
- package/dist/blockchain_data.js +341 -265
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +1 -1
- package/dist/checkout_sdk.js +218 -270
- 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 +351 -268
- package/dist/index.d.ts +1160 -236
- package/dist/index.js +351 -268
- package/dist/passport.js +25 -20
- 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
|
};
|
|
@@ -719,13 +708,14 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
|
719
708
|
* List all collections
|
|
720
709
|
* @summary List all collections
|
|
721
710
|
* @param {string} chainName The name of chain
|
|
711
|
+
* @param {Array<string>} [contractAddress] List of contract addresses to filter by
|
|
722
712
|
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
723
713
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
724
714
|
* @param {number} [pageSize] Maximum number of items to return
|
|
725
715
|
* @param {*} [options] Override http request option.
|
|
726
716
|
* @throws {RequiredError}
|
|
727
717
|
*/
|
|
728
|
-
listCollections: async (chainName, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
|
|
718
|
+
listCollections: async (chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options = {}) => {
|
|
729
719
|
// verify required parameter 'chainName' is not null or undefined
|
|
730
720
|
assertParamExists$1('listCollections', 'chainName', chainName);
|
|
731
721
|
const localVarPath = `/v1/chains/{chain_name}/collections`
|
|
@@ -739,6 +729,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
|
739
729
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
740
730
|
const localVarHeaderParameter = {};
|
|
741
731
|
const localVarQueryParameter = {};
|
|
732
|
+
if (contractAddress) {
|
|
733
|
+
localVarQueryParameter['contract_address'] = contractAddress;
|
|
734
|
+
}
|
|
742
735
|
if (fromUpdatedAt !== undefined) {
|
|
743
736
|
localVarQueryParameter['from_updated_at'] = (fromUpdatedAt instanceof Date) ?
|
|
744
737
|
fromUpdatedAt.toISOString() :
|
|
@@ -864,14 +857,15 @@ const CollectionsApiFp = function (configuration) {
|
|
|
864
857
|
* List all collections
|
|
865
858
|
* @summary List all collections
|
|
866
859
|
* @param {string} chainName The name of chain
|
|
860
|
+
* @param {Array<string>} [contractAddress] List of contract addresses to filter by
|
|
867
861
|
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
868
862
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
869
863
|
* @param {number} [pageSize] Maximum number of items to return
|
|
870
864
|
* @param {*} [options] Override http request option.
|
|
871
865
|
* @throws {RequiredError}
|
|
872
866
|
*/
|
|
873
|
-
async listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
|
|
874
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(chainName, fromUpdatedAt, pageCursor, pageSize, options);
|
|
867
|
+
async listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options);
|
|
875
869
|
return createRequestFunction$1(localVarAxiosArgs, globalAxios$1, BASE_PATH$1, configuration);
|
|
876
870
|
},
|
|
877
871
|
/**
|
|
@@ -913,51 +907,42 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
913
907
|
/**
|
|
914
908
|
* Get collection by contract address
|
|
915
909
|
* @summary Get collection by contract address
|
|
916
|
-
* @param {
|
|
917
|
-
* @param {string} chainName The name of chain
|
|
910
|
+
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
918
911
|
* @param {*} [options] Override http request option.
|
|
919
912
|
* @throws {RequiredError}
|
|
920
913
|
*/
|
|
921
|
-
getCollection(
|
|
922
|
-
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));
|
|
923
916
|
},
|
|
924
917
|
/**
|
|
925
918
|
* List all collections
|
|
926
919
|
* @summary List all collections
|
|
927
|
-
* @param {
|
|
928
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
929
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
930
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
920
|
+
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
931
921
|
* @param {*} [options] Override http request option.
|
|
932
922
|
* @throws {RequiredError}
|
|
933
923
|
*/
|
|
934
|
-
listCollections(
|
|
935
|
-
return localVarFp.listCollections(chainName, 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));
|
|
936
926
|
},
|
|
937
927
|
/**
|
|
938
928
|
* List collections by NFT owner account address
|
|
939
929
|
* @summary List collections by NFT owner
|
|
940
|
-
* @param {
|
|
941
|
-
* @param {string} chainName The name of chain
|
|
942
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
943
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
930
|
+
* @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
|
|
944
931
|
* @param {*} [options] Override http request option.
|
|
945
932
|
* @throws {RequiredError}
|
|
946
933
|
*/
|
|
947
|
-
listCollectionsByNFTOwner(
|
|
948
|
-
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));
|
|
949
936
|
},
|
|
950
937
|
/**
|
|
951
938
|
* Refresh collection metadata
|
|
952
939
|
* @summary Refresh collection metadata
|
|
953
|
-
* @param {
|
|
954
|
-
* @param {string} chainName The name of chain
|
|
955
|
-
* @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
|
|
940
|
+
* @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
|
|
956
941
|
* @param {*} [options] Override http request option.
|
|
957
942
|
* @throws {RequiredError}
|
|
958
943
|
*/
|
|
959
|
-
refreshCollectionMetadata(
|
|
960
|
-
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));
|
|
961
946
|
},
|
|
962
947
|
};
|
|
963
948
|
};
|
|
@@ -988,7 +973,7 @@ class CollectionsApi extends BaseAPI$1 {
|
|
|
988
973
|
* @memberof CollectionsApi
|
|
989
974
|
*/
|
|
990
975
|
listCollections(requestParameters, options) {
|
|
991
|
-
return CollectionsApiFp(this.configuration).listCollections(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
976
|
+
return CollectionsApiFp(this.configuration).listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
992
977
|
}
|
|
993
978
|
/**
|
|
994
979
|
* List collections by NFT owner account address
|
|
@@ -1272,52 +1257,42 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
1272
1257
|
/**
|
|
1273
1258
|
* Get metadata by ID
|
|
1274
1259
|
* @summary Get metadata by ID
|
|
1275
|
-
* @param {
|
|
1276
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1277
|
-
* @param {string} metadataId The id of the metadata
|
|
1260
|
+
* @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
|
|
1278
1261
|
* @param {*} [options] Override http request option.
|
|
1279
1262
|
* @throws {RequiredError}
|
|
1280
1263
|
*/
|
|
1281
|
-
getMetadata(
|
|
1282
|
-
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));
|
|
1283
1266
|
},
|
|
1284
1267
|
/**
|
|
1285
1268
|
* Get a list of metadata by from the a given contract
|
|
1286
1269
|
* @summary Get a list of metadata by from the a given contract
|
|
1287
|
-
* @param {
|
|
1288
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1289
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1290
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1291
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1270
|
+
* @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
|
|
1292
1271
|
* @param {*} [options] Override http request option.
|
|
1293
1272
|
* @throws {RequiredError}
|
|
1294
1273
|
*/
|
|
1295
|
-
listMetadata(
|
|
1296
|
-
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));
|
|
1297
1276
|
},
|
|
1298
1277
|
/**
|
|
1299
1278
|
* Refresh stacked metadata
|
|
1300
1279
|
* @summary Refresh stacked metadata
|
|
1301
|
-
* @param {
|
|
1302
|
-
* @param {string} contractAddress Contract address
|
|
1303
|
-
* @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
|
|
1280
|
+
* @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
|
|
1304
1281
|
* @param {*} [options] Override http request option.
|
|
1305
1282
|
* @throws {RequiredError}
|
|
1306
1283
|
*/
|
|
1307
|
-
refreshMetadataByID(
|
|
1308
|
-
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));
|
|
1309
1286
|
},
|
|
1310
1287
|
/**
|
|
1311
1288
|
* Refresh NFT metadata
|
|
1312
1289
|
* @summary Refresh NFT metadata
|
|
1313
|
-
* @param {
|
|
1314
|
-
* @param {string} chainName The name of chain
|
|
1315
|
-
* @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
|
|
1290
|
+
* @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
|
|
1316
1291
|
* @param {*} [options] Override http request option.
|
|
1317
1292
|
* @throws {RequiredError}
|
|
1318
1293
|
*/
|
|
1319
|
-
refreshNFTMetadataByTokenID(
|
|
1320
|
-
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));
|
|
1321
1296
|
},
|
|
1322
1297
|
};
|
|
1323
1298
|
};
|
|
@@ -1536,30 +1511,22 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1536
1511
|
/**
|
|
1537
1512
|
* List NFT owners by token ID
|
|
1538
1513
|
* @summary List NFT owners by token ID
|
|
1539
|
-
* @param {
|
|
1540
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1541
|
-
* @param {string} chainName The name of chain
|
|
1542
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1543
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1514
|
+
* @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
|
|
1544
1515
|
* @param {*} [options] Override http request option.
|
|
1545
1516
|
* @throws {RequiredError}
|
|
1546
1517
|
*/
|
|
1547
|
-
listNFTOwners(
|
|
1548
|
-
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));
|
|
1549
1520
|
},
|
|
1550
1521
|
/**
|
|
1551
1522
|
* List owners by contract address
|
|
1552
1523
|
* @summary List owners by contract address
|
|
1553
|
-
* @param {
|
|
1554
|
-
* @param {string} chainName The name of chain
|
|
1555
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1556
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1557
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1524
|
+
* @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
|
|
1558
1525
|
* @param {*} [options] Override http request option.
|
|
1559
1526
|
* @throws {RequiredError}
|
|
1560
1527
|
*/
|
|
1561
|
-
listOwnersByContractAddress(
|
|
1562
|
-
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));
|
|
1563
1530
|
},
|
|
1564
1531
|
};
|
|
1565
1532
|
};
|
|
@@ -1922,68 +1889,52 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
1922
1889
|
/**
|
|
1923
1890
|
* Get NFT by token ID
|
|
1924
1891
|
* @summary Get NFT by token ID
|
|
1925
|
-
* @param {
|
|
1926
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1927
|
-
* @param {string} chainName The name of chain
|
|
1892
|
+
* @param {NftsApiGetNFTRequest} requestParameters Request parameters.
|
|
1928
1893
|
* @param {*} [options] Override http request option.
|
|
1929
1894
|
* @throws {RequiredError}
|
|
1930
1895
|
*/
|
|
1931
|
-
getNFT(
|
|
1932
|
-
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));
|
|
1933
1898
|
},
|
|
1934
1899
|
/**
|
|
1935
1900
|
* List all NFT owners on a chain
|
|
1936
1901
|
* @summary List all NFT owners
|
|
1937
|
-
* @param {
|
|
1938
|
-
* @param {string} fromUpdatedAt Datetime to use as the oldest updated timestamp
|
|
1939
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1940
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1902
|
+
* @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
|
|
1941
1903
|
* @param {*} [options] Override http request option.
|
|
1942
1904
|
* @throws {RequiredError}
|
|
1943
1905
|
*/
|
|
1944
|
-
listAllNFTOwners(
|
|
1945
|
-
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));
|
|
1946
1908
|
},
|
|
1947
1909
|
/**
|
|
1948
1910
|
* List all NFTs on a chain
|
|
1949
1911
|
* @summary List all NFTs
|
|
1950
|
-
* @param {
|
|
1951
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1952
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1953
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1912
|
+
* @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
|
|
1954
1913
|
* @param {*} [options] Override http request option.
|
|
1955
1914
|
* @throws {RequiredError}
|
|
1956
1915
|
*/
|
|
1957
|
-
listAllNFTs(
|
|
1958
|
-
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));
|
|
1959
1918
|
},
|
|
1960
1919
|
/**
|
|
1961
1920
|
* List NFTs by contract address
|
|
1962
1921
|
* @summary List NFTs by contract address
|
|
1963
|
-
* @param {
|
|
1964
|
-
* @param {string} chainName The name of chain
|
|
1965
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1966
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1967
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1922
|
+
* @param {NftsApiListNFTsRequest} requestParameters Request parameters.
|
|
1968
1923
|
* @param {*} [options] Override http request option.
|
|
1969
1924
|
* @throws {RequiredError}
|
|
1970
1925
|
*/
|
|
1971
|
-
listNFTs(
|
|
1972
|
-
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));
|
|
1973
1928
|
},
|
|
1974
1929
|
/**
|
|
1975
1930
|
* List NFTs by account address
|
|
1976
1931
|
* @summary List NFTs by account address
|
|
1977
|
-
* @param {
|
|
1978
|
-
* @param {string} chainName The name of chain
|
|
1979
|
-
* @param {string} [contractAddress] The address of contract
|
|
1980
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1981
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1932
|
+
* @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
|
|
1982
1933
|
* @param {*} [options] Override http request option.
|
|
1983
1934
|
* @throws {RequiredError}
|
|
1984
1935
|
*/
|
|
1985
|
-
listNFTsByAccountAddress(
|
|
1986
|
-
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));
|
|
1987
1938
|
},
|
|
1988
1939
|
};
|
|
1989
1940
|
};
|
|
@@ -2242,13 +2193,13 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2242
2193
|
* List all listings
|
|
2243
2194
|
* @summary List all listings
|
|
2244
2195
|
* @param {string} chainName
|
|
2245
|
-
* @param {
|
|
2196
|
+
* @param {OrderStatusName} [status] Order status to filter by
|
|
2246
2197
|
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2247
2198
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2248
2199
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2249
2200
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2250
|
-
* @param {
|
|
2251
|
-
* @param {
|
|
2201
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2202
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2252
2203
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2253
2204
|
* @param {*} [options] Override http request option.
|
|
2254
2205
|
* @throws {RequiredError}
|
|
@@ -2305,8 +2256,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2305
2256
|
* @param {string} chainName
|
|
2306
2257
|
* @param {string} [accountAddress]
|
|
2307
2258
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2308
|
-
* @param {
|
|
2309
|
-
* @param {
|
|
2259
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2260
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2310
2261
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2311
2262
|
* @param {*} [options] Override http request option.
|
|
2312
2263
|
* @throws {RequiredError}
|
|
@@ -2421,13 +2372,13 @@ const OrdersApiFp = function (configuration) {
|
|
|
2421
2372
|
* List all listings
|
|
2422
2373
|
* @summary List all listings
|
|
2423
2374
|
* @param {string} chainName
|
|
2424
|
-
* @param {
|
|
2375
|
+
* @param {OrderStatusName} [status] Order status to filter by
|
|
2425
2376
|
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2426
2377
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2427
2378
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2428
2379
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2429
|
-
* @param {
|
|
2430
|
-
* @param {
|
|
2380
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2381
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2431
2382
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2432
2383
|
* @param {*} [options] Override http request option.
|
|
2433
2384
|
* @throws {RequiredError}
|
|
@@ -2442,8 +2393,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2442
2393
|
* @param {string} chainName
|
|
2443
2394
|
* @param {string} [accountAddress]
|
|
2444
2395
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2445
|
-
* @param {
|
|
2446
|
-
* @param {
|
|
2396
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2397
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2447
2398
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2448
2399
|
* @param {*} [options] Override http request option.
|
|
2449
2400
|
* @throws {RequiredError}
|
|
@@ -2464,90 +2415,72 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
2464
2415
|
/**
|
|
2465
2416
|
* Cancel one or more orders
|
|
2466
2417
|
* @summary Cancel one or more orders
|
|
2467
|
-
* @param {
|
|
2468
|
-
* @param {CancelOrdersRequestBody} cancelOrdersRequestBody
|
|
2418
|
+
* @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
|
|
2469
2419
|
* @param {*} [options] Override http request option.
|
|
2470
2420
|
* @throws {RequiredError}
|
|
2471
2421
|
*/
|
|
2472
|
-
cancelOrders(
|
|
2473
|
-
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));
|
|
2474
2424
|
},
|
|
2475
2425
|
/**
|
|
2476
2426
|
* Create a listing
|
|
2477
2427
|
* @summary Create a listing
|
|
2478
|
-
* @param {
|
|
2479
|
-
* @param {CreateListingRequestBody} createListingRequestBody
|
|
2428
|
+
* @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
|
|
2480
2429
|
* @param {*} [options] Override http request option.
|
|
2481
2430
|
* @throws {RequiredError}
|
|
2482
2431
|
*/
|
|
2483
|
-
createListing(
|
|
2484
|
-
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));
|
|
2485
2434
|
},
|
|
2486
2435
|
/**
|
|
2487
2436
|
* Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
|
|
2488
2437
|
* @summary Retrieve fulfillment data for orders
|
|
2489
|
-
* @param {
|
|
2490
|
-
* @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
|
|
2438
|
+
* @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
|
|
2491
2439
|
* @param {*} [options] Override http request option.
|
|
2492
2440
|
* @throws {RequiredError}
|
|
2493
2441
|
*/
|
|
2494
|
-
fulfillmentData(
|
|
2495
|
-
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));
|
|
2496
2444
|
},
|
|
2497
2445
|
/**
|
|
2498
2446
|
* Get a single listing by ID
|
|
2499
2447
|
* @summary Get a single listing by ID
|
|
2500
|
-
* @param {
|
|
2501
|
-
* @param {string} listingId Global Order identifier
|
|
2448
|
+
* @param {OrdersApiGetListingRequest} requestParameters Request parameters.
|
|
2502
2449
|
* @param {*} [options] Override http request option.
|
|
2503
2450
|
* @throws {RequiredError}
|
|
2504
2451
|
*/
|
|
2505
|
-
getListing(
|
|
2506
|
-
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));
|
|
2507
2454
|
},
|
|
2508
2455
|
/**
|
|
2509
2456
|
* Get a single trade by ID
|
|
2510
2457
|
* @summary Get a single trade by ID
|
|
2511
|
-
* @param {
|
|
2512
|
-
* @param {string} tradeId Global Trade identifier
|
|
2458
|
+
* @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
|
|
2513
2459
|
* @param {*} [options] Override http request option.
|
|
2514
2460
|
* @throws {RequiredError}
|
|
2515
2461
|
*/
|
|
2516
|
-
getTrade(
|
|
2517
|
-
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));
|
|
2518
2464
|
},
|
|
2519
2465
|
/**
|
|
2520
2466
|
* List all listings
|
|
2521
2467
|
* @summary List all listings
|
|
2522
|
-
* @param {
|
|
2523
|
-
* @param {OrderStatus} [status] Order status to filter by
|
|
2524
|
-
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2525
|
-
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2526
|
-
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2527
|
-
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2528
|
-
* @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
|
|
2529
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2530
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2468
|
+
* @param {OrdersApiListListingsRequest} requestParameters Request parameters.
|
|
2531
2469
|
* @param {*} [options] Override http request option.
|
|
2532
2470
|
* @throws {RequiredError}
|
|
2533
2471
|
*/
|
|
2534
|
-
listListings(
|
|
2535
|
-
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));
|
|
2536
2474
|
},
|
|
2537
2475
|
/**
|
|
2538
2476
|
* List all trades
|
|
2539
2477
|
* @summary List all trades
|
|
2540
|
-
* @param {
|
|
2541
|
-
* @param {string} [accountAddress]
|
|
2542
|
-
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2543
|
-
* @param {'indexed_at'} [sortBy] Trade field to sort by
|
|
2544
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2545
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2478
|
+
* @param {OrdersApiListTradesRequest} requestParameters Request parameters.
|
|
2546
2479
|
* @param {*} [options] Override http request option.
|
|
2547
2480
|
* @throws {RequiredError}
|
|
2548
2481
|
*/
|
|
2549
|
-
listTrades(
|
|
2550
|
-
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));
|
|
2551
2484
|
},
|
|
2552
2485
|
};
|
|
2553
2486
|
};
|
|
@@ -2636,6 +2569,34 @@ class OrdersApi extends BaseAPI$1 {
|
|
|
2636
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));
|
|
2637
2570
|
}
|
|
2638
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
|
+
};
|
|
2639
2600
|
|
|
2640
2601
|
/* tslint:disable */
|
|
2641
2602
|
/* eslint-disable */
|
|
@@ -2764,22 +2725,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
|
|
|
2764
2725
|
/**
|
|
2765
2726
|
* Create a counterfactual address for a user based on their Ethereum address
|
|
2766
2727
|
* @summary Create a counterfactual address
|
|
2767
|
-
* @param {
|
|
2728
|
+
* @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
|
|
2768
2729
|
* @param {*} [options] Override http request option.
|
|
2769
2730
|
* @throws {RequiredError}
|
|
2770
2731
|
*/
|
|
2771
|
-
createCounterfactualAddress(
|
|
2772
|
-
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));
|
|
2773
2734
|
},
|
|
2774
2735
|
/**
|
|
2775
2736
|
* Get all the Ethereum linked addresses for a user based on its userId
|
|
2776
2737
|
* @summary Get Ethereum linked addresses for a user
|
|
2777
|
-
* @param {
|
|
2738
|
+
* @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
|
|
2778
2739
|
* @param {*} [options] Override http request option.
|
|
2779
2740
|
* @throws {RequiredError}
|
|
2780
2741
|
*/
|
|
2781
|
-
getLinkedAddresses(
|
|
2782
|
-
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));
|
|
2783
2744
|
},
|
|
2784
2745
|
};
|
|
2785
2746
|
};
|
|
@@ -2956,26 +2917,22 @@ const TokensApiFactory = function (configuration, basePath, axios) {
|
|
|
2956
2917
|
/**
|
|
2957
2918
|
* Get single ERC20 token
|
|
2958
2919
|
* @summary Get single ERC20 token
|
|
2959
|
-
* @param {
|
|
2960
|
-
* @param {string} chainName The name of chain
|
|
2920
|
+
* @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
|
|
2961
2921
|
* @param {*} [options] Override http request option.
|
|
2962
2922
|
* @throws {RequiredError}
|
|
2963
2923
|
*/
|
|
2964
|
-
getERC20Token(
|
|
2965
|
-
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));
|
|
2966
2926
|
},
|
|
2967
2927
|
/**
|
|
2968
2928
|
* List ERC20 tokens
|
|
2969
2929
|
* @summary List ERC20 tokens
|
|
2970
|
-
* @param {
|
|
2971
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
2972
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2973
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
2930
|
+
* @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
|
|
2974
2931
|
* @param {*} [options] Override http request option.
|
|
2975
2932
|
* @throws {RequiredError}
|
|
2976
2933
|
*/
|
|
2977
|
-
listERC20Tokens(
|
|
2978
|
-
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));
|
|
2979
2936
|
},
|
|
2980
2937
|
};
|
|
2981
2938
|
};
|
|
@@ -3111,8 +3068,8 @@ let Configuration$2 = class Configuration {
|
|
|
3111
3068
|
* https://openapi-generator.tech
|
|
3112
3069
|
* Do not edit the class manually.
|
|
3113
3070
|
*/
|
|
3114
|
-
const
|
|
3115
|
-
|
|
3071
|
+
const ActiveOrderStatusNameEnum = {
|
|
3072
|
+
Active: 'ACTIVE'
|
|
3116
3073
|
};
|
|
3117
3074
|
|
|
3118
3075
|
/* tslint:disable */
|
|
@@ -3128,25 +3085,18 @@ const APIError400AllOfCodeEnum = {
|
|
|
3128
3085
|
* https://openapi-generator.tech
|
|
3129
3086
|
* Do not edit the class manually.
|
|
3130
3087
|
*/
|
|
3131
|
-
const APIError401AllOfCodeEnum = {
|
|
3132
|
-
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
3133
|
-
};
|
|
3134
|
-
|
|
3135
|
-
/* tslint:disable */
|
|
3136
|
-
/* eslint-disable */
|
|
3137
3088
|
/**
|
|
3138
|
-
*
|
|
3139
|
-
*
|
|
3140
|
-
*
|
|
3141
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3142
|
-
* Contact: support@immutable.com
|
|
3143
|
-
*
|
|
3144
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3145
|
-
* https://openapi-generator.tech
|
|
3146
|
-
* Do not edit the class manually.
|
|
3089
|
+
* The activity type
|
|
3090
|
+
* @export
|
|
3091
|
+
* @enum {string}
|
|
3147
3092
|
*/
|
|
3148
|
-
const
|
|
3149
|
-
|
|
3093
|
+
const ActivityType = {
|
|
3094
|
+
Mint: 'mint',
|
|
3095
|
+
Burn: 'burn',
|
|
3096
|
+
Transfer: 'transfer',
|
|
3097
|
+
Sale: 'sale',
|
|
3098
|
+
Deposit: 'deposit',
|
|
3099
|
+
Withdrawal: 'withdrawal'
|
|
3150
3100
|
};
|
|
3151
3101
|
|
|
3152
3102
|
/* tslint:disable */
|
|
@@ -3162,8 +3112,12 @@ const APIError403AllOfCodeEnum = {
|
|
|
3162
3112
|
* https://openapi-generator.tech
|
|
3163
3113
|
* Do not edit the class manually.
|
|
3164
3114
|
*/
|
|
3165
|
-
const
|
|
3166
|
-
|
|
3115
|
+
const CancelledOrderStatusNameEnum = {
|
|
3116
|
+
Cancelled: 'CANCELLED'
|
|
3117
|
+
};
|
|
3118
|
+
const CancelledOrderStatusCancellationTypeEnum = {
|
|
3119
|
+
OnChain: 'ON_CHAIN',
|
|
3120
|
+
OffChain: 'OFF_CHAIN'
|
|
3167
3121
|
};
|
|
3168
3122
|
|
|
3169
3123
|
/* tslint:disable */
|
|
@@ -3179,25 +3133,13 @@ const APIError404AllOfCodeEnum = {
|
|
|
3179
3133
|
* https://openapi-generator.tech
|
|
3180
3134
|
* Do not edit the class manually.
|
|
3181
3135
|
*/
|
|
3182
|
-
const APIError429AllOfCodeEnum = {
|
|
3183
|
-
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
3184
|
-
};
|
|
3185
|
-
|
|
3186
|
-
/* tslint:disable */
|
|
3187
|
-
/* eslint-disable */
|
|
3188
3136
|
/**
|
|
3189
|
-
*
|
|
3190
|
-
*
|
|
3191
|
-
*
|
|
3192
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3193
|
-
* Contact: support@immutable.com
|
|
3194
|
-
*
|
|
3195
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3196
|
-
* https://openapi-generator.tech
|
|
3197
|
-
* Do not edit the class manually.
|
|
3137
|
+
* The collection contract type
|
|
3138
|
+
* @export
|
|
3139
|
+
* @enum {string}
|
|
3198
3140
|
*/
|
|
3199
|
-
const
|
|
3200
|
-
|
|
3141
|
+
const CollectionContractType = {
|
|
3142
|
+
Erc721: 'ERC721'
|
|
3201
3143
|
};
|
|
3202
3144
|
|
|
3203
3145
|
/* tslint:disable */
|
|
@@ -3213,8 +3155,8 @@ const APIError500AllOfCodeEnum = {
|
|
|
3213
3155
|
* https://openapi-generator.tech
|
|
3214
3156
|
* Do not edit the class manually.
|
|
3215
3157
|
*/
|
|
3216
|
-
const
|
|
3217
|
-
|
|
3158
|
+
const ERC20ItemItemTypeEnum = {
|
|
3159
|
+
Erc20: 'ERC20'
|
|
3218
3160
|
};
|
|
3219
3161
|
|
|
3220
3162
|
/* tslint:disable */
|
|
@@ -3230,18 +3172,8 @@ const APIError501AllOfCodeEnum = {
|
|
|
3230
3172
|
* https://openapi-generator.tech
|
|
3231
3173
|
* Do not edit the class manually.
|
|
3232
3174
|
*/
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
* @export
|
|
3236
|
-
* @enum {string}
|
|
3237
|
-
*/
|
|
3238
|
-
const ActivityType = {
|
|
3239
|
-
Mint: 'mint',
|
|
3240
|
-
Burn: 'burn',
|
|
3241
|
-
Transfer: 'transfer',
|
|
3242
|
-
Sale: 'sale',
|
|
3243
|
-
Deposit: 'deposit',
|
|
3244
|
-
Withdrawal: 'withdrawal'
|
|
3175
|
+
const ERC721ItemItemTypeEnum = {
|
|
3176
|
+
Erc721: 'ERC721'
|
|
3245
3177
|
};
|
|
3246
3178
|
|
|
3247
3179
|
/* tslint:disable */
|
|
@@ -3257,8 +3189,8 @@ const ActivityType = {
|
|
|
3257
3189
|
* https://openapi-generator.tech
|
|
3258
3190
|
* Do not edit the class manually.
|
|
3259
3191
|
*/
|
|
3260
|
-
const
|
|
3261
|
-
|
|
3192
|
+
const ExpiredOrderStatusNameEnum = {
|
|
3193
|
+
Expired: 'EXPIRED'
|
|
3262
3194
|
};
|
|
3263
3195
|
|
|
3264
3196
|
/* tslint:disable */
|
|
@@ -3274,13 +3206,8 @@ const CancelOrdersResultResultFailedCancellationsInnerReasonCodeEnum = {
|
|
|
3274
3206
|
* https://openapi-generator.tech
|
|
3275
3207
|
* Do not edit the class manually.
|
|
3276
3208
|
*/
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
* @export
|
|
3280
|
-
* @enum {string}
|
|
3281
|
-
*/
|
|
3282
|
-
const CollectionContractType = {
|
|
3283
|
-
Erc721: 'ERC721'
|
|
3209
|
+
const FailedOrderCancellationReasonCodeEnum = {
|
|
3210
|
+
AlreadyFilled: 'ALREADY_FILLED'
|
|
3284
3211
|
};
|
|
3285
3212
|
|
|
3286
3213
|
/* tslint:disable */
|
|
@@ -3296,8 +3223,11 @@ const CollectionContractType = {
|
|
|
3296
3223
|
* https://openapi-generator.tech
|
|
3297
3224
|
* Do not edit the class manually.
|
|
3298
3225
|
*/
|
|
3299
|
-
const
|
|
3300
|
-
|
|
3226
|
+
const FeeFeeTypeEnum = {
|
|
3227
|
+
Royalty: 'ROYALTY',
|
|
3228
|
+
MakerEcosystem: 'MAKER_ECOSYSTEM',
|
|
3229
|
+
TakerEcosystem: 'TAKER_ECOSYSTEM',
|
|
3230
|
+
Protocol: 'PROTOCOL'
|
|
3301
3231
|
};
|
|
3302
3232
|
|
|
3303
3233
|
/* tslint:disable */
|
|
@@ -3313,8 +3243,8 @@ const ERC20ItemItemTypeEnum = {
|
|
|
3313
3243
|
* https://openapi-generator.tech
|
|
3314
3244
|
* Do not edit the class manually.
|
|
3315
3245
|
*/
|
|
3316
|
-
const
|
|
3317
|
-
|
|
3246
|
+
const FilledOrderStatusNameEnum = {
|
|
3247
|
+
Filled: 'FILLED'
|
|
3318
3248
|
};
|
|
3319
3249
|
|
|
3320
3250
|
/* tslint:disable */
|
|
@@ -3330,11 +3260,8 @@ const ERC721ItemItemTypeEnum = {
|
|
|
3330
3260
|
* https://openapi-generator.tech
|
|
3331
3261
|
* Do not edit the class manually.
|
|
3332
3262
|
*/
|
|
3333
|
-
const
|
|
3334
|
-
|
|
3335
|
-
MakerEcosystem: 'MAKER_ECOSYSTEM',
|
|
3336
|
-
TakerEcosystem: 'TAKER_ECOSYSTEM',
|
|
3337
|
-
Protocol: 'PROTOCOL'
|
|
3263
|
+
const InactiveOrderStatusNameEnum = {
|
|
3264
|
+
Inactive: 'INACTIVE'
|
|
3338
3265
|
};
|
|
3339
3266
|
|
|
3340
3267
|
/* tslint:disable */
|
|
@@ -3394,13 +3321,30 @@ const NativeItemItemTypeEnum = {
|
|
|
3394
3321
|
* @export
|
|
3395
3322
|
* @enum {string}
|
|
3396
3323
|
*/
|
|
3397
|
-
const
|
|
3324
|
+
const OrderStatusName$1 = {
|
|
3398
3325
|
Pending: 'PENDING',
|
|
3399
3326
|
Active: 'ACTIVE',
|
|
3400
3327
|
Inactive: 'INACTIVE',
|
|
3401
3328
|
Filled: 'FILLED',
|
|
3402
|
-
|
|
3403
|
-
|
|
3329
|
+
Expired: 'EXPIRED',
|
|
3330
|
+
Cancelled: 'CANCELLED'
|
|
3331
|
+
};
|
|
3332
|
+
|
|
3333
|
+
/* tslint:disable */
|
|
3334
|
+
/* eslint-disable */
|
|
3335
|
+
/**
|
|
3336
|
+
* Immutable zkEVM API
|
|
3337
|
+
* Immutable Multi Rollup API
|
|
3338
|
+
*
|
|
3339
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3340
|
+
* Contact: support@immutable.com
|
|
3341
|
+
*
|
|
3342
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3343
|
+
* https://openapi-generator.tech
|
|
3344
|
+
* Do not edit the class manually.
|
|
3345
|
+
*/
|
|
3346
|
+
const PendingOrderStatusNameEnum = {
|
|
3347
|
+
Pending: 'PENDING'
|
|
3404
3348
|
};
|
|
3405
3349
|
|
|
3406
3350
|
/* tslint:disable */
|
|
@@ -3475,19 +3419,14 @@ const TokenContractType = {
|
|
|
3475
3419
|
|
|
3476
3420
|
var index = /*#__PURE__*/Object.freeze({
|
|
3477
3421
|
__proto__: null,
|
|
3478
|
-
|
|
3479
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
3480
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
3481
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
3482
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
3483
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
3484
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
3422
|
+
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
3485
3423
|
ActivitiesApi: ActivitiesApi,
|
|
3486
3424
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
3487
3425
|
ActivitiesApiFactory: ActivitiesApiFactory,
|
|
3488
3426
|
ActivitiesApiFp: ActivitiesApiFp,
|
|
3489
3427
|
ActivityType: ActivityType,
|
|
3490
|
-
|
|
3428
|
+
CancelledOrderStatusCancellationTypeEnum: CancelledOrderStatusCancellationTypeEnum,
|
|
3429
|
+
CancelledOrderStatusNameEnum: CancelledOrderStatusNameEnum,
|
|
3491
3430
|
ChainsApi: ChainsApi,
|
|
3492
3431
|
ChainsApiAxiosParamCreator: ChainsApiAxiosParamCreator,
|
|
3493
3432
|
ChainsApiFactory: ChainsApiFactory,
|
|
@@ -3500,7 +3439,15 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3500
3439
|
Configuration: Configuration$2,
|
|
3501
3440
|
ERC20ItemItemTypeEnum: ERC20ItemItemTypeEnum,
|
|
3502
3441
|
ERC721ItemItemTypeEnum: ERC721ItemItemTypeEnum,
|
|
3442
|
+
ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
|
|
3443
|
+
FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
|
|
3503
3444
|
FeeFeeTypeEnum: FeeFeeTypeEnum,
|
|
3445
|
+
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
3446
|
+
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
3447
|
+
ListListingsSortByEnum: ListListingsSortByEnum$1,
|
|
3448
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
|
|
3449
|
+
ListTradesSortByEnum: ListTradesSortByEnum$1,
|
|
3450
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
|
|
3504
3451
|
MetadataApi: MetadataApi,
|
|
3505
3452
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
3506
3453
|
MetadataApiFactory: MetadataApiFactory,
|
|
@@ -3515,7 +3462,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3515
3462
|
NftsApiAxiosParamCreator: NftsApiAxiosParamCreator,
|
|
3516
3463
|
NftsApiFactory: NftsApiFactory,
|
|
3517
3464
|
NftsApiFp: NftsApiFp,
|
|
3518
|
-
|
|
3465
|
+
OrderStatusName: OrderStatusName$1,
|
|
3519
3466
|
OrdersApi: OrdersApi,
|
|
3520
3467
|
OrdersApiAxiosParamCreator: OrdersApiAxiosParamCreator,
|
|
3521
3468
|
OrdersApiFactory: OrdersApiFactory,
|
|
@@ -3524,6 +3471,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3524
3471
|
PassportApiAxiosParamCreator: PassportApiAxiosParamCreator,
|
|
3525
3472
|
PassportApiFactory: PassportApiFactory,
|
|
3526
3473
|
PassportApiFp: PassportApiFp,
|
|
3474
|
+
PendingOrderStatusNameEnum: PendingOrderStatusNameEnum,
|
|
3527
3475
|
ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
|
|
3528
3476
|
SaleFeeTypeEnum: SaleFeeTypeEnum,
|
|
3529
3477
|
TokenContractType: TokenContractType,
|
|
@@ -3533,6 +3481,134 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3533
3481
|
TokensApiFp: TokensApiFp
|
|
3534
3482
|
});
|
|
3535
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
|
+
|
|
3536
3612
|
class MultiRollupApiClients {
|
|
3537
3613
|
config;
|
|
3538
3614
|
activitiesApi;
|
|
@@ -3555,7 +3631,7 @@ class MultiRollupApiClients {
|
|
|
3555
3631
|
}
|
|
3556
3632
|
|
|
3557
3633
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3558
|
-
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' };
|
|
3559
3635
|
const createConfig = ({ basePath, headers, }) => {
|
|
3560
3636
|
if (!basePath.trim()) {
|
|
3561
3637
|
throw Error('basePath can not be empty');
|
|
@@ -3615,7 +3691,7 @@ class APIError extends Error {
|
|
|
3615
3691
|
|
|
3616
3692
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3617
3693
|
const defaultHeaders = {
|
|
3618
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.
|
|
3694
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.2-alpha',
|
|
3619
3695
|
};
|
|
3620
3696
|
/**
|
|
3621
3697
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4007,7 +4083,14 @@ class BlockchainData {
|
|
|
4007
4083
|
var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
4008
4084
|
__proto__: null,
|
|
4009
4085
|
APIError: APIError,
|
|
4010
|
-
|
|
4086
|
+
ActivitiesApi: activitiesApiTypes,
|
|
4087
|
+
BlockchainData: BlockchainData,
|
|
4088
|
+
ChainsApi: chainsApiTypes,
|
|
4089
|
+
CollectionsApi: collectionsApiTypes,
|
|
4090
|
+
MetadataApi: metadataApiTypes,
|
|
4091
|
+
NFTOwnersApi: nftOwnersApiTypes,
|
|
4092
|
+
NFTsApi: nftsApiTypes,
|
|
4093
|
+
TokensApi: tokensApiTypes
|
|
4011
4094
|
});
|
|
4012
4095
|
|
|
4013
4096
|
/**
|
|
@@ -4019,7 +4102,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4019
4102
|
chainID,
|
|
4020
4103
|
coreContractAddress,
|
|
4021
4104
|
registrationContractAddress,
|
|
4022
|
-
sdkVersion: 'ts-immutable-sdk-0.27.
|
|
4105
|
+
sdkVersion: 'ts-immutable-sdk-0.27.2-alpha',
|
|
4023
4106
|
});
|
|
4024
4107
|
/**
|
|
4025
4108
|
* Sets `sdkVersion` at the time of build
|
|
@@ -32944,7 +33027,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
|
|
|
32944
33027
|
})($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
|
|
32945
33028
|
|
|
32946
33029
|
|
|
32947
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.
|
|
33030
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.2-alpha";
|
|
32948
33031
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
32949
33032
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
32950
33033
|
|