This repository has been archived by the owner on May 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
386 changed files
with
1,016 additions
and
876 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; | |
// @ts-ignore | ||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
|
||
export const BASE_PATH = "https://api.sandbox.immutable.com".replace(/\/+$/, ""); | ||
export const BASE_PATH = "https://api.sandbox.x.immutable.com".replace(/\/+$/, ""); | ||
|
||
/** | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -241,13 +241,13 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu | |
/** | ||
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. | ||
* @summary Get metadata about the collections held by a set of wallets | ||
* @param {string} users Comma separated list of wallet addresses | ||
* @param {string} user Comma separated list of wallet addresses | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
summarizeCollections: async (users: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'users' is not null or undefined | ||
assertParamExists('summarizeCollections', 'users', users) | ||
summarizeCollections: async (user: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'user' is not null or undefined | ||
assertParamExists('summarizeCollections', 'user', user) | ||
const localVarPath = `/v1/collections-summary`; | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); | ||
|
@@ -260,8 +260,8 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu | |
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
|
||
if (users !== undefined) { | ||
localVarQueryParameter['users'] = users; | ||
if (user !== undefined) { | ||
localVarQueryParameter['user'] = user; | ||
} | ||
|
||
|
||
|
@@ -397,12 +397,12 @@ export const CollectionsApiFp = function(configuration?: Configuration) { | |
/** | ||
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. | ||
* @summary Get metadata about the collections held by a set of wallets | ||
* @param {string} users Comma separated list of wallet addresses | ||
* @param {string} user Comma separated list of wallet addresses | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async summarizeCollections(users: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiSummarizeCollectionsResponse>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.summarizeCollections(users, options); | ||
async summarizeCollections(user: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiSummarizeCollectionsResponse>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.summarizeCollections(user, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
}, | ||
/** | ||
|
@@ -483,12 +483,12 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba | |
/** | ||
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. | ||
* @summary Get metadata about the collections held by a set of wallets | ||
* @param {string} users Comma separated list of wallet addresses | ||
* @param {string} user Comma separated list of wallet addresses | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
summarizeCollections(users: string, options?: any): AxiosPromise<ApiSummarizeCollectionsResponse> { | ||
return localVarFp.summarizeCollections(users, options).then((request) => request(axios, basePath)); | ||
summarizeCollections(user: string, options?: any): AxiosPromise<ApiSummarizeCollectionsResponse> { | ||
return localVarFp.summarizeCollections(user, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* Update collection | ||
|
@@ -650,7 +650,7 @@ export interface CollectionsApiSummarizeCollectionsRequest { | |
* @type {string} | ||
* @memberof CollectionsApiSummarizeCollections | ||
*/ | ||
readonly users: string | ||
readonly user: string | ||
} | ||
|
||
/** | ||
|
@@ -752,7 +752,7 @@ export class CollectionsApi extends BaseAPI { | |
* @memberof CollectionsApi | ||
*/ | ||
public summarizeCollections(requestParameters: CollectionsApiSummarizeCollectionsRequest, options?: AxiosRequestConfig) { | ||
return CollectionsApiFp(this.configuration).summarizeCollections(requestParameters.users, options).then((request) => request(this.axios, this.basePath)); | ||
return CollectionsApiFp(this.configuration).summarizeCollections(requestParameters.user, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Immutable X API | ||
* Immutable X API | ||
* | ||
* The version of the OpenAPI document: 3.0.0 | ||
* The version of the OpenAPI document: 3.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
Oops, something went wrong.