@tennac-booking/sdk 1.0.63 → 1.0.65
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 -0
- package/README.md +4 -2
- package/api.ts +90 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +57 -1
- package/dist/api.js +56 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +57 -1
- package/dist/esm/api.js +56 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ClubsApi.md +46 -0
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -103,6 +103,7 @@ docs/GetAvailableSlotsBySports200Response.md
|
|
|
103
103
|
docs/GetClubMembers200Response.md
|
|
104
104
|
docs/GetClubRoles200Response.md
|
|
105
105
|
docs/GetClubUsersById200Response.md
|
|
106
|
+
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
106
107
|
docs/GetCourtsByClubAndSportById200Response.md
|
|
107
108
|
docs/GetInfillPercentagePerPeriod200Response.md
|
|
108
109
|
docs/GetSlotsByClubById200Response.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.63
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.63 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -91,6 +91,7 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
*ClubsApi* | [**getAvailableSlotsBySportsAndDay**](docs/ClubsApi.md#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} |
|
|
92
92
|
*ClubsApi* | [**getClubInfo**](docs/ClubsApi.md#getclubinfo) | **GET** /api/clubs/info |
|
|
93
93
|
*ClubsApi* | [**getClubUsersById**](docs/ClubsApi.md#getclubusersbyid) | **GET** /api/clubs/{id}/users |
|
|
94
|
+
*ClubsApi* | [**getClubsWithVerificationDomains**](docs/ClubsApi.md#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains |
|
|
94
95
|
*ClubsApi* | [**getCourtsByClubAndSportById**](docs/ClubsApi.md#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts |
|
|
95
96
|
*ClubsApi* | [**getPublishedActualities**](docs/ClubsApi.md#getpublishedactualities) | **GET** /api/clubs/{id}/actualities |
|
|
96
97
|
*ClubsApi* | [**getSlotsByClubById**](docs/ClubsApi.md#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots |
|
|
@@ -261,6 +262,7 @@ Class | Method | HTTP request | Description
|
|
|
261
262
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
262
263
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
263
264
|
- [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
|
|
265
|
+
- [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
|
|
264
266
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
265
267
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
266
268
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.63
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2472,6 +2472,37 @@ export interface GetClubUsersById200Response {
|
|
|
2472
2472
|
*/
|
|
2473
2473
|
'users': Array<any>;
|
|
2474
2474
|
}
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @export
|
|
2478
|
+
* @interface GetClubsWithVerificationDomains200ResponseInner
|
|
2479
|
+
*/
|
|
2480
|
+
export interface GetClubsWithVerificationDomains200ResponseInner {
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {Array<string>}
|
|
2484
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2485
|
+
*/
|
|
2486
|
+
'allowedEmailDomains': Array<string>;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @type {string}
|
|
2490
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2491
|
+
*/
|
|
2492
|
+
'address'?: string | null;
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
* @type {string}
|
|
2496
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2497
|
+
*/
|
|
2498
|
+
'name': string;
|
|
2499
|
+
/**
|
|
2500
|
+
*
|
|
2501
|
+
* @type {string}
|
|
2502
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2503
|
+
*/
|
|
2504
|
+
'clubId': string;
|
|
2505
|
+
}
|
|
2475
2506
|
/**
|
|
2476
2507
|
*
|
|
2477
2508
|
* @export
|
|
@@ -10083,6 +10114,35 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10083
10114
|
|
|
10084
10115
|
|
|
10085
10116
|
|
|
10117
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10119
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10120
|
+
|
|
10121
|
+
return {
|
|
10122
|
+
url: toPathString(localVarUrlObj),
|
|
10123
|
+
options: localVarRequestOptions,
|
|
10124
|
+
};
|
|
10125
|
+
},
|
|
10126
|
+
/**
|
|
10127
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
10128
|
+
* @param {*} [options] Override http request option.
|
|
10129
|
+
* @throws {RequiredError}
|
|
10130
|
+
*/
|
|
10131
|
+
getClubsWithVerificationDomains: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10132
|
+
const localVarPath = `/api/clubs/verification-domains`;
|
|
10133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10135
|
+
let baseOptions;
|
|
10136
|
+
if (configuration) {
|
|
10137
|
+
baseOptions = configuration.baseOptions;
|
|
10138
|
+
}
|
|
10139
|
+
|
|
10140
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10141
|
+
const localVarHeaderParameter = {} as any;
|
|
10142
|
+
const localVarQueryParameter = {} as any;
|
|
10143
|
+
|
|
10144
|
+
|
|
10145
|
+
|
|
10086
10146
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10087
10147
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10088
10148
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10322,6 +10382,17 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
10322
10382
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubUsersById']?.[localVarOperationServerIndex]?.url;
|
|
10323
10383
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10324
10384
|
},
|
|
10385
|
+
/**
|
|
10386
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
10387
|
+
* @param {*} [options] Override http request option.
|
|
10388
|
+
* @throws {RequiredError}
|
|
10389
|
+
*/
|
|
10390
|
+
async getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>>> {
|
|
10391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubsWithVerificationDomains(options);
|
|
10392
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10393
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubsWithVerificationDomains']?.[localVarOperationServerIndex]?.url;
|
|
10394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10395
|
+
},
|
|
10325
10396
|
/**
|
|
10326
10397
|
*
|
|
10327
10398
|
* @param {string} id
|
|
@@ -10441,6 +10512,14 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
10441
10512
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response> {
|
|
10442
10513
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10443
10514
|
},
|
|
10515
|
+
/**
|
|
10516
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
10517
|
+
* @param {*} [options] Override http request option.
|
|
10518
|
+
* @throws {RequiredError}
|
|
10519
|
+
*/
|
|
10520
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>> {
|
|
10521
|
+
return localVarFp.getClubsWithVerificationDomains(options).then((request) => request(axios, basePath));
|
|
10522
|
+
},
|
|
10444
10523
|
/**
|
|
10445
10524
|
*
|
|
10446
10525
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -10701,6 +10780,16 @@ export class ClubsApi extends BaseAPI {
|
|
|
10701
10780
|
return ClubsApiFp(this.configuration).getClubUsersById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10702
10781
|
}
|
|
10703
10782
|
|
|
10783
|
+
/**
|
|
10784
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
10785
|
+
* @param {*} [options] Override http request option.
|
|
10786
|
+
* @throws {RequiredError}
|
|
10787
|
+
* @memberof ClubsApi
|
|
10788
|
+
*/
|
|
10789
|
+
public getClubsWithVerificationDomains(options?: RawAxiosRequestConfig) {
|
|
10790
|
+
return ClubsApiFp(this.configuration).getClubsWithVerificationDomains(options).then((request) => request(this.axios, this.basePath));
|
|
10791
|
+
}
|
|
10792
|
+
|
|
10704
10793
|
/**
|
|
10705
10794
|
*
|
|
10706
10795
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.63
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2425,6 +2425,37 @@ export interface GetClubUsersById200Response {
|
|
|
2425
2425
|
*/
|
|
2426
2426
|
'users': Array<any>;
|
|
2427
2427
|
}
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @export
|
|
2431
|
+
* @interface GetClubsWithVerificationDomains200ResponseInner
|
|
2432
|
+
*/
|
|
2433
|
+
export interface GetClubsWithVerificationDomains200ResponseInner {
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @type {Array<string>}
|
|
2437
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2438
|
+
*/
|
|
2439
|
+
'allowedEmailDomains': Array<string>;
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @type {string}
|
|
2443
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2444
|
+
*/
|
|
2445
|
+
'address'?: string | null;
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @type {string}
|
|
2449
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2450
|
+
*/
|
|
2451
|
+
'name': string;
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
* @type {string}
|
|
2455
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2456
|
+
*/
|
|
2457
|
+
'clubId': string;
|
|
2458
|
+
}
|
|
2428
2459
|
/**
|
|
2429
2460
|
*
|
|
2430
2461
|
* @export
|
|
@@ -8317,6 +8348,12 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
8317
8348
|
* @throws {RequiredError}
|
|
8318
8349
|
*/
|
|
8319
8350
|
getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8351
|
+
/**
|
|
8352
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8353
|
+
* @param {*} [options] Override http request option.
|
|
8354
|
+
* @throws {RequiredError}
|
|
8355
|
+
*/
|
|
8356
|
+
getClubsWithVerificationDomains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8320
8357
|
/**
|
|
8321
8358
|
*
|
|
8322
8359
|
* @param {string} id
|
|
@@ -8401,6 +8438,12 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
8401
8438
|
* @throws {RequiredError}
|
|
8402
8439
|
*/
|
|
8403
8440
|
getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
|
|
8441
|
+
/**
|
|
8442
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8443
|
+
* @param {*} [options] Override http request option.
|
|
8444
|
+
* @throws {RequiredError}
|
|
8445
|
+
*/
|
|
8446
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>>>;
|
|
8404
8447
|
/**
|
|
8405
8448
|
*
|
|
8406
8449
|
* @param {string} id
|
|
@@ -8482,6 +8525,12 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
8482
8525
|
* @throws {RequiredError}
|
|
8483
8526
|
*/
|
|
8484
8527
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
|
|
8528
|
+
/**
|
|
8529
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8530
|
+
* @param {*} [options] Override http request option.
|
|
8531
|
+
* @throws {RequiredError}
|
|
8532
|
+
*/
|
|
8533
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>>;
|
|
8485
8534
|
/**
|
|
8486
8535
|
*
|
|
8487
8536
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -8699,6 +8748,13 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
8699
8748
|
* @memberof ClubsApi
|
|
8700
8749
|
*/
|
|
8701
8750
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
|
|
8751
|
+
/**
|
|
8752
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8753
|
+
* @param {*} [options] Override http request option.
|
|
8754
|
+
* @throws {RequiredError}
|
|
8755
|
+
* @memberof ClubsApi
|
|
8756
|
+
*/
|
|
8757
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubsWithVerificationDomains200ResponseInner[], any, {}>>;
|
|
8702
8758
|
/**
|
|
8703
8759
|
*
|
|
8704
8760
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.63
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2911,6 +2911,30 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
2911
2911
|
options: localVarRequestOptions,
|
|
2912
2912
|
};
|
|
2913
2913
|
}),
|
|
2914
|
+
/**
|
|
2915
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
2916
|
+
* @param {*} [options] Override http request option.
|
|
2917
|
+
* @throws {RequiredError}
|
|
2918
|
+
*/
|
|
2919
|
+
getClubsWithVerificationDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2920
|
+
const localVarPath = `/api/clubs/verification-domains`;
|
|
2921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2922
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2923
|
+
let baseOptions;
|
|
2924
|
+
if (configuration) {
|
|
2925
|
+
baseOptions = configuration.baseOptions;
|
|
2926
|
+
}
|
|
2927
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2928
|
+
const localVarHeaderParameter = {};
|
|
2929
|
+
const localVarQueryParameter = {};
|
|
2930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2932
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2933
|
+
return {
|
|
2934
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2935
|
+
options: localVarRequestOptions,
|
|
2936
|
+
};
|
|
2937
|
+
}),
|
|
2914
2938
|
/**
|
|
2915
2939
|
*
|
|
2916
2940
|
* @param {string} id
|
|
@@ -3142,6 +3166,20 @@ const ClubsApiFp = function (configuration) {
|
|
|
3142
3166
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3143
3167
|
});
|
|
3144
3168
|
},
|
|
3169
|
+
/**
|
|
3170
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3171
|
+
* @param {*} [options] Override http request option.
|
|
3172
|
+
* @throws {RequiredError}
|
|
3173
|
+
*/
|
|
3174
|
+
getClubsWithVerificationDomains(options) {
|
|
3175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3176
|
+
var _a, _b, _c;
|
|
3177
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubsWithVerificationDomains(options);
|
|
3178
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3179
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getClubsWithVerificationDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3180
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3181
|
+
});
|
|
3182
|
+
},
|
|
3145
3183
|
/**
|
|
3146
3184
|
*
|
|
3147
3185
|
* @param {string} id
|
|
@@ -3273,6 +3311,14 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
3273
3311
|
getClubUsersById(requestParameters, options) {
|
|
3274
3312
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3275
3313
|
},
|
|
3314
|
+
/**
|
|
3315
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
getClubsWithVerificationDomains(options) {
|
|
3320
|
+
return localVarFp.getClubsWithVerificationDomains(options).then((request) => request(axios, basePath));
|
|
3321
|
+
},
|
|
3276
3322
|
/**
|
|
3277
3323
|
*
|
|
3278
3324
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -3386,6 +3432,15 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
3386
3432
|
getClubUsersById(requestParameters, options) {
|
|
3387
3433
|
return (0, exports.ClubsApiFp)(this.configuration).getClubUsersById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3388
3434
|
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3437
|
+
* @param {*} [options] Override http request option.
|
|
3438
|
+
* @throws {RequiredError}
|
|
3439
|
+
* @memberof ClubsApi
|
|
3440
|
+
*/
|
|
3441
|
+
getClubsWithVerificationDomains(options) {
|
|
3442
|
+
return (0, exports.ClubsApiFp)(this.configuration).getClubsWithVerificationDomains(options).then((request) => request(this.axios, this.basePath));
|
|
3443
|
+
}
|
|
3389
3444
|
/**
|
|
3390
3445
|
*
|
|
3391
3446
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.63
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2425,6 +2425,37 @@ export interface GetClubUsersById200Response {
|
|
|
2425
2425
|
*/
|
|
2426
2426
|
'users': Array<any>;
|
|
2427
2427
|
}
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @export
|
|
2431
|
+
* @interface GetClubsWithVerificationDomains200ResponseInner
|
|
2432
|
+
*/
|
|
2433
|
+
export interface GetClubsWithVerificationDomains200ResponseInner {
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @type {Array<string>}
|
|
2437
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2438
|
+
*/
|
|
2439
|
+
'allowedEmailDomains': Array<string>;
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @type {string}
|
|
2443
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2444
|
+
*/
|
|
2445
|
+
'address'?: string | null;
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @type {string}
|
|
2449
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2450
|
+
*/
|
|
2451
|
+
'name': string;
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
* @type {string}
|
|
2455
|
+
* @memberof GetClubsWithVerificationDomains200ResponseInner
|
|
2456
|
+
*/
|
|
2457
|
+
'clubId': string;
|
|
2458
|
+
}
|
|
2428
2459
|
/**
|
|
2429
2460
|
*
|
|
2430
2461
|
* @export
|
|
@@ -8317,6 +8348,12 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
8317
8348
|
* @throws {RequiredError}
|
|
8318
8349
|
*/
|
|
8319
8350
|
getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8351
|
+
/**
|
|
8352
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8353
|
+
* @param {*} [options] Override http request option.
|
|
8354
|
+
* @throws {RequiredError}
|
|
8355
|
+
*/
|
|
8356
|
+
getClubsWithVerificationDomains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8320
8357
|
/**
|
|
8321
8358
|
*
|
|
8322
8359
|
* @param {string} id
|
|
@@ -8401,6 +8438,12 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
8401
8438
|
* @throws {RequiredError}
|
|
8402
8439
|
*/
|
|
8403
8440
|
getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
|
|
8441
|
+
/**
|
|
8442
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8443
|
+
* @param {*} [options] Override http request option.
|
|
8444
|
+
* @throws {RequiredError}
|
|
8445
|
+
*/
|
|
8446
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>>>;
|
|
8404
8447
|
/**
|
|
8405
8448
|
*
|
|
8406
8449
|
* @param {string} id
|
|
@@ -8482,6 +8525,12 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
8482
8525
|
* @throws {RequiredError}
|
|
8483
8526
|
*/
|
|
8484
8527
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
|
|
8528
|
+
/**
|
|
8529
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8530
|
+
* @param {*} [options] Override http request option.
|
|
8531
|
+
* @throws {RequiredError}
|
|
8532
|
+
*/
|
|
8533
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClubsWithVerificationDomains200ResponseInner>>;
|
|
8485
8534
|
/**
|
|
8486
8535
|
*
|
|
8487
8536
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -8699,6 +8748,13 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
8699
8748
|
* @memberof ClubsApi
|
|
8700
8749
|
*/
|
|
8701
8750
|
getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
|
|
8751
|
+
/**
|
|
8752
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
8753
|
+
* @param {*} [options] Override http request option.
|
|
8754
|
+
* @throws {RequiredError}
|
|
8755
|
+
* @memberof ClubsApi
|
|
8756
|
+
*/
|
|
8757
|
+
getClubsWithVerificationDomains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubsWithVerificationDomains200ResponseInner[], any, {}>>;
|
|
8702
8758
|
/**
|
|
8703
8759
|
*
|
|
8704
8760
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.63
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2870,6 +2870,30 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
2870
2870
|
options: localVarRequestOptions,
|
|
2871
2871
|
};
|
|
2872
2872
|
}),
|
|
2873
|
+
/**
|
|
2874
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
2875
|
+
* @param {*} [options] Override http request option.
|
|
2876
|
+
* @throws {RequiredError}
|
|
2877
|
+
*/
|
|
2878
|
+
getClubsWithVerificationDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2879
|
+
const localVarPath = `/api/clubs/verification-domains`;
|
|
2880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2881
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2882
|
+
let baseOptions;
|
|
2883
|
+
if (configuration) {
|
|
2884
|
+
baseOptions = configuration.baseOptions;
|
|
2885
|
+
}
|
|
2886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2887
|
+
const localVarHeaderParameter = {};
|
|
2888
|
+
const localVarQueryParameter = {};
|
|
2889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2891
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2892
|
+
return {
|
|
2893
|
+
url: toPathString(localVarUrlObj),
|
|
2894
|
+
options: localVarRequestOptions,
|
|
2895
|
+
};
|
|
2896
|
+
}),
|
|
2873
2897
|
/**
|
|
2874
2898
|
*
|
|
2875
2899
|
* @param {string} id
|
|
@@ -3100,6 +3124,20 @@ export const ClubsApiFp = function (configuration) {
|
|
|
3100
3124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3101
3125
|
});
|
|
3102
3126
|
},
|
|
3127
|
+
/**
|
|
3128
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @throws {RequiredError}
|
|
3131
|
+
*/
|
|
3132
|
+
getClubsWithVerificationDomains(options) {
|
|
3133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3134
|
+
var _a, _b, _c;
|
|
3135
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubsWithVerificationDomains(options);
|
|
3136
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3137
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getClubsWithVerificationDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3138
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3139
|
+
});
|
|
3140
|
+
},
|
|
3103
3141
|
/**
|
|
3104
3142
|
*
|
|
3105
3143
|
* @param {string} id
|
|
@@ -3230,6 +3268,14 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
3230
3268
|
getClubUsersById(requestParameters, options) {
|
|
3231
3269
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3232
3270
|
},
|
|
3271
|
+
/**
|
|
3272
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3273
|
+
* @param {*} [options] Override http request option.
|
|
3274
|
+
* @throws {RequiredError}
|
|
3275
|
+
*/
|
|
3276
|
+
getClubsWithVerificationDomains(options) {
|
|
3277
|
+
return localVarFp.getClubsWithVerificationDomains(options).then((request) => request(axios, basePath));
|
|
3278
|
+
},
|
|
3233
3279
|
/**
|
|
3234
3280
|
*
|
|
3235
3281
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -3342,6 +3388,15 @@ export class ClubsApi extends BaseAPI {
|
|
|
3342
3388
|
getClubUsersById(requestParameters, options) {
|
|
3343
3389
|
return ClubsApiFp(this.configuration).getClubUsersById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3344
3390
|
}
|
|
3391
|
+
/**
|
|
3392
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3393
|
+
* @param {*} [options] Override http request option.
|
|
3394
|
+
* @throws {RequiredError}
|
|
3395
|
+
* @memberof ClubsApi
|
|
3396
|
+
*/
|
|
3397
|
+
getClubsWithVerificationDomains(options) {
|
|
3398
|
+
return ClubsApiFp(this.configuration).getClubsWithVerificationDomains(options).then((request) => request(this.axios, this.basePath));
|
|
3399
|
+
}
|
|
3345
3400
|
/**
|
|
3346
3401
|
*
|
|
3347
3402
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/ClubsApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**getAvailableSlotsBySportsAndDay**](#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} | |
|
|
12
12
|
|[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/info | |
|
|
13
13
|
|[**getClubUsersById**](#getclubusersbyid) | **GET** /api/clubs/{id}/users | |
|
|
14
|
+
|[**getClubsWithVerificationDomains**](#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains | |
|
|
14
15
|
|[**getCourtsByClubAndSportById**](#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts | |
|
|
15
16
|
|[**getPublishedActualities**](#getpublishedactualities) | **GET** /api/clubs/{id}/actualities | |
|
|
16
17
|
|[**getSlotsByClubById**](#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots | |
|
|
@@ -363,6 +364,51 @@ No authorization required
|
|
|
363
364
|
|
|
364
365
|
[[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)
|
|
365
366
|
|
|
367
|
+
# **getClubsWithVerificationDomains**
|
|
368
|
+
> Array<GetClubsWithVerificationDomains200ResponseInner> getClubsWithVerificationDomains()
|
|
369
|
+
|
|
370
|
+
Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
371
|
+
|
|
372
|
+
### Example
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
import {
|
|
376
|
+
ClubsApi,
|
|
377
|
+
Configuration
|
|
378
|
+
} from '@tennac-booking/sdk';
|
|
379
|
+
|
|
380
|
+
const configuration = new Configuration();
|
|
381
|
+
const apiInstance = new ClubsApi(configuration);
|
|
382
|
+
|
|
383
|
+
const { status, data } = await apiInstance.getClubsWithVerificationDomains();
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### Parameters
|
|
387
|
+
This endpoint does not have any parameters.
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### Return type
|
|
391
|
+
|
|
392
|
+
**Array<GetClubsWithVerificationDomains200ResponseInner>**
|
|
393
|
+
|
|
394
|
+
### Authorization
|
|
395
|
+
|
|
396
|
+
No authorization required
|
|
397
|
+
|
|
398
|
+
### HTTP request headers
|
|
399
|
+
|
|
400
|
+
- **Content-Type**: Not defined
|
|
401
|
+
- **Accept**: application/json
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### HTTP response details
|
|
405
|
+
| Status code | Description | Response headers |
|
|
406
|
+
|-------------|-------------|------------------|
|
|
407
|
+
|**200** | Liste des clubs avec domaines de vérification | - |
|
|
408
|
+
|**500** | Server Error | - |
|
|
409
|
+
|
|
410
|
+
[[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)
|
|
411
|
+
|
|
366
412
|
# **getCourtsByClubAndSportById**
|
|
367
413
|
> GetCourtsByClubAndSportById200Response getCourtsByClubAndSportById()
|
|
368
414
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# GetClubsWithVerificationDomains200ResponseInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**allowedEmailDomains** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**clubId** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GetClubsWithVerificationDomains200ResponseInner } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: GetClubsWithVerificationDomains200ResponseInner = {
|
|
19
|
+
allowedEmailDomains,
|
|
20
|
+
address,
|
|
21
|
+
name,
|
|
22
|
+
clubId,
|
|
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)
|
package/index.ts
CHANGED