@retaila/shared-types 1.1.106 → 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.d.mts CHANGED
@@ -349,6 +349,9 @@ interface AccountDeliveryOption {
349
349
  }
350
350
  declare enum AccountDeliveryOptionPriceLogic {
351
351
  FIXED = "FIXED",
352
+ BY_ZONE = "BY_ZONE",
353
+ PROVIDER = "PROVIDER",
354
+ /** @deprecated Use BY_ZONE instead */
352
355
  CALCULATED = "CALCULATED"
353
356
  }
354
357
  declare enum AccountDeliveryOptionStatus {
@@ -367,6 +370,7 @@ interface AccountDeliveryOptionZone {
367
370
  accountId: string;
368
371
  accountDeliveryOptionId: string;
369
372
  geoZoneId: string;
373
+ price?: number | null;
370
374
  status: AccountDeliveryOptionZoneStatus;
371
375
  demo: boolean;
372
376
  createdAt: Date;
@@ -381,6 +385,7 @@ declare enum AccountDeliveryOptionZoneStatus {
381
385
  interface DeliveryZoneInput {
382
386
  geoZoneId?: string;
383
387
  geoZone?: GeoZoneInput;
388
+ price?: number | null;
384
389
  }
385
390
  interface GeoZoneInput {
386
391
  name: string;
@@ -876,6 +881,7 @@ type Fulfillment = {
876
881
  type FulfillmentDeliveryOption = {
877
882
  id: string;
878
883
  name: string;
884
+ deliveryType?: 'SHIPPING' | 'PICKUP';
879
885
  pickupLocations?: PickupLocation[];
880
886
  [key: string]: unknown;
881
887
  };
@@ -1663,6 +1669,114 @@ interface ProductAttributeOption {
1663
1669
  count: number;
1664
1670
  }
1665
1671
 
1672
+ /**
1673
+ * Entidad Collection
1674
+ * Define colecciones de productos para merchandising y agrupaciones flexibles.
1675
+ * Similar al modelo de Shopify Collections.
1676
+ */
1677
+ declare enum CollectionType {
1678
+ MANUAL = "MANUAL",
1679
+ AUTOMATIC = "AUTOMATIC"
1680
+ }
1681
+ declare enum CollectionStatus {
1682
+ ACTIVE = "ACTIVE",
1683
+ INACTIVE = "INACTIVE",
1684
+ SCHEDULED = "SCHEDULED"
1685
+ }
1686
+ declare enum CollectionRulesLogic {
1687
+ ALL = "ALL",
1688
+ ANY = "ANY"
1689
+ }
1690
+ declare enum CollectionRuleField {
1691
+ TAG = "TAG",
1692
+ PRICE = "PRICE",
1693
+ CATEGORY = "CATEGORY",
1694
+ BRAND = "BRAND",
1695
+ TITLE = "TITLE",
1696
+ STATUS = "STATUS",
1697
+ INVENTORY = "INVENTORY",
1698
+ CREATED_AT = "CREATED_AT"
1699
+ }
1700
+ declare enum CollectionRuleOperator {
1701
+ EQUALS = "EQUALS",
1702
+ NOT_EQUALS = "NOT_EQUALS",
1703
+ CONTAINS = "CONTAINS",
1704
+ GREATER_THAN = "GREATER_THAN",
1705
+ LESS_THAN = "LESS_THAN",
1706
+ IS_SET = "IS_SET",
1707
+ IS_NOT_SET = "IS_NOT_SET"
1708
+ }
1709
+ interface CollectionRule {
1710
+ field: CollectionRuleField;
1711
+ operator: CollectionRuleOperator;
1712
+ value: string | number | boolean | null;
1713
+ }
1714
+ interface CollectionMedia {
1715
+ id: string;
1716
+ url: string;
1717
+ name?: string;
1718
+ }
1719
+ interface Collection {
1720
+ id: string;
1721
+ accountId: string;
1722
+ name: string;
1723
+ slug: string;
1724
+ description?: string;
1725
+ imageId?: string;
1726
+ image?: CollectionMedia | null;
1727
+ collectionType: CollectionType;
1728
+ status: CollectionStatus;
1729
+ isFeatured: boolean;
1730
+ rules?: CollectionRule[];
1731
+ rulesLogic: CollectionRulesLogic;
1732
+ publishAt?: Date;
1733
+ unpublishAt?: Date;
1734
+ order: number;
1735
+ productCount?: number;
1736
+ createdAt: Date;
1737
+ updatedAt: Date;
1738
+ deletedAt?: Date;
1739
+ }
1740
+ interface CollectionProductLink {
1741
+ collectionId: string;
1742
+ productId: string;
1743
+ accountId: string;
1744
+ displayOrder: number;
1745
+ addedAt: Date;
1746
+ }
1747
+ interface CreateCollectionDTO {
1748
+ accountId: string;
1749
+ name: string;
1750
+ description?: string;
1751
+ imageId?: string;
1752
+ collectionType: CollectionType;
1753
+ status?: CollectionStatus;
1754
+ isFeatured?: boolean;
1755
+ rules?: CollectionRule[];
1756
+ rulesLogic?: CollectionRulesLogic;
1757
+ publishAt?: Date;
1758
+ unpublishAt?: Date;
1759
+ order?: number;
1760
+ products?: string[];
1761
+ }
1762
+ interface UpdateCollectionDTO {
1763
+ name?: string;
1764
+ description?: string;
1765
+ imageId?: string | null;
1766
+ collectionType?: CollectionType;
1767
+ status?: CollectionStatus;
1768
+ isFeatured?: boolean;
1769
+ rules?: CollectionRule[];
1770
+ rulesLogic?: CollectionRulesLogic;
1771
+ publishAt?: Date | null;
1772
+ unpublishAt?: Date | null;
1773
+ order?: number;
1774
+ }
1775
+ declare const CollectionRuleFieldLabels: Record<CollectionRuleField, string>;
1776
+ declare const CollectionRuleOperatorLabels: Record<CollectionRuleOperator, string>;
1777
+ declare const CollectionTypeLabels: Record<CollectionType, string>;
1778
+ declare const CollectionStatusLabels: Record<CollectionStatus, string>;
1779
+
1666
1780
  declare enum CampaignStatus {
1667
1781
  ACTIVE = "active",
1668
1782
  INACTIVE = "inactive"
@@ -1781,7 +1895,8 @@ declare enum PubSubTopics {
1781
1895
  ORDER_COMPLETED = "order-completed",
1782
1896
  ORDER_CANCELLED = "order-cancelled",
1783
1897
  PAYMENT_PAID = "payment-paid",
1784
- NOTIFICATION_CREATED = "notification-created"
1898
+ NOTIFICATION_CREATED = "notification-created",
1899
+ CONTACT_FORM_SUBMITTED = "contact-form-submitted"
1785
1900
  }
1786
1901
 
1787
1902
  declare enum SupportConversationChannel {
@@ -2631,4 +2746,4 @@ interface AnalyticsPagination {
2631
2746
  total: number;
2632
2747
  }
2633
2748
 
2634
- export { type Account, type AccountAiCreditTransaction, type AccountAiCredits, type AccountBranch, type AccountBranchSchedule, AccountBranchScheduleDay, AccountBranchScheduleStatus, AccountBranchStatus, type AccountCurrencyConfig, type AccountDeliveryOption, type AccountDeliveryOptionCalculatedCost, AccountDeliveryOptionPriceLogic, AccountDeliveryOptionStatus, type AccountDeliveryOptionZone, AccountDeliveryOptionZoneStatus, type AccountDomain, AccountDomainStatus, type AccountExchangeRate, type AccountExchangeRateListResponse, type AccountExchangeRateMetadata, type AccountExchangeRateQueryDto, type AccountExchangeRateResponse, AccountExchangeRateType, type AccountExchangeRateWithEffectiveRate, type AccountIntegration, type AccountIntegrationConfigDTO, AccountIntegrationConnectionStatus, AccountIntegrationEnvironment, AccountIntegrationStatus, type AccountPaymentMethod, AccountPaymentMethodStatus, AccountStatus, type ActiveSession, type Address, type AdminOrderStatusChangeDto, AiCreditSource, AiCreditTransactionReason, AiCreditType, type AiCreditsBalance, type AnalyticsEvent, AnalyticsEventType, type AnalyticsFunnelStep, type AnalyticsOverview, type AnalyticsPageview, type AnalyticsPagination, type AnalyticsQueryParams, type AnalyticsSession, type BaseEntity, type BaseEntityWithAccount, type BaseEntityWithAccountAndUser, type BaseEntityWithUser, type ButtonStyle, type Campaign, type CampaignBudget, CampaignBudgetType, type CampaignBudgetUsage, type CampaignData, type CampaignPerformance, CampaignStatus, type Cart, type CartConfirmDto, type CartDeliveryMethod, type CartDeliveryMethodAdjustment, type CartDeliveryMethodCreateData, type CartDeliveryMethodCreateDto, type CartDeliveryMethodFindParams, type CartDeliveryMethodResponse, type CartDeliveryMethodUpdateData, type CartDeliveryMethodUpdateDto, CartDeliveryType, type CartItem, type CartItemAddDto, type CartItemAttributeDetail, CartItemErrorCode, type CartItemRemoveDto, type CartItemUpdateDto, type CartItemValidation, type CartLineItemAdjustment, type CartPromotion, CartSource, CartStatus, type CartUpdateDto, type CreateAccountDeliveryOptionDTO, type CreateAccountExchangeRateDto, type CreateAnalyticsSessionDto, type CreateDeliveryOptionDto, type CreateExchangeRateDto, type CreateFulfillmentDto, type CreateFulfillmentItemDto, type CreatePromotionDTO, type CreateStoreTemplateDTO, Currency, type CurrencyConversion, type Customer, CustomerStatus, type CustomerUpsertDto, DayOfWeek, DeliveryType, type DeliveryZoneInput, DeviceType, type EffectiveExchangeRate, type ExchangeRate, type ExchangeRateListResponse, type ExchangeRateMetadata, type ExchangeRateQueryDto, type ExchangeRateResponse, type Fulfillment, type FulfillmentDeliveryOption, type FulfillmentItem, type FulfillmentLabel, type FulfillmentLabelCreateData, type FulfillmentLabelUpdateData, type FulfillmentProviderAdapter, type FulfillmentProviderContext, type FulfillmentProviderCreateInput, type FulfillmentProviderCreateOutput, type FulfillmentProviderKey, type FulfillmentProviderProcessWebhookInput, type FulfillmentProviderProcessWebhookOutput, type FulfillmentRecollectionCapabilities, type FulfillmentRecollectionConfig, type FulfillmentRecollectionMode, type FulfillmentRecollectionSchedule, FulfillmentStatus, type FunnelData, FunnelStep, type FunnelStepData, type GeoZone, type GeoZoneInput, GeoZoneStatus, type HistoricalDataPoint, type Integration, IntegrationCategory, type IntegrationDeliveryZone, IntegrationDeliveryZoneStatus, IntegrationStatus, type MapPosition, type Media, MediaType, type NextStatusAction, type Order, type OrderCreateFromCartDto, type OrderDeliveryMethod, type OrderDeliveryMethodAdjustment, type OrderDeliveryMethodCreateData, type OrderDeliveryMethodUpdateData, OrderDeliveryType, type OrderItem, type OrderItemSnapshot, type OrderLineItemAdjustment, OrderPaymentStatus, type OrderPromotion, OrderSource, OrderStatus, type PageData, PageType, type Payment, type PaymentCardBrand, PaymentCardBrandKey, type PaymentConversion, PaymentMethodType, type PaymentProviderAdapter, type PaymentProviderCaptureInput, type PaymentProviderCaptureOutput, type PaymentProviderContext, type PaymentProviderInitInput, type PaymentProviderInitOutput, type PaymentProviderKey, type PaymentProviderRefundInput, type PaymentProviderRefundOutput, type PaymentProviderWebhookResult, PaymentStatus, type Phone, type PickupLocation, type Product, type ProductAnalyticsData, type ProductAnalyticsItem, type ProductAttribute, type ProductAttributeOption, ProductAttributeStatus, ProductAttributeType, type ProductCategory, ProductCategoryStatus, ProductStatus, ProductType, type ProductVariant, ProductVariantStatus, type Promotion, type PromotionApplicationMethod, type PromotionApplicationMethodInput, type PromotionApplicationMethodPromotionRule, PromotionApplicationType, type PromotionListFilters, type PromotionPromotionRule, type PromotionRule, type PromotionRuleInput, PromotionRuleOperator, type PromotionRuleValue, PromotionStatus, PromotionTargetType, PromotionType, PubSubTopics, type RealtimeAnalytics, type RecentEvent, type RoundingConfig, RoundingMethod, RoundingRule, type SessionHeartbeatDto, type StandardCategory, StandardCategoryStatus, type StatusChangeHistory, type StatusFlow, type StoreBanner, StoreBannerStatus, type StoreCustomization, type StoreCustomizationComponentSettings, type StoreCustomizationLayoutComponent, type StoreCustomizationPage, type StoreCustomizationPageComponent, type StoreCustomizationSeo, type StoreCustomizationThemeButtons, type StoreCustomizationThemeColors, type StoreCustomizationThemeTypography, type StorePage, StorePageStatus, StorePageType, type StoreSettings, type StoreTemplate, type StoreTemplateMocks, type SupportConversation, SupportConversationChannel, type SupportConversationMessage, SupportConversationMessageAiAnalysisStatus, SupportConversationMessageDeliveryStatus, SupportConversationMessageDirection, SupportConversationMessageSenderType, SupportConversationPriority, SupportConversationStatus, SupportConversationVisibility, type ThemeConfig, type TopPagesData, type TrackEventDto, type TrackPageviewDto, TrafficSource, type TrafficSourceItem, type TrafficSourcesData, type UpdateAccountDeliveryOptionDTO, type UpdateAccountExchangeRateAllDto, type UpdateAccountExchangeRateDto, type UpdateExchangeRateDto, type UpdateFulfillmentDto, type UpdatePromotionDTO, type UpdateStoreTemplateDTO, type Webhook, type WebhookPayload, getAccountPaymentMethodStatusInfo, getCurrencySymbol, getFulfillmentStatusInfo, getIntegrationCategoryName, getOrderPaymentStatusInfo, getOrderStatusInfo, getPaymentCardBrand, getPaymentStatusInfo, getProductStatusInfo, parsePriceFormatPattern };
2749
+ export { type Account, type AccountAiCreditTransaction, type AccountAiCredits, type AccountBranch, type AccountBranchSchedule, AccountBranchScheduleDay, AccountBranchScheduleStatus, AccountBranchStatus, type AccountCurrencyConfig, type AccountDeliveryOption, type AccountDeliveryOptionCalculatedCost, AccountDeliveryOptionPriceLogic, AccountDeliveryOptionStatus, type AccountDeliveryOptionZone, AccountDeliveryOptionZoneStatus, type AccountDomain, AccountDomainStatus, type AccountExchangeRate, type AccountExchangeRateListResponse, type AccountExchangeRateMetadata, type AccountExchangeRateQueryDto, type AccountExchangeRateResponse, AccountExchangeRateType, type AccountExchangeRateWithEffectiveRate, type AccountIntegration, type AccountIntegrationConfigDTO, AccountIntegrationConnectionStatus, AccountIntegrationEnvironment, AccountIntegrationStatus, type AccountPaymentMethod, AccountPaymentMethodStatus, AccountStatus, type ActiveSession, type Address, type AdminOrderStatusChangeDto, AiCreditSource, AiCreditTransactionReason, AiCreditType, type AiCreditsBalance, type AnalyticsEvent, AnalyticsEventType, type AnalyticsFunnelStep, type AnalyticsOverview, type AnalyticsPageview, type AnalyticsPagination, type AnalyticsQueryParams, type AnalyticsSession, type BaseEntity, type BaseEntityWithAccount, type BaseEntityWithAccountAndUser, type BaseEntityWithUser, type ButtonStyle, type Campaign, type CampaignBudget, CampaignBudgetType, type CampaignBudgetUsage, type CampaignData, type CampaignPerformance, CampaignStatus, type Cart, type CartConfirmDto, type CartDeliveryMethod, type CartDeliveryMethodAdjustment, type CartDeliveryMethodCreateData, type CartDeliveryMethodCreateDto, type CartDeliveryMethodFindParams, type CartDeliveryMethodResponse, type CartDeliveryMethodUpdateData, type CartDeliveryMethodUpdateDto, CartDeliveryType, type CartItem, type CartItemAddDto, type CartItemAttributeDetail, CartItemErrorCode, type CartItemRemoveDto, type CartItemUpdateDto, type CartItemValidation, type CartLineItemAdjustment, type CartPromotion, CartSource, CartStatus, type CartUpdateDto, type Collection, type CollectionMedia, type CollectionProductLink, type CollectionRule, CollectionRuleField, CollectionRuleFieldLabels, CollectionRuleOperator, CollectionRuleOperatorLabels, CollectionRulesLogic, CollectionStatus, CollectionStatusLabels, CollectionType, CollectionTypeLabels, type CreateAccountDeliveryOptionDTO, type CreateAccountExchangeRateDto, type CreateAnalyticsSessionDto, type CreateCollectionDTO, type CreateDeliveryOptionDto, type CreateExchangeRateDto, type CreateFulfillmentDto, type CreateFulfillmentItemDto, type CreatePromotionDTO, type CreateStoreTemplateDTO, Currency, type CurrencyConversion, type Customer, CustomerStatus, type CustomerUpsertDto, DayOfWeek, DeliveryType, type DeliveryZoneInput, DeviceType, type EffectiveExchangeRate, type ExchangeRate, type ExchangeRateListResponse, type ExchangeRateMetadata, type ExchangeRateQueryDto, type ExchangeRateResponse, type Fulfillment, type FulfillmentDeliveryOption, type FulfillmentItem, type FulfillmentLabel, type FulfillmentLabelCreateData, type FulfillmentLabelUpdateData, type FulfillmentProviderAdapter, type FulfillmentProviderContext, type FulfillmentProviderCreateInput, type FulfillmentProviderCreateOutput, type FulfillmentProviderKey, type FulfillmentProviderProcessWebhookInput, type FulfillmentProviderProcessWebhookOutput, type FulfillmentRecollectionCapabilities, type FulfillmentRecollectionConfig, type FulfillmentRecollectionMode, type FulfillmentRecollectionSchedule, FulfillmentStatus, type FunnelData, FunnelStep, type FunnelStepData, type GeoZone, type GeoZoneInput, GeoZoneStatus, type HistoricalDataPoint, type Integration, IntegrationCategory, type IntegrationDeliveryZone, IntegrationDeliveryZoneStatus, IntegrationStatus, type MapPosition, type Media, MediaType, type NextStatusAction, type Order, type OrderCreateFromCartDto, type OrderDeliveryMethod, type OrderDeliveryMethodAdjustment, type OrderDeliveryMethodCreateData, type OrderDeliveryMethodUpdateData, OrderDeliveryType, type OrderItem, type OrderItemSnapshot, type OrderLineItemAdjustment, OrderPaymentStatus, type OrderPromotion, OrderSource, OrderStatus, type PageData, PageType, type Payment, type PaymentCardBrand, PaymentCardBrandKey, type PaymentConversion, PaymentMethodType, type PaymentProviderAdapter, type PaymentProviderCaptureInput, type PaymentProviderCaptureOutput, type PaymentProviderContext, type PaymentProviderInitInput, type PaymentProviderInitOutput, type PaymentProviderKey, type PaymentProviderRefundInput, type PaymentProviderRefundOutput, type PaymentProviderWebhookResult, PaymentStatus, type Phone, type PickupLocation, type Product, type ProductAnalyticsData, type ProductAnalyticsItem, type ProductAttribute, type ProductAttributeOption, ProductAttributeStatus, ProductAttributeType, type ProductCategory, ProductCategoryStatus, ProductStatus, ProductType, type ProductVariant, ProductVariantStatus, type Promotion, type PromotionApplicationMethod, type PromotionApplicationMethodInput, type PromotionApplicationMethodPromotionRule, PromotionApplicationType, type PromotionListFilters, type PromotionPromotionRule, type PromotionRule, type PromotionRuleInput, PromotionRuleOperator, type PromotionRuleValue, PromotionStatus, PromotionTargetType, PromotionType, PubSubTopics, type RealtimeAnalytics, type RecentEvent, type RoundingConfig, RoundingMethod, RoundingRule, type SessionHeartbeatDto, type StandardCategory, StandardCategoryStatus, type StatusChangeHistory, type StatusFlow, type StoreBanner, StoreBannerStatus, type StoreCustomization, type StoreCustomizationComponentSettings, type StoreCustomizationLayoutComponent, type StoreCustomizationPage, type StoreCustomizationPageComponent, type StoreCustomizationSeo, type StoreCustomizationThemeButtons, type StoreCustomizationThemeColors, type StoreCustomizationThemeTypography, type StorePage, StorePageStatus, StorePageType, type StoreSettings, type StoreTemplate, type StoreTemplateMocks, type SupportConversation, SupportConversationChannel, type SupportConversationMessage, SupportConversationMessageAiAnalysisStatus, SupportConversationMessageDeliveryStatus, SupportConversationMessageDirection, SupportConversationMessageSenderType, SupportConversationPriority, SupportConversationStatus, SupportConversationVisibility, type ThemeConfig, type TopPagesData, type TrackEventDto, type TrackPageviewDto, TrafficSource, type TrafficSourceItem, type TrafficSourcesData, type UpdateAccountDeliveryOptionDTO, type UpdateAccountExchangeRateAllDto, type UpdateAccountExchangeRateDto, type UpdateCollectionDTO, type UpdateExchangeRateDto, type UpdateFulfillmentDto, type UpdatePromotionDTO, type UpdateStoreTemplateDTO, type Webhook, type WebhookPayload, getAccountPaymentMethodStatusInfo, getCurrencySymbol, getFulfillmentStatusInfo, getIntegrationCategoryName, getOrderPaymentStatusInfo, getOrderStatusInfo, getPaymentCardBrand, getPaymentStatusInfo, getProductStatusInfo, parsePriceFormatPattern };
package/dist/index.d.ts CHANGED
@@ -349,6 +349,9 @@ interface AccountDeliveryOption {
349
349
  }
350
350
  declare enum AccountDeliveryOptionPriceLogic {
351
351
  FIXED = "FIXED",
352
+ BY_ZONE = "BY_ZONE",
353
+ PROVIDER = "PROVIDER",
354
+ /** @deprecated Use BY_ZONE instead */
352
355
  CALCULATED = "CALCULATED"
353
356
  }
354
357
  declare enum AccountDeliveryOptionStatus {
@@ -367,6 +370,7 @@ interface AccountDeliveryOptionZone {
367
370
  accountId: string;
368
371
  accountDeliveryOptionId: string;
369
372
  geoZoneId: string;
373
+ price?: number | null;
370
374
  status: AccountDeliveryOptionZoneStatus;
371
375
  demo: boolean;
372
376
  createdAt: Date;
@@ -381,6 +385,7 @@ declare enum AccountDeliveryOptionZoneStatus {
381
385
  interface DeliveryZoneInput {
382
386
  geoZoneId?: string;
383
387
  geoZone?: GeoZoneInput;
388
+ price?: number | null;
384
389
  }
385
390
  interface GeoZoneInput {
386
391
  name: string;
@@ -876,6 +881,7 @@ type Fulfillment = {
876
881
  type FulfillmentDeliveryOption = {
877
882
  id: string;
878
883
  name: string;
884
+ deliveryType?: 'SHIPPING' | 'PICKUP';
879
885
  pickupLocations?: PickupLocation[];
880
886
  [key: string]: unknown;
881
887
  };
@@ -1663,6 +1669,114 @@ interface ProductAttributeOption {
1663
1669
  count: number;
1664
1670
  }
1665
1671
 
1672
+ /**
1673
+ * Entidad Collection
1674
+ * Define colecciones de productos para merchandising y agrupaciones flexibles.
1675
+ * Similar al modelo de Shopify Collections.
1676
+ */
1677
+ declare enum CollectionType {
1678
+ MANUAL = "MANUAL",
1679
+ AUTOMATIC = "AUTOMATIC"
1680
+ }
1681
+ declare enum CollectionStatus {
1682
+ ACTIVE = "ACTIVE",
1683
+ INACTIVE = "INACTIVE",
1684
+ SCHEDULED = "SCHEDULED"
1685
+ }
1686
+ declare enum CollectionRulesLogic {
1687
+ ALL = "ALL",
1688
+ ANY = "ANY"
1689
+ }
1690
+ declare enum CollectionRuleField {
1691
+ TAG = "TAG",
1692
+ PRICE = "PRICE",
1693
+ CATEGORY = "CATEGORY",
1694
+ BRAND = "BRAND",
1695
+ TITLE = "TITLE",
1696
+ STATUS = "STATUS",
1697
+ INVENTORY = "INVENTORY",
1698
+ CREATED_AT = "CREATED_AT"
1699
+ }
1700
+ declare enum CollectionRuleOperator {
1701
+ EQUALS = "EQUALS",
1702
+ NOT_EQUALS = "NOT_EQUALS",
1703
+ CONTAINS = "CONTAINS",
1704
+ GREATER_THAN = "GREATER_THAN",
1705
+ LESS_THAN = "LESS_THAN",
1706
+ IS_SET = "IS_SET",
1707
+ IS_NOT_SET = "IS_NOT_SET"
1708
+ }
1709
+ interface CollectionRule {
1710
+ field: CollectionRuleField;
1711
+ operator: CollectionRuleOperator;
1712
+ value: string | number | boolean | null;
1713
+ }
1714
+ interface CollectionMedia {
1715
+ id: string;
1716
+ url: string;
1717
+ name?: string;
1718
+ }
1719
+ interface Collection {
1720
+ id: string;
1721
+ accountId: string;
1722
+ name: string;
1723
+ slug: string;
1724
+ description?: string;
1725
+ imageId?: string;
1726
+ image?: CollectionMedia | null;
1727
+ collectionType: CollectionType;
1728
+ status: CollectionStatus;
1729
+ isFeatured: boolean;
1730
+ rules?: CollectionRule[];
1731
+ rulesLogic: CollectionRulesLogic;
1732
+ publishAt?: Date;
1733
+ unpublishAt?: Date;
1734
+ order: number;
1735
+ productCount?: number;
1736
+ createdAt: Date;
1737
+ updatedAt: Date;
1738
+ deletedAt?: Date;
1739
+ }
1740
+ interface CollectionProductLink {
1741
+ collectionId: string;
1742
+ productId: string;
1743
+ accountId: string;
1744
+ displayOrder: number;
1745
+ addedAt: Date;
1746
+ }
1747
+ interface CreateCollectionDTO {
1748
+ accountId: string;
1749
+ name: string;
1750
+ description?: string;
1751
+ imageId?: string;
1752
+ collectionType: CollectionType;
1753
+ status?: CollectionStatus;
1754
+ isFeatured?: boolean;
1755
+ rules?: CollectionRule[];
1756
+ rulesLogic?: CollectionRulesLogic;
1757
+ publishAt?: Date;
1758
+ unpublishAt?: Date;
1759
+ order?: number;
1760
+ products?: string[];
1761
+ }
1762
+ interface UpdateCollectionDTO {
1763
+ name?: string;
1764
+ description?: string;
1765
+ imageId?: string | null;
1766
+ collectionType?: CollectionType;
1767
+ status?: CollectionStatus;
1768
+ isFeatured?: boolean;
1769
+ rules?: CollectionRule[];
1770
+ rulesLogic?: CollectionRulesLogic;
1771
+ publishAt?: Date | null;
1772
+ unpublishAt?: Date | null;
1773
+ order?: number;
1774
+ }
1775
+ declare const CollectionRuleFieldLabels: Record<CollectionRuleField, string>;
1776
+ declare const CollectionRuleOperatorLabels: Record<CollectionRuleOperator, string>;
1777
+ declare const CollectionTypeLabels: Record<CollectionType, string>;
1778
+ declare const CollectionStatusLabels: Record<CollectionStatus, string>;
1779
+
1666
1780
  declare enum CampaignStatus {
1667
1781
  ACTIVE = "active",
1668
1782
  INACTIVE = "inactive"
@@ -1781,7 +1895,8 @@ declare enum PubSubTopics {
1781
1895
  ORDER_COMPLETED = "order-completed",
1782
1896
  ORDER_CANCELLED = "order-cancelled",
1783
1897
  PAYMENT_PAID = "payment-paid",
1784
- NOTIFICATION_CREATED = "notification-created"
1898
+ NOTIFICATION_CREATED = "notification-created",
1899
+ CONTACT_FORM_SUBMITTED = "contact-form-submitted"
1785
1900
  }
1786
1901
 
1787
1902
  declare enum SupportConversationChannel {
@@ -2631,4 +2746,4 @@ interface AnalyticsPagination {
2631
2746
  total: number;
2632
2747
  }
2633
2748
 
2634
- export { type Account, type AccountAiCreditTransaction, type AccountAiCredits, type AccountBranch, type AccountBranchSchedule, AccountBranchScheduleDay, AccountBranchScheduleStatus, AccountBranchStatus, type AccountCurrencyConfig, type AccountDeliveryOption, type AccountDeliveryOptionCalculatedCost, AccountDeliveryOptionPriceLogic, AccountDeliveryOptionStatus, type AccountDeliveryOptionZone, AccountDeliveryOptionZoneStatus, type AccountDomain, AccountDomainStatus, type AccountExchangeRate, type AccountExchangeRateListResponse, type AccountExchangeRateMetadata, type AccountExchangeRateQueryDto, type AccountExchangeRateResponse, AccountExchangeRateType, type AccountExchangeRateWithEffectiveRate, type AccountIntegration, type AccountIntegrationConfigDTO, AccountIntegrationConnectionStatus, AccountIntegrationEnvironment, AccountIntegrationStatus, type AccountPaymentMethod, AccountPaymentMethodStatus, AccountStatus, type ActiveSession, type Address, type AdminOrderStatusChangeDto, AiCreditSource, AiCreditTransactionReason, AiCreditType, type AiCreditsBalance, type AnalyticsEvent, AnalyticsEventType, type AnalyticsFunnelStep, type AnalyticsOverview, type AnalyticsPageview, type AnalyticsPagination, type AnalyticsQueryParams, type AnalyticsSession, type BaseEntity, type BaseEntityWithAccount, type BaseEntityWithAccountAndUser, type BaseEntityWithUser, type ButtonStyle, type Campaign, type CampaignBudget, CampaignBudgetType, type CampaignBudgetUsage, type CampaignData, type CampaignPerformance, CampaignStatus, type Cart, type CartConfirmDto, type CartDeliveryMethod, type CartDeliveryMethodAdjustment, type CartDeliveryMethodCreateData, type CartDeliveryMethodCreateDto, type CartDeliveryMethodFindParams, type CartDeliveryMethodResponse, type CartDeliveryMethodUpdateData, type CartDeliveryMethodUpdateDto, CartDeliveryType, type CartItem, type CartItemAddDto, type CartItemAttributeDetail, CartItemErrorCode, type CartItemRemoveDto, type CartItemUpdateDto, type CartItemValidation, type CartLineItemAdjustment, type CartPromotion, CartSource, CartStatus, type CartUpdateDto, type CreateAccountDeliveryOptionDTO, type CreateAccountExchangeRateDto, type CreateAnalyticsSessionDto, type CreateDeliveryOptionDto, type CreateExchangeRateDto, type CreateFulfillmentDto, type CreateFulfillmentItemDto, type CreatePromotionDTO, type CreateStoreTemplateDTO, Currency, type CurrencyConversion, type Customer, CustomerStatus, type CustomerUpsertDto, DayOfWeek, DeliveryType, type DeliveryZoneInput, DeviceType, type EffectiveExchangeRate, type ExchangeRate, type ExchangeRateListResponse, type ExchangeRateMetadata, type ExchangeRateQueryDto, type ExchangeRateResponse, type Fulfillment, type FulfillmentDeliveryOption, type FulfillmentItem, type FulfillmentLabel, type FulfillmentLabelCreateData, type FulfillmentLabelUpdateData, type FulfillmentProviderAdapter, type FulfillmentProviderContext, type FulfillmentProviderCreateInput, type FulfillmentProviderCreateOutput, type FulfillmentProviderKey, type FulfillmentProviderProcessWebhookInput, type FulfillmentProviderProcessWebhookOutput, type FulfillmentRecollectionCapabilities, type FulfillmentRecollectionConfig, type FulfillmentRecollectionMode, type FulfillmentRecollectionSchedule, FulfillmentStatus, type FunnelData, FunnelStep, type FunnelStepData, type GeoZone, type GeoZoneInput, GeoZoneStatus, type HistoricalDataPoint, type Integration, IntegrationCategory, type IntegrationDeliveryZone, IntegrationDeliveryZoneStatus, IntegrationStatus, type MapPosition, type Media, MediaType, type NextStatusAction, type Order, type OrderCreateFromCartDto, type OrderDeliveryMethod, type OrderDeliveryMethodAdjustment, type OrderDeliveryMethodCreateData, type OrderDeliveryMethodUpdateData, OrderDeliveryType, type OrderItem, type OrderItemSnapshot, type OrderLineItemAdjustment, OrderPaymentStatus, type OrderPromotion, OrderSource, OrderStatus, type PageData, PageType, type Payment, type PaymentCardBrand, PaymentCardBrandKey, type PaymentConversion, PaymentMethodType, type PaymentProviderAdapter, type PaymentProviderCaptureInput, type PaymentProviderCaptureOutput, type PaymentProviderContext, type PaymentProviderInitInput, type PaymentProviderInitOutput, type PaymentProviderKey, type PaymentProviderRefundInput, type PaymentProviderRefundOutput, type PaymentProviderWebhookResult, PaymentStatus, type Phone, type PickupLocation, type Product, type ProductAnalyticsData, type ProductAnalyticsItem, type ProductAttribute, type ProductAttributeOption, ProductAttributeStatus, ProductAttributeType, type ProductCategory, ProductCategoryStatus, ProductStatus, ProductType, type ProductVariant, ProductVariantStatus, type Promotion, type PromotionApplicationMethod, type PromotionApplicationMethodInput, type PromotionApplicationMethodPromotionRule, PromotionApplicationType, type PromotionListFilters, type PromotionPromotionRule, type PromotionRule, type PromotionRuleInput, PromotionRuleOperator, type PromotionRuleValue, PromotionStatus, PromotionTargetType, PromotionType, PubSubTopics, type RealtimeAnalytics, type RecentEvent, type RoundingConfig, RoundingMethod, RoundingRule, type SessionHeartbeatDto, type StandardCategory, StandardCategoryStatus, type StatusChangeHistory, type StatusFlow, type StoreBanner, StoreBannerStatus, type StoreCustomization, type StoreCustomizationComponentSettings, type StoreCustomizationLayoutComponent, type StoreCustomizationPage, type StoreCustomizationPageComponent, type StoreCustomizationSeo, type StoreCustomizationThemeButtons, type StoreCustomizationThemeColors, type StoreCustomizationThemeTypography, type StorePage, StorePageStatus, StorePageType, type StoreSettings, type StoreTemplate, type StoreTemplateMocks, type SupportConversation, SupportConversationChannel, type SupportConversationMessage, SupportConversationMessageAiAnalysisStatus, SupportConversationMessageDeliveryStatus, SupportConversationMessageDirection, SupportConversationMessageSenderType, SupportConversationPriority, SupportConversationStatus, SupportConversationVisibility, type ThemeConfig, type TopPagesData, type TrackEventDto, type TrackPageviewDto, TrafficSource, type TrafficSourceItem, type TrafficSourcesData, type UpdateAccountDeliveryOptionDTO, type UpdateAccountExchangeRateAllDto, type UpdateAccountExchangeRateDto, type UpdateExchangeRateDto, type UpdateFulfillmentDto, type UpdatePromotionDTO, type UpdateStoreTemplateDTO, type Webhook, type WebhookPayload, getAccountPaymentMethodStatusInfo, getCurrencySymbol, getFulfillmentStatusInfo, getIntegrationCategoryName, getOrderPaymentStatusInfo, getOrderStatusInfo, getPaymentCardBrand, getPaymentStatusInfo, getProductStatusInfo, parsePriceFormatPattern };
2749
+ export { type Account, type AccountAiCreditTransaction, type AccountAiCredits, type AccountBranch, type AccountBranchSchedule, AccountBranchScheduleDay, AccountBranchScheduleStatus, AccountBranchStatus, type AccountCurrencyConfig, type AccountDeliveryOption, type AccountDeliveryOptionCalculatedCost, AccountDeliveryOptionPriceLogic, AccountDeliveryOptionStatus, type AccountDeliveryOptionZone, AccountDeliveryOptionZoneStatus, type AccountDomain, AccountDomainStatus, type AccountExchangeRate, type AccountExchangeRateListResponse, type AccountExchangeRateMetadata, type AccountExchangeRateQueryDto, type AccountExchangeRateResponse, AccountExchangeRateType, type AccountExchangeRateWithEffectiveRate, type AccountIntegration, type AccountIntegrationConfigDTO, AccountIntegrationConnectionStatus, AccountIntegrationEnvironment, AccountIntegrationStatus, type AccountPaymentMethod, AccountPaymentMethodStatus, AccountStatus, type ActiveSession, type Address, type AdminOrderStatusChangeDto, AiCreditSource, AiCreditTransactionReason, AiCreditType, type AiCreditsBalance, type AnalyticsEvent, AnalyticsEventType, type AnalyticsFunnelStep, type AnalyticsOverview, type AnalyticsPageview, type AnalyticsPagination, type AnalyticsQueryParams, type AnalyticsSession, type BaseEntity, type BaseEntityWithAccount, type BaseEntityWithAccountAndUser, type BaseEntityWithUser, type ButtonStyle, type Campaign, type CampaignBudget, CampaignBudgetType, type CampaignBudgetUsage, type CampaignData, type CampaignPerformance, CampaignStatus, type Cart, type CartConfirmDto, type CartDeliveryMethod, type CartDeliveryMethodAdjustment, type CartDeliveryMethodCreateData, type CartDeliveryMethodCreateDto, type CartDeliveryMethodFindParams, type CartDeliveryMethodResponse, type CartDeliveryMethodUpdateData, type CartDeliveryMethodUpdateDto, CartDeliveryType, type CartItem, type CartItemAddDto, type CartItemAttributeDetail, CartItemErrorCode, type CartItemRemoveDto, type CartItemUpdateDto, type CartItemValidation, type CartLineItemAdjustment, type CartPromotion, CartSource, CartStatus, type CartUpdateDto, type Collection, type CollectionMedia, type CollectionProductLink, type CollectionRule, CollectionRuleField, CollectionRuleFieldLabels, CollectionRuleOperator, CollectionRuleOperatorLabels, CollectionRulesLogic, CollectionStatus, CollectionStatusLabels, CollectionType, CollectionTypeLabels, type CreateAccountDeliveryOptionDTO, type CreateAccountExchangeRateDto, type CreateAnalyticsSessionDto, type CreateCollectionDTO, type CreateDeliveryOptionDto, type CreateExchangeRateDto, type CreateFulfillmentDto, type CreateFulfillmentItemDto, type CreatePromotionDTO, type CreateStoreTemplateDTO, Currency, type CurrencyConversion, type Customer, CustomerStatus, type CustomerUpsertDto, DayOfWeek, DeliveryType, type DeliveryZoneInput, DeviceType, type EffectiveExchangeRate, type ExchangeRate, type ExchangeRateListResponse, type ExchangeRateMetadata, type ExchangeRateQueryDto, type ExchangeRateResponse, type Fulfillment, type FulfillmentDeliveryOption, type FulfillmentItem, type FulfillmentLabel, type FulfillmentLabelCreateData, type FulfillmentLabelUpdateData, type FulfillmentProviderAdapter, type FulfillmentProviderContext, type FulfillmentProviderCreateInput, type FulfillmentProviderCreateOutput, type FulfillmentProviderKey, type FulfillmentProviderProcessWebhookInput, type FulfillmentProviderProcessWebhookOutput, type FulfillmentRecollectionCapabilities, type FulfillmentRecollectionConfig, type FulfillmentRecollectionMode, type FulfillmentRecollectionSchedule, FulfillmentStatus, type FunnelData, FunnelStep, type FunnelStepData, type GeoZone, type GeoZoneInput, GeoZoneStatus, type HistoricalDataPoint, type Integration, IntegrationCategory, type IntegrationDeliveryZone, IntegrationDeliveryZoneStatus, IntegrationStatus, type MapPosition, type Media, MediaType, type NextStatusAction, type Order, type OrderCreateFromCartDto, type OrderDeliveryMethod, type OrderDeliveryMethodAdjustment, type OrderDeliveryMethodCreateData, type OrderDeliveryMethodUpdateData, OrderDeliveryType, type OrderItem, type OrderItemSnapshot, type OrderLineItemAdjustment, OrderPaymentStatus, type OrderPromotion, OrderSource, OrderStatus, type PageData, PageType, type Payment, type PaymentCardBrand, PaymentCardBrandKey, type PaymentConversion, PaymentMethodType, type PaymentProviderAdapter, type PaymentProviderCaptureInput, type PaymentProviderCaptureOutput, type PaymentProviderContext, type PaymentProviderInitInput, type PaymentProviderInitOutput, type PaymentProviderKey, type PaymentProviderRefundInput, type PaymentProviderRefundOutput, type PaymentProviderWebhookResult, PaymentStatus, type Phone, type PickupLocation, type Product, type ProductAnalyticsData, type ProductAnalyticsItem, type ProductAttribute, type ProductAttributeOption, ProductAttributeStatus, ProductAttributeType, type ProductCategory, ProductCategoryStatus, ProductStatus, ProductType, type ProductVariant, ProductVariantStatus, type Promotion, type PromotionApplicationMethod, type PromotionApplicationMethodInput, type PromotionApplicationMethodPromotionRule, PromotionApplicationType, type PromotionListFilters, type PromotionPromotionRule, type PromotionRule, type PromotionRuleInput, PromotionRuleOperator, type PromotionRuleValue, PromotionStatus, PromotionTargetType, PromotionType, PubSubTopics, type RealtimeAnalytics, type RecentEvent, type RoundingConfig, RoundingMethod, RoundingRule, type SessionHeartbeatDto, type StandardCategory, StandardCategoryStatus, type StatusChangeHistory, type StatusFlow, type StoreBanner, StoreBannerStatus, type StoreCustomization, type StoreCustomizationComponentSettings, type StoreCustomizationLayoutComponent, type StoreCustomizationPage, type StoreCustomizationPageComponent, type StoreCustomizationSeo, type StoreCustomizationThemeButtons, type StoreCustomizationThemeColors, type StoreCustomizationThemeTypography, type StorePage, StorePageStatus, StorePageType, type StoreSettings, type StoreTemplate, type StoreTemplateMocks, type SupportConversation, SupportConversationChannel, type SupportConversationMessage, SupportConversationMessageAiAnalysisStatus, SupportConversationMessageDeliveryStatus, SupportConversationMessageDirection, SupportConversationMessageSenderType, SupportConversationPriority, SupportConversationStatus, SupportConversationVisibility, type ThemeConfig, type TopPagesData, type TrackEventDto, type TrackPageviewDto, TrafficSource, type TrafficSourceItem, type TrafficSourcesData, type UpdateAccountDeliveryOptionDTO, type UpdateAccountExchangeRateAllDto, type UpdateAccountExchangeRateDto, type UpdateCollectionDTO, type UpdateExchangeRateDto, type UpdateFulfillmentDto, type UpdatePromotionDTO, type UpdateStoreTemplateDTO, type Webhook, type WebhookPayload, getAccountPaymentMethodStatusInfo, getCurrencySymbol, getFulfillmentStatusInfo, getIntegrationCategoryName, getOrderPaymentStatusInfo, getOrderStatusInfo, getPaymentCardBrand, getPaymentStatusInfo, getProductStatusInfo, parsePriceFormatPattern };
package/dist/index.js CHANGED
@@ -44,6 +44,15 @@ __export(index_exports, {
44
44
  CartItemErrorCode: () => CartItemErrorCode,
45
45
  CartSource: () => CartSource,
46
46
  CartStatus: () => CartStatus,
47
+ CollectionRuleField: () => CollectionRuleField,
48
+ CollectionRuleFieldLabels: () => CollectionRuleFieldLabels,
49
+ CollectionRuleOperator: () => CollectionRuleOperator,
50
+ CollectionRuleOperatorLabels: () => CollectionRuleOperatorLabels,
51
+ CollectionRulesLogic: () => CollectionRulesLogic,
52
+ CollectionStatus: () => CollectionStatus,
53
+ CollectionStatusLabels: () => CollectionStatusLabels,
54
+ CollectionType: () => CollectionType,
55
+ CollectionTypeLabels: () => CollectionTypeLabels,
47
56
  Currency: () => Currency,
48
57
  CustomerStatus: () => CustomerStatus,
49
58
  DayOfWeek: () => DayOfWeek,
@@ -287,6 +296,8 @@ var DeliveryType = /* @__PURE__ */ ((DeliveryType2) => {
287
296
  })(DeliveryType || {});
288
297
  var AccountDeliveryOptionPriceLogic = /* @__PURE__ */ ((AccountDeliveryOptionPriceLogic2) => {
289
298
  AccountDeliveryOptionPriceLogic2["FIXED"] = "FIXED";
299
+ AccountDeliveryOptionPriceLogic2["BY_ZONE"] = "BY_ZONE";
300
+ AccountDeliveryOptionPriceLogic2["PROVIDER"] = "PROVIDER";
290
301
  AccountDeliveryOptionPriceLogic2["CALCULATED"] = "CALCULATED";
291
302
  return AccountDeliveryOptionPriceLogic2;
292
303
  })(AccountDeliveryOptionPriceLogic || {});
@@ -700,6 +711,73 @@ var ProductCategoryStatus = /* @__PURE__ */ ((ProductCategoryStatus2) => {
700
711
  return ProductCategoryStatus2;
701
712
  })(ProductCategoryStatus || {});
702
713
 
714
+ // src/collection/types.ts
715
+ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
716
+ CollectionType2["MANUAL"] = "MANUAL";
717
+ CollectionType2["AUTOMATIC"] = "AUTOMATIC";
718
+ return CollectionType2;
719
+ })(CollectionType || {});
720
+ var CollectionStatus = /* @__PURE__ */ ((CollectionStatus2) => {
721
+ CollectionStatus2["ACTIVE"] = "ACTIVE";
722
+ CollectionStatus2["INACTIVE"] = "INACTIVE";
723
+ CollectionStatus2["SCHEDULED"] = "SCHEDULED";
724
+ return CollectionStatus2;
725
+ })(CollectionStatus || {});
726
+ var CollectionRulesLogic = /* @__PURE__ */ ((CollectionRulesLogic2) => {
727
+ CollectionRulesLogic2["ALL"] = "ALL";
728
+ CollectionRulesLogic2["ANY"] = "ANY";
729
+ return CollectionRulesLogic2;
730
+ })(CollectionRulesLogic || {});
731
+ var CollectionRuleField = /* @__PURE__ */ ((CollectionRuleField2) => {
732
+ CollectionRuleField2["TAG"] = "TAG";
733
+ CollectionRuleField2["PRICE"] = "PRICE";
734
+ CollectionRuleField2["CATEGORY"] = "CATEGORY";
735
+ CollectionRuleField2["BRAND"] = "BRAND";
736
+ CollectionRuleField2["TITLE"] = "TITLE";
737
+ CollectionRuleField2["STATUS"] = "STATUS";
738
+ CollectionRuleField2["INVENTORY"] = "INVENTORY";
739
+ CollectionRuleField2["CREATED_AT"] = "CREATED_AT";
740
+ return CollectionRuleField2;
741
+ })(CollectionRuleField || {});
742
+ var CollectionRuleOperator = /* @__PURE__ */ ((CollectionRuleOperator2) => {
743
+ CollectionRuleOperator2["EQUALS"] = "EQUALS";
744
+ CollectionRuleOperator2["NOT_EQUALS"] = "NOT_EQUALS";
745
+ CollectionRuleOperator2["CONTAINS"] = "CONTAINS";
746
+ CollectionRuleOperator2["GREATER_THAN"] = "GREATER_THAN";
747
+ CollectionRuleOperator2["LESS_THAN"] = "LESS_THAN";
748
+ CollectionRuleOperator2["IS_SET"] = "IS_SET";
749
+ CollectionRuleOperator2["IS_NOT_SET"] = "IS_NOT_SET";
750
+ return CollectionRuleOperator2;
751
+ })(CollectionRuleOperator || {});
752
+ var CollectionRuleFieldLabels = {
753
+ ["TAG" /* TAG */]: "Etiqueta",
754
+ ["PRICE" /* PRICE */]: "Precio",
755
+ ["CATEGORY" /* CATEGORY */]: "Categor\xEDa",
756
+ ["BRAND" /* BRAND */]: "Marca",
757
+ ["TITLE" /* TITLE */]: "Nombre del producto",
758
+ ["STATUS" /* STATUS */]: "Estado",
759
+ ["INVENTORY" /* INVENTORY */]: "Inventario",
760
+ ["CREATED_AT" /* CREATED_AT */]: "Fecha de creaci\xF3n"
761
+ };
762
+ var CollectionRuleOperatorLabels = {
763
+ ["EQUALS" /* EQUALS */]: "Es igual a",
764
+ ["NOT_EQUALS" /* NOT_EQUALS */]: "No es igual a",
765
+ ["CONTAINS" /* CONTAINS */]: "Contiene",
766
+ ["GREATER_THAN" /* GREATER_THAN */]: "Mayor que",
767
+ ["LESS_THAN" /* LESS_THAN */]: "Menor que",
768
+ ["IS_SET" /* IS_SET */]: "Est\xE1 definido",
769
+ ["IS_NOT_SET" /* IS_NOT_SET */]: "No est\xE1 definido"
770
+ };
771
+ var CollectionTypeLabels = {
772
+ ["MANUAL" /* MANUAL */]: "Manual",
773
+ ["AUTOMATIC" /* AUTOMATIC */]: "Autom\xE1tica"
774
+ };
775
+ var CollectionStatusLabels = {
776
+ ["ACTIVE" /* ACTIVE */]: "Activa",
777
+ ["INACTIVE" /* INACTIVE */]: "Inactiva",
778
+ ["SCHEDULED" /* SCHEDULED */]: "Programada"
779
+ };
780
+
703
781
  // src/campaign/types.ts
704
782
  var CampaignStatus = /* @__PURE__ */ ((CampaignStatus2) => {
705
783
  CampaignStatus2["ACTIVE"] = "active";
@@ -761,6 +839,7 @@ var PubSubTopics = /* @__PURE__ */ ((PubSubTopics2) => {
761
839
  PubSubTopics2["ORDER_CANCELLED"] = "order-cancelled";
762
840
  PubSubTopics2["PAYMENT_PAID"] = "payment-paid";
763
841
  PubSubTopics2["NOTIFICATION_CREATED"] = "notification-created";
842
+ PubSubTopics2["CONTACT_FORM_SUBMITTED"] = "contact-form-submitted";
764
843
  return PubSubTopics2;
765
844
  })(PubSubTopics || {});
766
845
 
@@ -954,6 +1033,15 @@ var FunnelStep = /* @__PURE__ */ ((FunnelStep2) => {
954
1033
  CartItemErrorCode,
955
1034
  CartSource,
956
1035
  CartStatus,
1036
+ CollectionRuleField,
1037
+ CollectionRuleFieldLabels,
1038
+ CollectionRuleOperator,
1039
+ CollectionRuleOperatorLabels,
1040
+ CollectionRulesLogic,
1041
+ CollectionStatus,
1042
+ CollectionStatusLabels,
1043
+ CollectionType,
1044
+ CollectionTypeLabels,
957
1045
  Currency,
958
1046
  CustomerStatus,
959
1047
  DayOfWeek,