@wix/auto_sdk_ecom_delivery-profile 1.0.241 → 1.0.242
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
|
@@ -1723,6 +1723,8 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1723
1723
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1724
1724
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1725
1725
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1726
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1727
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1726
1728
|
* @permissionScope Manage eCommerce - all permissions
|
|
1727
1729
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1728
1730
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1744,6 +1746,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1744
1746
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1745
1747
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1746
1748
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1749
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1750
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1747
1751
|
* @permissionScope Manage eCommerce - all permissions
|
|
1748
1752
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1749
1753
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1765,6 +1769,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1765
1769
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1766
1770
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1767
1771
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1772
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1773
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1768
1774
|
* @permissionScope Manage eCommerce - all permissions
|
|
1769
1775
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1770
1776
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1786,6 +1792,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1786
1792
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1787
1793
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1788
1794
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1795
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1796
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1789
1797
|
* @permissionScope Manage eCommerce - all permissions
|
|
1790
1798
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1791
1799
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1807,6 +1815,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1807
1815
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1808
1816
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1809
1817
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1818
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1819
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1810
1820
|
* @permissionScope Manage eCommerce - all permissions
|
|
1811
1821
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1812
1822
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1830,6 +1840,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1830
1840
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1831
1841
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1832
1842
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1843
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1844
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1833
1845
|
* @permissionScope Manage eCommerce - all permissions
|
|
1834
1846
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1835
1847
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -62,7 +62,50 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
62
62
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
63
63
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
64
64
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
65
|
-
const domainToMappings = {
|
|
65
|
+
const domainToMappings = {
|
|
66
|
+
"manage._base_domain_": [
|
|
67
|
+
{
|
|
68
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
69
|
+
destPath: "/v1/delivery-profiles"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"api._api_base_domain_": [
|
|
73
|
+
{
|
|
74
|
+
srcPath: "/delivery-profiles-service",
|
|
75
|
+
destPath: ""
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"www.wixapis.com": [
|
|
79
|
+
{
|
|
80
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
81
|
+
destPath: "/v1/delivery-profiles"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
85
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"*.dev.wix-code.com": [
|
|
89
|
+
{
|
|
90
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
91
|
+
destPath: "/v1/delivery-profiles"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
95
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
_: [
|
|
99
|
+
{
|
|
100
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
101
|
+
destPath: "/v1/delivery-profiles"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
105
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
};
|
|
66
109
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
67
110
|
}
|
|
68
111
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|