@wix/auto_sdk_ecom_delivery-profile 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.
@@ -1715,6 +1715,8 @@ interface DeliveryProfileCreatedEnvelope {
1715
1715
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1716
1716
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1717
1717
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1718
+ * @permissionScope Manage Restaurants - all permissions
1719
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1718
1720
  * @permissionScope Manage eCommerce - all permissions
1719
1721
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1720
1722
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1736,6 +1738,8 @@ interface DeliveryProfileDeletedEnvelope {
1736
1738
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1737
1739
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1738
1740
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1741
+ * @permissionScope Manage Restaurants - all permissions
1742
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1739
1743
  * @permissionScope Manage eCommerce - all permissions
1740
1744
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1741
1745
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1757,6 +1761,8 @@ interface DeliveryProfileRegionAddedEnvelope {
1757
1761
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1758
1762
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1759
1763
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1764
+ * @permissionScope Manage Restaurants - all permissions
1765
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1760
1766
  * @permissionScope Manage eCommerce - all permissions
1761
1767
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1762
1768
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1778,6 +1784,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
1778
1784
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1779
1785
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1780
1786
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1787
+ * @permissionScope Manage Restaurants - all permissions
1788
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1781
1789
  * @permissionScope Manage eCommerce - all permissions
1782
1790
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1783
1791
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1799,6 +1807,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
1799
1807
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1800
1808
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1801
1809
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1810
+ * @permissionScope Manage Restaurants - all permissions
1811
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1802
1812
  * @permissionScope Manage eCommerce - all permissions
1803
1813
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1804
1814
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1822,6 +1832,8 @@ interface DeliveryProfileUpdatedEnvelope {
1822
1832
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1823
1833
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1824
1834
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1835
+ * @permissionScope Manage Restaurants - all permissions
1836
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1825
1837
  * @permissionScope Manage eCommerce - all permissions
1826
1838
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1827
1839
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -63,7 +63,54 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
63
63
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
64
64
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
65
65
  function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
66
- const domainToMappings = {};
66
+ const domainToMappings = {
67
+ "manage._base_domain_": [
68
+ {
69
+ srcPath: "/ecom/v1/delivery-profiles",
70
+ destPath: "/v1/delivery-profiles"
71
+ },
72
+ {
73
+ srcPath: "/ecom/v1/delivery-carriers",
74
+ destPath: "/v1/delivery-carriers"
75
+ }
76
+ ],
77
+ "api._api_base_domain_": [
78
+ {
79
+ srcPath: "/delivery-profiles-service",
80
+ destPath: ""
81
+ }
82
+ ],
83
+ "www.wixapis.com": [
84
+ {
85
+ srcPath: "/ecom/v1/delivery-profiles",
86
+ destPath: "/v1/delivery-profiles"
87
+ },
88
+ {
89
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
90
+ destPath: "/v1/delivery-carriers/update-settings"
91
+ }
92
+ ],
93
+ "*.dev.wix-code.com": [
94
+ {
95
+ srcPath: "/ecom/v1/delivery-profiles",
96
+ destPath: "/v1/delivery-profiles"
97
+ },
98
+ {
99
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
100
+ destPath: "/v1/delivery-carriers/update-settings"
101
+ }
102
+ ],
103
+ _: [
104
+ {
105
+ srcPath: "/ecom/v1/delivery-profiles",
106
+ destPath: "/v1/delivery-profiles"
107
+ },
108
+ {
109
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
110
+ destPath: "/v1/delivery-carriers/update-settings"
111
+ }
112
+ ]
113
+ };
67
114
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
68
115
  }
69
116
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";