@drxsuperapp/sdk 1.1.160 → 1.1.161

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
@@ -257,21 +257,20 @@
257
257
  # https://opencollective.com/openapi_generator/donate #
258
258
  ################################################################################
259
259
  ✅ SDK generated
260
- On branch master
261
- Your branch is up to date with 'origin/master'.
262
-
263
- nothing to commit, working tree clean
264
- Everything up-to-date
260
+ [master 9a584ba] VPS: Generated API SDK
261
+ 3 files changed, 11 insertions(+), 29 deletions(-)
262
+ To https://gitlab.com/drx-super/drx-sdk.git
263
+ 08a0f1f..9a584ba master -> master
265
264
  ✅ Changes committed and pushed
266
- v1.1.160
265
+ v1.1.161
267
266
  To https://gitlab.com/drx-super/drx-sdk.git
268
- 76011f4..08a0f1f master -> master
267
+ 9a584ba..56ed478 master -> master
269
268
  ✅ Version bumped
270
269
 
271
- > @drxsuperapp/sdk@1.1.160 prepublishOnly
270
+ > @drxsuperapp/sdk@1.1.161 prepublishOnly
272
271
  > npm run build
273
272
 
274
273
 
275
- > @drxsuperapp/sdk@1.1.160 build
274
+ > @drxsuperapp/sdk@1.1.161 build
276
275
  > tsc
277
276
 
@@ -32,13 +32,7 @@ export interface ApiTennisMatchesGet200ResponseResponseObjectItemsInner {
32
32
  * @type {Date}
33
33
  * @memberof ApiTennisMatchesGet200ResponseResponseObjectItemsInner
34
34
  */
35
- eventDate: Date | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof ApiTennisMatchesGet200ResponseResponseObjectItemsInner
40
- */
41
- eventTime: string | null;
35
+ eventDatetime: Date | null;
42
36
  /**
43
37
  *
44
38
  * @type {string}
@@ -19,9 +19,7 @@ export function instanceOfApiTennisMatchesGet200ResponseResponseObjectItemsInner
19
19
  return false;
20
20
  if (!('tournamentId' in value) || value['tournamentId'] === undefined)
21
21
  return false;
22
- if (!('eventDate' in value) || value['eventDate'] === undefined)
23
- return false;
24
- if (!('eventTime' in value) || value['eventTime'] === undefined)
22
+ if (!('eventDatetime' in value) || value['eventDatetime'] === undefined)
25
23
  return false;
26
24
  if (!('firstPlayerName' in value) || value['firstPlayerName'] === undefined)
27
25
  return false;
@@ -63,8 +61,7 @@ export function ApiTennisMatchesGet200ResponseResponseObjectItemsInnerFromJSONTy
63
61
  return {
64
62
  'id': json['id'],
65
63
  'tournamentId': json['tournamentId'],
66
- 'eventDate': (json['eventDate'] == null ? null : new Date(json['eventDate'])),
67
- 'eventTime': json['eventTime'],
64
+ 'eventDatetime': (json['eventDatetime'] == null ? null : new Date(json['eventDatetime'])),
68
65
  'firstPlayerName': json['firstPlayerName'],
69
66
  'firstPlayerId': json['firstPlayerId'],
70
67
  'secondPlayerName': json['secondPlayerName'],
@@ -91,8 +88,7 @@ export function ApiTennisMatchesGet200ResponseResponseObjectItemsInnerToJSONType
91
88
  return {
92
89
  'id': value['id'],
93
90
  'tournamentId': value['tournamentId'],
94
- 'eventDate': (value['eventDate'] == null ? null : value['eventDate'].toISOString()),
95
- 'eventTime': value['eventTime'],
91
+ 'eventDatetime': (value['eventDatetime'] == null ? null : value['eventDatetime'].toISOString()),
96
92
  'firstPlayerName': value['firstPlayerName'],
97
93
  'firstPlayerId': value['firstPlayerId'],
98
94
  'secondPlayerName': value['secondPlayerName'],
@@ -41,7 +41,7 @@ export interface ApiTennisMatchesGetFilterParameter {
41
41
  * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
42
42
  * @memberof ApiTennisMatchesGetFilterParameter
43
43
  */
44
- eventDate?: ApiPadelMatchesGetFilterParameterPlayedAt;
44
+ eventDatetime?: ApiPadelMatchesGetFilterParameterPlayedAt;
45
45
  /**
46
46
  *
47
47
  * @type {ApiPadelMatchesGetFilterParameterName}
@@ -31,7 +31,7 @@ export function ApiTennisMatchesGetFilterParameterFromJSONTyped(json, ignoreDisc
31
31
  'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
32
32
  'tournamentId': json['tournamentId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['tournamentId']),
33
33
  'eventType': json['eventType'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['eventType']),
34
- 'eventDate': json['eventDate'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['eventDate']),
34
+ 'eventDatetime': json['eventDatetime'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['eventDatetime']),
35
35
  'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
36
36
  'firstPlayerId': json['firstPlayerId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['firstPlayerId']),
37
37
  'secondPlayerId': json['secondPlayerId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['secondPlayerId']),
@@ -50,7 +50,7 @@ export function ApiTennisMatchesGetFilterParameterToJSONTyped(value, ignoreDiscr
50
50
  'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
51
51
  'tournamentId': ApiPadelMatchesGetFilterParameterIdToJSON(value['tournamentId']),
52
52
  'eventType': ApiPadelMatchesGetFilterParameterNameToJSON(value['eventType']),
53
- 'eventDate': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['eventDate']),
53
+ 'eventDatetime': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['eventDatetime']),
54
54
  'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
55
55
  'firstPlayerId': ApiPadelMatchesGetFilterParameterIdToJSON(value['firstPlayerId']),
56
56
  'secondPlayerId': ApiPadelMatchesGetFilterParameterIdToJSON(value['secondPlayerId']),
@@ -34,13 +34,7 @@ export interface ApiTennisMatchesIdGet200ResponseResponseObject {
34
34
  * @type {Date}
35
35
  * @memberof ApiTennisMatchesIdGet200ResponseResponseObject
36
36
  */
37
- eventDate: Date | null;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof ApiTennisMatchesIdGet200ResponseResponseObject
42
- */
43
- eventTime: string | null;
37
+ eventDatetime: Date | null;
44
38
  /**
45
39
  *
46
40
  * @type {string}
@@ -21,9 +21,7 @@ export function instanceOfApiTennisMatchesIdGet200ResponseResponseObject(value)
21
21
  return false;
22
22
  if (!('tournamentId' in value) || value['tournamentId'] === undefined)
23
23
  return false;
24
- if (!('eventDate' in value) || value['eventDate'] === undefined)
25
- return false;
26
- if (!('eventTime' in value) || value['eventTime'] === undefined)
24
+ if (!('eventDatetime' in value) || value['eventDatetime'] === undefined)
27
25
  return false;
28
26
  if (!('firstPlayerName' in value) || value['firstPlayerName'] === undefined)
29
27
  return false;
@@ -81,8 +79,7 @@ export function ApiTennisMatchesIdGet200ResponseResponseObjectFromJSONTyped(json
81
79
  return {
82
80
  'id': json['id'],
83
81
  'tournamentId': json['tournamentId'],
84
- 'eventDate': (json['eventDate'] == null ? null : new Date(json['eventDate'])),
85
- 'eventTime': json['eventTime'],
82
+ 'eventDatetime': (json['eventDatetime'] == null ? null : new Date(json['eventDatetime'])),
86
83
  'firstPlayerName': json['firstPlayerName'],
87
84
  'firstPlayerId': json['firstPlayerId'],
88
85
  'secondPlayerName': json['secondPlayerName'],
@@ -120,8 +117,7 @@ export function ApiTennisMatchesIdGet200ResponseResponseObjectToJSONTyped(value,
120
117
  return {
121
118
  'id': value['id'],
122
119
  'tournamentId': value['tournamentId'],
123
- 'eventDate': (value['eventDate'] == null ? null : value['eventDate'].toISOString()),
124
- 'eventTime': value['eventTime'],
120
+ 'eventDatetime': (value['eventDatetime'] == null ? null : value['eventDatetime'].toISOString()),
125
121
  'firstPlayerName': value['firstPlayerName'],
126
122
  'firstPlayerId': value['firstPlayerId'],
127
123
  'secondPlayerName': value['secondPlayerName'],
@@ -36,13 +36,7 @@ export interface ApiTennisMatchesGet200ResponseResponseObjectItemsInner {
36
36
  * @type {Date}
37
37
  * @memberof ApiTennisMatchesGet200ResponseResponseObjectItemsInner
38
38
  */
39
- eventDate: Date | null;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof ApiTennisMatchesGet200ResponseResponseObjectItemsInner
44
- */
45
- eventTime: string | null;
39
+ eventDatetime: Date | null;
46
40
  /**
47
41
  *
48
42
  * @type {string}
@@ -135,8 +129,7 @@ export interface ApiTennisMatchesGet200ResponseResponseObjectItemsInner {
135
129
  export function instanceOfApiTennisMatchesGet200ResponseResponseObjectItemsInner(value: object): value is ApiTennisMatchesGet200ResponseResponseObjectItemsInner {
136
130
  if (!('id' in value) || value['id'] === undefined) return false;
137
131
  if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
138
- if (!('eventDate' in value) || value['eventDate'] === undefined) return false;
139
- if (!('eventTime' in value) || value['eventTime'] === undefined) return false;
132
+ if (!('eventDatetime' in value) || value['eventDatetime'] === undefined) return false;
140
133
  if (!('firstPlayerName' in value) || value['firstPlayerName'] === undefined) return false;
141
134
  if (!('firstPlayerId' in value) || value['firstPlayerId'] === undefined) return false;
142
135
  if (!('secondPlayerName' in value) || value['secondPlayerName'] === undefined) return false;
@@ -166,8 +159,7 @@ export function ApiTennisMatchesGet200ResponseResponseObjectItemsInnerFromJSONTy
166
159
 
167
160
  'id': json['id'],
168
161
  'tournamentId': json['tournamentId'],
169
- 'eventDate': (json['eventDate'] == null ? null : new Date(json['eventDate'])),
170
- 'eventTime': json['eventTime'],
162
+ 'eventDatetime': (json['eventDatetime'] == null ? null : new Date(json['eventDatetime'])),
171
163
  'firstPlayerName': json['firstPlayerName'],
172
164
  'firstPlayerId': json['firstPlayerId'],
173
165
  'secondPlayerName': json['secondPlayerName'],
@@ -198,8 +190,7 @@ export function ApiTennisMatchesGet200ResponseResponseObjectItemsInnerToJSONType
198
190
 
199
191
  'id': value['id'],
200
192
  'tournamentId': value['tournamentId'],
201
- 'eventDate': (value['eventDate'] == null ? null : (value['eventDate'] as any).toISOString()),
202
- 'eventTime': value['eventTime'],
193
+ 'eventDatetime': (value['eventDatetime'] == null ? null : (value['eventDatetime'] as any).toISOString()),
203
194
  'firstPlayerName': value['firstPlayerName'],
204
195
  'firstPlayerId': value['firstPlayerId'],
205
196
  'secondPlayerName': value['secondPlayerName'],
@@ -64,7 +64,7 @@ export interface ApiTennisMatchesGetFilterParameter {
64
64
  * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
65
65
  * @memberof ApiTennisMatchesGetFilterParameter
66
66
  */
67
- eventDate?: ApiPadelMatchesGetFilterParameterPlayedAt;
67
+ eventDatetime?: ApiPadelMatchesGetFilterParameterPlayedAt;
68
68
  /**
69
69
  *
70
70
  * @type {ApiPadelMatchesGetFilterParameterName}
@@ -117,7 +117,7 @@ export function ApiTennisMatchesGetFilterParameterFromJSONTyped(json: any, ignor
117
117
  'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
118
118
  'tournamentId': json['tournamentId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['tournamentId']),
119
119
  'eventType': json['eventType'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['eventType']),
120
- 'eventDate': json['eventDate'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['eventDate']),
120
+ 'eventDatetime': json['eventDatetime'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['eventDatetime']),
121
121
  'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
122
122
  'firstPlayerId': json['firstPlayerId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['firstPlayerId']),
123
123
  'secondPlayerId': json['secondPlayerId'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['secondPlayerId']),
@@ -140,7 +140,7 @@ export function ApiTennisMatchesGetFilterParameterToJSONTyped(value?: ApiTennisM
140
140
  'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
141
141
  'tournamentId': ApiPadelMatchesGetFilterParameterIdToJSON(value['tournamentId']),
142
142
  'eventType': ApiPadelMatchesGetFilterParameterNameToJSON(value['eventType']),
143
- 'eventDate': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['eventDate']),
143
+ 'eventDatetime': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['eventDatetime']),
144
144
  'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
145
145
  'firstPlayerId': ApiPadelMatchesGetFilterParameterIdToJSON(value['firstPlayerId']),
146
146
  'secondPlayerId': ApiPadelMatchesGetFilterParameterIdToJSON(value['secondPlayerId']),
@@ -51,13 +51,7 @@ export interface ApiTennisMatchesIdGet200ResponseResponseObject {
51
51
  * @type {Date}
52
52
  * @memberof ApiTennisMatchesIdGet200ResponseResponseObject
53
53
  */
54
- eventDate: Date | null;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof ApiTennisMatchesIdGet200ResponseResponseObject
59
- */
60
- eventTime: string | null;
54
+ eventDatetime: Date | null;
61
55
  /**
62
56
  *
63
57
  * @type {string}
@@ -216,8 +210,7 @@ export interface ApiTennisMatchesIdGet200ResponseResponseObject {
216
210
  export function instanceOfApiTennisMatchesIdGet200ResponseResponseObject(value: object): value is ApiTennisMatchesIdGet200ResponseResponseObject {
217
211
  if (!('id' in value) || value['id'] === undefined) return false;
218
212
  if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
219
- if (!('eventDate' in value) || value['eventDate'] === undefined) return false;
220
- if (!('eventTime' in value) || value['eventTime'] === undefined) return false;
213
+ if (!('eventDatetime' in value) || value['eventDatetime'] === undefined) return false;
221
214
  if (!('firstPlayerName' in value) || value['firstPlayerName'] === undefined) return false;
222
215
  if (!('firstPlayerId' in value) || value['firstPlayerId'] === undefined) return false;
223
216
  if (!('secondPlayerName' in value) || value['secondPlayerName'] === undefined) return false;
@@ -255,8 +248,7 @@ export function ApiTennisMatchesIdGet200ResponseResponseObjectFromJSONTyped(json
255
248
 
256
249
  'id': json['id'],
257
250
  'tournamentId': json['tournamentId'],
258
- 'eventDate': (json['eventDate'] == null ? null : new Date(json['eventDate'])),
259
- 'eventTime': json['eventTime'],
251
+ 'eventDatetime': (json['eventDatetime'] == null ? null : new Date(json['eventDatetime'])),
260
252
  'firstPlayerName': json['firstPlayerName'],
261
253
  'firstPlayerId': json['firstPlayerId'],
262
254
  'secondPlayerName': json['secondPlayerName'],
@@ -298,8 +290,7 @@ export function ApiTennisMatchesIdGet200ResponseResponseObjectToJSONTyped(value?
298
290
 
299
291
  'id': value['id'],
300
292
  'tournamentId': value['tournamentId'],
301
- 'eventDate': (value['eventDate'] == null ? null : (value['eventDate'] as any).toISOString()),
302
- 'eventTime': value['eventTime'],
293
+ 'eventDatetime': (value['eventDatetime'] == null ? null : (value['eventDatetime'] as any).toISOString()),
303
294
  'firstPlayerName': value['firstPlayerName'],
304
295
  'firstPlayerId': value['firstPlayerId'],
305
296
  'secondPlayerName': value['secondPlayerName'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.160",
3
+ "version": "1.1.161",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {