@medusajs/types 1.12.0-snapshot-20240429113131 → 1.12.0-snapshot-20240516152256

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) 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/workflows.d.ts +34 -0
  6. package/dist/cart/workflows.d.ts.map +1 -1
  7. package/dist/common/common.d.ts +8 -1
  8. package/dist/common/common.d.ts.map +1 -1
  9. package/dist/common/config-module.d.ts +39 -2
  10. package/dist/common/config-module.d.ts.map +1 -1
  11. package/dist/common/index.d.ts +1 -0
  12. package/dist/common/index.d.ts.map +1 -1
  13. package/dist/common/index.js +1 -0
  14. package/dist/common/index.js.map +1 -1
  15. package/dist/common/with-calculated.d.ts +6 -0
  16. package/dist/common/with-calculated.d.ts.map +1 -0
  17. package/dist/{http/product-category/admin/product-category.js → common/with-calculated.js} +1 -1
  18. package/dist/common/with-calculated.js.map +1 -0
  19. package/dist/customer/mutations.d.ts +1 -1
  20. package/dist/customer/mutations.d.ts.map +1 -1
  21. package/dist/dal/repository-service.d.ts +2 -2
  22. package/dist/dal/repository-service.d.ts.map +1 -1
  23. package/dist/fulfillment/mutations/shipping-option.d.ts +10 -0
  24. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  25. package/dist/fulfillment/service.d.ts +1 -1
  26. package/dist/fulfillment/service.d.ts.map +1 -1
  27. package/dist/fulfillment/workflows.d.ts +4 -1
  28. package/dist/fulfillment/workflows.d.ts.map +1 -1
  29. package/dist/http/campaign/admin/campaign.d.ts +3 -2
  30. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  31. package/dist/http/product-category/admin.d.ts +15 -0
  32. package/dist/http/product-category/admin.d.ts.map +1 -0
  33. package/dist/http/product-category/admin.js +3 -0
  34. package/dist/http/product-category/admin.js.map +1 -0
  35. package/dist/http/product-category/common.d.ts +18 -0
  36. package/dist/http/product-category/common.d.ts.map +1 -0
  37. package/dist/http/product-category/common.js +3 -0
  38. package/dist/http/product-category/common.js.map +1 -0
  39. package/dist/http/product-category/index.d.ts +1 -0
  40. package/dist/http/product-category/index.d.ts.map +1 -1
  41. package/dist/http/product-category/index.js +1 -0
  42. package/dist/http/product-category/index.js.map +1 -1
  43. package/dist/http/product-category/store.d.ts +15 -0
  44. package/dist/http/product-category/store.d.ts.map +1 -0
  45. package/dist/http/product-category/store.js +3 -0
  46. package/dist/http/product-category/store.js.map +1 -0
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +1 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/inventory/mutations/reservation-item.d.ts +4 -0
  52. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  53. package/dist/modules-sdk/index.d.ts +10 -12
  54. package/dist/modules-sdk/index.d.ts.map +1 -1
  55. package/dist/modules-sdk/internal-module-service.d.ts +1 -1
  56. package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
  57. package/dist/notification/common.d.ts +134 -0
  58. package/dist/notification/common.d.ts.map +1 -0
  59. package/dist/notification/common.js +3 -0
  60. package/dist/notification/common.js.map +1 -0
  61. package/dist/notification/index.d.ts +6 -0
  62. package/dist/notification/index.d.ts.map +1 -0
  63. package/dist/notification/index.js +22 -0
  64. package/dist/notification/index.js.map +1 -0
  65. package/dist/notification/mutations.d.ts +49 -0
  66. package/dist/notification/mutations.d.ts.map +1 -0
  67. package/dist/notification/mutations.js +3 -0
  68. package/dist/notification/mutations.js.map +1 -0
  69. package/dist/notification/provider.d.ts +51 -0
  70. package/dist/notification/provider.d.ts.map +1 -0
  71. package/dist/notification/provider.js +3 -0
  72. package/dist/notification/provider.js.map +1 -0
  73. package/dist/notification/providers/index.d.ts +3 -0
  74. package/dist/notification/providers/index.d.ts.map +1 -0
  75. package/dist/notification/providers/index.js +19 -0
  76. package/dist/notification/providers/index.js.map +1 -0
  77. package/dist/notification/providers/logger.d.ts +3 -0
  78. package/dist/notification/providers/logger.d.ts.map +1 -0
  79. package/dist/notification/providers/logger.js +3 -0
  80. package/dist/notification/providers/logger.js.map +1 -0
  81. package/dist/notification/providers/sendgrid.d.ts +5 -0
  82. package/dist/notification/providers/sendgrid.d.ts.map +1 -0
  83. package/dist/notification/providers/sendgrid.js +3 -0
  84. package/dist/notification/providers/sendgrid.js.map +1 -0
  85. package/dist/notification/service.d.ts +177 -0
  86. package/dist/notification/service.d.ts.map +1 -0
  87. package/dist/notification/service.js +3 -0
  88. package/dist/notification/service.js.map +1 -0
  89. package/dist/order/common.d.ts +92 -1
  90. package/dist/order/common.d.ts.map +1 -1
  91. package/dist/order/mutations.d.ts +71 -22
  92. package/dist/order/mutations.d.ts.map +1 -1
  93. package/dist/order/mutations.js +0 -1
  94. package/dist/order/mutations.js.map +1 -1
  95. package/dist/order/service.d.ts +23 -2
  96. package/dist/order/service.d.ts.map +1 -1
  97. package/dist/payment/service.d.ts +1 -0
  98. package/dist/payment/service.d.ts.map +1 -1
  99. package/dist/pricing/common/index.d.ts +1 -0
  100. package/dist/pricing/common/index.d.ts.map +1 -1
  101. package/dist/pricing/common/index.js +1 -0
  102. package/dist/pricing/common/index.js.map +1 -1
  103. package/dist/pricing/common/pricing-context.d.ts +7 -0
  104. package/dist/pricing/common/pricing-context.d.ts.map +1 -0
  105. package/dist/pricing/common/pricing-context.js +3 -0
  106. package/dist/pricing/common/pricing-context.js.map +1 -0
  107. package/dist/product/common.d.ts +0 -12
  108. package/dist/product/common.d.ts.map +1 -1
  109. package/dist/product/service.d.ts +1 -1
  110. package/dist/promotion/common/campaign.d.ts +5 -0
  111. package/dist/promotion/common/campaign.d.ts.map +1 -1
  112. package/dist/promotion/common/promotion.d.ts +5 -1
  113. package/dist/promotion/common/promotion.d.ts.map +1 -1
  114. package/dist/promotion/mutations.d.ts +24 -12
  115. package/dist/promotion/mutations.d.ts.map +1 -1
  116. package/dist/promotion/service.d.ts +7 -1
  117. package/dist/promotion/service.d.ts.map +1 -1
  118. package/dist/workflow/index.d.ts +1 -0
  119. package/dist/workflow/index.d.ts.map +1 -1
  120. package/dist/workflow/index.js +2 -1
  121. package/dist/workflow/index.js.map +1 -1
  122. package/dist/workflow/order/create-return-order.d.ts +26 -0
  123. package/dist/workflow/order/create-return-order.d.ts.map +1 -0
  124. package/dist/workflow/order/create-return-order.js +3 -0
  125. package/dist/workflow/order/create-return-order.js.map +1 -0
  126. package/dist/workflow/order/index.d.ts +2 -0
  127. package/dist/workflow/order/index.d.ts.map +1 -0
  128. package/dist/{http/product-category/admin → workflow/order}/index.js +1 -1
  129. package/dist/workflow/order/index.js.map +1 -0
  130. package/dist/workflow/product/create-product-variants.d.ts +0 -1
  131. package/dist/workflow/product/create-product-variants.d.ts.map +1 -1
  132. package/dist/workflow/product/create-products.d.ts +0 -1
  133. package/dist/workflow/product/create-products.d.ts.map +1 -1
  134. package/dist/workflow/product/update-product-variants.d.ts +0 -1
  135. package/dist/workflow/product/update-product-variants.d.ts.map +1 -1
  136. package/dist/workflow/product/update-products.d.ts +0 -1
  137. package/dist/workflow/product/update-products.d.ts.map +1 -1
  138. package/package.json +2 -1
  139. package/dist/http/product-category/admin/index.d.ts +0 -2
  140. package/dist/http/product-category/admin/index.d.ts.map +0 -1
  141. package/dist/http/product-category/admin/index.js.map +0 -1
  142. package/dist/http/product-category/admin/product-category.d.ts +0 -32
  143. package/dist/http/product-category/admin/product-category.d.ts.map +0 -1
  144. package/dist/http/product-category/admin/product-category.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-return-order.js","sourceRoot":"","sources":["../../../src/workflow/order/create-return-order.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./create-return-order";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./product-category"), exports);
17
+ __exportStar(require("./create-return-order"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC"}
@@ -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,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iCAAiC;IAChD,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,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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,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,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IAC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E,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/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,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;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,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,MAA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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-20240429113131",
3
+ "version": "1.12.0-snapshot-20240516152256",
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":""}