@drxsuperapp/sdk 1.1.146 → 1.1.148

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 CHANGED
@@ -207,21 +207,20 @@
207
207
  # https://opencollective.com/openapi_generator/donate #
208
208
  ################################################################################
209
209
  ✅ SDK generated
210
- On branch master
211
- Your branch is up to date with 'origin/master'.
212
-
213
- nothing to commit, working tree clean
214
- Everything up-to-date
210
+ [master a2f5f28] VPS: Generated API SDK
211
+ 3 files changed, 25 insertions(+)
212
+ To https://gitlab.com/drx-super/drx-sdk.git
213
+ fc74d4c..a2f5f28 master -> master
215
214
  ✅ Changes committed and pushed
216
- v1.1.146
215
+ v1.1.148
217
216
  To https://gitlab.com/drx-super/drx-sdk.git
218
- 66ccd87..27a62d1 master -> master
217
+ a2f5f28..b40a6c0 master -> master
219
218
  ✅ Version bumped
220
219
 
221
- > @drxsuperapp/sdk@1.1.146 prepublishOnly
220
+ > @drxsuperapp/sdk@1.1.148 prepublishOnly
222
221
  > npm run build
223
222
 
224
223
 
225
- > @drxsuperapp/sdk@1.1.146 build
224
+ > @drxsuperapp/sdk@1.1.148 build
226
225
  > tsc
227
226
 
@@ -64,6 +64,12 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObject {
64
64
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObject
65
65
  */
66
66
  userId: string;
67
+ /**
68
+ *
69
+ * @type {number}
70
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObject
71
+ */
72
+ superRoundStart: number | null;
67
73
  /**
68
74
  *
69
75
  * @type {ApiTournamentPadelIdGet200ResponseResponseObjectGameType}
@@ -36,6 +36,8 @@ export function instanceOfApiTournamentPadelIdGet200ResponseResponseObject(value
36
36
  return false;
37
37
  if (!('userId' in value) || value['userId'] === undefined)
38
38
  return false;
39
+ if (!('superRoundStart' in value) || value['superRoundStart'] === undefined)
40
+ return false;
39
41
  if (!('gameType' in value) || value['gameType'] === undefined)
40
42
  return false;
41
43
  if (!('players' in value) || value['players'] === undefined)
@@ -67,6 +69,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectFromJSONTyped(js
67
69
  'createdAt': (new Date(json['created_at'])),
68
70
  'updatedAt': (new Date(json['updated_at'])),
69
71
  'userId': json['user_id'],
72
+ 'superRoundStart': json['super_round_start'],
70
73
  'gameType': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeFromJSON(json['game_type']),
71
74
  'players': (json['players'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFromJSON)),
72
75
  'matchesSolo': (json['matchesSolo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerFromJSON)),
@@ -91,6 +94,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSONTyped(valu
91
94
  'created_at': ((value['createdAt']).toISOString()),
92
95
  'updated_at': ((value['updatedAt']).toISOString()),
93
96
  'user_id': value['userId'],
97
+ 'super_round_start': value['superRoundStart'],
94
98
  'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeToJSON(value['gameType']),
95
99
  'players': (value['players'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerToJSON)),
96
100
  'matchesSolo': (value['matchesSolo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerToJSON)),
@@ -75,6 +75,12 @@ export interface ApiTournamentPadelMatchSoloPutRequestBody {
75
75
  * @memberof ApiTournamentPadelMatchSoloPutRequestBody
76
76
  */
77
77
  court: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof ApiTournamentPadelMatchSoloPutRequestBody
82
+ */
83
+ extraPoint?: number | null;
78
84
  }
79
85
  /**
80
86
  * Check if a given object implements the ApiTournamentPadelMatchSoloPutRequestBody interface.
@@ -55,6 +55,7 @@ export function ApiTournamentPadelMatchSoloPutRequestBodyFromJSONTyped(json, ign
55
55
  'scoreB': json['score_b'],
56
56
  'round': json['round'],
57
57
  'court': json['court'],
58
+ 'extraPoint': json['extra_point'] == null ? undefined : json['extra_point'],
58
59
  };
59
60
  }
60
61
  export function ApiTournamentPadelMatchSoloPutRequestBodyToJSON(json) {
@@ -75,5 +76,6 @@ export function ApiTournamentPadelMatchSoloPutRequestBodyToJSONTyped(value, igno
75
76
  'score_b': value['scoreB'],
76
77
  'round': value['round'],
77
78
  'court': value['court'],
79
+ 'extra_point': value['extraPoint'],
78
80
  };
79
81
  }
@@ -53,6 +53,12 @@ export interface ApiTournamentPadelPostRequestBody {
53
53
  * @memberof ApiTournamentPadelPostRequestBody
54
54
  */
55
55
  teams: Array<ApiTournamentPadelPostRequestBodyTeamsInner>;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof ApiTournamentPadelPostRequestBody
60
+ */
61
+ superRoundStart?: number | null;
56
62
  }
57
63
  /**
58
64
  * Check if a given object implements the ApiTournamentPadelPostRequestBody interface.
@@ -43,6 +43,7 @@ export function ApiTournamentPadelPostRequestBodyFromJSONTyped(json, ignoreDiscr
43
43
  'userId': json['user_id'] == null ? undefined : json['user_id'],
44
44
  'players': (json['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON)),
45
45
  'teams': (json['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON)),
46
+ 'superRoundStart': json['super_round_start'] == null ? undefined : json['super_round_start'],
46
47
  };
47
48
  }
48
49
  export function ApiTournamentPadelPostRequestBodyToJSON(json) {
@@ -59,5 +60,6 @@ export function ApiTournamentPadelPostRequestBodyToJSONTyped(value, ignoreDiscri
59
60
  'user_id': value['userId'],
60
61
  'players': (value['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerToJSON)),
61
62
  'teams': (value['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerToJSON)),
63
+ 'super_round_start': value['superRoundStart'],
62
64
  };
63
65
  }
@@ -111,6 +111,12 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObject {
111
111
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObject
112
112
  */
113
113
  userId: string;
114
+ /**
115
+ *
116
+ * @type {number}
117
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObject
118
+ */
119
+ superRoundStart: number | null;
114
120
  /**
115
121
  *
116
122
  * @type {ApiTournamentPadelIdGet200ResponseResponseObjectGameType}
@@ -166,6 +172,7 @@ export function instanceOfApiTournamentPadelIdGet200ResponseResponseObject(value
166
172
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
167
173
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
168
174
  if (!('userId' in value) || value['userId'] === undefined) return false;
175
+ if (!('superRoundStart' in value) || value['superRoundStart'] === undefined) return false;
169
176
  if (!('gameType' in value) || value['gameType'] === undefined) return false;
170
177
  if (!('players' in value) || value['players'] === undefined) return false;
171
178
  if (!('matchesSolo' in value) || value['matchesSolo'] === undefined) return false;
@@ -193,6 +200,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectFromJSONTyped(js
193
200
  'createdAt': (new Date(json['created_at'])),
194
201
  'updatedAt': (new Date(json['updated_at'])),
195
202
  'userId': json['user_id'],
203
+ 'superRoundStart': json['super_round_start'],
196
204
  'gameType': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeFromJSON(json['game_type']),
197
205
  'players': ((json['players'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFromJSON)),
198
206
  'matchesSolo': ((json['matchesSolo'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerFromJSON)),
@@ -221,6 +229,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSONTyped(valu
221
229
  'created_at': ((value['createdAt']).toISOString()),
222
230
  'updated_at': ((value['updatedAt']).toISOString()),
223
231
  'user_id': value['userId'],
232
+ 'super_round_start': value['superRoundStart'],
224
233
  'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeToJSON(value['gameType']),
225
234
  'players': ((value['players'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerToJSON)),
226
235
  'matchesSolo': ((value['matchesSolo'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerToJSON)),
@@ -79,6 +79,12 @@ export interface ApiTournamentPadelMatchSoloPutRequestBody {
79
79
  * @memberof ApiTournamentPadelMatchSoloPutRequestBody
80
80
  */
81
81
  court: number;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof ApiTournamentPadelMatchSoloPutRequestBody
86
+ */
87
+ extraPoint?: number | null;
82
88
  }
83
89
 
84
90
  /**
@@ -118,6 +124,7 @@ export function ApiTournamentPadelMatchSoloPutRequestBodyFromJSONTyped(json: any
118
124
  'scoreB': json['score_b'],
119
125
  'round': json['round'],
120
126
  'court': json['court'],
127
+ 'extraPoint': json['extra_point'] == null ? undefined : json['extra_point'],
121
128
  };
122
129
  }
123
130
 
@@ -142,6 +149,7 @@ export function ApiTournamentPadelMatchSoloPutRequestBodyToJSONTyped(value?: Api
142
149
  'score_b': value['scoreB'],
143
150
  'round': value['round'],
144
151
  'court': value['court'],
152
+ 'extra_point': value['extraPoint'],
145
153
  };
146
154
  }
147
155
 
@@ -70,6 +70,12 @@ export interface ApiTournamentPadelPostRequestBody {
70
70
  * @memberof ApiTournamentPadelPostRequestBody
71
71
  */
72
72
  teams: Array<ApiTournamentPadelPostRequestBodyTeamsInner>;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof ApiTournamentPadelPostRequestBody
77
+ */
78
+ superRoundStart?: number | null;
73
79
  }
74
80
 
75
81
  /**
@@ -100,6 +106,7 @@ export function ApiTournamentPadelPostRequestBodyFromJSONTyped(json: any, ignore
100
106
  'userId': json['user_id'] == null ? undefined : json['user_id'],
101
107
  'players': ((json['players'] as Array<any>).map(ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON)),
102
108
  'teams': ((json['teams'] as Array<any>).map(ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON)),
109
+ 'superRoundStart': json['super_round_start'] == null ? undefined : json['super_round_start'],
103
110
  };
104
111
  }
105
112
 
@@ -120,6 +127,7 @@ export function ApiTournamentPadelPostRequestBodyToJSONTyped(value?: ApiTourname
120
127
  'user_id': value['userId'],
121
128
  'players': ((value['players'] as Array<any>).map(ApiTournamentPadelPostRequestBodyPlayersInnerToJSON)),
122
129
  'teams': ((value['teams'] as Array<any>).map(ApiTournamentPadelPostRequestBodyTeamsInnerToJSON)),
130
+ 'super_round_start': value['superRoundStart'],
123
131
  };
124
132
  }
125
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.146",
3
+ "version": "1.1.148",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {