@tennac-booking/sdk 1.0.123 → 1.0.124

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.
@@ -202,6 +202,8 @@ docs/PaymentByPlayerInfo.md
202
202
  docs/PaymentMethod.md
203
203
  docs/PickIUserLocationExcludeKeyofIUserLocationType.md
204
204
  docs/PlanInterval.md
205
+ docs/PlanPrice.md
206
+ docs/PlanPriceInput.md
205
207
  docs/PlayerCategoriesResponse.md
206
208
  docs/PlayerCategory.md
207
209
  docs/PlayerCategoryId.md
package/README.md CHANGED
@@ -400,6 +400,8 @@ Class | Method | HTTP request | Description
400
400
  - [PaymentMethod](docs/PaymentMethod.md)
401
401
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
402
402
  - [PlanInterval](docs/PlanInterval.md)
403
+ - [PlanPrice](docs/PlanPrice.md)
404
+ - [PlanPriceInput](docs/PlanPriceInput.md)
403
405
  - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
404
406
  - [PlayerCategory](docs/PlayerCategory.md)
405
407
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
package/api.ts CHANGED
@@ -2747,11 +2747,11 @@ export interface ClubPlayerSubscriptionSummary {
2747
2747
  */
2748
2748
  'name': string | null;
2749
2749
  /**
2750
- * Montant en centimes
2751
- * @type {number}
2750
+ * Tarifications disponibles
2751
+ * @type {Array<PlanPrice>}
2752
2752
  * @memberof ClubPlayerSubscriptionSummary
2753
2753
  */
2754
- 'amountInCents': number | null;
2754
+ 'prices': Array<PlanPrice>;
2755
2755
  /**
2756
2756
  * Devise
2757
2757
  * @type {string}
@@ -2759,7 +2759,7 @@ export interface ClubPlayerSubscriptionSummary {
2759
2759
  */
2760
2760
  'currency': string | null;
2761
2761
  /**
2762
- * Intervalle de facturation
2762
+ * Intervalle par défaut
2763
2763
  * @type {string}
2764
2764
  * @memberof ClubPlayerSubscriptionSummary
2765
2765
  */
@@ -3985,6 +3985,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
3985
3985
  * @interface CreatePlan201Response
3986
3986
  */
3987
3987
  export interface CreatePlan201Response {
3988
+ /**
3989
+ *
3990
+ * @type {Array<string>}
3991
+ * @memberof CreatePlan201Response
3992
+ */
3993
+ 'priceIds': Array<string>;
3988
3994
  /**
3989
3995
  *
3990
3996
  * @type {string}
@@ -4099,10 +4105,10 @@ export interface CreateSubscriptionPlanRequest {
4099
4105
  'description'?: string;
4100
4106
  /**
4101
4107
  *
4102
- * @type {number}
4108
+ * @type {Array<PlanPriceInput>}
4103
4109
  * @memberof CreateSubscriptionPlanRequest
4104
4110
  */
4105
- 'amountInCents': number;
4111
+ 'prices': Array<PlanPriceInput>;
4106
4112
  /**
4107
4113
  *
4108
4114
  * @type {string}
@@ -6101,7 +6107,7 @@ export interface MonthlyBreakdown {
6101
6107
  'invoiceCount': number;
6102
6108
  }
6103
6109
  /**
6104
- * Types TSOA pour les analytics du club
6110
+ *
6105
6111
  * @export
6106
6112
  * @interface MonthlyTurnoverResponse
6107
6113
  */
@@ -6545,6 +6551,60 @@ export const PlanInterval = {
6545
6551
  export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
6546
6552
 
6547
6553
 
6554
+ /**
6555
+ *
6556
+ * @export
6557
+ * @interface PlanPrice
6558
+ */
6559
+ export interface PlanPrice {
6560
+ /**
6561
+ *
6562
+ * @type {number}
6563
+ * @memberof PlanPrice
6564
+ */
6565
+ 'amountInCents': number;
6566
+ /**
6567
+ *
6568
+ * @type {PlanInterval}
6569
+ * @memberof PlanPrice
6570
+ */
6571
+ 'interval': PlanInterval;
6572
+ /**
6573
+ *
6574
+ * @type {boolean}
6575
+ * @memberof PlanPrice
6576
+ */
6577
+ 'active'?: boolean;
6578
+ /**
6579
+ *
6580
+ * @type {string}
6581
+ * @memberof PlanPrice
6582
+ */
6583
+ 'stripePriceId'?: string;
6584
+ }
6585
+
6586
+
6587
+ /**
6588
+ *
6589
+ * @export
6590
+ * @interface PlanPriceInput
6591
+ */
6592
+ export interface PlanPriceInput {
6593
+ /**
6594
+ *
6595
+ * @type {number}
6596
+ * @memberof PlanPriceInput
6597
+ */
6598
+ 'amountInCents': number;
6599
+ /**
6600
+ *
6601
+ * @type {PlanInterval}
6602
+ * @memberof PlanPriceInput
6603
+ */
6604
+ 'interval': PlanInterval;
6605
+ }
6606
+
6607
+
6548
6608
  /**
6549
6609
  *
6550
6610
  * @export
@@ -6927,13 +6987,19 @@ export interface PublicSubscriptionPlanResponse {
6927
6987
  * @type {number}
6928
6988
  * @memberof PublicSubscriptionPlanResponse
6929
6989
  */
6930
- 'amountInCents': number;
6990
+ 'amountInCents'?: number;
6931
6991
  /**
6932
6992
  *
6933
6993
  * @type {string}
6934
6994
  * @memberof PublicSubscriptionPlanResponse
6935
6995
  */
6936
6996
  'currency': string;
6997
+ /**
6998
+ *
6999
+ * @type {Array<PlanPrice>}
7000
+ * @memberof PublicSubscriptionPlanResponse
7001
+ */
7002
+ 'prices': Array<PlanPrice>;
6937
7003
  /**
6938
7004
  *
6939
7005
  * @type {PlanInterval}
@@ -7583,6 +7649,12 @@ export interface SendSubscriptionInvitationRequest {
7583
7649
  * @memberof SendSubscriptionInvitationRequest
7584
7650
  */
7585
7651
  'productId': string;
7652
+ /**
7653
+ * Price spécifique proposé dans l\'invitation (facultatif).
7654
+ * @type {string}
7655
+ * @memberof SendSubscriptionInvitationRequest
7656
+ */
7657
+ 'priceId'?: string;
7586
7658
  }
7587
7659
  /**
7588
7660
  *
@@ -9840,13 +9912,19 @@ export interface SubscriptionPlanResponse {
9840
9912
  * @type {number}
9841
9913
  * @memberof SubscriptionPlanResponse
9842
9914
  */
9843
- 'amountInCents': number;
9915
+ 'amountInCents'?: number;
9844
9916
  /**
9845
9917
  *
9846
9918
  * @type {string}
9847
9919
  * @memberof SubscriptionPlanResponse
9848
9920
  */
9849
9921
  'currency': string;
9922
+ /**
9923
+ *
9924
+ * @type {Array<PlanPrice>}
9925
+ * @memberof SubscriptionPlanResponse
9926
+ */
9927
+ 'prices': Array<PlanPrice>;
9850
9928
  /**
9851
9929
  *
9852
9930
  * @type {PlanInterval}
package/dist/api.d.ts CHANGED
@@ -2705,11 +2705,11 @@ export interface ClubPlayerSubscriptionSummary {
2705
2705
  */
2706
2706
  'name': string | null;
2707
2707
  /**
2708
- * Montant en centimes
2709
- * @type {number}
2708
+ * Tarifications disponibles
2709
+ * @type {Array<PlanPrice>}
2710
2710
  * @memberof ClubPlayerSubscriptionSummary
2711
2711
  */
2712
- 'amountInCents': number | null;
2712
+ 'prices': Array<PlanPrice>;
2713
2713
  /**
2714
2714
  * Devise
2715
2715
  * @type {string}
@@ -2717,7 +2717,7 @@ export interface ClubPlayerSubscriptionSummary {
2717
2717
  */
2718
2718
  'currency': string | null;
2719
2719
  /**
2720
- * Intervalle de facturation
2720
+ * Intervalle par défaut
2721
2721
  * @type {string}
2722
2722
  * @memberof ClubPlayerSubscriptionSummary
2723
2723
  */
@@ -3917,6 +3917,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
3917
3917
  * @interface CreatePlan201Response
3918
3918
  */
3919
3919
  export interface CreatePlan201Response {
3920
+ /**
3921
+ *
3922
+ * @type {Array<string>}
3923
+ * @memberof CreatePlan201Response
3924
+ */
3925
+ 'priceIds': Array<string>;
3920
3926
  /**
3921
3927
  *
3922
3928
  * @type {string}
@@ -4031,10 +4037,10 @@ export interface CreateSubscriptionPlanRequest {
4031
4037
  'description'?: string;
4032
4038
  /**
4033
4039
  *
4034
- * @type {number}
4040
+ * @type {Array<PlanPriceInput>}
4035
4041
  * @memberof CreateSubscriptionPlanRequest
4036
4042
  */
4037
- 'amountInCents': number;
4043
+ 'prices': Array<PlanPriceInput>;
4038
4044
  /**
4039
4045
  *
4040
4046
  * @type {string}
@@ -6008,7 +6014,7 @@ export interface MonthlyBreakdown {
6008
6014
  'invoiceCount': number;
6009
6015
  }
6010
6016
  /**
6011
- * Types TSOA pour les analytics du club
6017
+ *
6012
6018
  * @export
6013
6019
  * @interface MonthlyTurnoverResponse
6014
6020
  */
@@ -6448,6 +6454,56 @@ export declare const PlanInterval: {
6448
6454
  readonly Semester: "semester";
6449
6455
  };
6450
6456
  export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
6457
+ /**
6458
+ *
6459
+ * @export
6460
+ * @interface PlanPrice
6461
+ */
6462
+ export interface PlanPrice {
6463
+ /**
6464
+ *
6465
+ * @type {number}
6466
+ * @memberof PlanPrice
6467
+ */
6468
+ 'amountInCents': number;
6469
+ /**
6470
+ *
6471
+ * @type {PlanInterval}
6472
+ * @memberof PlanPrice
6473
+ */
6474
+ 'interval': PlanInterval;
6475
+ /**
6476
+ *
6477
+ * @type {boolean}
6478
+ * @memberof PlanPrice
6479
+ */
6480
+ 'active'?: boolean;
6481
+ /**
6482
+ *
6483
+ * @type {string}
6484
+ * @memberof PlanPrice
6485
+ */
6486
+ 'stripePriceId'?: string;
6487
+ }
6488
+ /**
6489
+ *
6490
+ * @export
6491
+ * @interface PlanPriceInput
6492
+ */
6493
+ export interface PlanPriceInput {
6494
+ /**
6495
+ *
6496
+ * @type {number}
6497
+ * @memberof PlanPriceInput
6498
+ */
6499
+ 'amountInCents': number;
6500
+ /**
6501
+ *
6502
+ * @type {PlanInterval}
6503
+ * @memberof PlanPriceInput
6504
+ */
6505
+ 'interval': PlanInterval;
6506
+ }
6451
6507
  /**
6452
6508
  *
6453
6509
  * @export
@@ -6818,13 +6874,19 @@ export interface PublicSubscriptionPlanResponse {
6818
6874
  * @type {number}
6819
6875
  * @memberof PublicSubscriptionPlanResponse
6820
6876
  */
6821
- 'amountInCents': number;
6877
+ 'amountInCents'?: number;
6822
6878
  /**
6823
6879
  *
6824
6880
  * @type {string}
6825
6881
  * @memberof PublicSubscriptionPlanResponse
6826
6882
  */
6827
6883
  'currency': string;
6884
+ /**
6885
+ *
6886
+ * @type {Array<PlanPrice>}
6887
+ * @memberof PublicSubscriptionPlanResponse
6888
+ */
6889
+ 'prices': Array<PlanPrice>;
6828
6890
  /**
6829
6891
  *
6830
6892
  * @type {PlanInterval}
@@ -7473,6 +7535,12 @@ export interface SendSubscriptionInvitationRequest {
7473
7535
  * @memberof SendSubscriptionInvitationRequest
7474
7536
  */
7475
7537
  'productId': string;
7538
+ /**
7539
+ * Price spécifique proposé dans l\'invitation (facultatif).
7540
+ * @type {string}
7541
+ * @memberof SendSubscriptionInvitationRequest
7542
+ */
7543
+ 'priceId'?: string;
7476
7544
  }
7477
7545
  /**
7478
7546
  *
@@ -9666,13 +9734,19 @@ export interface SubscriptionPlanResponse {
9666
9734
  * @type {number}
9667
9735
  * @memberof SubscriptionPlanResponse
9668
9736
  */
9669
- 'amountInCents': number;
9737
+ 'amountInCents'?: number;
9670
9738
  /**
9671
9739
  *
9672
9740
  * @type {string}
9673
9741
  * @memberof SubscriptionPlanResponse
9674
9742
  */
9675
9743
  'currency': string;
9744
+ /**
9745
+ *
9746
+ * @type {Array<PlanPrice>}
9747
+ * @memberof SubscriptionPlanResponse
9748
+ */
9749
+ 'prices': Array<PlanPrice>;
9676
9750
  /**
9677
9751
  *
9678
9752
  * @type {PlanInterval}
package/dist/esm/api.d.ts CHANGED
@@ -2705,11 +2705,11 @@ export interface ClubPlayerSubscriptionSummary {
2705
2705
  */
2706
2706
  'name': string | null;
2707
2707
  /**
2708
- * Montant en centimes
2709
- * @type {number}
2708
+ * Tarifications disponibles
2709
+ * @type {Array<PlanPrice>}
2710
2710
  * @memberof ClubPlayerSubscriptionSummary
2711
2711
  */
2712
- 'amountInCents': number | null;
2712
+ 'prices': Array<PlanPrice>;
2713
2713
  /**
2714
2714
  * Devise
2715
2715
  * @type {string}
@@ -2717,7 +2717,7 @@ export interface ClubPlayerSubscriptionSummary {
2717
2717
  */
2718
2718
  'currency': string | null;
2719
2719
  /**
2720
- * Intervalle de facturation
2720
+ * Intervalle par défaut
2721
2721
  * @type {string}
2722
2722
  * @memberof ClubPlayerSubscriptionSummary
2723
2723
  */
@@ -3917,6 +3917,12 @@ export interface CreateOnsiteInvoiceResponseInvoice {
3917
3917
  * @interface CreatePlan201Response
3918
3918
  */
3919
3919
  export interface CreatePlan201Response {
3920
+ /**
3921
+ *
3922
+ * @type {Array<string>}
3923
+ * @memberof CreatePlan201Response
3924
+ */
3925
+ 'priceIds': Array<string>;
3920
3926
  /**
3921
3927
  *
3922
3928
  * @type {string}
@@ -4031,10 +4037,10 @@ export interface CreateSubscriptionPlanRequest {
4031
4037
  'description'?: string;
4032
4038
  /**
4033
4039
  *
4034
- * @type {number}
4040
+ * @type {Array<PlanPriceInput>}
4035
4041
  * @memberof CreateSubscriptionPlanRequest
4036
4042
  */
4037
- 'amountInCents': number;
4043
+ 'prices': Array<PlanPriceInput>;
4038
4044
  /**
4039
4045
  *
4040
4046
  * @type {string}
@@ -6008,7 +6014,7 @@ export interface MonthlyBreakdown {
6008
6014
  'invoiceCount': number;
6009
6015
  }
6010
6016
  /**
6011
- * Types TSOA pour les analytics du club
6017
+ *
6012
6018
  * @export
6013
6019
  * @interface MonthlyTurnoverResponse
6014
6020
  */
@@ -6448,6 +6454,56 @@ export declare const PlanInterval: {
6448
6454
  readonly Semester: "semester";
6449
6455
  };
6450
6456
  export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
6457
+ /**
6458
+ *
6459
+ * @export
6460
+ * @interface PlanPrice
6461
+ */
6462
+ export interface PlanPrice {
6463
+ /**
6464
+ *
6465
+ * @type {number}
6466
+ * @memberof PlanPrice
6467
+ */
6468
+ 'amountInCents': number;
6469
+ /**
6470
+ *
6471
+ * @type {PlanInterval}
6472
+ * @memberof PlanPrice
6473
+ */
6474
+ 'interval': PlanInterval;
6475
+ /**
6476
+ *
6477
+ * @type {boolean}
6478
+ * @memberof PlanPrice
6479
+ */
6480
+ 'active'?: boolean;
6481
+ /**
6482
+ *
6483
+ * @type {string}
6484
+ * @memberof PlanPrice
6485
+ */
6486
+ 'stripePriceId'?: string;
6487
+ }
6488
+ /**
6489
+ *
6490
+ * @export
6491
+ * @interface PlanPriceInput
6492
+ */
6493
+ export interface PlanPriceInput {
6494
+ /**
6495
+ *
6496
+ * @type {number}
6497
+ * @memberof PlanPriceInput
6498
+ */
6499
+ 'amountInCents': number;
6500
+ /**
6501
+ *
6502
+ * @type {PlanInterval}
6503
+ * @memberof PlanPriceInput
6504
+ */
6505
+ 'interval': PlanInterval;
6506
+ }
6451
6507
  /**
6452
6508
  *
6453
6509
  * @export
@@ -6818,13 +6874,19 @@ export interface PublicSubscriptionPlanResponse {
6818
6874
  * @type {number}
6819
6875
  * @memberof PublicSubscriptionPlanResponse
6820
6876
  */
6821
- 'amountInCents': number;
6877
+ 'amountInCents'?: number;
6822
6878
  /**
6823
6879
  *
6824
6880
  * @type {string}
6825
6881
  * @memberof PublicSubscriptionPlanResponse
6826
6882
  */
6827
6883
  'currency': string;
6884
+ /**
6885
+ *
6886
+ * @type {Array<PlanPrice>}
6887
+ * @memberof PublicSubscriptionPlanResponse
6888
+ */
6889
+ 'prices': Array<PlanPrice>;
6828
6890
  /**
6829
6891
  *
6830
6892
  * @type {PlanInterval}
@@ -7473,6 +7535,12 @@ export interface SendSubscriptionInvitationRequest {
7473
7535
  * @memberof SendSubscriptionInvitationRequest
7474
7536
  */
7475
7537
  'productId': string;
7538
+ /**
7539
+ * Price spécifique proposé dans l\'invitation (facultatif).
7540
+ * @type {string}
7541
+ * @memberof SendSubscriptionInvitationRequest
7542
+ */
7543
+ 'priceId'?: string;
7476
7544
  }
7477
7545
  /**
7478
7546
  *
@@ -9666,13 +9734,19 @@ export interface SubscriptionPlanResponse {
9666
9734
  * @type {number}
9667
9735
  * @memberof SubscriptionPlanResponse
9668
9736
  */
9669
- 'amountInCents': number;
9737
+ 'amountInCents'?: number;
9670
9738
  /**
9671
9739
  *
9672
9740
  * @type {string}
9673
9741
  * @memberof SubscriptionPlanResponse
9674
9742
  */
9675
9743
  'currency': string;
9744
+ /**
9745
+ *
9746
+ * @type {Array<PlanPrice>}
9747
+ * @memberof SubscriptionPlanResponse
9748
+ */
9749
+ 'prices': Array<PlanPrice>;
9676
9750
  /**
9677
9751
  *
9678
9752
  * @type {PlanInterval}
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | ID du plan d\&#39;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&lt;PlanPrice&gt;**](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&lt;string&gt;** | | [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&lt;PlanPriceInput&gt;**](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,
@@ -1,6 +1,5 @@
1
1
  # MonthlyTurnoverResponse
2
2
 
3
- Types TSOA pour les analytics du club
4
3
 
5
4
  ## Properties
6
5
 
@@ -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)
@@ -0,0 +1,22 @@
1
+ # PlanPriceInput
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
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PlanPriceInput } from '@tennac-booking/sdk';
15
+
16
+ const instance: PlanPriceInput = {
17
+ amountInCents,
18
+ interval,
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)
@@ -7,8 +7,9 @@ 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&lt;PlanPrice&gt;**](PlanPrice.md) | | [default to undefined]
12
13
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
13
14
  **description** | **string** | | [optional] [default to undefined]
14
15
  **discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
@@ -23,6 +24,7 @@ const instance: PublicSubscriptionPlanResponse = {
23
24
  name,
24
25
  amountInCents,
25
26
  currency,
27
+ prices,
26
28
  interval,
27
29
  description,
28
30
  discount,
@@ -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\&#39;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
 
@@ -9,8 +9,9 @@ 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&lt;PlanPrice&gt;**](PlanPrice.md) | | [default to undefined]
14
15
  **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
15
16
  **priceActive** | **boolean** | | [default to undefined]
16
17
  **description** | **string** | | [optional] [default to undefined]
@@ -28,6 +29,7 @@ const instance: SubscriptionPlanResponse = {
28
29
  priceId,
29
30
  amountInCents,
30
31
  currency,
32
+ prices,
31
33
  interval,
32
34
  priceActive,
33
35
  description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.123",
3
+ "version": "1.0.124",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {