@tennac-booking/sdk 1.0.125 → 1.0.127

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 (61) hide show
  1. package/.openapi-generator/FILES +334 -343
  2. package/README.md +11 -19
  3. package/api.ts +422 -591
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +317 -496
  8. package/dist/api.js +164 -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 +317 -496
  16. package/dist/esm/api.js +160 -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/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +54 -0
  32. package/docs/CreatePlan201Response.md +2 -0
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  35. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  36. package/docs/EventsApi.md +1 -4
  37. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  38. package/docs/MonthlyTurnoverResponse.md +0 -1
  39. package/docs/OffPeakRule.md +2 -0
  40. package/docs/PlanPrice.md +26 -0
  41. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  42. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  43. package/docs/PublishEventResponse.md +0 -2
  44. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  45. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  46. package/docs/SubscriptionPlanResponse.md +7 -1
  47. package/docs/SubscriptionsManagerApi.md +55 -1
  48. package/docs/UsersApi.md +0 -54
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/EventBookingDetailSummary.md +0 -40
  52. package/docs/EventBookingResponse.md +0 -36
  53. package/docs/EventBookingResponsePlayersInner.md +0 -28
  54. package/docs/EventBookingStatus.md +0 -16
  55. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  56. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  57. package/docs/ParticipationType.md +0 -10
  58. package/docs/UserEventParticipation.md +0 -22
  59. package/docs/UserEventSummary.md +0 -44
  60. package/docs/UserEventsResponse.md +0 -28
  61. package/docs/VisibilityType.md +0 -12
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.127",
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,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)
@@ -1,44 +0,0 @@
1
- # UserEventSummary
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **clubId** | **string** | | [default to undefined]
10
- **title** | **string** | | [default to undefined]
11
- **description** | **string** | | [optional] [default to undefined]
12
- **photoUrl** | **string** | | [optional] [default to undefined]
13
- **startDate** | **string** | | [default to undefined]
14
- **endDate** | **string** | | [default to undefined]
15
- **participationType** | [**ParticipationType**](ParticipationType.md) | | [default to undefined]
16
- **visibilityType** | [**VisibilityType**](VisibilityType.md) | | [default to undefined]
17
- **isActive** | **boolean** | | [default to undefined]
18
- **price** | **number** | | [optional] [default to undefined]
19
- **sports** | **Array<string>** | | [optional] [default to undefined]
20
- **courts** | **Array<string>** | | [optional] [default to undefined]
21
-
22
- ## Example
23
-
24
- ```typescript
25
- import { UserEventSummary } from '@tennac-booking/sdk';
26
-
27
- const instance: UserEventSummary = {
28
- id,
29
- clubId,
30
- title,
31
- description,
32
- photoUrl,
33
- startDate,
34
- endDate,
35
- participationType,
36
- visibilityType,
37
- isActive,
38
- price,
39
- sports,
40
- courts,
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)
@@ -1,28 +0,0 @@
1
- # UserEventsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **total** | **number** | | [default to undefined]
9
- **limit** | **number** | | [default to undefined]
10
- **skip** | **number** | | [default to undefined]
11
- **hasMore** | **boolean** | | [default to undefined]
12
- **participations** | [**Array<UserEventParticipation>**](UserEventParticipation.md) | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UserEventsResponse } from '@tennac-booking/sdk';
18
-
19
- const instance: UserEventsResponse = {
20
- total,
21
- limit,
22
- skip,
23
- hasMore,
24
- participations,
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,12 +0,0 @@
1
- # VisibilityType
2
-
3
-
4
- ## Enum
5
-
6
- * `Public` (value: `'public'`)
7
-
8
- * `Private` (value: `'private'`)
9
-
10
- * `Invitation` (value: `'invitation'`)
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)