Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
run make generate-openapi-sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihirota committed Feb 23, 2024
1 parent 0bf5e57 commit dc78dc6
Show file tree
Hide file tree
Showing 384 changed files with 939 additions and 901 deletions.
432 changes: 238 additions & 194 deletions openapi.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ models/create-primary-sale-params-body.ts
models/create-primary-sale-unauthorized-body-all-of0.ts
models/create-primary-sale-unauthorized-body-all-of1.ts
models/create-primary-sale-unauthorized-body.ts
models/create-project-apikey-response.ts
models/create-project-group-request.ts
models/create-project-request.ts
models/create-project-response.ts
Expand All @@ -131,7 +132,6 @@ models/encode-asset-request-token.ts
models/encode-asset-request.ts
models/encode-asset-response.ts
models/encode-asset-token-data.ts
models/engine-register-user-result.ts
models/exchange-create-exchange-and-urlresponse.ts
models/exchange.ts
models/experimental-create-primary-sale-bad-request-body-all-of0.ts
Expand Down Expand Up @@ -366,6 +366,8 @@ models/signable-transfer-response-details-token.ts
models/signable-transfer-response-details.ts
models/store-maker-taker-fee.ts
models/success-response.ts
models/summarized-collection-collection.ts
models/summarized-collection.ts
models/token-data-oaigen.ts
models/token-data-properties.ts
models/token-data.ts
Expand Down
2 changes: 1 addition & 1 deletion src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions src/api/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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(/\/+$/, "");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion src/api/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/assets-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/balances-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
30 changes: 15 additions & 15 deletions src/api/domain/collections-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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);
Expand All @@ -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;
}


Expand Down Expand Up @@ -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);
},
/**
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -650,7 +650,7 @@ export interface CollectionsApiSummarizeCollectionsRequest {
* @type {string}
* @memberof CollectionsApiSummarizeCollections
*/
readonly users: string
readonly user: string
}

/**
Expand Down Expand Up @@ -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));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/deposits-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/encoding-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/exchanges-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/metadata-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/metadata-refreshes-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/mints-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/nft-checkout-primary-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/orders-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/api/domain/primary-sales-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Loading

0 comments on commit dc78dc6

Please sign in to comment.