erpnext-queue-client 1.5.2 → 1.5.3
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.
|
@@ -17,7 +17,7 @@ export declare const AddressPostBody: z.ZodObject<{
|
|
|
17
17
|
city: z.ZodString;
|
|
18
18
|
pincode: z.ZodString;
|
|
19
19
|
country: z.ZodString;
|
|
20
|
-
email_id: z.ZodString
|
|
20
|
+
email_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
21
|
is_shipping_address: z.ZodNumber;
|
|
22
22
|
links: z.ZodArray<z.ZodObject<{
|
|
23
23
|
link_doctype: z.ZodString;
|
|
@@ -36,13 +36,13 @@ export declare const AddressPostBody: z.ZodObject<{
|
|
|
36
36
|
city: string;
|
|
37
37
|
pincode: string;
|
|
38
38
|
country: string;
|
|
39
|
-
email_id: string;
|
|
40
39
|
is_shipping_address: number;
|
|
41
40
|
links: {
|
|
42
41
|
link_doctype: string;
|
|
43
42
|
link_name: string;
|
|
44
43
|
}[];
|
|
45
44
|
address_line2?: string | null | undefined;
|
|
45
|
+
email_id?: string | null | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
address_title: string;
|
|
48
48
|
address_line1: string;
|
|
@@ -50,13 +50,13 @@ export declare const AddressPostBody: z.ZodObject<{
|
|
|
50
50
|
city: string;
|
|
51
51
|
pincode: string;
|
|
52
52
|
country: string;
|
|
53
|
-
email_id: string;
|
|
54
53
|
is_shipping_address: number;
|
|
55
54
|
links: {
|
|
56
55
|
link_doctype: string;
|
|
57
56
|
link_name: string;
|
|
58
57
|
}[];
|
|
59
58
|
address_line2?: string | null | undefined;
|
|
59
|
+
email_id?: string | null | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export type AddressPostBodyType = z.infer<typeof AddressPostBody>;
|
|
62
62
|
export declare const Address: z.ZodObject<{
|
|
@@ -311,41 +311,3 @@ export declare const AddressListName: z.ZodArray<z.ZodObject<Pick<{
|
|
|
311
311
|
}>, "many">;
|
|
312
312
|
export type AddressType = z.infer<typeof Address>;
|
|
313
313
|
export type AddressListNameType = z.infer<typeof AddressListName>;
|
|
314
|
-
export declare const ShipstormAddress: z.ZodObject<{
|
|
315
|
-
address_title: z.ZodString;
|
|
316
|
-
address_type: z.ZodString;
|
|
317
|
-
address_line1: z.ZodString;
|
|
318
|
-
address_line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
319
|
-
pincode: z.ZodEffects<z.ZodString, string, unknown>;
|
|
320
|
-
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
321
|
-
phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
322
|
-
city: z.ZodString;
|
|
323
|
-
country: z.ZodString;
|
|
324
|
-
email_id: z.ZodString;
|
|
325
|
-
is_shipping_address: z.ZodBoolean;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
address_title: string;
|
|
328
|
-
address_line1: string;
|
|
329
|
-
address_type: string;
|
|
330
|
-
city: string;
|
|
331
|
-
pincode: string;
|
|
332
|
-
country: string;
|
|
333
|
-
email_id: string;
|
|
334
|
-
is_shipping_address: boolean;
|
|
335
|
-
address_line2?: string | null | undefined;
|
|
336
|
-
state?: string | null | undefined;
|
|
337
|
-
phone?: string | null | undefined;
|
|
338
|
-
}, {
|
|
339
|
-
address_title: string;
|
|
340
|
-
address_line1: string;
|
|
341
|
-
address_type: string;
|
|
342
|
-
city: string;
|
|
343
|
-
country: string;
|
|
344
|
-
email_id: string;
|
|
345
|
-
is_shipping_address: boolean;
|
|
346
|
-
address_line2?: string | null | undefined;
|
|
347
|
-
pincode?: unknown;
|
|
348
|
-
state?: string | null | undefined;
|
|
349
|
-
phone?: string | null | undefined;
|
|
350
|
-
}>;
|
|
351
|
-
export type ShipstormAddressType = z.infer<typeof ShipstormAddress>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AddressListName = exports.Address = exports.AddressPostBody = exports.DynamicLinkPostBody = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.DynamicLinkPostBody = zod_1.z
|
|
6
6
|
.object({
|
|
@@ -17,7 +17,7 @@ exports.AddressPostBody = zod_1.z
|
|
|
17
17
|
city: zod_1.z.string(),
|
|
18
18
|
pincode: zod_1.z.string(),
|
|
19
19
|
country: zod_1.z.string(),
|
|
20
|
-
email_id: zod_1.z.string(),
|
|
20
|
+
email_id: zod_1.z.string().optional().nullable(),
|
|
21
21
|
is_shipping_address: zod_1.z.number(),
|
|
22
22
|
links: zod_1.z.array(exports.DynamicLinkPostBody),
|
|
23
23
|
})
|
|
@@ -81,20 +81,3 @@ exports.AddressListName = zod_1.z
|
|
|
81
81
|
name: true,
|
|
82
82
|
}))
|
|
83
83
|
.describe("AddressListName");
|
|
84
|
-
exports.ShipstormAddress = zod_1.z
|
|
85
|
-
.object({
|
|
86
|
-
address_title: zod_1.z.string(),
|
|
87
|
-
address_type: zod_1.z.string(),
|
|
88
|
-
address_line1: zod_1.z.string(),
|
|
89
|
-
address_line2: zod_1.z.string().optional().nullable(),
|
|
90
|
-
pincode: zod_1.z.preprocess((input) => {
|
|
91
|
-
return typeof input === "string" ? input.trim() : input;
|
|
92
|
-
}, zod_1.z.string()),
|
|
93
|
-
state: zod_1.z.string().optional().nullable(),
|
|
94
|
-
phone: zod_1.z.string().optional().nullable(),
|
|
95
|
-
city: zod_1.z.string(),
|
|
96
|
-
country: zod_1.z.string(),
|
|
97
|
-
email_id: zod_1.z.string(),
|
|
98
|
-
is_shipping_address: zod_1.z.boolean(),
|
|
99
|
-
})
|
|
100
|
-
.describe("ShipstormAddress");
|