@medusajs/types 1.12.0-snapshot-20240523103337 → 1.12.0-snapshot-20240523153451

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/dist/http/campaign/admin/campaign.d.ts +1 -0
  2. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  3. package/dist/http/promotion/admin/index.d.ts +1 -0
  4. package/dist/http/promotion/admin/index.d.ts.map +1 -1
  5. package/dist/http/promotion/admin/index.js +1 -0
  6. package/dist/http/promotion/admin/index.js.map +1 -1
  7. package/dist/http/promotion/admin/rule-value-options.d.ts +15 -0
  8. package/dist/http/promotion/admin/rule-value-options.d.ts.map +1 -0
  9. package/dist/http/promotion/admin/rule-value-options.js +3 -0
  10. package/dist/http/promotion/admin/rule-value-options.js.map +1 -0
  11. package/dist/http/promotion/common.d.ts +12 -0
  12. package/dist/http/promotion/common.d.ts.map +1 -0
  13. package/dist/http/promotion/common.js +3 -0
  14. package/dist/http/promotion/common.js.map +1 -0
  15. package/dist/http/promotion/index.d.ts +1 -0
  16. package/dist/http/promotion/index.d.ts.map +1 -1
  17. package/dist/http/promotion/index.js +1 -0
  18. package/dist/http/promotion/index.js.map +1 -1
  19. package/dist/http/promotion/store.d.ts +4 -0
  20. package/dist/http/promotion/store.d.ts.map +1 -0
  21. package/dist/http/promotion/store.js +3 -0
  22. package/dist/http/promotion/store.js.map +1 -0
  23. package/dist/joiner/index.d.ts +0 -5
  24. package/dist/joiner/index.d.ts.map +1 -1
  25. package/dist/modules-sdk/index.d.ts +0 -4
  26. package/dist/modules-sdk/index.d.ts.map +1 -1
  27. package/dist/promotion/common/application-method.d.ts +13 -1
  28. package/dist/promotion/common/application-method.d.ts.map +1 -1
  29. package/dist/promotion/common/campaign-budget.d.ts +4 -0
  30. package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
  31. package/dist/promotion/common/campaign.d.ts +0 -4
  32. package/dist/promotion/common/campaign.d.ts.map +1 -1
  33. package/dist/promotion/common/promotion.d.ts +1 -1
  34. package/dist/promotion/common/promotion.d.ts.map +1 -1
  35. package/dist/promotion/http.d.ts +1 -0
  36. package/dist/promotion/http.d.ts.map +1 -1
  37. package/dist/promotion/mutations.d.ts +10 -10
  38. package/dist/promotion/mutations.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -11,6 +11,7 @@ export interface CampaignResponse {
11
11
  budget: {
12
12
  id: string;
13
13
  type: CampaignBudgetTypeValues;
14
+ currency_code: string;
14
15
  limit: number;
15
16
  used: number;
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B"}
1
+ {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B"}
@@ -1,4 +1,5 @@
1
1
  export * from "./promotion-rule";
2
2
  export * from "./rule-attribute-options";
3
3
  export * from "./rule-operator-options";
4
+ export * from "./rule-value-options";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA"}
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./promotion-rule"), exports);
18
18
  __exportStar(require("./rule-attribute-options"), exports);
19
19
  __exportStar(require("./rule-operator-options"), exports);
20
+ __exportStar(require("./rule-value-options"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,2DAAwC;AACxC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,2DAAwC;AACxC,0DAAuC;AACvC,uDAAoC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface RuleValueOptionsResponse {
5
+ id: string;
6
+ value: string;
7
+ label: string;
8
+ }
9
+ /**
10
+ * @experimental
11
+ */
12
+ export interface AdminRuleValueOptionsListResponse {
13
+ values: RuleValueOptionsResponse[];
14
+ }
15
+ //# sourceMappingURL=rule-value-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-value-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-value-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,wBAAwB,EAAE,CAAA;CACnC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rule-value-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-value-options.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-value-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { ApplicationMethodTypeValues } from "../../promotion";
2
+ export interface BasePromotion {
3
+ id: string;
4
+ code?: string;
5
+ is_automatic?: boolean;
6
+ application_method?: {
7
+ type?: ApplicationMethodTypeValues;
8
+ value?: number;
9
+ currency_code?: string;
10
+ };
11
+ }
12
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,kBAAkB,CAAC,EAAE;QACnB,IAAI,CAAC,EAAE,2BAA2B,CAAA;QAClC,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB,CAAA;CACF"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/promotion/common.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./admin";
2
+ export * from "./store";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./admin"), exports);
18
+ __exportStar(require("./store"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/promotion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/promotion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -0,0 +1,4 @@
1
+ import { BasePromotion } from "./common";
2
+ export interface StorePromotion extends BasePromotion {
3
+ }
4
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,WAAW,cAAe,SAAQ,aAAa;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/promotion/store.ts"],"names":[],"mappings":""}
@@ -3,11 +3,6 @@ export type JoinerRelationship = {
3
3
  foreignKey: string;
4
4
  primaryKey: string;
5
5
  serviceName: string;
6
- /**
7
- * If true, the relationship is an internal service from the medusa core
8
- * TODO: Remove when there are no more "internal" services
9
- */
10
- isInternalService?: boolean;
11
6
  /**
12
7
  * In an inverted relationship the foreign key is on the other service and the primary key is on the current service
13
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/joiner/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,iBAAiB,CAA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C;QACd,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,MAAM,EAAE,CAAA;QAChB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;QACvB,UAAU,CAAC,EAAE;YAAE,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;SAAE,CAAA;KACpD,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;KAAE,CAAA;CACpD;AAED,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,uBAAuB,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,CAAA;CAC7C;AAED,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;QACjB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;QACvB,OAAO,CAAC,EAAE,mBAAmB,CAAA;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,aAAa,EAAE,mBAAmB,CAAA;IAClC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC9B"}
@@ -154,10 +154,6 @@ export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "prim
154
154
  };
155
155
  };
156
156
  export declare type ModuleJoinerRelationship = JoinerRelationship & {
157
- /**
158
- * If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more "internal" services
159
- */
160
- isInternalService?: boolean;
161
157
  /**
162
158
  * If true, the link joiner will cascade deleting the relationship
163
159
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AACtD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AAEjC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,WAAW,CAAA;AACf,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,EAAE,CAAA;AAExD,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAA;IAC5B,SAAS,EAAE,oBAAoB,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA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I,CAAA;AAExB,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,cAAc,CAAC,IAAI,kBAAkB,CAAA;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QACxC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QAC3C,4BAA4B,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KACnD,CAAA;CACF"}
@@ -41,6 +41,10 @@ export interface ApplicationMethodDTO {
41
41
  * The discounted amount applied by the associated promotion based on the `type`.
42
42
  */
43
43
  value?: number;
44
+ /**
45
+ * The currency code of the application method
46
+ */
47
+ currency_code?: string;
44
48
  /**
45
49
  * The max quantity allowed in the cart for the associated promotion to be applied.
46
50
  */
@@ -94,6 +98,10 @@ export interface CreateApplicationMethodDTO {
94
98
  * The discounted amount applied by the associated promotion based on the `type`.
95
99
  */
96
100
  value?: number;
101
+ /**
102
+ * Currency of the value to apply.
103
+ */
104
+ currency_code: string;
97
105
  /**
98
106
  * The max quantity allowed in the cart for the associated promotion to be applied.
99
107
  */
@@ -130,7 +138,7 @@ export interface UpdateApplicationMethodDTO {
130
138
  /**
131
139
  * The ID of the application method.
132
140
  */
133
- id: string;
141
+ id?: string;
134
142
  /**
135
143
  * The type of the application method indicating how
136
144
  * the associated promotion is applied.
@@ -151,6 +159,10 @@ export interface UpdateApplicationMethodDTO {
151
159
  * The discounted amount applied by the associated promotion based on the `type`.
152
160
  */
153
161
  value?: number;
162
+ /**
163
+ * The currency code of the promotions application
164
+ */
165
+ currency_code?: string;
154
166
  /**
155
167
  * The max quantity allowed in the cart for the associated promotion to be applied.
156
168
  */
@@ -1 +1 @@
1
- {"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,O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":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,YAAY,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,iCAAiC,GACzC,OAAO,GACP,kBAAkB,GAClB,OAAO,CAAA;AAEX;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEjE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;OAGG;IACH,IAAI,CAAC,EAAE,2BAA2B,CAAA;IAElC;;;;OAIG;IACH,WAAW,CAAC,EAAE,iCAAiC,CAAA;IAE/C;;;OAGG;IACH,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;IAEjC;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,I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AQ,cAAc,CAAC,gCAAgC,CAAC;IACxD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,2BAA2B,EAAE,CAAA;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,iCAAiC,EAAE,CAAA;IAEjD;;OAEG;IACH,UAAU,CAAC,EAAE,iCAAiC,EAAE,CAAA;CACjD"}
@@ -31,6 +31,10 @@ export interface CampaignBudgetDTO {
31
31
  *
32
32
  */
33
33
  used?: number;
34
+ /**
35
+ * The currency of the campaign.
36
+ */
37
+ currency_code?: string;
34
38
  }
35
39
  /**
36
40
  * The filters to apply on the retrieved campaign budgets.
@@ -1 +1 @@
1
- {"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,OAAO,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
1
+ {"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,OAAO,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
@@ -17,10 +17,6 @@ export interface CampaignDTO {
17
17
  * The description of the campaign.
18
18
  */
19
19
  description?: string;
20
- /**
21
- * The currency of the campaign.
22
- */
23
- currency?: string;
24
20
  /**
25
21
  * The campaign identifier of the campaign.
26
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA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CAAA;IACV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B"}
@@ -71,7 +71,7 @@ export interface CreatePromotionDTO {
71
71
  /**
72
72
  * The associated application method.
73
73
  */
74
- application_method?: CreateApplicationMethodDTO;
74
+ application_method: CreateApplicationMethodDTO;
75
75
  /**
76
76
  * The rules of the promotion.
77
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEvD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IAEzC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED;;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AC,EAAE,iBAAiB,CAAA;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAE1B;;OAEG;IACH,kBAAkB,CAAC,EAAE,0BAA0B,CAAA;IAE/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1C;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAC7B"}
@@ -4,6 +4,7 @@ export type AdminGetPromotionRulesRes = {
4
4
  attribute_label: string;
5
5
  field_type?: string;
6
6
  operator: string;
7
+ hydrate: boolean;
7
8
  operator_label: string;
8
9
  values: {
9
10
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/promotion/http.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,EAAE,CAAA"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/promotion/http.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,EAAE,CAAA"}
@@ -10,11 +10,15 @@ export interface CreateCampaignBudgetDTO {
10
10
  /**
11
11
  * The limit of the campaign budget.
12
12
  */
13
- limit?: number;
13
+ limit?: number | null;
14
14
  /**
15
15
  * How much is used of the campaign budget.
16
16
  */
17
17
  used?: number;
18
+ /**
19
+ * The currency of the campaign.
20
+ */
21
+ currency_code?: string | null;
18
22
  }
19
23
  /**
20
24
  * The attributes to update in the campaign budget.
@@ -31,7 +35,11 @@ export interface UpdateCampaignBudgetDTO {
31
35
  /**
32
36
  * The limit of the campaign budget.
33
37
  */
34
- limit?: number;
38
+ limit?: number | null;
39
+ /**
40
+ * The limit of the campaign budget.
41
+ */
42
+ currency_code?: string | null;
35
43
  /**
36
44
  * How much is used of the campaign budget.
37
45
  */
@@ -49,10 +57,6 @@ export interface CreateCampaignDTO {
49
57
  * The description of the campaign.
50
58
  */
51
59
  description?: string;
52
- /**
53
- * The currency of the campaign.
54
- */
55
- currency?: string;
56
60
  /**
57
61
  * The campaign identifier of the campaign.
58
62
  */
@@ -86,10 +90,6 @@ export interface UpdateCampaignDTO {
86
90
  * The description of the campaign.
87
91
  */
88
92
  description?: string;
89
- /**
90
- * The currency of the campaign.
91
- */
92
- currency?: string;
93
93
  /**
94
94
  * The campaign identifier of the campaign.
95
95
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/promotion/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,S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E,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240523103337",
3
+ "version": "1.12.0-snapshot-20240523153451",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",