@medusajs/types 1.11.14 → 1.11.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/api-key/common/api-key.d.ts +55 -0
  2. package/dist/api-key/common/api-key.d.ts.map +1 -1
  3. package/dist/api-key/mutations/api-key.d.ts +43 -0
  4. package/dist/api-key/mutations/api-key.d.ts.map +1 -1
  5. package/dist/api-key/service.d.ts +203 -42
  6. package/dist/api-key/service.d.ts.map +1 -1
  7. package/dist/auth/common/provider.d.ts +4 -0
  8. package/dist/auth/common/provider.d.ts.map +1 -1
  9. package/dist/common/common.d.ts +2 -0
  10. package/dist/common/common.d.ts.map +1 -1
  11. package/dist/common/config-module.d.ts +52 -0
  12. package/dist/common/config-module.d.ts.map +1 -1
  13. package/dist/inventory/common/inventory-level.d.ts +5 -5
  14. package/dist/inventory/common/inventory-level.d.ts.map +1 -1
  15. package/dist/inventory/mutations/inventory-level.d.ts +1 -1
  16. package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
  17. package/dist/modules-sdk/index.d.ts +4 -1
  18. package/dist/modules-sdk/index.d.ts.map +1 -1
  19. package/dist/pricing/common/index.d.ts +2 -3
  20. package/dist/pricing/common/index.d.ts.map +1 -1
  21. package/dist/pricing/common/index.js +2 -3
  22. package/dist/pricing/common/index.js.map +1 -1
  23. package/dist/pricing/common/money-amount.d.ts +0 -5
  24. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  25. package/dist/pricing/common/price-list.d.ts +2 -2
  26. package/dist/pricing/common/price-list.d.ts.map +1 -1
  27. package/dist/pricing/common/price-rule.d.ts +7 -7
  28. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  29. package/dist/pricing/common/price-set-rule-type.d.ts +2 -2
  30. package/dist/pricing/common/price-set-rule-type.d.ts.map +1 -1
  31. package/dist/pricing/common/price-set.d.ts +10 -10
  32. package/dist/pricing/common/price-set.d.ts.map +1 -1
  33. package/dist/pricing/common/price.d.ts +137 -0
  34. package/dist/pricing/common/price.d.ts.map +1 -0
  35. package/dist/pricing/common/{price-set-money-amount.js → price.js} +1 -1
  36. package/dist/pricing/common/price.js.map +1 -0
  37. package/dist/pricing/service.d.ts +70 -797
  38. package/dist/pricing/service.d.ts.map +1 -1
  39. package/dist/product/common.d.ts +4 -6
  40. package/dist/product/common.d.ts.map +1 -1
  41. package/dist/product/service.d.ts +241 -37
  42. package/dist/product/service.d.ts.map +1 -1
  43. package/dist/stock-location/service-next.d.ts +17 -0
  44. package/dist/stock-location/service-next.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/pricing/common/price-set-money-amount-rules.d.ts +0 -96
  47. package/dist/pricing/common/price-set-money-amount-rules.d.ts.map +0 -1
  48. package/dist/pricing/common/price-set-money-amount-rules.js +0 -3
  49. package/dist/pricing/common/price-set-money-amount-rules.js.map +0 -1
  50. package/dist/pricing/common/price-set-money-amount.d.ts +0 -93
  51. package/dist/pricing/common/price-set-money-amount.d.ts.map +0 -1
  52. package/dist/pricing/common/price-set-money-amount.js.map +0 -1
@@ -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,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=price-set-money-amount-rules.js.map
@@ -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":""}
@@ -1,93 +0,0 @@
1
- import { BaseFilterable } from "../../dal";
2
- import { MoneyAmountDTO } from "./money-amount";
3
- import { PriceListDTO } from "./price-list";
4
- import { PriceRuleDTO } from "./price-rule";
5
- import { PriceSetDTO } from "./price-set";
6
- /**
7
- * @interface
8
- *
9
- * A price set money amount's data.
10
- */
11
- export interface PriceSetMoneyAmountDTO {
12
- /**
13
- * The ID of a price set money amount.
14
- */
15
- id: string;
16
- /**
17
- * The title of the price set money amount.
18
- */
19
- title?: string;
20
- /**
21
- * The price set associated with the price set money amount.
22
- *
23
- * @expandable
24
- */
25
- price_set?: PriceSetDTO;
26
- /**
27
- * The price list associated with the price set money amount.
28
- *
29
- * @expandable
30
- */
31
- price_list?: PriceListDTO;
32
- /**
33
- * The ID of the associated price set.
34
- */
35
- price_set_id?: string;
36
- /**
37
- * The price rules associated with the price set money amount.
38
- *
39
- * @expandable
40
- */
41
- price_rules?: PriceRuleDTO[];
42
- /**
43
- * The money amount associated with the price set money amount.
44
- *
45
- * @expandable
46
- */
47
- money_amount?: MoneyAmountDTO;
48
- /**
49
- * When the price_set_money_amount was created.
50
- */
51
- created_at: Date;
52
- /**
53
- * When the price_set_money_amount was updated.
54
- */
55
- updated_at: Date;
56
- /**
57
- * When the price_set_money_amount was deleted.
58
- */
59
- deleted_at: null | Date;
60
- }
61
- export interface UpdatePriceSetMoneyAmountDTO {
62
- id: string;
63
- title?: string;
64
- price_set?: PriceSetDTO;
65
- money_amount?: MoneyAmountDTO;
66
- }
67
- export interface CreatePriceSetMoneyAmountDTO {
68
- title?: string;
69
- price_set?: PriceSetDTO | string;
70
- price_list?: PriceListDTO | string;
71
- money_amount?: MoneyAmountDTO | string;
72
- rules_count?: number;
73
- }
74
- /**
75
- * @interface
76
- *
77
- * Filters to apply on price set money amounts.
78
- */
79
- export interface FilterablePriceSetMoneyAmountProps extends BaseFilterable<FilterablePriceSetMoneyAmountProps> {
80
- /**
81
- * The IDs to filter the price set money amounts by.
82
- */
83
- id?: string[];
84
- /**
85
- * The IDs to filter the price set money amount's associated price set.
86
- */
87
- price_set_id?: string[];
88
- /**
89
- * The IDs to filter the price set money amount's associated price list.
90
- */
91
- price_list_id?: string[];
92
- }
93
- //# sourceMappingURL=price-set-money-amount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"price-set-money-amount.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set-money-amount.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H,MAAM,WAAW,kCACf,SAAQ,cAAc,CAAC,kCAAkC,CAAC;IAC1D;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"price-set-money-amount.js","sourceRoot":"","sources":["../../../src/pricing/common/price-set-money-amount.ts"],"names":[],"mappings":""}