erpnext-queue-client 1.24.0 → 1.24.2
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.
|
@@ -13,7 +13,9 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
13
13
|
modified_by: z.ZodString;
|
|
14
14
|
idx: z.ZodNumber;
|
|
15
15
|
url: z.ZodString;
|
|
16
|
+
type: z.ZodEnum<["image", "video"]>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
type: "image" | "video";
|
|
17
19
|
url: string;
|
|
18
20
|
name: string;
|
|
19
21
|
owner: string;
|
|
@@ -22,6 +24,7 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
22
24
|
modified_by: string;
|
|
23
25
|
idx: number;
|
|
24
26
|
}, {
|
|
27
|
+
type: "image" | "video";
|
|
25
28
|
url: string;
|
|
26
29
|
name: string;
|
|
27
30
|
owner: string;
|
|
@@ -37,6 +40,7 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
37
40
|
modified: string;
|
|
38
41
|
modified_by: string;
|
|
39
42
|
attachments: {
|
|
43
|
+
type: "image" | "video";
|
|
40
44
|
url: string;
|
|
41
45
|
name: string;
|
|
42
46
|
owner: string;
|
|
@@ -52,6 +56,7 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
52
56
|
modified: string;
|
|
53
57
|
modified_by: string;
|
|
54
58
|
attachments: {
|
|
59
|
+
type: "image" | "video";
|
|
55
60
|
url: string;
|
|
56
61
|
name: string;
|
|
57
62
|
owner: string;
|
|
@@ -61,19 +66,34 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
61
66
|
idx: number;
|
|
62
67
|
}[];
|
|
63
68
|
}>;
|
|
64
|
-
export declare const UpdateAttachmentCollectionInput: z.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
export declare const UpdateAttachmentCollectionInput: z.ZodObject<{
|
|
70
|
+
attachments: z.ZodArray<z.ZodObject<Omit<{
|
|
71
|
+
name: z.ZodString;
|
|
72
|
+
owner: z.ZodString;
|
|
73
|
+
creation: z.ZodString;
|
|
74
|
+
modified: z.ZodString;
|
|
75
|
+
modified_by: z.ZodString;
|
|
76
|
+
idx: z.ZodNumber;
|
|
77
|
+
url: z.ZodString;
|
|
78
|
+
type: z.ZodEnum<["image", "video"]>;
|
|
79
|
+
}, "name" | "owner" | "creation" | "modified" | "modified_by" | "idx">, "strip", z.ZodTypeAny, {
|
|
80
|
+
type: "image" | "video";
|
|
81
|
+
url: string;
|
|
82
|
+
}, {
|
|
83
|
+
type: "image" | "video";
|
|
84
|
+
url: string;
|
|
85
|
+
}>, "many">;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
attachments: {
|
|
88
|
+
type: "image" | "video";
|
|
89
|
+
url: string;
|
|
90
|
+
}[];
|
|
74
91
|
}, {
|
|
75
|
-
|
|
76
|
-
|
|
92
|
+
attachments: {
|
|
93
|
+
type: "image" | "video";
|
|
94
|
+
url: string;
|
|
95
|
+
}[];
|
|
96
|
+
}>;
|
|
77
97
|
export declare const InternalReasonCollection: z.ZodObject<{
|
|
78
98
|
name: z.ZodString;
|
|
79
99
|
owner: z.ZodString;
|
|
@@ -136,19 +156,29 @@ export declare const InternalReasonCollection: z.ZodObject<{
|
|
|
136
156
|
internal_reason: string;
|
|
137
157
|
}[];
|
|
138
158
|
}>;
|
|
139
|
-
export declare const UpdateInternalReasonCollectionInput: z.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
159
|
+
export declare const UpdateInternalReasonCollectionInput: z.ZodObject<{
|
|
160
|
+
internal_reasons: z.ZodArray<z.ZodObject<Omit<{
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
owner: z.ZodString;
|
|
163
|
+
creation: z.ZodString;
|
|
164
|
+
modified: z.ZodString;
|
|
165
|
+
modified_by: z.ZodString;
|
|
166
|
+
idx: z.ZodNumber;
|
|
167
|
+
internal_reason: z.ZodString;
|
|
168
|
+
}, "name" | "owner" | "creation" | "modified" | "modified_by" | "idx">, "strip", z.ZodTypeAny, {
|
|
169
|
+
internal_reason: string;
|
|
170
|
+
}, {
|
|
171
|
+
internal_reason: string;
|
|
172
|
+
}>, "many">;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
internal_reasons: {
|
|
175
|
+
internal_reason: string;
|
|
176
|
+
}[];
|
|
149
177
|
}, {
|
|
150
|
-
|
|
151
|
-
|
|
178
|
+
internal_reasons: {
|
|
179
|
+
internal_reason: string;
|
|
180
|
+
}[];
|
|
181
|
+
}>;
|
|
152
182
|
export declare const ReturnItemBase: z.ZodObject<{
|
|
153
183
|
item: z.ZodString;
|
|
154
184
|
line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -25,6 +25,7 @@ const AttachmentChildTableEntry = zod_1.z.object({
|
|
|
25
25
|
modified_by: zod_1.z.string(),
|
|
26
26
|
idx: zod_1.z.number(),
|
|
27
27
|
url: zod_1.z.string(),
|
|
28
|
+
type: zod_1.z.enum(["image", "video"]),
|
|
28
29
|
});
|
|
29
30
|
exports.AttachmentCollection = zod_1.z
|
|
30
31
|
.object({
|
|
@@ -37,14 +38,16 @@ exports.AttachmentCollection = zod_1.z
|
|
|
37
38
|
})
|
|
38
39
|
.describe("AttachmentCollection");
|
|
39
40
|
exports.UpdateAttachmentCollectionInput = zod_1.z
|
|
40
|
-
.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
.object({
|
|
42
|
+
attachments: zod_1.z.array(AttachmentChildTableEntry.omit({
|
|
43
|
+
name: true,
|
|
44
|
+
owner: true,
|
|
45
|
+
creation: true,
|
|
46
|
+
modified: true,
|
|
47
|
+
modified_by: true,
|
|
48
|
+
idx: true,
|
|
49
|
+
})),
|
|
50
|
+
})
|
|
48
51
|
.describe("UpdateAttachmentCollectionInput");
|
|
49
52
|
const InternalReasonChildTableEntry = zod_1.z.object({
|
|
50
53
|
name: zod_1.z.string(),
|
|
@@ -66,14 +69,16 @@ exports.InternalReasonCollection = zod_1.z
|
|
|
66
69
|
})
|
|
67
70
|
.describe("InternalReasonCollection");
|
|
68
71
|
exports.UpdateInternalReasonCollectionInput = zod_1.z
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
.object({
|
|
73
|
+
internal_reasons: zod_1.z.array(InternalReasonChildTableEntry.omit({
|
|
74
|
+
name: true,
|
|
75
|
+
owner: true,
|
|
76
|
+
creation: true,
|
|
77
|
+
modified: true,
|
|
78
|
+
modified_by: true,
|
|
79
|
+
idx: true,
|
|
80
|
+
})),
|
|
81
|
+
})
|
|
77
82
|
.describe("UpdateInternalReasonCollectionInput");
|
|
78
83
|
// Base type to prevent having to use omit combined with extend, not to be used directly
|
|
79
84
|
exports.ReturnItemBase = zod_1.z
|