@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/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":""}
|