@tennac-booking/sdk 1.0.125 → 1.0.126

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 (60) hide show
  1. package/.openapi-generator/FILES +333 -343
  2. package/README.md +9 -19
  3. package/api.ts +354 -619
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +256 -490
  8. package/dist/api.js +99 -156
  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 +256 -490
  16. package/dist/esm/api.js +95 -152
  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/{EventBookingResponseSetupStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/CreatePlan201Response.md +2 -0
  32. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  33. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  34. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  35. package/docs/EventsApi.md +1 -4
  36. package/docs/MonthlyTurnoverResponse.md +0 -1
  37. package/docs/OffPeakRule.md +2 -0
  38. package/docs/PlanPrice.md +26 -0
  39. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  40. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  41. package/docs/PublishEventResponse.md +0 -2
  42. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  43. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  44. package/docs/SubscriptionPlanResponse.md +7 -1
  45. package/docs/SubscriptionsManagerApi.md +55 -1
  46. package/docs/UsersApi.md +0 -54
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
  49. package/docs/EventBookingDetailSummary.md +0 -40
  50. package/docs/EventBookingResponse.md +0 -36
  51. package/docs/EventBookingResponsePlayersInner.md +0 -28
  52. package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +0 -18
  53. package/docs/EventBookingStatus.md +0 -16
  54. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  55. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  56. package/docs/ParticipationType.md +0 -10
  57. package/docs/UserEventParticipation.md +0 -22
  58. package/docs/UserEventSummary.md +0 -44
  59. package/docs/UserEventsResponse.md +0 -28
  60. package/docs/VisibilityType.md +0 -12
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | ID du plan d\'abonnement | [default to undefined]
9
9
  **name** | **string** | Nom du plan | [default to undefined]
10
- **amountInCents** | **number** | Montant en centimes | [default to undefined]
10
+ **prices** | [**Array<PlanPrice>**](PlanPrice.md) | Tarifications disponibles | [default to undefined]
11
11
  **currency** | **string** | Devise | [default to undefined]
12
- **interval** | **string** | Intervalle de facturation | [default to undefined]
12
+ **interval** | **string** | Intervalle par défaut | [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -19,7 +19,7 @@ import { ClubPlayerSubscriptionSummary } from '@tennac-booking/sdk';
19
19
  const instance: ClubPlayerSubscriptionSummary = {
20
20
  id,
21
21
  name,
22
- amountInCents,
22
+ prices,
23
23
  currency,
24
24
  interval,
25
25
  };
@@ -5,6 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **priceIds** | **Array<string>** | | [default to undefined]
8
9
  **priceId** | **string** | | [default to undefined]
9
10
  **productId** | **string** | | [default to undefined]
10
11
 
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
14
15
  import { CreatePlan201Response } from '@tennac-booking/sdk';
15
16
 
16
17
  const instance: CreatePlan201Response = {
18
+ priceIds,
17
19
  priceId,
18
20
  productId,
19
21
  };
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **clubId** | **string** | | [optional] [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
10
  **description** | **string** | | [optional] [default to undefined]
11
- **amountInCents** | **number** | | [default to undefined]
11
+ **prices** | [**Array<PlanPriceInput>**](PlanPriceInput.md) | | [default to undefined]
12
12
  **currency** | **string** | | [default to undefined]
13
13
  **interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
14
14
  **discount** | [**CreateSubscriptionPlanRequestDiscount**](CreateSubscriptionPlanRequestDiscount.md) | | [optional] [default to undefined]
@@ -22,7 +22,7 @@ const instance: CreateSubscriptionPlanRequest = {
22
22
  clubId,
23
23
  name,
24
24
  description,
25
- amountInCents,
25
+ prices,
26
26
  currency,
27
27
  interval,
28
28
  discount,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **bookingFree** | **boolean** | | [optional] [default to undefined]
9
9
  **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
10
+ **offPeakRuleNames** | **Array<string>** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club. | [optional] [default to undefined]
10
11
  **validTo** | **string** | | [optional] [default to undefined]
11
12
  **validFrom** | **string** | | [optional] [default to undefined]
12
13
  **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
@@ -21,6 +22,7 @@ import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk';
21
22
  const instance: CreateSubscriptionPlanRequestDiscount = {
22
23
  bookingFree,
23
24
  offPeakRules,
25
+ offPeakRuleNames,
24
26
  validTo,
25
27
  validFrom,
26
28
  maxDiscountAmountInCents,
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **message** | **string** | | [default to undefined]
9
+ **archivedInstead** | **boolean** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { DeleteSubscriptionPlanResponse } from '@tennac-booking/sdk';
14
15
 
15
16
  const instance: DeleteSubscriptionPlanResponse = {
16
17
  message,
18
+ archivedInstead,
17
19
  };
18
20
  ```
19
21
 
package/docs/EventsApi.md CHANGED
@@ -141,11 +141,9 @@ const configuration = new Configuration();
141
141
  const apiInstance = new EventsApi(configuration);
142
142
 
143
143
  let eventId: string; // (default to undefined)
144
- let userId: string; // (optional) (default to undefined)
145
144
 
146
145
  const { status, data } = await apiInstance.getEventById(
147
- eventId,
148
- userId
146
+ eventId
149
147
  );
150
148
  ```
151
149
 
@@ -154,7 +152,6 @@ const { status, data } = await apiInstance.getEventById(
154
152
  |Name | Type | Description | Notes|
155
153
  |------------- | ------------- | ------------- | -------------|
156
154
  | **eventId** | [**string**] | | defaults to undefined|
157
- | **userId** | [**string**] | | (optional) defaults to undefined|
158
155
 
159
156
 
160
157
  ### Return type
@@ -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,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
 
@@ -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,7 +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
10
 
12
11
  ## Example
13
12
 
@@ -17,7 +16,6 @@ import { PublishEventResponse } from '@tennac-booking/sdk';
17
16
  const instance: PublishEventResponse = {
18
17
  event,
19
18
  refundedBookingIds,
20
- userBooking,
21
19
  };
22
20
  ```
23
21
 
@@ -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
 
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.125
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.125",
3
+ "version": "1.0.126",
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)
@@ -1,36 +0,0 @@
1
- # EventBookingResponse
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<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
12
- **setupLimitDate** | **string** | | [optional] [default to undefined]
13
- **cancellationLimitDate** | **string** | | [optional] [default to undefined]
14
- **setupStatus** | [**EventBookingResponseSetupStatus**](EventBookingResponseSetupStatus.md) | | [optional] [default to undefined]
15
- **createdAt** | **string** | | [default to undefined]
16
- **updatedAt** | **string** | | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { EventBookingResponse } from '@tennac-booking/sdk';
22
-
23
- const instance: EventBookingResponse = {
24
- id,
25
- status,
26
- teamName,
27
- players,
28
- setupLimitDate,
29
- cancellationLimitDate,
30
- setupStatus,
31
- createdAt,
32
- updatedAt,
33
- };
34
- ```
35
-
36
- [[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,28 +0,0 @@
1
- # EventBookingResponsePlayersInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **invoiceStatus** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
9
- **profilePicture** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
11
- **firstName** | **string** | | [optional] [default to undefined]
12
- **id** | **string** | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
18
-
19
- const instance: EventBookingResponsePlayersInner = {
20
- invoiceStatus,
21
- profilePicture,
22
- lastName,
23
- firstName,
24
- id,
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)
@@ -1,18 +0,0 @@
1
- # EventBookingResponsePlayersInnerInvoiceStatus
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
-
9
- ## Example
10
-
11
- ```typescript
12
- import { EventBookingResponsePlayersInnerInvoiceStatus } from '@tennac-booking/sdk';
13
-
14
- const instance: EventBookingResponsePlayersInnerInvoiceStatus = {
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)
@@ -1,16 +0,0 @@
1
- # EventBookingStatus
2
-
3
-
4
- ## Enum
5
-
6
- * `Pending` (value: `'pending'`)
7
-
8
- * `Paid` (value: `'paid'`)
9
-
10
- * `Cancelled` (value: `'cancelled'`)
11
-
12
- * `Expired` (value: `'expired'`)
13
-
14
- * `Archived` (value: `'archived'`)
15
-
16
- [[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,8 +0,0 @@
1
- # InvoiceStatusSETUPPENDING
2
-
3
-
4
- ## Enum
5
-
6
- * `SetupPending` (value: `'setup_pending'`)
7
-
8
- [[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,8 +0,0 @@
1
- # InvoiceStatusSETUPSUCCESS
2
-
3
-
4
- ## Enum
5
-
6
- * `SetupSuccess` (value: `'setup_success'`)
7
-
8
- [[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,10 +0,0 @@
1
- # ParticipationType
2
-
3
-
4
- ## Enum
5
-
6
- * `Solo` (value: `'solo'`)
7
-
8
- * `Team` (value: `'team'`)
9
-
10
- [[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,22 +0,0 @@
1
- # UserEventParticipation
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **event** | [**UserEventSummary**](UserEventSummary.md) | | [default to undefined]
9
- **booking** | [**EventBookingDetailSummary**](EventBookingDetailSummary.md) | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { UserEventParticipation } from '@tennac-booking/sdk';
15
-
16
- const instance: UserEventParticipation = {
17
- event,
18
- booking,
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)