@medusajs/types
Advanced tools
Comparing version 1.11.6-snapshot-20231108131923 to 1.11.6-snapshot-20231109090748
@@ -9,2 +9,1 @@ export * from "./currency"; | ||
export * from "./rule-type"; | ||
export * from "./price-list"; |
@@ -25,3 +25,2 @@ "use strict"; | ||
__exportStar(require("./rule-type"), exports); | ||
__exportStar(require("./price-list"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -39,3 +39,3 @@ import { BaseFilterable } from "../../dal"; | ||
currency?: CreateCurrencyDTO; | ||
amount: number; | ||
amount?: number; | ||
min_quantity?: number | null; | ||
@@ -42,0 +42,0 @@ max_quantity?: number | null; |
@@ -65,2 +65,3 @@ import { BaseFilterable } from "../../dal"; | ||
price_set_money_amount_id: string; | ||
price_list_id: string; | ||
} | ||
@@ -67,0 +68,0 @@ /** |
import { BaseFilterable } from "../../dal"; | ||
import { MoneyAmountDTO } from "./money-amount"; | ||
import { PriceListDTO } from "./price-list"; | ||
import { PriceRuleDTO } from "./price-rule"; | ||
@@ -20,3 +19,2 @@ import { PriceSetDTO } from "./price-set"; | ||
price_set?: PriceSetDTO; | ||
price_list?: PriceListDTO; | ||
price_set_id?: string; | ||
@@ -35,3 +33,2 @@ price_rules?: PriceRuleDTO[]; | ||
price_set?: PriceSetDTO | string; | ||
price_list?: PriceListDTO | string; | ||
money_amount?: MoneyAmountDTO | string; | ||
@@ -38,0 +35,0 @@ } |
@@ -55,31 +55,7 @@ import { BaseFilterable } from "../../dal"; | ||
id: string; | ||
amount: string | null; | ||
amount: number | null; | ||
currency_code: string | null; | ||
min_quantity: string | null; | ||
max_quantity: string | null; | ||
price_list_type: string | null; | ||
price_list_id: string | null; | ||
min_quantity: number | null; | ||
max_quantity: number | null; | ||
} | ||
export interface CalculatedPriceSet { | ||
id: string; | ||
is_calculated_price_price_list?: boolean; | ||
calculated_amount: number | null; | ||
is_original_price_price_list?: boolean; | ||
original_amount: number | null; | ||
currency_code: string | null; | ||
calculated_price?: { | ||
money_amount_id: string | null; | ||
price_list_id: string | null; | ||
price_list_type: string | null; | ||
min_quantity: number | null; | ||
max_quantity: number | null; | ||
}; | ||
original_price?: { | ||
money_amount_id: string | null; | ||
price_list_id: string | null; | ||
price_list_type: string | null; | ||
min_quantity: number | null; | ||
max_quantity: number | null; | ||
}; | ||
} | ||
/** | ||
@@ -86,0 +62,0 @@ * @interface |
@@ -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 |
{ | ||
"name": "@medusajs/types", | ||
"version": "1.11.6-snapshot-20231108131923", | ||
"version": "1.11.6-snapshot-20231109090748", | ||
"description": "Medusa Types definition", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
337877
205
8784