@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.
@@ -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
@@ -14,50 +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
- "api._api_base_domain_": [
25
- {
26
- srcPath: "/delivery-profiles-service",
27
- destPath: ""
28
- }
29
- ],
30
- "www.wixapis.com": [
31
- {
32
- srcPath: "/ecom/v1/delivery-profiles",
33
- destPath: "/v1/delivery-profiles"
34
- },
35
- {
36
- srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
37
- destPath: "/v1/delivery-carriers/update-settings"
38
- }
39
- ],
40
- "*.dev.wix-code.com": [
41
- {
42
- srcPath: "/ecom/v1/delivery-profiles",
43
- destPath: "/v1/delivery-profiles"
44
- },
45
- {
46
- srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
47
- destPath: "/v1/delivery-carriers/update-settings"
48
- }
49
- ],
50
- _: [
51
- {
52
- srcPath: "/ecom/v1/delivery-profiles",
53
- destPath: "/v1/delivery-profiles"
54
- },
55
- {
56
- srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
57
- destPath: "/v1/delivery-carriers/update-settings"
58
- }
59
- ]
60
- };
17
+ const domainToMappings = {};
61
18
  return resolveUrl(Object.assign(opts, { domainToMappings }));
62
19
  }
63
20
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";