@drxsuperapp/sdk 1.1.8 → 1.1.9
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 +5 -0
- package/api.ts +263 -0
- package/deploy.log +23 -15
- package/dist/api.d.ts +217 -0
- package/dist/api.js +86 -0
- package/docs/ApiPadelMatchesGet200ResponseInner.md +48 -0
- package/docs/ApiPadelMatchesGet200ResponseInnerPlayers.md +22 -0
- package/docs/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md +26 -0
- package/docs/ApiPadelMatchesGet200ResponseInnerScoreInner.md +22 -0
- package/docs/PadelApi.md +51 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -14,7 +14,12 @@ docs/ApiNewsIdGet200Response.md
|
|
|
14
14
|
docs/ApiNewsIdGet200ResponseResponseObject.md
|
|
15
15
|
docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.md
|
|
16
16
|
docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md
|
|
17
|
+
docs/ApiPadelMatchesGet200ResponseInner.md
|
|
18
|
+
docs/ApiPadelMatchesGet200ResponseInnerPlayers.md
|
|
19
|
+
docs/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md
|
|
20
|
+
docs/ApiPadelMatchesGet200ResponseInnerScoreInner.md
|
|
17
21
|
docs/ExampleApi.md
|
|
18
22
|
docs/NewsApi.md
|
|
23
|
+
docs/PadelApi.md
|
|
19
24
|
git_push.sh
|
|
20
25
|
index.ts
|
package/api.ts
CHANGED
|
@@ -357,6 +357,172 @@ export interface ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague {
|
|
|
357
357
|
*/
|
|
358
358
|
'abbreviation': string | null;
|
|
359
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @export
|
|
363
|
+
* @interface ApiPadelMatchesGet200ResponseInner
|
|
364
|
+
*/
|
|
365
|
+
export interface ApiPadelMatchesGet200ResponseInner {
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @type {number}
|
|
369
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
370
|
+
*/
|
|
371
|
+
'id': number;
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {number}
|
|
375
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
376
|
+
*/
|
|
377
|
+
'tournamentId': number;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @type {string}
|
|
381
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
382
|
+
*/
|
|
383
|
+
'tournamentName': string;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @type {string}
|
|
387
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
388
|
+
*/
|
|
389
|
+
'tournamentLocation': string;
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @type {string}
|
|
393
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
394
|
+
*/
|
|
395
|
+
'tournamentCountry': string;
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @type {string}
|
|
399
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
400
|
+
*/
|
|
401
|
+
'tournamentUrl': string;
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
406
|
+
*/
|
|
407
|
+
'name': string;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @type {number}
|
|
411
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
412
|
+
*/
|
|
413
|
+
'round': number;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerScoreInner>}
|
|
417
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
418
|
+
*/
|
|
419
|
+
'score': Array<ApiPadelMatchesGet200ResponseInnerScoreInner>;
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {ApiPadelMatchesGet200ResponseInnerPlayers}
|
|
423
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
424
|
+
*/
|
|
425
|
+
'players': ApiPadelMatchesGet200ResponseInnerPlayers;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
430
|
+
*/
|
|
431
|
+
'playedAt': string;
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {string}
|
|
435
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
436
|
+
*/
|
|
437
|
+
'status': string;
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
442
|
+
*/
|
|
443
|
+
'category': string;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
448
|
+
*/
|
|
449
|
+
'createdAt': string;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
454
|
+
*/
|
|
455
|
+
'updatedAt': string;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
* @export
|
|
460
|
+
* @interface ApiPadelMatchesGet200ResponseInnerPlayers
|
|
461
|
+
*/
|
|
462
|
+
export interface ApiPadelMatchesGet200ResponseInnerPlayers {
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>}
|
|
466
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayers
|
|
467
|
+
*/
|
|
468
|
+
'team_1': Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>;
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>}
|
|
472
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayers
|
|
473
|
+
*/
|
|
474
|
+
'team_2': Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @export
|
|
479
|
+
* @interface ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
480
|
+
*/
|
|
481
|
+
export interface ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner {
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
* @type {number}
|
|
485
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
486
|
+
*/
|
|
487
|
+
'id': number;
|
|
488
|
+
/**
|
|
489
|
+
*
|
|
490
|
+
* @type {string}
|
|
491
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
492
|
+
*/
|
|
493
|
+
'name': string;
|
|
494
|
+
/**
|
|
495
|
+
*
|
|
496
|
+
* @type {string}
|
|
497
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
498
|
+
*/
|
|
499
|
+
'self': string;
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @type {string}
|
|
503
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
504
|
+
*/
|
|
505
|
+
'side': string;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @export
|
|
510
|
+
* @interface ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
511
|
+
*/
|
|
512
|
+
export interface ApiPadelMatchesGet200ResponseInnerScoreInner {
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {number}
|
|
516
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
517
|
+
*/
|
|
518
|
+
'team_1': number;
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @type {number}
|
|
522
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
523
|
+
*/
|
|
524
|
+
'team_2': number;
|
|
525
|
+
}
|
|
360
526
|
|
|
361
527
|
/**
|
|
362
528
|
* ExampleApi - axios parameter creator
|
|
@@ -932,3 +1098,100 @@ export class NewsApi extends BaseAPI {
|
|
|
932
1098
|
|
|
933
1099
|
|
|
934
1100
|
|
|
1101
|
+
/**
|
|
1102
|
+
* PadelApi - axios parameter creator
|
|
1103
|
+
* @export
|
|
1104
|
+
*/
|
|
1105
|
+
export const PadelApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1106
|
+
return {
|
|
1107
|
+
/**
|
|
1108
|
+
*
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
*/
|
|
1112
|
+
apiPadelMatchesGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1113
|
+
const localVarPath = `/api/padel/matches`;
|
|
1114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1116
|
+
let baseOptions;
|
|
1117
|
+
if (configuration) {
|
|
1118
|
+
baseOptions = configuration.baseOptions;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1122
|
+
const localVarHeaderParameter = {} as any;
|
|
1123
|
+
const localVarQueryParameter = {} as any;
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1129
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1130
|
+
|
|
1131
|
+
return {
|
|
1132
|
+
url: toPathString(localVarUrlObj),
|
|
1133
|
+
options: localVarRequestOptions,
|
|
1134
|
+
};
|
|
1135
|
+
},
|
|
1136
|
+
}
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* PadelApi - functional programming interface
|
|
1141
|
+
* @export
|
|
1142
|
+
*/
|
|
1143
|
+
export const PadelApiFp = function(configuration?: Configuration) {
|
|
1144
|
+
const localVarAxiosParamCreator = PadelApiAxiosParamCreator(configuration)
|
|
1145
|
+
return {
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @param {*} [options] Override http request option.
|
|
1149
|
+
* @throws {RequiredError}
|
|
1150
|
+
*/
|
|
1151
|
+
async apiPadelMatchesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiPadelMatchesGet200ResponseInner>>> {
|
|
1152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiPadelMatchesGet(options);
|
|
1153
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1154
|
+
const localVarOperationServerBasePath = operationServerMap['PadelApi.apiPadelMatchesGet']?.[localVarOperationServerIndex]?.url;
|
|
1155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1156
|
+
},
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* PadelApi - factory interface
|
|
1162
|
+
* @export
|
|
1163
|
+
*/
|
|
1164
|
+
export const PadelApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1165
|
+
const localVarFp = PadelApiFp(configuration)
|
|
1166
|
+
return {
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
apiPadelMatchesGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiPadelMatchesGet200ResponseInner>> {
|
|
1173
|
+
return localVarFp.apiPadelMatchesGet(options).then((request) => request(axios, basePath));
|
|
1174
|
+
},
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* PadelApi - object-oriented interface
|
|
1180
|
+
* @export
|
|
1181
|
+
* @class PadelApi
|
|
1182
|
+
* @extends {BaseAPI}
|
|
1183
|
+
*/
|
|
1184
|
+
export class PadelApi extends BaseAPI {
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @param {*} [options] Override http request option.
|
|
1188
|
+
* @throws {RequiredError}
|
|
1189
|
+
* @memberof PadelApi
|
|
1190
|
+
*/
|
|
1191
|
+
public apiPadelMatchesGet(options?: RawAxiosRequestConfig) {
|
|
1192
|
+
return PadelApiFp(this.configuration).apiPadelMatchesGet(options).then((request) => request(this.axios, this.basePath));
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
package/deploy.log
CHANGED
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_news__id__get_200_response_responseObject_leagues_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_news__id__get_200_response_responseObject_leagues_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_news__id__get_200_response_responseObject_leagues_inner=NewModel,ModelA=NewModelA in CLI).
|
|
14
14
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_news__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_news__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_news__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
15
15
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_news__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_news__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_news__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
16
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_inner_score_inner. 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_get_200_response_inner_score_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_inner_score_inner=NewModel,ModelA=NewModelA in CLI).
|
|
17
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_inner_players_team_1_inner. 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_get_200_response_inner_players_team_1_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_inner_players_team_1_inner=NewModel,ModelA=NewModelA in CLI).
|
|
18
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_inner_players. 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_get_200_response_inner_players=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_inner_players=NewModel,ModelA=NewModelA in CLI).
|
|
19
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_inner. 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_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
16
20
|
[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/]
|
|
17
21
|
[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/]
|
|
18
22
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
@@ -25,6 +29,10 @@
|
|
|
25
29
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiNewsIdGet200ResponseResponseObject.md
|
|
26
30
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.md
|
|
27
31
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md
|
|
32
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiPadelMatchesGet200ResponseInner.md
|
|
33
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiPadelMatchesGet200ResponseInnerPlayers.md
|
|
34
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md
|
|
35
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiPadelMatchesGet200ResponseInnerScoreInner.md
|
|
28
36
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
29
37
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
30
38
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
@@ -32,11 +40,14 @@
|
|
|
32
40
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
33
41
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news. Renamed to auto-generated operationId: apiNewsGet
|
|
34
42
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news/{id}. Renamed to auto-generated operationId: apiNewsIdGet
|
|
43
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/matches. Renamed to auto-generated operationId: apiPadelMatchesGet
|
|
35
44
|
[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/]
|
|
36
45
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
37
46
|
[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/]
|
|
38
47
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/NewsApi.md
|
|
39
48
|
[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/]
|
|
49
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/PadelApi.md
|
|
50
|
+
[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
51
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
41
52
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
42
53
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
@@ -54,16 +65,13 @@
|
|
|
54
65
|
# https://opencollective.com/openapi_generator/donate #
|
|
55
66
|
################################################################################
|
|
56
67
|
✅ SDK generated
|
|
57
|
-
[master
|
|
58
|
-
|
|
59
|
-
create mode 100644 docs/
|
|
60
|
-
create mode 100644 docs/
|
|
61
|
-
create mode 100644 docs/
|
|
62
|
-
create mode 100644 docs/
|
|
63
|
-
create mode 100644 docs/
|
|
64
|
-
create mode 100644 docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.md
|
|
65
|
-
create mode 100644 docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md
|
|
66
|
-
create mode 100644 docs/NewsApi.md
|
|
68
|
+
[master 2906fdd] VPS: Generated API SDK
|
|
69
|
+
7 files changed, 437 insertions(+)
|
|
70
|
+
create mode 100644 docs/ApiPadelMatchesGet200ResponseInner.md
|
|
71
|
+
create mode 100644 docs/ApiPadelMatchesGet200ResponseInnerPlayers.md
|
|
72
|
+
create mode 100644 docs/ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md
|
|
73
|
+
create mode 100644 docs/ApiPadelMatchesGet200ResponseInnerScoreInner.md
|
|
74
|
+
create mode 100644 docs/PadelApi.md
|
|
67
75
|
remote:
|
|
68
76
|
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
69
77
|
remote:
|
|
@@ -73,9 +81,9 @@ remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
|
73
81
|
remote:
|
|
74
82
|
remote:
|
|
75
83
|
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
76
|
-
|
|
84
|
+
beb1f07..2906fdd master -> master
|
|
77
85
|
✅ Changes committed and pushed
|
|
78
|
-
v1.1.
|
|
86
|
+
v1.1.9
|
|
79
87
|
remote:
|
|
80
88
|
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
81
89
|
remote:
|
|
@@ -85,13 +93,13 @@ remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
|
85
93
|
remote:
|
|
86
94
|
remote:
|
|
87
95
|
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
88
|
-
|
|
96
|
+
2906fdd..4655c98 master -> master
|
|
89
97
|
✅ Version bumped
|
|
90
98
|
|
|
91
|
-
> @drxsuperapp/sdk@1.1.
|
|
99
|
+
> @drxsuperapp/sdk@1.1.9 prepublishOnly
|
|
92
100
|
> npm run build
|
|
93
101
|
|
|
94
102
|
|
|
95
|
-
> @drxsuperapp/sdk@1.1.
|
|
103
|
+
> @drxsuperapp/sdk@1.1.9 build
|
|
96
104
|
> tsc
|
|
97
105
|
|
package/dist/api.d.ts
CHANGED
|
@@ -347,6 +347,172 @@ export interface ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague {
|
|
|
347
347
|
*/
|
|
348
348
|
'abbreviation': string | null;
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @export
|
|
353
|
+
* @interface ApiPadelMatchesGet200ResponseInner
|
|
354
|
+
*/
|
|
355
|
+
export interface ApiPadelMatchesGet200ResponseInner {
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {number}
|
|
359
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
360
|
+
*/
|
|
361
|
+
'id': number;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {number}
|
|
365
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
366
|
+
*/
|
|
367
|
+
'tournamentId': number;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
372
|
+
*/
|
|
373
|
+
'tournamentName': string;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
378
|
+
*/
|
|
379
|
+
'tournamentLocation': string;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {string}
|
|
383
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
384
|
+
*/
|
|
385
|
+
'tournamentCountry': string;
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
* @type {string}
|
|
389
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
390
|
+
*/
|
|
391
|
+
'tournamentUrl': string;
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @type {string}
|
|
395
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
396
|
+
*/
|
|
397
|
+
'name': string;
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @type {number}
|
|
401
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
402
|
+
*/
|
|
403
|
+
'round': number;
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerScoreInner>}
|
|
407
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
408
|
+
*/
|
|
409
|
+
'score': Array<ApiPadelMatchesGet200ResponseInnerScoreInner>;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {ApiPadelMatchesGet200ResponseInnerPlayers}
|
|
413
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
414
|
+
*/
|
|
415
|
+
'players': ApiPadelMatchesGet200ResponseInnerPlayers;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
420
|
+
*/
|
|
421
|
+
'playedAt': string;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
426
|
+
*/
|
|
427
|
+
'status': string;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {string}
|
|
431
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
432
|
+
*/
|
|
433
|
+
'category': string;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
438
|
+
*/
|
|
439
|
+
'createdAt': string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof ApiPadelMatchesGet200ResponseInner
|
|
444
|
+
*/
|
|
445
|
+
'updatedAt': string;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @export
|
|
450
|
+
* @interface ApiPadelMatchesGet200ResponseInnerPlayers
|
|
451
|
+
*/
|
|
452
|
+
export interface ApiPadelMatchesGet200ResponseInnerPlayers {
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>}
|
|
456
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayers
|
|
457
|
+
*/
|
|
458
|
+
'team_1': Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>}
|
|
462
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayers
|
|
463
|
+
*/
|
|
464
|
+
'team_2': Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @export
|
|
469
|
+
* @interface ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
470
|
+
*/
|
|
471
|
+
export interface ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner {
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {number}
|
|
475
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
476
|
+
*/
|
|
477
|
+
'id': number;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
482
|
+
*/
|
|
483
|
+
'name': string;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {string}
|
|
487
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
488
|
+
*/
|
|
489
|
+
'self': string;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {string}
|
|
493
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
494
|
+
*/
|
|
495
|
+
'side': string;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @export
|
|
500
|
+
* @interface ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
501
|
+
*/
|
|
502
|
+
export interface ApiPadelMatchesGet200ResponseInnerScoreInner {
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {number}
|
|
506
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
507
|
+
*/
|
|
508
|
+
'team_1': number;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {number}
|
|
512
|
+
* @memberof ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
513
|
+
*/
|
|
514
|
+
'team_2': number;
|
|
515
|
+
}
|
|
350
516
|
/**
|
|
351
517
|
* ExampleApi - axios parameter creator
|
|
352
518
|
* @export
|
|
@@ -622,3 +788,54 @@ export declare class NewsApi extends BaseAPI {
|
|
|
622
788
|
*/
|
|
623
789
|
apiNewsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiNewsIdGet200Response, any>>;
|
|
624
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* PadelApi - axios parameter creator
|
|
793
|
+
* @export
|
|
794
|
+
*/
|
|
795
|
+
export declare const PadelApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
796
|
+
/**
|
|
797
|
+
*
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
apiPadelMatchesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* PadelApi - functional programming interface
|
|
805
|
+
* @export
|
|
806
|
+
*/
|
|
807
|
+
export declare const PadelApiFp: (configuration?: Configuration) => {
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @param {*} [options] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
*/
|
|
813
|
+
apiPadelMatchesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiPadelMatchesGet200ResponseInner>>>;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* PadelApi - factory interface
|
|
817
|
+
* @export
|
|
818
|
+
*/
|
|
819
|
+
export declare const PadelApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
*/
|
|
825
|
+
apiPadelMatchesGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiPadelMatchesGet200ResponseInner>>;
|
|
826
|
+
};
|
|
827
|
+
/**
|
|
828
|
+
* PadelApi - object-oriented interface
|
|
829
|
+
* @export
|
|
830
|
+
* @class PadelApi
|
|
831
|
+
* @extends {BaseAPI}
|
|
832
|
+
*/
|
|
833
|
+
export declare class PadelApi extends BaseAPI {
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
* @memberof PadelApi
|
|
839
|
+
*/
|
|
840
|
+
apiPadelMatchesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiPadelMatchesGet200ResponseInner[], any>>;
|
|
841
|
+
}
|
package/dist/api.js
CHANGED
|
@@ -531,3 +531,89 @@ export class NewsApi extends BaseAPI {
|
|
|
531
531
|
return NewsApiFp(this.configuration).apiNewsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* PadelApi - axios parameter creator
|
|
536
|
+
* @export
|
|
537
|
+
*/
|
|
538
|
+
export const PadelApiAxiosParamCreator = function (configuration) {
|
|
539
|
+
return {
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
apiPadelMatchesGet: async (options = {}) => {
|
|
546
|
+
const localVarPath = `/api/padel/matches`;
|
|
547
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
548
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
549
|
+
let baseOptions;
|
|
550
|
+
if (configuration) {
|
|
551
|
+
baseOptions = configuration.baseOptions;
|
|
552
|
+
}
|
|
553
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
554
|
+
const localVarHeaderParameter = {};
|
|
555
|
+
const localVarQueryParameter = {};
|
|
556
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
559
|
+
return {
|
|
560
|
+
url: toPathString(localVarUrlObj),
|
|
561
|
+
options: localVarRequestOptions,
|
|
562
|
+
};
|
|
563
|
+
},
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* PadelApi - functional programming interface
|
|
568
|
+
* @export
|
|
569
|
+
*/
|
|
570
|
+
export const PadelApiFp = function (configuration) {
|
|
571
|
+
const localVarAxiosParamCreator = PadelApiAxiosParamCreator(configuration);
|
|
572
|
+
return {
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
async apiPadelMatchesGet(options) {
|
|
579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiPadelMatchesGet(options);
|
|
580
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
581
|
+
const localVarOperationServerBasePath = operationServerMap['PadelApi.apiPadelMatchesGet']?.[localVarOperationServerIndex]?.url;
|
|
582
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
583
|
+
},
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* PadelApi - factory interface
|
|
588
|
+
* @export
|
|
589
|
+
*/
|
|
590
|
+
export const PadelApiFactory = function (configuration, basePath, axios) {
|
|
591
|
+
const localVarFp = PadelApiFp(configuration);
|
|
592
|
+
return {
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
apiPadelMatchesGet(options) {
|
|
599
|
+
return localVarFp.apiPadelMatchesGet(options).then((request) => request(axios, basePath));
|
|
600
|
+
},
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* PadelApi - object-oriented interface
|
|
605
|
+
* @export
|
|
606
|
+
* @class PadelApi
|
|
607
|
+
* @extends {BaseAPI}
|
|
608
|
+
*/
|
|
609
|
+
export class PadelApi extends BaseAPI {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof PadelApi
|
|
615
|
+
*/
|
|
616
|
+
apiPadelMatchesGet(options) {
|
|
617
|
+
return PadelApiFp(this.configuration).apiPadelMatchesGet(options).then((request) => request(this.axios, this.basePath));
|
|
618
|
+
}
|
|
619
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# ApiPadelMatchesGet200ResponseInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**tournamentId** | **number** | | [default to undefined]
|
|
10
|
+
**tournamentName** | **string** | | [default to undefined]
|
|
11
|
+
**tournamentLocation** | **string** | | [default to undefined]
|
|
12
|
+
**tournamentCountry** | **string** | | [default to undefined]
|
|
13
|
+
**tournamentUrl** | **string** | | [default to undefined]
|
|
14
|
+
**name** | **string** | | [default to undefined]
|
|
15
|
+
**round** | **number** | | [default to undefined]
|
|
16
|
+
**score** | [**Array<ApiPadelMatchesGet200ResponseInnerScoreInner>**](ApiPadelMatchesGet200ResponseInnerScoreInner.md) | | [default to undefined]
|
|
17
|
+
**players** | [**ApiPadelMatchesGet200ResponseInnerPlayers**](ApiPadelMatchesGet200ResponseInnerPlayers.md) | | [default to undefined]
|
|
18
|
+
**playedAt** | **string** | | [default to undefined]
|
|
19
|
+
**status** | **string** | | [default to undefined]
|
|
20
|
+
**category** | **string** | | [default to undefined]
|
|
21
|
+
**createdAt** | **string** | | [default to undefined]
|
|
22
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { ApiPadelMatchesGet200ResponseInner } from './api';
|
|
28
|
+
|
|
29
|
+
const instance: ApiPadelMatchesGet200ResponseInner = {
|
|
30
|
+
id,
|
|
31
|
+
tournamentId,
|
|
32
|
+
tournamentName,
|
|
33
|
+
tournamentLocation,
|
|
34
|
+
tournamentCountry,
|
|
35
|
+
tournamentUrl,
|
|
36
|
+
name,
|
|
37
|
+
round,
|
|
38
|
+
score,
|
|
39
|
+
players,
|
|
40
|
+
playedAt,
|
|
41
|
+
status,
|
|
42
|
+
category,
|
|
43
|
+
createdAt,
|
|
44
|
+
updatedAt,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApiPadelMatchesGet200ResponseInnerPlayers
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**team_1** | [**Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>**](ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md) | | [default to undefined]
|
|
9
|
+
**team_2** | [**Array<ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner>**](ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApiPadelMatchesGet200ResponseInnerPlayers } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ApiPadelMatchesGet200ResponseInnerPlayers = {
|
|
17
|
+
team_1,
|
|
18
|
+
team_2,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**self** | **string** | | [default to undefined]
|
|
11
|
+
**side** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: ApiPadelMatchesGet200ResponseInnerPlayersTeam1Inner = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
self,
|
|
22
|
+
side,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApiPadelMatchesGet200ResponseInnerScoreInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**team_1** | **number** | | [default to undefined]
|
|
9
|
+
**team_2** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApiPadelMatchesGet200ResponseInnerScoreInner } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ApiPadelMatchesGet200ResponseInnerScoreInner = {
|
|
17
|
+
team_1,
|
|
18
|
+
team_2,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/PadelApi.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# PadelApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**apiPadelMatchesGet**](#apipadelmatchesget) | **GET** /api/padel/matches | |
|
|
8
|
+
|
|
9
|
+
# **apiPadelMatchesGet**
|
|
10
|
+
> Array<ApiPadelMatchesGet200ResponseInner> apiPadelMatchesGet()
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import {
|
|
17
|
+
PadelApi,
|
|
18
|
+
Configuration
|
|
19
|
+
} from './api';
|
|
20
|
+
|
|
21
|
+
const configuration = new Configuration();
|
|
22
|
+
const apiInstance = new PadelApi(configuration);
|
|
23
|
+
|
|
24
|
+
const { status, data } = await apiInstance.apiPadelMatchesGet();
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Parameters
|
|
28
|
+
This endpoint does not have any parameters.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Return type
|
|
32
|
+
|
|
33
|
+
**Array<ApiPadelMatchesGet200ResponseInner>**
|
|
34
|
+
|
|
35
|
+
### Authorization
|
|
36
|
+
|
|
37
|
+
No authorization required
|
|
38
|
+
|
|
39
|
+
### HTTP request headers
|
|
40
|
+
|
|
41
|
+
- **Content-Type**: Not defined
|
|
42
|
+
- **Accept**: application/json
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### HTTP response details
|
|
46
|
+
| Status code | Description | Response headers |
|
|
47
|
+
|-------------|-------------|------------------|
|
|
48
|
+
|**200** | List of padel matches | - |
|
|
49
|
+
|
|
50
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
51
|
+
|