erpnext-queue-client 2.1.7 → 2.1.8
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.
|
@@ -668,7 +668,6 @@ export declare class ERPNextSalesInvoice {
|
|
|
668
668
|
selling_price_list: string;
|
|
669
669
|
items: {
|
|
670
670
|
item_code: string;
|
|
671
|
-
item_name: string;
|
|
672
671
|
qty: number;
|
|
673
672
|
uom: string;
|
|
674
673
|
rate: number;
|
|
@@ -676,6 +675,7 @@ export declare class ERPNextSalesInvoice {
|
|
|
676
675
|
brand?: string | null | undefined;
|
|
677
676
|
image?: string | null | undefined;
|
|
678
677
|
barcode?: string | null | undefined;
|
|
678
|
+
item_name?: string | undefined;
|
|
679
679
|
customer_item_code?: string | null | undefined;
|
|
680
680
|
item_group?: string | null | undefined;
|
|
681
681
|
stock_uom?: string | null | undefined;
|
|
@@ -1197,7 +1197,6 @@ export declare class ERPNextSalesInvoice {
|
|
|
1197
1197
|
selling_price_list: string;
|
|
1198
1198
|
items: {
|
|
1199
1199
|
item_code: string;
|
|
1200
|
-
item_name: string;
|
|
1201
1200
|
qty: number;
|
|
1202
1201
|
uom: string;
|
|
1203
1202
|
rate: number;
|
|
@@ -1205,6 +1204,7 @@ export declare class ERPNextSalesInvoice {
|
|
|
1205
1204
|
brand?: string | null | undefined;
|
|
1206
1205
|
image?: string | null | undefined;
|
|
1207
1206
|
barcode?: string | null | undefined;
|
|
1207
|
+
item_name?: string | undefined;
|
|
1208
1208
|
customer_item_code?: string | null | undefined;
|
|
1209
1209
|
item_group?: string | null | undefined;
|
|
1210
1210
|
stock_uom?: string | null | undefined;
|
|
@@ -6,7 +6,9 @@ export declare const SalesInvoiceItem: z.ZodObject<{
|
|
|
6
6
|
};
|
|
7
7
|
item_code: z.ZodString;
|
|
8
8
|
customer_item_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
-
item_name: z.ZodString
|
|
9
|
+
item_name: z.ZodString & {
|
|
10
|
+
__optionalForInput: true;
|
|
11
|
+
};
|
|
10
12
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
13
|
image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
14
|
item_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -362,7 +364,9 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
362
364
|
};
|
|
363
365
|
item_code: z.ZodString;
|
|
364
366
|
customer_item_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
365
|
-
item_name: z.ZodString
|
|
367
|
+
item_name: z.ZodString & {
|
|
368
|
+
__optionalForInput: true;
|
|
369
|
+
};
|
|
366
370
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
367
371
|
image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
368
372
|
item_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1405,7 +1409,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1405
1409
|
};
|
|
1406
1410
|
item_code: z.ZodString;
|
|
1407
1411
|
customer_item_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1408
|
-
item_name: z.ZodString
|
|
1412
|
+
item_name: z.ZodString & {
|
|
1413
|
+
__optionalForInput: true;
|
|
1414
|
+
};
|
|
1409
1415
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1410
1416
|
image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1411
1417
|
item_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -14,7 +14,7 @@ exports.SalesInvoiceItem = zod_1.z
|
|
|
14
14
|
has_item_scanned: Boolean_1.ERPNextBoolean,
|
|
15
15
|
item_code: zod_1.z.string().min(1, "Item Code is required"),
|
|
16
16
|
customer_item_code: zod_1.z.string().optional().nullable(),
|
|
17
|
-
item_name: zod_1.z.string()
|
|
17
|
+
item_name: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
18
18
|
description: zod_1.z.string().optional().nullable(),
|
|
19
19
|
image: zod_1.z.string().optional().nullable(),
|
|
20
20
|
item_group: zod_1.z.string().optional().nullable(),
|