@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/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** | **string** | | [optional] [default to undefined]
11
- **validUntil** | **string** | | [optional] [default to undefined]
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** | **string** | | [optional] [default to undefined]
11
- **validUntil** | **string** | | [optional] [default to undefined]
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
@@ -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
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.159
7
+ * The version of the OpenAPI document: 1.0.161
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.159",
3
+ "version": "1.0.162",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -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)