@medusajs/types 1.12.0-snapshot-20240904130551 → 1.12.0-snapshot-20240905140403

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/dist/admin/extensions.d.ts +2 -2
  2. package/dist/common/batch.d.ts +1 -5
  3. package/dist/common/batch.d.ts.map +1 -1
  4. package/dist/common/common.d.ts +9 -59
  5. package/dist/common/common.d.ts.map +1 -1
  6. package/dist/common/config-module.d.ts +1 -2
  7. package/dist/common/config-module.d.ts.map +1 -1
  8. package/dist/http/claim/admin/payloads.d.ts +2 -2
  9. package/dist/http/claim/admin/payloads.d.ts.map +1 -1
  10. package/dist/http/common/response.d.ts +9 -0
  11. package/dist/http/common/response.d.ts.map +1 -1
  12. package/dist/http/exchange/admin/payloads.d.ts +2 -2
  13. package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
  14. package/dist/http/order/store/queries.d.ts +2 -1
  15. package/dist/http/order/store/queries.d.ts.map +1 -1
  16. package/dist/http/payment/store/queries.d.ts +3 -3
  17. package/dist/http/payment/store/queries.d.ts.map +1 -1
  18. package/dist/http/product/admin/responses.d.ts +4 -5
  19. package/dist/http/product/admin/responses.d.ts.map +1 -1
  20. package/dist/http/product/store/queries.d.ts +2 -1
  21. package/dist/http/product/store/queries.d.ts.map +1 -1
  22. package/dist/http/product-category/store/queries.d.ts +1 -1
  23. package/dist/http/product-category/store/queries.d.ts.map +1 -1
  24. package/dist/http/promotion/admin/responses.d.ts +2 -3
  25. package/dist/http/promotion/admin/responses.d.ts.map +1 -1
  26. package/dist/http/region/admin/queries.d.ts +3 -3
  27. package/dist/http/region/admin/queries.d.ts.map +1 -1
  28. package/dist/http/region/common.d.ts +1 -1
  29. package/dist/http/region/common.d.ts.map +1 -1
  30. package/dist/http/region/store/queries.d.ts +1 -1
  31. package/dist/http/region/store/queries.d.ts.map +1 -1
  32. package/dist/http/return/admin/payloads.d.ts +2 -2
  33. package/dist/http/return/admin/payloads.d.ts.map +1 -1
  34. package/dist/http/shipping-option/admin/responses.d.ts +2 -3
  35. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
  36. package/dist/http/workflow-execution/admin/responses.d.ts +4 -0
  37. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
  38. package/dist/order/common.d.ts +1 -1
  39. package/dist/order/common.d.ts.map +1 -1
  40. package/dist/product/common.d.ts +42 -0
  41. package/dist/product/common.d.ts.map +1 -1
  42. package/dist/product/service.d.ts +221 -1
  43. package/dist/product/service.d.ts.map +1 -1
  44. package/dist/promotion/common/compute-actions.d.ts +10 -1
  45. package/dist/promotion/common/compute-actions.d.ts.map +1 -1
  46. package/dist/promotion/service.d.ts +22 -7
  47. package/dist/promotion/service.d.ts.map +1 -1
  48. package/dist/transaction-base/transaction-base.d.ts +0 -2
  49. package/dist/transaction-base/transaction-base.d.ts.map +1 -1
  50. package/dist/workflow/order/shipping-method.d.ts +4 -4
  51. package/dist/workflow/order/shipping-method.d.ts.map +1 -1
  52. package/dist/workflows-sdk/service.d.ts +5 -1
  53. package/dist/workflows-sdk/service.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { FindConfig } from "../common";
2
2
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
- import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO } from "./common";
5
+ import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO, UsageComputedActions } from "./common";
6
6
  import { AddPromotionsToCampaignDTO, CreateCampaignDTO, RemovePromotionsFromCampaignDTO, UpdateCampaignDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the Promotion Module.
@@ -13,26 +13,41 @@ export interface IPromotionModuleService extends IModuleService {
13
13
  * It adjusts the `used` property of a `CampaignBudget` to account for the adjustment amounts in the specified associated
14
14
  * computed actions.
15
15
  *
16
- * @param {ComputeActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
16
+ * @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
17
17
  * @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
18
18
  *
19
19
  * @example
20
20
  * await promotionModuleService.registerUsage([
21
21
  * {
22
- * action: "addItemAdjustment",
23
- * item_id: "cali_123",
24
22
  * amount: 50,
25
23
  * code: "50OFF",
26
24
  * },
27
25
  * {
28
- * action: "addShippingMethodAdjustment",
29
- * shipping_method_id: "casm_123",
30
26
  * amount: 5000,
31
27
  * code: "FREESHIPPING",
32
28
  * },
33
29
  * ])
34
30
  */
35
- registerUsage(computedActions: ComputeActions[]): Promise<void>;
31
+ registerUsage(computedActions: UsageComputedActions[]): Promise<void>;
32
+ /**
33
+ * This method is used to revert the changes made by registerUsage action
34
+ *
35
+ * @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
36
+ * @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
37
+ *
38
+ * @example
39
+ * await promotionModuleService.revertUsage([
40
+ * {
41
+ * amount: 50,
42
+ * code: "50OFF",
43
+ * },
44
+ * {
45
+ * amount: 5000,
46
+ * code: "FREESHIPPING",
47
+ * },
48
+ * ])
49
+ */
50
+ revertUsage(computedActions: UsageComputedActions[]): Promise<void>;
36
51
  /**
37
52
  * This method provides the actions to perform on a cart based on the specified promotions
38
53
  * and context.
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/promotion/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE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AAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C,uBAAuB,CACrB,IAAI,EAAE,0BAA0B,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;IAE7B,4BAA4B,CAC1B,IAAI,EAAE,+BAA+B,EACrC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAC9B"}
@@ -1,5 +1,3 @@
1
- import { EntityManager } from "typeorm";
2
1
  export interface ITransactionBaseService {
3
- withTransaction(transactionManager?: EntityManager): this;
4
2
  }
5
3
  //# sourceMappingURL=transaction-base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-base.d.ts","sourceRoot":"","sources":["../../src/transaction-base/transaction-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,kBAAkB,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;CAC1D"}
1
+ {"version":3,"file":"transaction-base.d.ts","sourceRoot":"","sources":["../../src/transaction-base/transaction-base.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;CAAG"}
@@ -3,7 +3,7 @@ export interface UpdateReturnShippingMethodWorkflowInput {
3
3
  return_id: string;
4
4
  action_id: string;
5
5
  data: {
6
- custom_price?: BigNumberInput;
6
+ custom_amount?: BigNumberInput | null;
7
7
  internal_note?: string | null;
8
8
  metadata?: Record<string, any> | null;
9
9
  };
@@ -16,7 +16,7 @@ export interface UpdateClaimShippingMethodWorkflowInput {
16
16
  claim_id: string;
17
17
  action_id: string;
18
18
  data: {
19
- custom_price?: BigNumberInput;
19
+ custom_amount?: BigNumberInput | null;
20
20
  internal_note?: string | null;
21
21
  metadata?: Record<string, any> | null;
22
22
  };
@@ -29,7 +29,7 @@ export interface UpdateExchangeShippingMethodWorkflowInput {
29
29
  exchange_id: string;
30
30
  action_id: string;
31
31
  data: {
32
- custom_price?: BigNumberInput;
32
+ custom_amount?: BigNumberInput | null;
33
33
  internal_note?: string | null;
34
34
  metadata?: Record<string, any> | null;
35
35
  };
@@ -38,7 +38,7 @@ export interface UpdateOrderEditShippingMethodWorkflowInput {
38
38
  order_id: string;
39
39
  action_id: string;
40
40
  data: {
41
- custom_price?: BigNumberInput;
41
+ custom_amount?: BigNumberInput | null;
42
42
  internal_note?: string | null;
43
43
  metadata?: Record<string, any> | null;
44
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-method.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ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AAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
@@ -10,6 +10,10 @@ type FlowRunOptions<TData = unknown> = {
10
10
  logOnError?: boolean;
11
11
  events?: Record<string, Function>;
12
12
  };
13
+ export type Acknowledgement = {
14
+ workflowId: string;
15
+ transactionId: string;
16
+ };
13
17
  export interface WorkflowOrchestratorRunDTO<T = unknown> extends FlowRunOptions<T> {
14
18
  transactionId?: string;
15
19
  }
@@ -30,7 +34,7 @@ export interface IWorkflowEngineService extends IModuleService {
30
34
  errors: Error[];
31
35
  transaction: object;
32
36
  result: any;
33
- acknowledgement: object;
37
+ acknowledgement: Acknowledgement;
34
38
  }>;
35
39
  getRunningTransaction(workflowId: string, transactionId: string, options?: Record<string, any>, sharedContext?: Context): Promise<unknown>;
36
40
  setStepSuccess({ idempotencyKey, stepResponse, options, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/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,gCAAgC,EAChC,oBAAoB,EACrB,MAAM,UAAU,CAAA;AAEjB,KAAK,cAAc,CAAC,KAAK,GAAG,OAAO,IAAI;IACrC,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;IACvC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;CAClC,CAAA;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,OAAO,CACrD,SAAQ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AAE,MAAM,CAAA;QACtB,UAAU,EAAE,QAAQ,CAAA;QACpB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,WAAW,CACT,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAA;KAClC,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240904130551",
3
+ "version": "1.12.0-snapshot-20240905140403",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",