erpnext-queue-client 2.5.14 → 2.5.16
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.
|
@@ -101,6 +101,7 @@ export declare class ERPNextShipment extends ERPNextDoctypeSubmittableResourceRe
|
|
|
101
101
|
parenttype: string;
|
|
102
102
|
parentfield: string;
|
|
103
103
|
delivery_note: string;
|
|
104
|
+
custom_order_number: string;
|
|
104
105
|
grand_total: number;
|
|
105
106
|
_user_tags?: string | null | undefined;
|
|
106
107
|
__unsaved?: number | null | undefined;
|
|
@@ -386,7 +386,7 @@ export declare const Item: z.ZodObject<{
|
|
|
386
386
|
taxes: z.ZodArray<z.ZodAny, "many">;
|
|
387
387
|
customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
388
388
|
country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
389
|
-
custom_region_of_origin_de: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["01
|
|
389
|
+
custom_region_of_origin_de: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["01 | Schleswig-Holstein", "02 | Hamburg", "03 | Niedersachsen", "04 | Bremen", "05 | Nordrhein-Westfalen", "06 | Hessen", "07 | Rheinland-Pfalz", "08 | Baden-Württemberg", "09 | Bayern", "10 | Saarland", "11 | Berlin", "12 | Brandenburg", "13 | Mecklenburg-Vorpommern", "14 | Sachsen", "15 | Sachsen-Anhalt", "16 | Thüringen", "99 | Ausländischer Ursprung"]>, z.ZodLiteral<"">]>>>>;
|
|
390
390
|
custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
391
391
|
custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
392
392
|
purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -486,7 +486,7 @@ export declare const Item: z.ZodObject<{
|
|
|
486
486
|
supplier_part_no?: string | null | undefined;
|
|
487
487
|
}[];
|
|
488
488
|
customer_items: any[];
|
|
489
|
-
custom_region_of_origin_de: "" | "01
|
|
489
|
+
custom_region_of_origin_de: "" | "01 | Schleswig-Holstein" | "02 | Hamburg" | "03 | Niedersachsen" | "04 | Bremen" | "05 | Nordrhein-Westfalen" | "06 | Hessen" | "07 | Rheinland-Pfalz" | "08 | Baden-Württemberg" | "09 | Bayern" | "10 | Saarland" | "11 | Berlin" | "12 | Brandenburg" | "13 | Mecklenburg-Vorpommern" | "14 | Sachsen" | "15 | Sachsen-Anhalt" | "16 | Thüringen" | "99 | Ausländischer Ursprung" | null;
|
|
490
490
|
custom_certifications: {
|
|
491
491
|
certification: string;
|
|
492
492
|
}[];
|
|
@@ -625,7 +625,7 @@ export declare const Item: z.ZodObject<{
|
|
|
625
625
|
fsc_status?: string | null | undefined;
|
|
626
626
|
custom_fsc_type_of_wood?: string | null | undefined;
|
|
627
627
|
custom_fsc_product_group?: string | null | undefined;
|
|
628
|
-
custom_region_of_origin_de?: "" | "01
|
|
628
|
+
custom_region_of_origin_de?: "" | "01 | Schleswig-Holstein" | "02 | Hamburg" | "03 | Niedersachsen" | "04 | Bremen" | "05 | Nordrhein-Westfalen" | "06 | Hessen" | "07 | Rheinland-Pfalz" | "08 | Baden-Württemberg" | "09 | Bayern" | "10 | Saarland" | "11 | Berlin" | "12 | Brandenburg" | "13 | Mecklenburg-Vorpommern" | "14 | Sachsen" | "15 | Sachsen-Anhalt" | "16 | Thüringen" | "99 | Ausländischer Ursprung" | null | undefined;
|
|
629
629
|
custom_product_version?: string | null | undefined;
|
|
630
630
|
custom_supplier?: string | null | undefined;
|
|
631
631
|
purchase_description?: string | null | undefined;
|
|
@@ -772,7 +772,7 @@ export declare const ItemDoc: import("./DocTypeHelpers").DocModelType<z.ZodObjec
|
|
|
772
772
|
taxes: z.ZodArray<z.ZodAny, "many">;
|
|
773
773
|
customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
774
774
|
country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
775
|
-
custom_region_of_origin_de: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["01
|
|
775
|
+
custom_region_of_origin_de: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["01 | Schleswig-Holstein", "02 | Hamburg", "03 | Niedersachsen", "04 | Bremen", "05 | Nordrhein-Westfalen", "06 | Hessen", "07 | Rheinland-Pfalz", "08 | Baden-Württemberg", "09 | Bayern", "10 | Saarland", "11 | Berlin", "12 | Brandenburg", "13 | Mecklenburg-Vorpommern", "14 | Sachsen", "15 | Sachsen-Anhalt", "16 | Thüringen", "99 | Ausländischer Ursprung"]>, z.ZodLiteral<"">]>>>>;
|
|
776
776
|
custom_product_version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
777
777
|
custom_supplier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
778
778
|
purchase_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -872,7 +872,7 @@ export declare const ItemDoc: import("./DocTypeHelpers").DocModelType<z.ZodObjec
|
|
|
872
872
|
supplier_part_no?: string | null | undefined;
|
|
873
873
|
}[];
|
|
874
874
|
customer_items: any[];
|
|
875
|
-
custom_region_of_origin_de: "" | "01
|
|
875
|
+
custom_region_of_origin_de: "" | "01 | Schleswig-Holstein" | "02 | Hamburg" | "03 | Niedersachsen" | "04 | Bremen" | "05 | Nordrhein-Westfalen" | "06 | Hessen" | "07 | Rheinland-Pfalz" | "08 | Baden-Württemberg" | "09 | Bayern" | "10 | Saarland" | "11 | Berlin" | "12 | Brandenburg" | "13 | Mecklenburg-Vorpommern" | "14 | Sachsen" | "15 | Sachsen-Anhalt" | "16 | Thüringen" | "99 | Ausländischer Ursprung" | null;
|
|
876
876
|
custom_certifications: {
|
|
877
877
|
certification: string;
|
|
878
878
|
}[];
|
|
@@ -1011,7 +1011,7 @@ export declare const ItemDoc: import("./DocTypeHelpers").DocModelType<z.ZodObjec
|
|
|
1011
1011
|
fsc_status?: string | null | undefined;
|
|
1012
1012
|
custom_fsc_type_of_wood?: string | null | undefined;
|
|
1013
1013
|
custom_fsc_product_group?: string | null | undefined;
|
|
1014
|
-
custom_region_of_origin_de?: "" | "01
|
|
1014
|
+
custom_region_of_origin_de?: "" | "01 | Schleswig-Holstein" | "02 | Hamburg" | "03 | Niedersachsen" | "04 | Bremen" | "05 | Nordrhein-Westfalen" | "06 | Hessen" | "07 | Rheinland-Pfalz" | "08 | Baden-Württemberg" | "09 | Bayern" | "10 | Saarland" | "11 | Berlin" | "12 | Brandenburg" | "13 | Mecklenburg-Vorpommern" | "14 | Sachsen" | "15 | Sachsen-Anhalt" | "16 | Thüringen" | "99 | Ausländischer Ursprung" | null | undefined;
|
|
1015
1015
|
custom_product_version?: string | null | undefined;
|
|
1016
1016
|
custom_supplier?: string | null | undefined;
|
|
1017
1017
|
purchase_description?: string | null | undefined;
|
|
@@ -39,23 +39,23 @@ const SupplierItems = zod_1.z
|
|
|
39
39
|
.describe("Supplier Items");
|
|
40
40
|
const SupplierItemsDoc = (0, DocTypeHelpers_1.CreateChildTableEntrySchema)(SupplierItems);
|
|
41
41
|
const NationalCustomsFieldDe = zod_1.z.enum([
|
|
42
|
-
"01
|
|
43
|
-
"02
|
|
44
|
-
"03
|
|
45
|
-
"04
|
|
46
|
-
"05
|
|
47
|
-
"06
|
|
48
|
-
"07
|
|
49
|
-
"08
|
|
50
|
-
"09
|
|
51
|
-
"10
|
|
52
|
-
"11
|
|
53
|
-
"12
|
|
54
|
-
"13
|
|
55
|
-
"14
|
|
56
|
-
"15
|
|
57
|
-
"16
|
|
58
|
-
"99
|
|
42
|
+
"01 | Schleswig-Holstein",
|
|
43
|
+
"02 | Hamburg",
|
|
44
|
+
"03 | Niedersachsen",
|
|
45
|
+
"04 | Bremen",
|
|
46
|
+
"05 | Nordrhein-Westfalen",
|
|
47
|
+
"06 | Hessen",
|
|
48
|
+
"07 | Rheinland-Pfalz",
|
|
49
|
+
"08 | Baden-Württemberg",
|
|
50
|
+
"09 | Bayern",
|
|
51
|
+
"10 | Saarland",
|
|
52
|
+
"11 | Berlin",
|
|
53
|
+
"12 | Brandenburg",
|
|
54
|
+
"13 | Mecklenburg-Vorpommern",
|
|
55
|
+
"14 | Sachsen",
|
|
56
|
+
"15 | Sachsen-Anhalt",
|
|
57
|
+
"16 | Thüringen",
|
|
58
|
+
"99 | Ausländischer Ursprung",
|
|
59
59
|
]);
|
|
60
60
|
exports.Item = zod_1.z
|
|
61
61
|
.object({
|
|
@@ -189,16 +189,21 @@ export declare const Shipment: z.ZodObject<{
|
|
|
189
189
|
shipment_amount: z.ZodNumber;
|
|
190
190
|
shipment_delivery_note: z.ZodArray<z.ZodObject<{
|
|
191
191
|
delivery_note: z.ZodString;
|
|
192
|
+
custom_order_number: z.ZodString & {
|
|
193
|
+
__optionalForInput: true;
|
|
194
|
+
};
|
|
192
195
|
grand_total: z.ZodNumber & {
|
|
193
196
|
__optionalForInput: true;
|
|
194
197
|
};
|
|
195
198
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
196
199
|
}, "strip", z.ZodTypeAny, {
|
|
197
200
|
delivery_note: string;
|
|
201
|
+
custom_order_number: string;
|
|
198
202
|
grand_total: number;
|
|
199
203
|
__unsaved?: number | null | undefined;
|
|
200
204
|
}, {
|
|
201
205
|
delivery_note: string;
|
|
206
|
+
custom_order_number: string;
|
|
202
207
|
grand_total: number;
|
|
203
208
|
__unsaved?: number | null | undefined;
|
|
204
209
|
}>, "many">;
|
|
@@ -256,6 +261,7 @@ export declare const Shipment: z.ZodObject<{
|
|
|
256
261
|
shipment_amount: number;
|
|
257
262
|
shipment_delivery_note: {
|
|
258
263
|
delivery_note: string;
|
|
264
|
+
custom_order_number: string;
|
|
259
265
|
grand_total: number;
|
|
260
266
|
__unsaved?: number | null | undefined;
|
|
261
267
|
}[];
|
|
@@ -317,6 +323,7 @@ export declare const Shipment: z.ZodObject<{
|
|
|
317
323
|
shipment_amount: number;
|
|
318
324
|
shipment_delivery_note: {
|
|
319
325
|
delivery_note: string;
|
|
326
|
+
custom_order_number: string;
|
|
320
327
|
grand_total: number;
|
|
321
328
|
__unsaved?: number | null | undefined;
|
|
322
329
|
}[];
|
|
@@ -396,6 +403,9 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
396
403
|
shipment_amount: z.ZodNumber;
|
|
397
404
|
shipment_delivery_note: z.ZodArray<z.ZodObject<{
|
|
398
405
|
delivery_note: z.ZodString;
|
|
406
|
+
custom_order_number: z.ZodString & {
|
|
407
|
+
__optionalForInput: true;
|
|
408
|
+
};
|
|
399
409
|
grand_total: z.ZodNumber & {
|
|
400
410
|
__optionalForInput: true;
|
|
401
411
|
};
|
|
@@ -429,6 +439,7 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
429
439
|
parenttype: string;
|
|
430
440
|
parentfield: string;
|
|
431
441
|
delivery_note: string;
|
|
442
|
+
custom_order_number: string;
|
|
432
443
|
grand_total: number;
|
|
433
444
|
_user_tags?: string | null | undefined;
|
|
434
445
|
__unsaved?: number | null | undefined;
|
|
@@ -444,6 +455,7 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
444
455
|
parenttype: string;
|
|
445
456
|
parentfield: string;
|
|
446
457
|
delivery_note: string;
|
|
458
|
+
custom_order_number: string;
|
|
447
459
|
grand_total: number;
|
|
448
460
|
docstatus?: number | undefined;
|
|
449
461
|
_user_tags?: string | null | undefined;
|
|
@@ -66,6 +66,7 @@ exports.ShipmentExportStatus = zod_1.z
|
|
|
66
66
|
const ShipmentDeliveryNote = zod_1.z
|
|
67
67
|
.object({
|
|
68
68
|
delivery_note: zod_1.z.string(),
|
|
69
|
+
custom_order_number: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
69
70
|
grand_total: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.number()),
|
|
70
71
|
__unsaved: zod_1.z.number().optional().nullable(),
|
|
71
72
|
})
|