@tennac-booking/sdk 1.0.38 → 1.0.40

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 (80) hide show
  1. package/.openapi-generator/FILES +66 -206
  2. package/README.md +75 -258
  3. package/api.ts +2219 -13121
  4. package/base.ts +3 -3
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1496 -8954
  8. package/dist/api.js +1015 -7046
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +3 -3
  11. package/dist/common.d.ts +2 -2
  12. package/dist/common.js +2 -2
  13. package/dist/configuration.d.ts +2 -2
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +1496 -8954
  16. package/dist/esm/api.js +1011 -6932
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +3 -3
  19. package/dist/esm/common.d.ts +2 -2
  20. package/dist/esm/common.js +2 -2
  21. package/dist/esm/configuration.d.ts +2 -2
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +2 -2
  24. package/dist/esm/index.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +2 -2
  27. package/docs/AddPaymentMethodRequestBody.md +20 -0
  28. package/docs/BaseUser.md +76 -0
  29. package/docs/BookingDetailResponse.md +46 -0
  30. package/docs/BookingSummary.md +44 -0
  31. package/docs/BookingSummaryBookingHistory.md +18 -0
  32. package/docs/BookingSummaryClubAddress.md +18 -0
  33. package/docs/ChangePasswordResponse.md +1 -1
  34. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  35. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  36. package/docs/DiagnosticsApi.md +52 -0
  37. package/docs/DiagnosticsResponse.md +24 -0
  38. package/docs/FavoriteClubMutationResponse.md +22 -0
  39. package/docs/FavoriteClubRequestBody.md +20 -0
  40. package/docs/FavoriteClubsResponse.md +20 -0
  41. package/docs/FavoritePlayerMutationResponse.md +22 -0
  42. package/docs/FavoritePlayerRequestBody.md +20 -0
  43. package/docs/FavoritePlayersResponse.md +1 -1
  44. package/docs/FrequentClub.md +24 -0
  45. package/docs/FrequentPlayer.md +28 -0
  46. package/docs/Gender.md +12 -0
  47. package/docs/GoogleAuthRequestBody.md +20 -0
  48. package/docs/GoogleAuthResponse.md +30 -0
  49. package/docs/GoogleAuthResponseUser.md +26 -0
  50. package/docs/ILevelBySports.md +22 -0
  51. package/docs/LevelBySportEntry.md +22 -0
  52. package/docs/LoginResponse.md +2 -2
  53. package/docs/NotImplementedResponse.md +20 -0
  54. package/docs/PasswordResetRequestBody.md +20 -0
  55. package/docs/PaymentMethodSetupResponse.md +24 -0
  56. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
  57. package/docs/ProfilePictureResponse.md +1 -1
  58. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  59. package/docs/RefreshTokenResponse.md +6 -2
  60. package/docs/SdkDiagnosticsResponse.md +28 -0
  61. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  62. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  63. package/docs/SetupPaymentMethodRequestBody.md +1 -1
  64. package/docs/SetupPaymentMethodResponse.md +3 -3
  65. package/docs/StaffUserProfileResponse.md +22 -0
  66. package/docs/SubscribeToClubRequestBody.md +3 -3
  67. package/docs/SubscriptionMutationResponse.md +20 -0
  68. package/docs/SubscriptionSessionRequestBody.md +22 -0
  69. package/docs/SubscriptionSessionResponse.md +20 -0
  70. package/docs/UpdateCustomerRequestBody.md +3 -7
  71. package/docs/UpdateCustomerResponse.md +1 -3
  72. package/docs/UpdateLevelBySportsRequestBody.md +1 -1
  73. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +2 -2
  74. package/docs/UserLocationSummary.md +44 -0
  75. package/docs/UserProfileResponse.md +28 -0
  76. package/docs/UserRolesResponse.md +20 -0
  77. package/docs/UserSubscriptionsResponse.md +20 -0
  78. package/docs/UsersApi.md +1721 -76
  79. package/index.ts +2 -2
  80. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Pandook API
3
- * API for managing pickle ball games and players
2
+ * booking_api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/esm/base.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Pandook API
5
- * API for managing pickle ball games and players
4
+ * booking_api
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import globalAxios from 'axios';
15
- export const BASE_PATH = "https://api.mon-domaine.com".replace(/\/+$/, "");
15
+ export const BASE_PATH = "/api".replace(/\/+$/, "");
16
16
  /**
17
17
  *
18
18
  * @export
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Pandook API
3
- * API for managing pickle ball games and players
2
+ * booking_api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Pandook API
5
- * API for managing pickle ball games and players
4
+ * booking_api
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Pandook API
3
- * API for managing pickle ball games and players
2
+ * booking_api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Pandook API
5
- * API for managing pickle ball games and players
4
+ * booking_api
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Pandook API
3
- * API for managing pickle ball games and players
2
+ * booking_api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Pandook API
5
- * API for managing pickle ball games and players
4
+ * booking_api
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Pandook API
3
- * API for managing pickle ball games and players
2
+ * booking_api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Pandook API
6
- * API for managing pickle ball games and players
5
+ * booking_api
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.38
9
9
  *
@@ -0,0 +1,20 @@
1
+ # AddPaymentMethodRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethodId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddPaymentMethodRequestBody = {
16
+ paymentMethodId,
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,76 @@
1
+ # BaseUser
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **any** | The string version of this documents _id. | [optional] [default to undefined]
9
+ **_id** | **any** | This documents _id. | [default to undefined]
10
+ **username** | **string** | | [optional] [default to undefined]
11
+ **googleId** | **string** | | [optional] [default to undefined]
12
+ **firstName** | **string** | | [default to undefined]
13
+ **lastName** | **string** | | [default to undefined]
14
+ **email** | **string** | | [default to undefined]
15
+ **phone** | **string** | | [optional] [default to undefined]
16
+ **profilePicture** | **string** | | [optional] [default to undefined]
17
+ **description** | **string** | | [optional] [default to undefined]
18
+ **city** | **string** | | [optional] [default to undefined]
19
+ **isProfileVisible** | **boolean** | | [default to undefined]
20
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
21
+ **isAccountVerified** | **boolean** | | [default to undefined]
22
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
23
+ **isAdmin** | **boolean** | | [default to undefined]
24
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
25
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
26
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
27
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
28
+ **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
29
+ **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
30
+ **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
31
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
32
+ **createdAt** | **string** | | [default to undefined]
33
+ **updatedAt** | **string** | | [default to undefined]
34
+ **setupIntentId** | **string** | | [optional] [default to undefined]
35
+ **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
36
+ **location** | [**UserLocationSummary**](UserLocationSummary.md) | | [optional] [default to undefined]
37
+
38
+ ## Example
39
+
40
+ ```typescript
41
+ import { BaseUser } from '@tennac-booking/sdk';
42
+
43
+ const instance: BaseUser = {
44
+ id,
45
+ _id,
46
+ username,
47
+ googleId,
48
+ firstName,
49
+ lastName,
50
+ email,
51
+ phone,
52
+ profilePicture,
53
+ description,
54
+ city,
55
+ isProfileVisible,
56
+ gender,
57
+ isAccountVerified,
58
+ isCreditCardRegistered,
59
+ isAdmin,
60
+ isLevelCertified,
61
+ paymentMethodSetupCompleted,
62
+ paymentMethods,
63
+ defaultPaymentMethodId,
64
+ levelBySports,
65
+ favoriteClubs,
66
+ favoritePlayers,
67
+ stripeCustomerId,
68
+ createdAt,
69
+ updatedAt,
70
+ setupIntentId,
71
+ sports,
72
+ location,
73
+ };
74
+ ```
75
+
76
+ [[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
+ # BookingDetailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **clubPicture** | **string** | | [optional] [default to undefined]
10
+ **courtName** | **string** | | [optional] [default to undefined]
11
+ **sportName** | **string** | | [optional] [default to undefined]
12
+ **startDate** | **string** | | [optional] [default to undefined]
13
+ **myPaymentStatus** | **string** | | [optional] [default to undefined]
14
+ **bookingStatus** | **string** | | [optional] [default to undefined]
15
+ **playersName** | **Array<string>** | | [default to undefined]
16
+ **myAmountToPay** | **number** | | [default to undefined]
17
+ **totalAmount** | **number** | | [default to undefined]
18
+ **timeBeforeCancel** | **string** | | [optional] [default to undefined]
19
+ **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
20
+ **bookingHistory** | [**BookingSummaryBookingHistory**](BookingSummaryBookingHistory.md) | | [optional] [default to undefined]
21
+ **paymentStatus** | **Array<{ [key: string]: any; }>** | | [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { BookingDetailResponse } from '@tennac-booking/sdk';
27
+
28
+ const instance: BookingDetailResponse = {
29
+ id,
30
+ clubPicture,
31
+ courtName,
32
+ sportName,
33
+ startDate,
34
+ myPaymentStatus,
35
+ bookingStatus,
36
+ playersName,
37
+ myAmountToPay,
38
+ totalAmount,
39
+ timeBeforeCancel,
40
+ clubAddress,
41
+ bookingHistory,
42
+ paymentStatus,
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,44 @@
1
+ # BookingSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **clubPicture** | **string** | | [optional] [default to undefined]
10
+ **courtName** | **string** | | [optional] [default to undefined]
11
+ **sportName** | **string** | | [optional] [default to undefined]
12
+ **startDate** | **string** | | [optional] [default to undefined]
13
+ **myPaymentStatus** | **string** | | [optional] [default to undefined]
14
+ **bookingStatus** | **string** | | [optional] [default to undefined]
15
+ **playersName** | **Array<string>** | | [default to undefined]
16
+ **myAmountToPay** | **number** | | [default to undefined]
17
+ **totalAmount** | **number** | | [default to undefined]
18
+ **timeBeforeCancel** | **string** | | [optional] [default to undefined]
19
+ **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
20
+ **bookingHistory** | [**BookingSummaryBookingHistory**](BookingSummaryBookingHistory.md) | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { BookingSummary } from '@tennac-booking/sdk';
26
+
27
+ const instance: BookingSummary = {
28
+ id,
29
+ clubPicture,
30
+ courtName,
31
+ sportName,
32
+ startDate,
33
+ myPaymentStatus,
34
+ bookingStatus,
35
+ playersName,
36
+ myAmountToPay,
37
+ totalAmount,
38
+ timeBeforeCancel,
39
+ clubAddress,
40
+ bookingHistory,
41
+ };
42
+ ```
43
+
44
+ [[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,18 @@
1
+ # BookingSummaryBookingHistory
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+
9
+ ## Example
10
+
11
+ ```typescript
12
+ import { BookingSummaryBookingHistory } from '@tennac-booking/sdk';
13
+
14
+ const instance: BookingSummaryBookingHistory = {
15
+ };
16
+ ```
17
+
18
+ [[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,18 @@
1
+ # BookingSummaryClubAddress
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+
9
+ ## Example
10
+
11
+ ```typescript
12
+ import { BookingSummaryClubAddress } from '@tennac-booking/sdk';
13
+
14
+ const instance: BookingSummaryClubAddress = {
15
+ };
16
+ ```
17
+
18
+ [[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,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
8
+ **message** | **string** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,20 @@
1
+ # ConfirmPaymentMethodRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **setupIntentId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ConfirmPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: ConfirmPaymentMethodRequestBody = {
16
+ setupIntentId,
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,22 @@
1
+ # ConfirmPaymentMethodResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **paymentMethodId** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ConfirmPaymentMethodResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ConfirmPaymentMethodResponse = {
17
+ message,
18
+ paymentMethodId,
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,52 @@
1
+ # DiagnosticsApi
2
+
3
+ All URIs are relative to */api*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**ping**](#ping) | **GET** /tsoa-test/ping | |
8
+
9
+ # **ping**
10
+ > DiagnosticsResponse ping()
11
+
12
+ Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ DiagnosticsApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new DiagnosticsApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.ping();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **DiagnosticsResponse**
35
+
36
+ ### Authorization
37
+
38
+ No authorization required
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: application/json
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | Ok | - |
50
+
51
+ [[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)
52
+
@@ -0,0 +1,24 @@
1
+ # DiagnosticsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **timestamp** | **string** | | [default to undefined]
10
+ **note** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DiagnosticsResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: DiagnosticsResponse = {
18
+ status,
19
+ timestamp,
20
+ note,
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,22 @@
1
+ # FavoriteClubMutationResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **favoriteClubs** | **Array<string>** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FavoriteClubMutationResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: FavoriteClubMutationResponse = {
17
+ message,
18
+ favoriteClubs,
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
+ # FavoriteClubRequestBody
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 { FavoriteClubRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: FavoriteClubRequestBody = {
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
+ # FavoriteClubsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favoriteClubs** | **Array<{ [key: string]: any; }>** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { FavoriteClubsResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: FavoriteClubsResponse = {
16
+ favoriteClubs,
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,22 @@
1
+ # FavoritePlayerMutationResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **favoritePlayers** | **Array<string>** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FavoritePlayerMutationResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: FavoritePlayerMutationResponse = {
17
+ message,
18
+ favoritePlayers,
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
+ # FavoritePlayerRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favoritePlayerId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { FavoritePlayerRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: FavoritePlayerRequestBody = {
16
+ favoritePlayerId,
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,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **favoriteUsers** | [**Array<FavoritePlayerPublic>**](FavoritePlayerPublic.md) | | [optional] [default to undefined]
8
+ **favoriteUsers** | [**Array<BaseUser>**](BaseUser.md) | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,24 @@
1
+ # FrequentClub
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **visitCount** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { FrequentClub } from '@tennac-booking/sdk';
16
+
17
+ const instance: FrequentClub = {
18
+ clubId,
19
+ name,
20
+ visitCount,
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,28 @@
1
+ # FrequentPlayer
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **profilePicture** | **string** | | [optional] [default to undefined]
12
+ **playCount** | **number** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FrequentPlayer } from '@tennac-booking/sdk';
18
+
19
+ const instance: FrequentPlayer = {
20
+ userId,
21
+ firstName,
22
+ lastName,
23
+ profilePicture,
24
+ playCount,
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)
package/docs/Gender.md ADDED
@@ -0,0 +1,12 @@
1
+ # Gender
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Male` (value: `'male'`)
7
+
8
+ * `Female` (value: `'female'`)
9
+
10
+ * `Other` (value: `'other'`)
11
+
12
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)