@tennac-booking/sdk 1.0.159 → 1.0.162
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 +374 -371
- package/README.md +6 -3
- package/api.ts +175 -34
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +134 -30
- package/dist/api.js +79 -11
- 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 +134 -30
- package/dist/esm/api.js +78 -10
- 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/AgendaBooking.md +1 -1
- package/docs/BookingInvoicePaymentStatus.md +24 -0
- package/docs/ClientOnboardingRequestBody.md +2 -0
- package/docs/ClubDayInterval.md +2 -2
- package/docs/ClubPresentationSettingsResponse.md +2 -0
- package/docs/ClubPricingPeriodResponse.md +2 -2
- package/docs/ClubsApi.md +54 -0
- package/docs/GetClubTimezone200Response.md +20 -0
- package/docs/HotelAccessSettings.md +2 -2
- package/docs/PartialHotelAccessSettings.md +2 -2
- package/docs/Sponsor.md +24 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AgendaPaymentStatus.md +0 -12
package/docs/ClubsApi.md
CHANGED
|
@@ -12,6 +12,7 @@ All URIs are relative to *http://localhost*
|
|
|
12
12
|
|[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/info | |
|
|
13
13
|
|[**getClubMetadata**](#getclubmetadata) | **GET** /api/clubs/{clubId}/metadata | |
|
|
14
14
|
|[**getClubPageInfo**](#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} | |
|
|
15
|
+
|[**getClubTimezone**](#getclubtimezone) | **GET** /api/clubs/{id}/timezone | |
|
|
15
16
|
|[**getClubUsersById**](#getclubusersbyid) | **GET** /api/clubs/{id}/users | |
|
|
16
17
|
|[**getClubsWithVerificationDomains**](#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains | |
|
|
17
18
|
|[**getCourtsByClubAndSportById**](#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts | |
|
|
@@ -422,6 +423,59 @@ No authorization required
|
|
|
422
423
|
|
|
423
424
|
[[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)
|
|
424
425
|
|
|
426
|
+
# **getClubTimezone**
|
|
427
|
+
> GetClubTimezone200Response getClubTimezone()
|
|
428
|
+
|
|
429
|
+
Récupère le fuseau horaire d\'un club
|
|
430
|
+
|
|
431
|
+
### Example
|
|
432
|
+
|
|
433
|
+
```typescript
|
|
434
|
+
import {
|
|
435
|
+
ClubsApi,
|
|
436
|
+
Configuration
|
|
437
|
+
} from '@tennac-booking/sdk';
|
|
438
|
+
|
|
439
|
+
const configuration = new Configuration();
|
|
440
|
+
const apiInstance = new ClubsApi(configuration);
|
|
441
|
+
|
|
442
|
+
let id: string; // (default to undefined)
|
|
443
|
+
|
|
444
|
+
const { status, data } = await apiInstance.getClubTimezone(
|
|
445
|
+
id
|
|
446
|
+
);
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
### Parameters
|
|
450
|
+
|
|
451
|
+
|Name | Type | Description | Notes|
|
|
452
|
+
|------------- | ------------- | ------------- | -------------|
|
|
453
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
### Return type
|
|
457
|
+
|
|
458
|
+
**GetClubTimezone200Response**
|
|
459
|
+
|
|
460
|
+
### Authorization
|
|
461
|
+
|
|
462
|
+
No authorization required
|
|
463
|
+
|
|
464
|
+
### HTTP request headers
|
|
465
|
+
|
|
466
|
+
- **Content-Type**: Not defined
|
|
467
|
+
- **Accept**: application/json
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
### HTTP response details
|
|
471
|
+
| Status code | Description | Response headers |
|
|
472
|
+
|-------------|-------------|------------------|
|
|
473
|
+
|**200** | Fuseau horaire du club | - |
|
|
474
|
+
|**400** | Bad Request | - |
|
|
475
|
+
|**404** | Club non trouvé | - |
|
|
476
|
+
|
|
477
|
+
[[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)
|
|
478
|
+
|
|
425
479
|
# **getClubUsersById**
|
|
426
480
|
> GetClubUsersById200Response getClubUsersById()
|
|
427
481
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# GetClubTimezone200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**timezone** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { GetClubTimezone200Response } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: GetClubTimezone200Response = {
|
|
16
|
+
timezone,
|
|
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)
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**enabled** | **boolean** | | [default to undefined]
|
|
9
9
|
**accessCode** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**validFrom** | **
|
|
11
|
-
**validUntil** | **
|
|
10
|
+
**validFrom** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**validUntil** | **number** | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -7,8 +7,8 @@ Make all properties in T optional
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**accessCode** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**validFrom** | **
|
|
11
|
-
**validUntil** | **
|
|
10
|
+
**validFrom** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**validUntil** | **number** | | [optional] [default to undefined]
|
|
12
12
|
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
package/docs/Sponsor.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Sponsor
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**logo** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Sponsor } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: Sponsor = {
|
|
18
|
+
name,
|
|
19
|
+
logo,
|
|
20
|
+
websiteUrl,
|
|
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)
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
10
10
|
**bannerImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
11
11
|
**galleryImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
12
|
+
**sponsors** | [**Array<Sponsor>**](Sponsor.md) | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: UpdateClubPresentationSettingsRequest = {
|
|
|
20
21
|
tags,
|
|
21
22
|
bannerImages,
|
|
22
23
|
galleryImages,
|
|
24
|
+
sponsors,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# AgendaPaymentStatus
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Pay` (value: `'payé'`)
|
|
7
|
-
|
|
8
|
-
* `NonPay` (value: `'non payé'`)
|
|
9
|
-
|
|
10
|
-
* `EnAttente` (value: `'en attente'`)
|
|
11
|
-
|
|
12
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|