@wix/auto_sdk_ecom_delivery-profile 1.0.145 → 1.0.146

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.
@@ -1738,8 +1738,6 @@ interface DeliveryProfileCreatedEnvelope {
1738
1738
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1739
1739
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1740
1740
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1741
- * @permissionScope Manage Restaurants - all permissions
1742
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1743
1741
  * @permissionScope Manage eCommerce - all permissions
1744
1742
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1745
1743
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1761,8 +1759,6 @@ interface DeliveryProfileDeletedEnvelope {
1761
1759
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1762
1760
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1763
1761
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1764
- * @permissionScope Manage Restaurants - all permissions
1765
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1766
1762
  * @permissionScope Manage eCommerce - all permissions
1767
1763
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1768
1764
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1784,8 +1780,6 @@ interface DeliveryProfileRegionAddedEnvelope {
1784
1780
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1785
1781
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1786
1782
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1787
- * @permissionScope Manage Restaurants - all permissions
1788
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1789
1783
  * @permissionScope Manage eCommerce - all permissions
1790
1784
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1791
1785
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1807,8 +1801,6 @@ interface DeliveryProfileRegionRemovedEnvelope {
1807
1801
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1808
1802
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1809
1803
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1810
- * @permissionScope Manage Restaurants - all permissions
1811
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1812
1804
  * @permissionScope Manage eCommerce - all permissions
1813
1805
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1814
1806
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1830,8 +1822,6 @@ interface DeliveryProfileRegionUpdatedEnvelope {
1830
1822
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1831
1823
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1832
1824
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1833
- * @permissionScope Manage Restaurants - all permissions
1834
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1835
1825
  * @permissionScope Manage eCommerce - all permissions
1836
1826
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1837
1827
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1855,8 +1845,6 @@ interface DeliveryProfileUpdatedEnvelope {
1855
1845
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1856
1846
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1857
1847
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1858
- * @permissionScope Manage Restaurants - all permissions
1859
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1860
1848
  * @permissionScope Manage eCommerce - all permissions
1861
1849
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1862
1850
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -14,50 +14,7 @@ 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 = {
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
- };
17
+ const domainToMappings = {};
61
18
  return resolveUrl(Object.assign(opts, { domainToMappings }));
62
19
  }
63
20
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";