@fractalwagmi/fractal-sdk-public-api
Advanced tools
Comparing version 0.0.42 to 0.0.43
@@ -209,2 +209,6 @@ export interface FractalSdkAdminGetTransactionStatusResponse { | ||
} | ||
export interface FractalSdkScoresBatchCreateScoresRequest { | ||
scores: FractalSdkScoresScore[]; | ||
} | ||
export type FractalSdkScoresBatchCreateScoresResponse = object; | ||
export interface FractalSdkScoresGetScoreResponse { | ||
@@ -648,2 +652,17 @@ score: FractalSdkScoresScore; | ||
/** | ||
* @description Batch create scores for a given tournament. Requires project API token. | ||
* @tags ScoreService | ||
* @name BatchCreateScores | ||
* @summary batchCreateScores | ||
* @request POST:/sdk/tournament/batch_scores | ||
* @secure | ||
*/ | ||
namespace BatchCreateScores { | ||
type RequestParams = {}; | ||
type RequestQuery = {}; | ||
type RequestBody = FractalSdkScoresBatchCreateScoresRequest; | ||
type RequestHeaders = {}; | ||
type ResponseBody = FractalSdkScoresBatchCreateScoresResponse; | ||
} | ||
/** | ||
* @description Creates a score for a given tournament. Requires project API token. | ||
@@ -1263,2 +1282,12 @@ * @tags ScoreService | ||
/** | ||
* @description Batch create scores for a given tournament. Requires project API token. | ||
* | ||
* @tags ScoreService | ||
* @name BatchCreateScores | ||
* @summary batchCreateScores | ||
* @request POST:/sdk/tournament/batch_scores | ||
* @secure | ||
*/ | ||
batchCreateScores: (body: FractalSdkScoresBatchCreateScoresRequest, params?: RequestParams) => Promise<HttpResponse<object, GoogleRpcStatus>>; | ||
/** | ||
* @description Creates a score for a given tournament. Requires project API token. | ||
@@ -1265,0 +1294,0 @@ * |
@@ -372,2 +372,12 @@ "use strict"; | ||
/** | ||
* @description Batch create scores for a given tournament. Requires project API token. | ||
* | ||
* @tags ScoreService | ||
* @name BatchCreateScores | ||
* @summary batchCreateScores | ||
* @request POST:/sdk/tournament/batch_scores | ||
* @secure | ||
*/ | ||
batchCreateScores: (body, params = {}) => this.request(Object.assign({ path: `/sdk/tournament/batch_scores`, method: "POST", body: body, secure: true, type: ContentType.Json, format: "json" }, params)), | ||
/** | ||
* @description Creates a score for a given tournament. Requires project API token. | ||
@@ -374,0 +384,0 @@ * |
{ | ||
"name": "@fractalwagmi/fractal-sdk-public-api", | ||
"version": "0.0.42", | ||
"version": "0.0.43", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/fractal-sdk-api.js", |
Sorry, the diff of this file is too big to display
157466
4050