@drxsuperapp/sdk 1.1.7 → 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 +13 -0
- package/api.ts +716 -0
- package/deploy.log +50 -9
- package/dist/api.d.ts +572 -0
- package/dist/api.js +259 -0
- package/docs/ApiNewsGet200Response.md +26 -0
- package/docs/ApiNewsGet200ResponseResponseObject.md +28 -0
- package/docs/ApiNewsGet200ResponseResponseObjectItemsInner.md +30 -0
- package/docs/ApiNewsIdGet200Response.md +26 -0
- package/docs/ApiNewsIdGet200ResponseResponseObject.md +42 -0
- package/docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInner.md +20 -0
- package/docs/ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md +24 -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/NewsApi.md +119 -0
- package/docs/PadelApi.md +51 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -358,3 +358,262 @@ export class ExampleApi extends BaseAPI {
|
|
|
358
358
|
return ExampleApiFp(this.configuration).apiExamplesPost(apiExamplesPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* NewsApi - axios parameter creator
|
|
363
|
+
* @export
|
|
364
|
+
*/
|
|
365
|
+
export const NewsApiAxiosParamCreator = function (configuration) {
|
|
366
|
+
return {
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @param {string} [page]
|
|
370
|
+
* @param {string} [perPage]
|
|
371
|
+
* @param {string} [leagueDescription]
|
|
372
|
+
* @param {string} [searchTerm]
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
apiNewsGet: async (page, perPage, leagueDescription, searchTerm, options = {}) => {
|
|
377
|
+
const localVarPath = `/api/news`;
|
|
378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
380
|
+
let baseOptions;
|
|
381
|
+
if (configuration) {
|
|
382
|
+
baseOptions = configuration.baseOptions;
|
|
383
|
+
}
|
|
384
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
385
|
+
const localVarHeaderParameter = {};
|
|
386
|
+
const localVarQueryParameter = {};
|
|
387
|
+
if (page !== undefined) {
|
|
388
|
+
localVarQueryParameter['page'] = page;
|
|
389
|
+
}
|
|
390
|
+
if (perPage !== undefined) {
|
|
391
|
+
localVarQueryParameter['perPage'] = perPage;
|
|
392
|
+
}
|
|
393
|
+
if (leagueDescription !== undefined) {
|
|
394
|
+
localVarQueryParameter['leagueDescription'] = leagueDescription;
|
|
395
|
+
}
|
|
396
|
+
if (searchTerm !== undefined) {
|
|
397
|
+
localVarQueryParameter['searchTerm'] = searchTerm;
|
|
398
|
+
}
|
|
399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
402
|
+
return {
|
|
403
|
+
url: toPathString(localVarUrlObj),
|
|
404
|
+
options: localVarRequestOptions,
|
|
405
|
+
};
|
|
406
|
+
},
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @param {string} id
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
apiNewsIdGet: async (id, options = {}) => {
|
|
414
|
+
// verify required parameter 'id' is not null or undefined
|
|
415
|
+
assertParamExists('apiNewsIdGet', 'id', id);
|
|
416
|
+
const localVarPath = `/api/news/{id}`
|
|
417
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
418
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
|
+
let baseOptions;
|
|
421
|
+
if (configuration) {
|
|
422
|
+
baseOptions = configuration.baseOptions;
|
|
423
|
+
}
|
|
424
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
425
|
+
const localVarHeaderParameter = {};
|
|
426
|
+
const localVarQueryParameter = {};
|
|
427
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
428
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
429
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
430
|
+
return {
|
|
431
|
+
url: toPathString(localVarUrlObj),
|
|
432
|
+
options: localVarRequestOptions,
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* NewsApi - functional programming interface
|
|
439
|
+
* @export
|
|
440
|
+
*/
|
|
441
|
+
export const NewsApiFp = function (configuration) {
|
|
442
|
+
const localVarAxiosParamCreator = NewsApiAxiosParamCreator(configuration);
|
|
443
|
+
return {
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @param {string} [page]
|
|
447
|
+
* @param {string} [perPage]
|
|
448
|
+
* @param {string} [leagueDescription]
|
|
449
|
+
* @param {string} [searchTerm]
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
async apiNewsGet(page, perPage, leagueDescription, searchTerm, options) {
|
|
454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiNewsGet(page, perPage, leagueDescription, searchTerm, options);
|
|
455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
456
|
+
const localVarOperationServerBasePath = operationServerMap['NewsApi.apiNewsGet']?.[localVarOperationServerIndex]?.url;
|
|
457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
458
|
+
},
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @param {string} id
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
async apiNewsIdGet(id, options) {
|
|
466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiNewsIdGet(id, options);
|
|
467
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
468
|
+
const localVarOperationServerBasePath = operationServerMap['NewsApi.apiNewsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
469
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
470
|
+
},
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* NewsApi - factory interface
|
|
475
|
+
* @export
|
|
476
|
+
*/
|
|
477
|
+
export const NewsApiFactory = function (configuration, basePath, axios) {
|
|
478
|
+
const localVarFp = NewsApiFp(configuration);
|
|
479
|
+
return {
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @param {string} [page]
|
|
483
|
+
* @param {string} [perPage]
|
|
484
|
+
* @param {string} [leagueDescription]
|
|
485
|
+
* @param {string} [searchTerm]
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
apiNewsGet(page, perPage, leagueDescription, searchTerm, options) {
|
|
490
|
+
return localVarFp.apiNewsGet(page, perPage, leagueDescription, searchTerm, options).then((request) => request(axios, basePath));
|
|
491
|
+
},
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @param {string} id
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
apiNewsIdGet(id, options) {
|
|
499
|
+
return localVarFp.apiNewsIdGet(id, options).then((request) => request(axios, basePath));
|
|
500
|
+
},
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* NewsApi - object-oriented interface
|
|
505
|
+
* @export
|
|
506
|
+
* @class NewsApi
|
|
507
|
+
* @extends {BaseAPI}
|
|
508
|
+
*/
|
|
509
|
+
export class NewsApi extends BaseAPI {
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @param {string} [page]
|
|
513
|
+
* @param {string} [perPage]
|
|
514
|
+
* @param {string} [leagueDescription]
|
|
515
|
+
* @param {string} [searchTerm]
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
* @memberof NewsApi
|
|
519
|
+
*/
|
|
520
|
+
apiNewsGet(page, perPage, leagueDescription, searchTerm, options) {
|
|
521
|
+
return NewsApiFp(this.configuration).apiNewsGet(page, perPage, leagueDescription, searchTerm, options).then((request) => request(this.axios, this.basePath));
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @param {string} id
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
* @memberof NewsApi
|
|
529
|
+
*/
|
|
530
|
+
apiNewsIdGet(id, options) {
|
|
531
|
+
return NewsApiFp(this.configuration).apiNewsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
532
|
+
}
|
|
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,26 @@
|
|
|
1
|
+
# ApiNewsGet200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**success** | **boolean** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**responseObject** | [**ApiNewsGet200ResponseResponseObject**](ApiNewsGet200ResponseResponseObject.md) | | [optional] [default to undefined]
|
|
11
|
+
**statusCode** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ApiNewsGet200Response } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: ApiNewsGet200Response = {
|
|
19
|
+
success,
|
|
20
|
+
message,
|
|
21
|
+
responseObject,
|
|
22
|
+
statusCode,
|
|
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,28 @@
|
|
|
1
|
+
# ApiNewsGet200ResponseResponseObject
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<ApiNewsGet200ResponseResponseObjectItemsInner>**](ApiNewsGet200ResponseResponseObjectItemsInner.md) | | [default to undefined]
|
|
9
|
+
**currentPage** | **number** | | [default to undefined]
|
|
10
|
+
**totalItems** | **number** | | [default to undefined]
|
|
11
|
+
**totalPages** | **number** | | [default to undefined]
|
|
12
|
+
**pageSize** | **number** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ApiNewsGet200ResponseResponseObject } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: ApiNewsGet200ResponseResponseObject = {
|
|
20
|
+
items,
|
|
21
|
+
currentPage,
|
|
22
|
+
totalItems,
|
|
23
|
+
totalPages,
|
|
24
|
+
pageSize,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,30 @@
|
|
|
1
|
+
# ApiNewsGet200ResponseResponseObjectItemsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**thumbnail** | **string** | | [default to undefined]
|
|
10
|
+
**title** | **string** | | [default to undefined]
|
|
11
|
+
**source** | **string** | | [default to undefined]
|
|
12
|
+
**byline** | **string** | | [default to undefined]
|
|
13
|
+
**publishedAt** | **string** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ApiNewsGet200ResponseResponseObjectItemsInner } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: ApiNewsGet200ResponseResponseObjectItemsInner = {
|
|
21
|
+
id,
|
|
22
|
+
thumbnail,
|
|
23
|
+
title,
|
|
24
|
+
source,
|
|
25
|
+
byline,
|
|
26
|
+
publishedAt,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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
|
+
# ApiNewsIdGet200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**success** | **boolean** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**responseObject** | [**ApiNewsIdGet200ResponseResponseObject**](ApiNewsIdGet200ResponseResponseObject.md) | | [optional] [default to undefined]
|
|
11
|
+
**statusCode** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ApiNewsIdGet200Response } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: ApiNewsIdGet200Response = {
|
|
19
|
+
success,
|
|
20
|
+
message,
|
|
21
|
+
responseObject,
|
|
22
|
+
statusCode,
|
|
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,42 @@
|
|
|
1
|
+
# ApiNewsIdGet200ResponseResponseObject
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**title** | **string** | | [default to undefined]
|
|
10
|
+
**description** | **string** | | [default to undefined]
|
|
11
|
+
**html_content** | **string** | | [default to undefined]
|
|
12
|
+
**source** | **string** | | [default to undefined]
|
|
13
|
+
**keywords** | **string** | | [default to undefined]
|
|
14
|
+
**byline** | **string** | | [default to undefined]
|
|
15
|
+
**publishedAt** | **string** | | [default to undefined]
|
|
16
|
+
**thumbnail** | **string** | | [default to undefined]
|
|
17
|
+
**createdAt** | **string** | | [default to undefined]
|
|
18
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
19
|
+
**leagues** | [**Array<ApiNewsIdGet200ResponseResponseObjectLeaguesInner>**](ApiNewsIdGet200ResponseResponseObjectLeaguesInner.md) | | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ApiNewsIdGet200ResponseResponseObject } from './api';
|
|
25
|
+
|
|
26
|
+
const instance: ApiNewsIdGet200ResponseResponseObject = {
|
|
27
|
+
id,
|
|
28
|
+
title,
|
|
29
|
+
description,
|
|
30
|
+
html_content,
|
|
31
|
+
source,
|
|
32
|
+
keywords,
|
|
33
|
+
byline,
|
|
34
|
+
publishedAt,
|
|
35
|
+
thumbnail,
|
|
36
|
+
createdAt,
|
|
37
|
+
updatedAt,
|
|
38
|
+
leagues,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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,20 @@
|
|
|
1
|
+
# ApiNewsIdGet200ResponseResponseObjectLeaguesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**league** | [**ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague**](ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ApiNewsIdGet200ResponseResponseObjectLeaguesInner } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: ApiNewsIdGet200ResponseResponseObjectLeaguesInner = {
|
|
16
|
+
league,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,24 @@
|
|
|
1
|
+
# ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**description** | **string** | | [default to undefined]
|
|
10
|
+
**abbreviation** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague = {
|
|
18
|
+
id,
|
|
19
|
+
description,
|
|
20
|
+
abbreviation,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,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)
|