@wix/auto_sdk_ecom_delivery-profile 1.0.90 → 1.0.91

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.
@@ -110,30 +110,6 @@ interface DeliveryCarrier {
110
110
  additionalCharges?: AdditionalCharge[];
111
111
  }
112
112
  interface BackupRate {
113
- /**
114
- * Default rate prefix that will concatenate to the delivery options the provider will offer.
115
- * @minLength 1
116
- * @maxLength 256
117
- * @deprecated Default rate prefix that will concatenate to the delivery options the provider will offer.
118
- * @replacedBy title
119
- * @targetRemovalDate 2025-04-01
120
- */
121
- prefix?: string | null;
122
- /**
123
- * Default rate price for all delivery options that the provider will offer.
124
- * @decimalValue options { gte:0, maxScale:6 }
125
- * @deprecated Default rate price for all delivery options that the provider will offer.
126
- * @replacedBy amount
127
- * @targetRemovalDate 2025-04-01
128
- */
129
- rate?: string | null;
130
- /**
131
- * Should the default rate be used. Default value is false.
132
- * @deprecated Should the default rate be used. Default value is false.
133
- * @replacedBy active
134
- * @targetRemovalDate 2025-04-01
135
- */
136
- enabled?: boolean | null;
137
113
  /**
138
114
  * Default rate title that will concatenate to the delivery options the provider will offer.
139
115
  * @minLength 1
@@ -1700,8 +1676,6 @@ interface DeliveryProfileCreatedEnvelope {
1700
1676
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1701
1677
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1702
1678
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1703
- * @permissionScope Manage Restaurants - all permissions
1704
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1705
1679
  * @permissionScope Manage eCommerce - all permissions
1706
1680
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1707
1681
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1723,8 +1697,6 @@ interface DeliveryProfileDeletedEnvelope {
1723
1697
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1724
1698
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1725
1699
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1726
- * @permissionScope Manage Restaurants - all permissions
1727
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1728
1700
  * @permissionScope Manage eCommerce - all permissions
1729
1701
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1730
1702
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1746,8 +1718,6 @@ interface DeliveryProfileRegionAddedEnvelope {
1746
1718
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1747
1719
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1748
1720
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1749
- * @permissionScope Manage Restaurants - all permissions
1750
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1751
1721
  * @permissionScope Manage eCommerce - all permissions
1752
1722
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1753
1723
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1769,8 +1739,6 @@ interface DeliveryProfileRegionRemovedEnvelope {
1769
1739
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1770
1740
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1771
1741
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1772
- * @permissionScope Manage Restaurants - all permissions
1773
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1774
1742
  * @permissionScope Manage eCommerce - all permissions
1775
1743
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1776
1744
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1792,8 +1760,6 @@ interface DeliveryProfileRegionUpdatedEnvelope {
1792
1760
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1793
1761
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1794
1762
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1795
- * @permissionScope Manage Restaurants - all permissions
1796
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1797
1763
  * @permissionScope Manage eCommerce - all permissions
1798
1764
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1799
1765
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1817,8 +1783,6 @@ interface DeliveryProfileUpdatedEnvelope {
1817
1783
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1818
1784
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1819
1785
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1820
- * @permissionScope Manage Restaurants - all permissions
1821
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1822
1786
  * @permissionScope Manage eCommerce - all permissions
1823
1787
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1824
1788
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -2277,11 +2241,12 @@ interface RemoveDeliveryRegionOptions {
2277
2241
  * @requiredField deliveryRegionId
2278
2242
  * @requiredField options
2279
2243
  * @requiredField options.deliveryCarrier
2244
+ * @requiredField options.deliveryCarrier.backupRate.amount
2280
2245
  * @permissionId ECOM.DELIVERY_CARRIER_ADD
2281
2246
  * @applicableIdentity APP
2282
2247
  * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier
2283
2248
  */
2284
- declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier`, 2>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2249
+ declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier` | `deliveryCarrier.backupRate.amount`, 4>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, `deliveryProfile.deliveryRegions`, 3> & {
2285
2250
  __applicationErrorsType?: AddDeliveryCarrierApplicationErrors;
2286
2251
  __validationErrorsType?: AddDeliveryCarrierValidationErrors;
2287
2252
  }>;