@drxsuperapp/sdk 1.1.192 → 1.1.193
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 +4 -4
- package/apis/EsportApi.ts +10 -10
- package/deploy.log +21 -16
- package/dist/apis/EsportApi.d.ts +4 -4
- package/dist/apis/EsportApi.js +7 -7
- package/dist/models/ApiEsportIdMatchesGet200Response.d.ts +51 -0
- package/dist/models/{ApiEsportVgMatchesGet200Response.js → ApiEsportIdMatchesGet200Response.js} +11 -11
- package/dist/models/ApiEsportIdMatchesGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/{ApiEsportVgMatchesGet200ResponseResponseObject.js → ApiEsportIdMatchesGet200ResponseResponseObject.js} +11 -11
- package/dist/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInner.d.ts → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.d.ts} +22 -22
- package/dist/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInner.js → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.js} +11 -11
- package/dist/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner.d.ts → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.d.ts} +10 -10
- package/dist/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner.js → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.js} +8 -8
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/models/ApiEsportIdMatchesGet200Response.ts +100 -0
- package/models/{ApiEsportVgMatchesGet200ResponseResponseObject.ts → ApiEsportIdMatchesGet200ResponseResponseObject.ts} +25 -25
- package/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInner.ts → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.ts} +32 -32
- package/models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts → ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts} +12 -12
- package/models/index.ts +4 -4
- package/package.json +1 -1
- package/dist/models/ApiEsportVgMatchesGet200Response.d.ts +0 -51
- package/dist/models/ApiEsportVgMatchesGet200ResponseResponseObject.d.ts +0 -57
- package/models/ApiEsportVgMatchesGet200Response.ts +0 -100
package/.openapi-generator/FILES
CHANGED
|
@@ -18,10 +18,10 @@ models/ApiAuthLoginPost200ResponseResponseObjectUser.ts
|
|
|
18
18
|
models/ApiAuthLoginPostRequest.ts
|
|
19
19
|
models/ApiAuthRefreshPost200Response.ts
|
|
20
20
|
models/ApiAuthRefreshPost200ResponseResponseObject.ts
|
|
21
|
-
models/
|
|
22
|
-
models/
|
|
23
|
-
models/
|
|
24
|
-
models/
|
|
21
|
+
models/ApiEsportIdMatchesGet200Response.ts
|
|
22
|
+
models/ApiEsportIdMatchesGet200ResponseResponseObject.ts
|
|
23
|
+
models/ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
24
|
+
models/ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
25
25
|
models/ApiEsportVideogamesGet200Response.ts
|
|
26
26
|
models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
|
|
27
27
|
models/ApiHealthCheckGet200Response.ts
|
package/apis/EsportApi.ts
CHANGED
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
ApiEsportIdMatchesGet200Response,
|
|
19
19
|
ApiEsportVideogamesGet200Response,
|
|
20
20
|
} from '../models/index';
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ApiEsportIdMatchesGet200ResponseFromJSON,
|
|
23
|
+
ApiEsportIdMatchesGet200ResponseToJSON,
|
|
24
24
|
ApiEsportVideogamesGet200ResponseFromJSON,
|
|
25
25
|
ApiEsportVideogamesGet200ResponseToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface ApiEsportIdMatchesGetRequest {
|
|
29
29
|
id: string;
|
|
30
30
|
page?: number | null;
|
|
31
31
|
perPage?: number | null;
|
|
@@ -40,11 +40,11 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
40
40
|
/**
|
|
41
41
|
* Get Esport Matches Based On VG
|
|
42
42
|
*/
|
|
43
|
-
async
|
|
43
|
+
async apiEsportIdMatchesGetRaw(requestParameters: ApiEsportIdMatchesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportIdMatchesGet200Response>> {
|
|
44
44
|
if (requestParameters['id'] == null) {
|
|
45
45
|
throw new runtime.RequiredError(
|
|
46
46
|
'id',
|
|
47
|
-
'Required parameter "id" was null or undefined when calling
|
|
47
|
+
'Required parameter "id" was null or undefined when calling apiEsportIdMatchesGet().'
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -77,20 +77,20 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
const response = await this.request({
|
|
80
|
-
path: `/api/esport
|
|
80
|
+
path: `/api/esport/{id}/matches`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
81
81
|
method: 'GET',
|
|
82
82
|
headers: headerParameters,
|
|
83
83
|
query: queryParameters,
|
|
84
84
|
}, initOverrides);
|
|
85
85
|
|
|
86
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
86
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportIdMatchesGet200ResponseFromJSON(jsonValue));
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Get Esport Matches Based On VG
|
|
91
91
|
*/
|
|
92
|
-
async
|
|
93
|
-
const response = await this.
|
|
92
|
+
async apiEsportIdMatchesGet(requestParameters: ApiEsportIdMatchesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportIdMatchesGet200Response> {
|
|
93
|
+
const response = await this.apiEsportIdMatchesGetRaw(requestParameters, initOverrides);
|
|
94
94
|
return await response.value();
|
|
95
95
|
}
|
|
96
96
|
|
package/deploy.log
CHANGED
|
@@ -141,10 +141,10 @@
|
|
|
141
141
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_refresh_post_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_auth_refresh_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_refresh_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
142
142
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_videogames_get_200_response_responseObject_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_videogames_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_videogames_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI).
|
|
143
143
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_videogames_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_videogames_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_videogames_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
144
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
145
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
146
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
147
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
144
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport__id__matches_get_200_response_responseObject_items_inner_results_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__id__matches_get_200_response_responseObject_items_inner_results_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport__id__matches_get_200_response_responseObject_items_inner_results_inner=NewModel,ModelA=NewModelA in CLI).
|
|
145
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport__id__matches_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__id__matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport__id__matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
146
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport__id__matches_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__id__matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport__id__matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
147
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport__id__matches_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__id__matches_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport__id__matches_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
148
148
|
[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/]
|
|
149
149
|
[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/]
|
|
150
150
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthLoginPost200Response.ts
|
|
@@ -153,10 +153,10 @@
|
|
|
153
153
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthLoginPostRequest.ts
|
|
154
154
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthRefreshPost200Response.ts
|
|
155
155
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthRefreshPost200ResponseResponseObject.ts
|
|
156
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
157
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
158
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
159
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
156
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportIdMatchesGet200Response.ts
|
|
157
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportIdMatchesGet200ResponseResponseObject.ts
|
|
158
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
159
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
160
160
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200Response.ts
|
|
161
161
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
|
|
162
162
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiHealthCheckGet200Response.ts
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/refresh. Renamed to auto-generated operationId: apiAuthRefreshPost
|
|
332
332
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/auth/validate. Renamed to auto-generated operationId: apiAuthValidateGet
|
|
333
333
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/videogames. Renamed to auto-generated operationId: apiEsportVideogamesGet
|
|
334
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport
|
|
334
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/{id}/matches. Renamed to auto-generated operationId: apiEsportIdMatchesGet
|
|
335
335
|
[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/]
|
|
336
336
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/AppConfigApi.ts
|
|
337
337
|
[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/]
|
|
@@ -370,20 +370,25 @@
|
|
|
370
370
|
# https://opencollective.com/openapi_generator/donate #
|
|
371
371
|
################################################################################
|
|
372
372
|
✅ SDK generated
|
|
373
|
-
[master
|
|
374
|
-
|
|
373
|
+
[master fdd2189] VPS: Generated API SDK
|
|
374
|
+
8 files changed, 187 insertions(+), 187 deletions(-)
|
|
375
|
+
create mode 100644 models/ApiEsportIdMatchesGet200Response.ts
|
|
376
|
+
rename models/{ApiEsportVgMatchesGet200ResponseResponseObject.ts => ApiEsportIdMatchesGet200ResponseResponseObject.ts} (50%)
|
|
377
|
+
rename models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInner.ts => ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner.ts} (65%)
|
|
378
|
+
rename models/{ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts => ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts} (59%)
|
|
379
|
+
delete mode 100644 models/ApiEsportVgMatchesGet200Response.ts
|
|
375
380
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
376
|
-
|
|
381
|
+
c58de39..fdd2189 master -> master
|
|
377
382
|
✅ Changes committed and pushed
|
|
378
|
-
v1.1.
|
|
383
|
+
v1.1.193
|
|
379
384
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
380
|
-
|
|
385
|
+
fdd2189..5c03d75 master -> master
|
|
381
386
|
✅ Version bumped
|
|
382
387
|
|
|
383
|
-
> @drxsuperapp/sdk@1.1.
|
|
388
|
+
> @drxsuperapp/sdk@1.1.193 prepublishOnly
|
|
384
389
|
> npm run build
|
|
385
390
|
|
|
386
391
|
|
|
387
|
-
> @drxsuperapp/sdk@1.1.
|
|
392
|
+
> @drxsuperapp/sdk@1.1.193 build
|
|
388
393
|
> tsc
|
|
389
394
|
|
package/dist/apis/EsportApi.d.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface
|
|
13
|
+
import type { ApiEsportIdMatchesGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
14
|
+
export interface ApiEsportIdMatchesGetRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
page?: number | null;
|
|
17
17
|
perPage?: number | null;
|
|
@@ -24,11 +24,11 @@ export declare class EsportApi extends runtime.BaseAPI {
|
|
|
24
24
|
/**
|
|
25
25
|
* Get Esport Matches Based On VG
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
apiEsportIdMatchesGetRaw(requestParameters: ApiEsportIdMatchesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportIdMatchesGet200Response>>;
|
|
28
28
|
/**
|
|
29
29
|
* Get Esport Matches Based On VG
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
apiEsportIdMatchesGet(requestParameters: ApiEsportIdMatchesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportIdMatchesGet200Response>;
|
|
32
32
|
/**
|
|
33
33
|
* Get All Esport\'s Video Games
|
|
34
34
|
*/
|
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 {
|
|
15
|
+
import { ApiEsportIdMatchesGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -20,9 +20,9 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
20
20
|
/**
|
|
21
21
|
* Get Esport Matches Based On VG
|
|
22
22
|
*/
|
|
23
|
-
async
|
|
23
|
+
async apiEsportIdMatchesGetRaw(requestParameters, initOverrides) {
|
|
24
24
|
if (requestParameters['id'] == null) {
|
|
25
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
25
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiEsportIdMatchesGet().');
|
|
26
26
|
}
|
|
27
27
|
const queryParameters = {};
|
|
28
28
|
if (requestParameters['page'] != null) {
|
|
@@ -46,18 +46,18 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
const response = await this.request({
|
|
49
|
-
path: `/api/esport
|
|
49
|
+
path: `/api/esport/{id}/matches`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
50
50
|
method: 'GET',
|
|
51
51
|
headers: headerParameters,
|
|
52
52
|
query: queryParameters,
|
|
53
53
|
}, initOverrides);
|
|
54
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportIdMatchesGet200ResponseFromJSON(jsonValue));
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Get Esport Matches Based On VG
|
|
58
58
|
*/
|
|
59
|
-
async
|
|
60
|
-
const response = await this.
|
|
59
|
+
async apiEsportIdMatchesGet(requestParameters, initOverrides) {
|
|
60
|
+
const response = await this.apiEsportIdMatchesGetRaw(requestParameters, initOverrides);
|
|
61
61
|
return await response.value();
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -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 { ApiEsportIdMatchesGet200ResponseResponseObject } from './ApiEsportIdMatchesGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportIdMatchesGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportIdMatchesGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiEsportIdMatchesGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportIdMatchesGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiEsportIdMatchesGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiEsportIdMatchesGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiEsportIdMatchesGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportIdMatchesGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiEsportIdMatchesGet200Response(value: object): value is ApiEsportIdMatchesGet200Response;
|
|
48
|
+
export declare function ApiEsportIdMatchesGet200ResponseFromJSON(json: any): ApiEsportIdMatchesGet200Response;
|
|
49
|
+
export declare function ApiEsportIdMatchesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportIdMatchesGet200Response;
|
|
50
|
+
export declare function ApiEsportIdMatchesGet200ResponseToJSON(json: any): ApiEsportIdMatchesGet200Response;
|
|
51
|
+
export declare function ApiEsportIdMatchesGet200ResponseToJSONTyped(value?: ApiEsportIdMatchesGet200Response | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{ApiEsportVgMatchesGet200Response.js → ApiEsportIdMatchesGet200Response.js}
RENAMED
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ApiEsportIdMatchesGet200ResponseResponseObjectFromJSON, ApiEsportIdMatchesGet200ResponseResponseObjectToJSON, } from './ApiEsportIdMatchesGet200ResponseResponseObject';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200Response interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfApiEsportIdMatchesGet200Response(value) {
|
|
19
19
|
if (!('success' in value) || value['success'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -24,31 +24,31 @@ export function instanceOfApiEsportVgMatchesGet200Response(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function ApiEsportIdMatchesGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiEsportIdMatchesGet200ResponseFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function ApiEsportIdMatchesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'success': json['success'],
|
|
36
36
|
'message': json['message'],
|
|
37
|
-
'responseObject': json['responseObject'] == null ? undefined :
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiEsportIdMatchesGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
38
|
'statusCode': json['statusCode'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
41
|
+
export function ApiEsportIdMatchesGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiEsportIdMatchesGet200ResponseToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
export function
|
|
44
|
+
export function ApiEsportIdMatchesGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
45
|
if (value == null) {
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'success': value['success'],
|
|
50
50
|
'message': value['message'],
|
|
51
|
-
'responseObject':
|
|
51
|
+
'responseObject': ApiEsportIdMatchesGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
52
|
'statusCode': value['statusCode'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner } from './ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportIdMatchesGet200ResponseResponseObject
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportIdMatchesGet200ResponseResponseObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner>}
|
|
22
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObject
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObject
|
|
29
|
+
*/
|
|
30
|
+
currentPage: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObject
|
|
35
|
+
*/
|
|
36
|
+
totalItems: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObject
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObject
|
|
47
|
+
*/
|
|
48
|
+
pageSize: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200ResponseResponseObject interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfApiEsportIdMatchesGet200ResponseResponseObject(value: object): value is ApiEsportIdMatchesGet200ResponseResponseObject;
|
|
54
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectFromJSON(json: any): ApiEsportIdMatchesGet200ResponseResponseObject;
|
|
55
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportIdMatchesGet200ResponseResponseObject;
|
|
56
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectToJSON(json: any): ApiEsportIdMatchesGet200ResponseResponseObject;
|
|
57
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectToJSONTyped(value?: ApiEsportIdMatchesGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSON, ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200ResponseResponseObject interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfApiEsportIdMatchesGet200ResponseResponseObject(value) {
|
|
19
19
|
if (!('items' in value) || value['items'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('currentPage' in value) || value['currentPage'] === undefined)
|
|
@@ -28,30 +28,30 @@ export function instanceOfApiEsportVgMatchesGet200ResponseResponseObject(value)
|
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
|
-
export function
|
|
32
|
-
return
|
|
31
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectFromJSON(json) {
|
|
32
|
+
return ApiEsportIdMatchesGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
34
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
if (json == null) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'items': (json['items'].map(
|
|
39
|
+
'items': (json['items'].map(ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
40
40
|
'currentPage': json['currentPage'],
|
|
41
41
|
'totalItems': json['totalItems'],
|
|
42
42
|
'totalPages': json['totalPages'],
|
|
43
43
|
'pageSize': json['pageSize'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
export function
|
|
47
|
-
return
|
|
46
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectToJSON(json) {
|
|
47
|
+
return ApiEsportIdMatchesGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
export function
|
|
49
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
|
-
'items': (value['items'].map(
|
|
54
|
+
'items': (value['items'].map(ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
55
55
|
'currentPage': value['currentPage'],
|
|
56
56
|
'totalItems': value['totalItems'],
|
|
57
57
|
'totalPages': value['totalPages'],
|
|
@@ -9,86 +9,86 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner } from './ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
12
13
|
import type { ApiEsportVideogamesGet200ResponseResponseObjectInner } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
13
|
-
import type { ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner } from './ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @type {number}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
24
24
|
*/
|
|
25
25
|
id: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
30
30
|
*/
|
|
31
31
|
name: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
36
36
|
*/
|
|
37
37
|
status: string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
42
42
|
*/
|
|
43
43
|
slug: string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {string}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
48
48
|
*/
|
|
49
49
|
beginAt?: string;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {Array<
|
|
53
|
-
* @memberof
|
|
52
|
+
* @type {Array<ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner>}
|
|
53
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
54
54
|
*/
|
|
55
|
-
results?: Array<
|
|
55
|
+
results?: Array<ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner>;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
60
60
|
*/
|
|
61
61
|
videogameId: number;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {number}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
66
66
|
*/
|
|
67
67
|
tournamentId: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {number}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
72
72
|
*/
|
|
73
73
|
leagueId: number;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {number}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
78
78
|
*/
|
|
79
79
|
serieId: number;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @type {ApiEsportVideogamesGet200ResponseResponseObjectInner}
|
|
83
|
-
* @memberof
|
|
83
|
+
* @memberof ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner
|
|
84
84
|
*/
|
|
85
85
|
videogame: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Check if a given object implements the
|
|
88
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
89
89
|
*/
|
|
90
|
-
export declare function
|
|
91
|
-
export declare function
|
|
92
|
-
export declare function
|
|
93
|
-
export declare function
|
|
94
|
-
export declare function
|
|
90
|
+
export declare function instanceOfApiEsportIdMatchesGet200ResponseResponseObjectItemsInner(value: object): value is ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner;
|
|
91
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner;
|
|
92
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner;
|
|
93
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner;
|
|
94
|
+
export declare function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON, ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON, } from './ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
14
15
|
import { ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON, ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON, } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
15
|
-
import { ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON, ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON, } from './ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the ApiEsportIdMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfApiEsportIdMatchesGet200ResponseResponseObjectItemsInner(value) {
|
|
20
20
|
if (!('id' in value) || value['id'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -37,10 +37,10 @@ export function instanceOfApiEsportVgMatchesGet200ResponseResponseObjectItemsInn
|
|
|
37
37
|
return false;
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
40
|
-
export function
|
|
41
|
-
return
|
|
40
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSON(json) {
|
|
41
|
+
return ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
44
|
if (json == null) {
|
|
45
45
|
return json;
|
|
46
46
|
}
|
|
@@ -50,7 +50,7 @@ export function ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerFromJSON
|
|
|
50
50
|
'status': json['status'],
|
|
51
51
|
'slug': json['slug'],
|
|
52
52
|
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
53
|
-
'results': json['results'] == null ? undefined : (json['results'].map(
|
|
53
|
+
'results': json['results'] == null ? undefined : (json['results'].map(ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON)),
|
|
54
54
|
'videogameId': json['videogame_id'],
|
|
55
55
|
'tournamentId': json['tournament_id'],
|
|
56
56
|
'leagueId': json['league_id'],
|
|
@@ -58,10 +58,10 @@ export function ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerFromJSON
|
|
|
58
58
|
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['videogame']),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
export function
|
|
62
|
-
return
|
|
61
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSON(json) {
|
|
62
|
+
return ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
63
63
|
}
|
|
64
|
-
export function
|
|
64
|
+
export function ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
65
|
if (value == null) {
|
|
66
66
|
return value;
|
|
67
67
|
}
|
|
@@ -71,7 +71,7 @@ export function ApiEsportVgMatchesGet200ResponseResponseObjectItemsInnerToJSONTy
|
|
|
71
71
|
'status': value['status'],
|
|
72
72
|
'slug': value['slug'],
|
|
73
73
|
'begin_at': value['beginAt'],
|
|
74
|
-
'results': value['results'] == null ? undefined : (value['results'].map(
|
|
74
|
+
'results': value['results'] == null ? undefined : (value['results'].map(ApiEsportIdMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON)),
|
|
75
75
|
'videogame_id': value['videogameId'],
|
|
76
76
|
'tournament_id': value['tournamentId'],
|
|
77
77
|
'league_id': value['leagueId'],
|