@medusajs/types 1.11.14 → 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/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/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/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":["../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C,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"}
|
@@ -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,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,kBAAkB,EAClB,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAE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,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,CAAA;AAEjB,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa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;;;;;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
|
*/
|
@@ -1 +1 @@
|
|
1
|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 -1,5 +1,5 @@
|
|
1
1
|
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
2
|
-
import { CreateProductCategoryDTO, CreateProductCollectionDTO, CreateProductDTO, CreateProductOptionDTO, CreateProductTagDTO, CreateProductTypeDTO, CreateProductVariantDTO, FilterableProductCategoryProps, FilterableProductCollectionProps, FilterableProductOptionProps, FilterableProductProps, FilterableProductTagProps, FilterableProductTypeProps, FilterableProductVariantProps, ProductCategoryDTO, ProductCollectionDTO, ProductDTO, ProductOptionDTO, ProductTagDTO, ProductTypeDTO, ProductVariantDTO, UpdateProductCategoryDTO, UpdateProductCollectionDTO, UpdateProductDTO, UpdateProductOptionDTO, UpdateProductTagDTO, UpdateProductTypeDTO, UpdateProductVariantDTO, UpsertProductCollectionDTO, UpsertProductDTO } from "./common";
|
2
|
+
import { CreateProductCategoryDTO, CreateProductCollectionDTO, CreateProductDTO, CreateProductOptionDTO, CreateProductTagDTO, CreateProductTypeDTO, CreateProductVariantDTO, FilterableProductCategoryProps, FilterableProductCollectionProps, FilterableProductOptionProps, FilterableProductProps, FilterableProductTagProps, FilterableProductTypeProps, FilterableProductVariantProps, ProductCategoryDTO, ProductCollectionDTO, ProductDTO, ProductOptionDTO, ProductTagDTO, ProductTypeDTO, ProductVariantDTO, UpdateProductCategoryDTO, UpdateProductCollectionDTO, UpdateProductDTO, UpdateProductOptionDTO, UpdateProductTagDTO, UpdateProductTypeDTO, UpdateProductVariantDTO, UpsertProductCollectionDTO, UpsertProductDTO, UpsertProductOptionDTO, UpsertProductVariantDTO } from "./common";
|
3
3
|
import { FindConfig } from "../common";
|
4
4
|
import { IModuleService } from "../modules-sdk";
|
5
5
|
import { Context } from "../shared-context";
|
@@ -1145,53 +1145,153 @@ export interface IProductModuleService extends IModuleService {
|
|
1145
1145
|
*
|
1146
1146
|
* @param {CreateProductOptionDTO[]} data - The product options to be created.
|
1147
1147
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1148
|
-
* @returns {ProductOptionDTO[]} The list of created product options.
|
1148
|
+
* @returns {Promise<ProductOptionDTO[]>} The list of created product options.
|
1149
1149
|
*
|
1150
1150
|
* @example
|
1151
1151
|
* import {
|
1152
1152
|
* initialize as initializeProductModule,
|
1153
1153
|
* } from "@medusajs/product"
|
1154
1154
|
*
|
1155
|
-
* async function
|
1155
|
+
* async function createOptions (title: string) {
|
1156
1156
|
* const productModule = await initializeProductModule()
|
1157
1157
|
*
|
1158
|
-
* const
|
1158
|
+
* const options = await productModule.createOptions([
|
1159
1159
|
* {
|
1160
|
-
* title
|
1161
|
-
* product_id: productId
|
1160
|
+
* title
|
1162
1161
|
* }
|
1163
1162
|
* ])
|
1164
1163
|
*
|
1165
1164
|
* // do something with the product options or return them
|
1166
1165
|
* }
|
1166
|
+
*
|
1167
1167
|
*/
|
1168
1168
|
createOptions(data: CreateProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
|
1169
1169
|
/**
|
1170
|
-
* This method is used to
|
1170
|
+
* This method is used to create a product option.
|
1171
1171
|
*
|
1172
|
-
* @param {
|
1172
|
+
* @param {CreateProductOptionDTO} data - The product option to be created.
|
1173
1173
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1174
|
-
* @returns {ProductOptionDTO
|
1174
|
+
* @returns {Promise<ProductOptionDTO>} The created product option.
|
1175
1175
|
*
|
1176
1176
|
* @example
|
1177
1177
|
* import {
|
1178
1178
|
* initialize as initializeProductModule,
|
1179
1179
|
* } from "@medusajs/product"
|
1180
1180
|
*
|
1181
|
-
* async function
|
1181
|
+
* async function createOption (title: string) {
|
1182
1182
|
* const productModule = await initializeProductModule()
|
1183
1183
|
*
|
1184
|
-
* const
|
1184
|
+
* const option = await productModule.createOptions(
|
1185
|
+
* {
|
1186
|
+
* title
|
1187
|
+
* }
|
1188
|
+
* )
|
1189
|
+
*
|
1190
|
+
* // do something with the product option or return them
|
1191
|
+
* }
|
1192
|
+
*
|
1193
|
+
*/
|
1194
|
+
createOptions(data: CreateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
|
1195
|
+
/**
|
1196
|
+
* This method updates existing options, or creates new ones if they don't exist.
|
1197
|
+
*
|
1198
|
+
* @param {UpsertProductOptionDTO[]} data - The attributes to update or create for each option.
|
1199
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1200
|
+
* @returns {Promise<ProductOptionDTO[]>} The updated and created options.
|
1201
|
+
*
|
1202
|
+
* @example
|
1203
|
+
* import {
|
1204
|
+
* initialize as initializeProductModule,
|
1205
|
+
* } from "@medusajs/product"
|
1206
|
+
*
|
1207
|
+
* async function upsertOptions (title: string) {
|
1208
|
+
* const productModule = await initializeProductModule()
|
1209
|
+
*
|
1210
|
+
* const createdOptions = await productModule.upsertOptions([
|
1185
1211
|
* {
|
1186
|
-
* id,
|
1187
1212
|
* title
|
1188
1213
|
* }
|
1189
1214
|
* ])
|
1190
1215
|
*
|
1191
|
-
* // do something with the
|
1216
|
+
* // do something with the options or return them
|
1217
|
+
* }
|
1218
|
+
*/
|
1219
|
+
upsertOptions(data: UpsertProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
|
1220
|
+
/**
|
1221
|
+
* This method updates an existing option, or creates a new one if it doesn't exist.
|
1222
|
+
*
|
1223
|
+
* @param {UpsertProductOptionDTO} data - The attributes to update or create for the option.
|
1224
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1225
|
+
* @returns {Promise<ProductOptionDTO>} The updated or created option.
|
1226
|
+
*
|
1227
|
+
* @example
|
1228
|
+
* import {
|
1229
|
+
* initialize as initializeProductModule,
|
1230
|
+
* } from "@medusajs/product"
|
1231
|
+
*
|
1232
|
+
* async function upsertOption (title: string) {
|
1233
|
+
* const productModule = await initializeProductModule()
|
1234
|
+
*
|
1235
|
+
* const createdOption = await productModule.upsertOptions(
|
1236
|
+
* {
|
1237
|
+
* title
|
1238
|
+
* }
|
1239
|
+
* )
|
1240
|
+
*
|
1241
|
+
* // do something with the option or return it
|
1242
|
+
* }
|
1243
|
+
*/
|
1244
|
+
upsertOptions(data: UpsertProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
|
1245
|
+
/**
|
1246
|
+
* This method is used to update a option.
|
1247
|
+
*
|
1248
|
+
* @param {string} id - The ID of the option to be updated.
|
1249
|
+
* @param {UpdateProductOptionDTO} data - The attributes of the option to be updated
|
1250
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1251
|
+
* @returns {Promise<ProductOptionDTO>} The updated option.
|
1252
|
+
*
|
1253
|
+
* @example
|
1254
|
+
* import {
|
1255
|
+
* initialize as initializeProductModule,
|
1256
|
+
* } from "@medusajs/product"
|
1257
|
+
*
|
1258
|
+
* async function updateOption (id: string, title: string) {
|
1259
|
+
* const productModule = await initializeProductModule()
|
1260
|
+
*
|
1261
|
+
* const option = await productModule.updateOptions(id, {
|
1262
|
+
* title
|
1263
|
+
* }
|
1264
|
+
* )
|
1265
|
+
*
|
1266
|
+
* // do something with the option or return it
|
1267
|
+
* }
|
1268
|
+
*/
|
1269
|
+
updateOptions(id: string, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
|
1270
|
+
/**
|
1271
|
+
* This method is used to update a list of options determined by the selector filters.
|
1272
|
+
*
|
1273
|
+
* @param {FilterableProductOptionProps} selector - The filters that will determine which options will be updated.
|
1274
|
+
* @param {UpdateProductOptionDTO} data - The attributes to be updated on the selected options
|
1275
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1276
|
+
* @returns {Promise<ProductOptionDTO[]>} The updated options.
|
1277
|
+
*
|
1278
|
+
* @example
|
1279
|
+
* import {
|
1280
|
+
* initialize as initializeProductModule,
|
1281
|
+
* } from "@medusajs/product"
|
1282
|
+
*
|
1283
|
+
* async function updateOptions(ids: string[], title: string) {
|
1284
|
+
* const productModule = await initializeProductModule()
|
1285
|
+
*
|
1286
|
+
* const options = await productModule.updateOptions({id: ids}, {
|
1287
|
+
* title
|
1288
|
+
* }
|
1289
|
+
* )
|
1290
|
+
*
|
1291
|
+
* // do something with the options or return them
|
1192
1292
|
* }
|
1193
1293
|
*/
|
1194
|
-
updateOptions(data: UpdateProductOptionDTO
|
1294
|
+
updateOptions(selector: FilterableProductOptionProps, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO[]>;
|
1195
1295
|
/**
|
1196
1296
|
* This method is used to delete a product option.
|
1197
1297
|
*
|
@@ -1417,53 +1517,157 @@ export interface IProductModuleService extends IModuleService {
|
|
1417
1517
|
*/
|
1418
1518
|
listVariants(filters?: FilterableProductVariantProps, config?: FindConfig<ProductVariantDTO>, sharedContext?: Context): Promise<ProductVariantDTO[]>;
|
1419
1519
|
/**
|
1420
|
-
* This method is used to
|
1520
|
+
* This method is used to create product variants.
|
1421
1521
|
*
|
1422
|
-
* @param {
|
1522
|
+
* @param {CreateProductVariantDTO[]} data - The product variants to be created.
|
1423
1523
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1424
|
-
* @returns {Promise<ProductVariantDTO[]>} The
|
1524
|
+
* @returns {Promise<ProductVariantDTO[]>} The list of created product variants.
|
1425
1525
|
*
|
1426
1526
|
* @example
|
1427
1527
|
* import {
|
1428
1528
|
* initialize as initializeProductModule,
|
1429
1529
|
* } from "@medusajs/product"
|
1430
|
-
* import {
|
1431
|
-
* UpdateProductVariantDTO
|
1432
|
-
* } from "@medusajs/product/dist/types/services/product-variant"
|
1433
1530
|
*
|
1434
|
-
* async function
|
1531
|
+
* async function createVariants (title: string) {
|
1435
1532
|
* const productModule = await initializeProductModule()
|
1436
1533
|
*
|
1437
|
-
* const
|
1534
|
+
* const variants = await productModule.createVariants([
|
1535
|
+
* {
|
1536
|
+
* title
|
1537
|
+
* }
|
1538
|
+
* ])
|
1438
1539
|
*
|
1439
1540
|
* // do something with the product variants or return them
|
1440
1541
|
* }
|
1542
|
+
*
|
1441
1543
|
*/
|
1442
|
-
|
1544
|
+
createVariants(data: CreateProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
|
1443
1545
|
/**
|
1444
|
-
* This method is used to create
|
1546
|
+
* This method is used to create a product variant.
|
1445
1547
|
*
|
1446
|
-
* @param {CreateProductVariantDTO
|
1548
|
+
* @param {CreateProductVariantDTO} data - The product variant to be created.
|
1447
1549
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1448
|
-
* @returns {Promise<ProductVariantDTO
|
1550
|
+
* @returns {Promise<ProductVariantDTO>} The created product variant.
|
1449
1551
|
*
|
1450
1552
|
* @example
|
1451
1553
|
* import {
|
1452
1554
|
* initialize as initializeProductModule,
|
1453
1555
|
* } from "@medusajs/product"
|
1454
1556
|
*
|
1455
|
-
* async function
|
1456
|
-
* product_id: string,
|
1457
|
-
* title: string
|
1458
|
-
* }[]) {
|
1557
|
+
* async function createVariant (title: string) {
|
1459
1558
|
* const productModule = await initializeProductModule()
|
1460
1559
|
*
|
1461
|
-
* const
|
1560
|
+
* const variant = await productModule.createVariants(
|
1561
|
+
* {
|
1562
|
+
* title
|
1563
|
+
* }
|
1564
|
+
* )
|
1462
1565
|
*
|
1463
|
-
* // do something with the product
|
1566
|
+
* // do something with the product variant or return them
|
1464
1567
|
* }
|
1568
|
+
*
|
1465
1569
|
*/
|
1466
|
-
createVariants(data: CreateProductVariantDTO
|
1570
|
+
createVariants(data: CreateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
|
1571
|
+
/**
|
1572
|
+
* This method updates existing variants, or creates new ones if they don't exist.
|
1573
|
+
*
|
1574
|
+
* @param {UpsertProductVariantDTO[]} data - The attributes to update or create for each variant.
|
1575
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1576
|
+
* @returns {Promise<ProductVariantDTO[]>} The updated and created variants.
|
1577
|
+
*
|
1578
|
+
* @example
|
1579
|
+
* import {
|
1580
|
+
* initialize as initializeProductModule,
|
1581
|
+
* } from "@medusajs/product"
|
1582
|
+
*
|
1583
|
+
* async function upsertVariants (title: string) {
|
1584
|
+
* const productModule = await initializeProductModule()
|
1585
|
+
*
|
1586
|
+
* const createdVariants = await productModule.upsertVariants([
|
1587
|
+
* {
|
1588
|
+
* title
|
1589
|
+
* }
|
1590
|
+
* ])
|
1591
|
+
*
|
1592
|
+
* // do something with the variants or return them
|
1593
|
+
* }
|
1594
|
+
*/
|
1595
|
+
upsertVariants(data: UpsertProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
|
1596
|
+
/**
|
1597
|
+
* This method updates an existing variant, or creates a new one if it doesn't exist.
|
1598
|
+
*
|
1599
|
+
* @param {UpsertProductVariantDTO} data - The attributes to update or create for the variant.
|
1600
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1601
|
+
* @returns {Promise<ProductVariantDTO>} The updated or created variant.
|
1602
|
+
*
|
1603
|
+
* @example
|
1604
|
+
* import {
|
1605
|
+
* initialize as initializeProductModule,
|
1606
|
+
* } from "@medusajs/product"
|
1607
|
+
*
|
1608
|
+
* async function upsertVariant (title: string) {
|
1609
|
+
* const productModule = await initializeProductModule()
|
1610
|
+
*
|
1611
|
+
* const createdVariant = await productModule.upsertVariants(
|
1612
|
+
* {
|
1613
|
+
* title
|
1614
|
+
* }
|
1615
|
+
* )
|
1616
|
+
*
|
1617
|
+
* // do something with the variant or return it
|
1618
|
+
* }
|
1619
|
+
*/
|
1620
|
+
upsertVariants(data: UpsertProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
|
1621
|
+
/**
|
1622
|
+
* This method is used to update a variant.
|
1623
|
+
*
|
1624
|
+
* @param {string} id - The ID of the variant to be updated.
|
1625
|
+
* @param {UpdateProductVariantDTO} data - The attributes of the variant to be updated
|
1626
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1627
|
+
* @returns {Promise<ProductVariantDTO>} The updated variant.
|
1628
|
+
*
|
1629
|
+
* @example
|
1630
|
+
* import {
|
1631
|
+
* initialize as initializeProductModule,
|
1632
|
+
* } from "@medusajs/product"
|
1633
|
+
*
|
1634
|
+
* async function updateVariant (id: string, title: string) {
|
1635
|
+
* const productModule = await initializeProductModule()
|
1636
|
+
*
|
1637
|
+
* const variant = await productModule.updateVariants(id, {
|
1638
|
+
* title
|
1639
|
+
* }
|
1640
|
+
* )
|
1641
|
+
*
|
1642
|
+
* // do something with the variant or return it
|
1643
|
+
* }
|
1644
|
+
*/
|
1645
|
+
updateVariants(id: string, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
|
1646
|
+
/**
|
1647
|
+
* This method is used to update a list of variants determined by the selector filters.
|
1648
|
+
*
|
1649
|
+
* @param {FilterableProductVariantProps} selector - The filters that will determine which variants will be updated.
|
1650
|
+
* @param {UpdateProductVariantDTO} data - The attributes to be updated on the selected variants
|
1651
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
1652
|
+
* @returns {Promise<ProductVariantDTO[]>} The updated variants.
|
1653
|
+
*
|
1654
|
+
* @example
|
1655
|
+
* import {
|
1656
|
+
* initialize as initializeProductModule,
|
1657
|
+
* } from "@medusajs/product"
|
1658
|
+
*
|
1659
|
+
* async function updateVariants(ids: string[], title: string) {
|
1660
|
+
* const productModule = await initializeProductModule()
|
1661
|
+
*
|
1662
|
+
* const variants = await productModule.updateVariants({id: ids}, {
|
1663
|
+
* title
|
1664
|
+
* }
|
1665
|
+
* )
|
1666
|
+
*
|
1667
|
+
* // do something with the variants or return them
|
1668
|
+
* }
|
1669
|
+
*/
|
1670
|
+
updateVariants(selector: FilterableProductVariantProps, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO[]>;
|
1467
1671
|
/**
|
1468
1672
|
* This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved.
|
1469
1673
|
*
|
@@ -1954,10 +2158,10 @@ export interface IProductModuleService extends IModuleService {
|
|
1954
2158
|
* initialize as initializeProductModule,
|
1955
2159
|
* } from "@medusajs/product"
|
1956
2160
|
*
|
1957
|
-
* async function
|
2161
|
+
* async function upsertCollections (title: string) {
|
1958
2162
|
* const productModule = await initializeProductModule()
|
1959
2163
|
*
|
1960
|
-
* const createdCollections = await productModule.
|
2164
|
+
* const createdCollections = await productModule.upsertCollections([
|
1961
2165
|
* {
|
1962
2166
|
* title
|
1963
2167
|
* }
|
@@ -1979,10 +2183,10 @@ export interface IProductModuleService extends IModuleService {
|
|
1979
2183
|
* initialize as initializeProductModule,
|
1980
2184
|
* } from "@medusajs/product"
|
1981
2185
|
*
|
1982
|
-
* async function
|
2186
|
+
* async function upsertCollection (title: string) {
|
1983
2187
|
* const productModule = await initializeProductModule()
|
1984
2188
|
*
|
1985
|
-
* const createdCollection = await productModule.
|
2189
|
+
* const createdCollection = await productModule.upsertCollection(
|
1986
2190
|
* {
|
1987
2191
|
* title
|
1988
2192
|
* }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/product/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,gCAAgC,EAChC,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,kBAAkB,EAClB,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EACjB,MA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,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
|
package/package.json
CHANGED
@@ -1,96 +0,0 @@
|
|
1
|
-
import { BaseFilterable } from "../../dal";
|
2
|
-
import { PriceSetMoneyAmountDTO } from "./price-set-money-amount";
|
3
|
-
import { RuleTypeDTO } from "./rule-type";
|
4
|
-
/**
|
5
|
-
* @interface
|
6
|
-
*
|
7
|
-
* A price set money amount rule's data.
|
8
|
-
*/
|
9
|
-
export interface PriceSetMoneyAmountRulesDTO {
|
10
|
-
/**
|
11
|
-
* The ID of the price set money amount.
|
12
|
-
*/
|
13
|
-
id: string;
|
14
|
-
/**
|
15
|
-
* The associated price set money amount.
|
16
|
-
*
|
17
|
-
* @expandable
|
18
|
-
*/
|
19
|
-
price_set_money_amount: PriceSetMoneyAmountDTO;
|
20
|
-
/**
|
21
|
-
* The associated rule type.
|
22
|
-
*
|
23
|
-
* @expandable
|
24
|
-
*/
|
25
|
-
rule_type: RuleTypeDTO;
|
26
|
-
/**
|
27
|
-
* The value of the price set money amount rule.
|
28
|
-
*/
|
29
|
-
value: string;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* @interface
|
33
|
-
*
|
34
|
-
* The price set money amount rule to create.
|
35
|
-
*/
|
36
|
-
export interface CreatePriceSetMoneyAmountRulesDTO {
|
37
|
-
/**
|
38
|
-
* The ID of a price set money amount.
|
39
|
-
*/
|
40
|
-
price_set_money_amount: string;
|
41
|
-
/**
|
42
|
-
* The ID of a rule type.
|
43
|
-
*/
|
44
|
-
rule_type: string;
|
45
|
-
/**
|
46
|
-
* The value of the price set money amount rule.
|
47
|
-
*/
|
48
|
-
value: string;
|
49
|
-
}
|
50
|
-
/**
|
51
|
-
* @interface
|
52
|
-
*
|
53
|
-
* The data to update in a price set money amount rule. The `id` is used to identify which money amount to update.
|
54
|
-
*/
|
55
|
-
export interface UpdatePriceSetMoneyAmountRulesDTO {
|
56
|
-
/**
|
57
|
-
* The ID of the price set money amount rule to update.
|
58
|
-
*/
|
59
|
-
id: string;
|
60
|
-
/**
|
61
|
-
* The ID of a price set money amount.
|
62
|
-
*/
|
63
|
-
price_set_money_amount?: string;
|
64
|
-
/**
|
65
|
-
* The ID of a rule type.
|
66
|
-
*/
|
67
|
-
rule_type?: string;
|
68
|
-
/**
|
69
|
-
* The value of the price set money amount rule.
|
70
|
-
*/
|
71
|
-
value?: string;
|
72
|
-
}
|
73
|
-
/**
|
74
|
-
* @interface
|
75
|
-
*
|
76
|
-
* Filters to apply on price set money amount rules.
|
77
|
-
*/
|
78
|
-
export interface FilterablePriceSetMoneyAmountRulesProps extends BaseFilterable<FilterablePriceSetMoneyAmountRulesProps> {
|
79
|
-
/**
|
80
|
-
* The ID to filter price set money amount rules by.
|
81
|
-
*/
|
82
|
-
id?: string[];
|
83
|
-
/**
|
84
|
-
* The IDs to filter the price set money amount rule's associated rule type.
|
85
|
-
*/
|
86
|
-
rule_type_id?: string[];
|
87
|
-
/**
|
88
|
-
* The IDs to filter the price set money amount rule's associated price set money amount.
|
89
|
-
*/
|
90
|
-
price_set_money_amount_id?: string[];
|
91
|
-
/**
|
92
|
-
* The value to filter price set money amount rules by.
|
93
|
-
*/
|
94
|
-
value?: string[];
|
95
|
-
}
|
96
|
-
//# sourceMappingURL=price-set-money-amount-rules.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"price-set-money-amount-rules.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set-money-amount-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,sBAAsB,EAAE,sBAAsB,CAAA;IAC9C;;;;OAIG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,uCACf,SAAQ,cAAc,CAAC,uCAAuC,CAAC;IAC/D;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAA;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CACjB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"price-set-money-amount-rules.js","sourceRoot":"","sources":["../../../src/pricing/common/price-set-money-amount-rules.ts"],"names":[],"mappings":""}
|