@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.
- package/dist/bundles.d.ts +1 -0
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +2 -1
- package/dist/bundles.js.map +1 -1
- package/dist/cart/workflows.d.ts +34 -0
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/common.d.ts +8 -1
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +39 -2
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +1 -1
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +2 -2
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +10 -0
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +1 -1
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/fulfillment/workflows.d.ts +4 -1
- package/dist/fulfillment/workflows.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +3 -2
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
- package/dist/http/product-category/admin.d.ts +15 -0
- package/dist/http/product-category/admin.d.ts.map +1 -0
- package/dist/http/product-category/{admin/product-category.js → admin.js} +1 -1
- package/dist/http/product-category/admin.js.map +1 -0
- package/dist/http/product-category/common.d.ts +18 -0
- package/dist/http/product-category/common.d.ts.map +1 -0
- package/dist/http/product-category/common.js +3 -0
- package/dist/http/product-category/common.js.map +1 -0
- package/dist/http/product-category/index.d.ts +1 -0
- package/dist/http/product-category/index.d.ts.map +1 -1
- package/dist/http/product-category/index.js +1 -0
- package/dist/http/product-category/index.js.map +1 -1
- package/dist/http/product-category/store.d.ts +15 -0
- package/dist/http/product-category/store.d.ts.map +1 -0
- package/dist/http/product-category/store.js +3 -0
- package/dist/http/product-category/store.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +4 -0
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +10 -12
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/internal-module-service.d.ts +1 -1
- package/dist/modules-sdk/internal-module-service.d.ts.map +1 -1
- package/dist/notification/common.d.ts +134 -0
- package/dist/notification/common.d.ts.map +1 -0
- package/dist/notification/common.js +3 -0
- package/dist/notification/common.js.map +1 -0
- package/dist/notification/index.d.ts +6 -0
- package/dist/notification/index.d.ts.map +1 -0
- package/dist/notification/index.js +22 -0
- package/dist/notification/index.js.map +1 -0
- package/dist/notification/mutations.d.ts +49 -0
- package/dist/notification/mutations.d.ts.map +1 -0
- package/dist/notification/mutations.js +3 -0
- package/dist/notification/mutations.js.map +1 -0
- package/dist/notification/provider.d.ts +51 -0
- package/dist/notification/provider.d.ts.map +1 -0
- package/dist/notification/provider.js +3 -0
- package/dist/notification/provider.js.map +1 -0
- package/dist/notification/providers/index.d.ts +3 -0
- package/dist/notification/providers/index.d.ts.map +1 -0
- package/dist/{http/product-category/admin → notification/providers}/index.js +2 -1
- package/dist/notification/providers/index.js.map +1 -0
- package/dist/notification/providers/logger.d.ts +3 -0
- package/dist/notification/providers/logger.d.ts.map +1 -0
- package/dist/notification/providers/logger.js +3 -0
- package/dist/notification/providers/logger.js.map +1 -0
- package/dist/notification/providers/sendgrid.d.ts +5 -0
- package/dist/notification/providers/sendgrid.d.ts.map +1 -0
- package/dist/notification/providers/sendgrid.js +3 -0
- package/dist/notification/providers/sendgrid.js.map +1 -0
- package/dist/notification/service.d.ts +177 -0
- package/dist/notification/service.d.ts.map +1 -0
- package/dist/notification/service.js +3 -0
- package/dist/notification/service.js.map +1 -0
- package/dist/order/common.d.ts +90 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +70 -21
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js +0 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +23 -2
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/service.d.ts +1 -0
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/pricing/common/index.d.ts +1 -0
- package/dist/pricing/common/index.d.ts.map +1 -1
- package/dist/pricing/common/index.js +1 -0
- package/dist/pricing/common/index.js.map +1 -1
- package/dist/pricing/common/pricing-context.d.ts +7 -0
- package/dist/pricing/common/pricing-context.d.ts.map +1 -0
- package/dist/pricing/common/pricing-context.js +3 -0
- package/dist/pricing/common/pricing-context.js.map +1 -0
- package/dist/product/common.d.ts +0 -12
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +1 -1
- package/dist/promotion/common/campaign.d.ts +5 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +5 -1
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +24 -12
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +7 -1
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/workflow/product/create-product-variants.d.ts +0 -1
- package/dist/workflow/product/create-product-variants.d.ts.map +1 -1
- package/dist/workflow/product/create-products.d.ts +0 -1
- package/dist/workflow/product/create-products.d.ts.map +1 -1
- package/dist/workflow/product/update-product-variants.d.ts +0 -1
- package/dist/workflow/product/update-product-variants.d.ts.map +1 -1
- package/dist/workflow/product/update-products.d.ts +0 -1
- package/dist/workflow/product/update-products.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/http/product-category/admin/index.d.ts +0 -2
- package/dist/http/product-category/admin/index.d.ts.map +0 -1
- package/dist/http/product-category/admin/index.js.map +0 -1
- package/dist/http/product-category/admin/product-category.d.ts +0 -32
- package/dist/http/product-category/admin/product-category.d.ts.map +0 -1
- 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;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,
|
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,y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|
1
1
|
{
|
2
2
|
"name": "@medusajs/types",
|
3
|
-
"version": "1.12.0-snapshot-
|
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 +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":""}
|