@retaila/shared-types 1.1.107 → 1.1.109

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
 
@@ -851,6 +919,15 @@ export {
851
919
  CartItemErrorCode,
852
920
  CartSource,
853
921
  CartStatus,
922
+ CollectionRuleField,
923
+ CollectionRuleFieldLabels,
924
+ CollectionRuleOperator,
925
+ CollectionRuleOperatorLabels,
926
+ CollectionRulesLogic,
927
+ CollectionStatus,
928
+ CollectionStatusLabels,
929
+ CollectionType,
930
+ CollectionTypeLabels,
854
931
  Currency,
855
932
  CustomerStatus,
856
933
  DayOfWeek,