@drxsuperapp/sdk 1.1.18 → 1.1.20
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 +35 -38
- 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,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';
|
|
@@ -0,0 +1,184 @@
|
|
|
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
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
130
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
131
|
+
export interface Consume {
|
|
132
|
+
contentType: string;
|
|
133
|
+
}
|
|
134
|
+
export interface RequestContext {
|
|
135
|
+
fetch: FetchAPI;
|
|
136
|
+
url: string;
|
|
137
|
+
init: RequestInit;
|
|
138
|
+
}
|
|
139
|
+
export interface ResponseContext {
|
|
140
|
+
fetch: FetchAPI;
|
|
141
|
+
url: string;
|
|
142
|
+
init: RequestInit;
|
|
143
|
+
response: Response;
|
|
144
|
+
}
|
|
145
|
+
export interface ErrorContext {
|
|
146
|
+
fetch: FetchAPI;
|
|
147
|
+
url: string;
|
|
148
|
+
init: RequestInit;
|
|
149
|
+
error: unknown;
|
|
150
|
+
response?: Response;
|
|
151
|
+
}
|
|
152
|
+
export interface Middleware {
|
|
153
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
154
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
155
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
156
|
+
}
|
|
157
|
+
export interface ApiResponse<T> {
|
|
158
|
+
raw: Response;
|
|
159
|
+
value(): Promise<T>;
|
|
160
|
+
}
|
|
161
|
+
export interface ResponseTransformer<T> {
|
|
162
|
+
(json: any): T;
|
|
163
|
+
}
|
|
164
|
+
export declare class JSONApiResponse<T> {
|
|
165
|
+
raw: Response;
|
|
166
|
+
private transformer;
|
|
167
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
168
|
+
value(): Promise<T>;
|
|
169
|
+
}
|
|
170
|
+
export declare class VoidApiResponse {
|
|
171
|
+
raw: Response;
|
|
172
|
+
constructor(raw: Response);
|
|
173
|
+
value(): Promise<void>;
|
|
174
|
+
}
|
|
175
|
+
export declare class BlobApiResponse {
|
|
176
|
+
raw: Response;
|
|
177
|
+
constructor(raw: Response);
|
|
178
|
+
value(): Promise<Blob>;
|
|
179
|
+
}
|
|
180
|
+
export declare class TextApiResponse {
|
|
181
|
+
raw: Response;
|
|
182
|
+
constructor(raw: Response);
|
|
183
|
+
value(): Promise<string>;
|
|
184
|
+
}
|