@tennac-booking/sdk 1.0.129 → 1.0.130

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 (77) hide show
  1. package/.openapi-generator/FILES +344 -346
  2. package/README.md +23 -24
  3. package/api.ts +857 -1035
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +686 -858
  8. package/dist/api.js +289 -315
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +686 -858
  16. package/dist/esm/api.js +285 -311
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingsStaffApi.md +10 -10
  28. package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubAccessSettingsResponse.md +26 -0
  31. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  32. package/docs/ClubSettingsManagerApi.md +52 -0
  33. package/docs/ClubSettingsStaffApi.md +44 -0
  34. package/docs/ClubsStaffApi.md +47 -0
  35. package/docs/CreatePlan201Response.md +2 -0
  36. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  37. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  38. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  39. package/docs/EventsApi.md +1 -4
  40. package/docs/EventsManagerApi.md +0 -110
  41. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  42. package/docs/HotelAccessSettings.md +26 -0
  43. package/docs/MonthlyTurnoverResponse.md +0 -1
  44. package/docs/OffPeakRule.md +2 -0
  45. package/docs/PartialHotelAccessSettings.md +27 -0
  46. package/docs/PartialPaymentRequirementsSettings.md +23 -0
  47. package/docs/PartialPublicAccessSettings.md +25 -0
  48. package/docs/PartialSchoolAccessSettings.md +25 -0
  49. package/docs/PaymentRequirementsSettings.md +22 -0
  50. package/docs/PlanPrice.md +26 -0
  51. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  52. package/docs/PublicAccessSettings.md +24 -0
  53. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  54. package/docs/PublishEventResponse.md +0 -4
  55. package/docs/SchoolAccessSettings.md +24 -0
  56. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  57. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  58. package/docs/SubscriptionPlanResponse.md +7 -1
  59. package/docs/SubscriptionsManagerApi.md +55 -1
  60. package/docs/UpdateClubAccessSettingsRequest.md +26 -0
  61. package/docs/UsersApi.md +0 -54
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/EventBookingDetailSummary.md +0 -40
  65. package/docs/EventBookingResponse.md +0 -36
  66. package/docs/EventBookingResponsePlayersInner.md +0 -28
  67. package/docs/EventBookingStatus.md +0 -16
  68. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  69. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  70. package/docs/ParticipationType.md +0 -10
  71. package/docs/RecurringDefinitionResponse.md +0 -34
  72. package/docs/UpdateRecurringDefinition200Response.md +0 -20
  73. package/docs/UpdateRecurringDefinitionRequest.md +0 -56
  74. package/docs/UserEventParticipation.md +0 -22
  75. package/docs/UserEventSummary.md +0 -44
  76. package/docs/UserEventsResponse.md +0 -28
  77. package/docs/VisibilityType.md +0 -12
@@ -1,17 +1,19 @@
1
- # EventBookingResponseSetupStatus
1
+ # GetClubType200Response
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **clubType** | **string** | | [default to undefined]
8
9
 
9
10
  ## Example
10
11
 
11
12
  ```typescript
12
- import { EventBookingResponseSetupStatus } from '@tennac-booking/sdk';
13
+ import { GetClubType200Response } from '@tennac-booking/sdk';
13
14
 
14
- const instance: EventBookingResponseSetupStatus = {
15
+ const instance: GetClubType200Response = {
16
+ clubType,
15
17
  };
16
18
  ```
17
19
 
@@ -0,0 +1,26 @@
1
+ # HotelAccessSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | | [default to undefined]
9
+ **accessCode** | **string** | | [optional] [default to undefined]
10
+ **validFrom** | **string** | | [optional] [default to undefined]
11
+ **validUntil** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { HotelAccessSettings } from '@tennac-booking/sdk';
17
+
18
+ const instance: HotelAccessSettings = {
19
+ enabled,
20
+ accessCode,
21
+ validFrom,
22
+ validUntil,
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)
@@ -1,6 +1,5 @@
1
1
  # MonthlyTurnoverResponse
2
2
 
3
- Types TSOA pour les analytics du club
4
3
 
5
4
  ## Properties
6
5
 
@@ -5,6 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **pricingPeriodName** | **string** | | [optional] [default to undefined]
8
9
  **percentage** | **number** | | [default to undefined]
9
10
  **endHour** | **number** | | [default to undefined]
10
11
  **startHour** | **number** | | [default to undefined]
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
16
17
  import { OffPeakRule } from '@tennac-booking/sdk';
17
18
 
18
19
  const instance: OffPeakRule = {
20
+ pricingPeriodName,
19
21
  percentage,
20
22
  endHour,
21
23
  startHour,
@@ -0,0 +1,27 @@
1
+ # PartialHotelAccessSettings
2
+
3
+ Make all properties in T optional
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **accessCode** | **string** | | [optional] [default to undefined]
10
+ **validFrom** | **string** | | [optional] [default to undefined]
11
+ **validUntil** | **string** | | [optional] [default to undefined]
12
+ **enabled** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PartialHotelAccessSettings } from '@tennac-booking/sdk';
18
+
19
+ const instance: PartialHotelAccessSettings = {
20
+ accessCode,
21
+ validFrom,
22
+ validUntil,
23
+ enabled,
24
+ };
25
+ ```
26
+
27
+ [[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,23 @@
1
+ # PartialPaymentRequirementsSettings
2
+
3
+ Make all properties in T optional
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
10
+ **requireOnlinePayment** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PartialPaymentRequirementsSettings } from '@tennac-booking/sdk';
16
+
17
+ const instance: PartialPaymentRequirementsSettings = {
18
+ isNoShowEnabled,
19
+ requireOnlinePayment,
20
+ };
21
+ ```
22
+
23
+ [[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
+ # PartialPublicAccessSettings
2
+
3
+ Make all properties in T optional
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **paymentMode** | **string** | | [optional] [default to undefined]
10
+ **pricePerAccess** | **number** | | [optional] [default to undefined]
11
+ **enabled** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PartialPublicAccessSettings } from '@tennac-booking/sdk';
17
+
18
+ const instance: PartialPublicAccessSettings = {
19
+ paymentMode,
20
+ pricePerAccess,
21
+ enabled,
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)
@@ -0,0 +1,25 @@
1
+ # PartialSchoolAccessSettings
2
+
3
+ Make all properties in T optional
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **emailSuffixes** | **Array<string>** | | [optional] [default to undefined]
10
+ **requireCertification** | **boolean** | | [optional] [default to undefined]
11
+ **enabled** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PartialSchoolAccessSettings } from '@tennac-booking/sdk';
17
+
18
+ const instance: PartialSchoolAccessSettings = {
19
+ emailSuffixes,
20
+ requireCertification,
21
+ enabled,
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)
@@ -0,0 +1,22 @@
1
+ # PaymentRequirementsSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **isNoShowEnabled** | **boolean** | | [default to undefined]
9
+ **requireOnlinePayment** | **boolean** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PaymentRequirementsSettings } from '@tennac-booking/sdk';
15
+
16
+ const instance: PaymentRequirementsSettings = {
17
+ isNoShowEnabled,
18
+ requireOnlinePayment,
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,26 @@
1
+ # PlanPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **amountInCents** | **number** | | [default to undefined]
9
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
10
+ **active** | **boolean** | | [optional] [default to undefined]
11
+ **stripePriceId** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PlanPrice } from '@tennac-booking/sdk';
17
+
18
+ const instance: PlanPrice = {
19
+ amountInCents,
20
+ interval,
21
+ active,
22
+ stripePriceId,
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)
@@ -1,19 +1,21 @@
1
- # CheckInPlayersRequest
1
+ # PlanPriceInput
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **playerIds** | **Array<string>** | Liste des IDs des joueurs qui ont payé/sont arrivés | [default to undefined]
8
+ **amountInCents** | **number** | | [default to undefined]
9
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { CheckInPlayersRequest } from '@tennac-booking/sdk';
14
+ import { PlanPriceInput } from '@tennac-booking/sdk';
14
15
 
15
- const instance: CheckInPlayersRequest = {
16
- playerIds,
16
+ const instance: PlanPriceInput = {
17
+ amountInCents,
18
+ interval,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,24 @@
1
+ # PublicAccessSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | | [default to undefined]
9
+ **paymentMode** | **string** | | [default to undefined]
10
+ **pricePerAccess** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PublicAccessSettings } from '@tennac-booking/sdk';
16
+
17
+ const instance: PublicAccessSettings = {
18
+ enabled,
19
+ paymentMode,
20
+ pricePerAccess,
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)
@@ -7,10 +7,12 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **priceId** | **string** | | [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
- **amountInCents** | **number** | | [default to undefined]
10
+ **amountInCents** | **number** | | [optional] [default to undefined]
11
11
  **currency** | **string** | | [default to undefined]
12
+ **prices** | [**Array<PlanPrice>**](PlanPrice.md) | | [default to undefined]
12
13
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
13
14
  **description** | **string** | | [optional] [default to undefined]
15
+ **discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
14
16
 
15
17
  ## Example
16
18
 
@@ -22,8 +24,10 @@ const instance: PublicSubscriptionPlanResponse = {
22
24
  name,
23
25
  amountInCents,
24
26
  currency,
27
+ prices,
25
28
  interval,
26
29
  description,
30
+ discount,
27
31
  };
28
32
  ```
29
33
 
@@ -7,8 +7,6 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
9
9
  **refundedBookingIds** | **Array<string>** | | [optional] [default to undefined]
10
- **userBooking** | [**EventBookingResponse**](EventBookingResponse.md) | | [optional] [default to undefined]
11
- **needsToSetupPaymentMethod** | **boolean** | | [optional] [default to undefined]
12
10
 
13
11
  ## Example
14
12
 
@@ -18,8 +16,6 @@ import { PublishEventResponse } from '@tennac-booking/sdk';
18
16
  const instance: PublishEventResponse = {
19
17
  event,
20
18
  refundedBookingIds,
21
- userBooking,
22
- needsToSetupPaymentMethod,
23
19
  };
24
20
  ```
25
21
 
@@ -0,0 +1,24 @@
1
+ # SchoolAccessSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | | [default to undefined]
9
+ **emailSuffixes** | **Array<string>** | | [default to undefined]
10
+ **requireCertification** | **boolean** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SchoolAccessSettings } from '@tennac-booking/sdk';
16
+
17
+ const instance: SchoolAccessSettings = {
18
+ enabled,
19
+ emailSuffixes,
20
+ requireCertification,
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)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **userId** | **string** | | [default to undefined]
9
9
  **productId** | **string** | Identifiant Stripe (productId) du plan sélectionné par le staff. | [default to undefined]
10
+ **priceId** | **string** | Price spécifique proposé dans l\'invitation (facultatif). | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -16,6 +17,7 @@ import { SendSubscriptionInvitationRequest } from '@tennac-booking/sdk';
16
17
  const instance: SendSubscriptionInvitationRequest = {
17
18
  userId,
18
19
  productId,
20
+ priceId,
19
21
  };
20
22
  ```
21
23
 
@@ -0,0 +1,34 @@
1
+ # SubscriptionPlanDiscountResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | [**DiscountType**](DiscountType.md) | | [default to undefined]
9
+ **percentage** | **number** | | [optional] [default to undefined]
10
+ **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
11
+ **validFrom** | **string** | | [optional] [default to undefined]
12
+ **validTo** | **string** | | [optional] [default to undefined]
13
+ **offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined]
14
+ **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
15
+ **bookingFree** | **boolean** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { SubscriptionPlanDiscountResponse } from '@tennac-booking/sdk';
21
+
22
+ const instance: SubscriptionPlanDiscountResponse = {
23
+ type,
24
+ percentage,
25
+ maxDiscountAmountInCents,
26
+ validFrom,
27
+ validTo,
28
+ offPeakRuleNames,
29
+ offPeakRules,
30
+ bookingFree,
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)
@@ -9,10 +9,13 @@ Name | Type | Description | Notes
9
9
  **productName** | **string** | | [default to undefined]
10
10
  **productActive** | **boolean** | | [default to undefined]
11
11
  **priceId** | **string** | | [default to undefined]
12
- **amountInCents** | **number** | | [default to undefined]
12
+ **amountInCents** | **number** | | [optional] [default to undefined]
13
13
  **currency** | **string** | | [default to undefined]
14
+ **prices** | [**Array<PlanPrice>**](PlanPrice.md) | | [default to undefined]
14
15
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
15
16
  **priceActive** | **boolean** | | [default to undefined]
17
+ **description** | **string** | | [optional] [default to undefined]
18
+ **discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
16
19
 
17
20
  ## Example
18
21
 
@@ -26,8 +29,11 @@ const instance: SubscriptionPlanResponse = {
26
29
  priceId,
27
30
  amountInCents,
28
31
  currency,
32
+ prices,
29
33
  interval,
30
34
  priceActive,
35
+ description,
36
+ discount,
31
37
  };
32
38
  ```
33
39
 
@@ -4,10 +4,64 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**archivePlan**](#archiveplan) | **POST** /api/subscriptions/plans/{productId}/archive | |
7
8
  |[**createPlan**](#createplan) | **POST** /api/subscriptions/plans | |
8
9
  |[**deletePlan**](#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} | |
9
10
  |[**updatePlan**](#updateplan) | **PUT** /api/subscriptions/plans | |
10
11
 
12
+ # **archivePlan**
13
+ > DeleteSubscriptionPlanResponse archivePlan()
14
+
15
+ Supprime (archive) un plan par productId (manager)
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ SubscriptionsManagerApi,
22
+ Configuration
23
+ } from '@tennac-booking/sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new SubscriptionsManagerApi(configuration);
27
+
28
+ let productId: string; // (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.archivePlan(
31
+ productId
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **productId** | [**string**] | | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **DeleteSubscriptionPlanResponse**
45
+
46
+ ### Authorization
47
+
48
+ [bearerAuth](../README.md#bearerAuth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Plan archivé | - |
60
+ |**400** | Bad Request | - |
61
+ |**401** | Unauthorized | - |
62
+
63
+ [[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)
64
+
11
65
  # **createPlan**
12
66
  > CreatePlan201Response createPlan(createSubscriptionPlanRequest)
13
67
 
@@ -65,7 +119,7 @@ const { status, data } = await apiInstance.createPlan(
65
119
  # **deletePlan**
66
120
  > DeleteSubscriptionPlanResponse deletePlan()
67
121
 
68
- Supprime (archive) un plan par productId (manager)
122
+ Supprime un plan par productId (manager)
69
123
 
70
124
  ### Example
71
125
 
@@ -0,0 +1,26 @@
1
+ # UpdateClubAccessSettingsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **publicAccess** | [**PartialPublicAccessSettings**](PartialPublicAccessSettings.md) | | [optional] [default to undefined]
9
+ **schoolAccess** | [**PartialSchoolAccessSettings**](PartialSchoolAccessSettings.md) | | [optional] [default to undefined]
10
+ **hotelAccess** | [**PartialHotelAccessSettings**](PartialHotelAccessSettings.md) | | [optional] [default to undefined]
11
+ **paymentRequirements** | [**PartialPaymentRequirementsSettings**](PartialPaymentRequirementsSettings.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UpdateClubAccessSettingsRequest } from '@tennac-booking/sdk';
17
+
18
+ const instance: UpdateClubAccessSettingsRequest = {
19
+ publicAccess,
20
+ schoolAccess,
21
+ hotelAccess,
22
+ paymentRequirements,
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)
package/docs/UsersApi.md CHANGED
@@ -22,7 +22,6 @@ All URIs are relative to *http://localhost*
22
22
  |[**getNearestUsersFromCoordinates**](#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates | |
23
23
  |[**getPlayerCategories**](#getplayercategories) | **GET** /api/users/players/categories | |
24
24
  |[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
25
- |[**getUserEvents**](#getuserevents) | **GET** /api/users/me/events | |
26
25
  |[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
27
26
  |[**listPlayers**](#listplayers) | **GET** /api/users/players | |
28
27
  |[**login**](#login) | **POST** /api/users/login | |
@@ -912,59 +911,6 @@ const { status, data } = await apiInstance.getUserBookings(
912
911
  - **Accept**: application/json
913
912
 
914
913
 
915
- ### HTTP response details
916
- | Status code | Description | Response headers |
917
- |-------------|-------------|------------------|
918
- |**200** | Ok | - |
919
-
920
- [[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)
921
-
922
- # **getUserEvents**
923
- > UserEventsResponse getUserEvents()
924
-
925
-
926
- ### Example
927
-
928
- ```typescript
929
- import {
930
- UsersApi,
931
- Configuration
932
- } from '@tennac-booking/sdk';
933
-
934
- const configuration = new Configuration();
935
- const apiInstance = new UsersApi(configuration);
936
-
937
- let limit: number; // (optional) (default to undefined)
938
- let skip: number; // (optional) (default to undefined)
939
-
940
- const { status, data } = await apiInstance.getUserEvents(
941
- limit,
942
- skip
943
- );
944
- ```
945
-
946
- ### Parameters
947
-
948
- |Name | Type | Description | Notes|
949
- |------------- | ------------- | ------------- | -------------|
950
- | **limit** | [**number**] | | (optional) defaults to undefined|
951
- | **skip** | [**number**] | | (optional) defaults to undefined|
952
-
953
-
954
- ### Return type
955
-
956
- **UserEventsResponse**
957
-
958
- ### Authorization
959
-
960
- [bearerAuth](../README.md#bearerAuth)
961
-
962
- ### HTTP request headers
963
-
964
- - **Content-Type**: Not defined
965
- - **Accept**: application/json
966
-
967
-
968
914
  ### HTTP response details
969
915
  | Status code | Description | Response headers |
970
916
  |-------------|-------------|------------------|
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.129
7
+ * The version of the OpenAPI document: 1.0.121
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.129",
3
+ "version": "1.0.130",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,40 +0,0 @@
1
- # EventBookingDetailSummary
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
- **teamName** | **string** | | [optional] [default to undefined]
11
- **players** | **Array<string>** | | [default to undefined]
12
- **invoices** | **Array<string>** | | [default to undefined]
13
- **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
14
- **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
15
- **limitSetupDate** | **string** | | [optional] [default to undefined]
16
- **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
- **createdAt** | **string** | | [default to undefined]
18
- **updatedAt** | **string** | | [default to undefined]
19
-
20
- ## Example
21
-
22
- ```typescript
23
- import { EventBookingDetailSummary } from '@tennac-booking/sdk';
24
-
25
- const instance: EventBookingDetailSummary = {
26
- id,
27
- status,
28
- teamName,
29
- players,
30
- invoices,
31
- creatorPaymentMethodId,
32
- paymentMethodSetupCompleted,
33
- limitSetupDate,
34
- limitCancellationDate,
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)