erpnext-queue-client 1.26.0 → 1.26.1

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.
@@ -278,12 +278,10 @@ export declare class ERPNextServicecase {
278
278
  customer_message?: string | null | undefined;
279
279
  agreed_terms?: string | null | undefined;
280
280
  }>;
281
- getServicecasesExtended({ email, id, options, }: {
281
+ getServicecasesExtended({ email, id, priority, }: {
282
282
  email: string;
283
283
  id?: string;
284
- options: {
285
- priority: number;
286
- };
284
+ priority?: number;
287
285
  }): Promise<{
288
286
  status: "EDITING" | "SUBMITTED" | "COMPLETED";
289
287
  name: string;
@@ -71,7 +71,7 @@ class ERPNextServicecase {
71
71
  });
72
72
  }
73
73
  getServicecasesExtended(_a) {
74
- return __awaiter(this, arguments, void 0, function* ({ email, id, options = { priority: 5 }, }) {
74
+ return __awaiter(this, arguments, void 0, function* ({ email, id, priority = 5, }) {
75
75
  const servicecases = yield this.methodRequest.request({
76
76
  requestMethod: "GET",
77
77
  methodName: "servicecases-extended",
@@ -86,7 +86,7 @@ class ERPNextServicecase {
86
86
  })
87
87
  .describe("ServicecaseExtendedInput"),
88
88
  responseValidationModel: Servicecase_1.ServicecaseMethodResponse,
89
- priority: options.priority,
89
+ priority,
90
90
  });
91
91
  return servicecases;
92
92
  });
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "^3.24.1"
27
27
  },
28
- "version": "1.26.0",
28
+ "version": "1.26.1",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",