erpnext-queue-client 1.24.3 → 1.24.4
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.
|
@@ -15,8 +15,8 @@ export declare const ShippingLabel: z.ZodObject<{
|
|
|
15
15
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
16
|
contact: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
17
|
doctype: z.ZodString;
|
|
18
|
-
document_name: z.ZodOptional<z.ZodString
|
|
19
|
-
document_url: z.ZodOptional<z.ZodString
|
|
18
|
+
document_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
document_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
name: string;
|
|
22
22
|
doctype: string;
|
|
@@ -33,8 +33,8 @@ export declare const ShippingLabel: z.ZodObject<{
|
|
|
33
33
|
tracking_code?: string | null | undefined;
|
|
34
34
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
35
35
|
contact?: string | null | undefined;
|
|
36
|
-
document_name?: string | undefined;
|
|
37
|
-
document_url?: string | undefined;
|
|
36
|
+
document_name?: string | null | undefined;
|
|
37
|
+
document_url?: string | null | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
name: string;
|
|
40
40
|
doctype: string;
|
|
@@ -51,8 +51,8 @@ export declare const ShippingLabel: z.ZodObject<{
|
|
|
51
51
|
tracking_code?: string | null | undefined;
|
|
52
52
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
53
53
|
contact?: string | null | undefined;
|
|
54
|
-
document_name?: string | undefined;
|
|
55
|
-
document_url?: string | undefined;
|
|
54
|
+
document_name?: string | null | undefined;
|
|
55
|
+
document_url?: string | null | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
58
58
|
name: z.ZodString;
|
|
@@ -70,8 +70,8 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
70
70
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
contact: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
72
72
|
doctype: z.ZodString;
|
|
73
|
-
document_name: z.ZodOptional<z.ZodString
|
|
74
|
-
document_url: z.ZodOptional<z.ZodString
|
|
73
|
+
document_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
74
|
+
document_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
75
75
|
}, "address" | "customer" | "shipping_provider" | "label_id" | "tracking_code" | "label_type" | "contact" | "document_name" | "document_url">, "strip", z.ZodTypeAny, {
|
|
76
76
|
shipping_provider: string;
|
|
77
77
|
label_id: string;
|
|
@@ -80,8 +80,8 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
80
80
|
tracking_code?: string | null | undefined;
|
|
81
81
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
82
82
|
contact?: string | null | undefined;
|
|
83
|
-
document_name?: string | undefined;
|
|
84
|
-
document_url?: string | undefined;
|
|
83
|
+
document_name?: string | null | undefined;
|
|
84
|
+
document_url?: string | null | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
shipping_provider: string;
|
|
87
87
|
label_id: string;
|
|
@@ -90,8 +90,8 @@ export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
|
90
90
|
tracking_code?: string | null | undefined;
|
|
91
91
|
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
92
92
|
contact?: string | null | undefined;
|
|
93
|
-
document_name?: string | undefined;
|
|
94
|
-
document_url?: string | undefined;
|
|
93
|
+
document_name?: string | null | undefined;
|
|
94
|
+
document_url?: string | null | undefined;
|
|
95
95
|
}>;
|
|
96
96
|
export type ShippingLabelPostBodyType = z.infer<typeof ShippingLabelPostBody>;
|
|
97
97
|
export type ShippingLabelType = z.infer<typeof ShippingLabel>;
|
|
@@ -23,8 +23,8 @@ exports.ShippingLabel = zod_1.z
|
|
|
23
23
|
address: zod_1.z.string().optional().nullable(),
|
|
24
24
|
contact: zod_1.z.string().optional().nullable(),
|
|
25
25
|
doctype: zod_1.z.string(),
|
|
26
|
-
document_name: zod_1.z.string().optional(),
|
|
27
|
-
document_url: zod_1.z.string().optional(),
|
|
26
|
+
document_name: zod_1.z.string().optional().nullable(),
|
|
27
|
+
document_url: zod_1.z.string().optional().nullable(),
|
|
28
28
|
})
|
|
29
29
|
.describe("Shipping Label");
|
|
30
30
|
exports.ShippingLabelPostBody = exports.ShippingLabel.pick({
|