@tennac-booking/sdk 1.0.60 → 1.0.62

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 (83) hide show
  1. package/.openapi-generator/FILES +220 -182
  2. package/README.md +57 -18
  3. package/api.ts +7712 -5584
  4. package/base.ts +2 -2
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +3797 -1986
  8. package/dist/api.js +1071 -483
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +2 -2
  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 +3797 -1986
  16. package/dist/esm/api.js +1052 -481
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +2 -2
  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/ClubResponse.md +0 -1
  28. package/docs/ClubSubscriptions.md +26 -0
  29. package/docs/ClubsManagerApi.md +6 -61
  30. package/docs/ClubsStaffApi.md +2 -2
  31. package/docs/{SubscriptionSessionRequestBody.md → CreatePlan201Response.md} +5 -5
  32. package/docs/CreateSubscriptionPlanRequest.md +10 -4
  33. package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
  34. package/docs/DefaultApi.md +0 -54
  35. package/docs/{NotImplementedResponse.md → DeleteSubscriptionPlanResponse.md} +3 -3
  36. package/docs/DiscountType.md +14 -0
  37. package/docs/OffPeakRule.md +26 -0
  38. package/docs/PlanInterval.md +14 -0
  39. package/docs/PlayerSummary.md +2 -0
  40. package/docs/PublicSubscriptionPlanResponse.md +30 -0
  41. package/docs/{DeleteSlotsByClubInRange200Response.md → RequestPasswordReset200Response.md} +3 -3
  42. package/docs/ResetPasswordRequest.md +22 -0
  43. package/docs/StripeStripeDeletedProduct.md +25 -0
  44. package/docs/StripeStripePrice.md +63 -0
  45. package/docs/StripeStripePriceBillingScheme.md +10 -0
  46. package/docs/StripeStripePriceCurrencyOptions.md +28 -0
  47. package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
  48. package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
  49. package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
  50. package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
  51. package/docs/StripeStripePriceProduct.md +59 -0
  52. package/docs/StripeStripePriceRecurring.md +28 -0
  53. package/docs/StripeStripePriceRecurringInterval.md +14 -0
  54. package/docs/StripeStripePriceRecurringUsageType.md +10 -0
  55. package/docs/StripeStripePriceTaxBehavior.md +12 -0
  56. package/docs/StripeStripePriceTier.md +28 -0
  57. package/docs/StripeStripePriceTiersMode.md +10 -0
  58. package/docs/StripeStripePriceTransformQuantity.md +22 -0
  59. package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
  60. package/docs/StripeStripePriceType.md +10 -0
  61. package/docs/StripeStripeProduct.md +59 -0
  62. package/docs/StripeStripeProductDefaultPrice.md +63 -0
  63. package/docs/StripeStripeProductMarketingFeature.md +20 -0
  64. package/docs/StripeStripeProductPackageDimensions.md +26 -0
  65. package/docs/StripeStripeProductTaxCode.md +27 -0
  66. package/docs/StripeStripeProductType.md +10 -0
  67. package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
  68. package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
  69. package/docs/StripeStripeTaxCode.md +27 -0
  70. package/docs/{SubscribeToClubRequestBody.md → SubscribeRequestBody.md} +3 -3
  71. package/docs/SubscriptionPlanResponse.md +14 -2
  72. package/docs/SubscriptionsManagerApi.md +171 -0
  73. package/docs/SubscriptionsPublicApi.md +60 -0
  74. package/docs/SubscriptionsStaffApi.md +54 -0
  75. package/docs/SubscriptionsUserApi.md +222 -0
  76. package/docs/{GetCourtsByClub200Response.md → UpdatePlanRequest.md} +7 -5
  77. package/docs/UserClubSubscription.md +42 -0
  78. package/docs/UserSubscriptionsResponse.md +1 -1
  79. package/docs/UsersApi.md +104 -212
  80. package/docs/{DeleteClubResponse.md → VerifyEmailRequest.md} +5 -5
  81. package/index.ts +2 -2
  82. package/package.json +1 -1
  83. package/docs/SubscriptionSessionResponse.md +0 -20
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * openapi.json
3
- * API for managing pickle ball games and players
3
+ * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.60
5
+ * The version of the OpenAPI document: 1.0.61
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * openapi.json
5
- * API for managing pickle ball games and players
5
+ * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.60
7
+ * The version of the OpenAPI document: 1.0.61
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * openapi.json
3
- * API for managing pickle ball games and players
3
+ * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.60
5
+ * The version of the OpenAPI document: 1.0.61
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * openapi.json
5
- * API for managing pickle ball games and players
5
+ * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.60
7
+ * The version of the OpenAPI document: 1.0.61
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * openapi.json
3
- * API for managing pickle ball games and players
3
+ * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.60
5
+ * The version of the OpenAPI document: 1.0.61
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * openapi.json
5
- * API for managing pickle ball games and players
5
+ * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.60
7
+ * The version of the OpenAPI document: 1.0.61
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * openapi.json
3
- * API for managing pickle ball games and players
3
+ * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.60
5
+ * The version of the OpenAPI document: 1.0.61
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * openapi.json
5
- * API for managing pickle ball games and players
5
+ * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.60
7
+ * The version of the OpenAPI document: 1.0.61
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * openapi.json
3
- * API for managing pickle ball games and players
3
+ * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.60
5
+ * The version of the OpenAPI document: 1.0.61
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -3,9 +3,9 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * openapi.json
6
- * API for managing pickle ball games and players
6
+ * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.60
8
+ * The version of the OpenAPI document: 1.0.61
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,6 +1,5 @@
1
1
  # ClubResponse
2
2
 
3
- Types TSOA pour les clubs - alignés sur la documentation Swagger existante
4
3
 
5
4
  ## Properties
6
5
 
@@ -0,0 +1,26 @@
1
+ # ClubSubscriptions
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptions** | [**Array<UserClubSubscription>**](UserClubSubscription.md) | | [default to undefined]
9
+ **picture** | **string** | | [default to undefined]
10
+ **clubName** | **string** | | [default to undefined]
11
+ **clubId** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ClubSubscriptions } from '@tennac-booking/sdk';
17
+
18
+ const instance: ClubSubscriptions = {
19
+ subscriptions,
20
+ picture,
21
+ clubName,
22
+ clubId,
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)
@@ -10,7 +10,6 @@ All URIs are relative to *http://localhost*
10
10
  |[**createCourtForClub**](#createcourtforclub) | **POST** /api/clubs/courts | |
11
11
  |[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | |
12
12
  |[**createSportForClub**](#createsportforclub) | **POST** /api/clubs/sports | |
13
- |[**createSubscriptionPlanForClub**](#createsubscriptionplanforclub) | **POST** /api/clubs/subscription-plans | |
14
13
  |[**deleteActuality**](#deleteactuality) | **DELETE** /api/clubs/actualities/{actualityId} | |
15
14
  |[**deleteCourt**](#deletecourt) | **DELETE** /api/clubs/courts/{courtId} | |
16
15
  |[**deleteSlotsByClubInRange**](#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots | |
@@ -338,62 +337,8 @@ const { status, data } = await apiInstance.createSportForClub(
338
337
 
339
338
  [[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)
340
339
 
341
- # **createSubscriptionPlanForClub**
342
- > SubscriptionPlanResponse createSubscriptionPlanForClub(createSubscriptionPlanRequest)
343
-
344
- Crée un plan d\'abonnement Stripe pour un club
345
-
346
- ### Example
347
-
348
- ```typescript
349
- import {
350
- ClubsManagerApi,
351
- Configuration,
352
- CreateSubscriptionPlanRequest
353
- } from '@tennac-booking/sdk';
354
-
355
- const configuration = new Configuration();
356
- const apiInstance = new ClubsManagerApi(configuration);
357
-
358
- let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
359
-
360
- const { status, data } = await apiInstance.createSubscriptionPlanForClub(
361
- createSubscriptionPlanRequest
362
- );
363
- ```
364
-
365
- ### Parameters
366
-
367
- |Name | Type | Description | Notes|
368
- |------------- | ------------- | ------------- | -------------|
369
- | **createSubscriptionPlanRequest** | **CreateSubscriptionPlanRequest**| | |
370
-
371
-
372
- ### Return type
373
-
374
- **SubscriptionPlanResponse**
375
-
376
- ### Authorization
377
-
378
- [bearerAuth](../README.md#bearerAuth)
379
-
380
- ### HTTP request headers
381
-
382
- - **Content-Type**: application/json
383
- - **Accept**: application/json
384
-
385
-
386
- ### HTTP response details
387
- | Status code | Description | Response headers |
388
- |-------------|-------------|------------------|
389
- |**201** | Plan d\'abonnement créé | - |
390
- |**400** | Bad Request | - |
391
- |**500** | Server Error | - |
392
-
393
- [[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)
394
-
395
340
  # **deleteActuality**
396
- > DeleteSlotsByClubInRange200Response deleteActuality()
341
+ > RequestPasswordReset200Response deleteActuality()
397
342
 
398
343
 
399
344
  ### Example
@@ -423,7 +368,7 @@ const { status, data } = await apiInstance.deleteActuality(
423
368
 
424
369
  ### Return type
425
370
 
426
- **DeleteSlotsByClubInRange200Response**
371
+ **RequestPasswordReset200Response**
427
372
 
428
373
  ### Authorization
429
374
 
@@ -497,7 +442,7 @@ const { status, data } = await apiInstance.deleteCourt(
497
442
  [[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)
498
443
 
499
444
  # **deleteSlotsByClubInRange**
500
- > DeleteSlotsByClubInRange200Response deleteSlotsByClubInRange()
445
+ > RequestPasswordReset200Response deleteSlotsByClubInRange()
501
446
 
502
447
 
503
448
  ### Example
@@ -520,7 +465,7 @@ This endpoint does not have any parameters.
520
465
 
521
466
  ### Return type
522
467
 
523
- **DeleteSlotsByClubInRange200Response**
468
+ **RequestPasswordReset200Response**
524
469
 
525
470
  ### Authorization
526
471
 
@@ -640,7 +585,7 @@ const { status, data } = await apiInstance.publishActuality(
640
585
  [[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)
641
586
 
642
587
  # **restoreSubscriptionPlanForClub**
643
- > DeleteSlotsByClubInRange200Response restoreSubscriptionPlanForClub()
588
+ > RequestPasswordReset200Response restoreSubscriptionPlanForClub()
644
589
 
645
590
 
646
591
  ### Example
@@ -670,7 +615,7 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
670
615
 
671
616
  ### Return type
672
617
 
673
- **DeleteSlotsByClubInRange200Response**
618
+ **RequestPasswordReset200Response**
674
619
 
675
620
  ### Authorization
676
621
 
@@ -189,7 +189,7 @@ This endpoint does not have any parameters.
189
189
  [[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)
190
190
 
191
191
  # **getCourtsByClub**
192
- > GetCourtsByClub200Response getCourtsByClub()
192
+ > Array<CourtResponse> getCourtsByClub()
193
193
 
194
194
  Récupère les terrains d\'un club
195
195
 
@@ -213,7 +213,7 @@ This endpoint does not have any parameters.
213
213
 
214
214
  ### Return type
215
215
 
216
- **GetCourtsByClub200Response**
216
+ **Array<CourtResponse>**
217
217
 
218
218
  ### Authorization
219
219
 
@@ -1,4 +1,4 @@
1
- # SubscriptionSessionRequestBody
1
+ # CreatePlan201Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -6,16 +6,16 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **priceId** | **string** | | [default to undefined]
9
- **clubId** | **string** | | [default to undefined]
9
+ **productId** | **string** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { SubscriptionSessionRequestBody } from '@tennac-booking/sdk';
14
+ import { CreatePlan201Response } from '@tennac-booking/sdk';
15
15
 
16
- const instance: SubscriptionSessionRequestBody = {
16
+ const instance: CreatePlan201Response = {
17
17
  priceId,
18
- clubId,
18
+ productId,
19
19
  };
20
20
  ```
21
21
 
@@ -5,10 +5,13 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du plan d\&#39;abonnement | [default to undefined]
9
- **amountInCents** | **number** | Montant en centimes | [default to undefined]
10
- **currency** | **string** | Devise | [default to undefined]
11
- **interval** | **string** | Intervalle de facturation (month, year, etc.) | [default to undefined]
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **amountInCents** | **number** | | [default to undefined]
12
+ **currency** | **string** | | [default to undefined]
13
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
14
+ **discount** | [**CreateSubscriptionPlanRequestDiscount**](CreateSubscriptionPlanRequestDiscount.md) | | [optional] [default to undefined]
12
15
 
13
16
  ## Example
14
17
 
@@ -16,10 +19,13 @@ Name | Type | Description | Notes
16
19
  import { CreateSubscriptionPlanRequest } from '@tennac-booking/sdk';
17
20
 
18
21
  const instance: CreateSubscriptionPlanRequest = {
22
+ clubId,
19
23
  name,
24
+ description,
20
25
  amountInCents,
21
26
  currency,
22
27
  interval,
28
+ discount,
23
29
  };
24
30
  ```
25
31
 
@@ -0,0 +1,32 @@
1
+ # CreateSubscriptionPlanRequestDiscount
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **bookingFree** | **boolean** | | [optional] [default to undefined]
9
+ **offPeakRules** | [**Array&lt;OffPeakRule&gt;**](OffPeakRule.md) | | [optional] [default to undefined]
10
+ **validTo** | **string** | | [optional] [default to undefined]
11
+ **validFrom** | **string** | | [optional] [default to undefined]
12
+ **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
13
+ **percentage** | **number** | | [optional] [default to undefined]
14
+ **type** | [**DiscountType**](DiscountType.md) | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk';
20
+
21
+ const instance: CreateSubscriptionPlanRequestDiscount = {
22
+ bookingFree,
23
+ offPeakRules,
24
+ validTo,
25
+ validFrom,
26
+ maxDiscountAmountInCents,
27
+ percentage,
28
+ type,
29
+ };
30
+ ```
31
+
32
+ [[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,6 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**createClub**](#createclub) | **POST** /api/clubs | |
8
- |[**deleteClub**](#deleteclub) | **DELETE** /api/clubs/{id} | |
9
8
 
10
9
  # **createClub**
11
10
  > ClubResponse createClub(createClubRequest)
@@ -61,56 +60,3 @@ No authorization required
61
60
 
62
61
  [[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)
63
62
 
64
- # **deleteClub**
65
- > DeleteClubResponse deleteClub()
66
-
67
- Supprime un club et toutes ses données associées
68
-
69
- ### Example
70
-
71
- ```typescript
72
- import {
73
- DefaultApi,
74
- Configuration
75
- } from '@tennac-booking/sdk';
76
-
77
- const configuration = new Configuration();
78
- const apiInstance = new DefaultApi(configuration);
79
-
80
- let id: string; // (default to undefined)
81
-
82
- const { status, data } = await apiInstance.deleteClub(
83
- id
84
- );
85
- ```
86
-
87
- ### Parameters
88
-
89
- |Name | Type | Description | Notes|
90
- |------------- | ------------- | ------------- | -------------|
91
- | **id** | [**string**] | | defaults to undefined|
92
-
93
-
94
- ### Return type
95
-
96
- **DeleteClubResponse**
97
-
98
- ### Authorization
99
-
100
- [bearerAuth](../README.md#bearerAuth)
101
-
102
- ### HTTP request headers
103
-
104
- - **Content-Type**: Not defined
105
- - **Accept**: application/json
106
-
107
-
108
- ### HTTP response details
109
- | Status code | Description | Response headers |
110
- |-------------|-------------|------------------|
111
- |**200** | Club supprimé | - |
112
- |**404** | Club non trouvé | - |
113
- |**500** | Server Error | - |
114
-
115
- [[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)
116
-
@@ -1,4 +1,4 @@
1
- # NotImplementedResponse
1
+ # DeleteSubscriptionPlanResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { NotImplementedResponse } from '@tennac-booking/sdk';
13
+ import { DeleteSubscriptionPlanResponse } from '@tennac-booking/sdk';
14
14
 
15
- const instance: NotImplementedResponse = {
15
+ const instance: DeleteSubscriptionPlanResponse = {
16
16
  message,
17
17
  };
18
18
  ```
@@ -0,0 +1,14 @@
1
+ # DiscountType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `None` (value: `'none'`)
7
+
8
+ * `Free` (value: `'free'`)
9
+
10
+ * `Percentage` (value: `'percentage'`)
11
+
12
+ * `OffPeak` (value: `'off_peak'`)
13
+
14
+ [[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
+ # OffPeakRule
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **percentage** | **number** | | [default to undefined]
9
+ **endHour** | **number** | | [default to undefined]
10
+ **startHour** | **number** | | [default to undefined]
11
+ **dayOfWeek** | **number** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { OffPeakRule } from '@tennac-booking/sdk';
17
+
18
+ const instance: OffPeakRule = {
19
+ percentage,
20
+ endHour,
21
+ startHour,
22
+ dayOfWeek,
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,14 @@
1
+ # PlanInterval
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Monthly` (value: `'monthly'`)
7
+
8
+ * `Yearly` (value: `'yearly'`)
9
+
10
+ * `Trimester` (value: `'trimester'`)
11
+
12
+ * `Semester` (value: `'semester'`)
13
+
14
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **username** | **string** | | [optional] [default to undefined]
10
10
  **firstName** | **string** | | [default to undefined]
11
11
  **lastName** | **string** | | [default to undefined]
12
+ **description** | **string** | | [optional] [default to undefined]
12
13
  **profilePicture** | **string** | | [optional] [default to undefined]
13
14
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
15
  **levelBySports** | [**Array&lt;LevelBySportEntry&gt;**](LevelBySportEntry.md) | | [optional] [default to undefined]
@@ -27,6 +28,7 @@ const instance: PlayerSummary = {
27
28
  username,
28
29
  firstName,
29
30
  lastName,
31
+ description,
30
32
  profilePicture,
31
33
  gender,
32
34
  levelBySports,
@@ -0,0 +1,30 @@
1
+ # PublicSubscriptionPlanResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **priceId** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **amountInCents** | **number** | | [default to undefined]
11
+ **currency** | **string** | | [default to undefined]
12
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
13
+ **description** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PublicSubscriptionPlanResponse } from '@tennac-booking/sdk';
19
+
20
+ const instance: PublicSubscriptionPlanResponse = {
21
+ priceId,
22
+ name,
23
+ amountInCents,
24
+ currency,
25
+ interval,
26
+ description,
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)
@@ -1,4 +1,4 @@
1
- # DeleteSlotsByClubInRange200Response
1
+ # RequestPasswordReset200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { DeleteSlotsByClubInRange200Response } from '@tennac-booking/sdk';
13
+ import { RequestPasswordReset200Response } from '@tennac-booking/sdk';
14
14
 
15
- const instance: DeleteSlotsByClubInRange200Response = {
15
+ const instance: RequestPasswordReset200Response = {
16
16
  message,
17
17
  };
18
18
  ```
@@ -0,0 +1,22 @@
1
+ # ResetPasswordRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **newPassword** | **string** | | [optional] [default to undefined]
9
+ **token** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ResetPasswordRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: ResetPasswordRequest = {
17
+ newPassword,
18
+ token,
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,25 @@
1
+ # StripeStripeDeletedProduct
2
+
3
+ The DeletedProduct object.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique identifier for the object. | [default to undefined]
10
+ **object** | **string** | String representing the object\&#39;s type. Objects of the same type share the same value. | [default to undefined]
11
+ **deleted** | **boolean** | Always true for a deleted object | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { StripeStripeDeletedProduct } from '@tennac-booking/sdk';
17
+
18
+ const instance: StripeStripeDeletedProduct = {
19
+ id,
20
+ object,
21
+ deleted,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)