entities library

Domain entities for moose_core package.

This module exports all domain entities used throughout the application. Entities represent core business objects and are backend-agnostic.

Classes

Address
Represents a physical address.
AnonymousCredentials
Credentials for anonymous authentication.
AppliedCoupon
AuthCredentials
Base class for authentication credentials.
AuthResult
Result of an authentication operation.
BottomTab
Configuration for a bottom navigation tab
Cart
Represents a shopping cart.
CartAmount
Represents an amount line item in the cart (shipping, tax, discount, etc.)
CartItem
Represents a single item in a shopping cart.
Category
Represents a product category.
CheckoutRequest
Collection
Represents a collection of products grouped together.
CollectionFilters
Filters for querying collections with pagination and search.
Country
Represents a country with its code and name.
CountryState
Represents a state, province, or region within a country.
CustomTokenCredentials
Credentials for custom token authentication.
DeliveryMethod
DeliveryMethod represents a method of delivering products to the customer. This can be traditional shipping (FedEx, UPS, USPS), local delivery, pickup, digital delivery, or any custom delivery method.
EmailPasswordCredentials
Credentials for email/password authentication.
EmailVerificationResult
FilterPreset
Represents a saved filter preset for quick product filtering.
MediaItem
MediaItem - Represents a media asset (image, video, etc.)
NotificationSettings
Represents notification settings and preferences for the user.
OAuthCredentials
Credentials for OAuth providers (Google, Facebook, Apple, etc.).
Order
Represents a customer order.
OrderLineItem
PaginatedResult<T>
Wrapper for paginated data with metadata about pages and items.
PasswordResetResult
PaymentMethod
PhoneCredentials
Credentials for phone number authentication.
PluginConfig
Configuration for feature plugins in the application.
Post
Represents a blog post or article with content and metadata.
PostalCode
Represents a postal code with associated location data.
PostListResult
PostSortOption
Represents a post sorting option for list views.
Product
Represents a product in the ecommerce system.
ProductAttribute
Represents a product attribute such as size, color, or material.
ProductAvailability
Represents product availability status and stock information.
ProductFilters
Filters for querying products with pagination, sorting, and search.
ProductListResult
ProductReview
Represents a customer product review with rating and content.
ProductReviewStats
Represents aggregated product review statistics and rating distribution.
ProductSearchResult
Represents search results for products with pagination and facets.
ProductSection
Represents a product content section for organizing product information.
ProductSortOption
Represents a product sorting option for list views.
ProductStock
Represents product stock status and inventory information.
ProductTag
Represents a product tag for categorization and filtering.
ProductVariation
Represents a product variation with specific attributes and pricing. Used for variable products where each variation has unique properties.
PromoBanner
Represents a marketing banner or hero promotion that can be displayed inside carousel sections, hero areas, or inline placements.
PushNotification
SearchFilters
Filters for search queries across different content types.
SearchResult
Represents a unified search result across different content types.
SectionConfig
Configuration for product or content sections.
ShippingInfo
Short
Represents a short-form content item similar to Instagram/Facebook Stories.
User
Represents a user in the system.
UserInteraction
Represents a user interaction action for navigation and deep linking. Supports internal routes, external URLs, and custom action handlers.

Enums

NotificationPermissionStatus
NotificationPriority
SearchResultType
Types of search results supported by the system.
UserInteractionType

Typedefs

BillingAddress = Address
@deprecated Use Address instead. Will be removed in future versions. This alias is provided for backward compatibility.
ShippingAddress = Address
@deprecated Use Address instead. Will be removed in future versions. This alias is provided for backward compatibility.
ShippingMethod = DeliveryMethod
@deprecated Use DeliveryMethod instead. Will be removed in future versions. This alias is provided for backward compatibility.