@medusajs/types 1.12.0-snapshot-20240325085803 → 1.12.0-snapshot-20240328175402

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/common/config-module.d.ts +7 -4
  2. package/dist/common/config-module.d.ts.map +1 -1
  3. package/dist/dal/index.d.ts +11 -0
  4. package/dist/dal/index.d.ts.map +1 -1
  5. package/dist/dal/index.js.map +1 -1
  6. package/dist/dal/repository-service.d.ts +2 -1
  7. package/dist/dal/repository-service.d.ts.map +1 -1
  8. package/dist/modules-sdk/internal-module-service.d.ts +2 -1
  9. package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
  10. package/dist/order/service.d.ts +1450 -0
  11. package/dist/order/service.d.ts.map +1 -1
  12. package/dist/pricing/common/index.d.ts +1 -1
  13. package/dist/pricing/common/index.d.ts.map +1 -1
  14. package/dist/pricing/common/index.js +1 -1
  15. package/dist/pricing/common/index.js.map +1 -1
  16. package/dist/pricing/common/money-amount.d.ts +0 -5
  17. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  18. package/dist/pricing/common/price-list.d.ts +2 -2
  19. package/dist/pricing/common/price-list.d.ts.map +1 -1
  20. package/dist/pricing/common/price-rule.d.ts +7 -7
  21. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  22. package/dist/pricing/common/price-set-rule-type.d.ts +2 -2
  23. package/dist/pricing/common/price-set-rule-type.d.ts.map +1 -1
  24. package/dist/pricing/common/price.d.ts +137 -0
  25. package/dist/pricing/common/price.d.ts.map +1 -0
  26. package/dist/pricing/common/{price-set-money-amount.js → price.js} +1 -1
  27. package/dist/pricing/common/price.js.map +1 -0
  28. package/dist/pricing/service.d.ts +68 -68
  29. package/dist/pricing/service.d.ts.map +1 -1
  30. package/dist/sales-channel/mutations.d.ts +5 -1
  31. package/dist/sales-channel/mutations.d.ts.map +1 -1
  32. package/dist/sales-channel/service.d.ts +127 -62
  33. package/dist/sales-channel/service.d.ts.map +1 -1
  34. package/dist/stock-location/common.d.ts +11 -10
  35. package/dist/stock-location/common.d.ts.map +1 -1
  36. package/dist/stock-location/service-next.d.ts +22 -3
  37. package/dist/stock-location/service-next.d.ts.map +1 -1
  38. package/dist/workflow/invite/accept-invite.d.ts +1 -0
  39. package/dist/workflow/invite/accept-invite.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/dist/pricing/common/price-set-money-amount.d.ts +0 -93
  42. package/dist/pricing/common/price-set-money-amount.d.ts.map +0 -1
  43. package/dist/pricing/common/price-set-money-amount.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/order/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,2BAA2B,EAC3B,sCAAsC,EACtC,4BAA4B,EAC5B,mCAAmC,EACnC,oBAAoB,EACpB,4CAA4C,EAC5C,kCAAkC,EAClC,yCAAyC,EACzC,eAAe,EACf,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,0BAA0B,EAC1B,gBAAgB,EAChB,uBAAuB,EACvB,gCAAgC,EAChC,sBAAsB,EACtB,6BAA6B,EAC9B,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EACtB,8BAA8B,EAC9B,6BAA6B,EAC7B,sCAAsC,EACtC,4BAA4B,EAC5B,mCAAmC,EACnC,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,8BAA8B,EAC9B,sBAAsB,EACtB,6BAA6B,EAC7B,kCAAkC,EAClC,sCAAsC,EACtC,mCAAmC,EACnC,gCAAgC,EACjC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,mBAAoB,SAAQ,cAAc;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AE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB;;;;;;;;;;;;OAYG;IACH,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,OAAC;IAE7E;;;;;;;;;;;;;;;;;;;OAmBG;IACH,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,aAAa,CAAC,EAAE,OAAO,OAAC;CACnD"}
@@ -1,8 +1,8 @@
1
1
  export * from "./money-amount";
2
+ export * from "./price";
2
3
  export * from "./price-list";
3
4
  export * from "./price-rule";
4
5
  export * from "./price-set";
5
- export * from "./price-set-money-amount";
6
6
  export * from "./price-set-rule-type";
7
7
  export * from "./rule-type";
8
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,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA"}
@@ -15,10 +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"), exports);
18
19
  __exportStar(require("./price-list"), exports);
19
20
  __exportStar(require("./price-rule"), exports);
20
21
  __exportStar(require("./price-set"), exports);
21
- __exportStar(require("./price-set-money-amount"), exports);
22
22
  __exportStar(require("./price-set-rule-type"), exports);
23
23
  __exportStar(require("./rule-type"), exports);
24
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,+CAA4B;AAC5B,8CAA2B;AAC3B,2DAAwC;AACxC,wDAAqC;AACrC,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pricing/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,+CAA4B;AAC5B,8CAA2B;AAC3B,wDAAqC;AACrC,8CAA2B"}
@@ -1,5 +1,4 @@
1
1
  import { BaseFilterable } from "../../dal";
2
- import { PriceSetMoneyAmountDTO } from "./price-set-money-amount";
3
2
  /**
4
3
  * @interface
5
4
  *
@@ -26,10 +25,6 @@ export interface MoneyAmountDTO {
26
25
  * The maximum quantity required to be purchased for this price to be applied.
27
26
  */
28
27
  max_quantity?: number;
29
- /**
30
- * The details of the relation between the money amount and its associated price set.
31
- */
32
- price_set_money_amount?: PriceSetMoneyAmountDTO;
33
28
  /**
34
29
  * When the money_amount was created.
35
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"money-amount.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/money-amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAA;IAC/C;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,0BACf,SAAQ,cAAc,CAAC,0BAA0B,CAAC;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAClC"}
1
+ {"version":3,"file":"money-amount.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/money-amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;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} from "../../dal";
2
2
  import { CreateMoneyAmountDTO, MoneyAmountDTO, UpdateMoneyAmountDTO } from "./money-amount";
3
- import { PriceSetMoneyAmountDTO } from "./price-set-money-amount";
3
+ import { PriceDTO } from "./price";
4
4
  import { RuleTypeDTO } from "./rule-type";
5
5
  /**
6
6
  * @enum
@@ -67,7 +67,7 @@ export interface PriceListDTO {
67
67
  *
68
68
  * @expandable
69
69
  */
70
- price_set_money_amounts?: PriceSetMoneyAmountDTO[];
70
+ prices?: PriceDTO[];
71
71
  /**
72
72
  * The associated money amounts.
73
73
  *
@@ -1 +1 @@
1
- {"version":3,"file":"price-list.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACrB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;;;GAIG;AACH,oBAAY,aAAa;IACvB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;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AM,CAAA;CAC5C;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB"}
1
+ {"version":3,"file":"price-list.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACrB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;;;GAIG;AACH,oBAAY,aAAa;IACvB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,QAAQ,aAAa;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B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,eAAe,EAAE,gBAAgB,CAAA;CAClC;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAA;CAC5C;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB"}
@@ -39,9 +39,9 @@ export interface PriceRuleDTO {
39
39
  */
40
40
  priority: number;
41
41
  /**
42
- * The ID of the associated price set money amount.
42
+ * The ID of the associated price.
43
43
  */
44
- price_set_money_amount_id: string;
44
+ price_id: string;
45
45
  /**
46
46
  * The ID of the associated price list.
47
47
  */
@@ -83,15 +83,15 @@ export interface CreatePriceRuleDTO {
83
83
  */
84
84
  priority?: number;
85
85
  /**
86
- * The ID of the associated price set money amount.
86
+ * The ID of the associated price.
87
87
  */
88
- price_set_money_amount_id?: string;
88
+ price_id?: string;
89
89
  }
90
90
  /**
91
91
  *
92
92
  * @interface
93
93
  *
94
- * The data to update in a price rule. The `id` is used to identify which money amount to update.
94
+ * The data to update in a price rule. The `id` is used to identify which price rule to update.
95
95
  */
96
96
  export interface UpdatePriceRuleDTO {
97
97
  id: string;
@@ -106,9 +106,9 @@ export interface UpdatePriceRuleDTO {
106
106
  */
107
107
  priority?: number;
108
108
  /**
109
- * The ID of the associated price set money amount.
109
+ * The ID of the associated price.
110
110
  */
111
- price_set_money_amount_id?: string;
111
+ price_id?: string;
112
112
  /**
113
113
  * The ID of the associated price list.
114
114
  */
@@ -1 +1 @@
1
- {"version":3,"file":"price-rule.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAA;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAA;CACnC;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
1
+ {"version":3,"file":"price-rule.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE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AC,EAAE,MAAM,CAAA;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
@@ -8,8 +8,8 @@ export interface PriceSetRuleTypeDTO {
8
8
  value: string;
9
9
  }
10
10
  export interface CreatePriceSetRuleTypeDTO {
11
- price_set: PriceSetDTO;
12
- rule_type: RuleTypeDTO;
11
+ price_set_id: string;
12
+ rule_type_id: string;
13
13
  }
14
14
  export interface UpdatePriceSetRuleTypeDTO {
15
15
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"price-set-rule-type.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set-rule-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,WAAW,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,WAAW,CAAA;CACvB;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,+BACf,SAAQ,cAAc,CAAC,+BAA+B,CAAC;IACvD,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
1
+ {"version":3,"file":"price-set-rule-type.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set-rule-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,WAAW,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,+BACf,SAAQ,cAAc,CAAC,+BAA+B,CAAC;IACvD,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
@@ -0,0 +1,137 @@
1
+ import { BaseFilterable } from "../../dal";
2
+ import { PriceListDTO } from "./price-list";
3
+ import { PriceRuleDTO } from "./price-rule";
4
+ import { PriceSetDTO } from "./price-set";
5
+ /**
6
+ * @interface
7
+ *
8
+ * A price's data.
9
+ */
10
+ export interface PriceDTO {
11
+ /**
12
+ * The ID of a price.
13
+ */
14
+ id: string;
15
+ /**
16
+ * The title of the price.
17
+ */
18
+ title?: string;
19
+ /**
20
+ * The currency code of this price.
21
+ */
22
+ currency_code?: string;
23
+ /**
24
+ * The price of this price.
25
+ */
26
+ amount?: number;
27
+ /**
28
+ * The minimum quantity required to be purchased for this price to be applied.
29
+ */
30
+ min_quantity?: number;
31
+ /**
32
+ * The maximum quantity required to be purchased for this price to be applied.
33
+ */
34
+ max_quantity?: number;
35
+ /**
36
+ * The price set associated with the price.
37
+ *
38
+ * @expandable
39
+ */
40
+ price_set?: PriceSetDTO;
41
+ /**
42
+ * The price list associated with the price.
43
+ *
44
+ * @expandable
45
+ */
46
+ price_list?: PriceListDTO;
47
+ /**
48
+ * The ID of the associated price set.
49
+ */
50
+ price_set_id?: string;
51
+ /**
52
+ * The price rules associated with the price.
53
+ *
54
+ * @expandable
55
+ */
56
+ price_rules?: PriceRuleDTO[];
57
+ /**
58
+ * When the price was created.
59
+ */
60
+ created_at: Date;
61
+ /**
62
+ * When the price was updated.
63
+ */
64
+ updated_at: Date;
65
+ /**
66
+ * When the price was deleted.
67
+ */
68
+ deleted_at: null | Date;
69
+ }
70
+ export interface UpdatePriceDTO {
71
+ id: string;
72
+ title?: string;
73
+ price_set?: PriceSetDTO;
74
+ /**
75
+ * The code of the currency to associate with the price.
76
+ */
77
+ currency_code?: string | null;
78
+ /**
79
+ * The amount of this price.
80
+ */
81
+ amount?: number;
82
+ /**
83
+ * The minimum quantity required to be purchased for this price to be applied.
84
+ */
85
+ min_quantity?: number;
86
+ /**
87
+ * The maximum quantity required to be purchased for this price to be applied.
88
+ */
89
+ max_quantity?: number;
90
+ }
91
+ export interface CreatePriceDTO {
92
+ title?: string;
93
+ price_set?: PriceSetDTO | string;
94
+ price_set_id: string;
95
+ price_list?: PriceListDTO | string;
96
+ rules_count?: number;
97
+ /**
98
+ * The currency code of this price.
99
+ */
100
+ currency_code: string;
101
+ /**
102
+ * The amount of this price.
103
+ */
104
+ amount: number;
105
+ /**
106
+ * The minimum quantity required to be purchased for this price to be applied.
107
+ */
108
+ min_quantity?: number | null;
109
+ /**
110
+ * The maximum quantity required to be purchased for this price to be applied.
111
+ */
112
+ max_quantity?: number | null;
113
+ }
114
+ /**
115
+ * @interface
116
+ *
117
+ * Filters to apply on prices.
118
+ */
119
+ export interface FilterablePriceProps extends BaseFilterable<FilterablePriceProps> {
120
+ /**
121
+ * The IDs to filter the prices by.
122
+ */
123
+ id?: string[];
124
+ /**
125
+ * Currency codes to filter price by.
126
+ */
127
+ currency_code?: string | string[];
128
+ /**
129
+ * The IDs to filter the price's associated price set.
130
+ */
131
+ price_set_id?: string[];
132
+ /**
133
+ * The IDs to filter the price's associated price list.
134
+ */
135
+ price_list_id?: string[];
136
+ }
137
+ //# sourceMappingURL=price.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAA;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,YAAY,EAAE,CAAA;IAC5B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@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=price-set-money-amount.js.map
3
+ //# sourceMappingURL=price.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price.js","sourceRoot":"","sources":["../../../src/pricing/common/price.ts"],"names":[],"mappings":""}