@wix/auto_sdk_ecom_delivery-profile 1.0.123 → 1.0.125
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 +48 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +21 -0
- package/build/cjs/index.typings.js +48 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +48 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +48 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +21 -0
- package/build/es/index.typings.mjs +48 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +48 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +48 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +21 -0
- package/build/internal/cjs/index.typings.js +48 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +48 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +48 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +21 -0
- package/build/internal/es/index.typings.mjs +48 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +48 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1702,6 +1702,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1702
1702
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1703
1703
|
*/
|
|
1704
1704
|
entityEventSequence?: string | null;
|
|
1705
|
+
accountInfo?: AccountInfoMetadata;
|
|
1706
|
+
}
|
|
1707
|
+
interface AccountInfoMetadata {
|
|
1708
|
+
/** ID of the Wix account associated with the event */
|
|
1709
|
+
accountId: string;
|
|
1710
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
1711
|
+
siteId?: string;
|
|
1712
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
1713
|
+
parentAccountId?: string;
|
|
1705
1714
|
}
|
|
1706
1715
|
interface DeliveryProfileCreatedEnvelope {
|
|
1707
1716
|
entity: DeliveryProfile;
|
|
@@ -1715,6 +1724,8 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1715
1724
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1716
1725
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1717
1726
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1727
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1728
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1718
1729
|
* @permissionScope Manage eCommerce - all permissions
|
|
1719
1730
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1720
1731
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1736,6 +1747,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1736
1747
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1737
1748
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1738
1749
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1750
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1751
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1739
1752
|
* @permissionScope Manage eCommerce - all permissions
|
|
1740
1753
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1741
1754
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1757,6 +1770,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1757
1770
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1758
1771
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1759
1772
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1773
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1774
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1760
1775
|
* @permissionScope Manage eCommerce - all permissions
|
|
1761
1776
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1762
1777
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1778,6 +1793,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1778
1793
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1779
1794
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1780
1795
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1796
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1797
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1781
1798
|
* @permissionScope Manage eCommerce - all permissions
|
|
1782
1799
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1783
1800
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1799,6 +1816,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1799
1816
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1800
1817
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1801
1818
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1819
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1820
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1802
1821
|
* @permissionScope Manage eCommerce - all permissions
|
|
1803
1822
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1804
1823
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1822,6 +1841,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1822
1841
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1823
1842
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1824
1843
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1844
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1845
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1825
1846
|
* @permissionScope Manage eCommerce - all permissions
|
|
1826
1847
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1827
1848
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -63,7 +63,54 @@ 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
|
+
srcPath: "/ecom/v1/delivery-carriers",
|
|
74
|
+
destPath: "/v1/delivery-carriers"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"api._api_base_domain_": [
|
|
78
|
+
{
|
|
79
|
+
srcPath: "/delivery-profiles-service",
|
|
80
|
+
destPath: ""
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"www.wixapis.com": [
|
|
84
|
+
{
|
|
85
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
86
|
+
destPath: "/v1/delivery-profiles"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
90
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"*.dev.wix-code.com": [
|
|
94
|
+
{
|
|
95
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
96
|
+
destPath: "/v1/delivery-profiles"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
100
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
_: [
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
106
|
+
destPath: "/v1/delivery-profiles"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
110
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
};
|
|
67
114
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
68
115
|
}
|
|
69
116
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|