@tennac-booking/sdk 1.0.13 → 1.0.15

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.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +35 -12
  2. package/README.md +69 -60
  3. package/api.ts +3550 -3065
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2164 -1751
  8. package/dist/api.js +2523 -2150
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +2164 -1751
  16. package/dist/esm/api.js +2429 -2109
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AdminClubSlotsApi.md +62 -0
  28. package/docs/AdminClubsApi.md +108 -0
  29. package/docs/ApiErrorResponse.md +1 -1
  30. package/docs/ChangePasswordResponse.md +1 -1
  31. package/docs/ClubInfoResponse.md +6 -6
  32. package/docs/ClubResponse.md +6 -6
  33. package/docs/ClubRoleResponse.md +6 -6
  34. package/docs/ClubSettings.md +7 -1
  35. package/docs/ClubsResponse.md +22 -0
  36. package/docs/CourtResponse.md +7 -7
  37. package/docs/CourtStatus.md +5 -2
  38. package/docs/CreateClubRequest.md +12 -10
  39. package/docs/CreateClubSettingsRequest.md +28 -0
  40. package/docs/CreateCourtRequest.md +2 -0
  41. package/docs/CreatePriceRequest.md +4 -4
  42. package/docs/CreateSportRequest.md +4 -0
  43. package/docs/CreateSubscriptionPlanRequest.md +3 -3
  44. package/docs/DeleteClubSettingsRequest.md +20 -0
  45. package/docs/{DeleteClub200Response.md → DeleteSlotsResponse.md} +3 -3
  46. package/docs/{GenerateSlotsForNextThreeWeeks201Response.md → DeleteSport200Response.md} +3 -3
  47. package/docs/GenerateSlotsResponse.md +20 -0
  48. package/docs/GetClubInfos200Response.md +30 -0
  49. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  50. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +24 -0
  51. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  52. package/docs/GetUserRolesResponseRolesInner.md +4 -6
  53. package/docs/GoogleSignInRequestBody.md +2 -2
  54. package/docs/GoogleSignInResponse.md +2 -8
  55. package/docs/{ClubCourtsApi.md → ManagerClubCourtsApi.md} +5 -5
  56. package/docs/{ClubRolesApi.md → ManagerClubRolesApi.md} +19 -19
  57. package/docs/ManagerClubSlotsApi.md +125 -0
  58. package/docs/{ClubSubscriptionsApi.md → ManagerClubSubscriptionsApi.md} +15 -15
  59. package/docs/{ClubsApi.md → ManagerClubsApi.md} +11 -209
  60. package/docs/ManagerSportsApi.md +119 -0
  61. package/docs/PriceResponse.md +2 -8
  62. package/docs/RefreshTokenResponse.md +2 -6
  63. package/docs/SlotResponse.md +2 -8
  64. package/docs/SportResponse.md +0 -2
  65. package/docs/{ClubSportsApi.md → StaffClubAnalyticsApi.md} +20 -27
  66. package/docs/StaffClubBookingsApi.md +59 -0
  67. package/docs/StaffClubSettingsApi.md +62 -0
  68. package/docs/StaffClubsApi.md +59 -0
  69. package/docs/StaffProfileApi.md +54 -0
  70. package/docs/StaffSportsApi.md +62 -0
  71. package/docs/SubscriptionPlanResponse.md +4 -8
  72. package/docs/UpdateClubSettingsRequest.md +28 -0
  73. package/docs/UpdateSportRequest.md +4 -0
  74. package/docs/UpdateSubscriptionPlanRequest.md +3 -3
  75. package/docs/UpdateSubscriptionPlanResponse.md +2 -2
  76. package/docs/UserApi.md +119 -0
  77. package/docs/{SportsApi.md → UserAuthenticationApi.md} +54 -57
  78. package/docs/{BookingsApi.md → UserBookingsApi.md} +32 -32
  79. package/docs/UserClubCourtsApi.md +64 -0
  80. package/docs/UserClubSlotsApi.md +181 -0
  81. package/docs/UserClubSportsApi.md +60 -0
  82. package/docs/UserClubsApi.md +53 -0
  83. package/docs/{ClubSettingsApi.md → UserProfileApi.md} +59 -62
  84. package/docs/UserResponse.md +8 -14
  85. package/docs/UserSubscriptionsApi.md +222 -0
  86. package/docs/UsersResponse.md +22 -0
  87. package/index.ts +1 -1
  88. package/package.json +32 -1
  89. package/docs/ClubSlotsApi.md +0 -353
  90. package/docs/UsersApi.md +0 -844
@@ -0,0 +1,20 @@
1
+ # GenerateSlotsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GenerateSlotsResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: GenerateSlotsResponse = {
16
+ message,
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,30 @@
1
+ # GetClubInfos200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **address** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [optional] [default to undefined]
11
+ **phone** | **string** | | [optional] [default to undefined]
12
+ **rib** | **string** | | [optional] [default to undefined]
13
+ **websiteUrl** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { GetClubInfos200Response } from '@tennac-booking/sdk';
19
+
20
+ const instance: GetClubInfos200Response = {
21
+ name,
22
+ address,
23
+ email,
24
+ phone,
25
+ rib,
26
+ websiteUrl,
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
+ # GetCourtsByClubAndSport200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **courts** | [**Array<CourtResponse>**](CourtResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | Nombre total de terrains | [optional] [default to undefined]
10
+ **clubId** | **string** | ID du club | [optional] [default to undefined]
11
+ **sportId** | **string** | ID du sport | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetCourtsByClubAndSport200Response } from '@tennac-booking/sdk';
17
+
18
+ const instance: GetCourtsByClubAndSport200Response = {
19
+ courts,
20
+ total,
21
+ clubId,
22
+ sportId,
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,24 @@
1
+ # GetLastSixMonthsTurnover200ResponseInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **year** | **number** | | [optional] [default to undefined]
9
+ **month** | **number** | | [optional] [default to undefined]
10
+ **total** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetLastSixMonthsTurnover200ResponseInner } from '@tennac-booking/sdk';
16
+
17
+ const instance: GetLastSixMonthsTurnover200ResponseInner = {
18
+ year,
19
+ month,
20
+ total,
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,20 @@
1
+ # GetNumberOfClubUsers200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **count** | **number** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetNumberOfClubUsers200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetNumberOfClubUsers200Response = {
16
+ count,
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)
@@ -5,11 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | ID du club | [optional] [default to undefined]
9
- **clubName** | **string** | Nom du club | [optional] [default to undefined]
10
- **roleId** | **string** | ID du rôle | [optional] [default to undefined]
11
- **roleName** | **string** | Nom du rôle | [optional] [default to undefined]
12
- **permissions** | **Array<string>** | Permissions associées au rôle | [optional] [default to undefined]
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+ **clubName** | **string** | | [optional] [default to undefined]
10
+ **roleId** | **string** | | [optional] [default to undefined]
11
+ **roleName** | **string** | | [optional] [default to undefined]
13
12
 
14
13
  ## Example
15
14
 
@@ -21,7 +20,6 @@ const instance: GetUserRolesResponseRolesInner = {
21
20
  clubName,
22
21
  roleId,
23
22
  roleName,
24
- permissions,
25
23
  };
26
24
  ```
27
25
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **credential** | **string** | Token JWT Google | [default to undefined]
8
+ **googleToken** | **string** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  import { GoogleSignInRequestBody } from '@tennac-booking/sdk';
14
14
 
15
15
  const instance: GoogleSignInRequestBody = {
16
- credential,
16
+ googleToken,
17
17
  };
18
18
  ```
19
19
 
@@ -5,12 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **token** | **string** | Token d\'accès JWT | [optional] [default to undefined]
9
- **refreshToken** | **string** | Token de rafraîchissement | [optional] [default to undefined]
10
- **sessionDuration** | **number** | Durée de la session en secondes | [optional] [default to undefined]
11
- **sessionEnd** | **number** | Timestamp de fin de session | [optional] [default to undefined]
8
+ **token** | **string** | | [optional] [default to undefined]
9
+ **refreshToken** | **string** | | [optional] [default to undefined]
12
10
  **user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
13
- **isNewUser** | **boolean** | Indique si c\'est un nouvel utilisateur | [optional] [default to undefined]
14
11
 
15
12
  ## Example
16
13
 
@@ -20,10 +17,7 @@ import { GoogleSignInResponse } from '@tennac-booking/sdk';
20
17
  const instance: GoogleSignInResponse = {
21
18
  token,
22
19
  refreshToken,
23
- sessionDuration,
24
- sessionEnd,
25
20
  user,
26
- isNewUser,
27
21
  };
28
22
  ```
29
23
 
@@ -1,4 +1,4 @@
1
- # ClubCourtsApi
1
+ # ManagerClubCourtsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -15,13 +15,13 @@ All URIs are relative to *https://api.mon-domaine.com*
15
15
 
16
16
  ```typescript
17
17
  import {
18
- ClubCourtsApi,
18
+ ManagerClubCourtsApi,
19
19
  Configuration,
20
20
  CreateCourtRequest
21
21
  } from '@tennac-booking/sdk';
22
22
 
23
23
  const configuration = new Configuration();
24
- const apiInstance = new ClubCourtsApi(configuration);
24
+ const apiInstance = new ManagerClubCourtsApi(configuration);
25
25
 
26
26
  let id: string; //ID du club (default to undefined)
27
27
  let createCourtRequest: CreateCourtRequest; //
@@ -72,12 +72,12 @@ const { status, data } = await apiInstance.createCourtForClub(
72
72
 
73
73
  ```typescript
74
74
  import {
75
- ClubCourtsApi,
75
+ ManagerClubCourtsApi,
76
76
  Configuration
77
77
  } from '@tennac-booking/sdk';
78
78
 
79
79
  const configuration = new Configuration();
80
- const apiInstance = new ClubCourtsApi(configuration);
80
+ const apiInstance = new ManagerClubCourtsApi(configuration);
81
81
 
82
82
  let id: string; //ID du club (default to undefined)
83
83
 
@@ -1,14 +1,14 @@
1
- # ClubRolesApi
1
+ # ManagerClubRolesApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createClubRole**](#createclubrole) | **POST** /api/club-roles | Crée un nouveau rôle de club|
8
- |[**deleteClubRole**](#deleteclubrole) | **DELETE** /api/club-roles/{id} | Supprime un rôle de club|
9
- |[**getAllClubRoles**](#getallclubroles) | **GET** /api/club-roles | Récupère tous les rôles de clubs|
10
- |[**getClubRoleById**](#getclubrolebyid) | **GET** /api/club-roles/{id} | Récupère un rôle de club par son ID|
11
- |[**updateClubRole**](#updateclubrole) | **PUT** /api/club-roles/{id} | Met à jour un rôle de club|
7
+ |[**createClubRole**](#createclubrole) | **POST** /api/club-roles | Créer un nouveau rôle de club|
8
+ |[**deleteClubRole**](#deleteclubrole) | **DELETE** /api/club-roles/{id} | Supprimer un rôle de club|
9
+ |[**getAllClubRoles**](#getallclubroles) | **GET** /api/club-roles | Récupérer tous les rôles de clubs|
10
+ |[**getClubRoleById**](#getclubrolebyid) | **GET** /api/club-roles/{id} | Récupérer un rôle de club par son ID|
11
+ |[**updateClubRole**](#updateclubrole) | **PUT** /api/club-roles/{id} | Mettre à jour un rôle de club|
12
12
 
13
13
  # **createClubRole**
14
14
  > ClubRoleResponse createClubRole(createClubRoleRequestBody)
@@ -18,13 +18,13 @@ All URIs are relative to *https://api.mon-domaine.com*
18
18
 
19
19
  ```typescript
20
20
  import {
21
- ClubRolesApi,
21
+ ManagerClubRolesApi,
22
22
  Configuration,
23
23
  CreateClubRoleRequestBody
24
24
  } from '@tennac-booking/sdk';
25
25
 
26
26
  const configuration = new Configuration();
27
- const apiInstance = new ClubRolesApi(configuration);
27
+ const apiInstance = new ManagerClubRolesApi(configuration);
28
28
 
29
29
  let createClubRoleRequestBody: CreateClubRoleRequestBody; //
30
30
 
@@ -57,7 +57,7 @@ const { status, data } = await apiInstance.createClubRole(
57
57
  ### HTTP response details
58
58
  | Status code | Description | Response headers |
59
59
  |-------------|-------------|------------------|
60
- |**201** | Rôle de club créé | - |
60
+ |**201** | Rôle de club créé avec succès | - |
61
61
  |**500** | Erreur serveur interne | - |
62
62
 
63
63
  [[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)
@@ -70,12 +70,12 @@ const { status, data } = await apiInstance.createClubRole(
70
70
 
71
71
  ```typescript
72
72
  import {
73
- ClubRolesApi,
73
+ ManagerClubRolesApi,
74
74
  Configuration
75
75
  } from '@tennac-booking/sdk';
76
76
 
77
77
  const configuration = new Configuration();
78
- const apiInstance = new ClubRolesApi(configuration);
78
+ const apiInstance = new ManagerClubRolesApi(configuration);
79
79
 
80
80
  let id: string; //ID du rôle de club (default to undefined)
81
81
 
@@ -108,7 +108,7 @@ const { status, data } = await apiInstance.deleteClubRole(
108
108
  ### HTTP response details
109
109
  | Status code | Description | Response headers |
110
110
  |-------------|-------------|------------------|
111
- |**200** | Rôle de club supprimé | - |
111
+ |**200** | Rôle de club supprimé avec succès | - |
112
112
  |**404** | Rôle de club non trouvé | - |
113
113
  |**500** | Erreur serveur interne | - |
114
114
 
@@ -122,12 +122,12 @@ const { status, data } = await apiInstance.deleteClubRole(
122
122
 
123
123
  ```typescript
124
124
  import {
125
- ClubRolesApi,
125
+ ManagerClubRolesApi,
126
126
  Configuration
127
127
  } from '@tennac-booking/sdk';
128
128
 
129
129
  const configuration = new Configuration();
130
- const apiInstance = new ClubRolesApi(configuration);
130
+ const apiInstance = new ManagerClubRolesApi(configuration);
131
131
 
132
132
  const { status, data } = await apiInstance.getAllClubRoles();
133
133
  ```
@@ -166,12 +166,12 @@ This endpoint does not have any parameters.
166
166
 
167
167
  ```typescript
168
168
  import {
169
- ClubRolesApi,
169
+ ManagerClubRolesApi,
170
170
  Configuration
171
171
  } from '@tennac-booking/sdk';
172
172
 
173
173
  const configuration = new Configuration();
174
- const apiInstance = new ClubRolesApi(configuration);
174
+ const apiInstance = new ManagerClubRolesApi(configuration);
175
175
 
176
176
  let id: string; //ID du rôle de club (default to undefined)
177
177
 
@@ -218,13 +218,13 @@ const { status, data } = await apiInstance.getClubRoleById(
218
218
 
219
219
  ```typescript
220
220
  import {
221
- ClubRolesApi,
221
+ ManagerClubRolesApi,
222
222
  Configuration,
223
223
  UpdateClubRoleRequestBody
224
224
  } from '@tennac-booking/sdk';
225
225
 
226
226
  const configuration = new Configuration();
227
- const apiInstance = new ClubRolesApi(configuration);
227
+ const apiInstance = new ManagerClubRolesApi(configuration);
228
228
 
229
229
  let id: string; //ID du rôle de club (default to undefined)
230
230
  let updateClubRoleRequestBody: UpdateClubRoleRequestBody; //
@@ -260,7 +260,7 @@ const { status, data } = await apiInstance.updateClubRole(
260
260
  ### HTTP response details
261
261
  | Status code | Description | Response headers |
262
262
  |-------------|-------------|------------------|
263
- |**200** | Rôle de club mis à jour | - |
263
+ |**200** | Rôle de club mis à jour avec succès | - |
264
264
  |**404** | Rôle de club non trouvé | - |
265
265
  |**500** | Erreur serveur interne | - |
266
266
 
@@ -0,0 +1,125 @@
1
+ # ManagerClubSlotsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteSlotsByClubInRange**](#deleteslotsbyclubinrange) | **DELETE** /api/clubs/{id}/slots | Supprimer des créneaux pour un club sur une plage de dates|
8
+ |[**getSlotsByClub**](#getslotsbyclub) | **GET** /api/clubs/{id}/slots | Récupérer tous les créneaux pour un club|
9
+
10
+ # **deleteSlotsByClubInRange**
11
+ > DeleteSlotsByClubInRange200Response deleteSlotsByClubInRange()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ ManagerClubSlotsApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new ManagerClubSlotsApi(configuration);
24
+
25
+ let id: string; //ID du club (default to undefined)
26
+ let start: string; //Date de début (format ISO) (default to undefined)
27
+ let end: string; //Date de fin (format ISO) (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.deleteSlotsByClubInRange(
30
+ id,
31
+ start,
32
+ end
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **id** | [**string**] | ID du club | defaults to undefined|
41
+ | **start** | [**string**] | Date de début (format ISO) | defaults to undefined|
42
+ | **end** | [**string**] | Date de fin (format ISO) | defaults to undefined|
43
+
44
+
45
+ ### Return type
46
+
47
+ **DeleteSlotsByClubInRange200Response**
48
+
49
+ ### Authorization
50
+
51
+ [bearerAuth](../README.md#bearerAuth)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Créneaux supprimés avec succès | - |
63
+ |**400** | Requête invalide | - |
64
+ |**500** | Erreur serveur interne | - |
65
+
66
+ [[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)
67
+
68
+ # **getSlotsByClub**
69
+ > SlotsResponse getSlotsByClub()
70
+
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ ManagerClubSlotsApi,
77
+ Configuration
78
+ } from '@tennac-booking/sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new ManagerClubSlotsApi(configuration);
82
+
83
+ let id: string; //ID du club (default to undefined)
84
+ let start: string; //Date de début (format ISO) (optional) (default to undefined)
85
+ let end: string; //Date de fin (format ISO) (optional) (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.getSlotsByClub(
88
+ id,
89
+ start,
90
+ end
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **id** | [**string**] | ID du club | defaults to undefined|
99
+ | **start** | [**string**] | Date de début (format ISO) | (optional) defaults to undefined|
100
+ | **end** | [**string**] | Date de fin (format ISO) | (optional) defaults to undefined|
101
+
102
+
103
+ ### Return type
104
+
105
+ **SlotsResponse**
106
+
107
+ ### Authorization
108
+
109
+ [bearerAuth](../README.md#bearerAuth)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: Not defined
114
+ - **Accept**: application/json
115
+
116
+
117
+ ### HTTP response details
118
+ | Status code | Description | Response headers |
119
+ |-------------|-------------|------------------|
120
+ |**200** | Liste des créneaux du club | - |
121
+ |**400** | Requête invalide | - |
122
+ |**500** | Erreur serveur interne | - |
123
+
124
+ [[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)
125
+
@@ -1,4 +1,4 @@
1
- # ClubSubscriptionsApi
1
+ # ManagerClubSubscriptionsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -20,12 +20,12 @@ All URIs are relative to *https://api.mon-domaine.com*
20
20
 
21
21
  ```typescript
22
22
  import {
23
- ClubSubscriptionsApi,
23
+ ManagerClubSubscriptionsApi,
24
24
  Configuration
25
25
  } from '@tennac-booking/sdk';
26
26
 
27
27
  const configuration = new Configuration();
28
- const apiInstance = new ClubSubscriptionsApi(configuration);
28
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
29
29
 
30
30
  let id: string; //ID du club (default to undefined)
31
31
  let priceId: string; //ID du prix Stripe (default to undefined)
@@ -75,13 +75,13 @@ const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
75
75
 
76
76
  ```typescript
77
77
  import {
78
- ClubSubscriptionsApi,
78
+ ManagerClubSubscriptionsApi,
79
79
  Configuration,
80
80
  CreatePriceRequest
81
81
  } from '@tennac-booking/sdk';
82
82
 
83
83
  const configuration = new Configuration();
84
- const apiInstance = new ClubSubscriptionsApi(configuration);
84
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
85
85
 
86
86
  let id: string; //ID du club (default to undefined)
87
87
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -134,13 +134,13 @@ const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
134
134
 
135
135
  ```typescript
136
136
  import {
137
- ClubSubscriptionsApi,
137
+ ManagerClubSubscriptionsApi,
138
138
  Configuration,
139
139
  CreateSubscriptionPlanRequest
140
140
  } from '@tennac-booking/sdk';
141
141
 
142
142
  const configuration = new Configuration();
143
- const apiInstance = new ClubSubscriptionsApi(configuration);
143
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
144
144
 
145
145
  let id: string; //ID du club (default to undefined)
146
146
  let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
@@ -190,12 +190,12 @@ const { status, data } = await apiInstance.createSubscriptionPlanForClub(
190
190
 
191
191
  ```typescript
192
192
  import {
193
- ClubSubscriptionsApi,
193
+ ManagerClubSubscriptionsApi,
194
194
  Configuration
195
195
  } from '@tennac-booking/sdk';
196
196
 
197
197
  const configuration = new Configuration();
198
- const apiInstance = new ClubSubscriptionsApi(configuration);
198
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
199
199
 
200
200
  let id: string; //ID du club (default to undefined)
201
201
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -245,12 +245,12 @@ void (empty response body)
245
245
 
246
246
  ```typescript
247
247
  import {
248
- ClubSubscriptionsApi,
248
+ ManagerClubSubscriptionsApi,
249
249
  Configuration
250
250
  } from '@tennac-booking/sdk';
251
251
 
252
252
  const configuration = new Configuration();
253
- const apiInstance = new ClubSubscriptionsApi(configuration);
253
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
254
254
 
255
255
  let id: string; //ID du club (default to undefined)
256
256
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -300,12 +300,12 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
300
300
 
301
301
  ```typescript
302
302
  import {
303
- ClubSubscriptionsApi,
303
+ ManagerClubSubscriptionsApi,
304
304
  Configuration
305
305
  } from '@tennac-booking/sdk';
306
306
 
307
307
  const configuration = new Configuration();
308
- const apiInstance = new ClubSubscriptionsApi(configuration);
308
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
309
309
 
310
310
  let id: string; //ID du club (default to undefined)
311
311
  let priceId: string; //ID du prix Stripe (default to undefined)
@@ -355,13 +355,13 @@ const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
355
355
 
356
356
  ```typescript
357
357
  import {
358
- ClubSubscriptionsApi,
358
+ ManagerClubSubscriptionsApi,
359
359
  Configuration,
360
360
  UpdateSubscriptionPlanRequest
361
361
  } from '@tennac-booking/sdk';
362
362
 
363
363
  const configuration = new Configuration();
364
- const apiInstance = new ClubSubscriptionsApi(configuration);
364
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
365
365
 
366
366
  let id: string; //ID du club (default to undefined)
367
367
  let priceId: string; //ID du prix Stripe (default to undefined)