Skip to main content

Namespace: internal

Classes

Type Aliases

AdminProductsDeleteOptionRes

Ƭ AdminProductsDeleteOptionRes: Object

Type declaration

NameType
deletedboolean
object"option"
option_idstring
productProduct

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:13


AdminProductsDeleteRes

Ƭ AdminProductsDeleteRes: Object

Type declaration

NameType
deletedboolean
idstring
object"product"

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:25


AdminProductsDeleteVariantRes

Ƭ AdminProductsDeleteVariantRes: Object

Type declaration

NameType
deletedboolean
object"product-variant"
productProduct
variant_idstring

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:19


AdminProductsListRes

Ƭ AdminProductsListRes: PaginatedResponse & { products: (PricedProduct | Product)[] }

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:30


AdminProductsListTagsRes

Ƭ AdminProductsListTagsRes: Object

Type declaration

NameType
tagsProductTag[]

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:36


AdminProductsListTypesRes

Ƭ AdminProductsListTypesRes: Object

Type declaration

NameType
typesProductType[]

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:33


AdminProductsRes

Ƭ AdminProductsRes: Object

Type declaration

NameType
productProduct

Defined in

medusa/dist/api/routes/admin/products/index.d.ts:39


PricedProduct

Ƭ PricedProduct: Omit<Partial<Product>, "variants"> & { variants: PricedVariant[] }

Defined in

medusa/dist/types/pricing.d.ts:31


PricedVariant

Ƭ PricedVariant: Partial<ProductVariant> & ProductVariantPricing

Defined in

medusa/dist/types/pricing.d.ts:30


ProductVariantPricing

Ƭ ProductVariantPricing: { calculated_price: number | null ; calculated_price_includes_tax?: boolean | null ; calculated_price_type?: string | null ; original_price: number | null ; original_price_includes_tax?: boolean | null ; prices: MoneyAmount[] } & TaxedPricing

Defined in

medusa/dist/types/pricing.d.ts:4


TaxServiceRate

Ƭ TaxServiceRate: Object

The tax rate object as configured in Medusa. These may have an unspecified numerical rate as they may be used for lookup purposes in the tax provider plugin.

Type declaration

NameType
codestring | null
namestring
rate?number | null

Defined in

medusa/dist/types/tax-service.d.ts:15


TaxedPricing

Ƭ TaxedPricing: Object

Type declaration

NameType
calculated_price_incl_taxnumber | null
calculated_taxnumber | null
original_price_incl_taxnumber | null
original_taxnumber | null
tax_ratesTaxServiceRate[] | null

Defined in

medusa/dist/types/pricing.d.ts:12