erpnext-queue-client 1.0.4 → 1.0.6
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.
- package/dist/client.d.ts +6 -16
- package/dist/client.js +14 -39
- package/dist/erpnext/decryptFromErpNext.server.js +1 -1
- package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
- package/dist/erpnext/doctypes/country.d.ts +9 -0
- package/dist/erpnext/doctypes/country.js +28 -0
- package/dist/erpnext/erpnextRequests.d.ts +1 -1786
- package/dist/erpnext/erpnextRequests.js +13 -337
- package/dist/erpnext/model/Address.d.ts +48 -48
- package/dist/erpnext/model/Contact.d.ts +106 -106
- package/dist/erpnext/model/Country.d.ts +2 -2
- package/dist/erpnext/model/Customer.d.ts +4 -4
- package/dist/erpnext/model/DeliveryNote.d.ts +176 -176
- package/dist/erpnext/model/DispatchRun.d.ts +90 -90
- package/dist/erpnext/model/DispatcherPreset.d.ts +26 -26
- package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
- package/dist/erpnext/model/ERPNextRequest.d.ts +17 -0
- package/dist/erpnext/model/File.d.ts +4 -4
- package/dist/erpnext/model/Fulfiller.d.ts +11 -11
- package/dist/erpnext/model/FulfillerSettings.d.ts +6 -6
- package/dist/erpnext/model/Item.d.ts +204 -204
- package/dist/erpnext/model/ProjectedQuantityReport.d.ts +14 -14
- package/dist/erpnext/model/PurchaseOrder.d.ts +112 -112
- package/dist/erpnext/model/Receipt.d.ts +104 -104
- package/dist/erpnext/model/ReceiptDraft.d.ts +88 -88
- package/dist/erpnext/model/Shipment.d.ts +157 -157
- package/dist/erpnext/model/ShippingProvider.d.ts +23 -23
- package/dist/erpnext/resourceRequest.d.ts +16 -0
- package/dist/erpnext/resourceRequest.js +34 -0
- package/dist/erpnext.d.ts +20 -0
- package/dist/erpnext.js +45 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +21 -12
- package/package.json +1 -1
|
@@ -213,34 +213,28 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
213
213
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
name?: string;
|
|
216
|
-
owner?: string;
|
|
217
216
|
creation?: string;
|
|
218
217
|
modified?: string;
|
|
219
218
|
modified_by?: string;
|
|
220
|
-
parent?: string;
|
|
221
|
-
parentfield?: string;
|
|
222
|
-
parenttype?: string;
|
|
223
219
|
idx?: number;
|
|
224
220
|
docstatus?: number;
|
|
225
221
|
doctype?: string;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
222
|
+
owner?: string;
|
|
223
|
+
parent?: string;
|
|
224
|
+
parentfield?: string;
|
|
225
|
+
parenttype?: string;
|
|
226
|
+
image?: string;
|
|
229
227
|
item_code?: string;
|
|
228
|
+
qty?: number;
|
|
229
|
+
barcode?: string;
|
|
230
230
|
item_name?: string;
|
|
231
|
-
|
|
232
|
-
stock_uom?: string;
|
|
231
|
+
customer_item_code?: string;
|
|
233
232
|
description?: string;
|
|
234
|
-
weight_per_unit?: number;
|
|
235
|
-
weight_uom?: string;
|
|
236
|
-
grant_commission?: number;
|
|
237
|
-
warehouse?: string;
|
|
238
233
|
brand?: string;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
customer_item_code?: string;
|
|
234
|
+
item_group?: string;
|
|
235
|
+
stock_uom?: string;
|
|
236
|
+
uom?: string;
|
|
237
|
+
conversion_factor?: number;
|
|
244
238
|
stock_qty?: number;
|
|
245
239
|
returned_qty?: number;
|
|
246
240
|
price_list_rate?: number;
|
|
@@ -258,6 +252,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
258
252
|
pricing_rules?: string;
|
|
259
253
|
stock_uom_rate?: number;
|
|
260
254
|
is_free_item?: number;
|
|
255
|
+
grant_commission?: number;
|
|
261
256
|
net_rate?: number;
|
|
262
257
|
net_amount?: number;
|
|
263
258
|
item_tax_template?: string;
|
|
@@ -265,7 +260,10 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
265
260
|
base_net_amount?: number;
|
|
266
261
|
billed_amt?: number;
|
|
267
262
|
incoming_rate?: number;
|
|
263
|
+
weight_per_unit?: number;
|
|
268
264
|
total_weight?: number;
|
|
265
|
+
weight_uom?: string;
|
|
266
|
+
warehouse?: string;
|
|
269
267
|
target_warehouse?: string;
|
|
270
268
|
quality_inspection?: string;
|
|
271
269
|
against_sales_order?: string;
|
|
@@ -277,6 +275,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
277
275
|
batch_no?: string;
|
|
278
276
|
serial_no?: string;
|
|
279
277
|
actual_batch_qty?: number;
|
|
278
|
+
actual_qty?: number;
|
|
280
279
|
installed_qty?: number;
|
|
281
280
|
item_tax_rate?: string;
|
|
282
281
|
expense_account?: string;
|
|
@@ -285,36 +284,31 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
285
284
|
project?: string;
|
|
286
285
|
order_item_id?: string;
|
|
287
286
|
page_break?: number;
|
|
287
|
+
__unsaved?: number;
|
|
288
288
|
}, {
|
|
289
289
|
name?: string;
|
|
290
|
-
owner?: string;
|
|
291
290
|
creation?: string;
|
|
292
291
|
modified?: string;
|
|
293
292
|
modified_by?: string;
|
|
294
|
-
parent?: string;
|
|
295
|
-
parentfield?: string;
|
|
296
|
-
parenttype?: string;
|
|
297
293
|
idx?: number;
|
|
298
294
|
docstatus?: number;
|
|
299
295
|
doctype?: string;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
owner?: string;
|
|
297
|
+
parent?: string;
|
|
298
|
+
parentfield?: string;
|
|
299
|
+
parenttype?: string;
|
|
300
|
+
image?: string;
|
|
303
301
|
item_code?: string;
|
|
302
|
+
qty?: number;
|
|
303
|
+
barcode?: string;
|
|
304
304
|
item_name?: string;
|
|
305
|
-
|
|
306
|
-
stock_uom?: string;
|
|
305
|
+
customer_item_code?: string;
|
|
307
306
|
description?: string;
|
|
308
|
-
weight_per_unit?: number;
|
|
309
|
-
weight_uom?: string;
|
|
310
|
-
grant_commission?: number;
|
|
311
|
-
warehouse?: string;
|
|
312
307
|
brand?: string;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
customer_item_code?: string;
|
|
308
|
+
item_group?: string;
|
|
309
|
+
stock_uom?: string;
|
|
310
|
+
uom?: string;
|
|
311
|
+
conversion_factor?: number;
|
|
318
312
|
stock_qty?: number;
|
|
319
313
|
returned_qty?: number;
|
|
320
314
|
price_list_rate?: number;
|
|
@@ -332,6 +326,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
332
326
|
pricing_rules?: string;
|
|
333
327
|
stock_uom_rate?: number;
|
|
334
328
|
is_free_item?: number;
|
|
329
|
+
grant_commission?: number;
|
|
335
330
|
net_rate?: number;
|
|
336
331
|
net_amount?: number;
|
|
337
332
|
item_tax_template?: string;
|
|
@@ -339,7 +334,10 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
339
334
|
base_net_amount?: number;
|
|
340
335
|
billed_amt?: number;
|
|
341
336
|
incoming_rate?: number;
|
|
337
|
+
weight_per_unit?: number;
|
|
342
338
|
total_weight?: number;
|
|
339
|
+
weight_uom?: string;
|
|
340
|
+
warehouse?: string;
|
|
343
341
|
target_warehouse?: string;
|
|
344
342
|
quality_inspection?: string;
|
|
345
343
|
against_sales_order?: string;
|
|
@@ -351,6 +349,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
351
349
|
batch_no?: string;
|
|
352
350
|
serial_no?: string;
|
|
353
351
|
actual_batch_qty?: number;
|
|
352
|
+
actual_qty?: number;
|
|
354
353
|
installed_qty?: number;
|
|
355
354
|
item_tax_rate?: string;
|
|
356
355
|
expense_account?: string;
|
|
@@ -359,6 +358,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
359
358
|
project?: string;
|
|
360
359
|
order_item_id?: string;
|
|
361
360
|
page_break?: number;
|
|
361
|
+
__unsaved?: number;
|
|
362
362
|
}>, "many">;
|
|
363
363
|
pricing_rules: z.ZodArray<z.ZodString, "many">;
|
|
364
364
|
packed_items: z.ZodArray<z.ZodString, "many">;
|
|
@@ -368,24 +368,21 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
368
368
|
}, "strip", z.ZodTypeAny, {
|
|
369
369
|
status?: string;
|
|
370
370
|
name?: string;
|
|
371
|
-
owner?: string;
|
|
372
371
|
creation?: string;
|
|
373
372
|
modified?: string;
|
|
374
373
|
modified_by?: string;
|
|
375
|
-
parent?: string;
|
|
376
|
-
parentfield?: string;
|
|
377
|
-
parenttype?: string;
|
|
378
374
|
idx?: number;
|
|
379
375
|
docstatus?: number;
|
|
380
376
|
doctype?: string;
|
|
377
|
+
owner?: string;
|
|
378
|
+
parent?: string;
|
|
379
|
+
parentfield?: string;
|
|
380
|
+
parenttype?: string;
|
|
381
381
|
tax_category?: string;
|
|
382
382
|
company?: string;
|
|
383
|
-
naming_series?: string;
|
|
384
|
-
taxes?: string[];
|
|
385
|
-
grand_total?: number;
|
|
386
|
-
amended_from?: string;
|
|
387
383
|
customer_name?: string;
|
|
388
384
|
customer_group?: string;
|
|
385
|
+
naming_series?: string;
|
|
389
386
|
territory?: string;
|
|
390
387
|
is_internal_customer?: number;
|
|
391
388
|
language?: string;
|
|
@@ -393,34 +390,28 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
393
390
|
customer?: string;
|
|
394
391
|
items?: {
|
|
395
392
|
name?: string;
|
|
396
|
-
owner?: string;
|
|
397
393
|
creation?: string;
|
|
398
394
|
modified?: string;
|
|
399
395
|
modified_by?: string;
|
|
400
|
-
parent?: string;
|
|
401
|
-
parentfield?: string;
|
|
402
|
-
parenttype?: string;
|
|
403
396
|
idx?: number;
|
|
404
397
|
docstatus?: number;
|
|
405
398
|
doctype?: string;
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
399
|
+
owner?: string;
|
|
400
|
+
parent?: string;
|
|
401
|
+
parentfield?: string;
|
|
402
|
+
parenttype?: string;
|
|
403
|
+
image?: string;
|
|
409
404
|
item_code?: string;
|
|
405
|
+
qty?: number;
|
|
406
|
+
barcode?: string;
|
|
410
407
|
item_name?: string;
|
|
411
|
-
|
|
412
|
-
stock_uom?: string;
|
|
408
|
+
customer_item_code?: string;
|
|
413
409
|
description?: string;
|
|
414
|
-
weight_per_unit?: number;
|
|
415
|
-
weight_uom?: string;
|
|
416
|
-
grant_commission?: number;
|
|
417
|
-
warehouse?: string;
|
|
418
410
|
brand?: string;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
customer_item_code?: string;
|
|
411
|
+
item_group?: string;
|
|
412
|
+
stock_uom?: string;
|
|
413
|
+
uom?: string;
|
|
414
|
+
conversion_factor?: number;
|
|
424
415
|
stock_qty?: number;
|
|
425
416
|
returned_qty?: number;
|
|
426
417
|
price_list_rate?: number;
|
|
@@ -438,6 +429,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
438
429
|
pricing_rules?: string;
|
|
439
430
|
stock_uom_rate?: number;
|
|
440
431
|
is_free_item?: number;
|
|
432
|
+
grant_commission?: number;
|
|
441
433
|
net_rate?: number;
|
|
442
434
|
net_amount?: number;
|
|
443
435
|
item_tax_template?: string;
|
|
@@ -445,7 +437,10 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
445
437
|
base_net_amount?: number;
|
|
446
438
|
billed_amt?: number;
|
|
447
439
|
incoming_rate?: number;
|
|
440
|
+
weight_per_unit?: number;
|
|
448
441
|
total_weight?: number;
|
|
442
|
+
weight_uom?: string;
|
|
443
|
+
warehouse?: string;
|
|
449
444
|
target_warehouse?: string;
|
|
450
445
|
quality_inspection?: string;
|
|
451
446
|
against_sales_order?: string;
|
|
@@ -457,6 +452,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
457
452
|
batch_no?: string;
|
|
458
453
|
serial_no?: string;
|
|
459
454
|
actual_batch_qty?: number;
|
|
455
|
+
actual_qty?: number;
|
|
460
456
|
installed_qty?: number;
|
|
461
457
|
item_tax_rate?: string;
|
|
462
458
|
expense_account?: string;
|
|
@@ -465,12 +461,14 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
465
461
|
project?: string;
|
|
466
462
|
order_item_id?: string;
|
|
467
463
|
page_break?: number;
|
|
464
|
+
__unsaved?: number;
|
|
468
465
|
}[];
|
|
469
466
|
discount_amount?: number;
|
|
470
467
|
pricing_rules?: string[];
|
|
471
468
|
cost_center?: string;
|
|
472
469
|
project?: string;
|
|
473
470
|
title?: string;
|
|
471
|
+
amended_from?: string;
|
|
474
472
|
posting_date?: string;
|
|
475
473
|
posting_time?: string;
|
|
476
474
|
set_posting_time?: number;
|
|
@@ -520,6 +518,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
520
518
|
base_rounding_adjustment?: number;
|
|
521
519
|
base_rounded_total?: number;
|
|
522
520
|
base_in_words?: string;
|
|
521
|
+
grand_total?: number;
|
|
523
522
|
rounding_adjustment?: number;
|
|
524
523
|
rounded_total?: number;
|
|
525
524
|
in_words?: string;
|
|
@@ -553,28 +552,26 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
553
552
|
commission_rate?: number;
|
|
554
553
|
total_commission?: number;
|
|
555
554
|
packed_items?: string[];
|
|
555
|
+
taxes?: string[];
|
|
556
556
|
dispatch_run?: string;
|
|
557
557
|
}, {
|
|
558
558
|
status?: string;
|
|
559
559
|
name?: string;
|
|
560
|
-
owner?: string;
|
|
561
560
|
creation?: string;
|
|
562
561
|
modified?: string;
|
|
563
562
|
modified_by?: string;
|
|
564
|
-
parent?: string;
|
|
565
|
-
parentfield?: string;
|
|
566
|
-
parenttype?: string;
|
|
567
563
|
idx?: number;
|
|
568
564
|
docstatus?: number;
|
|
569
565
|
doctype?: string;
|
|
566
|
+
owner?: string;
|
|
567
|
+
parent?: string;
|
|
568
|
+
parentfield?: string;
|
|
569
|
+
parenttype?: string;
|
|
570
570
|
tax_category?: string;
|
|
571
571
|
company?: string;
|
|
572
|
-
naming_series?: string;
|
|
573
|
-
taxes?: string[];
|
|
574
|
-
grand_total?: number;
|
|
575
|
-
amended_from?: string;
|
|
576
572
|
customer_name?: string;
|
|
577
573
|
customer_group?: string;
|
|
574
|
+
naming_series?: string;
|
|
578
575
|
territory?: string;
|
|
579
576
|
is_internal_customer?: number;
|
|
580
577
|
language?: string;
|
|
@@ -582,34 +579,28 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
582
579
|
customer?: string;
|
|
583
580
|
items?: {
|
|
584
581
|
name?: string;
|
|
585
|
-
owner?: string;
|
|
586
582
|
creation?: string;
|
|
587
583
|
modified?: string;
|
|
588
584
|
modified_by?: string;
|
|
589
|
-
parent?: string;
|
|
590
|
-
parentfield?: string;
|
|
591
|
-
parenttype?: string;
|
|
592
585
|
idx?: number;
|
|
593
586
|
docstatus?: number;
|
|
594
587
|
doctype?: string;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
588
|
+
owner?: string;
|
|
589
|
+
parent?: string;
|
|
590
|
+
parentfield?: string;
|
|
591
|
+
parenttype?: string;
|
|
592
|
+
image?: string;
|
|
598
593
|
item_code?: string;
|
|
594
|
+
qty?: number;
|
|
595
|
+
barcode?: string;
|
|
599
596
|
item_name?: string;
|
|
600
|
-
|
|
601
|
-
stock_uom?: string;
|
|
597
|
+
customer_item_code?: string;
|
|
602
598
|
description?: string;
|
|
603
|
-
weight_per_unit?: number;
|
|
604
|
-
weight_uom?: string;
|
|
605
|
-
grant_commission?: number;
|
|
606
|
-
warehouse?: string;
|
|
607
599
|
brand?: string;
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
customer_item_code?: string;
|
|
600
|
+
item_group?: string;
|
|
601
|
+
stock_uom?: string;
|
|
602
|
+
uom?: string;
|
|
603
|
+
conversion_factor?: number;
|
|
613
604
|
stock_qty?: number;
|
|
614
605
|
returned_qty?: number;
|
|
615
606
|
price_list_rate?: number;
|
|
@@ -627,6 +618,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
627
618
|
pricing_rules?: string;
|
|
628
619
|
stock_uom_rate?: number;
|
|
629
620
|
is_free_item?: number;
|
|
621
|
+
grant_commission?: number;
|
|
630
622
|
net_rate?: number;
|
|
631
623
|
net_amount?: number;
|
|
632
624
|
item_tax_template?: string;
|
|
@@ -634,7 +626,10 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
634
626
|
base_net_amount?: number;
|
|
635
627
|
billed_amt?: number;
|
|
636
628
|
incoming_rate?: number;
|
|
629
|
+
weight_per_unit?: number;
|
|
637
630
|
total_weight?: number;
|
|
631
|
+
weight_uom?: string;
|
|
632
|
+
warehouse?: string;
|
|
638
633
|
target_warehouse?: string;
|
|
639
634
|
quality_inspection?: string;
|
|
640
635
|
against_sales_order?: string;
|
|
@@ -646,6 +641,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
646
641
|
batch_no?: string;
|
|
647
642
|
serial_no?: string;
|
|
648
643
|
actual_batch_qty?: number;
|
|
644
|
+
actual_qty?: number;
|
|
649
645
|
installed_qty?: number;
|
|
650
646
|
item_tax_rate?: string;
|
|
651
647
|
expense_account?: string;
|
|
@@ -654,12 +650,14 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
654
650
|
project?: string;
|
|
655
651
|
order_item_id?: string;
|
|
656
652
|
page_break?: number;
|
|
653
|
+
__unsaved?: number;
|
|
657
654
|
}[];
|
|
658
655
|
discount_amount?: number;
|
|
659
656
|
pricing_rules?: string[];
|
|
660
657
|
cost_center?: string;
|
|
661
658
|
project?: string;
|
|
662
659
|
title?: string;
|
|
660
|
+
amended_from?: string;
|
|
663
661
|
posting_date?: string;
|
|
664
662
|
posting_time?: string;
|
|
665
663
|
set_posting_time?: number;
|
|
@@ -709,6 +707,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
709
707
|
base_rounding_adjustment?: number;
|
|
710
708
|
base_rounded_total?: number;
|
|
711
709
|
base_in_words?: string;
|
|
710
|
+
grand_total?: number;
|
|
712
711
|
rounding_adjustment?: number;
|
|
713
712
|
rounded_total?: number;
|
|
714
713
|
in_words?: string;
|
|
@@ -742,6 +741,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
742
741
|
commission_rate?: number;
|
|
743
742
|
total_commission?: number;
|
|
744
743
|
packed_items?: string[];
|
|
744
|
+
taxes?: string[];
|
|
745
745
|
dispatch_run?: string;
|
|
746
746
|
}>;
|
|
747
747
|
export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
@@ -929,34 +929,28 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
929
929
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
930
930
|
}, "strip", z.ZodTypeAny, {
|
|
931
931
|
name?: string;
|
|
932
|
-
owner?: string;
|
|
933
932
|
creation?: string;
|
|
934
933
|
modified?: string;
|
|
935
934
|
modified_by?: string;
|
|
936
|
-
parent?: string;
|
|
937
|
-
parentfield?: string;
|
|
938
|
-
parenttype?: string;
|
|
939
935
|
idx?: number;
|
|
940
936
|
docstatus?: number;
|
|
941
937
|
doctype?: string;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
938
|
+
owner?: string;
|
|
939
|
+
parent?: string;
|
|
940
|
+
parentfield?: string;
|
|
941
|
+
parenttype?: string;
|
|
942
|
+
image?: string;
|
|
945
943
|
item_code?: string;
|
|
944
|
+
qty?: number;
|
|
945
|
+
barcode?: string;
|
|
946
946
|
item_name?: string;
|
|
947
|
-
|
|
948
|
-
stock_uom?: string;
|
|
947
|
+
customer_item_code?: string;
|
|
949
948
|
description?: string;
|
|
950
|
-
weight_per_unit?: number;
|
|
951
|
-
weight_uom?: string;
|
|
952
|
-
grant_commission?: number;
|
|
953
|
-
warehouse?: string;
|
|
954
949
|
brand?: string;
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
customer_item_code?: string;
|
|
950
|
+
item_group?: string;
|
|
951
|
+
stock_uom?: string;
|
|
952
|
+
uom?: string;
|
|
953
|
+
conversion_factor?: number;
|
|
960
954
|
stock_qty?: number;
|
|
961
955
|
returned_qty?: number;
|
|
962
956
|
price_list_rate?: number;
|
|
@@ -974,6 +968,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
974
968
|
pricing_rules?: string;
|
|
975
969
|
stock_uom_rate?: number;
|
|
976
970
|
is_free_item?: number;
|
|
971
|
+
grant_commission?: number;
|
|
977
972
|
net_rate?: number;
|
|
978
973
|
net_amount?: number;
|
|
979
974
|
item_tax_template?: string;
|
|
@@ -981,7 +976,10 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
981
976
|
base_net_amount?: number;
|
|
982
977
|
billed_amt?: number;
|
|
983
978
|
incoming_rate?: number;
|
|
979
|
+
weight_per_unit?: number;
|
|
984
980
|
total_weight?: number;
|
|
981
|
+
weight_uom?: string;
|
|
982
|
+
warehouse?: string;
|
|
985
983
|
target_warehouse?: string;
|
|
986
984
|
quality_inspection?: string;
|
|
987
985
|
against_sales_order?: string;
|
|
@@ -993,6 +991,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
993
991
|
batch_no?: string;
|
|
994
992
|
serial_no?: string;
|
|
995
993
|
actual_batch_qty?: number;
|
|
994
|
+
actual_qty?: number;
|
|
996
995
|
installed_qty?: number;
|
|
997
996
|
item_tax_rate?: string;
|
|
998
997
|
expense_account?: string;
|
|
@@ -1001,36 +1000,31 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1001
1000
|
project?: string;
|
|
1002
1001
|
order_item_id?: string;
|
|
1003
1002
|
page_break?: number;
|
|
1003
|
+
__unsaved?: number;
|
|
1004
1004
|
}, {
|
|
1005
1005
|
name?: string;
|
|
1006
|
-
owner?: string;
|
|
1007
1006
|
creation?: string;
|
|
1008
1007
|
modified?: string;
|
|
1009
1008
|
modified_by?: string;
|
|
1010
|
-
parent?: string;
|
|
1011
|
-
parentfield?: string;
|
|
1012
|
-
parenttype?: string;
|
|
1013
1009
|
idx?: number;
|
|
1014
1010
|
docstatus?: number;
|
|
1015
1011
|
doctype?: string;
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1012
|
+
owner?: string;
|
|
1013
|
+
parent?: string;
|
|
1014
|
+
parentfield?: string;
|
|
1015
|
+
parenttype?: string;
|
|
1016
|
+
image?: string;
|
|
1019
1017
|
item_code?: string;
|
|
1018
|
+
qty?: number;
|
|
1019
|
+
barcode?: string;
|
|
1020
1020
|
item_name?: string;
|
|
1021
|
-
|
|
1022
|
-
stock_uom?: string;
|
|
1021
|
+
customer_item_code?: string;
|
|
1023
1022
|
description?: string;
|
|
1024
|
-
weight_per_unit?: number;
|
|
1025
|
-
weight_uom?: string;
|
|
1026
|
-
grant_commission?: number;
|
|
1027
|
-
warehouse?: string;
|
|
1028
1023
|
brand?: string;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
customer_item_code?: string;
|
|
1024
|
+
item_group?: string;
|
|
1025
|
+
stock_uom?: string;
|
|
1026
|
+
uom?: string;
|
|
1027
|
+
conversion_factor?: number;
|
|
1034
1028
|
stock_qty?: number;
|
|
1035
1029
|
returned_qty?: number;
|
|
1036
1030
|
price_list_rate?: number;
|
|
@@ -1048,6 +1042,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1048
1042
|
pricing_rules?: string;
|
|
1049
1043
|
stock_uom_rate?: number;
|
|
1050
1044
|
is_free_item?: number;
|
|
1045
|
+
grant_commission?: number;
|
|
1051
1046
|
net_rate?: number;
|
|
1052
1047
|
net_amount?: number;
|
|
1053
1048
|
item_tax_template?: string;
|
|
@@ -1055,7 +1050,10 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1055
1050
|
base_net_amount?: number;
|
|
1056
1051
|
billed_amt?: number;
|
|
1057
1052
|
incoming_rate?: number;
|
|
1053
|
+
weight_per_unit?: number;
|
|
1058
1054
|
total_weight?: number;
|
|
1055
|
+
weight_uom?: string;
|
|
1056
|
+
warehouse?: string;
|
|
1059
1057
|
target_warehouse?: string;
|
|
1060
1058
|
quality_inspection?: string;
|
|
1061
1059
|
against_sales_order?: string;
|
|
@@ -1067,6 +1065,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1067
1065
|
batch_no?: string;
|
|
1068
1066
|
serial_no?: string;
|
|
1069
1067
|
actual_batch_qty?: number;
|
|
1068
|
+
actual_qty?: number;
|
|
1070
1069
|
installed_qty?: number;
|
|
1071
1070
|
item_tax_rate?: string;
|
|
1072
1071
|
expense_account?: string;
|
|
@@ -1075,32 +1074,31 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1075
1074
|
project?: string;
|
|
1076
1075
|
order_item_id?: string;
|
|
1077
1076
|
page_break?: number;
|
|
1077
|
+
__unsaved?: number;
|
|
1078
1078
|
}>, "many">;
|
|
1079
1079
|
pricing_rules: z.ZodArray<z.ZodString, "many">;
|
|
1080
1080
|
packed_items: z.ZodArray<z.ZodString, "many">;
|
|
1081
1081
|
taxes: z.ZodArray<z.ZodString, "many">;
|
|
1082
1082
|
sales_team: z.ZodArray<z.ZodString, "many">;
|
|
1083
1083
|
dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1084
|
-
}, "
|
|
1084
|
+
}, "sales_team" | "items" | "pricing_rules" | "packed_items" | "taxes">, "strip", z.ZodTypeAny, {
|
|
1085
1085
|
status?: string;
|
|
1086
1086
|
name?: string;
|
|
1087
|
-
owner?: string;
|
|
1088
1087
|
creation?: string;
|
|
1089
1088
|
modified?: string;
|
|
1090
1089
|
modified_by?: string;
|
|
1091
|
-
parent?: string;
|
|
1092
|
-
parentfield?: string;
|
|
1093
|
-
parenttype?: string;
|
|
1094
1090
|
idx?: number;
|
|
1095
1091
|
docstatus?: number;
|
|
1096
1092
|
doctype?: string;
|
|
1093
|
+
owner?: string;
|
|
1094
|
+
parent?: string;
|
|
1095
|
+
parentfield?: string;
|
|
1096
|
+
parenttype?: string;
|
|
1097
1097
|
tax_category?: string;
|
|
1098
1098
|
company?: string;
|
|
1099
|
-
naming_series?: string;
|
|
1100
|
-
grand_total?: number;
|
|
1101
|
-
amended_from?: string;
|
|
1102
1099
|
customer_name?: string;
|
|
1103
1100
|
customer_group?: string;
|
|
1101
|
+
naming_series?: string;
|
|
1104
1102
|
territory?: string;
|
|
1105
1103
|
is_internal_customer?: number;
|
|
1106
1104
|
language?: string;
|
|
@@ -1109,6 +1107,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1109
1107
|
cost_center?: string;
|
|
1110
1108
|
project?: string;
|
|
1111
1109
|
title?: string;
|
|
1110
|
+
amended_from?: string;
|
|
1112
1111
|
posting_date?: string;
|
|
1113
1112
|
posting_time?: string;
|
|
1114
1113
|
set_posting_time?: number;
|
|
@@ -1158,6 +1157,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1158
1157
|
base_rounding_adjustment?: number;
|
|
1159
1158
|
base_rounded_total?: number;
|
|
1160
1159
|
base_in_words?: string;
|
|
1160
|
+
grand_total?: number;
|
|
1161
1161
|
rounding_adjustment?: number;
|
|
1162
1162
|
rounded_total?: number;
|
|
1163
1163
|
in_words?: string;
|
|
@@ -1194,23 +1194,21 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1194
1194
|
}, {
|
|
1195
1195
|
status?: string;
|
|
1196
1196
|
name?: string;
|
|
1197
|
-
owner?: string;
|
|
1198
1197
|
creation?: string;
|
|
1199
1198
|
modified?: string;
|
|
1200
1199
|
modified_by?: string;
|
|
1201
|
-
parent?: string;
|
|
1202
|
-
parentfield?: string;
|
|
1203
|
-
parenttype?: string;
|
|
1204
1200
|
idx?: number;
|
|
1205
1201
|
docstatus?: number;
|
|
1206
1202
|
doctype?: string;
|
|
1203
|
+
owner?: string;
|
|
1204
|
+
parent?: string;
|
|
1205
|
+
parentfield?: string;
|
|
1206
|
+
parenttype?: string;
|
|
1207
1207
|
tax_category?: string;
|
|
1208
1208
|
company?: string;
|
|
1209
|
-
naming_series?: string;
|
|
1210
|
-
grand_total?: number;
|
|
1211
|
-
amended_from?: string;
|
|
1212
1209
|
customer_name?: string;
|
|
1213
1210
|
customer_group?: string;
|
|
1211
|
+
naming_series?: string;
|
|
1214
1212
|
territory?: string;
|
|
1215
1213
|
is_internal_customer?: number;
|
|
1216
1214
|
language?: string;
|
|
@@ -1219,6 +1217,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1219
1217
|
cost_center?: string;
|
|
1220
1218
|
project?: string;
|
|
1221
1219
|
title?: string;
|
|
1220
|
+
amended_from?: string;
|
|
1222
1221
|
posting_date?: string;
|
|
1223
1222
|
posting_time?: string;
|
|
1224
1223
|
set_posting_time?: number;
|
|
@@ -1268,6 +1267,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1268
1267
|
base_rounding_adjustment?: number;
|
|
1269
1268
|
base_rounded_total?: number;
|
|
1270
1269
|
base_in_words?: string;
|
|
1270
|
+
grand_total?: number;
|
|
1271
1271
|
rounding_adjustment?: number;
|
|
1272
1272
|
rounded_total?: number;
|
|
1273
1273
|
in_words?: string;
|
|
@@ -1488,34 +1488,28 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1488
1488
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1489
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1490
1490
|
name?: string;
|
|
1491
|
-
owner?: string;
|
|
1492
1491
|
creation?: string;
|
|
1493
1492
|
modified?: string;
|
|
1494
1493
|
modified_by?: string;
|
|
1495
|
-
parent?: string;
|
|
1496
|
-
parentfield?: string;
|
|
1497
|
-
parenttype?: string;
|
|
1498
1494
|
idx?: number;
|
|
1499
1495
|
docstatus?: number;
|
|
1500
1496
|
doctype?: string;
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1497
|
+
owner?: string;
|
|
1498
|
+
parent?: string;
|
|
1499
|
+
parentfield?: string;
|
|
1500
|
+
parenttype?: string;
|
|
1501
|
+
image?: string;
|
|
1504
1502
|
item_code?: string;
|
|
1503
|
+
qty?: number;
|
|
1504
|
+
barcode?: string;
|
|
1505
1505
|
item_name?: string;
|
|
1506
|
-
|
|
1507
|
-
stock_uom?: string;
|
|
1506
|
+
customer_item_code?: string;
|
|
1508
1507
|
description?: string;
|
|
1509
|
-
weight_per_unit?: number;
|
|
1510
|
-
weight_uom?: string;
|
|
1511
|
-
grant_commission?: number;
|
|
1512
|
-
warehouse?: string;
|
|
1513
1508
|
brand?: string;
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
customer_item_code?: string;
|
|
1509
|
+
item_group?: string;
|
|
1510
|
+
stock_uom?: string;
|
|
1511
|
+
uom?: string;
|
|
1512
|
+
conversion_factor?: number;
|
|
1519
1513
|
stock_qty?: number;
|
|
1520
1514
|
returned_qty?: number;
|
|
1521
1515
|
price_list_rate?: number;
|
|
@@ -1533,6 +1527,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1533
1527
|
pricing_rules?: string;
|
|
1534
1528
|
stock_uom_rate?: number;
|
|
1535
1529
|
is_free_item?: number;
|
|
1530
|
+
grant_commission?: number;
|
|
1536
1531
|
net_rate?: number;
|
|
1537
1532
|
net_amount?: number;
|
|
1538
1533
|
item_tax_template?: string;
|
|
@@ -1540,7 +1535,10 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1540
1535
|
base_net_amount?: number;
|
|
1541
1536
|
billed_amt?: number;
|
|
1542
1537
|
incoming_rate?: number;
|
|
1538
|
+
weight_per_unit?: number;
|
|
1543
1539
|
total_weight?: number;
|
|
1540
|
+
weight_uom?: string;
|
|
1541
|
+
warehouse?: string;
|
|
1544
1542
|
target_warehouse?: string;
|
|
1545
1543
|
quality_inspection?: string;
|
|
1546
1544
|
against_sales_order?: string;
|
|
@@ -1552,6 +1550,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1552
1550
|
batch_no?: string;
|
|
1553
1551
|
serial_no?: string;
|
|
1554
1552
|
actual_batch_qty?: number;
|
|
1553
|
+
actual_qty?: number;
|
|
1555
1554
|
installed_qty?: number;
|
|
1556
1555
|
item_tax_rate?: string;
|
|
1557
1556
|
expense_account?: string;
|
|
@@ -1560,36 +1559,31 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1560
1559
|
project?: string;
|
|
1561
1560
|
order_item_id?: string;
|
|
1562
1561
|
page_break?: number;
|
|
1562
|
+
__unsaved?: number;
|
|
1563
1563
|
}, {
|
|
1564
1564
|
name?: string;
|
|
1565
|
-
owner?: string;
|
|
1566
1565
|
creation?: string;
|
|
1567
1566
|
modified?: string;
|
|
1568
1567
|
modified_by?: string;
|
|
1569
|
-
parent?: string;
|
|
1570
|
-
parentfield?: string;
|
|
1571
|
-
parenttype?: string;
|
|
1572
1568
|
idx?: number;
|
|
1573
1569
|
docstatus?: number;
|
|
1574
1570
|
doctype?: string;
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1571
|
+
owner?: string;
|
|
1572
|
+
parent?: string;
|
|
1573
|
+
parentfield?: string;
|
|
1574
|
+
parenttype?: string;
|
|
1575
|
+
image?: string;
|
|
1578
1576
|
item_code?: string;
|
|
1577
|
+
qty?: number;
|
|
1578
|
+
barcode?: string;
|
|
1579
1579
|
item_name?: string;
|
|
1580
|
-
|
|
1581
|
-
stock_uom?: string;
|
|
1580
|
+
customer_item_code?: string;
|
|
1582
1581
|
description?: string;
|
|
1583
|
-
weight_per_unit?: number;
|
|
1584
|
-
weight_uom?: string;
|
|
1585
|
-
grant_commission?: number;
|
|
1586
|
-
warehouse?: string;
|
|
1587
1582
|
brand?: string;
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
customer_item_code?: string;
|
|
1583
|
+
item_group?: string;
|
|
1584
|
+
stock_uom?: string;
|
|
1585
|
+
uom?: string;
|
|
1586
|
+
conversion_factor?: number;
|
|
1593
1587
|
stock_qty?: number;
|
|
1594
1588
|
returned_qty?: number;
|
|
1595
1589
|
price_list_rate?: number;
|
|
@@ -1607,6 +1601,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1607
1601
|
pricing_rules?: string;
|
|
1608
1602
|
stock_uom_rate?: number;
|
|
1609
1603
|
is_free_item?: number;
|
|
1604
|
+
grant_commission?: number;
|
|
1610
1605
|
net_rate?: number;
|
|
1611
1606
|
net_amount?: number;
|
|
1612
1607
|
item_tax_template?: string;
|
|
@@ -1614,7 +1609,10 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1614
1609
|
base_net_amount?: number;
|
|
1615
1610
|
billed_amt?: number;
|
|
1616
1611
|
incoming_rate?: number;
|
|
1612
|
+
weight_per_unit?: number;
|
|
1617
1613
|
total_weight?: number;
|
|
1614
|
+
weight_uom?: string;
|
|
1615
|
+
warehouse?: string;
|
|
1618
1616
|
target_warehouse?: string;
|
|
1619
1617
|
quality_inspection?: string;
|
|
1620
1618
|
against_sales_order?: string;
|
|
@@ -1626,6 +1624,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1626
1624
|
batch_no?: string;
|
|
1627
1625
|
serial_no?: string;
|
|
1628
1626
|
actual_batch_qty?: number;
|
|
1627
|
+
actual_qty?: number;
|
|
1629
1628
|
installed_qty?: number;
|
|
1630
1629
|
item_tax_rate?: string;
|
|
1631
1630
|
expense_account?: string;
|
|
@@ -1634,13 +1633,14 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1634
1633
|
project?: string;
|
|
1635
1634
|
order_item_id?: string;
|
|
1636
1635
|
page_break?: number;
|
|
1636
|
+
__unsaved?: number;
|
|
1637
1637
|
}>, "many">;
|
|
1638
1638
|
pricing_rules: z.ZodArray<z.ZodString, "many">;
|
|
1639
1639
|
packed_items: z.ZodArray<z.ZodString, "many">;
|
|
1640
1640
|
taxes: z.ZodArray<z.ZodString, "many">;
|
|
1641
1641
|
sales_team: z.ZodArray<z.ZodString, "many">;
|
|
1642
1642
|
dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1643
|
-
}, "
|
|
1643
|
+
}, "sales_team" | "items" | "pricing_rules" | "packed_items" | "taxes">, "name">, "strip", z.ZodTypeAny, {
|
|
1644
1644
|
name?: string;
|
|
1645
1645
|
}, {
|
|
1646
1646
|
name?: string;
|