@medusajs/types 2.23.0-preview-20261120065557 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workflow/inventory/export-inventory-items.d.ts +5 -0
- package/dist/workflow/inventory/export-inventory-items.d.ts.map +1 -1
- package/dist/workflow/product/export-products.d.ts +5 -0
- package/dist/workflow/product/export-products.d.ts.map +1 -1
- package/dist/workflow/product/import-products.d.ts +5 -0
- package/dist/workflow/product/import-products.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -21,5 +21,10 @@ export interface ExportInventoryItemsDTO {
|
|
|
21
21
|
* The batch size to use for querying inventory items.
|
|
22
22
|
*/
|
|
23
23
|
batch_size?: number | string;
|
|
24
|
+
/**
|
|
25
|
+
* The user id or email to send the notification to. If not provided, the
|
|
26
|
+
* notification will be sent to all admin users.
|
|
27
|
+
*/
|
|
28
|
+
to?: string;
|
|
24
29
|
}
|
|
25
30
|
//# sourceMappingURL=export-inventory-items.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-inventory-items.d.ts","sourceRoot":"","sources":["../../../src/workflow/inventory/export-inventory-items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,GAAG;QACtC,eAAe,CAAC,EAAE;YAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;SAAE,CAAA;KACtD,CAAA;IACD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"export-inventory-items.d.ts","sourceRoot":"","sources":["../../../src/workflow/inventory/export-inventory-items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,GAAG;QACtC,eAAe,CAAC,EAAE;YAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;SAAE,CAAA;KACtD,CAAA;IACD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -19,5 +19,10 @@ export interface ExportProductsDTO {
|
|
|
19
19
|
* The batch size to use for querying products.
|
|
20
20
|
*/
|
|
21
21
|
batch_size?: number | string;
|
|
22
|
+
/**
|
|
23
|
+
* The user id or email to send the notification to. If not provided, the
|
|
24
|
+
* notification will be sent to all admin users.
|
|
25
|
+
*/
|
|
26
|
+
to?: string;
|
|
22
27
|
}
|
|
23
28
|
//# sourceMappingURL=export-products.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/export-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AAEtD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,GAAG;QAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;IAC1E;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"export-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/export-products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AAEtD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,GAAG;QAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;IAC1E;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -10,6 +10,11 @@ export interface ImportProductsDTO {
|
|
|
10
10
|
* The name of the CSV file.
|
|
11
11
|
*/
|
|
12
12
|
filename: string;
|
|
13
|
+
/**
|
|
14
|
+
* The user id or email to send the notification to. If not provided, the
|
|
15
|
+
* notification will be sent to all admin users.
|
|
16
|
+
*/
|
|
17
|
+
to?: string;
|
|
13
18
|
}
|
|
14
19
|
export interface ImportProductsSummary {
|
|
15
20
|
toCreate: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/import-products.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"import-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/import-products.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/types",
|
|
3
|
-
"version": "2.23.0
|
|
3
|
+
"version": "2.23.0",
|
|
4
4
|
"description": "Medusa Types definition",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"bignumber.js": "^11.1.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@medusajs/deps": "2.23.0
|
|
45
|
+
"@medusajs/deps": "2.23.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"express": "^5.3.0",
|