@tennac-booking/sdk 1.0.306 → 1.0.308

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.
@@ -0,0 +1,42 @@
1
+ # ManagerConsoleOpenGuestContributionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **source** | [**OpenGuestContributionSource**](OpenGuestContributionSource.md) | | [default to undefined]
9
+ **status** | [**OpenGuestContributionStatus**](OpenGuestContributionStatus.md) | | [default to undefined]
10
+ **paymentChannel** | [**OpenGuestContributionPaymentChannel**](OpenGuestContributionPaymentChannel.md) | | [optional] [default to undefined]
11
+ **actorPlayerId** | **string** | | [default to undefined]
12
+ **registeredPlayerIds** | **Array<string>** | | [default to undefined]
13
+ **requestedPlayersCount** | **number** | | [default to undefined]
14
+ **registeredPlayersCount** | **number** | | [default to undefined]
15
+ **guestCount** | **number** | | [default to undefined]
16
+ **invoiceId** | **string** | | [optional] [default to undefined]
17
+ **setupInvoiceId** | **string** | | [optional] [default to undefined]
18
+ **createdAt** | **string** | | [default to undefined]
19
+ **resolvedAt** | **string** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { ManagerConsoleOpenGuestContributionResponse } from '@tennac-booking/sdk';
25
+
26
+ const instance: ManagerConsoleOpenGuestContributionResponse = {
27
+ source,
28
+ status,
29
+ paymentChannel,
30
+ actorPlayerId,
31
+ registeredPlayerIds,
32
+ requestedPlayersCount,
33
+ registeredPlayersCount,
34
+ guestCount,
35
+ invoiceId,
36
+ setupInvoiceId,
37
+ createdAt,
38
+ resolvedAt,
39
+ };
40
+ ```
41
+
42
+ [[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,10 @@
1
+ # OpenGuestContributionPaymentChannel
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Online` (value: `'online'`)
7
+
8
+ * `Onsite` (value: `'onsite'`)
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)
@@ -0,0 +1,10 @@
1
+ # OpenGuestContributionSource
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Creation` (value: `'creation'`)
7
+
8
+ * `Join` (value: `'join'`)
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)
@@ -0,0 +1,14 @@
1
+ # OpenGuestContributionStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pending` (value: `'pending'`)
7
+
8
+ * `Confirmed` (value: `'confirmed'`)
9
+
10
+ * `Expired` (value: `'expired'`)
11
+
12
+ * `Canceled` (value: `'canceled'`)
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)
@@ -7,12 +7,14 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **productId** | **string** | | [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
+ **subscribersCount** | **number** | | [default to undefined]
10
11
  **amountInCents** | **number** | | [optional] [default to undefined]
11
12
  **currency** | **string** | | [default to undefined]
12
13
  **prices** | [**Array<PlanPrice>**](PlanPrice.md) | | [default to undefined]
13
14
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
14
15
  **description** | **string** | | [optional] [default to undefined]
15
16
  **discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
17
+ **commitmentDurationMonths** | **number** | | [optional] [default to undefined]
16
18
  **isUserSubscribed** | **boolean** | | [optional] [default to undefined]
17
19
  **userSubscriptionId** | **string** | | [optional] [default to undefined]
18
20
  **userSubscriptionStatus** | **string** | | [optional] [default to undefined]
@@ -25,12 +27,14 @@ import { PublicSubscriptionPlanResponse } from '@tennac-booking/sdk';
25
27
  const instance: PublicSubscriptionPlanResponse = {
26
28
  productId,
27
29
  name,
30
+ subscribersCount,
28
31
  amountInCents,
29
32
  currency,
30
33
  prices,
31
34
  interval,
32
35
  description,
33
36
  discount,
37
+ commitmentDurationMonths,
34
38
  isUserSubscribed,
35
39
  userSubscriptionId,
36
40
  userSubscriptionStatus,
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **planId** | **string** | | [default to undefined]
9
9
  **productId** | **string** | | [default to undefined]
10
10
  **productName** | **string** | | [default to undefined]
11
+ **subscribersCount** | **number** | | [default to undefined]
11
12
  **productActive** | **boolean** | | [default to undefined]
12
13
  **priceId** | **string** | | [default to undefined]
13
14
  **amountInCents** | **number** | | [optional] [default to undefined]
@@ -17,6 +18,7 @@ Name | Type | Description | Notes
17
18
  **priceActive** | **boolean** | | [default to undefined]
18
19
  **description** | **string** | | [optional] [default to undefined]
19
20
  **discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
21
+ **commitmentDurationMonths** | **number** | | [optional] [default to undefined]
20
22
 
21
23
  ## Example
22
24
 
@@ -27,6 +29,7 @@ const instance: SubscriptionPlanResponse = {
27
29
  planId,
28
30
  productId,
29
31
  productName,
32
+ subscribersCount,
30
33
  productActive,
31
34
  priceId,
32
35
  amountInCents,
@@ -36,6 +39,7 @@ const instance: SubscriptionPlanResponse = {
36
39
  priceActive,
37
40
  description,
38
41
  discount,
42
+ commitmentDurationMonths,
39
43
  };
40
44
  ```
41
45
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **description** | **string** | | [optional] [default to undefined]
12
12
  **currency** | **string** | | [optional] [default to undefined]
13
13
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
14
+ **commitmentDurationMonths** | **number** | | [optional] [default to undefined]
14
15
  **discount** | [**SubscriptionPlanDiscountUpdateRequest**](SubscriptionPlanDiscountUpdateRequest.md) | | [optional] [default to undefined]
15
16
  **newAmountInCents** | **number** | | [optional] [default to undefined]
16
17
 
@@ -26,6 +27,7 @@ const instance: UpdateSubscriptionPlanRequest = {
26
27
  description,
27
28
  currency,
28
29
  interval,
30
+ commitmentDurationMonths,
29
31
  discount,
30
32
  newAmountInCents,
31
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.306",
3
+ "version": "1.0.308",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {