erpnext-queue-client 1.8.1 → 1.8.2

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.
@@ -49,8 +49,10 @@ const Report = (reportRowModel) => zod_1.z
49
49
  })
50
50
  .describe("Report Generator " + reportRowModel.description);
51
51
  exports.Report = Report;
52
- exports.PendingPreparedReport = zod_1.z.object({
52
+ exports.PendingPreparedReport = zod_1.z
53
+ .object({
53
54
  prepared_report: zod_1.z.boolean(),
54
55
  doc: zod_1.z.null(),
55
56
  add_total_row: zod_1.z.boolean(),
56
- });
57
+ })
58
+ .describe("Pending Prepared Report");
@@ -76,7 +76,7 @@ class ERPNextReports extends methodRequest_1.ERPNextMethodRequest {
76
76
  methodName: `frappe.desk.query_report.run`,
77
77
  body: Object.assign({ report_name: reportName }, body),
78
78
  requestMethod: "POST",
79
- responseValidationModel: zod_1.z.any(),
79
+ responseValidationModel: zod_1.z.any().describe("Any"),
80
80
  });
81
81
  // Casting to correct type since Typescript is not able to infer the type correctly.
82
82
  // Type safety is ensured by zod
@@ -101,7 +101,7 @@ class ERPNextReports extends methodRequest_1.ERPNextMethodRequest {
101
101
  methodName: `frappe.desk.query_report.run`,
102
102
  body: Object.assign({ report_name: reportName }, body),
103
103
  requestMethod: "POST",
104
- responseValidationModel: zod_1.z.any(),
104
+ responseValidationModel: zod_1.z.any().describe("Any"),
105
105
  });
106
106
  // Casting to correct type since Typescript is not able to infer the type correctly.
107
107
  // Type safety is ensured by zod
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "winston": "^3.15.0",
25
25
  "zod": "3.24.1"
26
26
  },
27
- "version": "1.8.1",
27
+ "version": "1.8.2",
28
28
  "devDependencies": {
29
29
  "@types/crypto-js": "^4.2.2",
30
30
  "@types/lodash": "^4.17.13",