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