@medusajs/types
Advanced tools
Comparing version 1.11.7-snapshot-20231120171146 to 1.11.7-snapshot-20231120191116
@@ -507,7 +507,2 @@ import { BaseFilterable } from "../dal"; | ||
* The product image's data. | ||
* | ||
* @prop id - The ID of the product image. | ||
* @prop url - The URL of the product image. | ||
* @prop metadata - Holds custom data in key-value pairs. | ||
* @prop deleted_at - When the product image was deleted. | ||
*/ | ||
@@ -536,9 +531,2 @@ export interface ProductImageDTO { | ||
* The product option value's data. | ||
* | ||
* @prop id - The ID of the product option value. | ||
* @prop value - The value of the product option value. | ||
* @prop option - The associated product option. It may only be available if the `option` relation is expanded. | ||
* @prop variant - The associated product variant. It may only be available if the `variant` relation is expanded. | ||
* @prop metadata - Holds custom data in key-value pairs. | ||
* @prop deleted_at - When the product option value was deleted. | ||
*/ | ||
@@ -579,9 +567,2 @@ export interface ProductOptionValueDTO { | ||
* The filters to apply on retrieved products. | ||
* | ||
* @prop q - Search through the products' attributes, such as titles and descriptions, using this search term. | ||
* @prop handle - The handles to filter products by. | ||
* @prop id - The IDs to filter products by. | ||
* @prop tags - Filters on a product's tags. | ||
* @prop categories - Filters on a product's categories. | ||
* @prop collection_id - Filters a product by its associated collections. | ||
*/ | ||
@@ -640,5 +621,2 @@ export interface FilterableProductProps extends BaseFilterable<FilterableProductProps> { | ||
* The filters to apply on retrieved product tags. | ||
* | ||
* @prop id - The IDs to filter product tags by. | ||
* @prop value - The value to filter product tags by. | ||
*/ | ||
@@ -659,5 +637,2 @@ export interface FilterableProductTagProps extends BaseFilterable<FilterableProductTagProps> { | ||
* The filters to apply on retrieved product types. | ||
* | ||
* @prop id - The IDs to filter product types by. | ||
* @prop value - The value to filter product types by. | ||
*/ | ||
@@ -678,6 +653,2 @@ export interface FilterableProductTypeProps extends BaseFilterable<FilterableProductTypeProps> { | ||
* The filters to apply on retrieved product options. | ||
* | ||
* @prop id - The IDs to filter product options by. | ||
* @prop title - The titles to filter product options by. | ||
* @prop product_id - Filter the product options by their associated products' IDs. | ||
*/ | ||
@@ -702,5 +673,2 @@ export interface FilterableProductOptionProps extends BaseFilterable<FilterableProductOptionProps> { | ||
* The filters to apply on retrieved product collections. | ||
* | ||
* @prop id - The IDs to filter product collections by. | ||
* @prop title - The title to filter product collections by. | ||
*/ | ||
@@ -725,7 +693,2 @@ export interface FilterableProductCollectionProps extends BaseFilterable<FilterableProductCollectionProps> { | ||
* The filters to apply on retrieved product variants. | ||
* | ||
* @prop id - The IDs to filter product variants by. | ||
* @prop sku - The SKUs to filter product variants by. | ||
* @prop product_id - Filter the product variants by their associated products' IDs. | ||
* @prop options - Filter product variants by their associated options. | ||
*/ | ||
@@ -759,10 +722,2 @@ export interface FilterableProductVariantProps extends BaseFilterable<FilterableProductVariantProps> { | ||
* The filters to apply on retrieved product categories. | ||
* | ||
* @prop id - The IDs to filter product categories by. | ||
* @prop name - The names to filter product categories by. | ||
* @prop parent_category_id - Filter product categories by their parent category's ID. | ||
* @prop handle - The handles to filter product categories by. | ||
* @prop is_active - Filter product categories by whether they're active. | ||
* @prop is_internal - Filter product categories by whether they're internal. | ||
* @prop include_descendants_tree - Whether to include children of retrieved product categories. | ||
*/ | ||
@@ -803,7 +758,2 @@ export interface FilterableProductCategoryProps extends BaseFilterable<FilterableProductCategoryProps> { | ||
* A product collection to create. | ||
* | ||
* @prop title - The product collection's title. | ||
* @prop handle - The product collection's handle. If not provided, the value of this attribute is set to the slug version of the title. | ||
* @prop products - The products to associate with the collection. | ||
* @prop metadata - Holds custom data in key-value pairs. | ||
*/ | ||
@@ -962,3 +912,2 @@ export interface CreateProductCollectionDTO { | ||
value: string; | ||
option_id?: string; | ||
} | ||
@@ -972,6 +921,2 @@ /** | ||
/** | ||
* The id of the product | ||
*/ | ||
product_id?: string; | ||
/** | ||
* The tile of the product variant. | ||
@@ -1396,3 +1341,2 @@ */ | ||
export interface CreateProductVariantOnlyDTO { | ||
product_id?: string; | ||
title: string; | ||
@@ -1399,0 +1343,0 @@ sku?: string; |
@@ -5,2 +5,1 @@ export * as CartWorkflow from "./cart"; | ||
export * as InventoryWorkflow from "./inventory"; | ||
export * as PriceListWorkflow from "./price-list"; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0; | ||
exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0; | ||
exports.CartWorkflow = __importStar(require("./cart")); | ||
@@ -32,3 +32,2 @@ exports.CommonWorkflow = __importStar(require("./common")); | ||
exports.InventoryWorkflow = __importStar(require("./inventory")); | ||
exports.PriceListWorkflow = __importStar(require("./price-list")); | ||
//# sourceMappingURL=index.js.map |
@@ -1,4 +0,3 @@ | ||
export * from "./create-product-variants"; | ||
export * from "./create-products"; | ||
export * from "./update-product-variants"; | ||
export * from "./update-products"; |
@@ -17,3 +17,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./create-product-variants"), exports); | ||
__exportStar(require("./create-products"), exports); | ||
@@ -20,0 +19,0 @@ __exportStar(require("./update-product-variants"), exports); |
{ | ||
"name": "@medusajs/types", | ||
"version": "1.11.7-snapshot-20231120171146", | ||
"version": "1.11.7-snapshot-20231120191116", | ||
"description": "Medusa Types definition", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
394619
208
10866