@tennac-booking/sdk 1.0.190 → 1.0.192

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.
@@ -286,6 +286,7 @@ docs/PlayerPrice.md
286
286
  docs/PlayerShare.md
287
287
  docs/PlayerSummary.md
288
288
  docs/PlayerWithPaymentMethod.md
289
+ docs/PricingPeriodDiscount.md
289
290
  docs/ProfilePictureResponse.md
290
291
  docs/ProfilePictureUpdateRequestBody.md
291
292
  docs/PublicAccessSettings.md
package/README.md CHANGED
@@ -546,6 +546,7 @@ Class | Method | HTTP request | Description
546
546
  - [PlayerShare](docs/PlayerShare.md)
547
547
  - [PlayerSummary](docs/PlayerSummary.md)
548
548
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
549
+ - [PricingPeriodDiscount](docs/PricingPeriodDiscount.md)
549
550
  - [ProfilePictureResponse](docs/ProfilePictureResponse.md)
550
551
  - [ProfilePictureUpdateRequestBody](docs/ProfilePictureUpdateRequestBody.md)
551
552
  - [PublicAccessSettings](docs/PublicAccessSettings.md)
package/api.ts CHANGED
@@ -128,6 +128,12 @@ export interface AgendaBooking {
128
128
  * @memberof AgendaBooking
129
129
  */
130
130
  'status': BookingStatus;
131
+ /**
132
+ *
133
+ * @type {boolean}
134
+ * @memberof AgendaBooking
135
+ */
136
+ 'isOpen': boolean;
131
137
  /**
132
138
  *
133
139
  * @type {string}
@@ -4939,6 +4945,18 @@ export interface CreateSubscriptionPlanRequestDiscount {
4939
4945
  * @deprecated
4940
4946
  */
4941
4947
  'offPeakRules'?: Array<OffPeakRule>;
4948
+ /**
4949
+ *
4950
+ * @type {Array<PricingPeriodDiscount>}
4951
+ * @memberof CreateSubscriptionPlanRequestDiscount
4952
+ */
4953
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
4954
+ /**
4955
+ *
4956
+ * @type {Array<string>}
4957
+ * @memberof CreateSubscriptionPlanRequestDiscount
4958
+ */
4959
+ 'pricingPeriodIds'?: Array<string>;
4942
4960
  /**
4943
4961
  * 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.
4944
4962
  * @type {Array<string>}
@@ -9346,6 +9364,31 @@ export interface PlayerWithPaymentMethod {
9346
9364
  }
9347
9365
 
9348
9366
 
9367
+ /**
9368
+ *
9369
+ * @export
9370
+ * @interface PricingPeriodDiscount
9371
+ */
9372
+ export interface PricingPeriodDiscount {
9373
+ /**
9374
+ *
9375
+ * @type {number}
9376
+ * @memberof PricingPeriodDiscount
9377
+ */
9378
+ 'percentage': number;
9379
+ /**
9380
+ *
9381
+ * @type {string}
9382
+ * @memberof PricingPeriodDiscount
9383
+ */
9384
+ 'pricingPeriodName'?: string;
9385
+ /**
9386
+ *
9387
+ * @type {string}
9388
+ * @memberof PricingPeriodDiscount
9389
+ */
9390
+ 'pricingPeriodId'?: string;
9391
+ }
9349
9392
  /**
9350
9393
  *
9351
9394
  * @export
@@ -11698,6 +11741,12 @@ export interface SubscriptionPlanDiscountResponse {
11698
11741
  * @memberof SubscriptionPlanDiscountResponse
11699
11742
  */
11700
11743
  'offPeakRules'?: Array<OffPeakRule>;
11744
+ /**
11745
+ *
11746
+ * @type {Array<PricingPeriodDiscount>}
11747
+ * @memberof SubscriptionPlanDiscountResponse
11748
+ */
11749
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11701
11750
  /**
11702
11751
  *
11703
11752
  * @type {boolean}
@@ -11761,6 +11810,12 @@ export interface SubscriptionPlanDiscountUpdateRequest {
11761
11810
  * @memberof SubscriptionPlanDiscountUpdateRequest
11762
11811
  */
11763
11812
  'pricingPeriodIds'?: Array<string>;
11813
+ /**
11814
+ *
11815
+ * @type {Array<PricingPeriodDiscount>}
11816
+ * @memberof SubscriptionPlanDiscountUpdateRequest
11817
+ */
11818
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11764
11819
  /**
11765
11820
  *
11766
11821
  * @type {boolean}
package/dist/api.d.ts CHANGED
@@ -118,6 +118,12 @@ export interface AgendaBooking {
118
118
  * @memberof AgendaBooking
119
119
  */
120
120
  'status': BookingStatus;
121
+ /**
122
+ *
123
+ * @type {boolean}
124
+ * @memberof AgendaBooking
125
+ */
126
+ 'isOpen': boolean;
121
127
  /**
122
128
  *
123
129
  * @type {string}
@@ -4854,6 +4860,18 @@ export interface CreateSubscriptionPlanRequestDiscount {
4854
4860
  * @deprecated
4855
4861
  */
4856
4862
  'offPeakRules'?: Array<OffPeakRule>;
4863
+ /**
4864
+ *
4865
+ * @type {Array<PricingPeriodDiscount>}
4866
+ * @memberof CreateSubscriptionPlanRequestDiscount
4867
+ */
4868
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
4869
+ /**
4870
+ *
4871
+ * @type {Array<string>}
4872
+ * @memberof CreateSubscriptionPlanRequestDiscount
4873
+ */
4874
+ 'pricingPeriodIds'?: Array<string>;
4857
4875
  /**
4858
4876
  * 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.
4859
4877
  * @type {Array<string>}
@@ -9184,6 +9202,31 @@ export interface PlayerWithPaymentMethod {
9184
9202
  */
9185
9203
  'paysAlsoFor'?: Array<string>;
9186
9204
  }
9205
+ /**
9206
+ *
9207
+ * @export
9208
+ * @interface PricingPeriodDiscount
9209
+ */
9210
+ export interface PricingPeriodDiscount {
9211
+ /**
9212
+ *
9213
+ * @type {number}
9214
+ * @memberof PricingPeriodDiscount
9215
+ */
9216
+ 'percentage': number;
9217
+ /**
9218
+ *
9219
+ * @type {string}
9220
+ * @memberof PricingPeriodDiscount
9221
+ */
9222
+ 'pricingPeriodName'?: string;
9223
+ /**
9224
+ *
9225
+ * @type {string}
9226
+ * @memberof PricingPeriodDiscount
9227
+ */
9228
+ 'pricingPeriodId'?: string;
9229
+ }
9187
9230
  /**
9188
9231
  *
9189
9232
  * @export
@@ -11500,6 +11543,12 @@ export interface SubscriptionPlanDiscountResponse {
11500
11543
  * @memberof SubscriptionPlanDiscountResponse
11501
11544
  */
11502
11545
  'offPeakRules'?: Array<OffPeakRule>;
11546
+ /**
11547
+ *
11548
+ * @type {Array<PricingPeriodDiscount>}
11549
+ * @memberof SubscriptionPlanDiscountResponse
11550
+ */
11551
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11503
11552
  /**
11504
11553
  *
11505
11554
  * @type {boolean}
@@ -11561,6 +11610,12 @@ export interface SubscriptionPlanDiscountUpdateRequest {
11561
11610
  * @memberof SubscriptionPlanDiscountUpdateRequest
11562
11611
  */
11563
11612
  'pricingPeriodIds'?: Array<string>;
11613
+ /**
11614
+ *
11615
+ * @type {Array<PricingPeriodDiscount>}
11616
+ * @memberof SubscriptionPlanDiscountUpdateRequest
11617
+ */
11618
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11564
11619
  /**
11565
11620
  *
11566
11621
  * @type {boolean}
package/dist/esm/api.d.ts CHANGED
@@ -118,6 +118,12 @@ export interface AgendaBooking {
118
118
  * @memberof AgendaBooking
119
119
  */
120
120
  'status': BookingStatus;
121
+ /**
122
+ *
123
+ * @type {boolean}
124
+ * @memberof AgendaBooking
125
+ */
126
+ 'isOpen': boolean;
121
127
  /**
122
128
  *
123
129
  * @type {string}
@@ -4854,6 +4860,18 @@ export interface CreateSubscriptionPlanRequestDiscount {
4854
4860
  * @deprecated
4855
4861
  */
4856
4862
  'offPeakRules'?: Array<OffPeakRule>;
4863
+ /**
4864
+ *
4865
+ * @type {Array<PricingPeriodDiscount>}
4866
+ * @memberof CreateSubscriptionPlanRequestDiscount
4867
+ */
4868
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
4869
+ /**
4870
+ *
4871
+ * @type {Array<string>}
4872
+ * @memberof CreateSubscriptionPlanRequestDiscount
4873
+ */
4874
+ 'pricingPeriodIds'?: Array<string>;
4857
4875
  /**
4858
4876
  * 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.
4859
4877
  * @type {Array<string>}
@@ -9184,6 +9202,31 @@ export interface PlayerWithPaymentMethod {
9184
9202
  */
9185
9203
  'paysAlsoFor'?: Array<string>;
9186
9204
  }
9205
+ /**
9206
+ *
9207
+ * @export
9208
+ * @interface PricingPeriodDiscount
9209
+ */
9210
+ export interface PricingPeriodDiscount {
9211
+ /**
9212
+ *
9213
+ * @type {number}
9214
+ * @memberof PricingPeriodDiscount
9215
+ */
9216
+ 'percentage': number;
9217
+ /**
9218
+ *
9219
+ * @type {string}
9220
+ * @memberof PricingPeriodDiscount
9221
+ */
9222
+ 'pricingPeriodName'?: string;
9223
+ /**
9224
+ *
9225
+ * @type {string}
9226
+ * @memberof PricingPeriodDiscount
9227
+ */
9228
+ 'pricingPeriodId'?: string;
9229
+ }
9187
9230
  /**
9188
9231
  *
9189
9232
  * @export
@@ -11500,6 +11543,12 @@ export interface SubscriptionPlanDiscountResponse {
11500
11543
  * @memberof SubscriptionPlanDiscountResponse
11501
11544
  */
11502
11545
  'offPeakRules'?: Array<OffPeakRule>;
11546
+ /**
11547
+ *
11548
+ * @type {Array<PricingPeriodDiscount>}
11549
+ * @memberof SubscriptionPlanDiscountResponse
11550
+ */
11551
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11503
11552
  /**
11504
11553
  *
11505
11554
  * @type {boolean}
@@ -11561,6 +11610,12 @@ export interface SubscriptionPlanDiscountUpdateRequest {
11561
11610
  * @memberof SubscriptionPlanDiscountUpdateRequest
11562
11611
  */
11563
11612
  'pricingPeriodIds'?: Array<string>;
11613
+ /**
11614
+ *
11615
+ * @type {Array<PricingPeriodDiscount>}
11616
+ * @memberof SubscriptionPlanDiscountUpdateRequest
11617
+ */
11618
+ 'pricingPeriodDiscounts'?: Array<PricingPeriodDiscount>;
11564
11619
  /**
11565
11620
  *
11566
11621
  * @type {boolean}
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
9
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
10
+ **isOpen** | **boolean** | | [default to undefined]
10
11
  **creatorName** | **string** | | [default to undefined]
11
12
  **players** | [**Array&lt;AgendaBookingPlayer&gt;**](AgendaBookingPlayer.md) | | [default to undefined]
12
13
  **paymentStatus** | [**BookingInvoicePaymentStatus**](BookingInvoicePaymentStatus.md) | | [default to undefined]
@@ -20,6 +21,7 @@ import { AgendaBooking } from '@tennac-booking/sdk';
20
21
  const instance: AgendaBooking = {
21
22
  id,
22
23
  status,
24
+ isOpen,
23
25
  creatorName,
24
26
  players,
25
27
  paymentStatus,
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **bookingFree** | **boolean** | | [optional] [default to undefined]
9
9
  **offPeakRules** | [**Array&lt;OffPeakRule&gt;**](OffPeakRule.md) | | [optional] [default to undefined]
10
+ **pricingPeriodDiscounts** | [**Array&lt;PricingPeriodDiscount&gt;**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
11
+ **pricingPeriodIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
12
  **offPeakRuleNames** | **Array&lt;string&gt;** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\&#39;ouverture du club. | [optional] [default to undefined]
11
13
  **validTo** | **string** | | [optional] [default to undefined]
12
14
  **validFrom** | **string** | | [optional] [default to undefined]
@@ -22,6 +24,8 @@ import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk';
22
24
  const instance: CreateSubscriptionPlanRequestDiscount = {
23
25
  bookingFree,
24
26
  offPeakRules,
27
+ pricingPeriodDiscounts,
28
+ pricingPeriodIds,
25
29
  offPeakRuleNames,
26
30
  validTo,
27
31
  validFrom,
@@ -0,0 +1,24 @@
1
+ # PricingPeriodDiscount
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **percentage** | **number** | | [default to undefined]
9
+ **pricingPeriodName** | **string** | | [optional] [default to undefined]
10
+ **pricingPeriodId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PricingPeriodDiscount } from '@tennac-booking/sdk';
16
+
17
+ const instance: PricingPeriodDiscount = {
18
+ percentage,
19
+ pricingPeriodName,
20
+ pricingPeriodId,
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)
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **validTo** | **string** | | [optional] [default to undefined]
13
13
  **offPeakRuleNames** | **Array&lt;string&gt;** | | [optional] [default to undefined]
14
14
  **offPeakRules** | [**Array&lt;OffPeakRule&gt;**](OffPeakRule.md) | | [optional] [default to undefined]
15
+ **pricingPeriodDiscounts** | [**Array&lt;PricingPeriodDiscount&gt;**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
15
16
  **bookingFree** | **boolean** | | [optional] [default to undefined]
16
17
 
17
18
  ## Example
@@ -27,6 +28,7 @@ const instance: SubscriptionPlanDiscountResponse = {
27
28
  validTo,
28
29
  offPeakRuleNames,
29
30
  offPeakRules,
31
+ pricingPeriodDiscounts,
30
32
  bookingFree,
31
33
  };
32
34
  ```
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **offPeakRuleNames** | **Array&lt;string&gt;** | | [optional] [default to undefined]
14
14
  **offPeakRules** | [**Array&lt;OffPeakRule&gt;**](OffPeakRule.md) | | [optional] [default to undefined]
15
15
  **pricingPeriodIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
16
+ **pricingPeriodDiscounts** | [**Array&lt;PricingPeriodDiscount&gt;**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
16
17
  **bookingFree** | **boolean** | | [optional] [default to undefined]
17
18
 
18
19
  ## Example
@@ -29,6 +30,7 @@ const instance: SubscriptionPlanDiscountUpdateRequest = {
29
30
  offPeakRuleNames,
30
31
  offPeakRules,
31
32
  pricingPeriodIds,
33
+ pricingPeriodDiscounts,
32
34
  bookingFree,
33
35
  };
34
36
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.190",
3
+ "version": "1.0.192",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {