@drxsuperapp/sdk 1.1.26 → 1.1.27
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/apis/PadelApi.ts +37 -0
- package/deploy.log +17 -9
- package/dist/apis/PadelApi.d.ts +11 -0
- package/dist/apis/PadelApi.js +24 -0
- package/package.json +1 -1
package/apis/PadelApi.ts
CHANGED
|
@@ -25,6 +25,10 @@ import {
|
|
|
25
25
|
ApiPadelMatchesGet200ResponseInnerToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
+
export interface ApiPadelMatchesIdGetRequest {
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
/**
|
|
29
33
|
*
|
|
30
34
|
*/
|
|
@@ -212,4 +216,37 @@ export class PadelApi extends runtime.BaseAPI {
|
|
|
212
216
|
return await response.value();
|
|
213
217
|
}
|
|
214
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Detail padel matches
|
|
221
|
+
*/
|
|
222
|
+
async apiPadelMatchesIdGetRaw(requestParameters: ApiPadelMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelMatchesGet200ResponseInner>> {
|
|
223
|
+
if (requestParameters['id'] == null) {
|
|
224
|
+
throw new runtime.RequiredError(
|
|
225
|
+
'id',
|
|
226
|
+
'Required parameter "id" was null or undefined when calling apiPadelMatchesIdGet().'
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
const queryParameters: any = {};
|
|
231
|
+
|
|
232
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
233
|
+
|
|
234
|
+
const response = await this.request({
|
|
235
|
+
path: `/api/padel/matches/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
236
|
+
method: 'GET',
|
|
237
|
+
headers: headerParameters,
|
|
238
|
+
query: queryParameters,
|
|
239
|
+
}, initOverrides);
|
|
240
|
+
|
|
241
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelMatchesGet200ResponseInnerFromJSON(jsonValue));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Detail padel matches
|
|
246
|
+
*/
|
|
247
|
+
async apiPadelMatchesIdGet(requestParameters: ApiPadelMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelMatchesGet200ResponseInner> {
|
|
248
|
+
const response = await this.apiPadelMatchesIdGetRaw(requestParameters, initOverrides);
|
|
249
|
+
return await response.value();
|
|
250
|
+
}
|
|
251
|
+
|
|
215
252
|
}
|
package/deploy.log
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news. Renamed to auto-generated operationId: apiNewsGet
|
|
60
60
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news/{id}. Renamed to auto-generated operationId: apiNewsIdGet
|
|
61
61
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/matches. Renamed to auto-generated operationId: apiPadelMatchesGet
|
|
62
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/matches/{id}. Renamed to auto-generated operationId: apiPadelMatchesIdGet
|
|
62
63
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/cron/seasons. Renamed to auto-generated operationId: apiPadelCronSeasonsGet
|
|
63
64
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/cron/tournaments. Renamed to auto-generated operationId: apiPadelCronTournamentsGet
|
|
64
65
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/cron/players. Renamed to auto-generated operationId: apiPadelCronPlayersGet
|
|
@@ -87,13 +88,20 @@
|
|
|
87
88
|
# https://opencollective.com/openapi_generator/donate #
|
|
88
89
|
################################################################################
|
|
89
90
|
✅ SDK generated
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
[master f868310] VPS: Generated API SDK
|
|
92
|
+
1 file changed, 37 insertions(+)
|
|
93
|
+
remote:
|
|
94
|
+
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
95
|
+
remote:
|
|
96
|
+
remote: Please update your Git remote:
|
|
97
|
+
remote:
|
|
98
|
+
remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
99
|
+
remote:
|
|
100
|
+
remote:
|
|
101
|
+
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
102
|
+
9b75fe9..f868310 master -> master
|
|
95
103
|
✅ Changes committed and pushed
|
|
96
|
-
v1.1.
|
|
104
|
+
v1.1.27
|
|
97
105
|
remote:
|
|
98
106
|
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
99
107
|
remote:
|
|
@@ -103,13 +111,13 @@ remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
|
103
111
|
remote:
|
|
104
112
|
remote:
|
|
105
113
|
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
106
|
-
|
|
114
|
+
f868310..f69c353 master -> master
|
|
107
115
|
✅ Version bumped
|
|
108
116
|
|
|
109
|
-
> @drxsuperapp/sdk@1.1.
|
|
117
|
+
> @drxsuperapp/sdk@1.1.27 prepublishOnly
|
|
110
118
|
> npm run build
|
|
111
119
|
|
|
112
120
|
|
|
113
|
-
> @drxsuperapp/sdk@1.1.
|
|
121
|
+
> @drxsuperapp/sdk@1.1.27 build
|
|
114
122
|
> tsc
|
|
115
123
|
|
package/dist/apis/PadelApi.d.ts
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { ApiPadelCronSeasonsGet200Response, ApiPadelMatchesGet200ResponseInner } from '../models/index';
|
|
14
|
+
export interface ApiPadelMatchesIdGetRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
}
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
16
19
|
*/
|
|
@@ -71,4 +74,12 @@ export declare class PadelApi extends runtime.BaseAPI {
|
|
|
71
74
|
* List padel matches
|
|
72
75
|
*/
|
|
73
76
|
apiPadelMatchesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiPadelMatchesGet200ResponseInner>>;
|
|
77
|
+
/**
|
|
78
|
+
* Detail padel matches
|
|
79
|
+
*/
|
|
80
|
+
apiPadelMatchesIdGetRaw(requestParameters: ApiPadelMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPadelMatchesGet200ResponseInner>>;
|
|
81
|
+
/**
|
|
82
|
+
* Detail padel matches
|
|
83
|
+
*/
|
|
84
|
+
apiPadelMatchesIdGet(requestParameters: ApiPadelMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPadelMatchesGet200ResponseInner>;
|
|
74
85
|
}
|
package/dist/apis/PadelApi.js
CHANGED
|
@@ -164,4 +164,28 @@ export class PadelApi extends runtime.BaseAPI {
|
|
|
164
164
|
const response = await this.apiPadelMatchesGetRaw(initOverrides);
|
|
165
165
|
return await response.value();
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Detail padel matches
|
|
169
|
+
*/
|
|
170
|
+
async apiPadelMatchesIdGetRaw(requestParameters, initOverrides) {
|
|
171
|
+
if (requestParameters['id'] == null) {
|
|
172
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiPadelMatchesIdGet().');
|
|
173
|
+
}
|
|
174
|
+
const queryParameters = {};
|
|
175
|
+
const headerParameters = {};
|
|
176
|
+
const response = await this.request({
|
|
177
|
+
path: `/api/padel/matches/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
178
|
+
method: 'GET',
|
|
179
|
+
headers: headerParameters,
|
|
180
|
+
query: queryParameters,
|
|
181
|
+
}, initOverrides);
|
|
182
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiPadelMatchesGet200ResponseInnerFromJSON(jsonValue));
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Detail padel matches
|
|
186
|
+
*/
|
|
187
|
+
async apiPadelMatchesIdGet(requestParameters, initOverrides) {
|
|
188
|
+
const response = await this.apiPadelMatchesIdGetRaw(requestParameters, initOverrides);
|
|
189
|
+
return await response.value();
|
|
190
|
+
}
|
|
167
191
|
}
|