erpnext-queue-client 1.24.1 → 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.
|
@@ -66,22 +66,34 @@ export declare const AttachmentCollection: z.ZodObject<{
|
|
|
66
66
|
idx: number;
|
|
67
67
|
}[];
|
|
68
68
|
}>;
|
|
69
|
-
export declare const UpdateAttachmentCollectionInput: z.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
+
}[];
|
|
81
91
|
}, {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
92
|
+
attachments: {
|
|
93
|
+
type: "image" | "video";
|
|
94
|
+
url: string;
|
|
95
|
+
}[];
|
|
96
|
+
}>;
|
|
85
97
|
export declare const InternalReasonCollection: z.ZodObject<{
|
|
86
98
|
name: z.ZodString;
|
|
87
99
|
owner: z.ZodString;
|
|
@@ -144,19 +156,29 @@ export declare const InternalReasonCollection: z.ZodObject<{
|
|
|
144
156
|
internal_reason: string;
|
|
145
157
|
}[];
|
|
146
158
|
}>;
|
|
147
|
-
export declare const UpdateInternalReasonCollectionInput: z.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
+
}[];
|
|
157
177
|
}, {
|
|
158
|
-
|
|
159
|
-
|
|
178
|
+
internal_reasons: {
|
|
179
|
+
internal_reason: string;
|
|
180
|
+
}[];
|
|
181
|
+
}>;
|
|
160
182
|
export declare const ReturnItemBase: z.ZodObject<{
|
|
161
183
|
item: z.ZodString;
|
|
162
184
|
line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -38,14 +38,16 @@ exports.AttachmentCollection = zod_1.z
|
|
|
38
38
|
})
|
|
39
39
|
.describe("AttachmentCollection");
|
|
40
40
|
exports.UpdateAttachmentCollectionInput = zod_1.z
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
+
})
|
|
49
51
|
.describe("UpdateAttachmentCollectionInput");
|
|
50
52
|
const InternalReasonChildTableEntry = zod_1.z.object({
|
|
51
53
|
name: zod_1.z.string(),
|
|
@@ -67,14 +69,16 @@ exports.InternalReasonCollection = zod_1.z
|
|
|
67
69
|
})
|
|
68
70
|
.describe("InternalReasonCollection");
|
|
69
71
|
exports.UpdateInternalReasonCollectionInput = zod_1.z
|
|
70
|
-
.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
+
})
|
|
78
82
|
.describe("UpdateInternalReasonCollectionInput");
|
|
79
83
|
// Base type to prevent having to use omit combined with extend, not to be used directly
|
|
80
84
|
exports.ReturnItemBase = zod_1.z
|