@drxsuperapp/sdk 1.1.130 → 1.1.131

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.
@@ -61,6 +61,8 @@ models/ApiTournamentPadelMatchSoloPut200Response.ts
61
61
  models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts
62
62
  models/ApiTournamentPadelMatchSoloPutRequest.ts
63
63
  models/ApiTournamentPadelMatchSoloPutRequestBody.ts
64
+ models/ApiTournamentPadelMatchTeamPut200Response.ts
65
+ models/ApiTournamentPadelMatchTeamPut200ResponseResponseObject.ts
64
66
  models/ApiTournamentPadelMatchTeamPutRequest.ts
65
67
  models/ApiTournamentPadelMatchTeamPutRequestBody.ts
66
68
  models/ApiTournamentPadelPost200Response.ts
@@ -23,6 +23,7 @@ import type {
23
23
  ApiTournamentPadelLeaderboardIdGet200Response,
24
24
  ApiTournamentPadelMatchSoloPut200Response,
25
25
  ApiTournamentPadelMatchSoloPutRequest,
26
+ ApiTournamentPadelMatchTeamPut200Response,
26
27
  ApiTournamentPadelMatchTeamPutRequest,
27
28
  ApiTournamentPadelPost200Response,
28
29
  ApiTournamentPadelPostRequest,
@@ -45,6 +46,8 @@ import {
45
46
  ApiTournamentPadelMatchSoloPut200ResponseToJSON,
46
47
  ApiTournamentPadelMatchSoloPutRequestFromJSON,
47
48
  ApiTournamentPadelMatchSoloPutRequestToJSON,
49
+ ApiTournamentPadelMatchTeamPut200ResponseFromJSON,
50
+ ApiTournamentPadelMatchTeamPut200ResponseToJSON,
48
51
  ApiTournamentPadelMatchTeamPutRequestFromJSON,
49
52
  ApiTournamentPadelMatchTeamPutRequestToJSON,
50
53
  ApiTournamentPadelPost200ResponseFromJSON,
@@ -367,7 +370,7 @@ export class TournamentApi extends runtime.BaseAPI {
367
370
  /**
368
371
  * Update Match Team
369
372
  */
370
- async apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>> {
373
+ async apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchTeamPut200Response>> {
371
374
  const queryParameters: any = {};
372
375
 
373
376
  const headerParameters: runtime.HTTPHeaders = {};
@@ -394,13 +397,13 @@ export class TournamentApi extends runtime.BaseAPI {
394
397
  body: ApiTournamentPadelMatchTeamPutRequestToJSON(requestParameters['apiTournamentPadelMatchTeamPutRequest']),
395
398
  }, initOverrides);
396
399
 
397
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchSoloPut200ResponseFromJSON(jsonValue));
400
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchTeamPut200ResponseFromJSON(jsonValue));
398
401
  }
399
402
 
400
403
  /**
401
404
  * Update Match Team
402
405
  */
403
- async apiTournamentPadelMatchTeamPut(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response> {
406
+ async apiTournamentPadelMatchTeamPut(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchTeamPut200Response> {
404
407
  const response = await this.apiTournamentPadelMatchTeamPutRaw(requestParameters, initOverrides);
405
408
  return await response.value();
406
409
  }
package/deploy.log CHANGED
@@ -70,6 +70,8 @@
70
70
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_solo_put_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_200_response=NewModel,ModelA=NewModelA in CLI).
71
71
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_request_body. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_request_body=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_request_body=NewModel,ModelA=NewModelA in CLI).
72
72
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_request=NewModel,ModelA=NewModelA in CLI).
73
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
74
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_200_response=NewModel,ModelA=NewModelA in CLI).
73
75
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores=NewModel,ModelA=NewModelA in CLI).
74
76
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI).
75
77
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__id__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_leaderboard__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
@@ -132,6 +134,8 @@
132
134
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts
133
135
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPutRequest.ts
134
136
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPutRequestBody.ts
137
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPut200Response.ts
138
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPut200ResponseResponseObject.ts
135
139
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPutRequest.ts
136
140
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPutRequestBody.ts
137
141
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPost200Response.ts
@@ -194,21 +198,22 @@
194
198
  # https://opencollective.com/openapi_generator/donate #
195
199
  ################################################################################
196
200
  ✅ SDK generated
197
- On branch master
198
- Your branch is up to date with 'origin/master'.
199
-
200
- nothing to commit, working tree clean
201
- Everything up-to-date
201
+ [master 423423c] VPS: Generated API SDK
202
+ 5 files changed, 257 insertions(+), 3 deletions(-)
203
+ create mode 100644 models/ApiTournamentPadelMatchTeamPut200Response.ts
204
+ create mode 100644 models/ApiTournamentPadelMatchTeamPut200ResponseResponseObject.ts
205
+ To https://gitlab.com/drx-super/drx-sdk.git
206
+ 89ff31c..423423c master -> master
202
207
  ✅ Changes committed and pushed
203
- v1.1.130
208
+ v1.1.131
204
209
  To https://gitlab.com/drx-super/drx-sdk.git
205
- 2669443..89ff31c master -> master
210
+ 423423c..de3a02f master -> master
206
211
  ✅ Version bumped
207
212
 
208
- > @drxsuperapp/sdk@1.1.130 prepublishOnly
213
+ > @drxsuperapp/sdk@1.1.131 prepublishOnly
209
214
  > npm run build
210
215
 
211
216
 
212
- > @drxsuperapp/sdk@1.1.130 build
217
+ > @drxsuperapp/sdk@1.1.131 build
213
218
  > tsc
214
219
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiTournamentGameTypesGet200Response, ApiTournamentGet200Response, ApiTournamentGetFilterParameter, ApiTournamentPadelIdDelete200Response, ApiTournamentPadelIdGet200Response, ApiTournamentPadelLeaderboardIdGet200Response, ApiTournamentPadelMatchSoloPut200Response, ApiTournamentPadelMatchSoloPutRequest, ApiTournamentPadelMatchTeamPutRequest, ApiTournamentPadelPost200Response, ApiTournamentPadelPostRequest, ApiTournamentSeedGameTypesGet200Response } from '../models/index';
13
+ import type { ApiTournamentGameTypesGet200Response, ApiTournamentGet200Response, ApiTournamentGetFilterParameter, ApiTournamentPadelIdDelete200Response, ApiTournamentPadelIdGet200Response, ApiTournamentPadelLeaderboardIdGet200Response, ApiTournamentPadelMatchSoloPut200Response, ApiTournamentPadelMatchSoloPutRequest, ApiTournamentPadelMatchTeamPut200Response, ApiTournamentPadelMatchTeamPutRequest, ApiTournamentPadelPost200Response, ApiTournamentPadelPostRequest, ApiTournamentSeedGameTypesGet200Response } from '../models/index';
14
14
  export interface ApiTournamentGetRequest {
15
15
  page?: number;
16
16
  pageSize?: number;
@@ -91,11 +91,11 @@ export declare class TournamentApi extends runtime.BaseAPI {
91
91
  /**
92
92
  * Update Match Team
93
93
  */
94
- apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>>;
94
+ apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchTeamPut200Response>>;
95
95
  /**
96
96
  * Update Match Team
97
97
  */
98
- apiTournamentPadelMatchTeamPut(requestParameters?: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response>;
98
+ apiTournamentPadelMatchTeamPut(requestParameters?: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchTeamPut200Response>;
99
99
  /**
100
100
  * Create Tournament
101
101
  */
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime';
15
- import { ApiTournamentGameTypesGet200ResponseFromJSON, ApiTournamentGet200ResponseFromJSON, ApiTournamentPadelIdDelete200ResponseFromJSON, ApiTournamentPadelIdGet200ResponseFromJSON, ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON, ApiTournamentPadelMatchSoloPut200ResponseFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, ApiTournamentPadelMatchTeamPutRequestToJSON, ApiTournamentPadelPost200ResponseFromJSON, ApiTournamentPadelPostRequestToJSON, ApiTournamentSeedGameTypesGet200ResponseFromJSON, } from '../models/index';
15
+ import { ApiTournamentGameTypesGet200ResponseFromJSON, ApiTournamentGet200ResponseFromJSON, ApiTournamentPadelIdDelete200ResponseFromJSON, ApiTournamentPadelIdGet200ResponseFromJSON, ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON, ApiTournamentPadelMatchSoloPut200ResponseFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, ApiTournamentPadelMatchTeamPut200ResponseFromJSON, ApiTournamentPadelMatchTeamPutRequestToJSON, ApiTournamentPadelPost200ResponseFromJSON, ApiTournamentPadelPostRequestToJSON, ApiTournamentSeedGameTypesGet200ResponseFromJSON, } from '../models/index';
16
16
  /**
17
17
  *
18
18
  */
@@ -253,7 +253,7 @@ export class TournamentApi extends runtime.BaseAPI {
253
253
  query: queryParameters,
254
254
  body: ApiTournamentPadelMatchTeamPutRequestToJSON(requestParameters['apiTournamentPadelMatchTeamPutRequest']),
255
255
  }, initOverrides);
256
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchSoloPut200ResponseFromJSON(jsonValue));
256
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchTeamPut200ResponseFromJSON(jsonValue));
257
257
  }
258
258
  /**
259
259
  * Update Match Team
@@ -0,0 +1,51 @@
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 { ApiTournamentPadelMatchTeamPut200ResponseResponseObject } from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelMatchTeamPut200Response
17
+ */
18
+ export interface ApiTournamentPadelMatchTeamPut200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiTournamentPadelMatchTeamPut200ResponseResponseObject}
34
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
35
+ */
36
+ responseObject?: ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiTournamentPadelMatchTeamPut200Response interface.
46
+ */
47
+ export declare function instanceOfApiTournamentPadelMatchTeamPut200Response(value: object): value is ApiTournamentPadelMatchTeamPut200Response;
48
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseFromJSON(json: any): ApiTournamentPadelMatchTeamPut200Response;
49
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchTeamPut200Response;
50
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseToJSON(json: any): ApiTournamentPadelMatchTeamPut200Response;
51
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseToJSONTyped(value?: ApiTournamentPadelMatchTeamPut200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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 { ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON, ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON, } from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelMatchTeamPut200Response interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelMatchTeamPut200Response(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiTournamentPadelMatchTeamPut200ResponseFromJSON(json) {
28
+ return ApiTournamentPadelMatchTeamPut200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiTournamentPadelMatchTeamPut200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiTournamentPadelMatchTeamPut200ResponseToJSON(json) {
42
+ return ApiTournamentPadelMatchTeamPut200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiTournamentPadelMatchTeamPut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,86 @@
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 ApiTournamentPadelMatchTeamPut200ResponseResponseObject
16
+ */
17
+ export interface ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
28
+ */
29
+ teamAId: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
34
+ */
35
+ teamBId: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
40
+ */
41
+ tournamentId: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
46
+ */
47
+ scoreA: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
52
+ */
53
+ scoreB: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
58
+ */
59
+ round: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
64
+ */
65
+ court: number;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
70
+ */
71
+ createdAt: Date;
72
+ /**
73
+ *
74
+ * @type {Date}
75
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
76
+ */
77
+ updatedAt: Date;
78
+ }
79
+ /**
80
+ * Check if a given object implements the ApiTournamentPadelMatchTeamPut200ResponseResponseObject interface.
81
+ */
82
+ export declare function instanceOfApiTournamentPadelMatchTeamPut200ResponseResponseObject(value: object): value is ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
83
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON(json: any): ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
84
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
85
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON(json: any): ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
86
+ export declare function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped(value?: ApiTournamentPadelMatchTeamPut200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,79 @@
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 ApiTournamentPadelMatchTeamPut200ResponseResponseObject interface.
16
+ */
17
+ export function instanceOfApiTournamentPadelMatchTeamPut200ResponseResponseObject(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('teamAId' in value) || value['teamAId'] === undefined)
21
+ return false;
22
+ if (!('teamBId' in value) || value['teamBId'] === undefined)
23
+ return false;
24
+ if (!('tournamentId' in value) || value['tournamentId'] === undefined)
25
+ return false;
26
+ if (!('scoreA' in value) || value['scoreA'] === undefined)
27
+ return false;
28
+ if (!('scoreB' in value) || value['scoreB'] === undefined)
29
+ return false;
30
+ if (!('round' in value) || value['round'] === undefined)
31
+ return false;
32
+ if (!('court' in value) || value['court'] === undefined)
33
+ return false;
34
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
35
+ return false;
36
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON(json) {
41
+ return ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped(json, false);
42
+ }
43
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'teamAId': json['team_a_id'],
50
+ 'teamBId': json['team_b_id'],
51
+ 'tournamentId': json['tournament_id'],
52
+ 'scoreA': json['score_a'],
53
+ 'scoreB': json['score_b'],
54
+ 'round': json['round'],
55
+ 'court': json['court'],
56
+ 'createdAt': (new Date(json['created_at'])),
57
+ 'updatedAt': (new Date(json['updated_at'])),
58
+ };
59
+ }
60
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON(json) {
61
+ return ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped(json, false);
62
+ }
63
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'id': value['id'],
69
+ 'team_a_id': value['teamAId'],
70
+ 'team_b_id': value['teamBId'],
71
+ 'tournament_id': value['tournamentId'],
72
+ 'score_a': value['scoreA'],
73
+ 'score_b': value['scoreB'],
74
+ 'round': value['round'],
75
+ 'court': value['court'],
76
+ 'created_at': ((value['createdAt']).toISOString()),
77
+ 'updated_at': ((value['updatedAt']).toISOString()),
78
+ };
79
+ }
@@ -53,6 +53,8 @@ export * from './ApiTournamentPadelMatchSoloPut200Response';
53
53
  export * from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
54
54
  export * from './ApiTournamentPadelMatchSoloPutRequest';
55
55
  export * from './ApiTournamentPadelMatchSoloPutRequestBody';
56
+ export * from './ApiTournamentPadelMatchTeamPut200Response';
57
+ export * from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
56
58
  export * from './ApiTournamentPadelMatchTeamPutRequest';
57
59
  export * from './ApiTournamentPadelMatchTeamPutRequestBody';
58
60
  export * from './ApiTournamentPadelPost200Response';
@@ -55,6 +55,8 @@ export * from './ApiTournamentPadelMatchSoloPut200Response';
55
55
  export * from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
56
56
  export * from './ApiTournamentPadelMatchSoloPutRequest';
57
57
  export * from './ApiTournamentPadelMatchSoloPutRequestBody';
58
+ export * from './ApiTournamentPadelMatchTeamPut200Response';
59
+ export * from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
58
60
  export * from './ApiTournamentPadelMatchTeamPutRequest';
59
61
  export * from './ApiTournamentPadelMatchTeamPutRequestBody';
60
62
  export * from './ApiTournamentPadelPost200Response';
@@ -0,0 +1,100 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { ApiTournamentPadelMatchTeamPut200ResponseResponseObject } from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
17
+ import {
18
+ ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON,
19
+ ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped,
20
+ ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON,
21
+ ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiTournamentPadelMatchTeamPut200Response
28
+ */
29
+ export interface ApiTournamentPadelMatchTeamPut200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiTournamentPadelMatchTeamPut200ResponseResponseObject}
45
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
46
+ */
47
+ responseObject?: ApiTournamentPadelMatchTeamPut200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiTournamentPadelMatchTeamPut200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiTournamentPadelMatchTeamPut200Response interface.
58
+ */
59
+ export function instanceOfApiTournamentPadelMatchTeamPut200Response(value: object): value is ApiTournamentPadelMatchTeamPut200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiTournamentPadelMatchTeamPut200ResponseFromJSON(json: any): ApiTournamentPadelMatchTeamPut200Response {
67
+ return ApiTournamentPadelMatchTeamPut200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiTournamentPadelMatchTeamPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchTeamPut200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiTournamentPadelMatchTeamPut200ResponseToJSON(json: any): ApiTournamentPadelMatchTeamPut200Response {
84
+ return ApiTournamentPadelMatchTeamPut200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiTournamentPadelMatchTeamPut200ResponseToJSONTyped(value?: ApiTournamentPadelMatchTeamPut200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,147 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiTournamentPadelMatchTeamPut200ResponseResponseObject
20
+ */
21
+ export interface ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
26
+ */
27
+ id: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
32
+ */
33
+ teamAId: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
38
+ */
39
+ teamBId: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
44
+ */
45
+ tournamentId: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
50
+ */
51
+ scoreA: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
56
+ */
57
+ scoreB: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
62
+ */
63
+ round: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
68
+ */
69
+ court: number;
70
+ /**
71
+ *
72
+ * @type {Date}
73
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
74
+ */
75
+ createdAt: Date;
76
+ /**
77
+ *
78
+ * @type {Date}
79
+ * @memberof ApiTournamentPadelMatchTeamPut200ResponseResponseObject
80
+ */
81
+ updatedAt: Date;
82
+ }
83
+
84
+ /**
85
+ * Check if a given object implements the ApiTournamentPadelMatchTeamPut200ResponseResponseObject interface.
86
+ */
87
+ export function instanceOfApiTournamentPadelMatchTeamPut200ResponseResponseObject(value: object): value is ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
88
+ if (!('id' in value) || value['id'] === undefined) return false;
89
+ if (!('teamAId' in value) || value['teamAId'] === undefined) return false;
90
+ if (!('teamBId' in value) || value['teamBId'] === undefined) return false;
91
+ if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
92
+ if (!('scoreA' in value) || value['scoreA'] === undefined) return false;
93
+ if (!('scoreB' in value) || value['scoreB'] === undefined) return false;
94
+ if (!('round' in value) || value['round'] === undefined) return false;
95
+ if (!('court' in value) || value['court'] === undefined) return false;
96
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
97
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
98
+ return true;
99
+ }
100
+
101
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSON(json: any): ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
102
+ return ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped(json, false);
103
+ }
104
+
105
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
106
+ if (json == null) {
107
+ return json;
108
+ }
109
+ return {
110
+
111
+ 'id': json['id'],
112
+ 'teamAId': json['team_a_id'],
113
+ 'teamBId': json['team_b_id'],
114
+ 'tournamentId': json['tournament_id'],
115
+ 'scoreA': json['score_a'],
116
+ 'scoreB': json['score_b'],
117
+ 'round': json['round'],
118
+ 'court': json['court'],
119
+ 'createdAt': (new Date(json['created_at'])),
120
+ 'updatedAt': (new Date(json['updated_at'])),
121
+ };
122
+ }
123
+
124
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSON(json: any): ApiTournamentPadelMatchTeamPut200ResponseResponseObject {
125
+ return ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped(json, false);
126
+ }
127
+
128
+ export function ApiTournamentPadelMatchTeamPut200ResponseResponseObjectToJSONTyped(value?: ApiTournamentPadelMatchTeamPut200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
129
+ if (value == null) {
130
+ return value;
131
+ }
132
+
133
+ return {
134
+
135
+ 'id': value['id'],
136
+ 'team_a_id': value['teamAId'],
137
+ 'team_b_id': value['teamBId'],
138
+ 'tournament_id': value['tournamentId'],
139
+ 'score_a': value['scoreA'],
140
+ 'score_b': value['scoreB'],
141
+ 'round': value['round'],
142
+ 'court': value['court'],
143
+ 'created_at': ((value['createdAt']).toISOString()),
144
+ 'updated_at': ((value['updatedAt']).toISOString()),
145
+ };
146
+ }
147
+
package/models/index.ts CHANGED
@@ -55,6 +55,8 @@ export * from './ApiTournamentPadelMatchSoloPut200Response';
55
55
  export * from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
56
56
  export * from './ApiTournamentPadelMatchSoloPutRequest';
57
57
  export * from './ApiTournamentPadelMatchSoloPutRequestBody';
58
+ export * from './ApiTournamentPadelMatchTeamPut200Response';
59
+ export * from './ApiTournamentPadelMatchTeamPut200ResponseResponseObject';
58
60
  export * from './ApiTournamentPadelMatchTeamPutRequest';
59
61
  export * from './ApiTournamentPadelMatchTeamPutRequestBody';
60
62
  export * from './ApiTournamentPadelPost200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.130",
3
+ "version": "1.1.131",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {