@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.d.mts +138 -2
- package/dist/index.d.ts +138 -2
- package/dist/index.js +99 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +89 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1669,6 +1669,114 @@ interface ProductAttributeOption {
|
|
|
1669
1669
|
count: number;
|
|
1670
1670
|
}
|
|
1671
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
|
+
|
|
1672
1780
|
declare enum CampaignStatus {
|
|
1673
1781
|
ACTIVE = "active",
|
|
1674
1782
|
INACTIVE = "inactive"
|
|
@@ -1787,7 +1895,8 @@ declare enum PubSubTopics {
|
|
|
1787
1895
|
ORDER_COMPLETED = "order-completed",
|
|
1788
1896
|
ORDER_CANCELLED = "order-cancelled",
|
|
1789
1897
|
PAYMENT_PAID = "payment-paid",
|
|
1790
|
-
NOTIFICATION_CREATED = "notification-created"
|
|
1898
|
+
NOTIFICATION_CREATED = "notification-created",
|
|
1899
|
+
CONTACT_FORM_SUBMITTED = "contact-form-submitted"
|
|
1791
1900
|
}
|
|
1792
1901
|
|
|
1793
1902
|
declare enum SupportConversationChannel {
|
|
@@ -1923,6 +2032,33 @@ declare function getFulfillmentStatusInfo(status: FulfillmentStatus): StatusInfo
|
|
|
1923
2032
|
* Configuración de la tienda
|
|
1924
2033
|
*/
|
|
1925
2034
|
|
|
2035
|
+
/**
|
|
2036
|
+
* Tipos para la navegación personalizable del menú
|
|
2037
|
+
*/
|
|
2038
|
+
declare enum NavigationItemType {
|
|
2039
|
+
HOME = "HOME",
|
|
2040
|
+
CATALOG = "CATALOG",
|
|
2041
|
+
CATEGORY = "CATEGORY",
|
|
2042
|
+
COLLECTION = "COLLECTION",
|
|
2043
|
+
PAGE = "PAGE",
|
|
2044
|
+
CUSTOM = "CUSTOM"
|
|
2045
|
+
}
|
|
2046
|
+
interface NavigationMenuItem {
|
|
2047
|
+
id: string;
|
|
2048
|
+
label: string;
|
|
2049
|
+
itemType: NavigationItemType;
|
|
2050
|
+
referenceId?: string;
|
|
2051
|
+
customUrl?: string;
|
|
2052
|
+
order: number;
|
|
2053
|
+
includeChildren?: boolean;
|
|
2054
|
+
highlight?: boolean;
|
|
2055
|
+
highlightColor?: string;
|
|
2056
|
+
openInNewTab?: boolean;
|
|
2057
|
+
}
|
|
2058
|
+
interface NavigationMenuConfig {
|
|
2059
|
+
items: NavigationMenuItem[];
|
|
2060
|
+
autoFallback?: boolean;
|
|
2061
|
+
}
|
|
1926
2062
|
interface StoreCustomization {
|
|
1927
2063
|
id: string;
|
|
1928
2064
|
accountId: string;
|
|
@@ -2637,4 +2773,4 @@ interface AnalyticsPagination {
|
|
|
2637
2773
|
total: number;
|
|
2638
2774
|
}
|
|
2639
2775
|
|
|
2640
|
-
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 };
|
|
2776
|
+
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, NavigationItemType, type NavigationMenuConfig, type NavigationMenuItem, 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
|
@@ -1669,6 +1669,114 @@ interface ProductAttributeOption {
|
|
|
1669
1669
|
count: number;
|
|
1670
1670
|
}
|
|
1671
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
|
+
|
|
1672
1780
|
declare enum CampaignStatus {
|
|
1673
1781
|
ACTIVE = "active",
|
|
1674
1782
|
INACTIVE = "inactive"
|
|
@@ -1787,7 +1895,8 @@ declare enum PubSubTopics {
|
|
|
1787
1895
|
ORDER_COMPLETED = "order-completed",
|
|
1788
1896
|
ORDER_CANCELLED = "order-cancelled",
|
|
1789
1897
|
PAYMENT_PAID = "payment-paid",
|
|
1790
|
-
NOTIFICATION_CREATED = "notification-created"
|
|
1898
|
+
NOTIFICATION_CREATED = "notification-created",
|
|
1899
|
+
CONTACT_FORM_SUBMITTED = "contact-form-submitted"
|
|
1791
1900
|
}
|
|
1792
1901
|
|
|
1793
1902
|
declare enum SupportConversationChannel {
|
|
@@ -1923,6 +2032,33 @@ declare function getFulfillmentStatusInfo(status: FulfillmentStatus): StatusInfo
|
|
|
1923
2032
|
* Configuración de la tienda
|
|
1924
2033
|
*/
|
|
1925
2034
|
|
|
2035
|
+
/**
|
|
2036
|
+
* Tipos para la navegación personalizable del menú
|
|
2037
|
+
*/
|
|
2038
|
+
declare enum NavigationItemType {
|
|
2039
|
+
HOME = "HOME",
|
|
2040
|
+
CATALOG = "CATALOG",
|
|
2041
|
+
CATEGORY = "CATEGORY",
|
|
2042
|
+
COLLECTION = "COLLECTION",
|
|
2043
|
+
PAGE = "PAGE",
|
|
2044
|
+
CUSTOM = "CUSTOM"
|
|
2045
|
+
}
|
|
2046
|
+
interface NavigationMenuItem {
|
|
2047
|
+
id: string;
|
|
2048
|
+
label: string;
|
|
2049
|
+
itemType: NavigationItemType;
|
|
2050
|
+
referenceId?: string;
|
|
2051
|
+
customUrl?: string;
|
|
2052
|
+
order: number;
|
|
2053
|
+
includeChildren?: boolean;
|
|
2054
|
+
highlight?: boolean;
|
|
2055
|
+
highlightColor?: string;
|
|
2056
|
+
openInNewTab?: boolean;
|
|
2057
|
+
}
|
|
2058
|
+
interface NavigationMenuConfig {
|
|
2059
|
+
items: NavigationMenuItem[];
|
|
2060
|
+
autoFallback?: boolean;
|
|
2061
|
+
}
|
|
1926
2062
|
interface StoreCustomization {
|
|
1927
2063
|
id: string;
|
|
1928
2064
|
accountId: string;
|
|
@@ -2637,4 +2773,4 @@ interface AnalyticsPagination {
|
|
|
2637
2773
|
total: number;
|
|
2638
2774
|
}
|
|
2639
2775
|
|
|
2640
|
-
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 };
|
|
2776
|
+
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, NavigationItemType, type NavigationMenuConfig, type NavigationMenuItem, 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,
|
|
@@ -56,6 +65,7 @@ __export(index_exports, {
|
|
|
56
65
|
IntegrationDeliveryZoneStatus: () => IntegrationDeliveryZoneStatus,
|
|
57
66
|
IntegrationStatus: () => IntegrationStatus,
|
|
58
67
|
MediaType: () => MediaType,
|
|
68
|
+
NavigationItemType: () => NavigationItemType,
|
|
59
69
|
OrderDeliveryType: () => OrderDeliveryType,
|
|
60
70
|
OrderPaymentStatus: () => OrderPaymentStatus,
|
|
61
71
|
OrderSource: () => OrderSource,
|
|
@@ -702,6 +712,73 @@ var ProductCategoryStatus = /* @__PURE__ */ ((ProductCategoryStatus2) => {
|
|
|
702
712
|
return ProductCategoryStatus2;
|
|
703
713
|
})(ProductCategoryStatus || {});
|
|
704
714
|
|
|
715
|
+
// src/collection/types.ts
|
|
716
|
+
var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
|
|
717
|
+
CollectionType2["MANUAL"] = "MANUAL";
|
|
718
|
+
CollectionType2["AUTOMATIC"] = "AUTOMATIC";
|
|
719
|
+
return CollectionType2;
|
|
720
|
+
})(CollectionType || {});
|
|
721
|
+
var CollectionStatus = /* @__PURE__ */ ((CollectionStatus2) => {
|
|
722
|
+
CollectionStatus2["ACTIVE"] = "ACTIVE";
|
|
723
|
+
CollectionStatus2["INACTIVE"] = "INACTIVE";
|
|
724
|
+
CollectionStatus2["SCHEDULED"] = "SCHEDULED";
|
|
725
|
+
return CollectionStatus2;
|
|
726
|
+
})(CollectionStatus || {});
|
|
727
|
+
var CollectionRulesLogic = /* @__PURE__ */ ((CollectionRulesLogic2) => {
|
|
728
|
+
CollectionRulesLogic2["ALL"] = "ALL";
|
|
729
|
+
CollectionRulesLogic2["ANY"] = "ANY";
|
|
730
|
+
return CollectionRulesLogic2;
|
|
731
|
+
})(CollectionRulesLogic || {});
|
|
732
|
+
var CollectionRuleField = /* @__PURE__ */ ((CollectionRuleField2) => {
|
|
733
|
+
CollectionRuleField2["TAG"] = "TAG";
|
|
734
|
+
CollectionRuleField2["PRICE"] = "PRICE";
|
|
735
|
+
CollectionRuleField2["CATEGORY"] = "CATEGORY";
|
|
736
|
+
CollectionRuleField2["BRAND"] = "BRAND";
|
|
737
|
+
CollectionRuleField2["TITLE"] = "TITLE";
|
|
738
|
+
CollectionRuleField2["STATUS"] = "STATUS";
|
|
739
|
+
CollectionRuleField2["INVENTORY"] = "INVENTORY";
|
|
740
|
+
CollectionRuleField2["CREATED_AT"] = "CREATED_AT";
|
|
741
|
+
return CollectionRuleField2;
|
|
742
|
+
})(CollectionRuleField || {});
|
|
743
|
+
var CollectionRuleOperator = /* @__PURE__ */ ((CollectionRuleOperator2) => {
|
|
744
|
+
CollectionRuleOperator2["EQUALS"] = "EQUALS";
|
|
745
|
+
CollectionRuleOperator2["NOT_EQUALS"] = "NOT_EQUALS";
|
|
746
|
+
CollectionRuleOperator2["CONTAINS"] = "CONTAINS";
|
|
747
|
+
CollectionRuleOperator2["GREATER_THAN"] = "GREATER_THAN";
|
|
748
|
+
CollectionRuleOperator2["LESS_THAN"] = "LESS_THAN";
|
|
749
|
+
CollectionRuleOperator2["IS_SET"] = "IS_SET";
|
|
750
|
+
CollectionRuleOperator2["IS_NOT_SET"] = "IS_NOT_SET";
|
|
751
|
+
return CollectionRuleOperator2;
|
|
752
|
+
})(CollectionRuleOperator || {});
|
|
753
|
+
var CollectionRuleFieldLabels = {
|
|
754
|
+
["TAG" /* TAG */]: "Etiqueta",
|
|
755
|
+
["PRICE" /* PRICE */]: "Precio",
|
|
756
|
+
["CATEGORY" /* CATEGORY */]: "Categor\xEDa",
|
|
757
|
+
["BRAND" /* BRAND */]: "Marca",
|
|
758
|
+
["TITLE" /* TITLE */]: "Nombre del producto",
|
|
759
|
+
["STATUS" /* STATUS */]: "Estado",
|
|
760
|
+
["INVENTORY" /* INVENTORY */]: "Inventario",
|
|
761
|
+
["CREATED_AT" /* CREATED_AT */]: "Fecha de creaci\xF3n"
|
|
762
|
+
};
|
|
763
|
+
var CollectionRuleOperatorLabels = {
|
|
764
|
+
["EQUALS" /* EQUALS */]: "Es igual a",
|
|
765
|
+
["NOT_EQUALS" /* NOT_EQUALS */]: "No es igual a",
|
|
766
|
+
["CONTAINS" /* CONTAINS */]: "Contiene",
|
|
767
|
+
["GREATER_THAN" /* GREATER_THAN */]: "Mayor que",
|
|
768
|
+
["LESS_THAN" /* LESS_THAN */]: "Menor que",
|
|
769
|
+
["IS_SET" /* IS_SET */]: "Est\xE1 definido",
|
|
770
|
+
["IS_NOT_SET" /* IS_NOT_SET */]: "No est\xE1 definido"
|
|
771
|
+
};
|
|
772
|
+
var CollectionTypeLabels = {
|
|
773
|
+
["MANUAL" /* MANUAL */]: "Manual",
|
|
774
|
+
["AUTOMATIC" /* AUTOMATIC */]: "Autom\xE1tica"
|
|
775
|
+
};
|
|
776
|
+
var CollectionStatusLabels = {
|
|
777
|
+
["ACTIVE" /* ACTIVE */]: "Activa",
|
|
778
|
+
["INACTIVE" /* INACTIVE */]: "Inactiva",
|
|
779
|
+
["SCHEDULED" /* SCHEDULED */]: "Programada"
|
|
780
|
+
};
|
|
781
|
+
|
|
705
782
|
// src/campaign/types.ts
|
|
706
783
|
var CampaignStatus = /* @__PURE__ */ ((CampaignStatus2) => {
|
|
707
784
|
CampaignStatus2["ACTIVE"] = "active";
|
|
@@ -763,6 +840,7 @@ var PubSubTopics = /* @__PURE__ */ ((PubSubTopics2) => {
|
|
|
763
840
|
PubSubTopics2["ORDER_CANCELLED"] = "order-cancelled";
|
|
764
841
|
PubSubTopics2["PAYMENT_PAID"] = "payment-paid";
|
|
765
842
|
PubSubTopics2["NOTIFICATION_CREATED"] = "notification-created";
|
|
843
|
+
PubSubTopics2["CONTACT_FORM_SUBMITTED"] = "contact-form-submitted";
|
|
766
844
|
return PubSubTopics2;
|
|
767
845
|
})(PubSubTopics || {});
|
|
768
846
|
|
|
@@ -840,6 +918,17 @@ function getFulfillmentStatusInfo(status) {
|
|
|
840
918
|
return map[status] ?? { text: String(status), class: "secondary" };
|
|
841
919
|
}
|
|
842
920
|
|
|
921
|
+
// src/storeCustomization/types.ts
|
|
922
|
+
var NavigationItemType = /* @__PURE__ */ ((NavigationItemType2) => {
|
|
923
|
+
NavigationItemType2["HOME"] = "HOME";
|
|
924
|
+
NavigationItemType2["CATALOG"] = "CATALOG";
|
|
925
|
+
NavigationItemType2["CATEGORY"] = "CATEGORY";
|
|
926
|
+
NavigationItemType2["COLLECTION"] = "COLLECTION";
|
|
927
|
+
NavigationItemType2["PAGE"] = "PAGE";
|
|
928
|
+
NavigationItemType2["CUSTOM"] = "CUSTOM";
|
|
929
|
+
return NavigationItemType2;
|
|
930
|
+
})(NavigationItemType || {});
|
|
931
|
+
|
|
843
932
|
// src/geoZone/types.ts
|
|
844
933
|
var GeoZoneStatus = /* @__PURE__ */ ((GeoZoneStatus2) => {
|
|
845
934
|
GeoZoneStatus2["ACTIVE"] = "ACTIVE";
|
|
@@ -956,6 +1045,15 @@ var FunnelStep = /* @__PURE__ */ ((FunnelStep2) => {
|
|
|
956
1045
|
CartItemErrorCode,
|
|
957
1046
|
CartSource,
|
|
958
1047
|
CartStatus,
|
|
1048
|
+
CollectionRuleField,
|
|
1049
|
+
CollectionRuleFieldLabels,
|
|
1050
|
+
CollectionRuleOperator,
|
|
1051
|
+
CollectionRuleOperatorLabels,
|
|
1052
|
+
CollectionRulesLogic,
|
|
1053
|
+
CollectionStatus,
|
|
1054
|
+
CollectionStatusLabels,
|
|
1055
|
+
CollectionType,
|
|
1056
|
+
CollectionTypeLabels,
|
|
959
1057
|
Currency,
|
|
960
1058
|
CustomerStatus,
|
|
961
1059
|
DayOfWeek,
|
|
@@ -968,6 +1066,7 @@ var FunnelStep = /* @__PURE__ */ ((FunnelStep2) => {
|
|
|
968
1066
|
IntegrationDeliveryZoneStatus,
|
|
969
1067
|
IntegrationStatus,
|
|
970
1068
|
MediaType,
|
|
1069
|
+
NavigationItemType,
|
|
971
1070
|
OrderDeliveryType,
|
|
972
1071
|
OrderPaymentStatus,
|
|
973
1072
|
OrderSource,
|