@wix/auto_sdk_ecom_delivery-profile 1.0.207 → 1.0.209
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 +44 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +0 -12
- package/build/cjs/index.typings.js +44 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +44 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +44 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +0 -12
- package/build/es/index.typings.mjs +44 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +44 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +44 -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 +44 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +44 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +44 -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 +44 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +44 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1742,8 +1742,6 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1742
1742
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1743
1743
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1744
1744
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1745
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1746
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1747
1745
|
* @permissionScope Manage eCommerce - all permissions
|
|
1748
1746
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1749
1747
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1765,8 +1763,6 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1765
1763
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1766
1764
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1767
1765
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1768
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1769
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1770
1766
|
* @permissionScope Manage eCommerce - all permissions
|
|
1771
1767
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1772
1768
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1788,8 +1784,6 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1788
1784
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1789
1785
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1790
1786
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1791
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1792
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1793
1787
|
* @permissionScope Manage eCommerce - all permissions
|
|
1794
1788
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1795
1789
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1811,8 +1805,6 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1811
1805
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1812
1806
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1813
1807
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1814
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1815
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1816
1808
|
* @permissionScope Manage eCommerce - all permissions
|
|
1817
1809
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1818
1810
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1834,8 +1826,6 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1834
1826
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1835
1827
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1836
1828
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1837
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1838
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1839
1829
|
* @permissionScope Manage eCommerce - all permissions
|
|
1840
1830
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1841
1831
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1859,8 +1849,6 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1859
1849
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1860
1850
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1861
1851
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1862
|
-
* @permissionScope Manage Restaurants - all permissions
|
|
1863
|
-
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1864
1852
|
* @permissionScope Manage eCommerce - all permissions
|
|
1865
1853
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1866
1854
|
* @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";
|