erpnext-queue-client 1.34.10 → 1.35.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.
- package/dist/erpnext/doctypes/deliveryNote.d.ts +8 -1
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +1 -2
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +3 -3
- package/dist/erpnext/model/DeliveryNote.d.ts +13 -3
- package/dist/erpnext/model/DeliveryNote.js +3 -1
- package/package.json +1 -1
|
@@ -151,6 +151,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
151
151
|
parent?: string | null | undefined;
|
|
152
152
|
parentfield?: string | null | undefined;
|
|
153
153
|
parenttype?: string | null | undefined;
|
|
154
|
+
custom_order_number?: string | null | undefined;
|
|
154
155
|
set_warehouse?: string | null | undefined;
|
|
155
156
|
dispatch_run?: string | null | undefined;
|
|
156
157
|
cost_center?: string | null | undefined;
|
|
@@ -346,6 +347,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
346
347
|
parent?: string | null | undefined;
|
|
347
348
|
parentfield?: string | null | undefined;
|
|
348
349
|
parenttype?: string | null | undefined;
|
|
350
|
+
custom_order_number?: string | null | undefined;
|
|
349
351
|
set_warehouse?: string | null | undefined;
|
|
350
352
|
dispatch_run?: string | null | undefined;
|
|
351
353
|
cost_center?: string | null | undefined;
|
|
@@ -392,7 +394,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
392
394
|
auto_repeat?: string | null | undefined;
|
|
393
395
|
sales_partner?: string | null | undefined;
|
|
394
396
|
}>;
|
|
395
|
-
getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "order_number" | "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" | "set_warehouse" | "dispatch_run" | "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_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"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
397
|
+
getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "order_number" | "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" | "custom_order_number" | "set_warehouse" | "dispatch_run" | "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_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"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
396
398
|
fields?: TField[] | undefined;
|
|
397
399
|
filters?: (string | string[])[][];
|
|
398
400
|
skip?: number;
|
|
@@ -545,6 +547,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
545
547
|
parent?: string | null | undefined;
|
|
546
548
|
parentfield?: string | null | undefined;
|
|
547
549
|
parenttype?: string | null | undefined;
|
|
550
|
+
custom_order_number?: string | null | undefined;
|
|
548
551
|
set_warehouse?: string | null | undefined;
|
|
549
552
|
dispatch_run?: string | null | undefined;
|
|
550
553
|
cost_center?: string | null | undefined;
|
|
@@ -739,6 +742,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
739
742
|
parent?: string | null | undefined;
|
|
740
743
|
parentfield?: string | null | undefined;
|
|
741
744
|
parenttype?: string | null | undefined;
|
|
745
|
+
custom_order_number?: string | null | undefined;
|
|
742
746
|
set_warehouse?: string | null | undefined;
|
|
743
747
|
dispatch_run?: string | null | undefined;
|
|
744
748
|
cost_center?: string | null | undefined;
|
|
@@ -930,6 +934,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
930
934
|
parent?: string | null | undefined;
|
|
931
935
|
parentfield?: string | null | undefined;
|
|
932
936
|
parenttype?: string | null | undefined;
|
|
937
|
+
custom_order_number?: string | null | undefined;
|
|
933
938
|
set_warehouse?: string | null | undefined;
|
|
934
939
|
dispatch_run?: string | null | undefined;
|
|
935
940
|
cost_center?: string | null | undefined;
|
|
@@ -1125,6 +1130,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
1125
1130
|
parent?: string | null | undefined;
|
|
1126
1131
|
parentfield?: string | null | undefined;
|
|
1127
1132
|
parenttype?: string | null | undefined;
|
|
1133
|
+
custom_order_number?: string | null | undefined;
|
|
1128
1134
|
set_warehouse?: string | null | undefined;
|
|
1129
1135
|
dispatch_run?: string | null | undefined;
|
|
1130
1136
|
cost_center?: string | null | undefined;
|
|
@@ -1322,6 +1328,7 @@ export declare class ERPNextDeliveryNote {
|
|
|
1322
1328
|
parent?: string | null | undefined;
|
|
1323
1329
|
parentfield?: string | null | undefined;
|
|
1324
1330
|
parenttype?: string | null | undefined;
|
|
1331
|
+
custom_order_number?: string | null | undefined;
|
|
1325
1332
|
set_warehouse?: string | null | undefined;
|
|
1326
1333
|
dispatch_run?: string | null | undefined;
|
|
1327
1334
|
cost_center?: string | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
declare const ConsolidatedCustomsInvoiceItem: z.ZodObject<{
|
|
2
|
+
export declare const ConsolidatedCustomsInvoiceItem: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
owner: z.ZodString;
|
|
5
5
|
creation: z.ZodString;
|
|
@@ -431,4 +431,3 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
|
|
|
431
431
|
exporter_contact_email?: string | null | undefined;
|
|
432
432
|
}>;
|
|
433
433
|
export type ConsolidatedCustomsInvoiceType = z.infer<typeof ConsolidatedCustomsInvoice>;
|
|
434
|
-
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConsolidatedCustomsInvoice = exports.ConsolidatedCustomsInvoiceExportApprovalStatus = void 0;
|
|
3
|
+
exports.ConsolidatedCustomsInvoice = exports.ConsolidatedCustomsInvoiceExportApprovalStatus = exports.ConsolidatedCustomsInvoiceItem = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
// Child table: Consolidated Customs Invoice Item
|
|
6
|
-
|
|
6
|
+
exports.ConsolidatedCustomsInvoiceItem = zod_1.z
|
|
7
7
|
.object({
|
|
8
8
|
name: zod_1.z.string(),
|
|
9
9
|
owner: zod_1.z.string(),
|
|
@@ -97,6 +97,6 @@ exports.ConsolidatedCustomsInvoice = zod_1.z
|
|
|
97
97
|
exporter_contact_phone: zod_1.z.string().optional().nullable(),
|
|
98
98
|
exporter_contact_email: zod_1.z.string().optional().nullable(),
|
|
99
99
|
doctype: zod_1.z.string(),
|
|
100
|
-
items: zod_1.z.array(ConsolidatedCustomsInvoiceItem),
|
|
100
|
+
items: zod_1.z.array(exports.ConsolidatedCustomsInvoiceItem),
|
|
101
101
|
})
|
|
102
102
|
.describe("Consolidated Customs Invoice");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const DeliveryNotePostBody: z.ZodObject<{
|
|
3
|
-
order_number: z.ZodString
|
|
3
|
+
order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4
|
+
custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4
5
|
customer: z.ZodString;
|
|
5
6
|
shippingAddressName: z.ZodString;
|
|
6
7
|
set_warehouse: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -24,7 +25,6 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
|
|
|
24
25
|
docstatus: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
25
26
|
}, "strip", z.ZodTypeAny, {
|
|
26
27
|
docstatus: number;
|
|
27
|
-
order_number: string;
|
|
28
28
|
customer: string;
|
|
29
29
|
shippingAddressName: string;
|
|
30
30
|
items: {
|
|
@@ -33,10 +33,11 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
|
|
|
33
33
|
rate?: number | null | undefined;
|
|
34
34
|
amount?: number | null | undefined;
|
|
35
35
|
}[];
|
|
36
|
+
order_number?: string | null | undefined;
|
|
37
|
+
custom_order_number?: string | null | undefined;
|
|
36
38
|
set_warehouse?: string | null | undefined;
|
|
37
39
|
dispatch_run?: string | null | undefined;
|
|
38
40
|
}, {
|
|
39
|
-
order_number: string;
|
|
40
41
|
customer: string;
|
|
41
42
|
shippingAddressName: string;
|
|
42
43
|
items: {
|
|
@@ -46,6 +47,8 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
|
|
|
46
47
|
amount?: number | null | undefined;
|
|
47
48
|
}[];
|
|
48
49
|
docstatus?: number | undefined;
|
|
50
|
+
order_number?: string | null | undefined;
|
|
51
|
+
custom_order_number?: string | null | undefined;
|
|
49
52
|
set_warehouse?: string | null | undefined;
|
|
50
53
|
dispatch_run?: string | null | undefined;
|
|
51
54
|
}>;
|
|
@@ -64,6 +67,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
64
67
|
title: z.ZodString;
|
|
65
68
|
naming_series: z.ZodString;
|
|
66
69
|
order_number: z.ZodString;
|
|
70
|
+
custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
67
71
|
customer: z.ZodString;
|
|
68
72
|
customer_name: z.ZodString;
|
|
69
73
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -533,6 +537,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
533
537
|
parent?: string | null | undefined;
|
|
534
538
|
parentfield?: string | null | undefined;
|
|
535
539
|
parenttype?: string | null | undefined;
|
|
540
|
+
custom_order_number?: string | null | undefined;
|
|
536
541
|
set_warehouse?: string | null | undefined;
|
|
537
542
|
dispatch_run?: string | null | undefined;
|
|
538
543
|
cost_center?: string | null | undefined;
|
|
@@ -723,6 +728,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
723
728
|
parent?: string | null | undefined;
|
|
724
729
|
parentfield?: string | null | undefined;
|
|
725
730
|
parenttype?: string | null | undefined;
|
|
731
|
+
custom_order_number?: string | null | undefined;
|
|
726
732
|
set_warehouse?: string | null | undefined;
|
|
727
733
|
dispatch_run?: string | null | undefined;
|
|
728
734
|
cost_center?: string | null | undefined;
|
|
@@ -783,6 +789,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
783
789
|
title: z.ZodString;
|
|
784
790
|
naming_series: z.ZodString;
|
|
785
791
|
order_number: z.ZodString;
|
|
792
|
+
custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
786
793
|
customer: z.ZodString;
|
|
787
794
|
customer_name: z.ZodString;
|
|
788
795
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1173,6 +1180,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1173
1180
|
parent?: string | null | undefined;
|
|
1174
1181
|
parentfield?: string | null | undefined;
|
|
1175
1182
|
parenttype?: string | null | undefined;
|
|
1183
|
+
custom_order_number?: string | null | undefined;
|
|
1176
1184
|
set_warehouse?: string | null | undefined;
|
|
1177
1185
|
dispatch_run?: string | null | undefined;
|
|
1178
1186
|
cost_center?: string | null | undefined;
|
|
@@ -1284,6 +1292,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
|
|
|
1284
1292
|
parent?: string | null | undefined;
|
|
1285
1293
|
parentfield?: string | null | undefined;
|
|
1286
1294
|
parenttype?: string | null | undefined;
|
|
1295
|
+
custom_order_number?: string | null | undefined;
|
|
1287
1296
|
set_warehouse?: string | null | undefined;
|
|
1288
1297
|
dispatch_run?: string | null | undefined;
|
|
1289
1298
|
cost_center?: string | null | undefined;
|
|
@@ -1345,6 +1354,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
|
|
|
1345
1354
|
title: z.ZodString;
|
|
1346
1355
|
naming_series: z.ZodString;
|
|
1347
1356
|
order_number: z.ZodString;
|
|
1357
|
+
custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1348
1358
|
customer: z.ZodString;
|
|
1349
1359
|
customer_name: z.ZodString;
|
|
1350
1360
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -4,7 +4,8 @@ exports.DeliveryNoteNameList = exports.DeliveryNoteListItem = exports.DeliveryNo
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.DeliveryNotePostBody = zod_1.z
|
|
6
6
|
.object({
|
|
7
|
-
order_number: zod_1.z.string(),
|
|
7
|
+
order_number: zod_1.z.string().optional().nullable(),
|
|
8
|
+
custom_order_number: zod_1.z.string().optional().nullable(),
|
|
8
9
|
customer: zod_1.z.string(),
|
|
9
10
|
shippingAddressName: zod_1.z.string(),
|
|
10
11
|
set_warehouse: zod_1.z.string().optional().nullable(),
|
|
@@ -110,6 +111,7 @@ exports.DeliveryNote = zod_1.z
|
|
|
110
111
|
title: zod_1.z.string(),
|
|
111
112
|
naming_series: zod_1.z.string(),
|
|
112
113
|
order_number: zod_1.z.string(),
|
|
114
|
+
custom_order_number: zod_1.z.string().optional().nullable(),
|
|
113
115
|
customer: zod_1.z.string(),
|
|
114
116
|
customer_name: zod_1.z.string(),
|
|
115
117
|
amended_from: zod_1.z.string().optional().nullable(),
|