@tennac-booking/sdk 1.0.11 → 1.0.12

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 (66) hide show
  1. package/.openapi-generator/FILES +56 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +86 -0
  4. package/api.ts +6087 -308
  5. package/common.ts +4 -4
  6. package/dist/api.d.ts +4105 -243
  7. package/dist/api.js +3265 -9
  8. package/dist/esm/api.d.ts +4105 -243
  9. package/dist/esm/api.js +3228 -8
  10. package/docs/AddClubMemberRequest.md +22 -0
  11. package/docs/AddClubMemberResponse.md +22 -0
  12. package/docs/BlockSlotResponse.md +22 -0
  13. package/docs/BookingResponse.md +28 -0
  14. package/docs/BookingsApi.md +120 -0
  15. package/docs/Club.md +46 -0
  16. package/docs/ClubCourtsApi.md +118 -0
  17. package/docs/ClubInfoResponse.md +46 -0
  18. package/docs/ClubListResponse.md +22 -0
  19. package/docs/ClubMember.md +34 -0
  20. package/docs/ClubMembersResponse.md +22 -0
  21. package/docs/ClubResponse.md +46 -0
  22. package/docs/ClubRole.md +30 -0
  23. package/docs/ClubRoleResponse.md +30 -0
  24. package/docs/ClubRolesApi.md +268 -0
  25. package/docs/ClubRolesResponse.md +22 -0
  26. package/docs/ClubSettings.md +28 -0
  27. package/docs/ClubSettingsApi.md +227 -0
  28. package/docs/ClubSlotsApi.md +300 -0
  29. package/docs/ClubSportsApi.md +118 -0
  30. package/docs/ClubSubscriptionsApi.md +408 -0
  31. package/docs/ClubsApi.md +432 -0
  32. package/docs/CourtResponse.md +44 -0
  33. package/docs/CourtsResponse.md +22 -0
  34. package/docs/CreateBookingRequest.md +28 -0
  35. package/docs/CreateClubRequest.md +38 -0
  36. package/docs/CreateClubRoleRequestBody.md +24 -0
  37. package/docs/CreateCourtRequest.md +34 -0
  38. package/docs/CreatePriceRequest.md +26 -0
  39. package/docs/CreateSportRequest.md +22 -0
  40. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  41. package/docs/DeleteClub200Response.md +20 -0
  42. package/docs/DeleteClubRole200Response.md +20 -0
  43. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  44. package/docs/GenerateSlotsForNextThreeWeeks201Response.md +20 -0
  45. package/docs/GetAllSportsRequest.md +20 -0
  46. package/docs/GetClubSettingsRequest.md +20 -0
  47. package/docs/GetUserRolesInClubs200Response.md +20 -0
  48. package/docs/PaymentMethod.md +11 -0
  49. package/docs/PlayerWithPaymentMethod.md +22 -0
  50. package/docs/PriceResponse.md +38 -0
  51. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  52. package/docs/SlotResponse.md +40 -0
  53. package/docs/SlotsResponse.md +22 -0
  54. package/docs/Sport.md +24 -0
  55. package/docs/SportResponse.md +34 -0
  56. package/docs/SportsApi.md +229 -0
  57. package/docs/SportsResponse.md +22 -0
  58. package/docs/SubscriptionPlan.md +36 -0
  59. package/docs/SubscriptionPlanResponse.md +36 -0
  60. package/docs/UpdateClubRequest.md +40 -0
  61. package/docs/UpdateClubRoleRequestBody.md +24 -0
  62. package/docs/UpdateSportRequest.md +20 -0
  63. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  64. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  65. package/docs/UsersApi.md +65 -18
  66. package/package.json +1 -33
@@ -0,0 +1,22 @@
1
+ # AddClubMemberRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [default to undefined]
9
+ **roleId** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AddClubMemberRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: AddClubMemberRequest = {
17
+ userId,
18
+ roleId,
19
+ };
20
+ ```
21
+
22
+ [[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,22 @@
1
+ # AddClubMemberResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **member** | [**ClubMember**](ClubMember.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AddClubMemberResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: AddClubMemberResponse = {
17
+ message,
18
+ member,
19
+ };
20
+ ```
21
+
22
+ [[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,22 @@
1
+ # BlockSlotResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
+ **slot** | [**Slot**](Slot.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BlockSlotResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: BlockSlotResponse = {
17
+ message,
18
+ slot,
19
+ };
20
+ ```
21
+
22
+ [[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,28 @@
1
+ # BookingResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **booking** | [**Booking**](Booking.md) | | [optional] [default to undefined]
9
+ **invoiceUrl** | **string** | URL de la facture (pour paiement en ligne) | [optional] [default to undefined]
10
+ **paymentLinks** | **object** | Liens de paiement par joueur (pour paiement divisé) | [optional] [default to undefined]
11
+ **onsitePayments** | **Array<object>** | Paiements sur place requis | [optional] [default to undefined]
12
+ **message** | **string** | Message de confirmation | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BookingResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: BookingResponse = {
20
+ booking,
21
+ invoiceUrl,
22
+ paymentLinks,
23
+ onsitePayments,
24
+ message,
25
+ };
26
+ ```
27
+
28
+ [[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,120 @@
1
+ # BookingsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**bookingsPost**](#bookingspost) | **POST** /bookings | Créer une réservation|
8
+ |[**bookingsPreBookSlotIdPatch**](#bookingsprebookslotidpatch) | **PATCH** /bookings/pre-book/{slotId} | Bloquer un créneau|
9
+
10
+ # **bookingsPost**
11
+ > BookingResponse bookingsPost(createBookingRequest)
12
+
13
+ Crée une nouvelle réservation avec gestion des paiements (créateur paie tout ou paiement divisé)
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ BookingsApi,
20
+ Configuration,
21
+ CreateBookingRequest
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new BookingsApi(configuration);
26
+
27
+ let createBookingRequest: CreateBookingRequest; //
28
+
29
+ const { status, data } = await apiInstance.bookingsPost(
30
+ createBookingRequest
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **createBookingRequest** | **CreateBookingRequest**| | |
39
+
40
+
41
+ ### Return type
42
+
43
+ **BookingResponse**
44
+
45
+ ### Authorization
46
+
47
+ [bearerAuth](../README.md#bearerAuth)
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: application/json
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**201** | Réservation créée avec succès | - |
59
+ |**400** | Requête invalide | - |
60
+ |**401** | Non autorisé | - |
61
+ |**404** | Ressource non trouvée | - |
62
+ |**500** | Erreur serveur interne | - |
63
+
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)
65
+
66
+ # **bookingsPreBookSlotIdPatch**
67
+ > BlockSlotResponse bookingsPreBookSlotIdPatch()
68
+
69
+ Bloque temporairement un créneau pour éviter les réservations simultanées pendant le processus de réservation
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ BookingsApi,
76
+ Configuration
77
+ } from '@tennac-booking/sdk';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new BookingsApi(configuration);
81
+
82
+ let slotId: string; //ID MongoDB du créneau à bloquer (default to undefined)
83
+
84
+ const { status, data } = await apiInstance.bookingsPreBookSlotIdPatch(
85
+ slotId
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **slotId** | [**string**] | ID MongoDB du créneau à bloquer | defaults to undefined|
94
+
95
+
96
+ ### Return type
97
+
98
+ **BlockSlotResponse**
99
+
100
+ ### Authorization
101
+
102
+ [bearerAuth](../README.md#bearerAuth)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/json
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | Créneau bloqué avec succès | - |
114
+ |**400** | Requête invalide (ID invalide ou slot déjà bloqué) | - |
115
+ |**401** | Non autorisé | - |
116
+ |**404** | Slot non trouvé | - |
117
+ |**500** | Erreur serveur interne | - |
118
+
119
+ [[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)
120
+
package/docs/Club.md ADDED
@@ -0,0 +1,46 @@
1
+ # Club
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **address** | **string** | | [default to undefined]
11
+ **city** | **string** | | [default to undefined]
12
+ **zipCode** | **string** | | [default to undefined]
13
+ **country** | **string** | | [default to undefined]
14
+ **phone** | **string** | | [optional] [default to undefined]
15
+ **email** | **string** | | [optional] [default to undefined]
16
+ **website** | **string** | | [optional] [default to undefined]
17
+ **description** | **string** | | [optional] [default to undefined]
18
+ **logo** | **string** | | [optional] [default to undefined]
19
+ **isActive** | **boolean** | | [optional] [default to true]
20
+ **createdAt** | **string** | | [optional] [default to undefined]
21
+ **updatedAt** | **string** | | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { Club } from '@tennac-booking/sdk';
27
+
28
+ const instance: Club = {
29
+ id,
30
+ name,
31
+ address,
32
+ city,
33
+ zipCode,
34
+ country,
35
+ phone,
36
+ email,
37
+ website,
38
+ description,
39
+ logo,
40
+ isActive,
41
+ createdAt,
42
+ updatedAt,
43
+ };
44
+ ```
45
+
46
+ [[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,118 @@
1
+ # ClubCourtsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
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|
9
+
10
+ # **createCourtForClub**
11
+ > CourtResponse createCourtForClub(createCourtRequest)
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ ClubCourtsApi,
19
+ Configuration,
20
+ CreateCourtRequest
21
+ } from '@tennac-booking/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new ClubCourtsApi(configuration);
25
+
26
+ let id: string; //ID du club (default to undefined)
27
+ let createCourtRequest: CreateCourtRequest; //
28
+
29
+ const { status, data } = await apiInstance.createCourtForClub(
30
+ id,
31
+ createCourtRequest
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **createCourtRequest** | **CreateCourtRequest**| | |
40
+ | **id** | [**string**] | ID du club | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **CourtResponse**
46
+
47
+ ### Authorization
48
+
49
+ [bearerAuth](../README.md#bearerAuth)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: application/json
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**201** | Terrain créé avec succès | - |
61
+ |**400** | Requête invalide | - |
62
+ |**404** | Ressource non trouvée | - |
63
+ |**500** | Erreur serveur interne | - |
64
+
65
+ [[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)
66
+
67
+ # **getCourtsByClub**
68
+ > CourtsResponse getCourtsByClub()
69
+
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ ClubCourtsApi,
76
+ Configuration
77
+ } from '@tennac-booking/sdk';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new ClubCourtsApi(configuration);
81
+
82
+ let id: string; //ID du club (default to undefined)
83
+
84
+ const { status, data } = await apiInstance.getCourtsByClub(
85
+ id
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **id** | [**string**] | ID du club | defaults to undefined|
94
+
95
+
96
+ ### Return type
97
+
98
+ **CourtsResponse**
99
+
100
+ ### Authorization
101
+
102
+ [bearerAuth](../README.md#bearerAuth)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/json
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | Liste des terrains du club | - |
114
+ |**400** | Requête invalide | - |
115
+ |**500** | Erreur serveur interne | - |
116
+
117
+ [[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)
118
+
@@ -0,0 +1,46 @@
1
+ # ClubInfoResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **address** | **string** | | [default to undefined]
11
+ **city** | **string** | | [default to undefined]
12
+ **zipCode** | **string** | | [default to undefined]
13
+ **country** | **string** | | [default to undefined]
14
+ **phone** | **string** | | [optional] [default to undefined]
15
+ **email** | **string** | | [optional] [default to undefined]
16
+ **website** | **string** | | [optional] [default to undefined]
17
+ **description** | **string** | | [optional] [default to undefined]
18
+ **logo** | **string** | | [optional] [default to undefined]
19
+ **isActive** | **boolean** | | [optional] [default to true]
20
+ **createdAt** | **string** | | [optional] [default to undefined]
21
+ **updatedAt** | **string** | | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { ClubInfoResponse } from '@tennac-booking/sdk';
27
+
28
+ const instance: ClubInfoResponse = {
29
+ id,
30
+ name,
31
+ address,
32
+ city,
33
+ zipCode,
34
+ country,
35
+ phone,
36
+ email,
37
+ website,
38
+ description,
39
+ logo,
40
+ isActive,
41
+ createdAt,
42
+ updatedAt,
43
+ };
44
+ ```
45
+
46
+ [[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,22 @@
1
+ # ClubListResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubs** | [**Array<Club>**](Club.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ClubListResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ClubListResponse = {
17
+ clubs,
18
+ total,
19
+ };
20
+ ```
21
+
22
+ [[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,34 @@
1
+ # ClubMember
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **userId** | **string** | | [optional] [default to undefined]
10
+ **clubId** | **string** | | [optional] [default to undefined]
11
+ **roleId** | **string** | | [optional] [default to undefined]
12
+ **joinedAt** | **string** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
14
+ **user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
15
+ **role** | [**ClubRoleResponse**](ClubRoleResponse.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { ClubMember } from '@tennac-booking/sdk';
21
+
22
+ const instance: ClubMember = {
23
+ id,
24
+ userId,
25
+ clubId,
26
+ roleId,
27
+ joinedAt,
28
+ isActive,
29
+ user,
30
+ role,
31
+ };
32
+ ```
33
+
34
+ [[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,22 @@
1
+ # ClubMembersResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **members** | [**Array<ClubMember>**](ClubMember.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ClubMembersResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ClubMembersResponse = {
17
+ members,
18
+ total,
19
+ };
20
+ ```
21
+
22
+ [[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,46 @@
1
+ # ClubResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **address** | **string** | | [default to undefined]
11
+ **city** | **string** | | [default to undefined]
12
+ **zipCode** | **string** | | [default to undefined]
13
+ **country** | **string** | | [default to undefined]
14
+ **phone** | **string** | | [optional] [default to undefined]
15
+ **email** | **string** | | [optional] [default to undefined]
16
+ **website** | **string** | | [optional] [default to undefined]
17
+ **description** | **string** | | [optional] [default to undefined]
18
+ **logo** | **string** | | [optional] [default to undefined]
19
+ **isActive** | **boolean** | | [optional] [default to true]
20
+ **createdAt** | **string** | | [optional] [default to undefined]
21
+ **updatedAt** | **string** | | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { ClubResponse } from '@tennac-booking/sdk';
27
+
28
+ const instance: ClubResponse = {
29
+ id,
30
+ name,
31
+ address,
32
+ city,
33
+ zipCode,
34
+ country,
35
+ phone,
36
+ email,
37
+ website,
38
+ description,
39
+ logo,
40
+ isActive,
41
+ createdAt,
42
+ updatedAt,
43
+ };
44
+ ```
45
+
46
+ [[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
+ # ClubRole
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Identifiant unique du rôle dans le club | [default to undefined]
9
+ **name** | **string** | Nom du rôle (ex: joueur, coach, admin) | [default to undefined]
10
+ **description** | **string** | Description textuelle du rôle | [default to undefined]
11
+ **permissions** | **Array<string>** | Liste des permissions associées à ce rôle | [optional] [default to undefined]
12
+ **createdAt** | **string** | Date de création du rôle | [default to undefined]
13
+ **updatedAt** | **string** | Date de dernière mise à jour du rôle | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ClubRole } from '@tennac-booking/sdk';
19
+
20
+ const instance: ClubRole = {
21
+ id,
22
+ name,
23
+ description,
24
+ permissions,
25
+ createdAt,
26
+ updatedAt,
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,30 @@
1
+ # ClubRoleResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Identifiant unique du rôle dans le club | [default to undefined]
9
+ **name** | **string** | Nom du rôle (ex: joueur, coach, admin) | [default to undefined]
10
+ **description** | **string** | Description textuelle du rôle | [default to undefined]
11
+ **permissions** | **Array<string>** | Liste des permissions associées à ce rôle | [optional] [default to undefined]
12
+ **createdAt** | **string** | Date de création du rôle | [default to undefined]
13
+ **updatedAt** | **string** | Date de dernière mise à jour du rôle | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ClubRoleResponse } from '@tennac-booking/sdk';
19
+
20
+ const instance: ClubRoleResponse = {
21
+ id,
22
+ name,
23
+ description,
24
+ permissions,
25
+ createdAt,
26
+ updatedAt,
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)