@tennac-booking/sdk 1.0.22 → 1.0.24

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 (64) hide show
  1. package/.openapi-generator/FILES +15 -6
  2. package/README.md +61 -37
  3. package/api.ts +2800 -1354
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1679 -845
  8. package/dist/api.js +1955 -989
  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 +1679 -845
  16. package/dist/esm/api.js +1932 -962
  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/AddPaymentMethodSetupRequestBody.md +20 -0
  28. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  29. package/docs/AdminClubAnalyticsApi.md +249 -0
  30. package/docs/AdminClubSlotsApi.md +120 -0
  31. package/docs/AdminClubSubscriptionsApi.md +394 -0
  32. package/docs/AdminClubsApi.md +82 -20
  33. package/docs/BlockSlotResponse.md +1 -1
  34. package/docs/BookingPopulated.md +28 -0
  35. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  36. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  37. package/docs/BookingPopulatedSlotId.md +26 -0
  38. package/docs/BookingPopulatedSlotIdCourtId.md +22 -0
  39. package/docs/BookingPopulatedUserId.md +24 -0
  40. package/docs/ClubAnalyticsApi.md +4 -16
  41. package/docs/ClubSettings.md +14 -8
  42. package/docs/{GetAllSportsRequest.md → DeleteClub200Response.md} +5 -5
  43. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +3 -5
  44. package/docs/{CancelBookingRequest.md → LevelBySportsItem.md} +7 -5
  45. package/docs/ManagerBookingsApi.md +0 -118
  46. package/docs/ManagerClubCourtsApi.md +4 -14
  47. package/docs/ManagerClubSlotsApi.md +2 -8
  48. package/docs/ManagerClubSubscriptionsApi.md +7 -28
  49. package/docs/ManagerClubsApi.md +14 -41
  50. package/docs/ManagerSportsApi.md +55 -0
  51. package/docs/{CheckInPlayersRequest.md → ProfilePictureResponse.md} +5 -5
  52. package/docs/StaffClubAnalyticsApi.md +14 -14
  53. package/docs/StaffClubBookingsApi.md +5 -12
  54. package/docs/StaffClubsApi.md +57 -8
  55. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  56. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  57. package/docs/UserApi.md +0 -56
  58. package/docs/UserPaymentApi.md +55 -0
  59. package/docs/UserProfileApi.md +158 -0
  60. package/index.ts +1 -1
  61. package/package.json +1 -1
  62. package/docs/BookingsApi.md +0 -68
  63. package/docs/StaffClubSettingsApi.md +0 -54
  64. package/docs/StaffSportsApi.md +0 -62
@@ -0,0 +1,24 @@
1
+ # BookingPopulatedUserId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingPopulatedUserId } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingPopulatedUserId = {
18
+ id,
19
+ firstName,
20
+ lastName,
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)
@@ -4,10 +4,10 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/clubs/{id}/turnover/daily | Chiffre d\'affaires quotidien|
8
- |[**getInvoices**](#getinvoices) | **GET** /api/clubs/{id}/invoices | Récupérer les factures du club|
9
- |[**getMonthlyTurnOver**](#getmonthlyturnover) | **GET** /api/clubs/{id}/turnover/monthly | Chiffre d\'affaires mensuel|
10
- |[**getYearlyTurnOver**](#getyearlyturnover) | **GET** /api/clubs/{id}/turnover/yearly | Chiffre d\'affaires annuel|
7
+ |[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/analytics/dailyTurnover | Chiffre d\'affaires quotidien (club courant)|
8
+ |[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | Récupérer les factures du club courant|
9
+ |[**getMonthlyTurnOver**](#getmonthlyturnover) | **GET** /api/analytics/monthlyTurnover | Chiffre d\'affaires mensuel (club courant)|
10
+ |[**getYearlyTurnOver**](#getyearlyturnover) | **GET** /api/analytics/yearlyTurnover | Chiffre d\'affaires annuel (club courant)|
11
11
 
12
12
  # **getDailyTurnOver**
13
13
  > DailyTurnoverResponse getDailyTurnOver()
@@ -24,11 +24,9 @@ import {
24
24
  const configuration = new Configuration();
25
25
  const apiInstance = new ClubAnalyticsApi(configuration);
26
26
 
27
- let id: string; //ID du club (default to undefined)
28
27
  let date: string; //Date (format YYYY-MM-DD) (default to undefined)
29
28
 
30
29
  const { status, data } = await apiInstance.getDailyTurnOver(
31
- id,
32
30
  date
33
31
  );
34
32
  ```
@@ -37,7 +35,6 @@ const { status, data } = await apiInstance.getDailyTurnOver(
37
35
 
38
36
  |Name | Type | Description | Notes|
39
37
  |------------- | ------------- | ------------- | -------------|
40
- | **id** | [**string**] | ID du club | defaults to undefined|
41
38
  | **date** | [**string**] | Date (format YYYY-MM-DD) | defaults to undefined|
42
39
 
43
40
 
@@ -81,7 +78,6 @@ import {
81
78
  const configuration = new Configuration();
82
79
  const apiInstance = new ClubAnalyticsApi(configuration);
83
80
 
84
- let id: string; //ID du club (default to undefined)
85
81
  let page: number; //Numéro de page (optional) (default to 1)
86
82
  let limit: number; //Nombre d\'éléments par page (optional) (default to 10)
87
83
  let status: 'pending' | 'paid' | 'failed' | 'authorized' | 'canceled' | 'expired'; //Filtrer par statut (optional) (default to undefined)
@@ -89,7 +85,6 @@ let startDate: string; //Date de début (ISO format) (optional) (default to unde
89
85
  let endDate: string; //Date de fin (ISO format) (optional) (default to undefined)
90
86
 
91
87
  const { status, data } = await apiInstance.getInvoices(
92
- id,
93
88
  page,
94
89
  limit,
95
90
  status,
@@ -102,7 +97,6 @@ const { status, data } = await apiInstance.getInvoices(
102
97
 
103
98
  |Name | Type | Description | Notes|
104
99
  |------------- | ------------- | ------------- | -------------|
105
- | **id** | [**string**] | ID du club | defaults to undefined|
106
100
  | **page** | [**number**] | Numéro de page | (optional) defaults to 1|
107
101
  | **limit** | [**number**] | Nombre d\'éléments par page | (optional) defaults to 10|
108
102
  | **status** | [**&#39;pending&#39; | &#39;paid&#39; | &#39;failed&#39; | &#39;authorized&#39; | &#39;canceled&#39; | &#39;expired&#39;**]**Array<&#39;pending&#39; &#124; &#39;paid&#39; &#124; &#39;failed&#39; &#124; &#39;authorized&#39; &#124; &#39;canceled&#39; &#124; &#39;expired&#39;>** | Filtrer par statut | (optional) defaults to undefined|
@@ -149,12 +143,10 @@ import {
149
143
  const configuration = new Configuration();
150
144
  const apiInstance = new ClubAnalyticsApi(configuration);
151
145
 
152
- let id: string; //ID du club (default to undefined)
153
146
  let year: number; //Année (default to undefined)
154
147
  let month: number; //Mois (1-12) (default to undefined)
155
148
 
156
149
  const { status, data } = await apiInstance.getMonthlyTurnOver(
157
- id,
158
150
  year,
159
151
  month
160
152
  );
@@ -164,7 +156,6 @@ const { status, data } = await apiInstance.getMonthlyTurnOver(
164
156
 
165
157
  |Name | Type | Description | Notes|
166
158
  |------------- | ------------- | ------------- | -------------|
167
- | **id** | [**string**] | ID du club | defaults to undefined|
168
159
  | **year** | [**number**] | Année | defaults to undefined|
169
160
  | **month** | [**number**] | Mois (1-12) | defaults to undefined|
170
161
 
@@ -209,11 +200,9 @@ import {
209
200
  const configuration = new Configuration();
210
201
  const apiInstance = new ClubAnalyticsApi(configuration);
211
202
 
212
- let id: string; //ID du club (default to undefined)
213
203
  let year: number; //Année (default to undefined)
214
204
 
215
205
  const { status, data } = await apiInstance.getYearlyTurnOver(
216
- id,
217
206
  year
218
207
  );
219
208
  ```
@@ -222,7 +211,6 @@ const { status, data } = await apiInstance.getYearlyTurnOver(
222
211
 
223
212
  |Name | Type | Description | Notes|
224
213
  |------------- | ------------- | ------------- | -------------|
225
- | **id** | [**string**] | ID du club | defaults to undefined|
226
214
  | **year** | [**number**] | Année | defaults to undefined|
227
215
 
228
216
 
@@ -7,10 +7,13 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
9
  **clubId** | **string** | | [optional] [default to undefined]
10
- **reservationStartTime** | **string** | | [optional] [default to undefined]
11
- **reservationEndTime** | **string** | | [optional] [default to undefined]
12
- **maxSimultaneousReservations** | **number** | | [optional] [default to undefined]
13
- **allowWeekendReservations** | **boolean** | | [optional] [default to undefined]
10
+ **maxWeeklyBookings** | **number** | | [optional] [default to undefined]
11
+ **allowMultipleBookingsAtTheSameTime** | **boolean** | | [optional] [default to undefined]
12
+ **sameTimeBookingsLimit** | **number** | | [optional] [default to undefined]
13
+ **cancellationLimitHours** | **number** | | [optional] [default to undefined]
14
+ **availabilityPeriodInDays** | **number** | | [optional] [default to undefined]
15
+ **sponsors** | **Array&lt;string&gt;** | | [optional] [default to undefined]
16
+ **timeBeforePayment** | **number** | Minutes before payment is required | [optional] [default to undefined]
14
17
  **createdAt** | **string** | | [optional] [default to undefined]
15
18
  **updatedAt** | **string** | | [optional] [default to undefined]
16
19
 
@@ -22,10 +25,13 @@ import { ClubSettings } from '@tennac-booking/sdk';
22
25
  const instance: ClubSettings = {
23
26
  id,
24
27
  clubId,
25
- reservationStartTime,
26
- reservationEndTime,
27
- maxSimultaneousReservations,
28
- allowWeekendReservations,
28
+ maxWeeklyBookings,
29
+ allowMultipleBookingsAtTheSameTime,
30
+ sameTimeBookingsLimit,
31
+ cancellationLimitHours,
32
+ availabilityPeriodInDays,
33
+ sponsors,
34
+ timeBeforePayment,
29
35
  createdAt,
30
36
  updatedAt,
31
37
  };
@@ -1,19 +1,19 @@
1
- # GetAllSportsRequest
1
+ # DeleteClub200Response
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [optional] [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { GetAllSportsRequest } from '@tennac-booking/sdk';
13
+ import { DeleteClub200Response } from '@tennac-booking/sdk';
14
14
 
15
- const instance: GetAllSportsRequest = {
16
- clubId,
15
+ const instance: DeleteClub200Response = {
16
+ message,
17
17
  };
18
18
  ```
19
19
 
@@ -5,9 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **year** | **number** | | [optional] [default to undefined]
9
- **month** | **string** | | [optional] [default to undefined]
10
- **total** | **number** | | [optional] [default to undefined]
8
+ **month** | **string** | Month name (3-letter format) | [optional] [default to undefined]
9
+ **value** | **number** | Turnover amount for the month | [optional] [default to undefined]
11
10
 
12
11
  ## Example
13
12
 
@@ -15,9 +14,8 @@ Name | Type | Description | Notes
15
14
  import { GetLastSixMonthsTurnover200ResponseInner } from '@tennac-booking/sdk';
16
15
 
17
16
  const instance: GetLastSixMonthsTurnover200ResponseInner = {
18
- year,
19
17
  month,
20
- total,
18
+ value,
21
19
  };
22
20
  ```
23
21
 
@@ -1,19 +1,21 @@
1
- # CancelBookingRequest
1
+ # LevelBySportsItem
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | ID de l\&#39;utilisateur créateur pour vérification | [default to undefined]
8
+ **sport** | **string** | | [default to undefined]
9
+ **level** | **string** | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { CancelBookingRequest } from '@tennac-booking/sdk';
14
+ import { LevelBySportsItem } from '@tennac-booking/sdk';
14
15
 
15
- const instance: CancelBookingRequest = {
16
- userId,
16
+ const instance: LevelBySportsItem = {
17
+ sport,
18
+ level,
17
19
  };
18
20
  ```
19
21
 
@@ -5,8 +5,6 @@ All URIs are relative to *https://api.mon-domaine.com*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**applyNoShowFee**](#applynoshowfee) | **POST** /api/bookings/{bookingId}/apply-noshow-fee | Appliquer les frais de no-show|
8
- |[**checkInPlayers**](#checkinplayers) | **POST** /api/bookings/{bookingId}/checkin-players | Enregistrer l\&#39;arrivée des joueurs|
9
- |[**getBookingPaymentStatus**](#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status | Obtenir le statut des paiements d\&#39;une réservation|
10
8
  |[**managerCancelBooking**](#managercancelbooking) | **DELETE** /api/bookings/{bookingId}/manager-cancel | Annuler une réservation (gestionnaire)|
11
9
 
12
10
  # **applyNoShowFee**
@@ -65,122 +63,6 @@ const { status, data } = await apiInstance.applyNoShowFee(
65
63
 
66
64
  [[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
65
 
68
- # **checkInPlayers**
69
- > CheckInPlayersResponse checkInPlayers(checkInPlayersRequest)
70
-
71
- Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
72
-
73
- ### Example
74
-
75
- ```typescript
76
- import {
77
- ManagerBookingsApi,
78
- Configuration,
79
- CheckInPlayersRequest
80
- } from '@tennac-booking/sdk';
81
-
82
- const configuration = new Configuration();
83
- const apiInstance = new ManagerBookingsApi(configuration);
84
-
85
- let bookingId: string; //ID MongoDB de la réservation (default to undefined)
86
- let checkInPlayersRequest: CheckInPlayersRequest; //
87
-
88
- const { status, data } = await apiInstance.checkInPlayers(
89
- bookingId,
90
- checkInPlayersRequest
91
- );
92
- ```
93
-
94
- ### Parameters
95
-
96
- |Name | Type | Description | Notes|
97
- |------------- | ------------- | ------------- | -------------|
98
- | **checkInPlayersRequest** | **CheckInPlayersRequest**| | |
99
- | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
100
-
101
-
102
- ### Return type
103
-
104
- **CheckInPlayersResponse**
105
-
106
- ### Authorization
107
-
108
- [bearerAuth](../README.md#bearerAuth)
109
-
110
- ### HTTP request headers
111
-
112
- - **Content-Type**: application/json
113
- - **Accept**: application/json
114
-
115
-
116
- ### HTTP response details
117
- | Status code | Description | Response headers |
118
- |-------------|-------------|------------------|
119
- |**200** | Check-in effectué avec succès | - |
120
- |**400** | Requête invalide | - |
121
- |**401** | Non autorisé | - |
122
- |**403** | Accès interdit | - |
123
- |**404** | Réservation non trouvée | - |
124
- |**500** | Erreur serveur interne | - |
125
-
126
- [[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)
127
-
128
- # **getBookingPaymentStatus**
129
- > BookingPaymentStatusResponse getBookingPaymentStatus()
130
-
131
- Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
132
-
133
- ### Example
134
-
135
- ```typescript
136
- import {
137
- ManagerBookingsApi,
138
- Configuration
139
- } from '@tennac-booking/sdk';
140
-
141
- const configuration = new Configuration();
142
- const apiInstance = new ManagerBookingsApi(configuration);
143
-
144
- let bookingId: string; //ID MongoDB de la réservation (default to undefined)
145
-
146
- const { status, data } = await apiInstance.getBookingPaymentStatus(
147
- bookingId
148
- );
149
- ```
150
-
151
- ### Parameters
152
-
153
- |Name | Type | Description | Notes|
154
- |------------- | ------------- | ------------- | -------------|
155
- | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
156
-
157
-
158
- ### Return type
159
-
160
- **BookingPaymentStatusResponse**
161
-
162
- ### Authorization
163
-
164
- [bearerAuth](../README.md#bearerAuth)
165
-
166
- ### HTTP request headers
167
-
168
- - **Content-Type**: Not defined
169
- - **Accept**: application/json
170
-
171
-
172
- ### HTTP response details
173
- | Status code | Description | Response headers |
174
- |-------------|-------------|------------------|
175
- |**200** | Statut des paiements récupéré avec succès | - |
176
- |**400** | ID de réservation invalide | - |
177
- |**401** | Non autorisé | - |
178
- |**403** | Accès interdit | - |
179
- |**404** | Réservation non trouvée | - |
180
- |**500** | Erreur serveur interne | - |
181
-
182
- [[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)
183
-
184
66
  # **managerCancelBooking**
185
67
  > ManagerCancelBookingResponse managerCancelBooking(managerCancelBookingRequest)
186
68
 
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createCourtForClub**](#createcourtforclub) | **POST** /api/clubs/{id}/courts | Créer un terrain pour un club|
8
- |[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/{id}/courts | Récupérer tous les terrains pour un club|
7
+ |[**createCourtForClub**](#createcourtforclub) | **POST** /api/clubs/courts | Créer un terrain pour le club courant|
8
+ |[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | Récupérer tous les terrains du club courant|
9
9
 
10
10
  # **createCourtForClub**
11
11
  > CourtResponse createCourtForClub(createCourtRequest)
@@ -23,11 +23,9 @@ import {
23
23
  const configuration = new Configuration();
24
24
  const apiInstance = new ManagerClubCourtsApi(configuration);
25
25
 
26
- let id: string; //ID du club (default to undefined)
27
26
  let createCourtRequest: CreateCourtRequest; //
28
27
 
29
28
  const { status, data } = await apiInstance.createCourtForClub(
30
- id,
31
29
  createCourtRequest
32
30
  );
33
31
  ```
@@ -37,7 +35,6 @@ const { status, data } = await apiInstance.createCourtForClub(
37
35
  |Name | Type | Description | Notes|
38
36
  |------------- | ------------- | ------------- | -------------|
39
37
  | **createCourtRequest** | **CreateCourtRequest**| | |
40
- | **id** | [**string**] | ID du club | defaults to undefined|
41
38
 
42
39
 
43
40
  ### Return type
@@ -79,18 +76,11 @@ import {
79
76
  const configuration = new Configuration();
80
77
  const apiInstance = new ManagerClubCourtsApi(configuration);
81
78
 
82
- let id: string; //ID du club (default to undefined)
83
-
84
- const { status, data } = await apiInstance.getCourtsByClub(
85
- id
86
- );
79
+ const { status, data } = await apiInstance.getCourtsByClub();
87
80
  ```
88
81
 
89
82
  ### Parameters
90
-
91
- |Name | Type | Description | Notes|
92
- |------------- | ------------- | ------------- | -------------|
93
- | **id** | [**string**] | ID du club | defaults to undefined|
83
+ This endpoint does not have any parameters.
94
84
 
95
85
 
96
86
  ### Return type
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
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|
7
+ |[**deleteSlotsByClubInRange**](#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots | Supprimer des créneaux pour le club courant sur une plage de dates|
8
+ |[**getSlotsByClub**](#getslotsbyclub) | **GET** /api/clubs/slots | Récupérer tous les créneaux du club courant|
9
9
 
10
10
  # **deleteSlotsByClubInRange**
11
11
  > DeleteSlotsByClubInRange200Response deleteSlotsByClubInRange()
@@ -22,12 +22,10 @@ import {
22
22
  const configuration = new Configuration();
23
23
  const apiInstance = new ManagerClubSlotsApi(configuration);
24
24
 
25
- let id: string; //ID du club (default to undefined)
26
25
  let start: string; //Date de début (format ISO) (default to undefined)
27
26
  let end: string; //Date de fin (format ISO) (default to undefined)
28
27
 
29
28
  const { status, data } = await apiInstance.deleteSlotsByClubInRange(
30
- id,
31
29
  start,
32
30
  end
33
31
  );
@@ -37,7 +35,6 @@ const { status, data } = await apiInstance.deleteSlotsByClubInRange(
37
35
 
38
36
  |Name | Type | Description | Notes|
39
37
  |------------- | ------------- | ------------- | -------------|
40
- | **id** | [**string**] | ID du club | defaults to undefined|
41
38
  | **start** | [**string**] | Date de début (format ISO) | defaults to undefined|
42
39
  | **end** | [**string**] | Date de fin (format ISO) | defaults to undefined|
43
40
 
@@ -80,12 +77,10 @@ import {
80
77
  const configuration = new Configuration();
81
78
  const apiInstance = new ManagerClubSlotsApi(configuration);
82
79
 
83
- let id: string; //ID du club (default to undefined)
84
80
  let start: string; //Date de début (format ISO) (optional) (default to undefined)
85
81
  let end: string; //Date de fin (format ISO) (optional) (default to undefined)
86
82
 
87
83
  const { status, data } = await apiInstance.getSlotsByClub(
88
- id,
89
84
  start,
90
85
  end
91
86
  );
@@ -95,7 +90,6 @@ const { status, data } = await apiInstance.getSlotsByClub(
95
90
 
96
91
  |Name | Type | Description | Notes|
97
92
  |------------- | ------------- | ------------- | -------------|
98
- | **id** | [**string**] | ID du club | defaults to undefined|
99
93
  | **start** | [**string**] | Date de début (format ISO) | (optional) defaults to undefined|
100
94
  | **end** | [**string**] | Date de fin (format ISO) | (optional) defaults to undefined|
101
95
 
@@ -4,13 +4,13 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/{id}/subscription-plans/{priceId}/archive-price | Archiver un prix|
8
- |[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/{id}/subscription-plans/{productId}/prices | Créer un nouveau prix pour un plan|
9
- |[**createSubscriptionPlanForClub**](#createsubscriptionplanforclub) | **POST** /api/clubs/{id}/subscription-plans | Créer un plan d\&#39;abonnement pour un club|
10
- |[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/{id}/subscription-plans/{productId} | Supprimer un plan d\&#39;abonnement pour un club|
11
- |[**restoreSubscriptionPlanForClub**](#restoresubscriptionplanforclub) | **POST** /api/clubs/{id}/subscription-plans/{productId}/restore | Réactiver un plan d\&#39;abonnement|
12
- |[**restoreSubscriptionPriceForClub**](#restoresubscriptionpriceforclub) | **POST** /api/clubs/{id}/subscription-plans/{priceId}/restore-price | Réactiver un prix|
13
- |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/{id}/subscription-plans/{priceId} | Mettre à jour un plan d\&#39;abonnement|
7
+ |[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price | Archiver un prix (club courant)|
8
+ |[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | Créer un nouveau prix pour un plan (club courant)|
9
+ |[**createSubscriptionPlanForClub**](#createsubscriptionplanforclub) | **POST** /api/clubs/subscription-plans | Créer un plan d\&#39;abonnement pour le club courant|
10
+ |[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} | Supprimer un plan d\&#39;abonnement (club courant)|
11
+ |[**restoreSubscriptionPlanForClub**](#restoresubscriptionplanforclub) | **POST** /api/clubs/subscription-plans/{productId}/restore | Réactiver un plan d\&#39;abonnement (club courant)|
12
+ |[**restoreSubscriptionPriceForClub**](#restoresubscriptionpriceforclub) | **POST** /api/clubs/subscription-plans/{priceId}/restore-price | Réactiver un prix (club courant)|
13
+ |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | Mettre à jour un plan d\&#39;abonnement (club courant)|
14
14
 
15
15
  # **archivePriceForSubscriptionPlan**
16
16
  > PriceResponse archivePriceForSubscriptionPlan()
@@ -27,11 +27,9 @@ import {
27
27
  const configuration = new Configuration();
28
28
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
29
29
 
30
- let id: string; //ID du club (default to undefined)
31
30
  let priceId: string; //ID du prix Stripe (default to undefined)
32
31
 
33
32
  const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
34
- id,
35
33
  priceId
36
34
  );
37
35
  ```
@@ -40,7 +38,6 @@ const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
40
38
 
41
39
  |Name | Type | Description | Notes|
42
40
  |------------- | ------------- | ------------- | -------------|
43
- | **id** | [**string**] | ID du club | defaults to undefined|
44
41
  | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
45
42
 
46
43
 
@@ -83,12 +80,10 @@ import {
83
80
  const configuration = new Configuration();
84
81
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
85
82
 
86
- let id: string; //ID du club (default to undefined)
87
83
  let productId: string; //ID du produit Stripe (default to undefined)
88
84
  let createPriceRequest: CreatePriceRequest; //
89
85
 
90
86
  const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
91
- id,
92
87
  productId,
93
88
  createPriceRequest
94
89
  );
@@ -99,7 +94,6 @@ const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
99
94
  |Name | Type | Description | Notes|
100
95
  |------------- | ------------- | ------------- | -------------|
101
96
  | **createPriceRequest** | **CreatePriceRequest**| | |
102
- | **id** | [**string**] | ID du club | defaults to undefined|
103
97
  | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
104
98
 
105
99
 
@@ -142,11 +136,9 @@ import {
142
136
  const configuration = new Configuration();
143
137
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
144
138
 
145
- let id: string; //ID du club (default to undefined)
146
139
  let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
147
140
 
148
141
  const { status, data } = await apiInstance.createSubscriptionPlanForClub(
149
- id,
150
142
  createSubscriptionPlanRequest
151
143
  );
152
144
  ```
@@ -156,7 +148,6 @@ const { status, data } = await apiInstance.createSubscriptionPlanForClub(
156
148
  |Name | Type | Description | Notes|
157
149
  |------------- | ------------- | ------------- | -------------|
158
150
  | **createSubscriptionPlanRequest** | **CreateSubscriptionPlanRequest**| | |
159
- | **id** | [**string**] | ID du club | defaults to undefined|
160
151
 
161
152
 
162
153
  ### Return type
@@ -197,11 +188,9 @@ import {
197
188
  const configuration = new Configuration();
198
189
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
199
190
 
200
- let id: string; //ID du club (default to undefined)
201
191
  let productId: string; //ID du produit Stripe (default to undefined)
202
192
 
203
193
  const { status, data } = await apiInstance.deleteSubscriptionPlanForClub(
204
- id,
205
194
  productId
206
195
  );
207
196
  ```
@@ -210,7 +199,6 @@ const { status, data } = await apiInstance.deleteSubscriptionPlanForClub(
210
199
 
211
200
  |Name | Type | Description | Notes|
212
201
  |------------- | ------------- | ------------- | -------------|
213
- | **id** | [**string**] | ID du club | defaults to undefined|
214
202
  | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
215
203
 
216
204
 
@@ -252,11 +240,9 @@ import {
252
240
  const configuration = new Configuration();
253
241
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
254
242
 
255
- let id: string; //ID du club (default to undefined)
256
243
  let productId: string; //ID du produit Stripe (default to undefined)
257
244
 
258
245
  const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
259
- id,
260
246
  productId
261
247
  );
262
248
  ```
@@ -265,7 +251,6 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
265
251
 
266
252
  |Name | Type | Description | Notes|
267
253
  |------------- | ------------- | ------------- | -------------|
268
- | **id** | [**string**] | ID du club | defaults to undefined|
269
254
  | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
270
255
 
271
256
 
@@ -307,11 +292,9 @@ import {
307
292
  const configuration = new Configuration();
308
293
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
309
294
 
310
- let id: string; //ID du club (default to undefined)
311
295
  let priceId: string; //ID du prix Stripe (default to undefined)
312
296
 
313
297
  const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
314
- id,
315
298
  priceId
316
299
  );
317
300
  ```
@@ -320,7 +303,6 @@ const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
320
303
 
321
304
  |Name | Type | Description | Notes|
322
305
  |------------- | ------------- | ------------- | -------------|
323
- | **id** | [**string**] | ID du club | defaults to undefined|
324
306
  | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
325
307
 
326
308
 
@@ -363,12 +345,10 @@ import {
363
345
  const configuration = new Configuration();
364
346
  const apiInstance = new ManagerClubSubscriptionsApi(configuration);
365
347
 
366
- let id: string; //ID du club (default to undefined)
367
348
  let priceId: string; //ID du prix Stripe (default to undefined)
368
349
  let updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest; //
369
350
 
370
351
  const { status, data } = await apiInstance.updateSubscriptionPlanForClub(
371
- id,
372
352
  priceId,
373
353
  updateSubscriptionPlanRequest
374
354
  );
@@ -379,7 +359,6 @@ const { status, data } = await apiInstance.updateSubscriptionPlanForClub(
379
359
  |Name | Type | Description | Notes|
380
360
  |------------- | ------------- | ------------- | -------------|
381
361
  | **updateSubscriptionPlanRequest** | **UpdateSubscriptionPlanRequest**| | |
382
- | **id** | [**string**] | ID du club | defaults to undefined|
383
362
  | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
384
363
 
385
364