@wix/auto_sdk_ecom_delivery-profile 1.0.107 → 1.0.109
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.
- package/build/cjs/index.js +48 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +0 -12
- package/build/cjs/index.typings.js +48 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +48 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +48 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +0 -12
- package/build/es/index.typings.mjs +48 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +48 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +48 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +0 -12
- package/build/internal/cjs/index.typings.js +48 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +48 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +48 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +0 -12
- package/build/internal/es/index.typings.mjs +48 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +48 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1715,8 +1715,6 @@ 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
|
|
1720
1718
|
* @permissionScope Manage eCommerce - all permissions
|
|
1721
1719
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1722
1720
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1738,8 +1736,6 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1738
1736
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1739
1737
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1740
1738
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1741
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1742
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1743
1739
|
* @permissionScope Manage eCommerce - all permissions
|
|
1744
1740
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1745
1741
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1761,8 +1757,6 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1761
1757
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1762
1758
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1763
1759
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1764
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1765
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1766
1760
|
* @permissionScope Manage eCommerce - all permissions
|
|
1767
1761
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1768
1762
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1784,8 +1778,6 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1784
1778
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1785
1779
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1786
1780
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1787
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1788
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1789
1781
|
* @permissionScope Manage eCommerce - all permissions
|
|
1790
1782
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1791
1783
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1807,8 +1799,6 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1807
1799
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1808
1800
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1809
1801
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1810
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1811
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1812
1802
|
* @permissionScope Manage eCommerce - all permissions
|
|
1813
1803
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1814
1804
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1832,8 +1822,6 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1832
1822
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1833
1823
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1834
1824
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1835
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1836
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1837
1825
|
* @permissionScope Manage eCommerce - all permissions
|
|
1838
1826
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1839
1827
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -14,7 +14,54 @@ 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
|
+
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
|
+
};
|
|
18
65
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
19
66
|
}
|
|
20
67
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|