@wix/auto_sdk_ecom_delivery-profile 1.0.241 → 1.0.242

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.
@@ -1723,6 +1723,8 @@ interface DeliveryProfileCreatedEnvelope {
1723
1723
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1724
1724
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1725
1725
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1726
+ * @permissionScope Manage Restaurants - all permissions
1727
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1726
1728
  * @permissionScope Manage eCommerce - all permissions
1727
1729
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1728
1730
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1744,6 +1746,8 @@ interface DeliveryProfileDeletedEnvelope {
1744
1746
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1745
1747
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1746
1748
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1749
+ * @permissionScope Manage Restaurants - all permissions
1750
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1747
1751
  * @permissionScope Manage eCommerce - all permissions
1748
1752
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1749
1753
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1765,6 +1769,8 @@ interface DeliveryProfileRegionAddedEnvelope {
1765
1769
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1766
1770
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1767
1771
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1772
+ * @permissionScope Manage Restaurants - all permissions
1773
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1768
1774
  * @permissionScope Manage eCommerce - all permissions
1769
1775
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1770
1776
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1786,6 +1792,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
1786
1792
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1787
1793
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1788
1794
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1795
+ * @permissionScope Manage Restaurants - all permissions
1796
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1789
1797
  * @permissionScope Manage eCommerce - all permissions
1790
1798
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1791
1799
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1807,6 +1815,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
1807
1815
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1808
1816
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1809
1817
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1818
+ * @permissionScope Manage Restaurants - all permissions
1819
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1810
1820
  * @permissionScope Manage eCommerce - all permissions
1811
1821
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1812
1822
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1830,6 +1840,8 @@ interface DeliveryProfileUpdatedEnvelope {
1830
1840
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1831
1841
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1832
1842
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1843
+ * @permissionScope Manage Restaurants - all permissions
1844
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1833
1845
  * @permissionScope Manage eCommerce - all permissions
1834
1846
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1835
1847
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -14,7 +14,50 @@ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transform
14
14
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
15
15
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
16
16
  function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
17
- const domainToMappings = {};
17
+ const domainToMappings = {
18
+ "manage._base_domain_": [
19
+ {
20
+ srcPath: "/ecom/v1/delivery-profiles",
21
+ destPath: "/v1/delivery-profiles"
22
+ }
23
+ ],
24
+ "api._api_base_domain_": [
25
+ {
26
+ srcPath: "/delivery-profiles-service",
27
+ destPath: ""
28
+ }
29
+ ],
30
+ "www.wixapis.com": [
31
+ {
32
+ srcPath: "/ecom/v1/delivery-profiles",
33
+ destPath: "/v1/delivery-profiles"
34
+ },
35
+ {
36
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
37
+ destPath: "/v1/delivery-carriers/update-settings"
38
+ }
39
+ ],
40
+ "*.dev.wix-code.com": [
41
+ {
42
+ srcPath: "/ecom/v1/delivery-profiles",
43
+ destPath: "/v1/delivery-profiles"
44
+ },
45
+ {
46
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
47
+ destPath: "/v1/delivery-carriers/update-settings"
48
+ }
49
+ ],
50
+ _: [
51
+ {
52
+ srcPath: "/ecom/v1/delivery-profiles",
53
+ destPath: "/v1/delivery-profiles"
54
+ },
55
+ {
56
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
57
+ destPath: "/v1/delivery-carriers/update-settings"
58
+ }
59
+ ]
60
+ };
18
61
  return resolveUrl(Object.assign(opts, { domainToMappings }));
19
62
  }
20
63
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";