@wix/auto_sdk_ecom_delivery-profile 1.0.165 → 1.0.167
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 +1 -44
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +1 -44
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -44
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1 -44
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +1 -44
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -44
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +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 +1 -1
- package/build/internal/cjs/index.typings.js +1 -44
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +1 -44
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +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 +1 -1
- package/build/internal/es/index.typings.mjs +1 -44
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +1 -44
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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, UpdateCarrierSettingsOptions, UpdateCarrierSettingsApplicationErrors, SetDeliveryCarrierActiveStatusOptions, SetDeliveryCarrierActiveStatusApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, DeliveryProfileCreatedEnvelope, DeliveryProfileDeletedEnvelope, DeliveryProfileRegionAddedEnvelope, DeliveryProfileRegionRemovedEnvelope, DeliveryProfileRegionUpdatedEnvelope, DeliveryProfileUpdatedEnvelope, DeliveryProfilesQueryBuilder, DeliveryProfileQuery, typedQueryDeliveryProfiles } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, BaseEventMetadata, BulkActionMetadata, ChargeType, ChargeTypeWithLiterals, 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, UpdateCarrierSettingsRequest, UpdateCarrierSettingsResponse, UpdateDeliveryCarrierRequest, UpdateDeliveryProfileRequest, UpdateDeliveryProfileResponse, UpdateDeliveryRegionRequest, UpdateExtendedFieldsRequest, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, BaseEventMetadata, BulkActionMetadata, ChargeType, ChargeTypeWithLiterals, 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, 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 {
|
|
@@ -74,50 +74,7 @@ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
|
74
74
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
75
75
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
76
76
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
77
|
-
const domainToMappings = {
|
|
78
|
-
"manage._base_domain_": [
|
|
79
|
-
{
|
|
80
|
-
srcPath: "/ecom/v1/delivery-profiles",
|
|
81
|
-
destPath: "/v1/delivery-profiles"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"api._api_base_domain_": [
|
|
85
|
-
{
|
|
86
|
-
srcPath: "/delivery-profiles-service",
|
|
87
|
-
destPath: ""
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"www.wixapis.com": [
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/ecom/v1/delivery-profiles",
|
|
93
|
-
destPath: "/v1/delivery-profiles"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
97
|
-
destPath: "/v1/delivery-carriers/update-settings"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"*.dev.wix-code.com": [
|
|
101
|
-
{
|
|
102
|
-
srcPath: "/ecom/v1/delivery-profiles",
|
|
103
|
-
destPath: "/v1/delivery-profiles"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
107
|
-
destPath: "/v1/delivery-carriers/update-settings"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
_: [
|
|
111
|
-
{
|
|
112
|
-
srcPath: "/ecom/v1/delivery-profiles",
|
|
113
|
-
destPath: "/v1/delivery-profiles"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
|
|
117
|
-
destPath: "/v1/delivery-carriers/update-settings"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
};
|
|
77
|
+
const domainToMappings = {};
|
|
121
78
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
122
79
|
}
|
|
123
80
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|