@drxsuperapp/sdk 1.1.227 → 1.1.228
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 -0
- package/apis/EsportApi.ts +52 -0
- package/deploy.log +11 -12
- package/dist/apis/EsportApi.d.ts +12 -1
- package/dist/apis/EsportApi.js +35 -1
- package/dist/models/ApiEsportSeriesIdGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportSeriesIdGet200Response.js +54 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/ApiEsportSeriesIdGet200Response.ts +100 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -54,6 +54,7 @@ models/ApiEsportSeriesGet200Response.ts
|
|
|
54
54
|
models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
55
55
|
models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
56
56
|
models/ApiEsportSeriesGetFilterParameter.ts
|
|
57
|
+
models/ApiEsportSeriesIdGet200Response.ts
|
|
57
58
|
models/ApiEsportTeamsGet200Response.ts
|
|
58
59
|
models/ApiEsportTeamsGet200ResponseResponseObject.ts
|
|
59
60
|
models/ApiEsportTeamsGet200ResponseResponseObjectItemsInner.ts
|
package/apis/EsportApi.ts
CHANGED
|
@@ -23,6 +23,7 @@ import type {
|
|
|
23
23
|
ApiEsportPlayersIdGet200Response,
|
|
24
24
|
ApiEsportSeriesGet200Response,
|
|
25
25
|
ApiEsportSeriesGetFilterParameter,
|
|
26
|
+
ApiEsportSeriesIdGet200Response,
|
|
26
27
|
ApiEsportTeamsGet200Response,
|
|
27
28
|
ApiEsportTeamsGetFilterParameter,
|
|
28
29
|
ApiEsportTeamsIdGet200Response,
|
|
@@ -48,6 +49,8 @@ import {
|
|
|
48
49
|
ApiEsportSeriesGet200ResponseToJSON,
|
|
49
50
|
ApiEsportSeriesGetFilterParameterFromJSON,
|
|
50
51
|
ApiEsportSeriesGetFilterParameterToJSON,
|
|
52
|
+
ApiEsportSeriesIdGet200ResponseFromJSON,
|
|
53
|
+
ApiEsportSeriesIdGet200ResponseToJSON,
|
|
51
54
|
ApiEsportTeamsGet200ResponseFromJSON,
|
|
52
55
|
ApiEsportTeamsGet200ResponseToJSON,
|
|
53
56
|
ApiEsportTeamsGetFilterParameterFromJSON,
|
|
@@ -93,6 +96,10 @@ export interface ApiEsportSeriesGetRequest {
|
|
|
93
96
|
filter?: ApiEsportSeriesGetFilterParameter;
|
|
94
97
|
}
|
|
95
98
|
|
|
99
|
+
export interface ApiEsportSeriesIdGetRequest {
|
|
100
|
+
id: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
96
103
|
export interface ApiEsportTeamsGetRequest {
|
|
97
104
|
page?: number;
|
|
98
105
|
pageSize?: number;
|
|
@@ -372,6 +379,51 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
372
379
|
return await response.value();
|
|
373
380
|
}
|
|
374
381
|
|
|
382
|
+
/**
|
|
383
|
+
* Get Esport Series Details
|
|
384
|
+
*/
|
|
385
|
+
async apiEsportSeriesIdGetRaw(requestParameters: ApiEsportSeriesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportSeriesIdGet200Response>> {
|
|
386
|
+
if (requestParameters['id'] == null) {
|
|
387
|
+
throw new runtime.RequiredError(
|
|
388
|
+
'id',
|
|
389
|
+
'Required parameter "id" was null or undefined when calling apiEsportSeriesIdGet().'
|
|
390
|
+
);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
const queryParameters: any = {};
|
|
394
|
+
|
|
395
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
396
|
+
|
|
397
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
398
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
402
|
+
const token = this.configuration.accessToken;
|
|
403
|
+
const tokenString = await token("BearerAuth", []);
|
|
404
|
+
|
|
405
|
+
if (tokenString) {
|
|
406
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
const response = await this.request({
|
|
410
|
+
path: `/api/esport/series/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
411
|
+
method: 'GET',
|
|
412
|
+
headers: headerParameters,
|
|
413
|
+
query: queryParameters,
|
|
414
|
+
}, initOverrides);
|
|
415
|
+
|
|
416
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportSeriesIdGet200ResponseFromJSON(jsonValue));
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Get Esport Series Details
|
|
421
|
+
*/
|
|
422
|
+
async apiEsportSeriesIdGet(requestParameters: ApiEsportSeriesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportSeriesIdGet200Response> {
|
|
423
|
+
const response = await this.apiEsportSeriesIdGetRaw(requestParameters, initOverrides);
|
|
424
|
+
return await response.value();
|
|
425
|
+
}
|
|
426
|
+
|
|
375
427
|
/**
|
|
376
428
|
* Get Esport Teams
|
|
377
429
|
*/
|
package/deploy.log
CHANGED
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_series_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
188
188
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_get_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_esport_series_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
189
189
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_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_esport_series_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
190
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series__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_esport_series__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
190
191
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
191
192
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
192
193
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
|
|
@@ -231,6 +232,7 @@
|
|
|
231
232
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
232
233
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
233
234
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGetFilterParameter.ts
|
|
235
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesIdGet200Response.ts
|
|
234
236
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200Response.ts
|
|
235
237
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200ResponseResponseObject.ts
|
|
236
238
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -431,6 +433,7 @@
|
|
|
431
433
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/tournaments. Renamed to auto-generated operationId: apiEsportTournamentsGet
|
|
432
434
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/tournaments/{id}. Renamed to auto-generated operationId: apiEsportTournamentsIdGet
|
|
433
435
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/series. Renamed to auto-generated operationId: apiEsportSeriesGet
|
|
436
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/series/{id}. Renamed to auto-generated operationId: apiEsportSeriesIdGet
|
|
434
437
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
435
438
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/AppConfigApi.ts
|
|
436
439
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
@@ -469,25 +472,21 @@
|
|
|
469
472
|
# https://opencollective.com/openapi_generator/donate #
|
|
470
473
|
################################################################################
|
|
471
474
|
✅ SDK generated
|
|
472
|
-
[master
|
|
473
|
-
|
|
474
|
-
create mode 100644 models/
|
|
475
|
-
create mode 100644 models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
476
|
-
create mode 100644 models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
477
|
-
create mode 100644 models/ApiEsportSeriesGetFilterParameter.ts
|
|
478
|
-
create mode 100644 models/ApiEsportTournamentsIdGet200Response.ts
|
|
475
|
+
[master 6681110] VPS: Generated API SDK
|
|
476
|
+
4 files changed, 154 insertions(+)
|
|
477
|
+
create mode 100644 models/ApiEsportSeriesIdGet200Response.ts
|
|
479
478
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
480
|
-
|
|
479
|
+
731cde3..6681110 master -> master
|
|
481
480
|
✅ Changes committed and pushed
|
|
482
|
-
v1.1.
|
|
481
|
+
v1.1.228
|
|
483
482
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
484
|
-
|
|
483
|
+
6681110..12bd2f4 master -> master
|
|
485
484
|
✅ Version bumped
|
|
486
485
|
|
|
487
|
-
> @drxsuperapp/sdk@1.1.
|
|
486
|
+
> @drxsuperapp/sdk@1.1.228 prepublishOnly
|
|
488
487
|
> npm run build
|
|
489
488
|
|
|
490
489
|
|
|
491
|
-
> @drxsuperapp/sdk@1.1.
|
|
490
|
+
> @drxsuperapp/sdk@1.1.228 build
|
|
492
491
|
> tsc
|
|
493
492
|
|
package/dist/apis/EsportApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportSeriesGet200Response, ApiEsportSeriesGetFilterParameter, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportTournamentsGet200Response, ApiEsportTournamentsGetFilterParameter, ApiEsportTournamentsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
13
|
+
import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportSeriesGet200Response, ApiEsportSeriesGetFilterParameter, ApiEsportSeriesIdGet200Response, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportTournamentsGet200Response, ApiEsportTournamentsGetFilterParameter, ApiEsportTournamentsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiEsportMatchesGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -35,6 +35,9 @@ export interface ApiEsportSeriesGetRequest {
|
|
|
35
35
|
sort?: string;
|
|
36
36
|
filter?: ApiEsportSeriesGetFilterParameter;
|
|
37
37
|
}
|
|
38
|
+
export interface ApiEsportSeriesIdGetRequest {
|
|
39
|
+
id: string;
|
|
40
|
+
}
|
|
38
41
|
export interface ApiEsportTeamsGetRequest {
|
|
39
42
|
page?: number;
|
|
40
43
|
pageSize?: number;
|
|
@@ -97,6 +100,14 @@ export declare class EsportApi extends runtime.BaseAPI {
|
|
|
97
100
|
* Get Esport Series
|
|
98
101
|
*/
|
|
99
102
|
apiEsportSeriesGet(requestParameters?: ApiEsportSeriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportSeriesGet200Response>;
|
|
103
|
+
/**
|
|
104
|
+
* Get Esport Series Details
|
|
105
|
+
*/
|
|
106
|
+
apiEsportSeriesIdGetRaw(requestParameters: ApiEsportSeriesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportSeriesIdGet200Response>>;
|
|
107
|
+
/**
|
|
108
|
+
* Get Esport Series Details
|
|
109
|
+
*/
|
|
110
|
+
apiEsportSeriesIdGet(requestParameters: ApiEsportSeriesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportSeriesIdGet200Response>;
|
|
100
111
|
/**
|
|
101
112
|
* Get Esport Teams
|
|
102
113
|
*/
|
package/dist/apis/EsportApi.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportSeriesGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportTournamentsGet200ResponseFromJSON, ApiEsportTournamentsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
15
|
+
import { ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportSeriesGet200ResponseFromJSON, ApiEsportSeriesIdGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportTournamentsGet200ResponseFromJSON, ApiEsportTournamentsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -214,6 +214,40 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
214
214
|
const response = await this.apiEsportSeriesGetRaw(requestParameters, initOverrides);
|
|
215
215
|
return await response.value();
|
|
216
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* Get Esport Series Details
|
|
219
|
+
*/
|
|
220
|
+
async apiEsportSeriesIdGetRaw(requestParameters, initOverrides) {
|
|
221
|
+
if (requestParameters['id'] == null) {
|
|
222
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiEsportSeriesIdGet().');
|
|
223
|
+
}
|
|
224
|
+
const queryParameters = {};
|
|
225
|
+
const headerParameters = {};
|
|
226
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
227
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
228
|
+
}
|
|
229
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
230
|
+
const token = this.configuration.accessToken;
|
|
231
|
+
const tokenString = await token("BearerAuth", []);
|
|
232
|
+
if (tokenString) {
|
|
233
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
const response = await this.request({
|
|
237
|
+
path: `/api/esport/series/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
238
|
+
method: 'GET',
|
|
239
|
+
headers: headerParameters,
|
|
240
|
+
query: queryParameters,
|
|
241
|
+
}, initOverrides);
|
|
242
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportSeriesIdGet200ResponseFromJSON(jsonValue));
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Get Esport Series Details
|
|
246
|
+
*/
|
|
247
|
+
async apiEsportSeriesIdGet(requestParameters, initOverrides) {
|
|
248
|
+
const response = await this.apiEsportSeriesIdGetRaw(requestParameters, initOverrides);
|
|
249
|
+
return await response.value();
|
|
250
|
+
}
|
|
217
251
|
/**
|
|
218
252
|
* Get Esport Teams
|
|
219
253
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
import type { ApiEsportSeriesGet200ResponseResponseObjectItemsInner } from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportSeriesIdGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportSeriesIdGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiEsportSeriesGet200ResponseResponseObjectItemsInner}
|
|
34
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiEsportSeriesGet200ResponseResponseObjectItemsInner;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiEsportSeriesIdGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiEsportSeriesIdGet200Response(value: object): value is ApiEsportSeriesIdGet200Response;
|
|
48
|
+
export declare function ApiEsportSeriesIdGet200ResponseFromJSON(json: any): ApiEsportSeriesIdGet200Response;
|
|
49
|
+
export declare function ApiEsportSeriesIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportSeriesIdGet200Response;
|
|
50
|
+
export declare function ApiEsportSeriesIdGet200ResponseToJSON(json: any): ApiEsportSeriesIdGet200Response;
|
|
51
|
+
export declare function ApiEsportSeriesIdGet200ResponseToJSONTyped(value?: ApiEsportSeriesIdGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiEsportSeriesGet200ResponseResponseObjectItemsInnerFromJSON, ApiEsportSeriesGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportSeriesIdGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportSeriesIdGet200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiEsportSeriesIdGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiEsportSeriesIdGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiEsportSeriesIdGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiEsportSeriesGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiEsportSeriesIdGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiEsportSeriesIdGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiEsportSeriesIdGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiEsportSeriesGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from './ApiEsportSeriesGet200Response';
|
|
|
40
40
|
export * from './ApiEsportSeriesGet200ResponseResponseObject';
|
|
41
41
|
export * from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
42
42
|
export * from './ApiEsportSeriesGetFilterParameter';
|
|
43
|
+
export * from './ApiEsportSeriesIdGet200Response';
|
|
43
44
|
export * from './ApiEsportTeamsGet200Response';
|
|
44
45
|
export * from './ApiEsportTeamsGet200ResponseResponseObject';
|
|
45
46
|
export * from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
|
package/dist/models/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export * from './ApiEsportSeriesGet200Response';
|
|
|
42
42
|
export * from './ApiEsportSeriesGet200ResponseResponseObject';
|
|
43
43
|
export * from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
44
44
|
export * from './ApiEsportSeriesGetFilterParameter';
|
|
45
|
+
export * from './ApiEsportSeriesIdGet200Response';
|
|
45
46
|
export * from './ApiEsportTeamsGet200Response';
|
|
46
47
|
export * from './ApiEsportTeamsGet200ResponseResponseObject';
|
|
47
48
|
export * from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiEsportSeriesGet200ResponseResponseObjectItemsInner } from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportSeriesGet200ResponseResponseObjectItemsInnerFromJSON,
|
|
19
|
+
ApiEsportSeriesGet200ResponseResponseObjectItemsInnerFromJSONTyped,
|
|
20
|
+
ApiEsportSeriesGet200ResponseResponseObjectItemsInnerToJSON,
|
|
21
|
+
ApiEsportSeriesGet200ResponseResponseObjectItemsInnerToJSONTyped,
|
|
22
|
+
} from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiEsportSeriesIdGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiEsportSeriesIdGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiEsportSeriesGet200ResponseResponseObjectItemsInner}
|
|
45
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiEsportSeriesGet200ResponseResponseObjectItemsInner;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiEsportSeriesIdGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiEsportSeriesIdGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiEsportSeriesIdGet200Response(value: object): value is ApiEsportSeriesIdGet200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiEsportSeriesIdGet200ResponseFromJSON(json: any): ApiEsportSeriesIdGet200Response {
|
|
67
|
+
return ApiEsportSeriesIdGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiEsportSeriesIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportSeriesIdGet200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiEsportSeriesGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiEsportSeriesIdGet200ResponseToJSON(json: any): ApiEsportSeriesIdGet200Response {
|
|
84
|
+
return ApiEsportSeriesIdGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiEsportSeriesIdGet200ResponseToJSONTyped(value?: ApiEsportSeriesIdGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiEsportSeriesGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
package/models/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './ApiEsportSeriesGet200Response';
|
|
|
42
42
|
export * from './ApiEsportSeriesGet200ResponseResponseObject';
|
|
43
43
|
export * from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
44
44
|
export * from './ApiEsportSeriesGetFilterParameter';
|
|
45
|
+
export * from './ApiEsportSeriesIdGet200Response';
|
|
45
46
|
export * from './ApiEsportTeamsGet200Response';
|
|
46
47
|
export * from './ApiEsportTeamsGet200ResponseResponseObject';
|
|
47
48
|
export * from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
|