@retaila/shared-types 1.1.107 → 1.1.110

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/dist/index.mjs CHANGED
@@ -598,6 +598,73 @@ var ProductCategoryStatus = /* @__PURE__ */ ((ProductCategoryStatus2) => {
598
598
  return ProductCategoryStatus2;
599
599
  })(ProductCategoryStatus || {});
600
600
 
601
+ // src/collection/types.ts
602
+ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
603
+ CollectionType2["MANUAL"] = "MANUAL";
604
+ CollectionType2["AUTOMATIC"] = "AUTOMATIC";
605
+ return CollectionType2;
606
+ })(CollectionType || {});
607
+ var CollectionStatus = /* @__PURE__ */ ((CollectionStatus2) => {
608
+ CollectionStatus2["ACTIVE"] = "ACTIVE";
609
+ CollectionStatus2["INACTIVE"] = "INACTIVE";
610
+ CollectionStatus2["SCHEDULED"] = "SCHEDULED";
611
+ return CollectionStatus2;
612
+ })(CollectionStatus || {});
613
+ var CollectionRulesLogic = /* @__PURE__ */ ((CollectionRulesLogic2) => {
614
+ CollectionRulesLogic2["ALL"] = "ALL";
615
+ CollectionRulesLogic2["ANY"] = "ANY";
616
+ return CollectionRulesLogic2;
617
+ })(CollectionRulesLogic || {});
618
+ var CollectionRuleField = /* @__PURE__ */ ((CollectionRuleField2) => {
619
+ CollectionRuleField2["TAG"] = "TAG";
620
+ CollectionRuleField2["PRICE"] = "PRICE";
621
+ CollectionRuleField2["CATEGORY"] = "CATEGORY";
622
+ CollectionRuleField2["BRAND"] = "BRAND";
623
+ CollectionRuleField2["TITLE"] = "TITLE";
624
+ CollectionRuleField2["STATUS"] = "STATUS";
625
+ CollectionRuleField2["INVENTORY"] = "INVENTORY";
626
+ CollectionRuleField2["CREATED_AT"] = "CREATED_AT";
627
+ return CollectionRuleField2;
628
+ })(CollectionRuleField || {});
629
+ var CollectionRuleOperator = /* @__PURE__ */ ((CollectionRuleOperator2) => {
630
+ CollectionRuleOperator2["EQUALS"] = "EQUALS";
631
+ CollectionRuleOperator2["NOT_EQUALS"] = "NOT_EQUALS";
632
+ CollectionRuleOperator2["CONTAINS"] = "CONTAINS";
633
+ CollectionRuleOperator2["GREATER_THAN"] = "GREATER_THAN";
634
+ CollectionRuleOperator2["LESS_THAN"] = "LESS_THAN";
635
+ CollectionRuleOperator2["IS_SET"] = "IS_SET";
636
+ CollectionRuleOperator2["IS_NOT_SET"] = "IS_NOT_SET";
637
+ return CollectionRuleOperator2;
638
+ })(CollectionRuleOperator || {});
639
+ var CollectionRuleFieldLabels = {
640
+ ["TAG" /* TAG */]: "Etiqueta",
641
+ ["PRICE" /* PRICE */]: "Precio",
642
+ ["CATEGORY" /* CATEGORY */]: "Categor\xEDa",
643
+ ["BRAND" /* BRAND */]: "Marca",
644
+ ["TITLE" /* TITLE */]: "Nombre del producto",
645
+ ["STATUS" /* STATUS */]: "Estado",
646
+ ["INVENTORY" /* INVENTORY */]: "Inventario",
647
+ ["CREATED_AT" /* CREATED_AT */]: "Fecha de creaci\xF3n"
648
+ };
649
+ var CollectionRuleOperatorLabels = {
650
+ ["EQUALS" /* EQUALS */]: "Es igual a",
651
+ ["NOT_EQUALS" /* NOT_EQUALS */]: "No es igual a",
652
+ ["CONTAINS" /* CONTAINS */]: "Contiene",
653
+ ["GREATER_THAN" /* GREATER_THAN */]: "Mayor que",
654
+ ["LESS_THAN" /* LESS_THAN */]: "Menor que",
655
+ ["IS_SET" /* IS_SET */]: "Est\xE1 definido",
656
+ ["IS_NOT_SET" /* IS_NOT_SET */]: "No est\xE1 definido"
657
+ };
658
+ var CollectionTypeLabels = {
659
+ ["MANUAL" /* MANUAL */]: "Manual",
660
+ ["AUTOMATIC" /* AUTOMATIC */]: "Autom\xE1tica"
661
+ };
662
+ var CollectionStatusLabels = {
663
+ ["ACTIVE" /* ACTIVE */]: "Activa",
664
+ ["INACTIVE" /* INACTIVE */]: "Inactiva",
665
+ ["SCHEDULED" /* SCHEDULED */]: "Programada"
666
+ };
667
+
601
668
  // src/campaign/types.ts
602
669
  var CampaignStatus = /* @__PURE__ */ ((CampaignStatus2) => {
603
670
  CampaignStatus2["ACTIVE"] = "active";
@@ -659,6 +726,7 @@ var PubSubTopics = /* @__PURE__ */ ((PubSubTopics2) => {
659
726
  PubSubTopics2["ORDER_CANCELLED"] = "order-cancelled";
660
727
  PubSubTopics2["PAYMENT_PAID"] = "payment-paid";
661
728
  PubSubTopics2["NOTIFICATION_CREATED"] = "notification-created";
729
+ PubSubTopics2["CONTACT_FORM_SUBMITTED"] = "contact-form-submitted";
662
730
  return PubSubTopics2;
663
731
  })(PubSubTopics || {});
664
732
 
@@ -736,6 +804,17 @@ function getFulfillmentStatusInfo(status) {
736
804
  return map[status] ?? { text: String(status), class: "secondary" };
737
805
  }
738
806
 
807
+ // src/storeCustomization/types.ts
808
+ var NavigationItemType = /* @__PURE__ */ ((NavigationItemType2) => {
809
+ NavigationItemType2["HOME"] = "HOME";
810
+ NavigationItemType2["CATALOG"] = "CATALOG";
811
+ NavigationItemType2["CATEGORY"] = "CATEGORY";
812
+ NavigationItemType2["COLLECTION"] = "COLLECTION";
813
+ NavigationItemType2["PAGE"] = "PAGE";
814
+ NavigationItemType2["CUSTOM"] = "CUSTOM";
815
+ return NavigationItemType2;
816
+ })(NavigationItemType || {});
817
+
739
818
  // src/geoZone/types.ts
740
819
  var GeoZoneStatus = /* @__PURE__ */ ((GeoZoneStatus2) => {
741
820
  GeoZoneStatus2["ACTIVE"] = "ACTIVE";
@@ -851,6 +930,15 @@ export {
851
930
  CartItemErrorCode,
852
931
  CartSource,
853
932
  CartStatus,
933
+ CollectionRuleField,
934
+ CollectionRuleFieldLabels,
935
+ CollectionRuleOperator,
936
+ CollectionRuleOperatorLabels,
937
+ CollectionRulesLogic,
938
+ CollectionStatus,
939
+ CollectionStatusLabels,
940
+ CollectionType,
941
+ CollectionTypeLabels,
854
942
  Currency,
855
943
  CustomerStatus,
856
944
  DayOfWeek,
@@ -863,6 +951,7 @@ export {
863
951
  IntegrationDeliveryZoneStatus,
864
952
  IntegrationStatus,
865
953
  MediaType,
954
+ NavigationItemType,
866
955
  OrderDeliveryType,
867
956
  OrderPaymentStatus,
868
957
  OrderSource,