@wix/auto_sdk_ecom_delivery-profile 1.0.223 → 1.0.225
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.d.ts +1 -1
- package/build/cjs/index.js +0 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -20
- package/build/cjs/index.typings.js +0 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -20
- package/build/cjs/meta.js +0 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -20
- package/build/es/index.typings.mjs +0 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -20
- package/build/es/meta.mjs +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -20
- package/build/internal/cjs/index.typings.js +0 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -20
- package/build/internal/cjs/meta.js +0 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -20
- package/build/internal/es/index.typings.mjs +0 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -20
- package/build/internal/es/meta.mjs +0 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -125,36 +125,17 @@ interface BackupRate {
|
|
|
125
125
|
active?: boolean;
|
|
126
126
|
}
|
|
127
127
|
interface AdditionalCharge {
|
|
128
|
-
/**
|
|
129
|
-
* Additional charge type.
|
|
130
|
-
* @deprecated Additional charge type.
|
|
131
|
-
* @targetRemovalDate 2025-04-01
|
|
132
|
-
*/
|
|
133
|
-
type?: ChargeTypeWithLiterals;
|
|
134
128
|
/**
|
|
135
129
|
* Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
|
|
136
130
|
* @maxLength 250
|
|
137
131
|
*/
|
|
138
132
|
description?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Cost of additional charge. For example, `12.5`.
|
|
141
|
-
* @maxLength 16
|
|
142
|
-
* @deprecated Cost of additional charge. For example, `12.5`.
|
|
143
|
-
* @replacedBy amount
|
|
144
|
-
* @targetRemovalDate 2025-04-01
|
|
145
|
-
*/
|
|
146
|
-
price?: string;
|
|
147
133
|
/**
|
|
148
134
|
* Cost of additional charge. For example, `12.5`.
|
|
149
135
|
* @maxLength 16
|
|
150
136
|
*/
|
|
151
137
|
amount?: string;
|
|
152
138
|
}
|
|
153
|
-
declare enum ChargeType {
|
|
154
|
-
HANDLING_FEE = "HANDLING_FEE"
|
|
155
|
-
}
|
|
156
|
-
/** @enumType */
|
|
157
|
-
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
|
|
158
139
|
/** Defines the area inside one country that is relevant for this delivery region. */
|
|
159
140
|
interface Destination {
|
|
160
141
|
/**
|
|
@@ -1742,6 +1723,8 @@ interface DeliveryProfileCreatedEnvelope {
|
|
|
1742
1723
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1743
1724
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1744
1725
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1726
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1727
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1745
1728
|
* @permissionScope Manage eCommerce - all permissions
|
|
1746
1729
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1747
1730
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1763,6 +1746,8 @@ interface DeliveryProfileDeletedEnvelope {
|
|
|
1763
1746
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1764
1747
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1765
1748
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1749
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1750
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1766
1751
|
* @permissionScope Manage eCommerce - all permissions
|
|
1767
1752
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1768
1753
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1784,6 +1769,8 @@ interface DeliveryProfileRegionAddedEnvelope {
|
|
|
1784
1769
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1785
1770
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1786
1771
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1772
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1773
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1787
1774
|
* @permissionScope Manage eCommerce - all permissions
|
|
1788
1775
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1789
1776
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1805,6 +1792,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
|
|
|
1805
1792
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1806
1793
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1807
1794
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1795
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1796
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1808
1797
|
* @permissionScope Manage eCommerce - all permissions
|
|
1809
1798
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1810
1799
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1826,6 +1815,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
|
|
|
1826
1815
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1827
1816
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1828
1817
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1818
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1819
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1829
1820
|
* @permissionScope Manage eCommerce - all permissions
|
|
1830
1821
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1831
1822
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -1849,6 +1840,8 @@ interface DeliveryProfileUpdatedEnvelope {
|
|
|
1849
1840
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1850
1841
|
* @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
|
|
1851
1842
|
* @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
|
|
1843
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
1844
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1852
1845
|
* @permissionScope Manage eCommerce - all permissions
|
|
1853
1846
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
1854
1847
|
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
@@ -2455,4 +2448,4 @@ interface UpdateExtendedFieldsOptions {
|
|
|
2455
2448
|
namespaceData: Record<string, any> | null;
|
|
2456
2449
|
}
|
|
2457
2450
|
|
|
2458
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BaseEventMetadata, type BulkActionMetadata,
|
|
2451
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddDeliveryCarrierApplicationErrors, type AddDeliveryCarrierOptions, type AddDeliveryCarrierRequest, type AddDeliveryCarrierResponse, type AddDeliveryCarrierValidationErrors, type AddDeliveryRegionApplicationErrors, type AddDeliveryRegionOptions, type AddDeliveryRegionRequest, type AddDeliveryRegionResponse, type AddDeliveryRegionValidationErrors, type AdditionalCharge, type ApplicationError, type Asset, type BackupRate, type BaseEventMetadata, type BulkActionMetadata, type Column, type CommonQueryWithEntityContext, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DashboardTable, type DeleteContext, type DeleteDefaultDeliveryProfileRequest, type DeleteDefaultDeliveryProfileResponse, type DeleteDeliveryProfileRequest, type DeleteDeliveryProfileResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryCarrier, type DeliveryCarrierDetails, type DeliveryCarrierRegionalSettings, type DeliveryDestinationProperties, type DeliveryProfile, type DeliveryProfileCreatedEnvelope, type DeliveryProfileDeletedEnvelope, type DeliveryProfileQuery, type DeliveryProfileQuerySpec, type DeliveryProfileRegionAddedEnvelope, type DeliveryProfileRegionRemovedEnvelope, type DeliveryProfileRegionUpdatedEnvelope, type DeliveryProfileUpdatedEnvelope, type DeliveryProfilesQueryBuilder, type DeliveryProfilesQueryResult, type DeliveryRegion, type DeliveryRegionAdded, type DeliveryRegionRemoved, type DeliveryRegionUpdated, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetDeliveryDestinationPropertiesRequest, type GetDeliveryDestinationPropertiesResponse, type GetDeliveryProfileByDeliveryRegionIdApplicationErrors, type GetDeliveryProfileByDeliveryRegionIdRequest, type GetDeliveryProfileByDeliveryRegionIdResponse, type GetDeliveryProfileRequest, type GetDeliveryProfileResponse, type IdentificationData, type IdentificationDataIdOneOf, type InstalledDeliveryCarrier, type ItemMetadata, type ListDeliveryCarriersApplicationErrors, type ListDeliveryCarriersOptions, type ListDeliveryCarriersRequest, type ListDeliveryCarriersResponse, type ListDeliveryCarriersResult, type ListDeliveryDestinationsRequest, type ListDeliveryDestinationsResponse, type ListInstalledDeliveryCarriersRequest, type ListInstalledDeliveryCarriersResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type QueryDeliveryProfilesRequest, type QueryDeliveryProfilesResponse, type RemoveDeliveryCarrierApplicationErrors, type RemoveDeliveryCarrierOptions, type RemoveDeliveryCarrierRequest, type RemoveDeliveryCarrierResponse, type RemoveDeliveryRegionApplicationErrors, type RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse, type RequiredZipcodeRequest, type RequiredZipcodeResponse, type RestoreInfo, type Row, type ServiceProvisioned, type ServiceRemoved, type SetDeliveryCarrierActiveStatusApplicationErrors, type SetDeliveryCarrierActiveStatusOptions, type SetDeliveryCarrierActiveStatusRequest, type SetDeliveryCarrierActiveStatusResponse, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SubdivisionDeliveryProperties, type UpdateCarrierSettingsApplicationErrors, type UpdateCarrierSettingsOptions, type UpdateCarrierSettingsRequest, type UpdateCarrierSettingsResponse, type UpdateDeliveryCarrierApplicationErrors, type UpdateDeliveryCarrierOptions, type UpdateDeliveryCarrierRequest, type UpdateDeliveryCarrierResponse, type UpdateDeliveryProfile, type UpdateDeliveryProfileApplicationErrors, type UpdateDeliveryProfileRequest, type UpdateDeliveryProfileResponse, type UpdateDeliveryRegion, type UpdateDeliveryRegionApplicationErrors, type UpdateDeliveryRegionIdentifiers, type UpdateDeliveryRegionOptions, type UpdateDeliveryRegionRequest, type UpdateDeliveryRegionResponse, type UpdateDeliveryRegionValidationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, onDeliveryProfileCreated, onDeliveryProfileDeleted, onDeliveryProfileRegionAdded, onDeliveryProfileRegionRemoved, onDeliveryProfileRegionUpdated, onDeliveryProfileUpdated, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, setDeliveryCarrierActiveStatus, typedQueryDeliveryProfiles, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
@@ -619,10 +619,6 @@ function updateExtendedFields(payload) {
|
|
|
619
619
|
|
|
620
620
|
// src/ecom-v1-delivery-profile-delivery-profile.universal.ts
|
|
621
621
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
622
|
-
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
623
|
-
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
624
|
-
return ChargeType2;
|
|
625
|
-
})(ChargeType || {});
|
|
626
622
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
627
623
|
SortOrder2["ASC"] = "ASC";
|
|
628
624
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1247,7 +1243,6 @@ async function updateExtendedFields2(_id, namespace, options) {
|
|
|
1247
1243
|
}
|
|
1248
1244
|
}
|
|
1249
1245
|
export {
|
|
1250
|
-
ChargeType,
|
|
1251
1246
|
DeleteStatus,
|
|
1252
1247
|
DestinationScope,
|
|
1253
1248
|
Namespace,
|