@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
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { DeliveryProfile, CreateDeliveryProfileApplicationErrors,
|
|
3
|
-
export { ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, 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, 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, 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, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
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, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, DeliveryProfilesQueryBuilder, DeliveryProfileQuery, typedQueryDeliveryProfiles } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, AddDeliveryCarrierRequest, AddDeliveryRegionRequest, AdditionalCharge, ApplicationError, Asset, BackupRate, 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, 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, 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, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDeliveryProfile$1(httpClient: HttpClient): CreateDeliveryProfileSignature;
|
|
6
6
|
interface CreateDeliveryProfileSignature {
|
|
@@ -16,7 +16,6 @@ interface CreateDeliveryProfileSignature {
|
|
|
16
16
|
*/
|
|
17
17
|
(deliveryProfile: NonNullablePaths<DeliveryProfile, `deliveryRegions.${number}.destinations.${number}.countryCode` | `deliveryRegions.${number}.name` | `name`, 6>): Promise<NonNullablePaths<DeliveryProfile, `deliveryRegions`, 2> & {
|
|
18
18
|
__applicationErrorsType?: CreateDeliveryProfileApplicationErrors;
|
|
19
|
-
__validationErrorsType?: CreateDeliveryProfileValidationErrors;
|
|
20
19
|
}>;
|
|
21
20
|
}
|
|
22
21
|
declare function getDeliveryProfile$1(httpClient: HttpClient): GetDeliveryProfileSignature;
|
|
@@ -172,16 +171,6 @@ interface ListDeliveryCarriersSignature {
|
|
|
172
171
|
__applicationErrorsType?: ListDeliveryCarriersApplicationErrors;
|
|
173
172
|
}>;
|
|
174
173
|
}
|
|
175
|
-
declare function updateCarrierSettings$1(httpClient: HttpClient): UpdateCarrierSettingsSignature;
|
|
176
|
-
interface UpdateCarrierSettingsSignature {
|
|
177
|
-
/**
|
|
178
|
-
* Update carrier's external active settings
|
|
179
|
-
* @param - Carrier id.
|
|
180
|
-
*/
|
|
181
|
-
(carrierId: string, options: NonNullablePaths<UpdateCarrierSettingsOptions, `active` | `rowId`, 2>): Promise<void & {
|
|
182
|
-
__applicationErrorsType?: UpdateCarrierSettingsApplicationErrors;
|
|
183
|
-
}>;
|
|
184
|
-
}
|
|
185
174
|
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
186
175
|
interface UpdateExtendedFieldsSignature {
|
|
187
176
|
/**
|
|
@@ -210,8 +199,7 @@ declare const updateDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof updat
|
|
|
210
199
|
declare const listInstalledDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof listInstalledDeliveryCarriers$1> & typeof listInstalledDeliveryCarriers$1>;
|
|
211
200
|
declare const getDeliveryDestinationProperties: MaybeContext<BuildRESTFunction<typeof getDeliveryDestinationProperties$1> & typeof getDeliveryDestinationProperties$1>;
|
|
212
201
|
declare const listDeliveryCarriers: MaybeContext<BuildRESTFunction<typeof listDeliveryCarriers$1> & typeof listDeliveryCarriers$1>;
|
|
213
|
-
declare const updateCarrierSettings: MaybeContext<BuildRESTFunction<typeof updateCarrierSettings$1> & typeof updateCarrierSettings$1>;
|
|
214
202
|
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
215
203
|
declare const queryDeliveryProfiles: MaybeContext<BuildRESTFunction<typeof customQueryDeliveryProfiles> & typeof customQueryDeliveryProfiles>;
|
|
216
204
|
|
|
217
|
-
export { AddDeliveryCarrierApplicationErrors, AddDeliveryCarrierOptions, AddDeliveryCarrierResponse, AddDeliveryCarrierValidationErrors, AddDeliveryRegionApplicationErrors, AddDeliveryRegionOptions, AddDeliveryRegionResponse, AddDeliveryRegionValidationErrors, CreateDeliveryProfileApplicationErrors,
|
|
205
|
+
export { AddDeliveryCarrierApplicationErrors, AddDeliveryCarrierOptions, AddDeliveryCarrierResponse, AddDeliveryCarrierValidationErrors, AddDeliveryRegionApplicationErrors, AddDeliveryRegionOptions, AddDeliveryRegionResponse, AddDeliveryRegionValidationErrors, CreateDeliveryProfileApplicationErrors, DeliveryProfile, DeliveryProfileQuery, DeliveryProfilesQueryBuilder, DeliveryRegion, GetDeliveryDestinationPropertiesResponse, GetDeliveryProfileByDeliveryRegionIdApplicationErrors, GetDeliveryProfileByDeliveryRegionIdResponse, ListDeliveryCarriersApplicationErrors, ListDeliveryCarriersOptions, ListDeliveryCarriersResponse, ListInstalledDeliveryCarriersResponse, RemoveDeliveryCarrierApplicationErrors, RemoveDeliveryCarrierOptions, RemoveDeliveryCarrierResponse, RemoveDeliveryRegionApplicationErrors, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, UpdateDeliveryCarrierApplicationErrors, UpdateDeliveryCarrierOptions, UpdateDeliveryCarrierResponse, UpdateDeliveryProfile, UpdateDeliveryProfileApplicationErrors, UpdateDeliveryRegion, UpdateDeliveryRegionApplicationErrors, UpdateDeliveryRegionIdentifiers, UpdateDeliveryRegionOptions, UpdateDeliveryRegionResponse, UpdateDeliveryRegionValidationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, addDeliveryCarrier, addDeliveryRegion, createDeliveryProfile, deleteDeliveryProfile, getDeliveryDestinationProperties, getDeliveryProfile, getDeliveryProfileByDeliveryRegionId, listDeliveryCarriers, listInstalledDeliveryCarriers, queryDeliveryProfiles, removeDeliveryCarrier, removeDeliveryRegion, updateDeliveryCarrier, updateDeliveryProfile, updateDeliveryRegion, updateExtendedFields };
|
package/build/cjs/index.js
CHANGED
|
@@ -63,14 +63,6 @@ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
|
63
63
|
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
64
64
|
const domainToMappings = {
|
|
65
65
|
"manage._base_domain_": [
|
|
66
|
-
{
|
|
67
|
-
srcPath: "/ecom/v1/list-delivery-carriers",
|
|
68
|
-
destPath: "/v1/list-delivery-carriers"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
srcPath: "/ecom/v1/list-delivery-carrier-details",
|
|
72
|
-
destPath: "/v1/list-delivery-carrier-details"
|
|
73
|
-
},
|
|
74
66
|
{
|
|
75
67
|
srcPath: "/ecom/v1/delivery-profiles",
|
|
76
68
|
destPath: "/v1/delivery-profiles"
|