@wix/auto_sdk_ecom_delivery-profile 1.0.159 → 1.0.161
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 -44
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +16 -0
- package/build/cjs/index.typings.js +1 -44
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js +1 -44
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -44
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +16 -0
- package/build/es/index.typings.mjs +1 -44
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs +1 -44
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -44
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +16 -0
- package/build/internal/cjs/index.typings.js +1 -44
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -0
- package/build/internal/cjs/meta.js +1 -44
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -44
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +16 -0
- package/build/internal/es/index.typings.mjs +1 -44
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -0
- package/build/internal/es/meta.mjs +1 -44
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1439,6 +1439,8 @@ interface MessageEnvelope {
|
|
|
1439
1439
|
identity?: IdentificationData;
|
|
1440
1440
|
/** Stringify payload. */
|
|
1441
1441
|
data?: string;
|
|
1442
|
+
/** Details related to the account */
|
|
1443
|
+
accountInfo?: AccountInfo;
|
|
1442
1444
|
}
|
|
1443
1445
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1444
1446
|
/**
|
|
@@ -1686,6 +1688,8 @@ interface BaseEventMetadata {
|
|
|
1686
1688
|
eventType?: string;
|
|
1687
1689
|
/** The identification type and identity data. */
|
|
1688
1690
|
identity?: IdentificationData;
|
|
1691
|
+
/** Details related to the account */
|
|
1692
|
+
accountInfo?: AccountInfo;
|
|
1689
1693
|
}
|
|
1690
1694
|
interface EventMetadata extends BaseEventMetadata {
|
|
1691
1695
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -1738,6 +1742,8 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1738
1742
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1739
1743
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1740
1744
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1745
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1746
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1741
1747
|
* @permissionScope Manage eCommerce - all permissions
|
|
1742
1748
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1743
1749
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1759,6 +1765,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1759
1765
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1760
1766
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1761
1767
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1768
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1769
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1762
1770
|
* @permissionScope Manage eCommerce - all permissions
|
|
1763
1771
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1764
1772
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1780,6 +1788,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1780
1788
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1781
1789
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1782
1790
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1791
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1792
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1783
1793
|
* @permissionScope Manage eCommerce - all permissions
|
|
1784
1794
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1785
1795
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1801,6 +1811,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1801
1811
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1802
1812
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1803
1813
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1814
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1815
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1804
1816
|
* @permissionScope Manage eCommerce - all permissions
|
|
1805
1817
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1806
1818
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1822,6 +1834,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1822
1834
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1823
1835
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1824
1836
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1837
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1838
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1825
1839
|
* @permissionScope Manage eCommerce - all permissions
|
|
1826
1840
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1827
1841
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1845,6 +1859,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1845
1859
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1846
1860
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1847
1861
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1862
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1863
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1848
1864
|
* @permissionScope Manage eCommerce - all permissions
|
|
1849
1865
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1850
1866
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -63,50 +63,7 @@ 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 = {
|
|
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
|
-
};
|
|
66
|
+
const domainToMappings = {};
|
|
110
67
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
111
68
|
}
|
|
112
69
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|