medusa-plugin-tracing 0.1.1 → 0.2.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.
@@ -1,8 +1,8 @@
1
1
  export declare const createStockLotWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<{
2
2
  inventory_item_id: string;
3
3
  stock_location_id: string;
4
- enabled: boolean;
5
4
  lot_number: string;
5
+ enabled: boolean;
6
6
  description?: string | null | undefined;
7
7
  initial_quantity?: number | undefined;
8
8
  stocked_quantity?: number | undefined;
@@ -24,13 +24,13 @@ export declare const createStockLotWorkflow: import("@medusajs/framework/workflo
24
24
  invalidation_reason: {
25
25
  id: string;
26
26
  value: string;
27
- serial_numbers: /*elided*/ any[];
27
+ serial_numbers: any[];
28
28
  metadata: Record<string, unknown> | null;
29
29
  created_at: Date;
30
30
  updated_at: Date;
31
31
  deleted_at: Date | null;
32
32
  };
33
- stock_lot: /*elided*/ any;
33
+ stock_lot: any;
34
34
  metadata: Record<string, unknown> | null;
35
35
  created_at: Date;
36
36
  updated_at: Date;
@@ -17,13 +17,13 @@ export declare const deleteStockLotWorkflow: import("@medusajs/framework/workflo
17
17
  invalidation_reason: {
18
18
  id: string;
19
19
  value: string;
20
- serial_numbers: /*elided*/ any[];
20
+ serial_numbers: any[];
21
21
  metadata: Record<string, unknown> | null;
22
22
  created_at: Date;
23
23
  updated_at: Date;
24
24
  deleted_at: Date | null;
25
25
  };
26
- stock_lot: /*elided*/ any;
26
+ stock_lot: any;
27
27
  metadata: Record<string, unknown> | null;
28
28
  created_at: Date;
29
29
  updated_at: Date;
@@ -1,9 +1,9 @@
1
1
  export declare const updateStockLotWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<{
2
2
  inventory_item_id?: string | undefined;
3
3
  stock_location_id?: string | undefined;
4
- enabled?: boolean | undefined;
5
4
  lot_number?: string | undefined;
6
5
  description?: string | null | undefined;
6
+ enabled?: boolean | undefined;
7
7
  stocked_quantity?: number | undefined;
8
8
  metadata?: Record<string, unknown> | null | undefined;
9
9
  } & {
@@ -25,13 +25,13 @@ export declare const updateStockLotWorkflow: import("@medusajs/framework/workflo
25
25
  invalidation_reason: {
26
26
  id: string;
27
27
  value: string;
28
- serial_numbers: /*elided*/ any[];
28
+ serial_numbers: any[];
29
29
  metadata: Record<string, unknown> | null;
30
30
  created_at: Date;
31
31
  updated_at: Date;
32
32
  deleted_at: Date | null;
33
33
  };
34
- stock_lot: /*elided*/ any;
34
+ stock_lot: any;
35
35
  metadata: Record<string, unknown> | null;
36
36
  created_at: Date;
37
37
  updated_at: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medusa-plugin-tracing",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Inventory tracing plugin for Medusa v2 with stock lots and serial numbers",
5
5
  "author": "Lacey Pevey",
6
6
  "license": "MIT",
@@ -58,32 +58,33 @@
58
58
  "test:integration:http": "TEST_TYPE=integration:http NODE_OPTIONS=--experimental-vm-modules jest --silent=false --runInBand --detectOpenHandles --forceExit"
59
59
  },
60
60
  "devDependencies": {
61
- "@medusajs/admin-sdk": "2.13.6",
62
- "@medusajs/cli": "2.13.6",
63
- "@medusajs/framework": "2.13.6",
64
- "@medusajs/icons": "2.13.6",
65
- "@medusajs/ui": "4.0.25",
66
- "@swc/core": "^1.7.28",
67
- "@swc/jest": "^0.2.39",
68
- "@types/jest": "^30.0.0",
69
- "@types/node": "^20.0.0",
70
- "@types/react": "^18.3.2",
71
- "@types/react-dom": "^18.2.25",
72
- "jest": "^29.7.0",
73
- "prop-types": "^15.8.1",
74
- "react": "^18.2.0",
75
- "react-dom": "^18.2.0",
76
- "ts-node": "^10.9.2",
77
- "typescript": "^5.6.2",
78
- "vite": "^5.2.11",
79
- "yalc": "^1.0.0-pre.53"
61
+ "@medusajs/admin-sdk": "2.14.2",
62
+ "@medusajs/cli": "2.14.2",
63
+ "@medusajs/framework": "2.14.2",
64
+ "@medusajs/icons": "2.14.2",
65
+ "@medusajs/ui": "4.1.9",
66
+ "@swc/core": "1.7.28",
67
+ "@swc/jest": "0.2.39",
68
+ "@types/jest": "30.0.0",
69
+ "@types/node": "20.0.0",
70
+ "@types/react": "18.3.2",
71
+ "@types/react-dom": "18.2.25",
72
+ "jest": "29.7.0",
73
+ "prop-types": "15.8.1",
74
+ "react": "18.3.1",
75
+ "react-dom": "18.3.1",
76
+ "ts-node": "10.9.2",
77
+ "typescript": "5.6.2",
78
+ "vite": "5.4.14",
79
+ "yalc": "1.0.0-pre.53"
80
80
  },
81
81
  "peerDependencies": {
82
- "@medusajs/framework": "2.13.6",
83
- "@medusajs/js-sdk": "2.13.6",
84
- "@medusajs/medusa": "2.13.6"
82
+ "@medusajs/framework": "2.14.2",
83
+ "@medusajs/js-sdk": "2.14.2",
84
+ "@medusajs/medusa": "2.14.2"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=20"
88
- }
88
+ },
89
+ "gitHead": "35f16164d0d17e6281b2801a9f1eb355b5035571"
89
90
  }