@drxsuperapp/sdk 1.1.26 → 1.1.28
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 +5 -4
- 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
|
|
@@ -93,7 +94,7 @@ Your branch is up to date with 'origin/master'.
|
|
|
93
94
|
nothing to commit, working tree clean
|
|
94
95
|
Everything up-to-date
|
|
95
96
|
✅ Changes committed and pushed
|
|
96
|
-
v1.1.
|
|
97
|
+
v1.1.28
|
|
97
98
|
remote:
|
|
98
99
|
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
99
100
|
remote:
|
|
@@ -103,13 +104,13 @@ remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
|
103
104
|
remote:
|
|
104
105
|
remote:
|
|
105
106
|
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
106
|
-
|
|
107
|
+
f69c353..9cb814b master -> master
|
|
107
108
|
✅ Version bumped
|
|
108
109
|
|
|
109
|
-
> @drxsuperapp/sdk@1.1.
|
|
110
|
+
> @drxsuperapp/sdk@1.1.28 prepublishOnly
|
|
110
111
|
> npm run build
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
> @drxsuperapp/sdk@1.1.
|
|
114
|
+
> @drxsuperapp/sdk@1.1.28 build
|
|
114
115
|
> tsc
|
|
115
116
|
|
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
|
}
|