@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +44 -7
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -20
  5. package/build/cjs/index.typings.js +44 -7
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -20
  8. package/build/cjs/meta.js +44 -7
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +44 -6
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -20
  14. package/build/es/index.typings.mjs +44 -6
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -20
  17. package/build/es/meta.mjs +44 -6
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +44 -7
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +1 -20
  23. package/build/internal/cjs/index.typings.js +44 -7
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +1 -20
  26. package/build/internal/cjs/meta.js +44 -7
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +44 -6
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +1 -20
  32. package/build/internal/es/index.typings.mjs +44 -6
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +1 -20
  35. package/build/internal/es/meta.mjs +44 -6
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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.mjs';
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.mjs';
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, UpdateCarrierSettingsRequest, UpdateCarrierSettingsResponse, UpdateDeliveryCarrierRequest, UpdateDeliveryProfileRequest, UpdateDeliveryProfileResponse, UpdateDeliveryRegionRequest, UpdateExtendedFieldsRequest, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.mjs';
4
4
 
5
5
  declare function createDeliveryProfile$1(httpClient: HttpClient): CreateDeliveryProfileSignature;
6
6
  interface CreateDeliveryProfileSignature {
@@ -20,7 +20,50 @@ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transform
20
20
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
21
21
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
22
22
  function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
23
- const domainToMappings = {};
23
+ const domainToMappings = {
24
+ "manage._base_domain_": [
25
+ {
26
+ srcPath: "/ecom/v1/delivery-profiles",
27
+ destPath: "/v1/delivery-profiles"
28
+ }
29
+ ],
30
+ "api._api_base_domain_": [
31
+ {
32
+ srcPath: "/delivery-profiles-service",
33
+ destPath: ""
34
+ }
35
+ ],
36
+ "www.wixapis.com": [
37
+ {
38
+ srcPath: "/ecom/v1/delivery-profiles",
39
+ destPath: "/v1/delivery-profiles"
40
+ },
41
+ {
42
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
43
+ destPath: "/v1/delivery-carriers/update-settings"
44
+ }
45
+ ],
46
+ "*.dev.wix-code.com": [
47
+ {
48
+ srcPath: "/ecom/v1/delivery-profiles",
49
+ destPath: "/v1/delivery-profiles"
50
+ },
51
+ {
52
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
53
+ destPath: "/v1/delivery-carriers/update-settings"
54
+ }
55
+ ],
56
+ _: [
57
+ {
58
+ srcPath: "/ecom/v1/delivery-profiles",
59
+ destPath: "/v1/delivery-profiles"
60
+ },
61
+ {
62
+ srcPath: "/ecom/v1/delivery-profiles/update-carrier-settings",
63
+ destPath: "/v1/delivery-carriers/update-settings"
64
+ }
65
+ ]
66
+ };
24
67
  return resolveUrl(Object.assign(opts, { domainToMappings }));
25
68
  }
26
69
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
@@ -582,10 +625,6 @@ function updateExtendedFields(payload) {
582
625
 
583
626
  // src/ecom-v1-delivery-profile-delivery-profile.universal.ts
584
627
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
585
- var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
586
- ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
587
- return ChargeType2;
588
- })(ChargeType || {});
589
628
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
590
629
  SortOrder2["ASC"] = "ASC";
591
630
  SortOrder2["DESC"] = "DESC";
@@ -1498,7 +1537,6 @@ var onDeliveryProfileUpdated2 = createEventModule(
1498
1537
  onDeliveryProfileUpdated
1499
1538
  );
1500
1539
  export {
1501
- ChargeType,
1502
1540
  DeleteStatus,
1503
1541
  DestinationScope,
1504
1542
  Namespace,