@wix/auto_sdk_ecom_delivery-profile 1.0.138 → 1.0.139

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