@wix/auto_sdk_pricing-plans_orders 1.0.116 → 1.0.118

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.
@@ -591,7 +591,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
591
591
  /** If present, indicates the action that triggered the event. */
592
592
  originatedFrom?: string | null;
593
593
  /**
594
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
594
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
595
595
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
596
596
  */
597
597
  entityEventSequence?: string | null;
@@ -1823,7 +1823,7 @@ interface EventMetadata extends BaseEventMetadata {
1823
1823
  /** If present, indicates the action that triggered the event. */
1824
1824
  originatedFrom?: string | null;
1825
1825
  /**
1826
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1826
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
1827
1827
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1828
1828
  */
1829
1829
  entityEventSequence?: string | null;
@@ -1847,6 +1847,8 @@ interface OrderCanceledEnvelope {
1847
1847
  * This webhook is triggered either immediately or at the end of the current payment cycle, as follows:
1848
1848
  * + If the order is canceled and `effectiveAt` is set to `IMMEDIATELY`, the webhook is triggered immediately when canceled.
1849
1849
  * + If the order is canceled and `effectiveAt` is set to `NEXT_PAYMENT_DATE`, the webhook is triggered at the end of the current payment cycle. In this case, the Order Auto Renew Canceled Webhook is triggered immediately.
1850
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1851
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1850
1852
  * @permissionScope Manage Orders
1851
1853
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1852
1854
  * @permissionScope Read Orders
@@ -1868,6 +1870,8 @@ interface OrderCreatedEnvelope {
1868
1870
  }
1869
1871
  /**
1870
1872
  * Triggered when an order is created.
1873
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1874
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1871
1875
  * @permissionScope Manage Orders
1872
1876
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1873
1877
  * @permissionScope Read Orders
@@ -1889,6 +1893,8 @@ interface OrderStartDateChangedEnvelope {
1889
1893
  }
1890
1894
  /**
1891
1895
  * Triggered when an order's `startDate` is changed.
1896
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1897
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1892
1898
  * @permissionScope Manage Orders
1893
1899
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1894
1900
  * @permissionScope Read Orders
@@ -1918,6 +1924,8 @@ interface OrderUpdatedEnvelope {
1918
1924
  * + End date of the order is postponed. Order End Date Postponed is also triggered
1919
1925
  * + Order is paused, or a paused order is resumed. Order Paused and Order Resumed, respectively, are also triggered.
1920
1926
  * + Order is canceled, either immediately or at the end of the payment cycle. Order Canceled and Order Auto Renew Canceled, respectively, are also triggered.
1927
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1928
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1921
1929
  * @permissionScope Manage Orders
1922
1930
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1923
1931
  * @permissionScope Read Orders
@@ -1943,6 +1951,8 @@ interface OrderAutoRenewCanceledEnvelope {
1943
1951
  * This webhook is *not* triggered in the following scenarios:
1944
1952
  * + When an order is canceled and `effectiveAt` is set to `IMMEDIATELY`. Instead, at the time of cancellation, Order Canceled is triggered.
1945
1953
  * + When an order expires at the end of the current payment cycle because it was canceled and `effectiveAt` was set to `NEXT_PAYMENT_DATE`. Instead, at the time of expiration, Order Canceled and Order Ended are triggered.
1954
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1955
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1946
1956
  * @permissionScope Manage Orders
1947
1957
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1948
1958
  * @permissionScope Read Orders
@@ -1966,6 +1976,8 @@ interface OrderCycleStartedEnvelope {
1966
1976
  * Triggered at the start of a new payment cycle for an existing order.
1967
1977
  *
1968
1978
  * Not triggered at the initial start of an offline order.
1979
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1980
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1969
1981
  * @permissionScope Manage Orders
1970
1982
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1971
1983
  * @permissionScope Read Orders
@@ -1987,6 +1999,8 @@ interface OrderEndDatePostponedEnvelope {
1987
1999
  }
1988
2000
  /**
1989
2001
  * Triggered when an order's `endDate` is postponed.
2002
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2003
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1990
2004
  * @permissionScope Manage Orders
1991
2005
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
1992
2006
  * @permissionScope Read Orders
@@ -2012,6 +2026,8 @@ interface OrderEndedEnvelope {
2012
2026
  * This webhook is triggered:
2013
2027
  * + When an order expires at the end of the current payment cycle.
2014
2028
  * + When an order is canceled and `effectiveAt` is set to `IMMEDIATELY`.
2029
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2030
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2015
2031
  * @permissionScope Manage Orders
2016
2032
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2017
2033
  * @permissionScope Read Orders
@@ -2033,6 +2049,8 @@ interface OrderMarkedAsPaidEnvelope {
2033
2049
  }
2034
2050
  /**
2035
2051
  * Triggered when an offline order is marked as paid.
2052
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2053
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2036
2054
  * @permissionScope Manage Orders
2037
2055
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2038
2056
  * @permissionScope Read Orders
@@ -2054,6 +2072,8 @@ interface OrderPausedEnvelope {
2054
2072
  }
2055
2073
  /**
2056
2074
  * Triggered when an order is paused.
2075
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2076
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2057
2077
  * @permissionScope Manage Orders
2058
2078
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2059
2079
  * @permissionScope Read Orders
@@ -2079,6 +2099,8 @@ interface OrderPurchasedEnvelope {
2079
2099
  * + At least 1 order cycle payment is paid for.
2080
2100
  * + Offline order is created, even if not yet marked as paid.
2081
2101
  * + Free order is created.
2102
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2103
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2082
2104
  * @permissionScope Manage Orders
2083
2105
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2084
2106
  * @permissionScope Read Orders
@@ -2100,6 +2122,8 @@ interface OrderResumedEnvelope {
2100
2122
  }
2101
2123
  /**
2102
2124
  * Triggered when a paused order is resumed.
2125
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2126
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2103
2127
  * @permissionScope Manage Orders
2104
2128
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2105
2129
  * @permissionScope Read Orders
@@ -2121,6 +2145,8 @@ interface OrderStartedEnvelope {
2121
2145
  }
2122
2146
  /**
2123
2147
  * Triggered when an order reaches its `startDate`. Applies to both purchased and free orders.
2148
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2149
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
2124
2150
  * @permissionScope Manage Orders
2125
2151
  * @permissionScopeId SCOPE.DC-PAIDPLANS.MANAGE-ORDERS
2126
2152
  * @permissionScope Read Orders