erpnext-queue-client 1.29.0 → 1.29.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.
@@ -99,6 +99,7 @@ export declare class ERPNextDeliveryNote {
99
99
  discount_amount: number;
100
100
  pricing_rules: string[];
101
101
  title: string;
102
+ order_number: string;
102
103
  customer_name: string;
103
104
  posting_date: string;
104
105
  posting_time: string;
@@ -293,6 +294,7 @@ export declare class ERPNextDeliveryNote {
293
294
  discount_amount: number;
294
295
  pricing_rules: string[];
295
296
  title: string;
297
+ order_number: string;
296
298
  customer_name: string;
297
299
  posting_date: string;
298
300
  posting_time: string;
@@ -390,7 +392,7 @@ export declare class ERPNextDeliveryNote {
390
392
  sales_partner?: string | null | undefined;
391
393
  dispatch_run?: string | null | undefined;
392
394
  }>;
393
- getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "items" | "discount_amount" | "pricing_rules" | "title" | "customer_name" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "issue_credit_note" | "po_no" | "currency" | "conversion_rate" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team") | ("parent" | "parentfield" | "parenttype" | "cost_center" | "project" | "amended_from" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
395
+ getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "customer" | "items" | "discount_amount" | "pricing_rules" | "title" | "order_number" | "customer_name" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "issue_credit_note" | "po_no" | "currency" | "conversion_rate" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team") | ("parent" | "parentfield" | "parenttype" | "cost_center" | "project" | "amended_from" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner" | "dispatch_run"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
394
396
  fields?: TField[] | undefined;
395
397
  filters?: (string | string[])[][];
396
398
  skip?: number;
@@ -491,6 +493,7 @@ export declare class ERPNextDeliveryNote {
491
493
  discount_amount: number;
492
494
  pricing_rules: string[];
493
495
  title: string;
496
+ order_number: string;
494
497
  customer_name: string;
495
498
  posting_date: string;
496
499
  posting_time: string;
@@ -684,6 +687,7 @@ export declare class ERPNextDeliveryNote {
684
687
  discount_amount: number;
685
688
  pricing_rules: string[];
686
689
  title: string;
690
+ order_number: string;
687
691
  customer_name: string;
688
692
  posting_date: string;
689
693
  posting_time: string;
@@ -874,6 +878,7 @@ export declare class ERPNextDeliveryNote {
874
878
  discount_amount: number;
875
879
  pricing_rules: string[];
876
880
  title: string;
881
+ order_number: string;
877
882
  customer_name: string;
878
883
  posting_date: string;
879
884
  posting_time: string;
@@ -1068,6 +1073,7 @@ export declare class ERPNextDeliveryNote {
1068
1073
  discount_amount: number;
1069
1074
  pricing_rules: string[];
1070
1075
  title: string;
1076
+ order_number: string;
1071
1077
  customer_name: string;
1072
1078
  posting_date: string;
1073
1079
  posting_time: string;
@@ -1264,6 +1270,7 @@ export declare class ERPNextDeliveryNote {
1264
1270
  discount_amount: number;
1265
1271
  pricing_rules: string[];
1266
1272
  title: string;
1273
+ order_number: string;
1267
1274
  customer_name: string;
1268
1275
  posting_date: string;
1269
1276
  posting_time: string;
@@ -41,6 +41,7 @@ export declare const DeliveryNote: z.ZodObject<{
41
41
  docstatus: z.ZodNumber;
42
42
  title: z.ZodString;
43
43
  naming_series: z.ZodString;
44
+ order_number: z.ZodString;
44
45
  customer: z.ZodString;
45
46
  customer_name: z.ZodString;
46
47
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -458,6 +459,7 @@ export declare const DeliveryNote: z.ZodObject<{
458
459
  discount_amount: number;
459
460
  pricing_rules: string[];
460
461
  title: string;
462
+ order_number: string;
461
463
  customer_name: string;
462
464
  posting_date: string;
463
465
  posting_time: string;
@@ -647,6 +649,7 @@ export declare const DeliveryNote: z.ZodObject<{
647
649
  discount_amount: number;
648
650
  pricing_rules: string[];
649
651
  title: string;
652
+ order_number: string;
650
653
  customer_name: string;
651
654
  posting_date: string;
652
655
  posting_time: string;
@@ -757,6 +760,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
757
760
  docstatus: z.ZodNumber;
758
761
  title: z.ZodString;
759
762
  naming_series: z.ZodString;
763
+ order_number: z.ZodString;
760
764
  customer: z.ZodString;
761
765
  customer_name: z.ZodString;
762
766
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1098,6 +1102,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
1098
1102
  customer: string;
1099
1103
  discount_amount: number;
1100
1104
  title: string;
1105
+ order_number: string;
1101
1106
  customer_name: string;
1102
1107
  posting_date: string;
1103
1108
  posting_time: string;
@@ -1208,6 +1213,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
1208
1213
  customer: string;
1209
1214
  discount_amount: number;
1210
1215
  title: string;
1216
+ order_number: string;
1211
1217
  customer_name: string;
1212
1218
  posting_date: string;
1213
1219
  posting_time: string;
@@ -1316,6 +1322,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
1316
1322
  docstatus: z.ZodNumber;
1317
1323
  title: z.ZodString;
1318
1324
  naming_series: z.ZodString;
1325
+ order_number: z.ZodString;
1319
1326
  customer: z.ZodString;
1320
1327
  customer_name: z.ZodString;
1321
1328
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -103,6 +103,7 @@ exports.DeliveryNote = zod_1.z
103
103
  docstatus: zod_1.z.number(),
104
104
  title: zod_1.z.string(),
105
105
  naming_series: zod_1.z.string(),
106
+ order_number: zod_1.z.string(),
106
107
  customer: zod_1.z.string(),
107
108
  customer_name: zod_1.z.string(),
108
109
  amended_from: zod_1.z.string().optional().nullable(),
@@ -201,14 +201,14 @@ export declare const DispatchRunMatchesByOrderNumber: z.ZodArray<z.ZodObject<{
201
201
  }, "strip", z.ZodTypeAny, {
202
202
  status: "Processing" | "Failed" | "Completed";
203
203
  name: string;
204
- customer_name: string;
205
204
  order_number: string;
205
+ customer_name: string;
206
206
  picking_strategy: string;
207
207
  }, {
208
208
  status: "Processing" | "Failed" | "Completed";
209
209
  name: string;
210
- customer_name: string;
211
210
  order_number: string;
211
+ customer_name: string;
212
212
  picking_strategy: string;
213
213
  }>, "many">;
214
214
  export type DispatchRunMatchesByOrderNumberType = z.infer<typeof DispatchRunMatchesByOrderNumber>;
package/package.json CHANGED
@@ -23,9 +23,9 @@
23
23
  "pako": "^2.1.0",
24
24
  "randombytes": "^2.1.0",
25
25
  "winston": "^3.15.0",
26
- "zod": "^3.24.1"
26
+ "zod": "3.25.76"
27
27
  },
28
- "version": "1.29.0",
28
+ "version": "1.29.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",