@medusajs/types 1.11.14-snapshot-20240318153725 → 1.12.0-snapshot-20240320164053
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common/common.d.ts +2 -0
- package/dist/common/common.d.ts.map +1 -1
- package/dist/inventory/service-next.d.ts +2 -0
- package/dist/inventory/service-next.d.ts.map +1 -1
- package/dist/pricing/common/index.d.ts +1 -2
- package/dist/pricing/common/index.d.ts.map +1 -1
- package/dist/pricing/common/index.js +1 -2
- package/dist/pricing/common/index.js.map +1 -1
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +7 -326
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/product/common.d.ts +4 -6
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +241 -37
- package/dist/product/service.d.ts.map +1 -1
- package/dist/sales-channel/common.d.ts +2 -2
- package/dist/sales-channel/common.d.ts.map +1 -1
- package/dist/sales-channel/mutations.d.ts +24 -2
- package/dist/sales-channel/mutations.d.ts.map +1 -1
- package/dist/sales-channel/service.d.ts +8 -26
- package/dist/sales-channel/service.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/pricing/common/price-set-money-amount-rules.d.ts +0 -96
- package/dist/pricing/common/price-set-money-amount-rules.d.ts.map +0 -1
- package/dist/pricing/common/price-set-money-amount-rules.js +0 -3
- package/dist/pricing/common/price-set-money-amount-rules.js.map +0 -1
package/dist/common/common.d.ts
CHANGED
@@ -414,4 +414,6 @@ export interface FindPaginationParams {
|
|
414
414
|
* @ignore
|
415
415
|
*/
|
416
416
|
export type Pluralize<Singular extends string> = Singular extends `${infer R}y` ? `${R}ies` : Singular extends `${infer R}es` ? `${Singular}` : Singular extends `${infer R}ss` | `${infer R}sh` | `${infer R}ch` | `${infer R}x` | `${infer R}z` | `${infer R}o` ? `${Singular}es` : `${Singular}s`;
|
417
|
+
export type SnakeCase<S extends string> = S extends `${infer T}${infer U}${infer V}` ? U extends Uppercase<U> ? `${Lowercase<T>}_${SnakeCase<`${Lowercase<U>}${V}`>}` : `${T}${SnakeCase<`${U}${V}`>}` : S;
|
418
|
+
export type KebabCase<S extends string> = S extends `${infer T}${infer U}${infer V}` ? U extends Uppercase<U> ? `${Lowercase<T>}-${KebabCase<`${Lowercase<U>}${V}`>}` : `${T}${KebabCase<`${U}${V}`>}` : S;
|
417
419
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAC1D,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC;CAC/B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI;KAC7C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAChB,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IACxB,CAAC,UAA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AAM,CAAC,GAAG,GACjB,GAAG,QAAQ,IAAI,GACf,GAAG,QAAQ,GAAG,CAAA;AAElB,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IACpC,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACtC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GACpB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GACrD,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAChC,CAAC,CAAA;AAEP,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IACpC,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACtC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GACpB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GACrD,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAChC,CAAC,CAAA"}
|
@@ -666,6 +666,8 @@ export interface IInventoryServiceNext extends IModuleService {
|
|
666
666
|
*/
|
667
667
|
deleteInventoryLevel(inventoryItemId: string, locationId: string, context?: Context): Promise<void>;
|
668
668
|
deleteInventoryLevels(inventoryLevelIds: string | string[], context?: Context): Promise<void>;
|
669
|
+
softDeleteInventoryLevels<TReturnableLinkableKeys extends string = string>(inventoryLevelIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
670
|
+
restoreInventoryLevels<TReturnableLinkableKeys extends string = string>(inventoryLevelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
669
671
|
/**
|
670
672
|
* This method is used to adjust the inventory level's stocked quantity. The inventory level is identified by the IDs of its associated inventory item and location.
|
671
673
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,IAAI,CACF,QAAQ,EAAE,aAAa,CAAC,4BAA4B,EACpD,MAAM,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,EACnD,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAE5C,YAAY,CACV,QAAQ,EAAE,aAAa,CAAC,4BAA4B,EACpD,MAAM,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,EACnD,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,CAAC,aAAa,CAAC,gBAAgB,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,oBAAoB,CAClB,QAAQ,EAAE,aAAa,CAAC,8BAA8B,EACtD,MAAM,CAAC,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;;;;;;;;;;;;;;OA2BG;IACH,gBAAgB,CACd,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,uBAAuB,CACrB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;CACnB"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
export * from "./money-amount";
|
2
|
+
export * from "./price-list";
|
2
3
|
export * from "./price-rule";
|
3
4
|
export * from "./price-set";
|
4
5
|
export * from "./price-set-money-amount";
|
5
|
-
export * from "./price-set-money-amount-rules";
|
6
6
|
export * from "./price-set-rule-type";
|
7
7
|
export * from "./rule-type";
|
8
|
-
export * from "./price-list";
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA"}
|
@@ -15,11 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./money-amount"), exports);
|
18
|
+
__exportStar(require("./price-list"), exports);
|
18
19
|
__exportStar(require("./price-rule"), exports);
|
19
20
|
__exportStar(require("./price-set"), exports);
|
20
21
|
__exportStar(require("./price-set-money-amount"), exports);
|
21
|
-
__exportStar(require("./price-set-money-amount-rules"), exports);
|
22
22
|
__exportStar(require("./price-set-rule-type"), exports);
|
23
23
|
__exportStar(require("./rule-type"), exports);
|
24
|
-
__exportStar(require("./price-list"), exports);
|
25
24
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,+CAA4B;AAC5B,8CAA2B;AAC3B,2DAAwC;AACxC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,+CAA4B;AAC5B,+CAA4B;AAC5B,8CAA2B;AAC3B,2DAAwC;AACxC,wDAAqC;AACrC,8CAA2B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"price-set.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"price-set.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/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AE;QACL;;WAEG;QACH,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;CACJ;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,oBAAoB;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,wBAAwB,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,cAAc,EAAE,MAAM,CAAA;KACvB,EAAE,CAAA;IACH;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,EAAE,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,0BAA0B,CAAA;CAC3C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreateMoneyAmountDTO, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO,
|
1
|
+
import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreateMoneyAmountDTO, CreatePriceListDTO, CreatePriceListRuleDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterableMoneyAmountProps, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceRuleProps, FilterablePriceSetMoneyAmountProps, FilterablePriceSetProps, FilterableRuleTypeProps, MoneyAmountDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PriceSetMoneyAmountDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdateMoneyAmountDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceListRuleDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO } from "./common";
|
2
2
|
import { FindConfig } from "../common";
|
3
3
|
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
4
4
|
import { IModuleService } from "../modules-sdk";
|
@@ -1115,6 +1115,7 @@ export interface IPricingModuleService extends IModuleService {
|
|
1115
1115
|
* }
|
1116
1116
|
*/
|
1117
1117
|
createMoneyAmounts(data: CreateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
|
1118
|
+
createMoneyAmounts(data: CreateMoneyAmountDTO, sharedContext?: Context): Promise<MoneyAmountDTO>;
|
1118
1119
|
/**
|
1119
1120
|
* This method updates existing money amounts.
|
1120
1121
|
*
|
@@ -1141,6 +1142,7 @@ export interface IPricingModuleService extends IModuleService {
|
|
1141
1142
|
* }
|
1142
1143
|
*/
|
1143
1144
|
updateMoneyAmounts(data: UpdateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
|
1145
|
+
updateMoneyAmounts(data: UpdateMoneyAmountDTO, sharedContext?: Context): Promise<MoneyAmountDTO>;
|
1144
1146
|
/**
|
1145
1147
|
* This method deletes money amounts by their IDs.
|
1146
1148
|
*
|
@@ -1545,257 +1547,6 @@ export interface IPricingModuleService extends IModuleService {
|
|
1545
1547
|
* }
|
1546
1548
|
*/
|
1547
1549
|
deleteRuleTypes(ruleTypeIds: string[], sharedContext?: Context): Promise<void>;
|
1548
|
-
/**
|
1549
|
-
* This method is used to a price set money amount rule by its ID based on the provided configuration.
|
1550
|
-
*
|
1551
|
-
* @param {string} id - The ID of the price set money amount rule to retrieve.
|
1552
|
-
* @param {FindConfig<PriceSetMoneyAmountRulesDTO>} config -
|
1553
|
-
* The configurations determining how the price set money amount rule is retrieved. Its properties, such as `select` or `relations`, accept the
|
1554
|
-
* attributes or relations associated with a price set money amount rule.
|
1555
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1556
|
-
* @returns {Promise<PriceSetMoneyAmountRulesDTO>} The retrieved price set money amount rule.
|
1557
|
-
*
|
1558
|
-
* @example
|
1559
|
-
* A simple example that retrieves a price set money amount rule by its ID:
|
1560
|
-
*
|
1561
|
-
* ```ts
|
1562
|
-
* import {
|
1563
|
-
* initialize as initializePricingModule,
|
1564
|
-
* } from "@medusajs/pricing"
|
1565
|
-
*
|
1566
|
-
* async function retrievePriceSetMoneyAmountRule (id: string) {
|
1567
|
-
* const pricingService = await initializePricingModule()
|
1568
|
-
*
|
1569
|
-
* const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id)
|
1570
|
-
*
|
1571
|
-
* // do something with the price set money amount rule or return it
|
1572
|
-
* }
|
1573
|
-
* ```
|
1574
|
-
*
|
1575
|
-
* To specify relations that should be retrieved:
|
1576
|
-
*
|
1577
|
-
* ```ts
|
1578
|
-
* import {
|
1579
|
-
* initialize as initializePricingModule,
|
1580
|
-
* } from "@medusajs/pricing"
|
1581
|
-
*
|
1582
|
-
* async function retrievePriceSetMoneyAmountRule (id: string) {
|
1583
|
-
* const pricingService = await initializePricingModule()
|
1584
|
-
*
|
1585
|
-
* const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id, {
|
1586
|
-
* relations: ["price_set_money_amount"]
|
1587
|
-
* })
|
1588
|
-
*
|
1589
|
-
* // do something with the price set money amount rule or return it
|
1590
|
-
* }
|
1591
|
-
* ```
|
1592
|
-
*/
|
1593
|
-
retrievePriceSetMoneyAmountRules(id: string, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO>;
|
1594
|
-
/**
|
1595
|
-
* This method is used to retrieve a paginated list of price set money amount rules based on optional filters and configuration.
|
1596
|
-
*
|
1597
|
-
* @param {FilterablePriceSetMoneyAmountRulesProps} filters - The filters to apply on the retrieved price set money amount rules.
|
1598
|
-
* @param {FindConfig<PriceSetMoneyAmountRulesDTO>} config -
|
1599
|
-
* The configurations determining how the price set money amount rules are retrieved. Its properties, such as `select` or `relations`, accept the
|
1600
|
-
* attributes or relations associated with a price set money amount rule.
|
1601
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1602
|
-
* @returns {Promise<PriceSetMoneyAmountRulesDTO[]>} The list of price set money amount rules.
|
1603
|
-
*
|
1604
|
-
* @example
|
1605
|
-
*
|
1606
|
-
* To retrieve a list of price set money amount rules using their IDs:
|
1607
|
-
*
|
1608
|
-
* ```ts
|
1609
|
-
* import {
|
1610
|
-
* initialize as initializePricingModule,
|
1611
|
-
* } from "@medusajs/pricing"
|
1612
|
-
*
|
1613
|
-
* async function retrievePriceSetMoneyAmountRules (id: string) {
|
1614
|
-
* const pricingService = await initializePricingModule()
|
1615
|
-
*
|
1616
|
-
* const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({
|
1617
|
-
* id: [id]
|
1618
|
-
* })
|
1619
|
-
*
|
1620
|
-
* // do something with the price set money amount rules or return them
|
1621
|
-
* }
|
1622
|
-
* ```
|
1623
|
-
*
|
1624
|
-
* To specify relations that should be retrieved within the price set money amount rules:
|
1625
|
-
*
|
1626
|
-
* ```ts
|
1627
|
-
* import {
|
1628
|
-
* initialize as initializePricingModule,
|
1629
|
-
* } from "@medusajs/pricing"
|
1630
|
-
*
|
1631
|
-
* async function retrievePriceSetMoneyAmountRules (id: string) {
|
1632
|
-
* const pricingService = await initializePricingModule()
|
1633
|
-
*
|
1634
|
-
* const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({
|
1635
|
-
* id: [id]
|
1636
|
-
* }, {
|
1637
|
-
* relations: ["price_set_money_amount"]
|
1638
|
-
* })
|
1639
|
-
*
|
1640
|
-
* // do something with the price set money amount rules or return them
|
1641
|
-
* }
|
1642
|
-
* ```
|
1643
|
-
*
|
1644
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
1645
|
-
*
|
1646
|
-
* ```ts
|
1647
|
-
* import {
|
1648
|
-
* initialize as initializePricingModule,
|
1649
|
-
* } from "@medusajs/pricing"
|
1650
|
-
*
|
1651
|
-
* async function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) {
|
1652
|
-
* const pricingService = await initializePricingModule()
|
1653
|
-
*
|
1654
|
-
* const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({
|
1655
|
-
* id: [id]
|
1656
|
-
* }, {
|
1657
|
-
* relations: ["price_set_money_amount"],
|
1658
|
-
* skip,
|
1659
|
-
* take
|
1660
|
-
* })
|
1661
|
-
*
|
1662
|
-
* // do something with the price set money amount rules or return them
|
1663
|
-
* }
|
1664
|
-
* ```
|
1665
|
-
*
|
1666
|
-
* You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example:
|
1667
|
-
*
|
1668
|
-
* ```ts
|
1669
|
-
* import {
|
1670
|
-
* initialize as initializePricingModule,
|
1671
|
-
* } from "@medusajs/pricing"
|
1672
|
-
*
|
1673
|
-
* async function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) {
|
1674
|
-
* const pricingService = await initializePricingModule()
|
1675
|
-
*
|
1676
|
-
* const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({
|
1677
|
-
* $and: [
|
1678
|
-
* {
|
1679
|
-
* id: ids
|
1680
|
-
* },
|
1681
|
-
* {
|
1682
|
-
* rule_type_id: ruleTypeId
|
1683
|
-
* }
|
1684
|
-
* ]
|
1685
|
-
* }, {
|
1686
|
-
* relations: ["price_set_money_amount"],
|
1687
|
-
* skip,
|
1688
|
-
* take
|
1689
|
-
* })
|
1690
|
-
*
|
1691
|
-
* // do something with the price set money amount rules or return them
|
1692
|
-
* }
|
1693
|
-
* ```
|
1694
|
-
*/
|
1695
|
-
listPriceSetMoneyAmountRules(filters?: FilterablePriceSetMoneyAmountRulesProps, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
|
1696
|
-
/**
|
1697
|
-
* This method is used to retrieve a paginated list of price set money amount rules along with the total count of
|
1698
|
-
* available price set money amount rules satisfying the provided filters.
|
1699
|
-
*
|
1700
|
-
* @param {FilterablePriceSetMoneyAmountRulesProps} filters - The filters to apply on the retrieved price set money amount rules.
|
1701
|
-
* @param {FindConfig<PriceSetMoneyAmountRulesDTO>} config -
|
1702
|
-
* The configurations determining how the price set money amount rules are retrieved. Its properties, such as `select` or `relations`, accept the
|
1703
|
-
* attributes or relations associated with a price set money amount rule.
|
1704
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1705
|
-
* @returns {Promise<[PriceSetMoneyAmountRulesDTO[], number]>} The list of price set money amount rules and their total count.
|
1706
|
-
*
|
1707
|
-
* @example
|
1708
|
-
*
|
1709
|
-
* To retrieve a list of price set money amounts using their IDs:
|
1710
|
-
*
|
1711
|
-
* ```ts
|
1712
|
-
* import {
|
1713
|
-
* initialize as initializePricingModule,
|
1714
|
-
* } from "@medusajs/pricing"
|
1715
|
-
*
|
1716
|
-
* async function retrievePriceSetMoneyAmountRules (id: string) {
|
1717
|
-
* const pricingService = await initializePricingModule()
|
1718
|
-
*
|
1719
|
-
* const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({
|
1720
|
-
* id: [id]
|
1721
|
-
* })
|
1722
|
-
*
|
1723
|
-
* // do something with the price set money amount rules or return them
|
1724
|
-
* }
|
1725
|
-
* ```
|
1726
|
-
*
|
1727
|
-
* To specify relations that should be retrieved within the price set money amount rules:
|
1728
|
-
*
|
1729
|
-
* ```ts
|
1730
|
-
* import {
|
1731
|
-
* initialize as initializePricingModule,
|
1732
|
-
* } from "@medusajs/pricing"
|
1733
|
-
*
|
1734
|
-
* async function retrievePriceSetMoneyAmountRules (id: string) {
|
1735
|
-
* const pricingService = await initializePricingModule()
|
1736
|
-
*
|
1737
|
-
* const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({
|
1738
|
-
* id: [id]
|
1739
|
-
* }, {
|
1740
|
-
* relations: ["price_set_money_amount"],
|
1741
|
-
* })
|
1742
|
-
*
|
1743
|
-
* // do something with the price set money amount rules or return them
|
1744
|
-
* }
|
1745
|
-
* ```
|
1746
|
-
*
|
1747
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
1748
|
-
*
|
1749
|
-
* ```ts
|
1750
|
-
* import {
|
1751
|
-
* initialize as initializePricingModule,
|
1752
|
-
* } from "@medusajs/pricing"
|
1753
|
-
*
|
1754
|
-
* async function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) {
|
1755
|
-
* const pricingService = await initializePricingModule()
|
1756
|
-
*
|
1757
|
-
* const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({
|
1758
|
-
* id: [id]
|
1759
|
-
* }, {
|
1760
|
-
* relations: ["price_set_money_amount"],
|
1761
|
-
* skip,
|
1762
|
-
* take
|
1763
|
-
* })
|
1764
|
-
*
|
1765
|
-
* // do something with the price set money amount rules or return them
|
1766
|
-
* }
|
1767
|
-
* ```
|
1768
|
-
*
|
1769
|
-
* You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example:
|
1770
|
-
*
|
1771
|
-
* ```ts
|
1772
|
-
* import {
|
1773
|
-
* initialize as initializePricingModule,
|
1774
|
-
* } from "@medusajs/pricing"
|
1775
|
-
*
|
1776
|
-
* async function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) {
|
1777
|
-
* const pricingService = await initializePricingModule()
|
1778
|
-
*
|
1779
|
-
* const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({
|
1780
|
-
* $and: [
|
1781
|
-
* {
|
1782
|
-
* id: ids
|
1783
|
-
* },
|
1784
|
-
* {
|
1785
|
-
* rule_type_id: ruleTypeId
|
1786
|
-
* }
|
1787
|
-
* ]
|
1788
|
-
* }, {
|
1789
|
-
* relations: ["price_set_money_amount"],
|
1790
|
-
* skip,
|
1791
|
-
* take
|
1792
|
-
* })
|
1793
|
-
*
|
1794
|
-
* // do something with the price set money amount rules or return them
|
1795
|
-
* }
|
1796
|
-
* ```
|
1797
|
-
*/
|
1798
|
-
listAndCountPriceSetMoneyAmountRules(filters?: FilterablePriceSetMoneyAmountRulesProps, config?: FindConfig<PriceSetMoneyAmountRulesDTO>, sharedContext?: Context): Promise<[PriceSetMoneyAmountRulesDTO[], number]>;
|
1799
1550
|
/**
|
1800
1551
|
* This method is used to retrieve a paginated list of price set money amounts based on optional filters and configuration.
|
1801
1552
|
*
|
@@ -1898,6 +1649,8 @@ export interface IPricingModuleService extends IModuleService {
|
|
1898
1649
|
* ```
|
1899
1650
|
*/
|
1900
1651
|
listPriceSetMoneyAmounts(filters?: FilterablePriceSetMoneyAmountProps, config?: FindConfig<PriceSetMoneyAmountDTO>, sharedContext?: Context): Promise<PriceSetMoneyAmountDTO[]>;
|
1652
|
+
softDeletePriceSetMoneyAmounts<TReturnableLinkableKeys extends string = string>(psmaIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1653
|
+
restorePriceSetMoneyAmounts<TReturnableLinkableKeys extends string = string>(psmaIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
1901
1654
|
/**
|
1902
1655
|
* This method is used to retrieve a paginated list of price set money amounts along with the total count of
|
1903
1656
|
* available price set money amounts satisfying the provided filters.
|
@@ -2001,80 +1754,6 @@ export interface IPricingModuleService extends IModuleService {
|
|
2001
1754
|
* ```
|
2002
1755
|
*/
|
2003
1756
|
listAndCountPriceSetMoneyAmounts(filters?: FilterablePriceSetMoneyAmountProps, config?: FindConfig<PriceSetMoneyAmountDTO>, sharedContext?: Context): Promise<[PriceSetMoneyAmountDTO[], number]>;
|
2004
|
-
/**
|
2005
|
-
* This method is used to create new price set money amount rules. A price set money amount rule creates an association between a price set money amount and
|
2006
|
-
* a rule type.
|
2007
|
-
*
|
2008
|
-
* @param {CreatePriceSetMoneyAmountRulesDTO[]} data - The price set money amount rules to create.
|
2009
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
2010
|
-
* @returns {Promise<PriceSetMoneyAmountRulesDTO[]>} The list of created price set money amount rules.
|
2011
|
-
*
|
2012
|
-
* @example
|
2013
|
-
* import {
|
2014
|
-
* initialize as initializePricingModule,
|
2015
|
-
* } from "@medusajs/pricing"
|
2016
|
-
*
|
2017
|
-
* async function createPriceSetMoneyAmountRules (priceSetMoneyAmountId: string, ruleTypeId: string, value: string) {
|
2018
|
-
* const pricingService = await initializePricingModule()
|
2019
|
-
*
|
2020
|
-
* const priceSetMoneyAmountRules = await pricingService.createPriceSetMoneyAmountRules([
|
2021
|
-
* {
|
2022
|
-
* price_set_money_amount: priceSetMoneyAmountId,
|
2023
|
-
* rule_type: ruleTypeId,
|
2024
|
-
* value
|
2025
|
-
* }
|
2026
|
-
* ])
|
2027
|
-
*
|
2028
|
-
* // do something with the price set money amount rules or return them
|
2029
|
-
* }
|
2030
|
-
*/
|
2031
|
-
createPriceSetMoneyAmountRules(data: CreatePriceSetMoneyAmountRulesDTO[], sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
|
2032
|
-
/**
|
2033
|
-
* This method is used to update price set money amount rules, each with their provided data.
|
2034
|
-
*
|
2035
|
-
* @param {UpdatePriceSetMoneyAmountRulesDTO[]} data -
|
2036
|
-
* The price set money amounts to update, each having the attributes to update in a price set money amount.
|
2037
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
2038
|
-
* @returns {Promise<PriceSetMoneyAmountRulesDTO[]>} The list of updated price set money amount rules.
|
2039
|
-
*
|
2040
|
-
* @example
|
2041
|
-
* import {
|
2042
|
-
* initialize as initializePricingModule,
|
2043
|
-
* } from "@medusajs/pricing"
|
2044
|
-
*
|
2045
|
-
* async function updatePriceSetMoneyAmountRules (id: string, value: string) {
|
2046
|
-
* const pricingService = await initializePricingModule()
|
2047
|
-
*
|
2048
|
-
* const priceSetMoneyAmountRules = await pricingService.updatePriceSetMoneyAmountRules([
|
2049
|
-
* {
|
2050
|
-
* id,
|
2051
|
-
* value
|
2052
|
-
* }
|
2053
|
-
* ])
|
2054
|
-
*
|
2055
|
-
* // do something with the price set money amount rules or return them
|
2056
|
-
* }
|
2057
|
-
*/
|
2058
|
-
updatePriceSetMoneyAmountRules(data: UpdatePriceSetMoneyAmountRulesDTO[], sharedContext?: Context): Promise<PriceSetMoneyAmountRulesDTO[]>;
|
2059
|
-
/**
|
2060
|
-
* This method is used to delete price set money amount rules based on the specified IDs.
|
2061
|
-
*
|
2062
|
-
* @param {string[]} ids - The IDs of the price set money amount rules to delete.
|
2063
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
2064
|
-
* @returns {Promise<void>} Resolves once the price set money amount rules are deleted.
|
2065
|
-
*
|
2066
|
-
* @example
|
2067
|
-
* import {
|
2068
|
-
* initialize as initializePricingModule,
|
2069
|
-
* } from "@medusajs/pricing"
|
2070
|
-
*
|
2071
|
-
* async function deletePriceSetMoneyAmountRule (id: string) {
|
2072
|
-
* const pricingService = await initializePricingModule()
|
2073
|
-
*
|
2074
|
-
* await pricingService.deletePriceSetMoneyAmountRules([id])
|
2075
|
-
* }
|
2076
|
-
*/
|
2077
|
-
deletePriceSetMoneyAmountRules(ids: string[], sharedContext?: Context): Promise<void>;
|
2078
1757
|
/**
|
2079
1758
|
* This method is used to retrieve a price rule by its ID.
|
2080
1759
|
*
|
@@ -2761,6 +2440,8 @@ export interface IPricingModuleService extends IModuleService {
|
|
2761
2440
|
* }
|
2762
2441
|
*/
|
2763
2442
|
deletePriceLists(priceListIds: string[], sharedContext?: Context): Promise<void>;
|
2443
|
+
softDeletePriceLists<TReturnableLinkableKeys extends string = string>(priceListIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
2444
|
+
restorePriceLists<TReturnableLinkableKeys extends string = string>(priceListIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
2764
2445
|
/**
|
2765
2446
|
* This method is used to retrieve a price list rule by its ID.
|
2766
2447
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,uCAAuC,EACvC,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,2BAA2B,EAC3B,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBA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,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;IAE1B,qBAAqB,CACnB,IAAI,EAAE,wBAAwB,EAAE,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;IAE1B;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,iBAAiB,CACf,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,CAClB,IAAI,EAAE,uBAAuB,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,UAAU,CA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AAO,GACtB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;IAE1B;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,iBAAiB,CACf,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,CAClB,IAAI,EAAE,uBAAuB,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
package/dist/product/common.d.ts
CHANGED
@@ -981,8 +981,10 @@ export interface CreateProductOptionDTO {
|
|
981
981
|
*/
|
982
982
|
product_id?: string;
|
983
983
|
}
|
984
|
+
export interface UpsertProductOptionDTO extends UpdateProductOptionDTO {
|
985
|
+
id?: string;
|
986
|
+
}
|
984
987
|
export interface UpdateProductOptionDTO {
|
985
|
-
id: string;
|
986
988
|
title?: string;
|
987
989
|
values?: string[] | {
|
988
990
|
value: string;
|
@@ -1072,7 +1074,7 @@ export interface CreateProductVariantDTO {
|
|
1072
1074
|
*/
|
1073
1075
|
metadata?: Record<string, unknown>;
|
1074
1076
|
}
|
1075
|
-
export interface UpsertProductVariantDTO extends
|
1077
|
+
export interface UpsertProductVariantDTO extends UpdateProductVariantDTO {
|
1076
1078
|
/**
|
1077
1079
|
* The ID of the product variant to update.
|
1078
1080
|
*/
|
@@ -1084,10 +1086,6 @@ export interface UpsertProductVariantDTO extends Omit<UpdateProductVariantDTO, "
|
|
1084
1086
|
* The data to update in a product variant. The `id` is used to identify which product variant to update.
|
1085
1087
|
*/
|
1086
1088
|
export interface UpdateProductVariantDTO {
|
1087
|
-
/**
|
1088
|
-
* The ID of the product variant to update.
|
1089
|
-
*/
|
1090
|
-
id: string;
|
1091
1089
|
/**
|
1092
1090
|
* The tile of the product variant.
|
1093
1091
|
*/
|