@fractalwagmi/fractal-sdk-public-api
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -53,2 +53,9 @@ export declare type FractalSdkAdminSyncItemMetadataResponse = object; | ||
} | ||
export interface FractalSdkMarketplaceGetCollectionsResponse { | ||
collections: FractalSdkMarketplaceGetCollectionsResponseCollection[]; | ||
} | ||
export interface FractalSdkMarketplaceGetCollectionsResponseCollection { | ||
id: string; | ||
chain: FractalSdkCommonChain; | ||
} | ||
export interface FractalSdkMarketplaceGetTokenListingsResponse { | ||
@@ -579,2 +586,16 @@ listings: FractalSdkMarketplaceGetTokenListingsResponseListing[]; | ||
/** | ||
* No description | ||
* @tags MarketplaceService | ||
* @name GetCollections | ||
* @request GET:/sdk/v2/marketplace/collections | ||
* @secure | ||
*/ | ||
namespace GetCollections { | ||
type RequestParams = {}; | ||
type RequestQuery = {}; | ||
type RequestBody = never; | ||
type RequestHeaders = {}; | ||
type ResponseBody = FractalSdkMarketplaceGetCollectionsResponse; | ||
} | ||
/** | ||
* @description Returns listings for a given token. Requires project API token. | ||
@@ -901,2 +922,11 @@ * @tags MarketplaceService | ||
/** | ||
* No description | ||
* | ||
* @tags MarketplaceService | ||
* @name GetCollections | ||
* @request GET:/sdk/v2/marketplace/collections | ||
* @secure | ||
*/ | ||
getCollections: (params?: RequestParams) => Promise<HttpResponse<FractalSdkMarketplaceGetCollectionsResponse, GoogleRpcStatus>>; | ||
/** | ||
* @description Returns listings for a given token. Requires project API token. | ||
@@ -903,0 +933,0 @@ * |
@@ -393,2 +393,11 @@ "use strict"; | ||
/** | ||
* No description | ||
* | ||
* @tags MarketplaceService | ||
* @name GetCollections | ||
* @request GET:/sdk/v2/marketplace/collections | ||
* @secure | ||
*/ | ||
getCollections: (params = {}) => this.request(Object.assign({ path: `/sdk/v2/marketplace/collections`, method: "GET", secure: true, format: "json" }, params)), | ||
/** | ||
* @description Returns listings for a given token. Requires project API token. | ||
@@ -395,0 +404,0 @@ * |
@@ -78,2 +78,11 @@ /* eslint-disable */ | ||
export interface FractalSdkMarketplaceGetCollectionsResponse { | ||
collections: FractalSdkMarketplaceGetCollectionsResponseCollection[]; | ||
} | ||
export interface FractalSdkMarketplaceGetCollectionsResponseCollection { | ||
id: string; | ||
chain: FractalSdkCommonChain; | ||
} | ||
export interface FractalSdkMarketplaceGetTokenListingsResponse { | ||
@@ -608,2 +617,16 @@ listings: FractalSdkMarketplaceGetTokenListingsResponseListing[]; | ||
/** | ||
* No description | ||
* @tags MarketplaceService | ||
* @name GetCollections | ||
* @request GET:/sdk/v2/marketplace/collections | ||
* @secure | ||
*/ | ||
export namespace GetCollections { | ||
export type RequestParams = {}; | ||
export type RequestQuery = {}; | ||
export type RequestBody = never; | ||
export type RequestHeaders = {}; | ||
export type ResponseBody = FractalSdkMarketplaceGetCollectionsResponse; | ||
} | ||
/** | ||
* @description Returns listings for a given token. Requires project API token. | ||
@@ -1251,2 +1274,19 @@ * @tags MarketplaceService | ||
/** | ||
* No description | ||
* | ||
* @tags MarketplaceService | ||
* @name GetCollections | ||
* @request GET:/sdk/v2/marketplace/collections | ||
* @secure | ||
*/ | ||
getCollections: (params: RequestParams = {}) => | ||
this.request<FractalSdkMarketplaceGetCollectionsResponse, GoogleRpcStatus>({ | ||
path: `/sdk/v2/marketplace/collections`, | ||
method: "GET", | ||
secure: true, | ||
format: "json", | ||
...params, | ||
}), | ||
/** | ||
* @description Returns listings for a given token. Requires project API token. | ||
@@ -1253,0 +1293,0 @@ * |
{ | ||
"name": "@fractalwagmi/fractal-sdk-public-api", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/fractal-sdk-api.js", |
101706
2580