@wix/auto_sdk_ecom_delivery-profile 1.0.85 → 1.0.87
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 +3 -15
- package/build/cjs/index.js +0 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -26
- package/build/cjs/index.typings.js +0 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -9
- package/build/cjs/meta.js +0 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -15
- package/build/es/index.mjs +0 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -26
- package/build/es/index.typings.mjs +0 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -9
- package/build/es/meta.mjs +0 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -3
- package/build/internal/cjs/index.js +0 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -11
- package/build/internal/cjs/index.typings.js +0 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -9
- package/build/internal/cjs/meta.js +0 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -3
- package/build/internal/es/index.mjs +0 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -11
- package/build/internal/es/index.typings.mjs +0 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -9
- package/build/internal/es/meta.mjs +0 -8
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1513,10 +1513,6 @@ type CreateDeliveryProfileApplicationErrors = {
|
|
|
1513
1513
|
data?: Record<string, any>;
|
|
1514
1514
|
};
|
|
1515
1515
|
/** @docsIgnore */
|
|
1516
|
-
type CreateDeliveryProfileValidationErrors = {
|
|
1517
|
-
ruleName?: 'DESTINATION_NOT_SUPPORTED';
|
|
1518
|
-
};
|
|
1519
|
-
/** @docsIgnore */
|
|
1520
1516
|
type UpdateDeliveryProfileApplicationErrors = {
|
|
1521
1517
|
code?: 'DELIVERY_REGION_CANNOT_BE_UPDATED';
|
|
1522
1518
|
description?: string;
|
|
@@ -1547,8 +1543,6 @@ type AddDeliveryRegionApplicationErrors = {
|
|
|
1547
1543
|
/** @docsIgnore */
|
|
1548
1544
|
type AddDeliveryRegionValidationErrors = {
|
|
1549
1545
|
ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';
|
|
1550
|
-
} | {
|
|
1551
|
-
ruleName?: 'DESTINATION_NOT_SUPPORTED';
|
|
1552
1546
|
};
|
|
1553
1547
|
/** @docsIgnore */
|
|
1554
1548
|
type UpdateDeliveryRegionApplicationErrors = {
|
|
@@ -1571,8 +1565,6 @@ type UpdateDeliveryRegionApplicationErrors = {
|
|
|
1571
1565
|
/** @docsIgnore */
|
|
1572
1566
|
type UpdateDeliveryRegionValidationErrors = {
|
|
1573
1567
|
ruleName?: 'DELIVERY_REGION_NAME_ALREADY_EXISTS';
|
|
1574
|
-
} | {
|
|
1575
|
-
ruleName?: 'DESTINATION_NOT_SUPPORTED';
|
|
1576
1568
|
};
|
|
1577
1569
|
/** @docsIgnore */
|
|
1578
1570
|
type GetDeliveryProfileByDeliveryRegionIdApplicationErrors = {
|
|
@@ -1673,7 +1665,6 @@ type UpdateCarrierSettingsApplicationErrors = {
|
|
|
1673
1665
|
*/
|
|
1674
1666
|
declare function createDeliveryProfile(deliveryProfile: NonNullablePaths<DeliveryProfile, `deliveryRegions.${number}.destinations.${number}.countryCode` | `deliveryRegions.${number}.name` | `name`, 6>): Promise<NonNullablePaths<DeliveryProfile, `deliveryRegions`, 2> & {
|
|
1675
1667
|
__applicationErrorsType?: CreateDeliveryProfileApplicationErrors;
|
|
1676
|
-
__validationErrorsType?: CreateDeliveryProfileValidationErrors;
|
|
1677
1668
|
}>;
|
|
1678
1669
|
/**
|
|
1679
1670
|
* Retrieves a DeliveryProfile.
|
|
@@ -2195,22 +2186,6 @@ interface ListDeliveryCarriersOptions {
|
|
|
2195
2186
|
*/
|
|
2196
2187
|
appIds?: string[];
|
|
2197
2188
|
}
|
|
2198
|
-
/**
|
|
2199
|
-
* Update carrier's external active settings
|
|
2200
|
-
* @param carrierId - Carrier id.
|
|
2201
|
-
* @public
|
|
2202
|
-
* @documentationMaturity preview
|
|
2203
|
-
* @requiredField carrierId
|
|
2204
|
-
* @requiredField options
|
|
2205
|
-
* @requiredField options.active
|
|
2206
|
-
* @requiredField options.rowId
|
|
2207
|
-
* @permissionId ECOM.DELIVERY_CARRIER_UPDATE
|
|
2208
|
-
* @applicableIdentity APP
|
|
2209
|
-
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings
|
|
2210
|
-
*/
|
|
2211
|
-
declare function updateCarrierSettings(carrierId: string, options: NonNullablePaths<UpdateCarrierSettingsOptions, `active` | `rowId`, 2>): Promise<void & {
|
|
2212
|
-
__applicationErrorsType?: UpdateCarrierSettingsApplicationErrors;
|
|
2213
|
-
}>;
|
|
2214
2189
|
interface UpdateCarrierSettingsOptions {
|
|
2215
2190
|
/**
|
|
2216
2191
|
* Row id triggered the change
|
|
@@ -2240,4 +2215,4 @@ interface UpdateExtendedFieldsOptions {
|
|
|
2240
2215
|
namespaceData: Record<string, any> | null;
|
|
2241
2216
|
}
|
|
2242
2217
|
|
|
2243
|
-
export { 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 BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, type Column, type CommonQueryWithEntityContext, type CountryDeliveryProperties, type CreateDeliveryProfileApplicationErrors, type CreateDeliveryProfileRequest, type CreateDeliveryProfileResponse, type
|
|
2218
|
+
export { 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 BulkActionMetadata, ChargeType, type ChargeTypeWithLiterals, 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 DeliveryProfileQuery, type DeliveryProfileQuerySpec, 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 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 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, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, typedQueryDeliveryProfiles, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
|
@@ -16,14 +16,6 @@ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
|
16
16
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
17
17
|
const domainToMappings = {
|
|
18
18
|
"manage._base_domain_": [
|
|
19
|
-
{
|
|
20
|
-
srcPath: "/ecom/v1/list-delivery-carriers",
|
|
21
|
-
destPath: "/v1/list-delivery-carriers"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
srcPath: "/ecom/v1/list-delivery-carrier-details",
|
|
25
|
-
destPath: "/v1/list-delivery-carrier-details"
|
|
26
|
-
},
|
|
27
19
|
{
|
|
28
20
|
srcPath: "/ecom/v1/delivery-profiles",
|
|
29
21
|
destPath: "/v1/delivery-profiles"
|