@drxsuperapp/sdk 1.1.105 → 1.1.107
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 +3 -0
- package/apis/UserApi.ts +99 -0
- package/apis/index.ts +1 -0
- package/deploy.log +18 -9
- package/dist/apis/UserApi.d.ts +33 -0
- package/dist/apis/UserApi.js +66 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApiUserGet200Response.d.ts +50 -0
- package/dist/models/ApiUserGet200Response.js +53 -0
- package/dist/models/ApiUserGetFilterParameter.d.ts +77 -0
- package/dist/models/ApiUserGetFilterParameter.js +58 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/models/ApiUserGet200Response.ts +92 -0
- package/models/ApiUserGetFilterParameter.ts +143 -0
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -2,6 +2,7 @@ apis/HealthCheckApi.ts
|
|
|
2
2
|
apis/NewsApi.ts
|
|
3
3
|
apis/PadelApi.ts
|
|
4
4
|
apis/TournamentApi.ts
|
|
5
|
+
apis/UserApi.ts
|
|
5
6
|
apis/YoutubeApi.ts
|
|
6
7
|
apis/index.ts
|
|
7
8
|
index.ts
|
|
@@ -67,6 +68,8 @@ models/ApiTournamentPadelPostRequest.ts
|
|
|
67
68
|
models/ApiTournamentPadelPostRequestBody.ts
|
|
68
69
|
models/ApiTournamentPadelPostRequestBodyPlayersInner.ts
|
|
69
70
|
models/ApiTournamentPadelPostRequestBodyTeamsInner.ts
|
|
71
|
+
models/ApiUserGet200Response.ts
|
|
72
|
+
models/ApiUserGetFilterParameter.ts
|
|
70
73
|
models/ApiYoutubeDrxContentGet200Response.ts
|
|
71
74
|
models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
72
75
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
package/apis/UserApi.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ApiUserGet200Response,
|
|
19
|
+
ApiUserGetFilterParameter,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ApiUserGet200ResponseFromJSON,
|
|
23
|
+
ApiUserGet200ResponseToJSON,
|
|
24
|
+
ApiUserGetFilterParameterFromJSON,
|
|
25
|
+
ApiUserGetFilterParameterToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface ApiUserGetRequest {
|
|
29
|
+
page?: number;
|
|
30
|
+
pageSize?: number;
|
|
31
|
+
userId?: number | null;
|
|
32
|
+
sort?: string;
|
|
33
|
+
filter?: ApiUserGetFilterParameter;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export class UserApi extends runtime.BaseAPI {
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Get User List
|
|
43
|
+
*/
|
|
44
|
+
async apiUserGetRaw(requestParameters: ApiUserGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserGet200Response>> {
|
|
45
|
+
const queryParameters: any = {};
|
|
46
|
+
|
|
47
|
+
if (requestParameters['page'] != null) {
|
|
48
|
+
queryParameters['page'] = requestParameters['page'];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (requestParameters['pageSize'] != null) {
|
|
52
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (requestParameters['userId'] != null) {
|
|
56
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (requestParameters['sort'] != null) {
|
|
60
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (requestParameters['filter'] != null) {
|
|
64
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
68
|
+
|
|
69
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
70
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
74
|
+
const token = this.configuration.accessToken;
|
|
75
|
+
const tokenString = await token("BearerAuth", []);
|
|
76
|
+
|
|
77
|
+
if (tokenString) {
|
|
78
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
const response = await this.request({
|
|
82
|
+
path: `/api/user`,
|
|
83
|
+
method: 'GET',
|
|
84
|
+
headers: headerParameters,
|
|
85
|
+
query: queryParameters,
|
|
86
|
+
}, initOverrides);
|
|
87
|
+
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserGet200ResponseFromJSON(jsonValue));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Get User List
|
|
93
|
+
*/
|
|
94
|
+
async apiUserGet(requestParameters: ApiUserGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserGet200Response> {
|
|
95
|
+
const response = await this.apiUserGetRaw(requestParameters, initOverrides);
|
|
96
|
+
return await response.value();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
}
|
package/apis/index.ts
CHANGED
package/deploy.log
CHANGED
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
[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).
|
|
71
71
|
[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).
|
|
72
72
|
[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).
|
|
73
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_user_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_user_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_user_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
74
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_user_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_user_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_user_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
73
75
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
74
76
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
75
77
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiHealthCheckGet200Response.ts
|
|
@@ -134,6 +136,8 @@
|
|
|
134
136
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBody.ts
|
|
135
137
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBodyPlayersInner.ts
|
|
136
138
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequestBodyTeamsInner.ts
|
|
139
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiUserGet200Response.ts
|
|
140
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiUserGetFilterParameter.ts
|
|
137
141
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200Response.ts
|
|
138
142
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
139
143
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
@@ -156,6 +160,7 @@
|
|
|
156
160
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/game-types. Renamed to auto-generated operationId: apiTournamentGameTypesGet
|
|
157
161
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/tournament/padel/match-solo. Renamed to auto-generated operationId: apiTournamentPadelMatchSoloPut
|
|
158
162
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/padel/leaderboard/{id}. Renamed to auto-generated operationId: apiTournamentPadelLeaderboardIdGet
|
|
163
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/user. Renamed to auto-generated operationId: apiUserGet
|
|
159
164
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
160
165
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/HealthCheckApi.ts
|
|
161
166
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
@@ -165,6 +170,8 @@
|
|
|
165
170
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
166
171
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/TournamentApi.ts
|
|
167
172
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
173
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/UserApi.ts
|
|
174
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
168
175
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/YoutubeApi.ts
|
|
169
176
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
170
177
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
@@ -180,21 +187,23 @@
|
|
|
180
187
|
# https://opencollective.com/openapi_generator/donate #
|
|
181
188
|
################################################################################
|
|
182
189
|
✅ SDK generated
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
190
|
+
[master d2d5a87] VPS: Generated API SDK
|
|
191
|
+
6 files changed, 340 insertions(+)
|
|
192
|
+
create mode 100644 apis/UserApi.ts
|
|
193
|
+
create mode 100644 models/ApiUserGet200Response.ts
|
|
194
|
+
create mode 100644 models/ApiUserGetFilterParameter.ts
|
|
195
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
196
|
+
ed142ca..d2d5a87 master -> master
|
|
188
197
|
✅ Changes committed and pushed
|
|
189
|
-
v1.1.
|
|
198
|
+
v1.1.107
|
|
190
199
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
191
|
-
|
|
200
|
+
d2d5a87..87b05e4 master -> master
|
|
192
201
|
✅ Version bumped
|
|
193
202
|
|
|
194
|
-
> @drxsuperapp/sdk@1.1.
|
|
203
|
+
> @drxsuperapp/sdk@1.1.107 prepublishOnly
|
|
195
204
|
> npm run build
|
|
196
205
|
|
|
197
206
|
|
|
198
|
-
> @drxsuperapp/sdk@1.1.
|
|
207
|
+
> @drxsuperapp/sdk@1.1.107 build
|
|
199
208
|
> tsc
|
|
200
209
|
|
|
@@ -0,0 +1,33 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ApiUserGet200Response, ApiUserGetFilterParameter } from '../models/index';
|
|
14
|
+
export interface ApiUserGetRequest {
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
userId?: number | null;
|
|
18
|
+
sort?: string;
|
|
19
|
+
filter?: ApiUserGetFilterParameter;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare class UserApi extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Get User List
|
|
27
|
+
*/
|
|
28
|
+
apiUserGetRaw(requestParameters: ApiUserGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserGet200Response>>;
|
|
29
|
+
/**
|
|
30
|
+
* Get User List
|
|
31
|
+
*/
|
|
32
|
+
apiUserGet(requestParameters?: ApiUserGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserGet200Response>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 * as runtime from '../runtime';
|
|
15
|
+
import { ApiUserGet200ResponseFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class UserApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Get User List
|
|
22
|
+
*/
|
|
23
|
+
async apiUserGetRaw(requestParameters, initOverrides) {
|
|
24
|
+
const queryParameters = {};
|
|
25
|
+
if (requestParameters['page'] != null) {
|
|
26
|
+
queryParameters['page'] = requestParameters['page'];
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['pageSize'] != null) {
|
|
29
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
30
|
+
}
|
|
31
|
+
if (requestParameters['userId'] != null) {
|
|
32
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
33
|
+
}
|
|
34
|
+
if (requestParameters['sort'] != null) {
|
|
35
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['filter'] != null) {
|
|
38
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
39
|
+
}
|
|
40
|
+
const headerParameters = {};
|
|
41
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
42
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
43
|
+
}
|
|
44
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
45
|
+
const token = this.configuration.accessToken;
|
|
46
|
+
const tokenString = await token("BearerAuth", []);
|
|
47
|
+
if (tokenString) {
|
|
48
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const response = await this.request({
|
|
52
|
+
path: `/api/user`,
|
|
53
|
+
method: 'GET',
|
|
54
|
+
headers: headerParameters,
|
|
55
|
+
query: queryParameters,
|
|
56
|
+
}, initOverrides);
|
|
57
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserGet200ResponseFromJSON(jsonValue));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get User List
|
|
61
|
+
*/
|
|
62
|
+
async apiUserGet(requestParameters = {}, initOverrides) {
|
|
63
|
+
const response = await this.apiUserGetRaw(requestParameters, initOverrides);
|
|
64
|
+
return await response.value();
|
|
65
|
+
}
|
|
66
|
+
}
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
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 ApiUserGet200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiUserGet200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiUserGet200Response
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiUserGet200Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof ApiUserGet200Response
|
|
34
|
+
*/
|
|
35
|
+
responseObject?: object;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiUserGet200Response
|
|
40
|
+
*/
|
|
41
|
+
statusCode: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApiUserGet200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApiUserGet200Response(value: object): value is ApiUserGet200Response;
|
|
47
|
+
export declare function ApiUserGet200ResponseFromJSON(json: any): ApiUserGet200Response;
|
|
48
|
+
export declare function ApiUserGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGet200Response;
|
|
49
|
+
export declare function ApiUserGet200ResponseToJSON(json: any): ApiUserGet200Response;
|
|
50
|
+
export declare function ApiUserGet200ResponseToJSONTyped(value?: ApiUserGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ApiUserGet200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiUserGet200Response(value) {
|
|
18
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiUserGet200ResponseFromJSON(json) {
|
|
27
|
+
return ApiUserGet200ResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiUserGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'success': json['success'],
|
|
35
|
+
'message': json['message'],
|
|
36
|
+
'responseObject': json['responseObject'] == null ? undefined : json['responseObject'],
|
|
37
|
+
'statusCode': json['statusCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ApiUserGet200ResponseToJSON(json) {
|
|
41
|
+
return ApiUserGet200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ApiUserGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
'responseObject': value['responseObject'],
|
|
51
|
+
'statusCode': value['statusCode'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
13
|
+
import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
|
|
14
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ApiUserGetFilterParameter
|
|
19
|
+
*/
|
|
20
|
+
export interface ApiUserGetFilterParameter {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
24
|
+
* @memberof ApiUserGetFilterParameter
|
|
25
|
+
*/
|
|
26
|
+
id?: ApiPadelMatchesGetFilterParameterId;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
30
|
+
* @memberof ApiUserGetFilterParameter
|
|
31
|
+
*/
|
|
32
|
+
fullname?: ApiPadelMatchesGetFilterParameterName;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
36
|
+
* @memberof ApiUserGetFilterParameter
|
|
37
|
+
*/
|
|
38
|
+
email?: ApiPadelMatchesGetFilterParameterName;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
42
|
+
* @memberof ApiUserGetFilterParameter
|
|
43
|
+
*/
|
|
44
|
+
phoneNumber?: ApiPadelMatchesGetFilterParameterName;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
48
|
+
* @memberof ApiUserGetFilterParameter
|
|
49
|
+
*/
|
|
50
|
+
role?: ApiPadelMatchesGetFilterParameterName;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
54
|
+
* @memberof ApiUserGetFilterParameter
|
|
55
|
+
*/
|
|
56
|
+
status?: ApiPadelMatchesGetFilterParameterId;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
60
|
+
* @memberof ApiUserGetFilterParameter
|
|
61
|
+
*/
|
|
62
|
+
gender?: ApiPadelMatchesGetFilterParameterName;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
66
|
+
* @memberof ApiUserGetFilterParameter
|
|
67
|
+
*/
|
|
68
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the ApiUserGetFilterParameter interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfApiUserGetFilterParameter(value: object): value is ApiUserGetFilterParameter;
|
|
74
|
+
export declare function ApiUserGetFilterParameterFromJSON(json: any): ApiUserGetFilterParameter;
|
|
75
|
+
export declare function ApiUserGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGetFilterParameter;
|
|
76
|
+
export declare function ApiUserGetFilterParameterToJSON(json: any): ApiUserGetFilterParameter;
|
|
77
|
+
export declare function ApiUserGetFilterParameterToJSONTyped(value?: ApiUserGetFilterParameter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
|
|
15
|
+
import { ApiPadelMatchesGetFilterParameterIdFromJSON, ApiPadelMatchesGetFilterParameterIdToJSON, } from './ApiPadelMatchesGetFilterParameterId';
|
|
16
|
+
import { ApiPadelMatchesGetFilterParameterPlayedAtFromJSON, ApiPadelMatchesGetFilterParameterPlayedAtToJSON, } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ApiUserGetFilterParameter interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfApiUserGetFilterParameter(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ApiUserGetFilterParameterFromJSON(json) {
|
|
24
|
+
return ApiUserGetFilterParameterFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ApiUserGetFilterParameterFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
|
|
32
|
+
'fullname': json['fullname'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['fullname']),
|
|
33
|
+
'email': json['email'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['email']),
|
|
34
|
+
'phoneNumber': json['phone_number'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['phone_number']),
|
|
35
|
+
'role': json['role'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['role']),
|
|
36
|
+
'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['status']),
|
|
37
|
+
'gender': json['gender'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['gender']),
|
|
38
|
+
'createdAt': json['created_at'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['created_at']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiUserGetFilterParameterToJSON(json) {
|
|
42
|
+
return ApiUserGetFilterParameterToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiUserGetFilterParameterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
|
|
50
|
+
'fullname': ApiPadelMatchesGetFilterParameterNameToJSON(value['fullname']),
|
|
51
|
+
'email': ApiPadelMatchesGetFilterParameterNameToJSON(value['email']),
|
|
52
|
+
'phone_number': ApiPadelMatchesGetFilterParameterNameToJSON(value['phoneNumber']),
|
|
53
|
+
'role': ApiPadelMatchesGetFilterParameterNameToJSON(value['role']),
|
|
54
|
+
'status': ApiPadelMatchesGetFilterParameterIdToJSON(value['status']),
|
|
55
|
+
'gender': ApiPadelMatchesGetFilterParameterNameToJSON(value['gender']),
|
|
56
|
+
'created_at': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
57
|
+
};
|
|
58
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -60,6 +60,8 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
60
60
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
61
61
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
62
62
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
63
|
+
export * from './ApiUserGet200Response';
|
|
64
|
+
export * from './ApiUserGetFilterParameter';
|
|
63
65
|
export * from './ApiYoutubeDrxContentGet200Response';
|
|
64
66
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
65
67
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
package/dist/models/index.js
CHANGED
|
@@ -62,6 +62,8 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
62
62
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
63
63
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
64
64
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
65
|
+
export * from './ApiUserGet200Response';
|
|
66
|
+
export * from './ApiUserGetFilterParameter';
|
|
65
67
|
export * from './ApiYoutubeDrxContentGet200Response';
|
|
66
68
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
67
69
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
@@ -0,0 +1,92 @@
|
|
|
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 ApiUserGet200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiUserGet200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ApiUserGet200Response
|
|
26
|
+
*/
|
|
27
|
+
success: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiUserGet200Response
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof ApiUserGet200Response
|
|
38
|
+
*/
|
|
39
|
+
responseObject?: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ApiUserGet200Response
|
|
44
|
+
*/
|
|
45
|
+
statusCode: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ApiUserGet200Response interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfApiUserGet200Response(value: object): value is ApiUserGet200Response {
|
|
52
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
53
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
54
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ApiUserGet200ResponseFromJSON(json: any): ApiUserGet200Response {
|
|
59
|
+
return ApiUserGet200ResponseFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ApiUserGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGet200Response {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'success': json['success'],
|
|
69
|
+
'message': json['message'],
|
|
70
|
+
'responseObject': json['responseObject'] == null ? undefined : json['responseObject'],
|
|
71
|
+
'statusCode': json['statusCode'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ApiUserGet200ResponseToJSON(json: any): ApiUserGet200Response {
|
|
76
|
+
return ApiUserGet200ResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ApiUserGet200ResponseToJSONTyped(value?: ApiUserGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'success': value['success'],
|
|
87
|
+
'message': value['message'],
|
|
88
|
+
'responseObject': value['responseObject'],
|
|
89
|
+
'statusCode': value['statusCode'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
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 { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesGetFilterParameterNameFromJSON,
|
|
19
|
+
ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesGetFilterParameterNameToJSON,
|
|
21
|
+
ApiPadelMatchesGetFilterParameterNameToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesGetFilterParameterName';
|
|
23
|
+
import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesGetFilterParameterIdFromJSON,
|
|
26
|
+
ApiPadelMatchesGetFilterParameterIdFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesGetFilterParameterIdToJSON,
|
|
28
|
+
ApiPadelMatchesGetFilterParameterIdToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesGetFilterParameterId';
|
|
30
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
31
|
+
import {
|
|
32
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
|
|
33
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
|
|
34
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
|
|
35
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
|
|
36
|
+
} from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ApiUserGetFilterParameter
|
|
42
|
+
*/
|
|
43
|
+
export interface ApiUserGetFilterParameter {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
47
|
+
* @memberof ApiUserGetFilterParameter
|
|
48
|
+
*/
|
|
49
|
+
id?: ApiPadelMatchesGetFilterParameterId;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
53
|
+
* @memberof ApiUserGetFilterParameter
|
|
54
|
+
*/
|
|
55
|
+
fullname?: ApiPadelMatchesGetFilterParameterName;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
59
|
+
* @memberof ApiUserGetFilterParameter
|
|
60
|
+
*/
|
|
61
|
+
email?: ApiPadelMatchesGetFilterParameterName;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
65
|
+
* @memberof ApiUserGetFilterParameter
|
|
66
|
+
*/
|
|
67
|
+
phoneNumber?: ApiPadelMatchesGetFilterParameterName;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
71
|
+
* @memberof ApiUserGetFilterParameter
|
|
72
|
+
*/
|
|
73
|
+
role?: ApiPadelMatchesGetFilterParameterName;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
77
|
+
* @memberof ApiUserGetFilterParameter
|
|
78
|
+
*/
|
|
79
|
+
status?: ApiPadelMatchesGetFilterParameterId;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
83
|
+
* @memberof ApiUserGetFilterParameter
|
|
84
|
+
*/
|
|
85
|
+
gender?: ApiPadelMatchesGetFilterParameterName;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
89
|
+
* @memberof ApiUserGetFilterParameter
|
|
90
|
+
*/
|
|
91
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the ApiUserGetFilterParameter interface.
|
|
96
|
+
*/
|
|
97
|
+
export function instanceOfApiUserGetFilterParameter(value: object): value is ApiUserGetFilterParameter {
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ApiUserGetFilterParameterFromJSON(json: any): ApiUserGetFilterParameter {
|
|
102
|
+
return ApiUserGetFilterParameterFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ApiUserGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGetFilterParameter {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
|
|
112
|
+
'fullname': json['fullname'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['fullname']),
|
|
113
|
+
'email': json['email'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['email']),
|
|
114
|
+
'phoneNumber': json['phone_number'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['phone_number']),
|
|
115
|
+
'role': json['role'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['role']),
|
|
116
|
+
'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['status']),
|
|
117
|
+
'gender': json['gender'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['gender']),
|
|
118
|
+
'createdAt': json['created_at'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['created_at']),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function ApiUserGetFilterParameterToJSON(json: any): ApiUserGetFilterParameter {
|
|
123
|
+
return ApiUserGetFilterParameterToJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function ApiUserGetFilterParameterToJSONTyped(value?: ApiUserGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
|
|
127
|
+
if (value == null) {
|
|
128
|
+
return value;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return {
|
|
132
|
+
|
|
133
|
+
'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
|
|
134
|
+
'fullname': ApiPadelMatchesGetFilterParameterNameToJSON(value['fullname']),
|
|
135
|
+
'email': ApiPadelMatchesGetFilterParameterNameToJSON(value['email']),
|
|
136
|
+
'phone_number': ApiPadelMatchesGetFilterParameterNameToJSON(value['phoneNumber']),
|
|
137
|
+
'role': ApiPadelMatchesGetFilterParameterNameToJSON(value['role']),
|
|
138
|
+
'status': ApiPadelMatchesGetFilterParameterIdToJSON(value['status']),
|
|
139
|
+
'gender': ApiPadelMatchesGetFilterParameterNameToJSON(value['gender']),
|
|
140
|
+
'created_at': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
package/models/index.ts
CHANGED
|
@@ -62,6 +62,8 @@ export * from './ApiTournamentPadelPostRequest';
|
|
|
62
62
|
export * from './ApiTournamentPadelPostRequestBody';
|
|
63
63
|
export * from './ApiTournamentPadelPostRequestBodyPlayersInner';
|
|
64
64
|
export * from './ApiTournamentPadelPostRequestBodyTeamsInner';
|
|
65
|
+
export * from './ApiUserGet200Response';
|
|
66
|
+
export * from './ApiUserGetFilterParameter';
|
|
65
67
|
export * from './ApiYoutubeDrxContentGet200Response';
|
|
66
68
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
67
69
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|