@wix/auto_sdk_ecom_delivery-profile 1.0.109 → 1.0.111
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 +1 -48
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -0
- package/build/cjs/index.typings.js +1 -48
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -48
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -48
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -0
- package/build/es/index.typings.mjs +1 -48
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -48
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -48
- 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 +1 -48
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +1 -48
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -48
- 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 +1 -48
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +1 -48
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
@@ -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";
|