@drxsuperapp/sdk 1.1.126 → 1.1.128
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/.openapi-generator/FILES +1 -1
- package/apis/TournamentApi.ts +6 -44
- package/deploy.log +11 -12
- package/dist/apis/TournamentApi.d.ts +3 -11
- package/dist/apis/TournamentApi.js +2 -33
- package/dist/models/ApiTournamentSeedGameTypesGet200Response.d.ts +50 -0
- package/dist/models/{ApiTournamentCleanupGet200Response.js → ApiTournamentSeedGameTypesGet200Response.js} +8 -8
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/models/{ApiTournamentCleanupGet200Response.ts → ApiTournamentSeedGameTypesGet200Response.ts} +14 -14
- package/models/index.ts +1 -1
- package/package.json +1 -1
- package/dist/models/ApiTournamentCleanupGet200Response.d.ts +0 -50
package/.openapi-generator/FILES
CHANGED
|
@@ -35,7 +35,6 @@ models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
|
|
|
35
35
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
36
36
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
37
37
|
models/ApiPadelSeedGet200Response.ts
|
|
38
|
-
models/ApiTournamentCleanupGet200Response.ts
|
|
39
38
|
models/ApiTournamentGameTypesGet200Response.ts
|
|
40
39
|
models/ApiTournamentGet200Response.ts
|
|
41
40
|
models/ApiTournamentGet200ResponseResponseObject.ts
|
|
@@ -67,6 +66,7 @@ models/ApiTournamentPadelPostRequest.ts
|
|
|
67
66
|
models/ApiTournamentPadelPostRequestBody.ts
|
|
68
67
|
models/ApiTournamentPadelPostRequestBodyPlayersInner.ts
|
|
69
68
|
models/ApiTournamentPadelPostRequestBodyTeamsInner.ts
|
|
69
|
+
models/ApiTournamentSeedGameTypesGet200Response.ts
|
|
70
70
|
models/ApiUserGet200Response.ts
|
|
71
71
|
models/ApiUserGetFilterParameter.ts
|
|
72
72
|
models/ApiYoutubeDrxContentGet200Response.ts
|
package/apis/TournamentApi.ts
CHANGED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
ApiTournamentCleanupGet200Response,
|
|
19
18
|
ApiTournamentGameTypesGet200Response,
|
|
20
19
|
ApiTournamentGet200Response,
|
|
21
20
|
ApiTournamentGetFilterParameter,
|
|
@@ -26,10 +25,9 @@ import type {
|
|
|
26
25
|
ApiTournamentPadelMatchSoloPutRequest,
|
|
27
26
|
ApiTournamentPadelPost200Response,
|
|
28
27
|
ApiTournamentPadelPostRequest,
|
|
28
|
+
ApiTournamentSeedGameTypesGet200Response,
|
|
29
29
|
} from '../models/index';
|
|
30
30
|
import {
|
|
31
|
-
ApiTournamentCleanupGet200ResponseFromJSON,
|
|
32
|
-
ApiTournamentCleanupGet200ResponseToJSON,
|
|
33
31
|
ApiTournamentGameTypesGet200ResponseFromJSON,
|
|
34
32
|
ApiTournamentGameTypesGet200ResponseToJSON,
|
|
35
33
|
ApiTournamentGet200ResponseFromJSON,
|
|
@@ -50,6 +48,8 @@ import {
|
|
|
50
48
|
ApiTournamentPadelPost200ResponseToJSON,
|
|
51
49
|
ApiTournamentPadelPostRequestFromJSON,
|
|
52
50
|
ApiTournamentPadelPostRequestToJSON,
|
|
51
|
+
ApiTournamentSeedGameTypesGet200ResponseFromJSON,
|
|
52
|
+
ApiTournamentSeedGameTypesGet200ResponseToJSON,
|
|
53
53
|
} from '../models/index';
|
|
54
54
|
|
|
55
55
|
export interface ApiTournamentGetRequest {
|
|
@@ -85,44 +85,6 @@ export interface ApiTournamentPadelPostOperationRequest {
|
|
|
85
85
|
*/
|
|
86
86
|
export class TournamentApi extends runtime.BaseAPI {
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* Cleanup
|
|
90
|
-
*/
|
|
91
|
-
async apiTournamentCleanupGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentCleanupGet200Response>> {
|
|
92
|
-
const queryParameters: any = {};
|
|
93
|
-
|
|
94
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
95
|
-
|
|
96
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
97
|
-
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
-
const token = this.configuration.accessToken;
|
|
102
|
-
const tokenString = await token("BearerAuth", []);
|
|
103
|
-
|
|
104
|
-
if (tokenString) {
|
|
105
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
const response = await this.request({
|
|
109
|
-
path: `/api/tournament/cleanup`,
|
|
110
|
-
method: 'GET',
|
|
111
|
-
headers: headerParameters,
|
|
112
|
-
query: queryParameters,
|
|
113
|
-
}, initOverrides);
|
|
114
|
-
|
|
115
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentCleanupGet200ResponseFromJSON(jsonValue));
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Cleanup
|
|
120
|
-
*/
|
|
121
|
-
async apiTournamentCleanupGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentCleanupGet200Response> {
|
|
122
|
-
const response = await this.apiTournamentCleanupGetRaw(initOverrides);
|
|
123
|
-
return await response.value();
|
|
124
|
-
}
|
|
125
|
-
|
|
126
88
|
/**
|
|
127
89
|
* Get All Game Types
|
|
128
90
|
*/
|
|
@@ -439,7 +401,7 @@ export class TournamentApi extends runtime.BaseAPI {
|
|
|
439
401
|
/**
|
|
440
402
|
* Seed Game Types
|
|
441
403
|
*/
|
|
442
|
-
async apiTournamentSeedGameTypesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
404
|
+
async apiTournamentSeedGameTypesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentSeedGameTypesGet200Response>> {
|
|
443
405
|
const queryParameters: any = {};
|
|
444
406
|
|
|
445
407
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -463,13 +425,13 @@ export class TournamentApi extends runtime.BaseAPI {
|
|
|
463
425
|
query: queryParameters,
|
|
464
426
|
}, initOverrides);
|
|
465
427
|
|
|
466
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
428
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentSeedGameTypesGet200ResponseFromJSON(jsonValue));
|
|
467
429
|
}
|
|
468
430
|
|
|
469
431
|
/**
|
|
470
432
|
* Seed Game Types
|
|
471
433
|
*/
|
|
472
|
-
async apiTournamentSeedGameTypesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
434
|
+
async apiTournamentSeedGameTypesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentSeedGameTypesGet200Response> {
|
|
473
435
|
const response = await this.apiTournamentSeedGameTypesGetRaw(initOverrides);
|
|
474
436
|
return await response.value();
|
|
475
437
|
}
|
package/deploy.log
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
62
62
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__delete_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
63
63
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__delete_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__delete_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__delete_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
64
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
64
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_seed_game_types_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_seed_game_types_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_seed_game_types_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
65
65
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_game_types_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_game_types_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_game_types_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
66
66
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_request_body. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_solo_put_request_body=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_request_body=NewModel,ModelA=NewModelA in CLI).
|
|
67
67
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_solo_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_request=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
104
104
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
105
105
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelSeedGet200Response.ts
|
|
106
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentCleanupGet200Response.ts
|
|
107
106
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentGameTypesGet200Response.ts
|
|
108
107
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentGet200Response.ts
|
|
109
108
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentGet200ResponseResponseObject.ts
|
|
@@ -135,6 +134,7 @@
|
|
|
135
134
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBody.ts
|
|
136
135
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBodyPlayersInner.ts
|
|
137
136
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBodyTeamsInner.ts
|
|
137
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentSeedGameTypesGet200Response.ts
|
|
138
138
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiUserGet200Response.ts
|
|
139
139
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiUserGetFilterParameter.ts
|
|
140
140
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200Response.ts
|
|
@@ -156,7 +156,6 @@
|
|
|
156
156
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/tournament/padel. Renamed to auto-generated operationId: apiTournamentPadelPost
|
|
157
157
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/padel/{id}. Renamed to auto-generated operationId: apiTournamentPadelIdGet
|
|
158
158
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/tournament/padel/{id}. Renamed to auto-generated operationId: apiTournamentPadelIdDelete
|
|
159
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/cleanup. Renamed to auto-generated operationId: apiTournamentCleanupGet
|
|
160
159
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/seed-game-types. Renamed to auto-generated operationId: apiTournamentSeedGameTypesGet
|
|
161
160
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/game-types. Renamed to auto-generated operationId: apiTournamentGameTypesGet
|
|
162
161
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/tournament/padel/match-solo. Renamed to auto-generated operationId: apiTournamentPadelMatchSoloPut
|
|
@@ -188,21 +187,21 @@
|
|
|
188
187
|
# https://opencollective.com/openapi_generator/donate #
|
|
189
188
|
################################################################################
|
|
190
189
|
✅ SDK generated
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
[master 95cc6bf] VPS: Generated API SDK
|
|
191
|
+
4 files changed, 22 insertions(+), 60 deletions(-)
|
|
192
|
+
rename models/{ApiTournamentCleanupGet200Response.ts => ApiTournamentSeedGameTypesGet200Response.ts} (54%)
|
|
193
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
194
|
+
b5ab5c3..95cc6bf master -> master
|
|
196
195
|
✅ Changes committed and pushed
|
|
197
|
-
v1.1.
|
|
196
|
+
v1.1.128
|
|
198
197
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
199
|
-
|
|
198
|
+
95cc6bf..110d9dd master -> master
|
|
200
199
|
✅ Version bumped
|
|
201
200
|
|
|
202
|
-
> @drxsuperapp/sdk@1.1.
|
|
201
|
+
> @drxsuperapp/sdk@1.1.128 prepublishOnly
|
|
203
202
|
> npm run build
|
|
204
203
|
|
|
205
204
|
|
|
206
|
-
> @drxsuperapp/sdk@1.1.
|
|
205
|
+
> @drxsuperapp/sdk@1.1.128 build
|
|
207
206
|
> tsc
|
|
208
207
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { ApiTournamentGameTypesGet200Response, ApiTournamentGet200Response, ApiTournamentGetFilterParameter, ApiTournamentPadelIdDelete200Response, ApiTournamentPadelIdGet200Response, ApiTournamentPadelLeaderboardIdGet200Response, ApiTournamentPadelMatchSoloPut200Response, ApiTournamentPadelMatchSoloPutRequest, ApiTournamentPadelPost200Response, ApiTournamentPadelPostRequest, ApiTournamentSeedGameTypesGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiTournamentGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -37,14 +37,6 @@ export interface ApiTournamentPadelPostOperationRequest {
|
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
export declare class TournamentApi extends runtime.BaseAPI {
|
|
40
|
-
/**
|
|
41
|
-
* Cleanup
|
|
42
|
-
*/
|
|
43
|
-
apiTournamentCleanupGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentCleanupGet200Response>>;
|
|
44
|
-
/**
|
|
45
|
-
* Cleanup
|
|
46
|
-
*/
|
|
47
|
-
apiTournamentCleanupGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentCleanupGet200Response>;
|
|
48
40
|
/**
|
|
49
41
|
* Get All Game Types
|
|
50
42
|
*/
|
|
@@ -104,9 +96,9 @@ export declare class TournamentApi extends runtime.BaseAPI {
|
|
|
104
96
|
/**
|
|
105
97
|
* Seed Game Types
|
|
106
98
|
*/
|
|
107
|
-
apiTournamentSeedGameTypesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
99
|
+
apiTournamentSeedGameTypesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentSeedGameTypesGet200Response>>;
|
|
108
100
|
/**
|
|
109
101
|
* Seed Game Types
|
|
110
102
|
*/
|
|
111
|
-
apiTournamentSeedGameTypesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
103
|
+
apiTournamentSeedGameTypesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentSeedGameTypesGet200Response>;
|
|
112
104
|
}
|
|
@@ -12,42 +12,11 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { ApiTournamentGameTypesGet200ResponseFromJSON, ApiTournamentGet200ResponseFromJSON, ApiTournamentPadelIdDelete200ResponseFromJSON, ApiTournamentPadelIdGet200ResponseFromJSON, ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON, ApiTournamentPadelMatchSoloPut200ResponseFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, ApiTournamentPadelPost200ResponseFromJSON, ApiTournamentPadelPostRequestToJSON, ApiTournamentSeedGameTypesGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class TournamentApi extends runtime.BaseAPI {
|
|
20
|
-
/**
|
|
21
|
-
* Cleanup
|
|
22
|
-
*/
|
|
23
|
-
async apiTournamentCleanupGetRaw(initOverrides) {
|
|
24
|
-
const queryParameters = {};
|
|
25
|
-
const headerParameters = {};
|
|
26
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
27
|
-
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
28
|
-
}
|
|
29
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
30
|
-
const token = this.configuration.accessToken;
|
|
31
|
-
const tokenString = await token("BearerAuth", []);
|
|
32
|
-
if (tokenString) {
|
|
33
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
const response = await this.request({
|
|
37
|
-
path: `/api/tournament/cleanup`,
|
|
38
|
-
method: 'GET',
|
|
39
|
-
headers: headerParameters,
|
|
40
|
-
query: queryParameters,
|
|
41
|
-
}, initOverrides);
|
|
42
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentCleanupGet200ResponseFromJSON(jsonValue));
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Cleanup
|
|
46
|
-
*/
|
|
47
|
-
async apiTournamentCleanupGet(initOverrides) {
|
|
48
|
-
const response = await this.apiTournamentCleanupGetRaw(initOverrides);
|
|
49
|
-
return await response.value();
|
|
50
|
-
}
|
|
51
20
|
/**
|
|
52
21
|
* Get All Game Types
|
|
53
22
|
*/
|
|
@@ -315,7 +284,7 @@ export class TournamentApi extends runtime.BaseAPI {
|
|
|
315
284
|
headers: headerParameters,
|
|
316
285
|
query: queryParameters,
|
|
317
286
|
}, initOverrides);
|
|
318
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
287
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentSeedGameTypesGet200ResponseFromJSON(jsonValue));
|
|
319
288
|
}
|
|
320
289
|
/**
|
|
321
290
|
* Seed Game Types
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiTournamentSeedGameTypesGet200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiTournamentSeedGameTypesGet200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
34
|
+
*/
|
|
35
|
+
responseObject?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
40
|
+
*/
|
|
41
|
+
statusCode: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApiTournamentSeedGameTypesGet200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApiTournamentSeedGameTypesGet200Response(value: object): value is ApiTournamentSeedGameTypesGet200Response;
|
|
47
|
+
export declare function ApiTournamentSeedGameTypesGet200ResponseFromJSON(json: any): ApiTournamentSeedGameTypesGet200Response;
|
|
48
|
+
export declare function ApiTournamentSeedGameTypesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentSeedGameTypesGet200Response;
|
|
49
|
+
export declare function ApiTournamentSeedGameTypesGet200ResponseToJSON(json: any): ApiTournamentSeedGameTypesGet200Response;
|
|
50
|
+
export declare function ApiTournamentSeedGameTypesGet200ResponseToJSONTyped(value?: ApiTournamentSeedGameTypesGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the ApiTournamentSeedGameTypesGet200Response interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfApiTournamentSeedGameTypesGet200Response(value) {
|
|
18
18
|
if (!('success' in value) || value['success'] === undefined)
|
|
19
19
|
return false;
|
|
20
20
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -23,10 +23,10 @@ export function instanceOfApiTournamentCleanupGet200Response(value) {
|
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function ApiTournamentSeedGameTypesGet200ResponseFromJSON(json) {
|
|
27
|
+
return ApiTournamentSeedGameTypesGet200ResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function ApiTournamentSeedGameTypesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -37,10 +37,10 @@ export function ApiTournamentCleanupGet200ResponseFromJSONTyped(json, ignoreDisc
|
|
|
37
37
|
'statusCode': json['statusCode'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export function
|
|
41
|
-
return
|
|
40
|
+
export function ApiTournamentSeedGameTypesGet200ResponseToJSON(json) {
|
|
41
|
+
return ApiTournamentSeedGameTypesGet200ResponseToJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function ApiTournamentSeedGameTypesGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
27
27
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
28
28
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
29
29
|
export * from './ApiPadelSeedGet200Response';
|
|
30
|
-
export * from './ApiTournamentCleanupGet200Response';
|
|
31
30
|
export * from './ApiTournamentGameTypesGet200Response';
|
|
32
31
|
export * from './ApiTournamentGet200Response';
|
|
33
32
|
export * from './ApiTournamentGet200ResponseResponseObject';
|
|
@@ -59,6 +58,7 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
59
58
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
60
59
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
61
60
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
61
|
+
export * from './ApiTournamentSeedGameTypesGet200Response';
|
|
62
62
|
export * from './ApiUserGet200Response';
|
|
63
63
|
export * from './ApiUserGetFilterParameter';
|
|
64
64
|
export * from './ApiYoutubeDrxContentGet200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -29,7 +29,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
29
29
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
30
30
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
31
31
|
export * from './ApiPadelSeedGet200Response';
|
|
32
|
-
export * from './ApiTournamentCleanupGet200Response';
|
|
33
32
|
export * from './ApiTournamentGameTypesGet200Response';
|
|
34
33
|
export * from './ApiTournamentGet200Response';
|
|
35
34
|
export * from './ApiTournamentGet200ResponseResponseObject';
|
|
@@ -61,6 +60,7 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
61
60
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
62
61
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
63
62
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
63
|
+
export * from './ApiTournamentSeedGameTypesGet200Response';
|
|
64
64
|
export * from './ApiUserGet200Response';
|
|
65
65
|
export * from './ApiUserGetFilterParameter';
|
|
66
66
|
export * from './ApiYoutubeDrxContentGet200Response';
|
package/models/{ApiTournamentCleanupGet200Response.ts → ApiTournamentSeedGameTypesGet200Response.ts}
RENAMED
|
@@ -16,50 +16,50 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ApiTournamentSeedGameTypesGet200Response
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ApiTournamentSeedGameTypesGet200Response {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {boolean}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
26
26
|
*/
|
|
27
27
|
success: boolean;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
32
32
|
*/
|
|
33
33
|
message: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {boolean}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
38
38
|
*/
|
|
39
39
|
responseObject?: boolean;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ApiTournamentSeedGameTypesGet200Response
|
|
44
44
|
*/
|
|
45
45
|
statusCode: number;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the ApiTournamentSeedGameTypesGet200Response interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
51
|
+
export function instanceOfApiTournamentSeedGameTypesGet200Response(value: object): value is ApiTournamentSeedGameTypesGet200Response {
|
|
52
52
|
if (!('success' in value) || value['success'] === undefined) return false;
|
|
53
53
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
54
54
|
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function
|
|
59
|
-
return
|
|
58
|
+
export function ApiTournamentSeedGameTypesGet200ResponseFromJSON(json: any): ApiTournamentSeedGameTypesGet200Response {
|
|
59
|
+
return ApiTournamentSeedGameTypesGet200ResponseFromJSONTyped(json, false);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export function
|
|
62
|
+
export function ApiTournamentSeedGameTypesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentSeedGameTypesGet200Response {
|
|
63
63
|
if (json == null) {
|
|
64
64
|
return json;
|
|
65
65
|
}
|
|
@@ -72,11 +72,11 @@ export function ApiTournamentCleanupGet200ResponseFromJSONTyped(json: any, ignor
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
75
|
+
export function ApiTournamentSeedGameTypesGet200ResponseToJSON(json: any): ApiTournamentSeedGameTypesGet200Response {
|
|
76
|
+
return ApiTournamentSeedGameTypesGet200ResponseToJSONTyped(json, false);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function ApiTournamentSeedGameTypesGet200ResponseToJSONTyped(value?: ApiTournamentSeedGameTypesGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
80
80
|
if (value == null) {
|
|
81
81
|
return value;
|
|
82
82
|
}
|
package/models/index.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
29
29
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
30
30
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
31
31
|
export * from './ApiPadelSeedGet200Response';
|
|
32
|
-
export * from './ApiTournamentCleanupGet200Response';
|
|
33
32
|
export * from './ApiTournamentGameTypesGet200Response';
|
|
34
33
|
export * from './ApiTournamentGet200Response';
|
|
35
34
|
export * from './ApiTournamentGet200ResponseResponseObject';
|
|
@@ -61,6 +60,7 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
61
60
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
62
61
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
63
62
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
63
|
+
export * from './ApiTournamentSeedGameTypesGet200Response';
|
|
64
64
|
export * from './ApiUserGet200Response';
|
|
65
65
|
export * from './ApiUserGetFilterParameter';
|
|
66
66
|
export * from './ApiYoutubeDrxContentGet200Response';
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DRX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiTournamentCleanupGet200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiTournamentCleanupGet200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof ApiTournamentCleanupGet200Response
|
|
22
|
-
*/
|
|
23
|
-
success: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiTournamentCleanupGet200Response
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ApiTournamentCleanupGet200Response
|
|
34
|
-
*/
|
|
35
|
-
responseObject?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ApiTournamentCleanupGet200Response
|
|
40
|
-
*/
|
|
41
|
-
statusCode: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ApiTournamentCleanupGet200Response interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfApiTournamentCleanupGet200Response(value: object): value is ApiTournamentCleanupGet200Response;
|
|
47
|
-
export declare function ApiTournamentCleanupGet200ResponseFromJSON(json: any): ApiTournamentCleanupGet200Response;
|
|
48
|
-
export declare function ApiTournamentCleanupGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentCleanupGet200Response;
|
|
49
|
-
export declare function ApiTournamentCleanupGet200ResponseToJSON(json: any): ApiTournamentCleanupGet200Response;
|
|
50
|
-
export declare function ApiTournamentCleanupGet200ResponseToJSONTyped(value?: ApiTournamentCleanupGet200Response | null, ignoreDiscriminator?: boolean): any;
|