@drxsuperapp/sdk 1.1.257 → 1.1.258
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/deploy.log +8 -9
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.d.ts +14 -1
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.js +6 -3
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.d.ts +6 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.js +2 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts +25 -3
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts +8 -0
- package/package.json +1 -1
package/deploy.log
CHANGED
|
@@ -556,21 +556,20 @@
|
|
|
556
556
|
# https://opencollective.com/openapi_generator/donate #
|
|
557
557
|
################################################################################
|
|
558
558
|
✅ SDK generated
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
Everything up-to-date
|
|
559
|
+
[master b8efa4f] VPS: Generated API SDK
|
|
560
|
+
2 files changed, 33 insertions(+), 3 deletions(-)
|
|
561
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
562
|
+
1cc6f33..b8efa4f master -> master
|
|
564
563
|
✅ Changes committed and pushed
|
|
565
|
-
v1.1.
|
|
564
|
+
v1.1.258
|
|
566
565
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
567
|
-
|
|
566
|
+
b8efa4f..988a517 master -> master
|
|
568
567
|
✅ Version bumped
|
|
569
568
|
|
|
570
|
-
> @drxsuperapp/sdk@1.1.
|
|
569
|
+
> @drxsuperapp/sdk@1.1.258 prepublishOnly
|
|
571
570
|
> npm run build
|
|
572
571
|
|
|
573
572
|
|
|
574
|
-
> @drxsuperapp/sdk@1.1.
|
|
573
|
+
> @drxsuperapp/sdk@1.1.258 build
|
|
575
574
|
> tsc
|
|
576
575
|
|
package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
12
13
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -40,12 +41,24 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponents
|
|
|
40
41
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
41
42
|
*/
|
|
42
43
|
teamId?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
48
|
+
*/
|
|
49
|
+
playerId?: number;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
52
|
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam}
|
|
46
53
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
47
54
|
*/
|
|
48
|
-
team
|
|
55
|
+
team?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner}
|
|
59
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
60
|
+
*/
|
|
61
|
+
player?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner;
|
|
49
62
|
}
|
|
50
63
|
/**
|
|
51
64
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
14
15
|
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner interface.
|
|
@@ -20,8 +21,6 @@ export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
|
20
21
|
return false;
|
|
21
22
|
if (!('matchId' in value) || value['matchId'] === undefined)
|
|
22
23
|
return false;
|
|
23
|
-
if (!('team' in value) || value['team'] === undefined)
|
|
24
|
-
return false;
|
|
25
24
|
return true;
|
|
26
25
|
}
|
|
27
26
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON(json) {
|
|
@@ -36,7 +35,9 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsI
|
|
|
36
35
|
'type': json['type'] == null ? undefined : json['type'],
|
|
37
36
|
'matchId': json['match_id'],
|
|
38
37
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
39
|
-
'
|
|
38
|
+
'playerId': json['player_id'] == null ? undefined : json['player_id'],
|
|
39
|
+
'team': json['Team'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json['Team']),
|
|
40
|
+
'player': json['Player'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON(json['Player']),
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON(json) {
|
|
@@ -51,6 +52,8 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsI
|
|
|
51
52
|
'type': value['type'],
|
|
52
53
|
'match_id': value['matchId'],
|
|
53
54
|
'team_id': value['teamId'],
|
|
55
|
+
'player_id': value['playerId'],
|
|
54
56
|
'Team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(value['team']),
|
|
57
|
+
'Player': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON(value['player']),
|
|
55
58
|
};
|
|
56
59
|
}
|
|
@@ -29,6 +29,12 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsIn
|
|
|
29
29
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner
|
|
30
30
|
*/
|
|
31
31
|
teamId?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner
|
|
36
|
+
*/
|
|
37
|
+
playerId?: number;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam}
|
|
@@ -29,6 +29,7 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInn
|
|
|
29
29
|
return {
|
|
30
30
|
'score': json['score'] == null ? undefined : json['score'],
|
|
31
31
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
32
|
+
'playerId': json['player_id'] == null ? undefined : json['player_id'],
|
|
32
33
|
'team': json['team'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeamFromJSON(json['team']),
|
|
33
34
|
'players': json['players'] == null ? undefined : (json['players'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON)),
|
|
34
35
|
};
|
|
@@ -43,6 +44,7 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInn
|
|
|
43
44
|
return {
|
|
44
45
|
'score': value['score'],
|
|
45
46
|
'team_id': value['teamId'],
|
|
47
|
+
'player_id': value['playerId'],
|
|
46
48
|
'team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeamToJSON(value['team']),
|
|
47
49
|
'players': value['players'] == null ? undefined : (value['players'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON)),
|
|
48
50
|
};
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON,
|
|
19
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSONTyped,
|
|
20
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON,
|
|
21
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSONTyped,
|
|
22
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
16
23
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
17
24
|
import {
|
|
18
25
|
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON,
|
|
@@ -51,12 +58,24 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponents
|
|
|
51
58
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
52
59
|
*/
|
|
53
60
|
teamId?: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
65
|
+
*/
|
|
66
|
+
playerId?: number;
|
|
54
67
|
/**
|
|
55
68
|
*
|
|
56
69
|
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam}
|
|
57
70
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
58
71
|
*/
|
|
59
|
-
team
|
|
72
|
+
team?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner}
|
|
76
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
77
|
+
*/
|
|
78
|
+
player?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner;
|
|
60
79
|
}
|
|
61
80
|
|
|
62
81
|
/**
|
|
@@ -65,7 +84,6 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponents
|
|
|
65
84
|
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
66
85
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
86
|
if (!('matchId' in value) || value['matchId'] === undefined) return false;
|
|
68
|
-
if (!('team' in value) || value['team'] === undefined) return false;
|
|
69
87
|
return true;
|
|
70
88
|
}
|
|
71
89
|
|
|
@@ -83,7 +101,9 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsI
|
|
|
83
101
|
'type': json['type'] == null ? undefined : json['type'],
|
|
84
102
|
'matchId': json['match_id'],
|
|
85
103
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
86
|
-
'
|
|
104
|
+
'playerId': json['player_id'] == null ? undefined : json['player_id'],
|
|
105
|
+
'team': json['Team'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json['Team']),
|
|
106
|
+
'player': json['Player'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON(json['Player']),
|
|
87
107
|
};
|
|
88
108
|
}
|
|
89
109
|
|
|
@@ -102,7 +122,9 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsI
|
|
|
102
122
|
'type': value['type'],
|
|
103
123
|
'match_id': value['matchId'],
|
|
104
124
|
'team_id': value['teamId'],
|
|
125
|
+
'player_id': value['playerId'],
|
|
105
126
|
'Team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(value['team']),
|
|
127
|
+
'Player': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON(value['player']),
|
|
106
128
|
};
|
|
107
129
|
}
|
|
108
130
|
|
|
@@ -46,6 +46,12 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsIn
|
|
|
46
46
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner
|
|
47
47
|
*/
|
|
48
48
|
teamId?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner
|
|
53
|
+
*/
|
|
54
|
+
playerId?: number;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam}
|
|
@@ -79,6 +85,7 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInn
|
|
|
79
85
|
|
|
80
86
|
'score': json['score'] == null ? undefined : json['score'],
|
|
81
87
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
88
|
+
'playerId': json['player_id'] == null ? undefined : json['player_id'],
|
|
82
89
|
'team': json['team'] == null ? undefined : ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeamFromJSON(json['team']),
|
|
83
90
|
'players': json['players'] == null ? undefined : ((json['players'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON)),
|
|
84
91
|
};
|
|
@@ -97,6 +104,7 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInn
|
|
|
97
104
|
|
|
98
105
|
'score': value['score'],
|
|
99
106
|
'team_id': value['teamId'],
|
|
107
|
+
'player_id': value['playerId'],
|
|
100
108
|
'team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeamToJSON(value['team']),
|
|
101
109
|
'players': value['players'] == null ? undefined : ((value['players'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON)),
|
|
102
110
|
};
|