@drxsuperapp/sdk 1.1.17 → 1.1.19
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 +28 -32
- package/apis/ExampleApi.ts +212 -0
- package/apis/HealthCheckApi.ts +54 -0
- package/apis/NewsApi.ts +115 -0
- package/apis/PadelApi.ts +56 -0
- package/apis/index.ts +6 -0
- package/deploy.log +75 -43
- package/dist/apis/ExampleApi.d.ts +65 -0
- package/dist/apis/ExampleApi.js +133 -0
- package/dist/apis/HealthCheckApi.d.ts +24 -0
- package/dist/apis/HealthCheckApi.js +39 -0
- package/dist/apis/NewsApi.d.ts +39 -0
- package/dist/apis/NewsApi.js +73 -0
- package/dist/apis/PadelApi.d.ts +26 -0
- package/dist/apis/PadelApi.js +41 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +6 -0
- package/dist/index.d.ts +3 -13
- package/dist/index.js +3 -13
- package/dist/models/ApiExamplesGet200ResponseInner.d.ts +56 -0
- package/dist/models/ApiExamplesGet200ResponseInner.js +59 -0
- package/dist/models/ApiExamplesIdPutRequest.d.ts +38 -0
- package/dist/models/ApiExamplesIdPutRequest.js +43 -0
- package/dist/models/ApiExamplesPostRequest.d.ts +38 -0
- package/dist/models/ApiExamplesPostRequest.js +47 -0
- package/dist/models/ApiHealthCheckGet200Response.d.ts +50 -0
- package/dist/models/ApiHealthCheckGet200Response.js +53 -0
- package/dist/models/ApiNewsGet200Response.d.ts +51 -0
- package/dist/models/ApiNewsGet200Response.js +54 -0
- package/dist/models/ApiNewsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiNewsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiNewsGet200ResponseResponseObjectItemsInner.d.ts +62 -0
- package/dist/models/ApiNewsGet200ResponseResponseObjectItemsInner.js +63 -0
- package/dist/models/ApiNewsIdGet200Response.d.ts +51 -0
- package/dist/models/ApiNewsIdGet200Response.js +54 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObject.d.ts +106 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObject.js +93 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.d.ts +33 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.js +44 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.d.ts +44 -0
- package/dist/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.js +51 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInner.d.ts +120 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInner.js +103 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerPlayers.d.ts +39 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerPlayers.js +48 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.d.ts +50 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.js +55 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerScoreInner.d.ts +38 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerScoreInner.js +47 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSets.d.ts +52 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSets.js +57 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInner.d.ts +39 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInner.js +48 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner.d.ts +44 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner.js +51 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStats.d.ts +78 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStats.js +68 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStatsConnections.d.ts +32 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStatsConnections.js +43 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStatsMatchValue.d.ts +38 -0
- package/dist/models/ApiPadelMatchesGet200ResponseInnerStatsMatchValue.js +47 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +23 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +333 -0
- package/index.ts +3 -16
- package/models/ApiExamplesGet200ResponseInner.ts +102 -0
- package/models/ApiExamplesIdPutRequest.ts +73 -0
- package/models/ApiExamplesPostRequest.ts +75 -0
- package/models/ApiHealthCheckGet200Response.ts +92 -0
- package/models/ApiNewsGet200Response.ts +100 -0
- package/models/ApiNewsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiNewsGet200ResponseResponseObjectItemsInner.ts +111 -0
- package/models/ApiNewsIdGet200Response.ts +100 -0
- package/models/ApiNewsIdGet200ResponseResponseObject.ts +189 -0
- package/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.ts +74 -0
- package/models/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.ts +84 -0
- package/models/ApiPadelMatchesGet200ResponseInner.ts +221 -0
- package/models/ApiPadelMatchesGet200ResponseInnerPlayers.ts +83 -0
- package/models/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.ts +93 -0
- package/models/ApiPadelMatchesGet200ResponseInnerScoreInner.ts +75 -0
- package/models/ApiPadelMatchesGet200ResponseInnerSets.ts +108 -0
- package/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInner.ts +83 -0
- package/models/ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner.ts +84 -0
- package/models/ApiPadelMatchesGet200ResponseInnerStats.ts +134 -0
- package/models/ApiPadelMatchesGet200ResponseInnerStatsConnections.ts +66 -0
- package/models/ApiPadelMatchesGet200ResponseInnerStatsMatchValue.ts +75 -0
- package/models/index.ts +23 -0
- package/package.json +1 -1
- package/runtime.ts +432 -0
- package/workflow.sh +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
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 { ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSON, ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSON, } from './ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerSetsSetsInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPadelMatchesGet200ResponseInnerSetsSetsInner(value) {
|
|
19
|
+
if (!('games' in value) || value['games'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('setNumber' in value) || value['setNumber'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerFromJSON(json) {
|
|
26
|
+
return ApiPadelMatchesGet200ResponseInnerSetsSetsInnerFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'games': (json['games'].map(ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSON)),
|
|
34
|
+
'setNumber': json['set_number'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerToJSON(json) {
|
|
38
|
+
return ApiPadelMatchesGet200ResponseInnerSetsSetsInnerToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'games': (value['games'].map(ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSON)),
|
|
46
|
+
'set_number': value['setNumber'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner
|
|
22
|
+
*/
|
|
23
|
+
points: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner
|
|
28
|
+
*/
|
|
29
|
+
gameScore: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner
|
|
34
|
+
*/
|
|
35
|
+
gameNumber: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner(value: object): value is ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner;
|
|
41
|
+
export declare function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSON(json: any): ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner;
|
|
42
|
+
export declare function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner;
|
|
43
|
+
export declare function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSON(json: any): ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner;
|
|
44
|
+
export declare function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSONTyped(value?: ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner(value) {
|
|
18
|
+
if (!('points' in value) || value['points'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('gameScore' in value) || value['gameScore'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('gameNumber' in value) || value['gameNumber'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSON(json) {
|
|
27
|
+
return ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'points': json['points'],
|
|
35
|
+
'gameScore': json['game_score'],
|
|
36
|
+
'gameNumber': json['game_number'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSON(json) {
|
|
40
|
+
return ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'points': value['points'],
|
|
48
|
+
'game_score': value['gameScore'],
|
|
49
|
+
'game_number': value['gameNumber'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 { ApiPadelMatchesGet200ResponseInnerStatsConnections } from './ApiPadelMatchesGet200ResponseInnerStatsConnections';
|
|
13
|
+
import type { ApiPadelMatchesGet200ResponseInnerStatsMatchValue } from './ApiPadelMatchesGet200ResponseInnerStatsMatchValue';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiPadelMatchesGet200ResponseInnerStats
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiPadelMatchesGet200ResponseInnerStats {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
30
|
+
*/
|
|
31
|
+
self: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue; }}
|
|
35
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
36
|
+
*/
|
|
37
|
+
match: {
|
|
38
|
+
[key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {{ [key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue; }}
|
|
43
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
44
|
+
*/
|
|
45
|
+
set1: {
|
|
46
|
+
[key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {{ [key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue; }}
|
|
51
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
52
|
+
*/
|
|
53
|
+
set2: {
|
|
54
|
+
[key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {{ [key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue; }}
|
|
59
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
60
|
+
*/
|
|
61
|
+
set3?: {
|
|
62
|
+
[key: string]: ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {ApiPadelMatchesGet200ResponseInnerStatsConnections}
|
|
67
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStats
|
|
68
|
+
*/
|
|
69
|
+
connections: ApiPadelMatchesGet200ResponseInnerStatsConnections;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStats interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfApiPadelMatchesGet200ResponseInnerStats(value: object): value is ApiPadelMatchesGet200ResponseInnerStats;
|
|
75
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsFromJSON(json: any): ApiPadelMatchesGet200ResponseInnerStats;
|
|
76
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesGet200ResponseInnerStats;
|
|
77
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsToJSON(json: any): ApiPadelMatchesGet200ResponseInnerStats;
|
|
78
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsToJSONTyped(value?: ApiPadelMatchesGet200ResponseInnerStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { mapValues } from '../runtime';
|
|
15
|
+
import { ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSON, ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSON, } from './ApiPadelMatchesGet200ResponseInnerStatsConnections';
|
|
16
|
+
import { ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON, ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON, } from './ApiPadelMatchesGet200ResponseInnerStatsMatchValue';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStats interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfApiPadelMatchesGet200ResponseInnerStats(value) {
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('self' in value) || value['self'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('match' in value) || value['match'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('set1' in value) || value['set1'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('set2' in value) || value['set2'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('connections' in value) || value['connections'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsFromJSON(json) {
|
|
36
|
+
return ApiPadelMatchesGet200ResponseInnerStatsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'self': json['self'],
|
|
45
|
+
'match': (mapValues(json['match'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON)),
|
|
46
|
+
'set1': (mapValues(json['set_1'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON)),
|
|
47
|
+
'set2': (mapValues(json['set_2'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON)),
|
|
48
|
+
'set3': json['set_3'] == null ? undefined : (mapValues(json['set_3'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON)),
|
|
49
|
+
'connections': ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSON(json['connections']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsToJSON(json) {
|
|
53
|
+
return ApiPadelMatchesGet200ResponseInnerStatsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'self': value['self'],
|
|
62
|
+
'match': (mapValues(value['match'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON)),
|
|
63
|
+
'set_1': (mapValues(value['set1'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON)),
|
|
64
|
+
'set_2': (mapValues(value['set2'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON)),
|
|
65
|
+
'set_3': value['set3'] == null ? undefined : (mapValues(value['set3'], ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON)),
|
|
66
|
+
'connections': ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSON(value['connections']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiPadelMatchesGet200ResponseInnerStatsConnections
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelMatchesGet200ResponseInnerStatsConnections {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStatsConnections
|
|
22
|
+
*/
|
|
23
|
+
match: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStatsConnections interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiPadelMatchesGet200ResponseInnerStatsConnections(value: object): value is ApiPadelMatchesGet200ResponseInnerStatsConnections;
|
|
29
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSON(json: any): ApiPadelMatchesGet200ResponseInnerStatsConnections;
|
|
30
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesGet200ResponseInnerStatsConnections;
|
|
31
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSON(json: any): ApiPadelMatchesGet200ResponseInnerStatsConnections;
|
|
32
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSONTyped(value?: ApiPadelMatchesGet200ResponseInnerStatsConnections | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStatsConnections interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPadelMatchesGet200ResponseInnerStatsConnections(value) {
|
|
18
|
+
if (!('match' in value) || value['match'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSON(json) {
|
|
23
|
+
return ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsConnectionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'match': json['match'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSON(json) {
|
|
34
|
+
return ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsConnectionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'match': value['match'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiPadelMatchesGet200ResponseInnerStatsMatchValue
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelMatchesGet200ResponseInnerStatsMatchValue {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStatsMatchValue
|
|
22
|
+
*/
|
|
23
|
+
team1: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerStatsMatchValue
|
|
28
|
+
*/
|
|
29
|
+
team2: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStatsMatchValue interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiPadelMatchesGet200ResponseInnerStatsMatchValue(value: object): value is ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
35
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON(json: any): ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
36
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
37
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON(json: any): ApiPadelMatchesGet200ResponseInnerStatsMatchValue;
|
|
38
|
+
export declare function ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSONTyped(value?: ApiPadelMatchesGet200ResponseInnerStatsMatchValue | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the ApiPadelMatchesGet200ResponseInnerStatsMatchValue interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPadelMatchesGet200ResponseInnerStatsMatchValue(value) {
|
|
18
|
+
if (!('team1' in value) || value['team1'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('team2' in value) || value['team2'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSON(json) {
|
|
25
|
+
return ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsMatchValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'team1': json['team_1'],
|
|
33
|
+
'team2': json['team_2'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSON(json) {
|
|
37
|
+
return ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiPadelMatchesGet200ResponseInnerStatsMatchValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'team_1': value['team1'],
|
|
45
|
+
'team_2': value['team2'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './ApiExamplesGet200ResponseInner';
|
|
2
|
+
export * from './ApiExamplesIdPutRequest';
|
|
3
|
+
export * from './ApiExamplesPostRequest';
|
|
4
|
+
export * from './ApiHealthCheckGet200Response';
|
|
5
|
+
export * from './ApiNewsGet200Response';
|
|
6
|
+
export * from './ApiNewsGet200ResponseResponseObject';
|
|
7
|
+
export * from './ApiNewsGet200ResponseResponseObjectItemsInner';
|
|
8
|
+
export * from './ApiNewsIdGet200Response';
|
|
9
|
+
export * from './ApiNewsIdGet200ResponseResponseObject';
|
|
10
|
+
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
|
|
11
|
+
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
|
|
12
|
+
export * from './ApiPadelMatchesGet200ResponseInner';
|
|
13
|
+
export * from './ApiPadelMatchesGet200ResponseInnerPlayers';
|
|
14
|
+
export * from './ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner';
|
|
15
|
+
export * from './ApiPadelMatchesGet200ResponseInnerScoreInner';
|
|
16
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSets';
|
|
17
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSetsSetsInner';
|
|
18
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner';
|
|
19
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStats';
|
|
20
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStatsConnections';
|
|
21
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStatsMatchValue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './ApiExamplesGet200ResponseInner';
|
|
4
|
+
export * from './ApiExamplesIdPutRequest';
|
|
5
|
+
export * from './ApiExamplesPostRequest';
|
|
6
|
+
export * from './ApiHealthCheckGet200Response';
|
|
7
|
+
export * from './ApiNewsGet200Response';
|
|
8
|
+
export * from './ApiNewsGet200ResponseResponseObject';
|
|
9
|
+
export * from './ApiNewsGet200ResponseResponseObjectItemsInner';
|
|
10
|
+
export * from './ApiNewsIdGet200Response';
|
|
11
|
+
export * from './ApiNewsIdGet200ResponseResponseObject';
|
|
12
|
+
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
|
|
13
|
+
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
|
|
14
|
+
export * from './ApiPadelMatchesGet200ResponseInner';
|
|
15
|
+
export * from './ApiPadelMatchesGet200ResponseInnerPlayers';
|
|
16
|
+
export * from './ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner';
|
|
17
|
+
export * from './ApiPadelMatchesGet200ResponseInnerScoreInner';
|
|
18
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSets';
|
|
19
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSetsSetsInner';
|
|
20
|
+
export * from './ApiPadelMatchesGet200ResponseInnerSetsSetsInnerGamesInner';
|
|
21
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStats';
|
|
22
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStatsConnections';
|
|
23
|
+
export * from './ApiPadelMatchesGet200ResponseInnerStatsMatchValue';
|