@wix/auto_sdk_ecom_delivery-profile 1.0.224 → 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 +44 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -20
- package/build/cjs/index.typings.js +44 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -20
- package/build/cjs/meta.js +44 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +44 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -20
- package/build/es/index.typings.mjs +44 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -20
- package/build/es/meta.mjs +44 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +44 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -20
- package/build/internal/cjs/index.typings.js +44 -7
- 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 +44 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +44 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -20
- package/build/internal/es/index.typings.mjs +44 -6
- 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 +44 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { DeliveryProfile, CreateDeliveryProfileApplicationErrors, UpdateDeliveryProfile, UpdateDeliveryProfileApplicationErrors, DeliveryRegion, AddDeliveryRegionOptions, AddDeliveryRegionResponse, AddDeliveryRegionApplicationErrors, AddDeliveryRegionValidationErrors, UpdateDeliveryRegionIdentifiers, UpdateDeliveryRegion, UpdateDeliveryRegionOptions, UpdateDeliveryRegionResponse, UpdateDeliveryRegionApplicationErrors, UpdateDeliveryRegionValidationErrors, GetDeliveryProfileByDeliveryRegionIdResponse, GetDeliveryProfileByDeliveryRegionIdApplicationErrors, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, RemoveDeliveryRegionApplicationErrors, AddDeliveryCarrierOptions, AddDeliveryCarrierResponse, AddDeliveryCarrierApplicationErrors, AddDeliveryCarrierValidationErrors, RemoveDeliveryCarrierOptions, RemoveDeliveryCarrierResponse, RemoveDeliveryCarrierApplicationErrors, UpdateDeliveryCarrierOptions, UpdateDeliveryCarrierResponse, UpdateDeliveryCarrierApplicationErrors, ListInstalledDeliveryCarriersResponse, GetDeliveryDestinationPropertiesResponse, ListDeliveryCarriersOptions, ListDeliveryCarriersResponse, ListDeliveryCarriersApplicationErrors, SetDeliveryCarrierActiveStatusOptions, SetDeliveryCarrierActiveStatusApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, DeliveryProfileCreatedEnvelope, DeliveryProfileDeletedEnvelope, DeliveryProfileRegionAddedEnvelope, DeliveryProfileRegionRemovedEnvelope, DeliveryProfileRegionUpdatedEnvelope, DeliveryProfileUpdatedEnvelope, DeliveryProfilesQueryBuilder, DeliveryProfileQuery, typedQueryDeliveryProfiles } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, BaseEventMetadata, BulkActionMetadata,
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, BaseEventMetadata, BulkActionMetadata, Column, CommonQueryWithEntityContext, CountryDeliveryProperties, CreateDeliveryProfileRequest, CreateDeliveryProfileResponse, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DashboardTable, DeleteContext, DeleteDefaultDeliveryProfileRequest, DeleteDefaultDeliveryProfileResponse, DeleteDeliveryProfileRequest, DeleteDeliveryProfileResponse, DeleteStatus, DeleteStatusWithLiterals, DeliveryCarrier, DeliveryCarrierDetails, DeliveryCarrierRegionalSettings, DeliveryDestinationProperties, DeliveryProfileQuerySpec, DeliveryProfilesQueryResult, DeliveryRegionAdded, DeliveryRegionRemoved, DeliveryRegionUpdated, Destination, DestinationScope, DestinationScopeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetDeliveryDestinationPropertiesRequest, GetDeliveryProfileByDeliveryRegionIdRequest, GetDeliveryProfileRequest, GetDeliveryProfileResponse, IdentificationData, IdentificationDataIdOneOf, InstalledDeliveryCarrier, ItemMetadata, ListDeliveryCarriersRequest, ListDeliveryCarriersResult, ListDeliveryDestinationsRequest, ListDeliveryDestinationsResponse, ListInstalledDeliveryCarriersRequest, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, QueryDeliveryProfilesRequest, QueryDeliveryProfilesResponse, RemoveDeliveryCarrierRequest, RemoveDeliveryRegionRequest, RequiredZipcodeRequest, RequiredZipcodeResponse, RestoreInfo, Row, ServiceProvisioned, ServiceRemoved, SetDeliveryCarrierActiveStatusRequest, SetDeliveryCarrierActiveStatusResponse, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SubdivisionDeliveryProperties, UpdateCarrierSettingsApplicationErrors, UpdateCarrierSettingsOptions, UpdateCarrierSettingsRequest, UpdateCarrierSettingsResponse, UpdateDeliveryCarrierRequest, UpdateDeliveryProfileRequest, UpdateDeliveryProfileResponse, UpdateDeliveryRegionRequest, UpdateExtendedFieldsRequest, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDeliveryProfile$1(httpClient: HttpClient): CreateDeliveryProfileSignature;
|
|
6
6
|
interface CreateDeliveryProfileSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -20,7 +20,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
ChargeType: () => ChargeType,
|
|
24
23
|
DeleteStatus: () => DeleteStatus,
|
|
25
24
|
DestinationScope: () => DestinationScope,
|
|
26
25
|
Namespace: () => Namespace,
|
|
@@ -74,7 +73,50 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
74
73
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
75
74
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
76
75
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
77
|
-
const domainToMappings = {
|
|
76
|
+
const domainToMappings = {
|
|
77
|
+
"manage._base_domain_": [
|
|
78
|
+
{
|
|
79
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
80
|
+
destPath: "/v1/delivery-profiles"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"api._api_base_domain_": [
|
|
84
|
+
{
|
|
85
|
+
srcPath: "/delivery-profiles-service",
|
|
86
|
+
destPath: ""
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"www.wixapis.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
|
+
"*.dev.wix-code.com": [
|
|
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
|
+
_: [
|
|
110
|
+
{
|
|
111
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
112
|
+
destPath: "/v1/delivery-profiles"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
116
|
+
destPath: "/v1/delivery-carriers/update-settings"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
};
|
|
78
120
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
79
121
|
}
|
|
80
122
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|
|
@@ -636,10 +678,6 @@ function updateExtendedFields(payload) {
|
|
|
636
678
|
|
|
637
679
|
// src/ecom-v1-delivery-profile-delivery-profile.universal.ts
|
|
638
680
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
639
|
-
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
640
|
-
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
641
|
-
return ChargeType2;
|
|
642
|
-
})(ChargeType || {});
|
|
643
681
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
644
682
|
SortOrder2["ASC"] = "ASC";
|
|
645
683
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1553,7 +1591,6 @@ var onDeliveryProfileUpdated2 = (0, import_event_definition_modules.createEventM
|
|
|
1553
1591
|
);
|
|
1554
1592
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1555
1593
|
0 && (module.exports = {
|
|
1556
|
-
ChargeType,
|
|
1557
1594
|
DeleteStatus,
|
|
1558
1595
|
DestinationScope,
|
|
1559
1596
|
Namespace,
|