erpnext-queue-client 1.31.1 → 1.31.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.
@@ -153,5 +153,11 @@ export declare class ERPNextProductBundle {
153
153
  }) => Promise<import("zod").TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
154
154
  private methodRequest;
155
155
  constructor(temporalClient: TemporalClient);
156
- getBundleInfos: () => Promise<void>;
156
+ getBundleInfos: (priority?: number) => Promise<{
157
+ items: {
158
+ item_code: string;
159
+ quantity: number;
160
+ }[];
161
+ parent_item_code: string;
162
+ }[]>;
157
163
  }
@@ -15,11 +15,12 @@ const methodRequest_1 = require("../methodRequest");
15
15
  const ProductBundle_1 = require("../model/ProductBundle");
16
16
  class ERPNextProductBundle {
17
17
  constructor(temporalClient) {
18
- this.getBundleInfos = () => __awaiter(this, void 0, void 0, function* () {
19
- yield this.methodRequest.request({
18
+ this.getBundleInfos = (...args_1) => __awaiter(this, [...args_1], void 0, function* (priority = 5) {
19
+ return yield this.methodRequest.request({
20
20
  methodName: "get_bundle_infos",
21
21
  requestMethod: "GET",
22
22
  responseValidationModel: ProductBundle_1.GetBundleInfosResponse,
23
+ priority,
23
24
  });
24
25
  });
25
26
  this.temporalClient = temporalClient;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.25.76"
27
27
  },
28
- "version": "1.31.1",
28
+ "version": "1.31.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",