erpnext-queue-client 2.5.24 → 2.6.0
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.
|
@@ -7,8 +7,90 @@ export declare class ERPNextConsolidatedCustomsInvoice extends ERPNextDoctypeSub
|
|
|
7
7
|
constructor(temporalClient: TemporalClient);
|
|
8
8
|
/** Create a consolidated customs invoice from the given shipment names. */
|
|
9
9
|
createFromShipments({ shipments, }: ConsolidatedCustomsInvoiceCreateMethodInputType): Promise<{
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
doc: {
|
|
11
|
+
name: string;
|
|
12
|
+
docstatus: number;
|
|
13
|
+
owner: string;
|
|
14
|
+
creation: string;
|
|
15
|
+
modified: string;
|
|
16
|
+
modified_by: string;
|
|
17
|
+
idx: number;
|
|
18
|
+
doctype: string;
|
|
19
|
+
posting_date: string;
|
|
20
|
+
set_posting_time: boolean;
|
|
21
|
+
export_approval_status: "" | "Waiting for Approval" | "Approved" | "Declined";
|
|
22
|
+
currency: string;
|
|
23
|
+
conversion_rate: number;
|
|
24
|
+
total_qty: number;
|
|
25
|
+
total_net_weight: number;
|
|
26
|
+
base_total: number;
|
|
27
|
+
base_net_total: number;
|
|
28
|
+
total: number;
|
|
29
|
+
net_total: number;
|
|
30
|
+
dispatch_address_name: string;
|
|
31
|
+
importer_address: string;
|
|
32
|
+
importer_contact: string;
|
|
33
|
+
exporter_address: string;
|
|
34
|
+
exporter_contact: string;
|
|
35
|
+
items: {
|
|
36
|
+
name: string;
|
|
37
|
+
docstatus: number;
|
|
38
|
+
owner: string;
|
|
39
|
+
creation: string;
|
|
40
|
+
modified: string;
|
|
41
|
+
modified_by: string;
|
|
42
|
+
idx: number;
|
|
43
|
+
doctype: string;
|
|
44
|
+
parent: string;
|
|
45
|
+
parenttype: string;
|
|
46
|
+
parentfield: string;
|
|
47
|
+
item_code: string;
|
|
48
|
+
qty: number;
|
|
49
|
+
rate: number;
|
|
50
|
+
delivered_by_supplier: 0 | 1;
|
|
51
|
+
weight_per_unit: number;
|
|
52
|
+
total_weight: number;
|
|
53
|
+
weight_uom: string;
|
|
54
|
+
description?: string | null | undefined;
|
|
55
|
+
_user_tags?: string | null | undefined;
|
|
56
|
+
item_name?: string | null | undefined;
|
|
57
|
+
item_tax_template?: string | null | undefined;
|
|
58
|
+
amount?: number | null | undefined;
|
|
59
|
+
base_rate?: number | null | undefined;
|
|
60
|
+
base_amount?: number | null | undefined;
|
|
61
|
+
net_rate?: number | null | undefined;
|
|
62
|
+
net_amount?: number | null | undefined;
|
|
63
|
+
base_net_rate?: number | null | undefined;
|
|
64
|
+
base_net_amount?: number | null | undefined;
|
|
65
|
+
shipping_cost?: number | null | undefined;
|
|
66
|
+
base_shipping_cost?: number | null | undefined;
|
|
67
|
+
sales_order?: string | null | undefined;
|
|
68
|
+
so_detail?: string | null | undefined;
|
|
69
|
+
sales_invoice?: string | null | undefined;
|
|
70
|
+
sales_invoice_item?: string | null | undefined;
|
|
71
|
+
customer?: string | null | undefined;
|
|
72
|
+
shipment?: string | null | undefined;
|
|
73
|
+
delivery_note?: string | null | undefined;
|
|
74
|
+
dn_detail?: string | null | undefined;
|
|
75
|
+
customs_tariff_number?: string | null | undefined;
|
|
76
|
+
country_of_origin?: string | null | undefined;
|
|
77
|
+
}[];
|
|
78
|
+
amended_from?: string | null | undefined;
|
|
79
|
+
_user_tags?: string | null | undefined;
|
|
80
|
+
company?: string | null | undefined;
|
|
81
|
+
naming_series?: string | null | undefined;
|
|
82
|
+
posting_time?: string | null | undefined;
|
|
83
|
+
company_tax_id?: string | null | undefined;
|
|
84
|
+
mrn?: string | null | undefined;
|
|
85
|
+
abd?: string | null | undefined;
|
|
86
|
+
dispatch_address?: string | null | undefined;
|
|
87
|
+
importer_address_display?: string | null | undefined;
|
|
88
|
+
importer_contact_phone?: string | null | undefined;
|
|
89
|
+
importer_contact_email?: string | null | undefined;
|
|
90
|
+
exporter_address_display?: string | null | undefined;
|
|
91
|
+
exporter_contact_phone?: string | null | undefined;
|
|
92
|
+
exporter_contact_email?: string | null | undefined;
|
|
93
|
+
};
|
|
12
94
|
importer_info: {
|
|
13
95
|
address_line1: string;
|
|
14
96
|
pincode: string;
|
|
@@ -368,8 +368,269 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodInput: z.ZodObject<{
|
|
|
368
368
|
}>;
|
|
369
369
|
export type ConsolidatedCustomsInvoiceCreateMethodInputType = z.infer<typeof ConsolidatedCustomsInvoiceCreateMethodInput>;
|
|
370
370
|
export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.ZodObject<{
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
doc: import("./DocTypeHelpers").SubmittableDocModelType<z.ZodObject<{
|
|
372
|
+
posting_date: z.ZodString;
|
|
373
|
+
posting_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
374
|
+
set_posting_time: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
375
|
+
naming_series: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
376
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
377
|
+
company_tax_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
378
|
+
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
379
|
+
export_approval_status: z.ZodEnum<["", "Waiting for Approval", "Approved", "Declined"]> & {
|
|
380
|
+
__optionalForInput: true;
|
|
381
|
+
};
|
|
382
|
+
mrn: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
383
|
+
abd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
384
|
+
currency: z.ZodString;
|
|
385
|
+
conversion_rate: z.ZodNumber;
|
|
386
|
+
total_qty: z.ZodNumber & {
|
|
387
|
+
__optionalForInput: true;
|
|
388
|
+
};
|
|
389
|
+
total_net_weight: z.ZodNumber & {
|
|
390
|
+
__optionalForInput: true;
|
|
391
|
+
};
|
|
392
|
+
base_total: z.ZodNumber & {
|
|
393
|
+
__optionalForInput: true;
|
|
394
|
+
};
|
|
395
|
+
base_net_total: z.ZodNumber & {
|
|
396
|
+
__optionalForInput: true;
|
|
397
|
+
};
|
|
398
|
+
total: z.ZodNumber & {
|
|
399
|
+
__optionalForInput: true;
|
|
400
|
+
};
|
|
401
|
+
net_total: z.ZodNumber & {
|
|
402
|
+
__optionalForInput: true;
|
|
403
|
+
};
|
|
404
|
+
dispatch_address_name: z.ZodString;
|
|
405
|
+
dispatch_address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
406
|
+
importer_address: z.ZodString;
|
|
407
|
+
importer_address_display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
408
|
+
importer_contact: z.ZodString;
|
|
409
|
+
importer_contact_phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
410
|
+
importer_contact_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
411
|
+
exporter_address: z.ZodString;
|
|
412
|
+
exporter_address_display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
413
|
+
exporter_contact: z.ZodString;
|
|
414
|
+
exporter_contact_phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
415
|
+
exporter_contact_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
416
|
+
items: z.ZodArray<z.ZodObject<{
|
|
417
|
+
item_code: z.ZodString;
|
|
418
|
+
item_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
419
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
420
|
+
qty: z.ZodNumber;
|
|
421
|
+
item_tax_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
422
|
+
rate: z.ZodNumber;
|
|
423
|
+
amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
424
|
+
base_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
425
|
+
base_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
426
|
+
net_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
427
|
+
net_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
428
|
+
base_net_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
429
|
+
base_net_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
430
|
+
shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
431
|
+
base_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
432
|
+
delivered_by_supplier: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
|
|
433
|
+
__optionalForInput: true;
|
|
434
|
+
};
|
|
435
|
+
weight_per_unit: z.ZodNumber;
|
|
436
|
+
total_weight: z.ZodNumber;
|
|
437
|
+
weight_uom: z.ZodString;
|
|
438
|
+
sales_order: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
439
|
+
so_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
440
|
+
sales_invoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
+
sales_invoice_item: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
+
customer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
+
shipment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
+
delivery_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
+
dn_detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
+
customs_tariff_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
|
+
country_of_origin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
+
}, "strip", z.ZodTypeAny, {
|
|
449
|
+
item_code: string;
|
|
450
|
+
qty: number;
|
|
451
|
+
rate: number;
|
|
452
|
+
delivered_by_supplier: 0 | 1;
|
|
453
|
+
weight_per_unit: number;
|
|
454
|
+
total_weight: number;
|
|
455
|
+
weight_uom: string;
|
|
456
|
+
description?: string | null | undefined;
|
|
457
|
+
item_name?: string | null | undefined;
|
|
458
|
+
item_tax_template?: string | null | undefined;
|
|
459
|
+
amount?: number | null | undefined;
|
|
460
|
+
base_rate?: number | null | undefined;
|
|
461
|
+
base_amount?: number | null | undefined;
|
|
462
|
+
net_rate?: number | null | undefined;
|
|
463
|
+
net_amount?: number | null | undefined;
|
|
464
|
+
base_net_rate?: number | null | undefined;
|
|
465
|
+
base_net_amount?: number | null | undefined;
|
|
466
|
+
shipping_cost?: number | null | undefined;
|
|
467
|
+
base_shipping_cost?: number | null | undefined;
|
|
468
|
+
sales_order?: string | null | undefined;
|
|
469
|
+
so_detail?: string | null | undefined;
|
|
470
|
+
sales_invoice?: string | null | undefined;
|
|
471
|
+
sales_invoice_item?: string | null | undefined;
|
|
472
|
+
customer?: string | null | undefined;
|
|
473
|
+
shipment?: string | null | undefined;
|
|
474
|
+
delivery_note?: string | null | undefined;
|
|
475
|
+
dn_detail?: string | null | undefined;
|
|
476
|
+
customs_tariff_number?: string | null | undefined;
|
|
477
|
+
country_of_origin?: string | null | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
item_code: string;
|
|
480
|
+
qty: number;
|
|
481
|
+
rate: number;
|
|
482
|
+
weight_per_unit: number;
|
|
483
|
+
total_weight: number;
|
|
484
|
+
weight_uom: string;
|
|
485
|
+
description?: string | null | undefined;
|
|
486
|
+
item_name?: string | null | undefined;
|
|
487
|
+
item_tax_template?: string | null | undefined;
|
|
488
|
+
amount?: number | null | undefined;
|
|
489
|
+
base_rate?: number | null | undefined;
|
|
490
|
+
base_amount?: number | null | undefined;
|
|
491
|
+
net_rate?: number | null | undefined;
|
|
492
|
+
net_amount?: number | null | undefined;
|
|
493
|
+
base_net_rate?: number | null | undefined;
|
|
494
|
+
base_net_amount?: number | null | undefined;
|
|
495
|
+
shipping_cost?: number | null | undefined;
|
|
496
|
+
base_shipping_cost?: number | null | undefined;
|
|
497
|
+
delivered_by_supplier?: unknown;
|
|
498
|
+
sales_order?: string | null | undefined;
|
|
499
|
+
so_detail?: string | null | undefined;
|
|
500
|
+
sales_invoice?: string | null | undefined;
|
|
501
|
+
sales_invoice_item?: string | null | undefined;
|
|
502
|
+
customer?: string | null | undefined;
|
|
503
|
+
shipment?: string | null | undefined;
|
|
504
|
+
delivery_note?: string | null | undefined;
|
|
505
|
+
dn_detail?: string | null | undefined;
|
|
506
|
+
customs_tariff_number?: string | null | undefined;
|
|
507
|
+
country_of_origin?: string | null | undefined;
|
|
508
|
+
}>, "many">;
|
|
509
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
510
|
+
posting_date: string;
|
|
511
|
+
set_posting_time: boolean;
|
|
512
|
+
export_approval_status: "" | "Waiting for Approval" | "Approved" | "Declined";
|
|
513
|
+
currency: string;
|
|
514
|
+
conversion_rate: number;
|
|
515
|
+
total_qty: number;
|
|
516
|
+
total_net_weight: number;
|
|
517
|
+
base_total: number;
|
|
518
|
+
base_net_total: number;
|
|
519
|
+
total: number;
|
|
520
|
+
net_total: number;
|
|
521
|
+
dispatch_address_name: string;
|
|
522
|
+
importer_address: string;
|
|
523
|
+
importer_contact: string;
|
|
524
|
+
exporter_address: string;
|
|
525
|
+
exporter_contact: string;
|
|
526
|
+
items: {
|
|
527
|
+
item_code: string;
|
|
528
|
+
qty: number;
|
|
529
|
+
rate: number;
|
|
530
|
+
delivered_by_supplier: 0 | 1;
|
|
531
|
+
weight_per_unit: number;
|
|
532
|
+
total_weight: number;
|
|
533
|
+
weight_uom: string;
|
|
534
|
+
description?: string | null | undefined;
|
|
535
|
+
item_name?: string | null | undefined;
|
|
536
|
+
item_tax_template?: string | null | undefined;
|
|
537
|
+
amount?: number | null | undefined;
|
|
538
|
+
base_rate?: number | null | undefined;
|
|
539
|
+
base_amount?: number | null | undefined;
|
|
540
|
+
net_rate?: number | null | undefined;
|
|
541
|
+
net_amount?: number | null | undefined;
|
|
542
|
+
base_net_rate?: number | null | undefined;
|
|
543
|
+
base_net_amount?: number | null | undefined;
|
|
544
|
+
shipping_cost?: number | null | undefined;
|
|
545
|
+
base_shipping_cost?: number | null | undefined;
|
|
546
|
+
sales_order?: string | null | undefined;
|
|
547
|
+
so_detail?: string | null | undefined;
|
|
548
|
+
sales_invoice?: string | null | undefined;
|
|
549
|
+
sales_invoice_item?: string | null | undefined;
|
|
550
|
+
customer?: string | null | undefined;
|
|
551
|
+
shipment?: string | null | undefined;
|
|
552
|
+
delivery_note?: string | null | undefined;
|
|
553
|
+
dn_detail?: string | null | undefined;
|
|
554
|
+
customs_tariff_number?: string | null | undefined;
|
|
555
|
+
country_of_origin?: string | null | undefined;
|
|
556
|
+
}[];
|
|
557
|
+
amended_from?: string | null | undefined;
|
|
558
|
+
company?: string | null | undefined;
|
|
559
|
+
naming_series?: string | null | undefined;
|
|
560
|
+
posting_time?: string | null | undefined;
|
|
561
|
+
company_tax_id?: string | null | undefined;
|
|
562
|
+
mrn?: string | null | undefined;
|
|
563
|
+
abd?: string | null | undefined;
|
|
564
|
+
dispatch_address?: string | null | undefined;
|
|
565
|
+
importer_address_display?: string | null | undefined;
|
|
566
|
+
importer_contact_phone?: string | null | undefined;
|
|
567
|
+
importer_contact_email?: string | null | undefined;
|
|
568
|
+
exporter_address_display?: string | null | undefined;
|
|
569
|
+
exporter_contact_phone?: string | null | undefined;
|
|
570
|
+
exporter_contact_email?: string | null | undefined;
|
|
571
|
+
}, {
|
|
572
|
+
posting_date: string;
|
|
573
|
+
set_posting_time: number;
|
|
574
|
+
export_approval_status: "" | "Waiting for Approval" | "Approved" | "Declined";
|
|
575
|
+
currency: string;
|
|
576
|
+
conversion_rate: number;
|
|
577
|
+
total_qty: number;
|
|
578
|
+
total_net_weight: number;
|
|
579
|
+
base_total: number;
|
|
580
|
+
base_net_total: number;
|
|
581
|
+
total: number;
|
|
582
|
+
net_total: number;
|
|
583
|
+
dispatch_address_name: string;
|
|
584
|
+
importer_address: string;
|
|
585
|
+
importer_contact: string;
|
|
586
|
+
exporter_address: string;
|
|
587
|
+
exporter_contact: string;
|
|
588
|
+
items: {
|
|
589
|
+
item_code: string;
|
|
590
|
+
qty: number;
|
|
591
|
+
rate: number;
|
|
592
|
+
weight_per_unit: number;
|
|
593
|
+
total_weight: number;
|
|
594
|
+
weight_uom: string;
|
|
595
|
+
description?: string | null | undefined;
|
|
596
|
+
item_name?: string | null | undefined;
|
|
597
|
+
item_tax_template?: string | null | undefined;
|
|
598
|
+
amount?: number | null | undefined;
|
|
599
|
+
base_rate?: number | null | undefined;
|
|
600
|
+
base_amount?: number | null | undefined;
|
|
601
|
+
net_rate?: number | null | undefined;
|
|
602
|
+
net_amount?: number | null | undefined;
|
|
603
|
+
base_net_rate?: number | null | undefined;
|
|
604
|
+
base_net_amount?: number | null | undefined;
|
|
605
|
+
shipping_cost?: number | null | undefined;
|
|
606
|
+
base_shipping_cost?: number | null | undefined;
|
|
607
|
+
delivered_by_supplier?: unknown;
|
|
608
|
+
sales_order?: string | null | undefined;
|
|
609
|
+
so_detail?: string | null | undefined;
|
|
610
|
+
sales_invoice?: string | null | undefined;
|
|
611
|
+
sales_invoice_item?: string | null | undefined;
|
|
612
|
+
customer?: string | null | undefined;
|
|
613
|
+
shipment?: string | null | undefined;
|
|
614
|
+
delivery_note?: string | null | undefined;
|
|
615
|
+
dn_detail?: string | null | undefined;
|
|
616
|
+
customs_tariff_number?: string | null | undefined;
|
|
617
|
+
country_of_origin?: string | null | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
amended_from?: string | null | undefined;
|
|
620
|
+
company?: string | null | undefined;
|
|
621
|
+
naming_series?: string | null | undefined;
|
|
622
|
+
posting_time?: string | null | undefined;
|
|
623
|
+
company_tax_id?: string | null | undefined;
|
|
624
|
+
mrn?: string | null | undefined;
|
|
625
|
+
abd?: string | null | undefined;
|
|
626
|
+
dispatch_address?: string | null | undefined;
|
|
627
|
+
importer_address_display?: string | null | undefined;
|
|
628
|
+
importer_contact_phone?: string | null | undefined;
|
|
629
|
+
importer_contact_email?: string | null | undefined;
|
|
630
|
+
exporter_address_display?: string | null | undefined;
|
|
631
|
+
exporter_contact_phone?: string | null | undefined;
|
|
632
|
+
exporter_contact_email?: string | null | undefined;
|
|
633
|
+
}>>;
|
|
373
634
|
importer_info: z.ZodObject<Pick<{
|
|
374
635
|
import_reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
375
636
|
address_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -436,8 +697,90 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.Zod
|
|
|
436
697
|
email_id?: string | null | undefined;
|
|
437
698
|
}>;
|
|
438
699
|
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
|
|
440
|
-
|
|
700
|
+
doc: {
|
|
701
|
+
name: string;
|
|
702
|
+
docstatus: number;
|
|
703
|
+
owner: string;
|
|
704
|
+
creation: string;
|
|
705
|
+
modified: string;
|
|
706
|
+
modified_by: string;
|
|
707
|
+
idx: number;
|
|
708
|
+
doctype: string;
|
|
709
|
+
posting_date: string;
|
|
710
|
+
set_posting_time: boolean;
|
|
711
|
+
export_approval_status: "" | "Waiting for Approval" | "Approved" | "Declined";
|
|
712
|
+
currency: string;
|
|
713
|
+
conversion_rate: number;
|
|
714
|
+
total_qty: number;
|
|
715
|
+
total_net_weight: number;
|
|
716
|
+
base_total: number;
|
|
717
|
+
base_net_total: number;
|
|
718
|
+
total: number;
|
|
719
|
+
net_total: number;
|
|
720
|
+
dispatch_address_name: string;
|
|
721
|
+
importer_address: string;
|
|
722
|
+
importer_contact: string;
|
|
723
|
+
exporter_address: string;
|
|
724
|
+
exporter_contact: string;
|
|
725
|
+
items: {
|
|
726
|
+
name: string;
|
|
727
|
+
docstatus: number;
|
|
728
|
+
owner: string;
|
|
729
|
+
creation: string;
|
|
730
|
+
modified: string;
|
|
731
|
+
modified_by: string;
|
|
732
|
+
idx: number;
|
|
733
|
+
doctype: string;
|
|
734
|
+
parent: string;
|
|
735
|
+
parenttype: string;
|
|
736
|
+
parentfield: string;
|
|
737
|
+
item_code: string;
|
|
738
|
+
qty: number;
|
|
739
|
+
rate: number;
|
|
740
|
+
delivered_by_supplier: 0 | 1;
|
|
741
|
+
weight_per_unit: number;
|
|
742
|
+
total_weight: number;
|
|
743
|
+
weight_uom: string;
|
|
744
|
+
description?: string | null | undefined;
|
|
745
|
+
_user_tags?: string | null | undefined;
|
|
746
|
+
item_name?: string | null | undefined;
|
|
747
|
+
item_tax_template?: string | null | undefined;
|
|
748
|
+
amount?: number | null | undefined;
|
|
749
|
+
base_rate?: number | null | undefined;
|
|
750
|
+
base_amount?: number | null | undefined;
|
|
751
|
+
net_rate?: number | null | undefined;
|
|
752
|
+
net_amount?: number | null | undefined;
|
|
753
|
+
base_net_rate?: number | null | undefined;
|
|
754
|
+
base_net_amount?: number | null | undefined;
|
|
755
|
+
shipping_cost?: number | null | undefined;
|
|
756
|
+
base_shipping_cost?: number | null | undefined;
|
|
757
|
+
sales_order?: string | null | undefined;
|
|
758
|
+
so_detail?: string | null | undefined;
|
|
759
|
+
sales_invoice?: string | null | undefined;
|
|
760
|
+
sales_invoice_item?: string | null | undefined;
|
|
761
|
+
customer?: string | null | undefined;
|
|
762
|
+
shipment?: string | null | undefined;
|
|
763
|
+
delivery_note?: string | null | undefined;
|
|
764
|
+
dn_detail?: string | null | undefined;
|
|
765
|
+
customs_tariff_number?: string | null | undefined;
|
|
766
|
+
country_of_origin?: string | null | undefined;
|
|
767
|
+
}[];
|
|
768
|
+
amended_from?: string | null | undefined;
|
|
769
|
+
_user_tags?: string | null | undefined;
|
|
770
|
+
company?: string | null | undefined;
|
|
771
|
+
naming_series?: string | null | undefined;
|
|
772
|
+
posting_time?: string | null | undefined;
|
|
773
|
+
company_tax_id?: string | null | undefined;
|
|
774
|
+
mrn?: string | null | undefined;
|
|
775
|
+
abd?: string | null | undefined;
|
|
776
|
+
dispatch_address?: string | null | undefined;
|
|
777
|
+
importer_address_display?: string | null | undefined;
|
|
778
|
+
importer_contact_phone?: string | null | undefined;
|
|
779
|
+
importer_contact_email?: string | null | undefined;
|
|
780
|
+
exporter_address_display?: string | null | undefined;
|
|
781
|
+
exporter_contact_phone?: string | null | undefined;
|
|
782
|
+
exporter_contact_email?: string | null | undefined;
|
|
783
|
+
};
|
|
441
784
|
importer_info: {
|
|
442
785
|
address_line1: string;
|
|
443
786
|
pincode: string;
|
|
@@ -451,8 +794,90 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.Zod
|
|
|
451
794
|
email_id?: string | null | undefined;
|
|
452
795
|
};
|
|
453
796
|
}, {
|
|
454
|
-
|
|
455
|
-
|
|
797
|
+
doc: {
|
|
798
|
+
name: string;
|
|
799
|
+
owner: string;
|
|
800
|
+
creation: string;
|
|
801
|
+
modified: string;
|
|
802
|
+
modified_by: string;
|
|
803
|
+
idx: number;
|
|
804
|
+
doctype: string;
|
|
805
|
+
posting_date: string;
|
|
806
|
+
set_posting_time: number;
|
|
807
|
+
export_approval_status: "" | "Waiting for Approval" | "Approved" | "Declined";
|
|
808
|
+
currency: string;
|
|
809
|
+
conversion_rate: number;
|
|
810
|
+
total_qty: number;
|
|
811
|
+
total_net_weight: number;
|
|
812
|
+
base_total: number;
|
|
813
|
+
base_net_total: number;
|
|
814
|
+
total: number;
|
|
815
|
+
net_total: number;
|
|
816
|
+
dispatch_address_name: string;
|
|
817
|
+
importer_address: string;
|
|
818
|
+
importer_contact: string;
|
|
819
|
+
exporter_address: string;
|
|
820
|
+
exporter_contact: string;
|
|
821
|
+
items: {
|
|
822
|
+
name: string;
|
|
823
|
+
owner: string;
|
|
824
|
+
creation: string;
|
|
825
|
+
modified: string;
|
|
826
|
+
modified_by: string;
|
|
827
|
+
idx: number;
|
|
828
|
+
doctype: string;
|
|
829
|
+
parent: string;
|
|
830
|
+
parenttype: string;
|
|
831
|
+
parentfield: string;
|
|
832
|
+
item_code: string;
|
|
833
|
+
qty: number;
|
|
834
|
+
rate: number;
|
|
835
|
+
weight_per_unit: number;
|
|
836
|
+
total_weight: number;
|
|
837
|
+
weight_uom: string;
|
|
838
|
+
description?: string | null | undefined;
|
|
839
|
+
docstatus?: number | undefined;
|
|
840
|
+
_user_tags?: string | null | undefined;
|
|
841
|
+
item_name?: string | null | undefined;
|
|
842
|
+
item_tax_template?: string | null | undefined;
|
|
843
|
+
amount?: number | null | undefined;
|
|
844
|
+
base_rate?: number | null | undefined;
|
|
845
|
+
base_amount?: number | null | undefined;
|
|
846
|
+
net_rate?: number | null | undefined;
|
|
847
|
+
net_amount?: number | null | undefined;
|
|
848
|
+
base_net_rate?: number | null | undefined;
|
|
849
|
+
base_net_amount?: number | null | undefined;
|
|
850
|
+
shipping_cost?: number | null | undefined;
|
|
851
|
+
base_shipping_cost?: number | null | undefined;
|
|
852
|
+
delivered_by_supplier?: unknown;
|
|
853
|
+
sales_order?: string | null | undefined;
|
|
854
|
+
so_detail?: string | null | undefined;
|
|
855
|
+
sales_invoice?: string | null | undefined;
|
|
856
|
+
sales_invoice_item?: string | null | undefined;
|
|
857
|
+
customer?: string | null | undefined;
|
|
858
|
+
shipment?: string | null | undefined;
|
|
859
|
+
delivery_note?: string | null | undefined;
|
|
860
|
+
dn_detail?: string | null | undefined;
|
|
861
|
+
customs_tariff_number?: string | null | undefined;
|
|
862
|
+
country_of_origin?: string | null | undefined;
|
|
863
|
+
}[];
|
|
864
|
+
docstatus?: number | undefined;
|
|
865
|
+
amended_from?: string | null | undefined;
|
|
866
|
+
_user_tags?: string | null | undefined;
|
|
867
|
+
company?: string | null | undefined;
|
|
868
|
+
naming_series?: string | null | undefined;
|
|
869
|
+
posting_time?: string | null | undefined;
|
|
870
|
+
company_tax_id?: string | null | undefined;
|
|
871
|
+
mrn?: string | null | undefined;
|
|
872
|
+
abd?: string | null | undefined;
|
|
873
|
+
dispatch_address?: string | null | undefined;
|
|
874
|
+
importer_address_display?: string | null | undefined;
|
|
875
|
+
importer_contact_phone?: string | null | undefined;
|
|
876
|
+
importer_contact_email?: string | null | undefined;
|
|
877
|
+
exporter_address_display?: string | null | undefined;
|
|
878
|
+
exporter_contact_phone?: string | null | undefined;
|
|
879
|
+
exporter_contact_email?: string | null | undefined;
|
|
880
|
+
};
|
|
456
881
|
importer_info: {
|
|
457
882
|
address_line1: string;
|
|
458
883
|
city: string;
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const Address_1 = require("./Address");
|
|
6
6
|
const zodContextOptionals_1 = require("../../utils/zodContextOptionals");
|
|
7
7
|
const Boolean_1 = require("./Boolean");
|
|
8
|
+
const DocTypeHelpers_1 = require("./DocTypeHelpers");
|
|
8
9
|
// Child table: Consolidated Customs Invoice Item
|
|
9
10
|
exports.ConsolidatedCustomsInvoiceItem = zod_1.z
|
|
10
11
|
.object({
|
|
@@ -93,8 +94,7 @@ exports.ConsolidatedCustomsInvoiceCreateMethodInput = zod_1.z
|
|
|
93
94
|
.describe("ConsolidatedCustomsInvoiceCreateMethodInput");
|
|
94
95
|
exports.ConsolidatedCustomsInvoiceCreateMethodResponseSchema = zod_1.z
|
|
95
96
|
.object({
|
|
96
|
-
|
|
97
|
-
exchange_rate: zod_1.z.number(),
|
|
97
|
+
doc: (0, DocTypeHelpers_1.DocModel)(exports.ConsolidatedCustomsInvoice, true),
|
|
98
98
|
importer_info: Address_1.Address.pick({
|
|
99
99
|
address_title: true,
|
|
100
100
|
address_line1: true,
|
|
@@ -102,9 +102,6 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
|
|
|
102
102
|
prepared_report: boolean;
|
|
103
103
|
message?: string | null | undefined;
|
|
104
104
|
status?: string | null | undefined;
|
|
105
|
-
chart?: any;
|
|
106
|
-
report_summary?: string | null | undefined;
|
|
107
|
-
execution_time?: number | null | undefined;
|
|
108
105
|
doc?: {
|
|
109
106
|
status?: string | null | undefined;
|
|
110
107
|
filters?: string | null | undefined;
|
|
@@ -114,6 +111,9 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
|
|
|
114
111
|
report_start_time?: string | null | undefined;
|
|
115
112
|
report_end_time?: string | null | undefined;
|
|
116
113
|
} | null | undefined;
|
|
114
|
+
chart?: any;
|
|
115
|
+
report_summary?: string | null | undefined;
|
|
116
|
+
execution_time?: number | null | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
result: (z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many"> | RModel)["_input"][] | RModel["_input"][];
|
|
119
119
|
columns: {
|
|
@@ -128,10 +128,6 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
|
|
|
128
128
|
prepared_report: boolean;
|
|
129
129
|
message?: string | null | undefined;
|
|
130
130
|
status?: string | null | undefined;
|
|
131
|
-
chart?: any;
|
|
132
|
-
report_summary?: string | null | undefined;
|
|
133
|
-
skip_total_row?: number | null | undefined;
|
|
134
|
-
execution_time?: number | null | undefined;
|
|
135
131
|
doc?: {
|
|
136
132
|
status?: string | null | undefined;
|
|
137
133
|
filters?: string | null | undefined;
|
|
@@ -141,17 +137,21 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
|
|
|
141
137
|
report_start_time?: string | null | undefined;
|
|
142
138
|
report_end_time?: string | null | undefined;
|
|
143
139
|
} | null | undefined;
|
|
140
|
+
chart?: any;
|
|
141
|
+
report_summary?: string | null | undefined;
|
|
142
|
+
skip_total_row?: number | null | undefined;
|
|
143
|
+
execution_time?: number | null | undefined;
|
|
144
144
|
}>;
|
|
145
145
|
export declare const PendingPreparedReport: z.ZodObject<{
|
|
146
146
|
prepared_report: z.ZodBoolean;
|
|
147
147
|
doc: z.ZodNull;
|
|
148
148
|
add_total_row: z.ZodBoolean;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
doc: null;
|
|
150
151
|
add_total_row: boolean;
|
|
151
152
|
prepared_report: boolean;
|
|
152
|
-
doc: null;
|
|
153
153
|
}, {
|
|
154
|
+
doc: null;
|
|
154
155
|
add_total_row: boolean;
|
|
155
156
|
prepared_report: boolean;
|
|
156
|
-
doc: null;
|
|
157
157
|
}>;
|