Skip to main content
Skip to main content

internal

admin/discounts.internal.internal

Namespaces

Interfaces

References

AddPricesDTO

Re-exports AddPricesDTO


AddRulesDTO

Re-exports AddRulesDTO


AddressCreatePayload

Re-exports AddressCreatePayload


AddressPayload

Re-exports AddressPayload


BaseEntity

Re-exports BaseEntity


BaseFilterable

Re-exports BaseFilterable


BulkUpdateInventoryLevelInput

Re-exports BulkUpdateInventoryLevelInput


CalculatedPriceSetDTO

Re-exports CalculatedPriceSetDTO


CartWorkflow

Re-exports CartWorkflow


CommonWorkflow

Re-exports CommonWorkflow


ConfigModule

Re-exports ConfigModule


Constructor

Re-exports Constructor


CreateCurrencyDTO

Re-exports CreateCurrencyDTO


CreateInventoryItemInput

Re-exports CreateInventoryItemInput


CreateInventoryLevelInput

Re-exports CreateInventoryLevelInput


CreateMoneyAmountDTO

Re-exports CreateMoneyAmountDTO


CreatePriceRuleDTO

Re-exports CreatePriceRuleDTO


CreatePriceSetDTO

Re-exports CreatePriceSetDTO


CreatePriceSetMoneyAmountDTO

Re-exports CreatePriceSetMoneyAmountDTO


CreatePriceSetMoneyAmountRulesDTO

Re-exports CreatePriceSetMoneyAmountRulesDTO


CreatePriceSetRuleTypeDTO

Re-exports CreatePriceSetRuleTypeDTO


CreatePricesDTO

Re-exports CreatePricesDTO


CreateProductCategoryDTO

Re-exports CreateProductCategoryDTO


CreateProductCollectionDTO

Re-exports CreateProductCollectionDTO


CreateProductDTO

Re-exports CreateProductDTO


CreateProductOnlyDTO

Re-exports CreateProductOnlyDTO


CreateProductOptionDTO

Re-exports CreateProductOptionDTO


CreateProductOptionOnlyDTO

Re-exports CreateProductOptionOnlyDTO


CreateProductTagDTO

Re-exports CreateProductTagDTO


CreateProductTypeDTO

Re-exports CreateProductTypeDTO


CreateProductVariantDTO

Re-exports CreateProductVariantDTO


CreateProductVariantOnlyDTO

Re-exports CreateProductVariantOnlyDTO


CreateProductVariantOptionDTO

Re-exports CreateProductVariantOptionDTO


CreateReservationItemInput

Re-exports CreateReservationItemInput


CreateRuleTypeDTO

Re-exports CreateRuleTypeDTO


CreateStockLocationInput

Re-exports CreateStockLocationInput


CurrencyDTO

Re-exports CurrencyDTO


CustomFindOptions

Re-exports CustomFindOptions


DateComparisonOperator

Re-exports DateComparisonOperator


DeleteFileType

Re-exports DeleteFileType


DeleteResponse

Re-exports DeleteResponse


EmitData

Re-exports EmitData


EmptyQueryParams

Re-exports EmptyQueryParams


EntityDateColumns

Re-exports EntityDateColumns


EventHandler

Re-exports EventHandler


ExtendedFindConfig

Re-exports ExtendedFindConfig


ExternalModuleDeclaration

Re-exports ExternalModuleDeclaration


FeatureFlagsResponse

Re-exports FeatureFlagsResponse


FileServiceGetUploadStreamResult

Re-exports FileServiceGetUploadStreamResult


FileServiceUploadResult

Re-exports FileServiceUploadResult


FilterQuery

Re-exports FilterQuery


FilterableCurrencyProps

Re-exports FilterableCurrencyProps


FilterableInventoryItemProps

Re-exports FilterableInventoryItemProps


FilterableInventoryLevelProps

Re-exports FilterableInventoryLevelProps


FilterableMoneyAmountProps

Re-exports FilterableMoneyAmountProps


FilterablePriceRuleProps

Re-exports FilterablePriceRuleProps


FilterablePriceSetMoneyAmountProps

Re-exports FilterablePriceSetMoneyAmountProps


FilterablePriceSetMoneyAmountRulesProps

Re-exports FilterablePriceSetMoneyAmountRulesProps


FilterablePriceSetProps

Re-exports FilterablePriceSetProps


FilterablePriceSetRuleTypeProps

Re-exports FilterablePriceSetRuleTypeProps


FilterableProductCategoryProps

Re-exports FilterableProductCategoryProps


FilterableProductCollectionProps

Re-exports FilterableProductCollectionProps


FilterableProductOptionProps

Re-exports FilterableProductOptionProps


FilterableProductProps

Re-exports FilterableProductProps


FilterableProductTagProps

Re-exports FilterableProductTagProps


FilterableProductTypeProps

Re-exports FilterableProductTypeProps


FilterableProductVariantProps

Re-exports FilterableProductVariantProps


FilterableReservationItemProps

Re-exports FilterableReservationItemProps


FilterableRuleTypeProps

Re-exports FilterableRuleTypeProps


FilterableStockLocationProps

Re-exports FilterableStockLocationProps


FindConfig

Re-exports FindConfig


FindOptions

Re-exports FindOptions


FindPaginationParams

Re-exports FindPaginationParams


FindParams

Re-exports FindParams


FlagSettings

Re-exports FlagSettings


GetUploadedFileType

Re-exports GetUploadedFileType


HttpCompressionOptions

Re-exports HttpCompressionOptions


ICacheService

Re-exports ICacheService


IEventBusModuleService

Re-exports IEventBusModuleService


IEventBusService

Re-exports IEventBusService


IFlagRouter

Re-exports IFlagRouter


IInventoryService

Re-exports IInventoryService


IPricingModuleService

Re-exports IPricingModuleService


IProductModuleService

Re-exports IProductModuleService


ISearchService

Re-exports ISearchService


IStockLocationService

Re-exports IStockLocationService


ITransactionBaseService

Re-exports ITransactionBaseService


IndexSettings

Re-exports IndexSettings


InternalModuleDeclaration

Re-exports InternalModuleDeclaration


InventoryItemDTO

Re-exports InventoryItemDTO


InventoryLevelDTO

Re-exports InventoryLevelDTO


InventoryWorkflow

Re-exports InventoryWorkflow


LinkModuleDefinition

Re-exports LinkModuleDefinition


LoadedModule

Re-exports LoadedModule


LoaderOptions

Re-exports LoaderOptions


LogLevel

Re-exports LogLevel


Logger

Re-exports Logger


LoggerOptions

Re-exports LoggerOptions


MODULE_RESOURCE_TYPE

Re-exports MODULE_RESOURCE_TYPE


MODULE_SCOPE

Re-exports MODULE_SCOPE


MedusaContainer

Re-exports MedusaContainer


ModuleConfig

Re-exports ModuleConfig


ModuleDefinition

Re-exports ModuleDefinition


ModuleExports

Re-exports ModuleExports


ModuleJoinerConfig

Re-exports ModuleJoinerConfig


ModuleJoinerRelationship

Re-exports ModuleJoinerRelationship


ModuleLoaderFunction

Re-exports ModuleLoaderFunction


ModuleResolution

Re-exports ModuleResolution


ModuleServiceInitializeCustomDataLayerOptions

Re-exports ModuleServiceInitializeCustomDataLayerOptions


ModuleServiceInitializeOptions

Re-exports ModuleServiceInitializeOptions


ModulesResponse

Re-exports ModulesResponse


MoneyAmountDTO

Re-exports MoneyAmountDTO


NumericalComparisonOperator

Re-exports NumericalComparisonOperator


OptionsQuery

Re-exports OptionsQuery


PaginatedResponse

Re-exports PaginatedResponse


PartialPick

Re-exports PartialPick


PriceRuleDTO

Re-exports PriceRuleDTO


PriceSetDTO

Re-exports PriceSetDTO


PriceSetMoneyAmountDTO

Re-exports PriceSetMoneyAmountDTO


PriceSetMoneyAmountRulesDTO

Re-exports PriceSetMoneyAmountRulesDTO


PriceSetRuleTypeDTO

Re-exports PriceSetRuleTypeDTO


PricingContext

Re-exports PricingContext


PricingFilters

Re-exports PricingFilters


ProductCategoryDTO

Re-exports ProductCategoryDTO


ProductCollectionDTO

Re-exports ProductCollectionDTO


ProductDTO

Re-exports ProductDTO


ProductImageDTO

Re-exports ProductImageDTO


ProductOptionDTO

Re-exports ProductOptionDTO


ProductOptionValueDTO

Re-exports ProductOptionValueDTO


ProductStatus

Re-exports ProductStatus


ProductTagDTO

Re-exports ProductTagDTO


ProductTypeDTO

Re-exports ProductTypeDTO


ProductVariantDTO

Re-exports ProductVariantDTO


ProductWorkflow

Re-exports ProductWorkflow


ProjectConfigOptions

Re-exports ProjectConfigOptions


QueryConfig

Re-exports QueryConfig


QuerySelector

Re-exports QuerySelector


RemoteQueryFunction

Re-exports RemoteQueryFunction


RemovePriceSetRulesDTO

Re-exports RemovePriceSetRulesDTO


RepositoryService

Re-exports RepositoryService


RepositoryTransformOptions

Re-exports RepositoryTransformOptions


RequestQueryFields

Re-exports RequestQueryFields


ReservationItemDTO

Re-exports ReservationItemDTO


ReserveQuantityContext

Re-exports ReserveQuantityContext


RestoreReturn

Re-exports RestoreReturn


RuleTypeDTO

Re-exports RuleTypeDTO


SalesChannelDTO

Re-exports SalesChannelDTO


SalesChannelLocationDTO

Re-exports SalesChannelLocationDTO


Selector

Re-exports Selector


SoftDeletableEntity

Re-exports SoftDeletableEntity


SoftDeletableEntityDateColumns

Re-exports SoftDeletableEntityDateColumns


SoftDeleteReturn

Re-exports SoftDeleteReturn


StockLocationAddressDTO

Re-exports StockLocationAddressDTO


StockLocationAddressInput

Re-exports StockLocationAddressInput


StockLocationDTO

Re-exports StockLocationDTO


StockLocationExpandedDTO

Re-exports StockLocationExpandedDTO


StringComparisonOperator

Re-exports StringComparisonOperator


Subscriber

Re-exports Subscriber


SubscriberContext

Re-exports SubscriberContext


SubscriberDescriptor

Re-exports SubscriberDescriptor


TotalField

Re-exports TotalField


TreeQuerySelector

Re-exports TreeQuerySelector


TreeRepositoryService

Re-exports TreeRepositoryService


UpdateCurrencyDTO

Re-exports UpdateCurrencyDTO


UpdateInventoryLevelInput

Re-exports UpdateInventoryLevelInput


UpdateMoneyAmountDTO

Re-exports UpdateMoneyAmountDTO


UpdatePriceRuleDTO

Re-exports UpdatePriceRuleDTO


UpdatePriceSetDTO

Re-exports UpdatePriceSetDTO


UpdatePriceSetMoneyAmountDTO

Re-exports UpdatePriceSetMoneyAmountDTO


UpdatePriceSetMoneyAmountRulesDTO

Re-exports UpdatePriceSetMoneyAmountRulesDTO


UpdatePriceSetRuleTypeDTO

Re-exports UpdatePriceSetRuleTypeDTO


UpdateProductCategoryDTO

Re-exports UpdateProductCategoryDTO


UpdateProductCollectionDTO

Re-exports UpdateProductCollectionDTO


UpdateProductDTO

Re-exports UpdateProductDTO


UpdateProductOptionDTO

Re-exports UpdateProductOptionDTO


UpdateProductTagDTO

Re-exports UpdateProductTagDTO


UpdateProductTypeDTO

Re-exports UpdateProductTypeDTO


UpdateProductVariantDTO

Re-exports UpdateProductVariantDTO


UpdateProductVariantOnlyDTO

Re-exports UpdateProductVariantOnlyDTO


UpdateReservationItemInput

Re-exports UpdateReservationItemInput


UpdateRuleTypeDTO

Re-exports UpdateRuleTypeDTO


UpdateStockLocationInput

Re-exports UpdateStockLocationInput


UploadStreamDescriptorType

Re-exports UploadStreamDescriptorType


UpsertProductTagDTO

Re-exports UpsertProductTagDTO


UpsertProductTypeDTO

Re-exports UpsertProductTypeDTO


WithRequiredProperty

Re-exports WithRequiredProperty


Writable

Re-exports Writable

Type Aliases

AddressDTO

AddressDTO: Object

Type declaration

address_1stringRequired
address_2string | null
citystring | null
companystring | null
country_codestringRequired
created_atstring | Date
deleted_atstring | Date | null
idstring
metadataRecord<string, unknown> | null
phonestring | null
postal_codestring | null
provincestring | null
updated_atstring | Date

CartDTO

CartDTO: Object

Type declaration

billing_address_idstring
completed_atDate
contextRecord<string, unknown>
customer_idstring
discount_totalnumber
emailstring
gift_card_tax_totalnumber
gift_card_totalnumber
idstring
idempotency_keystring
item_tax_totalnumber | null
metadataRecord<string, unknown>
payment_authorized_atDate
payment_idstring
raw_discount_totalnumber
refundable_amountnumber
refunded_totalnumber
region_idstring
sales_channel_idstring | null
shipping_address_idstring
shipping_tax_totalnumber | null
shipping_totalnumber
subtotalnumber
tax_totalnumber | null
totalnumber

JoinerRelationship

JoinerRelationship: Object

Type declaration

aliasstringRequired
argsRecord<string, any>
Extra arguments to pass to the remoteFetchData callback
foreignKeystringRequired
inverseboolean
In an inverted relationship the foreign key is on the other service and the primary key is on the current service
isInternalServiceboolean
If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more "internal" services
isListboolean
Force the relationship to return a list
primaryKeystringRequired
serviceNamestringRequired

SharedContext

SharedContext: Object

Type declaration

managerEntityManager
transactionManagerEntityManager
Was this section helpful?