@wix/bookings 1.0.1751 → 1.0.1753

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.
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
2521
2521
  /** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
2522
2522
  infoCollectionUrl?: string | null;
2523
2523
  }
2524
+ /** What a limited plan grants, as legacy's row subtitle says it. */
2525
+ interface PlanBenefit {
2526
+ /** Sessions or credits granted; null when the SPI leaves it out. */
2527
+ total: number | null;
2528
+ isSessionBased: boolean;
2529
+ /** Credits one booking of this service costs; null for a session plan. */
2530
+ redemptionCost: number | null;
2531
+ }
2524
2532
  //#endregion
2525
2533
  //#region src/domains/payment-options/from-service.d.ts
2526
2534
  type Service = Service$2;
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
2559
2567
  suffixText: string | null;
2560
2568
  membership: MembershipRowData | null;
2561
2569
  purchasablePlan?: PlanPurchase;
2570
+ /** A plan to buy: what it grants, for its subtitle. */
2571
+ planBenefit?: PlanBenefit | null;
2562
2572
  }
2563
2573
  //#endregion
2564
2574
  //#region src/domains/payment-options/to-booking.d.ts
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
2521
2521
  /** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
2522
2522
  infoCollectionUrl?: string | null;
2523
2523
  }
2524
+ /** What a limited plan grants, as legacy's row subtitle says it. */
2525
+ interface PlanBenefit {
2526
+ /** Sessions or credits granted; null when the SPI leaves it out. */
2527
+ total: number | null;
2528
+ isSessionBased: boolean;
2529
+ /** Credits one booking of this service costs; null for a session plan. */
2530
+ redemptionCost: number | null;
2531
+ }
2524
2532
  //#endregion
2525
2533
  //#region src/domains/payment-options/from-service.d.ts
2526
2534
  type Service = Service$2;
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
2559
2567
  suffixText: string | null;
2560
2568
  membership: MembershipRowData | null;
2561
2569
  purchasablePlan?: PlanPurchase;
2570
+ /** A plan to buy: what it grants, for its subtitle. */
2571
+ planBenefit?: PlanBenefit | null;
2562
2572
  }
2563
2573
  //#endregion
2564
2574
  //#region src/domains/payment-options/to-booking.d.ts
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
2521
2521
  /** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
2522
2522
  infoCollectionUrl?: string | null;
2523
2523
  }
2524
+ /** What a limited plan grants, as legacy's row subtitle says it. */
2525
+ interface PlanBenefit {
2526
+ /** Sessions or credits granted; null when the SPI leaves it out. */
2527
+ total: number | null;
2528
+ isSessionBased: boolean;
2529
+ /** Credits one booking of this service costs; null for a session plan. */
2530
+ redemptionCost: number | null;
2531
+ }
2524
2532
  //#endregion
2525
2533
  //#region src/domains/payment-options/from-service.d.ts
2526
2534
  type Service = Service$2;
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
2559
2567
  suffixText: string | null;
2560
2568
  membership: MembershipRowData | null;
2561
2569
  purchasablePlan?: PlanPurchase;
2570
+ /** A plan to buy: what it grants, for its subtitle. */
2571
+ planBenefit?: PlanBenefit | null;
2562
2572
  }
2563
2573
  //#endregion
2564
2574
  //#region src/domains/payment-options/to-booking.d.ts
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
2521
2521
  /** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
2522
2522
  infoCollectionUrl?: string | null;
2523
2523
  }
2524
+ /** What a limited plan grants, as legacy's row subtitle says it. */
2525
+ interface PlanBenefit {
2526
+ /** Sessions or credits granted; null when the SPI leaves it out. */
2527
+ total: number | null;
2528
+ isSessionBased: boolean;
2529
+ /** Credits one booking of this service costs; null for a session plan. */
2530
+ redemptionCost: number | null;
2531
+ }
2524
2532
  //#endregion
2525
2533
  //#region src/domains/payment-options/from-service.d.ts
2526
2534
  type Service = Service$2;
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
2559
2567
  suffixText: string | null;
2560
2568
  membership: MembershipRowData | null;
2561
2569
  purchasablePlan?: PlanPurchase;
2570
+ /** A plan to buy: what it grants, for its subtitle. */
2571
+ planBenefit?: PlanBenefit | null;
2562
2572
  }
2563
2573
  //#endregion
2564
2574
  //#region src/domains/payment-options/to-booking.d.ts
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
2521
2521
  /** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
2522
2522
  infoCollectionUrl?: string | null;
2523
2523
  }
2524
+ /** What a limited plan grants, as legacy's row subtitle says it. */
2525
+ interface PlanBenefit {
2526
+ /** Sessions or credits granted; null when the SPI leaves it out. */
2527
+ total: number | null;
2528
+ isSessionBased: boolean;
2529
+ /** Credits one booking of this service costs; null for a session plan. */
2530
+ redemptionCost: number | null;
2531
+ }
2524
2532
  //#endregion
2525
2533
  //#region src/domains/payment-options/from-service.d.ts
2526
2534
  type Service = Service$2;
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
2559
2567
  suffixText: string | null;
2560
2568
  membership: MembershipRowData | null;
2561
2569
  purchasablePlan?: PlanPurchase;
2570
+ /** A plan to buy: what it grants, for its subtitle. */
2571
+ planBenefit?: PlanBenefit | null;
2562
2572
  }
2563
2573
  //#endregion
2564
2574
  //#region src/domains/payment-options/to-booking.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.1751",
3
+ "version": "1.0.1753",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -117,7 +117,7 @@
117
117
  "@wix/auto_sdk_bookings_booking-fees": "1.0.62",
118
118
  "@wix/auto_sdk_bookings_booking-policies": "1.0.158",
119
119
  "@wix/auto_sdk_bookings_booking-policy": "1.0.8",
120
- "@wix/auto_sdk_bookings_booking-policy-snapshots": "1.0.59",
120
+ "@wix/auto_sdk_bookings_booking-policy-snapshots": "1.0.60",
121
121
  "@wix/auto_sdk_bookings_bookings": "1.0.256",
122
122
  "@wix/auto_sdk_bookings_bookings-provisioner": "1.0.9",
123
123
  "@wix/auto_sdk_bookings_bookings-settings": "1.0.14",
@@ -180,5 +180,5 @@
180
180
  "optional": true
181
181
  }
182
182
  },
183
- "falconPackageHash": "57ebea6e9b0d33c6790fa3736da405e95cb04ce9026f325d988b0960"
183
+ "falconPackageHash": "0a59d9e816fe617dec2fddc4f9bf61ecd542ed11f664e020dd75b37e"
184
184
  }