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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) 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/customer/mutations.d.ts +1 -1
  12. package/dist/customer/mutations.d.ts.map +1 -1
  13. package/dist/dal/repository-service.d.ts +2 -2
  14. package/dist/dal/repository-service.d.ts.map +1 -1
  15. package/dist/fulfillment/mutations/shipping-option.d.ts +10 -0
  16. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  17. package/dist/fulfillment/service.d.ts +1 -1
  18. package/dist/fulfillment/service.d.ts.map +1 -1
  19. package/dist/fulfillment/workflows.d.ts +4 -1
  20. package/dist/fulfillment/workflows.d.ts.map +1 -1
  21. package/dist/http/campaign/admin/campaign.d.ts +3 -2
  22. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  23. package/dist/http/product-category/admin.d.ts +15 -0
  24. package/dist/http/product-category/admin.d.ts.map +1 -0
  25. package/dist/http/product-category/{admin/product-category.js → admin.js} +1 -1
  26. package/dist/http/product-category/admin.js.map +1 -0
  27. package/dist/http/product-category/common.d.ts +18 -0
  28. package/dist/http/product-category/common.d.ts.map +1 -0
  29. package/dist/http/product-category/common.js +3 -0
  30. package/dist/http/product-category/common.js.map +1 -0
  31. package/dist/http/product-category/index.d.ts +1 -0
  32. package/dist/http/product-category/index.d.ts.map +1 -1
  33. package/dist/http/product-category/index.js +1 -0
  34. package/dist/http/product-category/index.js.map +1 -1
  35. package/dist/http/product-category/store.d.ts +15 -0
  36. package/dist/http/product-category/store.d.ts.map +1 -0
  37. package/dist/http/product-category/store.js +3 -0
  38. package/dist/http/product-category/store.js.map +1 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +1 -0
  42. package/dist/index.js.map +1 -1
  43. package/dist/inventory/mutations/reservation-item.d.ts +4 -0
  44. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  45. package/dist/modules-sdk/index.d.ts +10 -12
  46. package/dist/modules-sdk/index.d.ts.map +1 -1
  47. package/dist/modules-sdk/internal-module-service.d.ts +1 -1
  48. package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
  49. package/dist/notification/common.d.ts +134 -0
  50. package/dist/notification/common.d.ts.map +1 -0
  51. package/dist/notification/common.js +3 -0
  52. package/dist/notification/common.js.map +1 -0
  53. package/dist/notification/index.d.ts +6 -0
  54. package/dist/notification/index.d.ts.map +1 -0
  55. package/dist/notification/index.js +22 -0
  56. package/dist/notification/index.js.map +1 -0
  57. package/dist/notification/mutations.d.ts +49 -0
  58. package/dist/notification/mutations.d.ts.map +1 -0
  59. package/dist/notification/mutations.js +3 -0
  60. package/dist/notification/mutations.js.map +1 -0
  61. package/dist/notification/provider.d.ts +51 -0
  62. package/dist/notification/provider.d.ts.map +1 -0
  63. package/dist/notification/provider.js +3 -0
  64. package/dist/notification/provider.js.map +1 -0
  65. package/dist/notification/providers/index.d.ts +3 -0
  66. package/dist/notification/providers/index.d.ts.map +1 -0
  67. package/dist/{http/product-category/admin → notification/providers}/index.js +2 -1
  68. package/dist/notification/providers/index.js.map +1 -0
  69. package/dist/notification/providers/logger.d.ts +3 -0
  70. package/dist/notification/providers/logger.d.ts.map +1 -0
  71. package/dist/notification/providers/logger.js +3 -0
  72. package/dist/notification/providers/logger.js.map +1 -0
  73. package/dist/notification/providers/sendgrid.d.ts +5 -0
  74. package/dist/notification/providers/sendgrid.d.ts.map +1 -0
  75. package/dist/notification/providers/sendgrid.js +3 -0
  76. package/dist/notification/providers/sendgrid.js.map +1 -0
  77. package/dist/notification/service.d.ts +177 -0
  78. package/dist/notification/service.d.ts.map +1 -0
  79. package/dist/notification/service.js +3 -0
  80. package/dist/notification/service.js.map +1 -0
  81. package/dist/order/common.d.ts +90 -0
  82. package/dist/order/common.d.ts.map +1 -1
  83. package/dist/order/mutations.d.ts +70 -21
  84. package/dist/order/mutations.d.ts.map +1 -1
  85. package/dist/order/mutations.js +0 -1
  86. package/dist/order/mutations.js.map +1 -1
  87. package/dist/order/service.d.ts +23 -2
  88. package/dist/order/service.d.ts.map +1 -1
  89. package/dist/payment/service.d.ts +1 -0
  90. package/dist/payment/service.d.ts.map +1 -1
  91. package/dist/pricing/common/index.d.ts +1 -0
  92. package/dist/pricing/common/index.d.ts.map +1 -1
  93. package/dist/pricing/common/index.js +1 -0
  94. package/dist/pricing/common/index.js.map +1 -1
  95. package/dist/pricing/common/pricing-context.d.ts +7 -0
  96. package/dist/pricing/common/pricing-context.d.ts.map +1 -0
  97. package/dist/pricing/common/pricing-context.js +3 -0
  98. package/dist/pricing/common/pricing-context.js.map +1 -0
  99. package/dist/product/common.d.ts +0 -12
  100. package/dist/product/common.d.ts.map +1 -1
  101. package/dist/product/service.d.ts +1 -1
  102. package/dist/promotion/common/campaign.d.ts +5 -0
  103. package/dist/promotion/common/campaign.d.ts.map +1 -1
  104. package/dist/promotion/common/promotion.d.ts +5 -1
  105. package/dist/promotion/common/promotion.d.ts.map +1 -1
  106. package/dist/promotion/mutations.d.ts +24 -12
  107. package/dist/promotion/mutations.d.ts.map +1 -1
  108. package/dist/promotion/service.d.ts +7 -1
  109. package/dist/promotion/service.d.ts.map +1 -1
  110. package/dist/workflow/product/create-product-variants.d.ts +0 -1
  111. package/dist/workflow/product/create-product-variants.d.ts.map +1 -1
  112. package/dist/workflow/product/create-products.d.ts +0 -1
  113. package/dist/workflow/product/create-products.d.ts.map +1 -1
  114. package/dist/workflow/product/update-product-variants.d.ts +0 -1
  115. package/dist/workflow/product/update-product-variants.d.ts.map +1 -1
  116. package/dist/workflow/product/update-products.d.ts +0 -1
  117. package/dist/workflow/product/update-products.d.ts.map +1 -1
  118. package/package.json +2 -1
  119. package/dist/http/product-category/admin/index.d.ts +0 -2
  120. package/dist/http/product-category/admin/index.d.ts.map +0 -1
  121. package/dist/http/product-category/admin/index.js.map +0 -1
  122. package/dist/http/product-category/admin/product-category.d.ts +0 -32
  123. package/dist/http/product-category/admin/product-category.d.ts.map +0 -1
  124. package/dist/http/product-category/admin/product-category.js.map +0 -1
@@ -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;I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nD,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"}
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,MA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AAwB,EAAE,CAAA;IACjC,cAAc,CAAC,EAAE,iCAAiC,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-20240429113131",
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":""}