@tennac-booking/sdk 1.0.11 → 1.0.13

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 (81) hide show
  1. package/.openapi-generator/FILES +71 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +111 -1
  4. package/api.ts +7434 -279
  5. package/common.ts +4 -4
  6. package/dist/api.d.ts +5034 -236
  7. package/dist/api.js +4004 -49
  8. package/dist/esm/api.d.ts +5034 -236
  9. package/dist/esm/api.js +3967 -48
  10. package/docs/ActiveClub.md +22 -0
  11. package/docs/ActiveClubListResponse.md +20 -0
  12. package/docs/AddClubMemberRequest.md +22 -0
  13. package/docs/AddClubMemberResponse.md +22 -0
  14. package/docs/BlockSlotResponse.md +22 -0
  15. package/docs/BookingResponse.md +28 -0
  16. package/docs/BookingsApi.md +120 -0
  17. package/docs/Club.md +46 -0
  18. package/docs/ClubCourtsApi.md +118 -0
  19. package/docs/ClubInfoResponse.md +46 -0
  20. package/docs/ClubListResponse.md +22 -0
  21. package/docs/ClubMember.md +34 -0
  22. package/docs/ClubMembersResponse.md +22 -0
  23. package/docs/ClubResponse.md +46 -0
  24. package/docs/ClubRole.md +30 -0
  25. package/docs/ClubRoleResponse.md +30 -0
  26. package/docs/ClubRolesApi.md +268 -0
  27. package/docs/ClubRolesResponse.md +22 -0
  28. package/docs/ClubSettings.md +28 -0
  29. package/docs/ClubSettingsApi.md +227 -0
  30. package/docs/ClubSlotsApi.md +353 -0
  31. package/docs/ClubSportsApi.md +118 -0
  32. package/docs/ClubSubscriptionsApi.md +408 -0
  33. package/docs/ClubsApi.md +478 -0
  34. package/docs/CourtResponse.md +44 -0
  35. package/docs/CourtsResponse.md +22 -0
  36. package/docs/CreateBookingRequest.md +28 -0
  37. package/docs/CreateClubRequest.md +38 -0
  38. package/docs/CreateClubRoleRequestBody.md +24 -0
  39. package/docs/CreateCourtRequest.md +34 -0
  40. package/docs/CreatePriceRequest.md +26 -0
  41. package/docs/CreateSportRequest.md +22 -0
  42. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  43. package/docs/DeleteClub200Response.md +20 -0
  44. package/docs/DeleteClubRole200Response.md +20 -0
  45. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  46. package/docs/GenerateSlotsForNextThreeWeeks201Response.md +20 -0
  47. package/docs/GetActiveClubs200Response.md +20 -0
  48. package/docs/GetAllSportsRequest.md +20 -0
  49. package/docs/GetClubSettingsRequest.md +20 -0
  50. package/docs/GetUserRolesResponse.md +20 -0
  51. package/docs/GetUserRolesResponseRolesInner.md +28 -0
  52. package/docs/GetUserSubscriptionsResponse.md +22 -0
  53. package/docs/GoogleSignInRequestBody.md +20 -0
  54. package/docs/GoogleSignInResponse.md +30 -0
  55. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  56. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  57. package/docs/PaymentMethod.md +11 -0
  58. package/docs/PlayerWithPaymentMethod.md +22 -0
  59. package/docs/PriceResponse.md +38 -0
  60. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  61. package/docs/SlotResponse.md +40 -0
  62. package/docs/SlotsResponse.md +22 -0
  63. package/docs/Sport.md +24 -0
  64. package/docs/SportResponse.md +34 -0
  65. package/docs/SportsApi.md +229 -0
  66. package/docs/SportsResponse.md +22 -0
  67. package/docs/SubscribeToClubRequestBody.md +22 -0
  68. package/docs/SubscriptionPlan.md +36 -0
  69. package/docs/SubscriptionPlanResponse.md +36 -0
  70. package/docs/SubscriptionResponse.md +36 -0
  71. package/docs/UpdateClubRequest.md +40 -0
  72. package/docs/UpdateClubRoleRequestBody.md +24 -0
  73. package/docs/UpdateCustomerRequestBody.md +26 -0
  74. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  75. package/docs/UpdateCustomerResponse.md +22 -0
  76. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  77. package/docs/UpdateSportRequest.md +20 -0
  78. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  79. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  80. package/docs/UsersApi.md +491 -21
  81. package/package.json +1 -33
@@ -0,0 +1,22 @@
1
+ # CreateSportRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+ **key** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CreateSportRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: CreateSportRequest = {
17
+ clubId,
18
+ key,
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,24 @@
1
+ # CreateSubscriptionPlanRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **description** | **string** | | [default to undefined]
10
+ **metadata** | **object** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateSubscriptionPlanRequest } from '@tennac-booking/sdk';
16
+
17
+ const instance: CreateSubscriptionPlanRequest = {
18
+ name,
19
+ description,
20
+ metadata,
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
+ # DeleteClub200Response
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 { DeleteClub200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteClub200Response = {
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,20 @@
1
+ # DeleteClubRole200Response
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 { DeleteClubRole200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteClubRole200Response = {
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,20 @@
1
+ # DeleteSlotsByClubInRange200Response
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 { DeleteSlotsByClubInRange200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteSlotsByClubInRange200Response = {
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,20 @@
1
+ # GenerateSlotsForNextThreeWeeks201Response
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 { GenerateSlotsForNextThreeWeeks201Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GenerateSlotsForNextThreeWeeks201Response = {
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,20 @@
1
+ # GetActiveClubs200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubs** | [**Array<ActiveClub>**](ActiveClub.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetActiveClubs200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetActiveClubs200Response = {
16
+ clubs,
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,20 @@
1
+ # GetAllSportsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetAllSportsRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetAllSportsRequest = {
16
+ clubId,
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,20 @@
1
+ # GetClubSettingsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetClubSettingsRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetClubSettingsRequest = {
16
+ clubId,
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,20 @@
1
+ # GetUserRolesResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **roles** | [**Array<GetUserRolesResponseRolesInner>**](GetUserRolesResponseRolesInner.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetUserRolesResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetUserRolesResponse = {
16
+ roles,
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,28 @@
1
+ # GetUserRolesResponseRolesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
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]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { GetUserRolesResponseRolesInner } from '@tennac-booking/sdk';
18
+
19
+ const instance: GetUserRolesResponseRolesInner = {
20
+ clubId,
21
+ clubName,
22
+ roleId,
23
+ roleName,
24
+ permissions,
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,22 @@
1
+ # GetUserSubscriptionsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptions** | [**Array<SubscriptionResponse>**](SubscriptionResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | Nombre total d\'abonnements | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { GetUserSubscriptionsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: GetUserSubscriptionsResponse = {
17
+ subscriptions,
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,20 @@
1
+ # GoogleSignInRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **credential** | **string** | Token JWT Google | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GoogleSignInRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: GoogleSignInRequestBody = {
16
+ credential,
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
+ # GoogleSignInResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
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]
12
+ **user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
13
+ **isNewUser** | **boolean** | Indique si c\'est un nouvel utilisateur | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { GoogleSignInResponse } from '@tennac-booking/sdk';
19
+
20
+ const instance: GoogleSignInResponse = {
21
+ token,
22
+ refreshToken,
23
+ sessionDuration,
24
+ sessionEnd,
25
+ user,
26
+ isNewUser,
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
+ # InitiateSubscriptionSessionRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | ID du club | [default to undefined]
9
+ **priceId** | **string** | ID du prix d\'abonnement | [default to undefined]
10
+ **successUrl** | **string** | URL de redirection en cas de succès | [optional] [default to undefined]
11
+ **cancelUrl** | **string** | URL de redirection en cas d\'annulation | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { InitiateSubscriptionSessionRequestBody } from '@tennac-booking/sdk';
17
+
18
+ const instance: InitiateSubscriptionSessionRequestBody = {
19
+ clubId,
20
+ priceId,
21
+ successUrl,
22
+ cancelUrl,
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,22 @@
1
+ # InitiateSubscriptionSessionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sessionId** | **string** | ID de la session Stripe | [optional] [default to undefined]
9
+ **url** | **string** | URL de la session de paiement | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InitiateSubscriptionSessionResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: InitiateSubscriptionSessionResponse = {
17
+ sessionId,
18
+ url,
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,11 @@
1
+ # PaymentMethod
2
+
3
+ Méthode de paiement
4
+
5
+ ## Enum
6
+
7
+ * `Online` (value: `'online'`)
8
+
9
+ * `Onsite` (value: `'onsite'`)
10
+
11
+ [[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
+ # PlayerWithPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du joueur | [default to undefined]
9
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PlayerWithPaymentMethod } from '@tennac-booking/sdk';
15
+
16
+ const instance: PlayerWithPaymentMethod = {
17
+ id,
18
+ paymentMethod,
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,38 @@
1
+ # PriceResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **stripePriceId** | **string** | | [optional] [default to undefined]
10
+ **amount** | **number** | | [optional] [default to undefined]
11
+ **currency** | **string** | | [optional] [default to undefined]
12
+ **interval** | **string** | | [optional] [default to undefined]
13
+ **intervalCount** | **number** | | [optional] [default to undefined]
14
+ **isActive** | **boolean** | | [optional] [default to undefined]
15
+ **productId** | **string** | | [optional] [default to undefined]
16
+ **createdAt** | **string** | | [optional] [default to undefined]
17
+ **updatedAt** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { PriceResponse } from '@tennac-booking/sdk';
23
+
24
+ const instance: PriceResponse = {
25
+ id,
26
+ stripePriceId,
27
+ amount,
28
+ currency,
29
+ interval,
30
+ intervalCount,
31
+ isActive,
32
+ productId,
33
+ createdAt,
34
+ updatedAt,
35
+ };
36
+ ```
37
+
38
+ [[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
+ # RestoreSubscriptionPlanForClub200Response
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 { RestoreSubscriptionPlanForClub200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: RestoreSubscriptionPlanForClub200Response = {
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,40 @@
1
+ # SlotResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **startDate** | **string** | | [optional] [default to undefined]
10
+ **endDate** | **string** | | [optional] [default to undefined]
11
+ **courtId** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **sportId** | **string** | | [optional] [default to undefined]
14
+ **isAvailable** | **boolean** | | [optional] [default to undefined]
15
+ **price** | **number** | | [optional] [default to undefined]
16
+ **court** | [**CourtResponse**](CourtResponse.md) | | [optional] [default to undefined]
17
+ **createdAt** | **string** | | [optional] [default to undefined]
18
+ **updatedAt** | **string** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { SlotResponse } from '@tennac-booking/sdk';
24
+
25
+ const instance: SlotResponse = {
26
+ id,
27
+ startDate,
28
+ endDate,
29
+ courtId,
30
+ clubId,
31
+ sportId,
32
+ isAvailable,
33
+ price,
34
+ court,
35
+ createdAt,
36
+ updatedAt,
37
+ };
38
+ ```
39
+
40
+ [[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
+ # SlotsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slots** | [**Array<SlotResponse>**](SlotResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SlotsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: SlotsResponse = {
17
+ slots,
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)
package/docs/Sport.md ADDED
@@ -0,0 +1,24 @@
1
+ # Sport
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **clubId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Sport } from '@tennac-booking/sdk';
16
+
17
+ const instance: Sport = {
18
+ _id,
19
+ key,
20
+ clubId,
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,34 @@
1
+ # SportResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
14
+ **createdAt** | **string** | | [optional] [default to undefined]
15
+ **updatedAt** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { SportResponse } from '@tennac-booking/sdk';
21
+
22
+ const instance: SportResponse = {
23
+ id,
24
+ key,
25
+ name,
26
+ description,
27
+ clubId,
28
+ isActive,
29
+ createdAt,
30
+ updatedAt,
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)