@wix/auto_sdk_bookings_booking-policies 1.0.92 → 1.0.94

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.
@@ -1594,6 +1594,16 @@ type CreateBookingPolicyValidationErrors = {
1594
1594
  ruleName?: 'INVALID_CANCELLATION_WINDOWS_ORDER';
1595
1595
  } | {
1596
1596
  ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
1597
+ } | {
1598
+ ruleName?: 'INTAKE_FORM_ID_REQUIRED';
1599
+ } | {
1600
+ ruleName?: 'INTAKE_FORM_NOT_FOUND';
1601
+ } | {
1602
+ ruleName?: 'INTAKE_FORM_ARCHIVED';
1603
+ } | {
1604
+ ruleName?: 'INTAKE_FORM_APP_NOT_INSTALLED';
1605
+ } | {
1606
+ ruleName?: 'INVALID_COMPLETION_REQUIREMENT_FOR_TIMING';
1597
1607
  };
1598
1608
  /** @docsIgnore */
1599
1609
  type UpdateBookingPolicyValidationErrors = {
@@ -1608,6 +1618,16 @@ type UpdateBookingPolicyValidationErrors = {
1608
1618
  ruleName?: 'INVALID_CANCELLATION_WINDOWS_ORDER';
1609
1619
  } | {
1610
1620
  ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
1621
+ } | {
1622
+ ruleName?: 'INTAKE_FORM_ID_REQUIRED';
1623
+ } | {
1624
+ ruleName?: 'INTAKE_FORM_NOT_FOUND';
1625
+ } | {
1626
+ ruleName?: 'INTAKE_FORM_ARCHIVED';
1627
+ } | {
1628
+ ruleName?: 'INTAKE_FORM_APP_NOT_INSTALLED';
1629
+ } | {
1630
+ ruleName?: 'INVALID_COMPLETION_REQUIREMENT_FOR_TIMING';
1611
1631
  };
1612
1632
  /** @docsIgnore */
1613
1633
  type DeleteBookingPolicyApplicationErrors = {
@@ -1665,8 +1685,6 @@ interface BookingPolicyCreatedEnvelope {
1665
1685
  }
1666
1686
  /**
1667
1687
  * Triggered when a booking policy is created.
1668
- * @permissionScope Manage Stores
1669
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1670
1688
  * @permissionScope Read Bookings - Public Data
1671
1689
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1672
1690
  * @permissionScope Manage Bookings Services and Settings
@@ -1693,8 +1711,6 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1693
1711
  * Triggered when the site's default policy changes. Then,
1694
1712
  * [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated)
1695
1713
  * is also triggered both for the new and the previous default policy.
1696
- * @permissionScope Manage Stores
1697
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1698
1714
  * @permissionScope Read Bookings - Public Data
1699
1715
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1700
1716
  * @permissionScope Manage Bookings Services and Settings
@@ -1718,8 +1734,6 @@ interface BookingPolicyDeletedEnvelope {
1718
1734
  }
1719
1735
  /**
1720
1736
  * Triggered when a booking policy is deleted.
1721
- * @permissionScope Manage Stores
1722
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1723
1737
  * @permissionScope Read Bookings - Public Data
1724
1738
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1725
1739
  * @permissionScope Manage Bookings Services and Settings
@@ -1745,8 +1759,6 @@ interface BookingPolicyUpdatedEnvelope {
1745
1759
  /**
1746
1760
  * Triggered when a booking policy is updated, including when a policy's
1747
1761
  * `default` attribute changes.
1748
- * @permissionScope Manage Stores
1749
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1750
1762
  * @permissionScope Read Bookings - Public Data
1751
1763
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1752
1764
  * @permissionScope Manage Bookings Services and Settings