@medusajs/types 1.12.0-snapshot-20240429062340 → 1.12.0-snapshot-20240516091433

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/dist/bundles.d.ts +1 -0
  2. package/dist/bundles.d.ts.map +1 -1
  3. package/dist/bundles.js +2 -1
  4. package/dist/bundles.js.map +1 -1
  5. package/dist/cart/common.d.ts +1 -1
  6. package/dist/cart/common.d.ts.map +1 -1
  7. package/dist/cart/mutations.d.ts +8 -0
  8. package/dist/cart/mutations.d.ts.map +1 -1
  9. package/dist/cart/mutations.js.map +1 -1
  10. package/dist/cart/service.d.ts +1 -1
  11. package/dist/cart/service.d.ts.map +1 -1
  12. package/dist/cart/workflows.d.ts +34 -0
  13. package/dist/cart/workflows.d.ts.map +1 -1
  14. package/dist/common/common.d.ts +8 -1
  15. package/dist/common/common.d.ts.map +1 -1
  16. package/dist/common/config-module.d.ts +39 -2
  17. package/dist/common/config-module.d.ts.map +1 -1
  18. package/dist/customer/mutations.d.ts +1 -1
  19. package/dist/customer/mutations.d.ts.map +1 -1
  20. package/dist/dal/repository-service.d.ts +2 -2
  21. package/dist/dal/repository-service.d.ts.map +1 -1
  22. package/dist/fulfillment/mutations/shipping-option.d.ts +10 -0
  23. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  24. package/dist/fulfillment/service.d.ts +1 -1
  25. package/dist/fulfillment/service.d.ts.map +1 -1
  26. package/dist/fulfillment/workflows.d.ts +4 -1
  27. package/dist/fulfillment/workflows.d.ts.map +1 -1
  28. package/dist/http/campaign/admin/campaign.d.ts +3 -2
  29. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  30. package/dist/http/product-category/admin.d.ts +15 -0
  31. package/dist/http/product-category/admin.d.ts.map +1 -0
  32. package/dist/http/product-category/{admin/product-category.js → admin.js} +1 -1
  33. package/dist/http/product-category/admin.js.map +1 -0
  34. package/dist/http/product-category/common.d.ts +18 -0
  35. package/dist/http/product-category/common.d.ts.map +1 -0
  36. package/dist/http/product-category/common.js +3 -0
  37. package/dist/http/product-category/common.js.map +1 -0
  38. package/dist/http/product-category/index.d.ts +1 -0
  39. package/dist/http/product-category/index.d.ts.map +1 -1
  40. package/dist/http/product-category/index.js +1 -0
  41. package/dist/http/product-category/index.js.map +1 -1
  42. package/dist/http/product-category/store.d.ts +15 -0
  43. package/dist/http/product-category/store.d.ts.map +1 -0
  44. package/dist/http/product-category/store.js +3 -0
  45. package/dist/http/product-category/store.js.map +1 -0
  46. package/dist/index.d.ts +1 -0
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +1 -0
  49. package/dist/index.js.map +1 -1
  50. package/dist/inventory/mutations/reservation-item.d.ts +4 -0
  51. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  52. package/dist/modules-sdk/index.d.ts +10 -12
  53. package/dist/modules-sdk/index.d.ts.map +1 -1
  54. package/dist/modules-sdk/internal-module-service.d.ts +1 -1
  55. package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
  56. package/dist/notification/common.d.ts +134 -0
  57. package/dist/notification/common.d.ts.map +1 -0
  58. package/dist/notification/common.js +3 -0
  59. package/dist/notification/common.js.map +1 -0
  60. package/dist/notification/index.d.ts +6 -0
  61. package/dist/notification/index.d.ts.map +1 -0
  62. package/dist/notification/index.js +22 -0
  63. package/dist/notification/index.js.map +1 -0
  64. package/dist/notification/mutations.d.ts +49 -0
  65. package/dist/notification/mutations.d.ts.map +1 -0
  66. package/dist/notification/mutations.js +3 -0
  67. package/dist/notification/mutations.js.map +1 -0
  68. package/dist/notification/provider.d.ts +51 -0
  69. package/dist/notification/provider.d.ts.map +1 -0
  70. package/dist/notification/provider.js +3 -0
  71. package/dist/notification/provider.js.map +1 -0
  72. package/dist/notification/providers/index.d.ts +3 -0
  73. package/dist/notification/providers/index.d.ts.map +1 -0
  74. package/dist/{http/product-category/admin → notification/providers}/index.js +2 -1
  75. package/dist/notification/providers/index.js.map +1 -0
  76. package/dist/notification/providers/logger.d.ts +3 -0
  77. package/dist/notification/providers/logger.d.ts.map +1 -0
  78. package/dist/notification/providers/logger.js +3 -0
  79. package/dist/notification/providers/logger.js.map +1 -0
  80. package/dist/notification/providers/sendgrid.d.ts +5 -0
  81. package/dist/notification/providers/sendgrid.d.ts.map +1 -0
  82. package/dist/notification/providers/sendgrid.js +3 -0
  83. package/dist/notification/providers/sendgrid.js.map +1 -0
  84. package/dist/notification/service.d.ts +177 -0
  85. package/dist/notification/service.d.ts.map +1 -0
  86. package/dist/notification/service.js +3 -0
  87. package/dist/notification/service.js.map +1 -0
  88. package/dist/order/common.d.ts +90 -0
  89. package/dist/order/common.d.ts.map +1 -1
  90. package/dist/order/mutations.d.ts +70 -21
  91. package/dist/order/mutations.d.ts.map +1 -1
  92. package/dist/order/mutations.js +0 -1
  93. package/dist/order/mutations.js.map +1 -1
  94. package/dist/order/service.d.ts +23 -2
  95. package/dist/order/service.d.ts.map +1 -1
  96. package/dist/payment/service.d.ts +1 -0
  97. package/dist/payment/service.d.ts.map +1 -1
  98. package/dist/pricing/common/index.d.ts +1 -0
  99. package/dist/pricing/common/index.d.ts.map +1 -1
  100. package/dist/pricing/common/index.js +1 -0
  101. package/dist/pricing/common/index.js.map +1 -1
  102. package/dist/pricing/common/pricing-context.d.ts +7 -0
  103. package/dist/pricing/common/pricing-context.d.ts.map +1 -0
  104. package/dist/pricing/common/pricing-context.js +3 -0
  105. package/dist/pricing/common/pricing-context.js.map +1 -0
  106. package/dist/product/common.d.ts +0 -12
  107. package/dist/product/common.d.ts.map +1 -1
  108. package/dist/product/service.d.ts +1 -1
  109. package/dist/promotion/common/campaign.d.ts +5 -0
  110. package/dist/promotion/common/campaign.d.ts.map +1 -1
  111. package/dist/promotion/common/promotion.d.ts +5 -1
  112. package/dist/promotion/common/promotion.d.ts.map +1 -1
  113. package/dist/promotion/mutations.d.ts +24 -12
  114. package/dist/promotion/mutations.d.ts.map +1 -1
  115. package/dist/promotion/service.d.ts +7 -1
  116. package/dist/promotion/service.d.ts.map +1 -1
  117. package/dist/workflow/product/create-product-variants.d.ts +0 -1
  118. package/dist/workflow/product/create-product-variants.d.ts.map +1 -1
  119. package/dist/workflow/product/create-products.d.ts +0 -1
  120. package/dist/workflow/product/create-products.d.ts.map +1 -1
  121. package/dist/workflow/product/update-product-variants.d.ts +0 -1
  122. package/dist/workflow/product/update-product-variants.d.ts.map +1 -1
  123. package/dist/workflow/product/update-products.d.ts +0 -1
  124. package/dist/workflow/product/update-products.d.ts.map +1 -1
  125. package/package.json +2 -1
  126. package/dist/http/product-category/admin/index.d.ts +0 -2
  127. package/dist/http/product-category/admin/index.d.ts.map +0 -1
  128. package/dist/http/product-category/admin/index.js.map +0 -1
  129. package/dist/http/product-category/admin/product-category.d.ts +0 -32
  130. package/dist/http/product-category/admin/product-category.d.ts.map +0 -1
  131. package/dist/http/product-category/admin/product-category.js.map +0 -1
@@ -39,6 +39,10 @@ export interface PromotionDTO {
39
39
  * The rules of the promotion.
40
40
  */
41
41
  rules?: PromotionRuleDTO[];
42
+ /**
43
+ * The associated campaign.
44
+ */
45
+ campaign_id?: string | null;
42
46
  /**
43
47
  * The associated campaign.
44
48
  */
@@ -108,7 +112,7 @@ export interface UpdatePromotionDTO {
108
112
  /**
109
113
  * The associated campaign's ID.
110
114
  */
111
- campaign_id?: string;
115
+ campaign_id?: string | null;
112
116
  }
113
117
  /**
114
118
  * The filters to apply on the retrieved promotions.
@@ -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,EA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AAC,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"}
@@ -1,4 +1,4 @@
1
- import { CampaignBudgetTypeValues, PromotionDTO } from "./common";
1
+ import { CampaignBudgetTypeValues } from "./common";
2
2
  /**
3
3
  * The campaign budget to be created.
4
4
  */
@@ -6,11 +6,11 @@ export interface CreateCampaignBudgetDTO {
6
6
  /**
7
7
  * The type of the campaign budget.
8
8
  */
9
- type: CampaignBudgetTypeValues;
9
+ type?: CampaignBudgetTypeValues;
10
10
  /**
11
11
  * The limit of the campaign budget.
12
12
  */
13
- limit: number | null;
13
+ limit?: number;
14
14
  /**
15
15
  * How much is used of the campaign budget.
16
16
  */
@@ -31,7 +31,7 @@ export interface UpdateCampaignBudgetDTO {
31
31
  /**
32
32
  * The limit of the campaign budget.
33
33
  */
34
- limit?: number | null;
34
+ limit?: number;
35
35
  /**
36
36
  * How much is used of the campaign budget.
37
37
  */
@@ -60,19 +60,15 @@ export interface CreateCampaignDTO {
60
60
  /**
61
61
  * The start date of the campaign.
62
62
  */
63
- starts_at: Date;
63
+ starts_at?: Date;
64
64
  /**
65
65
  * The end date of the campaign.
66
66
  */
67
- ends_at: Date;
67
+ ends_at?: Date;
68
68
  /**
69
69
  * The associated campaign budget.
70
70
  */
71
71
  budget?: CreateCampaignBudgetDTO;
72
- /**
73
- * The promotions of the campaign.
74
- */
75
- promotions?: Pick<PromotionDTO, "id">[];
76
72
  }
77
73
  /**
78
74
  * The attributes to update in the campaign.
@@ -110,9 +106,25 @@ export interface UpdateCampaignDTO {
110
106
  * The budget of the campaign.
111
107
  */
112
108
  budget?: Omit<UpdateCampaignBudgetDTO, "id">;
109
+ }
110
+ export interface AddPromotionsToCampaignDTO {
111
+ /**
112
+ * The ID of the campaign.
113
+ */
114
+ id: string;
115
+ /**
116
+ * Ids of promotions to add
117
+ */
118
+ promotion_ids: string[];
119
+ }
120
+ export interface RemovePromotionsFromCampaignDTO {
121
+ /**
122
+ * The ID of the campaign.
123
+ */
124
+ id: string;
113
125
  /**
114
- * The promotions of the campaign.
126
+ * Ids of promotions to add
115
127
  */
116
- promotions?: Pick<PromotionDTO, "id">[];
128
+ promotion_ids: string[];
117
129
  }
118
130
  //# sourceMappingURL=mutations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/promotion/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEjE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAA;IAE9B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAEpB;;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,GAAG,IAAI,CAAA;IAErB;;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,SAAS,EAAE,IAAI,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,IAAI,CAAA;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,CAAA;IAEhC;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AEG;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,SAAS,CAAC,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;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;IAE5B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAA;CAC7C;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB"}
@@ -3,7 +3,7 @@ import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
5
  import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO } from "./common";
6
- import { CreateCampaignDTO, UpdateCampaignDTO } from "./mutations";
6
+ import { AddPromotionsToCampaignDTO, CreateCampaignDTO, RemovePromotionsFromCampaignDTO, UpdateCampaignDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the Promotion Module.
9
9
  */
@@ -823,5 +823,11 @@ export interface IPromotionModuleService extends IModuleService {
823
823
  * })
824
824
  */
825
825
  restoreCampaigns<TReturnableLinkableKeys extends string = string>(campaignIds: string | string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
826
+ addPromotionsToCampaign(data: AddPromotionsToCampaignDTO, sharedContext?: Context): Promise<{
827
+ ids: string[];
828
+ }>;
829
+ removePromotionsFromCampaign(data: RemovePromotionsFromCampaignDTO, sharedContext?: Context): Promise<{
830
+ ids: string[];
831
+ }>;
826
832
  }
827
833
  //# sourceMappingURL=service.d.ts.map
@@ -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,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAElE;;GAEG;AACH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OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;;;OAkBG;IACH,gBAAgB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC9D,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,EAC9B,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,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"}
@@ -7,7 +7,6 @@ export interface CreateProductVariantsInputDTO {
7
7
  upc?: string;
8
8
  barcode?: string;
9
9
  hs_code?: string;
10
- inventory_quantity?: number;
11
10
  allow_backorder?: boolean;
12
11
  manage_inventory?: boolean;
13
12
  weight?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-product-variants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EACnC,MAAM,2BAA2B,CAAA;AAElC,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
1
+ {"version":3,"file":"create-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-product-variants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EACnC,MAAM,2BAA2B,CAAA;AAElC,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
@@ -36,7 +36,6 @@ export interface CreateProductVariantInputDTO {
36
36
  upc?: string;
37
37
  barcode?: string;
38
38
  hs_code?: string;
39
- inventory_quantity?: number;
40
39
  allow_backorder?: boolean;
41
40
  manage_inventory?: boolean;
42
41
  weight?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"create-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MA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EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,IAAI,CAAC,EAAE,yBAAyB,CAAA;IAChC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,oCAAoC,EAAE,CAAA;IACnD,OAAO,CAAC,EAAE,2BAA2B,EAAE,CAAA;IACvC,QAAQ,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,cAAc,CAAC,EAAE,iCAAiC,EAAE,CAAA;CACrD;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,qBAAqB,EAAE,CAAA;CAClC"}
1
+ {"version":3,"file":"create-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/create-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM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AED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,IAAI,CAAC,EAAE,yBAAyB,CAAA;IAChC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,oCAAoC,EAAE,CAAA;IACnD,OAAO,CAAC,EAAE,2BAA2B,EAAE,CAAA;IACvC,QAAQ,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,cAAc,CAAC,EAAE,iCAAiC,EAAE,CAAA;CACrD;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,qBAAqB,EAAE,CAAA;CAClC"}
@@ -18,7 +18,6 @@ export interface UpdateProductVariantsInputDTO {
18
18
  upc?: string;
19
19
  barcode?: string;
20
20
  hs_code?: string;
21
- inventory_quantity?: number;
22
21
  allow_backorder?: boolean;
23
22
  manage_inventory?: boolean;
24
23
  weight?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-product-variants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
1
+ {"version":3,"file":"update-product-variants.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-product-variants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAA;CAC/C;AAED,MAAM,WAAW,qCAAqC;IACpD,eAAe,EAAE,6BAA6B,EAAE,CAAA;CACjD"}
@@ -33,7 +33,6 @@ export interface UpdateProductVariantInputDTO {
33
33
  upc?: string;
34
34
  barcode?: string;
35
35
  hs_code?: string;
36
- inventory_quantity?: number;
37
36
  allow_backorder?: boolean;
38
37
  manage_inventory?: boolean;
39
38
  weight?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"update-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAA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ACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,qBAAqB,EAAE,CAAA;CAClC"}
1
+ {"version":3,"file":"update-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/update-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC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AAiC,EAAE,CAAA;IACpD,UAAU,CAAC,EAAE,oCAAoC,EAAE,CAAA;IACnD,QAAQ,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,qBAAqB,EAAE,CAAA;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240429062340",
3
+ "version": "1.12.0-snapshot-20240516091433",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,6 +28,7 @@
28
28
  "rimraf": "^5.0.1",
29
29
  "typeorm": "^0.3.16",
30
30
  "typescript": "^5.1.6",
31
+ "vite": "^5.2.11",
31
32
  "winston": "^3.8.2"
32
33
  },
33
34
  "scripts": {
@@ -1,2 +0,0 @@
1
- export * from "./product-category";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/product-category/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
@@ -1,32 +0,0 @@
1
- import { PaginatedResponse } from "../../../common";
2
- /**
3
- * @experimental
4
- */
5
- interface ProductCategoryResponse {
6
- id: string;
7
- name: string;
8
- description: string | null;
9
- handle: string | null;
10
- is_active: boolean;
11
- is_internal: boolean;
12
- rank: number | null;
13
- parent_category_id: string | null;
14
- created_at: string | Date;
15
- updated_at: string | Date;
16
- parent_category: ProductCategoryResponse;
17
- category_children: ProductCategoryResponse[];
18
- }
19
- /**
20
- * @experimental
21
- */
22
- export interface AdminProductCategoryResponse {
23
- product_category: ProductCategoryResponse;
24
- }
25
- /**
26
- * @experimental
27
- */
28
- export interface AdminProductCategoryListResponse extends PaginatedResponse {
29
- product_categories: ProductCategoryResponse[];
30
- }
31
- export {};
32
- //# sourceMappingURL=product-category.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-category.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/admin/product-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,eAAe,EAAE,uBAAuB,CAAA;IACxC,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;IACzE,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-category.js","sourceRoot":"","sources":["../../../../src/http/product-category/admin/product-category.ts"],"names":[],"mappings":""}