@drxsuperapp/sdk 1.1.59 → 1.1.60
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 +1 -1
- package/apis/PadelApi.ts +79 -41
- package/deploy.log +14 -13
- package/dist/apis/PadelApi.d.ts +17 -9
- package/dist/apis/PadelApi.js +63 -32
- package/dist/models/ApiPadelSeedGet200Response.d.ts +32 -0
- package/dist/models/ApiPadelSeedGet200Response.js +41 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/models/ApiPadelSeedGet200Response.ts +65 -0
- package/models/index.ts +1 -1
- package/package.json +1 -1
- package/dist/models/ApiPadelCronPointByPointGet200Response.d.ts +0 -32
- package/dist/models/ApiPadelCronPointByPointGet200Response.js +0 -41
- package/models/ApiPadelCronPointByPointGet200Response.ts +0 -65
package/.openapi-generator/FILES
CHANGED
|
@@ -14,7 +14,6 @@ models/ApiNewsIdGet200Response.ts
|
|
|
14
14
|
models/ApiNewsIdGet200ResponseResponseObject.ts
|
|
15
15
|
models/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.ts
|
|
16
16
|
models/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.ts
|
|
17
|
-
models/ApiPadelCronPointByPointGet200Response.ts
|
|
18
17
|
models/ApiPadelMatchesGet200Response.ts
|
|
19
18
|
models/ApiPadelMatchesGet200ResponseResponseObject.ts
|
|
20
19
|
models/ApiPadelMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -33,5 +32,6 @@ models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
|
|
|
33
32
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
34
33
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
35
34
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue.ts
|
|
35
|
+
models/ApiPadelSeedGet200Response.ts
|
|
36
36
|
models/index.ts
|
|
37
37
|
runtime.ts
|
package/apis/PadelApi.ts
CHANGED
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
ApiPadelCronPointByPointGet200Response,
|
|
19
18
|
ApiPadelMatchesGet200Response,
|
|
20
19
|
ApiPadelMatchesGetFilterParameter,
|
|
21
20
|
ApiPadelMatchesIdGet200Response,
|
|
21
|
+
ApiPadelSeedGet200Response,
|
|
22
22
|
} from '../models/index';
|
|
23
23
|
import {
|
|
24
|
-
ApiPadelCronPointByPointGet200ResponseFromJSON,
|
|
25
|
-
ApiPadelCronPointByPointGet200ResponseToJSON,
|
|
26
24
|
ApiPadelMatchesGet200ResponseFromJSON,
|
|
27
25
|
ApiPadelMatchesGet200ResponseToJSON,
|
|
28
26
|
ApiPadelMatchesGetFilterParameterFromJSON,
|
|
29
27
|
ApiPadelMatchesGetFilterParameterToJSON,
|
|
30
28
|
ApiPadelMatchesIdGet200ResponseFromJSON,
|
|
31
29
|
ApiPadelMatchesIdGet200ResponseToJSON,
|
|
30
|
+
ApiPadelSeedGet200ResponseFromJSON,
|
|
31
|
+
ApiPadelSeedGet200ResponseToJSON,
|
|
32
32
|
} from '../models/index';
|
|
33
33
|
|
|
34
34
|
export interface ApiPadelMatchesGetRequest {
|
|
@@ -47,44 +47,6 @@ export interface ApiPadelMatchesIdGetRequest {
|
|
|
47
47
|
*/
|
|
48
48
|
export class PadelApi extends runtime.BaseAPI {
|
|
49
49
|
|
|
50
|
-
/**
|
|
51
|
-
* Cron Padel Data
|
|
52
|
-
*/
|
|
53
|
-
async apiPadelCronPointByPointGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelCronPointByPointGet200Response>> {
|
|
54
|
-
const queryParameters: any = {};
|
|
55
|
-
|
|
56
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
57
|
-
|
|
58
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
59
|
-
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
63
|
-
const token = this.configuration.accessToken;
|
|
64
|
-
const tokenString = await token("BearerAuth", []);
|
|
65
|
-
|
|
66
|
-
if (tokenString) {
|
|
67
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
const response = await this.request({
|
|
71
|
-
path: `/api/padel/cron/point-by-point`,
|
|
72
|
-
method: 'GET',
|
|
73
|
-
headers: headerParameters,
|
|
74
|
-
query: queryParameters,
|
|
75
|
-
}, initOverrides);
|
|
76
|
-
|
|
77
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelCronPointByPointGet200ResponseFromJSON(jsonValue));
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Cron Padel Data
|
|
82
|
-
*/
|
|
83
|
-
async apiPadelCronPointByPointGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelCronPointByPointGet200Response> {
|
|
84
|
-
const response = await this.apiPadelCronPointByPointGetRaw(initOverrides);
|
|
85
|
-
return await response.value();
|
|
86
|
-
}
|
|
87
|
-
|
|
88
50
|
/**
|
|
89
51
|
* Get Padel Matches
|
|
90
52
|
*/
|
|
@@ -184,4 +146,80 @@ export class PadelApi extends runtime.BaseAPI {
|
|
|
184
146
|
return await response.value();
|
|
185
147
|
}
|
|
186
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Seed Padel Data
|
|
151
|
+
*/
|
|
152
|
+
async apiPadelSeedGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelSeedGet200Response>> {
|
|
153
|
+
const queryParameters: any = {};
|
|
154
|
+
|
|
155
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
156
|
+
|
|
157
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
158
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
162
|
+
const token = this.configuration.accessToken;
|
|
163
|
+
const tokenString = await token("BearerAuth", []);
|
|
164
|
+
|
|
165
|
+
if (tokenString) {
|
|
166
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const response = await this.request({
|
|
170
|
+
path: `/api/padel/seed`,
|
|
171
|
+
method: 'GET',
|
|
172
|
+
headers: headerParameters,
|
|
173
|
+
query: queryParameters,
|
|
174
|
+
}, initOverrides);
|
|
175
|
+
|
|
176
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelSeedGet200ResponseFromJSON(jsonValue));
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Seed Padel Data
|
|
181
|
+
*/
|
|
182
|
+
async apiPadelSeedGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelSeedGet200Response> {
|
|
183
|
+
const response = await this.apiPadelSeedGetRaw(initOverrides);
|
|
184
|
+
return await response.value();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Sync Padel Data
|
|
189
|
+
*/
|
|
190
|
+
async apiPadelSyncGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelSeedGet200Response>> {
|
|
191
|
+
const queryParameters: any = {};
|
|
192
|
+
|
|
193
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
194
|
+
|
|
195
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
196
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
200
|
+
const token = this.configuration.accessToken;
|
|
201
|
+
const tokenString = await token("BearerAuth", []);
|
|
202
|
+
|
|
203
|
+
if (tokenString) {
|
|
204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
const response = await this.request({
|
|
208
|
+
path: `/api/padel/sync`,
|
|
209
|
+
method: 'GET',
|
|
210
|
+
headers: headerParameters,
|
|
211
|
+
query: queryParameters,
|
|
212
|
+
}, initOverrides);
|
|
213
|
+
|
|
214
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelSeedGet200ResponseFromJSON(jsonValue));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Sync Padel Data
|
|
219
|
+
*/
|
|
220
|
+
async apiPadelSyncGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelSeedGet200Response> {
|
|
221
|
+
const response = await this.apiPadelSyncGetRaw(initOverrides);
|
|
222
|
+
return await response.value();
|
|
223
|
+
}
|
|
224
|
+
|
|
187
225
|
}
|
package/deploy.log
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
⚠️ Deploy already running at Fri Jun 13 06:44:04 UTC 2025
|
|
2
1
|
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
3
2
|
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-fetch (client)
|
|
4
3
|
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-fetch' is considered stable.
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_sets. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets=NewModel,ModelA=NewModelA in CLI).
|
|
35
34
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_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_padel_matches__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
36
35
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__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_padel_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
37
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
36
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_seed_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_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
38
37
|
[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/]
|
|
39
38
|
[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/]
|
|
40
39
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiHealthCheckGet200Response.ts
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiNewsIdGet200ResponseResponseObject.ts
|
|
49
48
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.ts
|
|
50
49
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.ts
|
|
51
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelCronPointByPointGet200Response.ts
|
|
52
50
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesGet200Response.ts
|
|
53
51
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesGet200ResponseResponseObject.ts
|
|
54
52
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -67,13 +65,15 @@
|
|
|
67
65
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
68
66
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
69
67
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue.ts
|
|
68
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelSeedGet200Response.ts
|
|
70
69
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/healthCheck. Renamed to auto-generated operationId: apiHealthCheckGet
|
|
71
70
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news. Renamed to auto-generated operationId: apiNewsGet
|
|
72
71
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news/{id}. Renamed to auto-generated operationId: apiNewsIdGet
|
|
73
72
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news/categories/list. Renamed to auto-generated operationId: apiNewsCategoriesListGet
|
|
74
73
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/matches. Renamed to auto-generated operationId: apiPadelMatchesGet
|
|
75
74
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/matches/{id}. Renamed to auto-generated operationId: apiPadelMatchesIdGet
|
|
76
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/
|
|
75
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/seed. Renamed to auto-generated operationId: apiPadelSeedGet
|
|
76
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/sync. Renamed to auto-generated operationId: apiPadelSyncGet
|
|
77
77
|
[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/]
|
|
78
78
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/HealthCheckApi.ts
|
|
79
79
|
[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/]
|
|
@@ -94,21 +94,22 @@
|
|
|
94
94
|
# https://opencollective.com/openapi_generator/donate #
|
|
95
95
|
################################################################################
|
|
96
96
|
✅ SDK generated
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
[master 872c81b] VPS: Generated API SDK
|
|
98
|
+
5 files changed, 146 insertions(+), 108 deletions(-)
|
|
99
|
+
delete mode 100644 models/ApiPadelCronPointByPointGet200Response.ts
|
|
100
|
+
create mode 100644 models/ApiPadelSeedGet200Response.ts
|
|
101
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
102
|
+
fbc6d4f..872c81b master -> master
|
|
102
103
|
✅ Changes committed and pushed
|
|
103
|
-
v1.1.
|
|
104
|
+
v1.1.60
|
|
104
105
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
105
|
-
|
|
106
|
+
872c81b..c84ae2b master -> master
|
|
106
107
|
✅ Version bumped
|
|
107
108
|
|
|
108
|
-
> @drxsuperapp/sdk@1.1.
|
|
109
|
+
> @drxsuperapp/sdk@1.1.60 prepublishOnly
|
|
109
110
|
> npm run build
|
|
110
111
|
|
|
111
112
|
|
|
112
|
-
> @drxsuperapp/sdk@1.1.
|
|
113
|
+
> @drxsuperapp/sdk@1.1.60 build
|
|
113
114
|
> tsc
|
|
114
115
|
|
package/dist/apis/PadelApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { ApiPadelMatchesGet200Response, ApiPadelMatchesGetFilterParameter, ApiPadelMatchesIdGet200Response, ApiPadelSeedGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiPadelMatchesGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -24,14 +24,6 @@ export interface ApiPadelMatchesIdGetRequest {
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class PadelApi extends runtime.BaseAPI {
|
|
27
|
-
/**
|
|
28
|
-
* Cron Padel Data
|
|
29
|
-
*/
|
|
30
|
-
apiPadelCronPointByPointGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelCronPointByPointGet200Response>>;
|
|
31
|
-
/**
|
|
32
|
-
* Cron Padel Data
|
|
33
|
-
*/
|
|
34
|
-
apiPadelCronPointByPointGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelCronPointByPointGet200Response>;
|
|
35
27
|
/**
|
|
36
28
|
* Get Padel Matches
|
|
37
29
|
*/
|
|
@@ -48,4 +40,20 @@ export declare class PadelApi extends runtime.BaseAPI {
|
|
|
48
40
|
* Get Padel Match Details
|
|
49
41
|
*/
|
|
50
42
|
apiPadelMatchesIdGet(requestParameters: ApiPadelMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelMatchesIdGet200Response>;
|
|
43
|
+
/**
|
|
44
|
+
* Seed Padel Data
|
|
45
|
+
*/
|
|
46
|
+
apiPadelSeedGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelSeedGet200Response>>;
|
|
47
|
+
/**
|
|
48
|
+
* Seed Padel Data
|
|
49
|
+
*/
|
|
50
|
+
apiPadelSeedGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelSeedGet200Response>;
|
|
51
|
+
/**
|
|
52
|
+
* Sync Padel Data
|
|
53
|
+
*/
|
|
54
|
+
apiPadelSyncGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelSeedGet200Response>>;
|
|
55
|
+
/**
|
|
56
|
+
* Sync Padel Data
|
|
57
|
+
*/
|
|
58
|
+
apiPadelSyncGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelSeedGet200Response>;
|
|
51
59
|
}
|
package/dist/apis/PadelApi.js
CHANGED
|
@@ -12,42 +12,11 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { ApiPadelMatchesGet200ResponseFromJSON, ApiPadelMatchesIdGet200ResponseFromJSON, ApiPadelSeedGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class PadelApi extends runtime.BaseAPI {
|
|
20
|
-
/**
|
|
21
|
-
* Cron Padel Data
|
|
22
|
-
*/
|
|
23
|
-
async apiPadelCronPointByPointGetRaw(initOverrides) {
|
|
24
|
-
const queryParameters = {};
|
|
25
|
-
const headerParameters = {};
|
|
26
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
27
|
-
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
28
|
-
}
|
|
29
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
30
|
-
const token = this.configuration.accessToken;
|
|
31
|
-
const tokenString = await token("BearerAuth", []);
|
|
32
|
-
if (tokenString) {
|
|
33
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
const response = await this.request({
|
|
37
|
-
path: `/api/padel/cron/point-by-point`,
|
|
38
|
-
method: 'GET',
|
|
39
|
-
headers: headerParameters,
|
|
40
|
-
query: queryParameters,
|
|
41
|
-
}, initOverrides);
|
|
42
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelCronPointByPointGet200ResponseFromJSON(jsonValue));
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Cron Padel Data
|
|
46
|
-
*/
|
|
47
|
-
async apiPadelCronPointByPointGet(initOverrides) {
|
|
48
|
-
const response = await this.apiPadelCronPointByPointGetRaw(initOverrides);
|
|
49
|
-
return await response.value();
|
|
50
|
-
}
|
|
51
20
|
/**
|
|
52
21
|
* Get Padel Matches
|
|
53
22
|
*/
|
|
@@ -125,4 +94,66 @@ export class PadelApi extends runtime.BaseAPI {
|
|
|
125
94
|
const response = await this.apiPadelMatchesIdGetRaw(requestParameters, initOverrides);
|
|
126
95
|
return await response.value();
|
|
127
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Seed Padel Data
|
|
99
|
+
*/
|
|
100
|
+
async apiPadelSeedGetRaw(initOverrides) {
|
|
101
|
+
const queryParameters = {};
|
|
102
|
+
const headerParameters = {};
|
|
103
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
104
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
105
|
+
}
|
|
106
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
107
|
+
const token = this.configuration.accessToken;
|
|
108
|
+
const tokenString = await token("BearerAuth", []);
|
|
109
|
+
if (tokenString) {
|
|
110
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
const response = await this.request({
|
|
114
|
+
path: `/api/padel/seed`,
|
|
115
|
+
method: 'GET',
|
|
116
|
+
headers: headerParameters,
|
|
117
|
+
query: queryParameters,
|
|
118
|
+
}, initOverrides);
|
|
119
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelSeedGet200ResponseFromJSON(jsonValue));
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Seed Padel Data
|
|
123
|
+
*/
|
|
124
|
+
async apiPadelSeedGet(initOverrides) {
|
|
125
|
+
const response = await this.apiPadelSeedGetRaw(initOverrides);
|
|
126
|
+
return await response.value();
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Sync Padel Data
|
|
130
|
+
*/
|
|
131
|
+
async apiPadelSyncGetRaw(initOverrides) {
|
|
132
|
+
const queryParameters = {};
|
|
133
|
+
const headerParameters = {};
|
|
134
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
135
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
136
|
+
}
|
|
137
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
138
|
+
const token = this.configuration.accessToken;
|
|
139
|
+
const tokenString = await token("BearerAuth", []);
|
|
140
|
+
if (tokenString) {
|
|
141
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const response = await this.request({
|
|
145
|
+
path: `/api/padel/sync`,
|
|
146
|
+
method: 'GET',
|
|
147
|
+
headers: headerParameters,
|
|
148
|
+
query: queryParameters,
|
|
149
|
+
}, initOverrides);
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelSeedGet200ResponseFromJSON(jsonValue));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Sync Padel Data
|
|
154
|
+
*/
|
|
155
|
+
async apiPadelSyncGet(initOverrides) {
|
|
156
|
+
const response = await this.apiPadelSyncGetRaw(initOverrides);
|
|
157
|
+
return await response.value();
|
|
158
|
+
}
|
|
128
159
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiPadelSeedGet200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelSeedGet200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPadelSeedGet200Response
|
|
22
|
+
*/
|
|
23
|
+
msg?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiPadelSeedGet200Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiPadelSeedGet200Response(value: object): value is ApiPadelSeedGet200Response;
|
|
29
|
+
export declare function ApiPadelSeedGet200ResponseFromJSON(json: any): ApiPadelSeedGet200Response;
|
|
30
|
+
export declare function ApiPadelSeedGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelSeedGet200Response;
|
|
31
|
+
export declare function ApiPadelSeedGet200ResponseToJSON(json: any): ApiPadelSeedGet200Response;
|
|
32
|
+
export declare function ApiPadelSeedGet200ResponseToJSONTyped(value?: ApiPadelSeedGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ApiPadelSeedGet200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPadelSeedGet200Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ApiPadelSeedGet200ResponseFromJSON(json) {
|
|
21
|
+
return ApiPadelSeedGet200ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ApiPadelSeedGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'msg': json['msg'] == null ? undefined : json['msg'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ApiPadelSeedGet200ResponseToJSON(json) {
|
|
32
|
+
return ApiPadelSeedGet200ResponseToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiPadelSeedGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'msg': value['msg'],
|
|
40
|
+
};
|
|
41
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './ApiNewsIdGet200Response';
|
|
|
9
9
|
export * from './ApiNewsIdGet200ResponseResponseObject';
|
|
10
10
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
|
|
11
11
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
|
|
12
|
-
export * from './ApiPadelCronPointByPointGet200Response';
|
|
13
12
|
export * from './ApiPadelMatchesGet200Response';
|
|
14
13
|
export * from './ApiPadelMatchesGet200ResponseResponseObject';
|
|
15
14
|
export * from './ApiPadelMatchesGet200ResponseResponseObjectItemsInner';
|
|
@@ -28,3 +27,4 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
28
27
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
29
28
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
30
29
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
|
|
30
|
+
export * from './ApiPadelSeedGet200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -11,7 +11,6 @@ export * from './ApiNewsIdGet200Response';
|
|
|
11
11
|
export * from './ApiNewsIdGet200ResponseResponseObject';
|
|
12
12
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
|
|
13
13
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
|
|
14
|
-
export * from './ApiPadelCronPointByPointGet200Response';
|
|
15
14
|
export * from './ApiPadelMatchesGet200Response';
|
|
16
15
|
export * from './ApiPadelMatchesGet200ResponseResponseObject';
|
|
17
16
|
export * from './ApiPadelMatchesGet200ResponseResponseObjectItemsInner';
|
|
@@ -30,3 +29,4 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
30
29
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
31
30
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
32
31
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
|
|
32
|
+
export * from './ApiPadelSeedGet200Response';
|
|
@@ -0,0 +1,65 @@
|
|
|
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 ApiPadelSeedGet200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiPadelSeedGet200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiPadelSeedGet200Response
|
|
26
|
+
*/
|
|
27
|
+
msg?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiPadelSeedGet200Response interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiPadelSeedGet200Response(value: object): value is ApiPadelSeedGet200Response {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ApiPadelSeedGet200ResponseFromJSON(json: any): ApiPadelSeedGet200Response {
|
|
38
|
+
return ApiPadelSeedGet200ResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ApiPadelSeedGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelSeedGet200Response {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'msg': json['msg'] == null ? undefined : json['msg'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ApiPadelSeedGet200ResponseToJSON(json: any): ApiPadelSeedGet200Response {
|
|
52
|
+
return ApiPadelSeedGet200ResponseToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ApiPadelSeedGet200ResponseToJSONTyped(value?: ApiPadelSeedGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'msg': value['msg'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
package/models/index.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './ApiNewsIdGet200Response';
|
|
|
11
11
|
export * from './ApiNewsIdGet200ResponseResponseObject';
|
|
12
12
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
|
|
13
13
|
export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
|
|
14
|
-
export * from './ApiPadelCronPointByPointGet200Response';
|
|
15
14
|
export * from './ApiPadelMatchesGet200Response';
|
|
16
15
|
export * from './ApiPadelMatchesGet200ResponseResponseObject';
|
|
17
16
|
export * from './ApiPadelMatchesGet200ResponseResponseObjectItemsInner';
|
|
@@ -30,3 +29,4 @@ export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGames
|
|
|
30
29
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
31
30
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
32
31
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchValue';
|
|
32
|
+
export * from './ApiPadelSeedGet200Response';
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
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 ApiPadelCronPointByPointGet200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiPadelCronPointByPointGet200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiPadelCronPointByPointGet200Response
|
|
22
|
-
*/
|
|
23
|
-
msg?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ApiPadelCronPointByPointGet200Response interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfApiPadelCronPointByPointGet200Response(value: object): value is ApiPadelCronPointByPointGet200Response;
|
|
29
|
-
export declare function ApiPadelCronPointByPointGet200ResponseFromJSON(json: any): ApiPadelCronPointByPointGet200Response;
|
|
30
|
-
export declare function ApiPadelCronPointByPointGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelCronPointByPointGet200Response;
|
|
31
|
-
export declare function ApiPadelCronPointByPointGet200ResponseToJSON(json: any): ApiPadelCronPointByPointGet200Response;
|
|
32
|
-
export declare function ApiPadelCronPointByPointGet200ResponseToJSONTyped(value?: ApiPadelCronPointByPointGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,41 +0,0 @@
|
|
|
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 ApiPadelCronPointByPointGet200Response interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfApiPadelCronPointByPointGet200Response(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function ApiPadelCronPointByPointGet200ResponseFromJSON(json) {
|
|
21
|
-
return ApiPadelCronPointByPointGet200ResponseFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function ApiPadelCronPointByPointGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'msg': json['msg'] == null ? undefined : json['msg'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function ApiPadelCronPointByPointGet200ResponseToJSON(json) {
|
|
32
|
-
return ApiPadelCronPointByPointGet200ResponseToJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function ApiPadelCronPointByPointGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'msg': value['msg'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
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 ApiPadelCronPointByPointGet200Response
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiPadelCronPointByPointGet200Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiPadelCronPointByPointGet200Response
|
|
26
|
-
*/
|
|
27
|
-
msg?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiPadelCronPointByPointGet200Response interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiPadelCronPointByPointGet200Response(value: object): value is ApiPadelCronPointByPointGet200Response {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function ApiPadelCronPointByPointGet200ResponseFromJSON(json: any): ApiPadelCronPointByPointGet200Response {
|
|
38
|
-
return ApiPadelCronPointByPointGet200ResponseFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function ApiPadelCronPointByPointGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelCronPointByPointGet200Response {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
|
|
47
|
-
'msg': json['msg'] == null ? undefined : json['msg'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ApiPadelCronPointByPointGet200ResponseToJSON(json: any): ApiPadelCronPointByPointGet200Response {
|
|
52
|
-
return ApiPadelCronPointByPointGet200ResponseToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ApiPadelCronPointByPointGet200ResponseToJSONTyped(value?: ApiPadelCronPointByPointGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'msg': value['msg'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|