@wix/auto_sdk_ecom_delivery-profile 1.0.182 → 1.0.184
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
|
@@ -1742,6 +1742,8 @@ 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
|
|
1745
1747
|
* @permissionScope Manage eCommerce - all permissions
|
|
1746
1748
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1747
1749
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1763,6 +1765,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1763
1765
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1764
1766
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1765
1767
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1768
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1769
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1766
1770
|
* @permissionScope Manage eCommerce - all permissions
|
|
1767
1771
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1768
1772
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1784,6 +1788,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1784
1788
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1785
1789
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1786
1790
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1791
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1792
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1787
1793
|
* @permissionScope Manage eCommerce - all permissions
|
|
1788
1794
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1789
1795
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1805,6 +1811,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1805
1811
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1806
1812
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1807
1813
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1814
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1815
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1808
1816
|
* @permissionScope Manage eCommerce - all permissions
|
|
1809
1817
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1810
1818
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1826,6 +1834,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1826
1834
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1827
1835
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1828
1836
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1837
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1838
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1829
1839
|
* @permissionScope Manage eCommerce - all permissions
|
|
1830
1840
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1831
1841
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1849,6 +1859,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1849
1859
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1850
1860
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1851
1861
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1862
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1863
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1852
1864
|
* @permissionScope Manage eCommerce - all permissions
|
|
1853
1865
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1854
1866
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -63,7 +63,50 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
63
63
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
64
64
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
65
65
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
66
|
-
const domainToMappings = {
|
|
66
|
+
const domainToMappings = {
|
|
67
|
+
"manage._base_domain_": [
|
|
68
|
+
{
|
|
69
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
70
|
+
destPath: "/v1/delivery-profiles"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"api._api_base_domain_": [
|
|
74
|
+
{
|
|
75
|
+
srcPath: "/delivery-profiles-service",
|
|
76
|
+
destPath: ""
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"www.wixapis.com": [
|
|
80
|
+
{
|
|
81
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
82
|
+
destPath: "/v1/delivery-profiles"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
86
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"*.dev.wix-code.com": [
|
|
90
|
+
{
|
|
91
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
92
|
+
destPath: "/v1/delivery-profiles"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
96
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
_: [
|
|
100
|
+
{
|
|
101
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
102
|
+
destPath: "/v1/delivery-profiles"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
106
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
};
|
|
67
110
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
68
111
|
}
|
|
69
112
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|