erpnext-queue-client 2.5.16 → 2.5.20
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/consolidatedCustomsInvoice.d.ts +1 -0
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +3 -0
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +1 -0
- package/dist/erpnext/model/DeliveryNote.d.ts +3 -6
- package/dist/erpnext/model/DeliveryNote.js +1 -2
- package/dist/erpnext/model/ShippingLabel.d.ts +1 -1
- package/package.json +5 -1
|
@@ -8,6 +8,7 @@ export declare class ERPNextConsolidatedCustomsInvoice extends ERPNextDoctypeSub
|
|
|
8
8
|
/** Create a consolidated customs invoice from the given shipment names. */
|
|
9
9
|
createFromShipments({ shipments, }: ConsolidatedCustomsInvoiceCreateMethodInputType): Promise<{
|
|
10
10
|
name: string;
|
|
11
|
+
exchange_rate: number;
|
|
11
12
|
importer_info: {
|
|
12
13
|
address_line1: string;
|
|
13
14
|
pincode: string;
|
|
@@ -350,6 +350,7 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodInput: z.ZodObject<{
|
|
|
350
350
|
export type ConsolidatedCustomsInvoiceCreateMethodInputType = z.infer<typeof ConsolidatedCustomsInvoiceCreateMethodInput>;
|
|
351
351
|
export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.ZodObject<{
|
|
352
352
|
name: z.ZodString;
|
|
353
|
+
exchange_rate: z.ZodNumber;
|
|
353
354
|
importer_info: z.ZodObject<Pick<{
|
|
354
355
|
import_reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
355
356
|
address_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -417,6 +418,7 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.Zod
|
|
|
417
418
|
}>;
|
|
418
419
|
}, "strip", z.ZodTypeAny, {
|
|
419
420
|
name: string;
|
|
421
|
+
exchange_rate: number;
|
|
420
422
|
importer_info: {
|
|
421
423
|
address_line1: string;
|
|
422
424
|
pincode: string;
|
|
@@ -431,6 +433,7 @@ export declare const ConsolidatedCustomsInvoiceCreateMethodResponseSchema: z.Zod
|
|
|
431
433
|
};
|
|
432
434
|
}, {
|
|
433
435
|
name: string;
|
|
436
|
+
exchange_rate: number;
|
|
434
437
|
importer_info: {
|
|
435
438
|
address_line1: string;
|
|
436
439
|
city: string;
|
|
@@ -91,6 +91,7 @@ exports.ConsolidatedCustomsInvoiceCreateMethodInput = zod_1.z
|
|
|
91
91
|
exports.ConsolidatedCustomsInvoiceCreateMethodResponseSchema = zod_1.z
|
|
92
92
|
.object({
|
|
93
93
|
name: zod_1.z.string().min(1),
|
|
94
|
+
exchange_rate: zod_1.z.number(),
|
|
94
95
|
importer_info: Address_1.Address.pick({
|
|
95
96
|
address_title: true,
|
|
96
97
|
address_line1: true,
|
|
@@ -6,8 +6,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
6
6
|
naming_series: z.ZodString & {
|
|
7
7
|
__optionalForInput: true;
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
custom_order_number: z.ZodString;
|
|
11
10
|
customer: z.ZodString;
|
|
12
11
|
customer_name: z.ZodString & {
|
|
13
12
|
__optionalForInput: true;
|
|
@@ -583,7 +582,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
583
582
|
discount_amount: number;
|
|
584
583
|
pricing_rules: string[];
|
|
585
584
|
title: string;
|
|
586
|
-
|
|
585
|
+
custom_order_number: string;
|
|
587
586
|
customer_name: string;
|
|
588
587
|
is_return: number;
|
|
589
588
|
issue_credit_note: number;
|
|
@@ -627,7 +626,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
627
626
|
tax_id?: string | null | undefined;
|
|
628
627
|
cost_center?: string | null | undefined;
|
|
629
628
|
project?: string | null | undefined;
|
|
630
|
-
custom_order_number?: string | null | undefined;
|
|
631
629
|
return_against?: string | null | undefined;
|
|
632
630
|
po_date?: string | null | undefined;
|
|
633
631
|
pick_list?: string | null | undefined;
|
|
@@ -754,7 +752,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
754
752
|
discount_amount: number;
|
|
755
753
|
pricing_rules: string[];
|
|
756
754
|
title: string;
|
|
757
|
-
|
|
755
|
+
custom_order_number: string;
|
|
758
756
|
customer_name: string;
|
|
759
757
|
is_return: number;
|
|
760
758
|
issue_credit_note: number;
|
|
@@ -797,7 +795,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
797
795
|
tax_id?: string | null | undefined;
|
|
798
796
|
cost_center?: string | null | undefined;
|
|
799
797
|
project?: string | null | undefined;
|
|
800
|
-
custom_order_number?: string | null | undefined;
|
|
801
798
|
return_against?: string | null | undefined;
|
|
802
799
|
po_date?: string | null | undefined;
|
|
803
800
|
pick_list?: string | null | undefined;
|
|
@@ -74,8 +74,7 @@ exports.DeliveryNote = zod_1.z
|
|
|
74
74
|
.object({
|
|
75
75
|
title: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
76
76
|
naming_series: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
77
|
-
|
|
78
|
-
custom_order_number: zod_1.z.string().optional().nullable(),
|
|
77
|
+
custom_order_number: zod_1.z.string(),
|
|
79
78
|
customer: zod_1.z.string(),
|
|
80
79
|
customer_name: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
81
80
|
company: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
|
|
@@ -44,7 +44,7 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
44
44
|
document_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
45
45
|
document_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
46
46
|
order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
47
|
-
}, "address" | "customer" | "
|
|
47
|
+
}, "address" | "customer" | "shipping_provider" | "order_number" | "label_id" | "tracking_code" | "label_type" | "contact" | "document_name" | "document_url">, "strip", z.ZodTypeAny, {
|
|
48
48
|
shipping_provider: string;
|
|
49
49
|
label_id: string;
|
|
50
50
|
address?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"release": "npm run build && npm publish"
|
|
18
18
|
},
|
|
19
19
|
"author": "Jonathan Laukenmann",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/formbench/erpnext-queue.git"
|
|
23
|
+
},
|
|
20
24
|
"license": "ISC",
|
|
21
25
|
"dependencies": {
|
|
22
26
|
"@temporalio/client": "^1.11.3",
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
"winston": "^3.15.0",
|
|
31
35
|
"zod": "3.25.76"
|
|
32
36
|
},
|
|
33
|
-
"version": "2.5.
|
|
37
|
+
"version": "2.5.20",
|
|
34
38
|
"devDependencies": {
|
|
35
39
|
"@types/crypto-js": "^4.2.2",
|
|
36
40
|
"@types/lodash": "^4.17.13",
|