erpnext-queue-client 1.34.6 → 1.34.8
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.
|
@@ -409,7 +409,10 @@ export declare class ERPNextServicecase {
|
|
|
409
409
|
type: "image" | "video";
|
|
410
410
|
url: string;
|
|
411
411
|
}[];
|
|
412
|
-
internal_reasons:
|
|
412
|
+
internal_reasons: {
|
|
413
|
+
title_de: string | null;
|
|
414
|
+
title_en: string | null;
|
|
415
|
+
}[];
|
|
413
416
|
item: string;
|
|
414
417
|
return_quantity: number;
|
|
415
418
|
is_complaint: boolean;
|
|
@@ -384,7 +384,16 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
384
384
|
}>, "many">;
|
|
385
385
|
is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
386
386
|
attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
387
|
-
internal_reasons: z.ZodArray<z.
|
|
387
|
+
internal_reasons: z.ZodArray<z.ZodObject<{
|
|
388
|
+
title_de: z.ZodNullable<z.ZodString>;
|
|
389
|
+
title_en: z.ZodNullable<z.ZodString>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
title_de: string | null;
|
|
392
|
+
title_en: string | null;
|
|
393
|
+
}, {
|
|
394
|
+
title_de: string | null;
|
|
395
|
+
title_en: string | null;
|
|
396
|
+
}>, "many">;
|
|
388
397
|
internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
389
398
|
}, "strip", z.ZodTypeAny, {
|
|
390
399
|
name: string;
|
|
@@ -397,7 +406,10 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
397
406
|
type: "image" | "video";
|
|
398
407
|
url: string;
|
|
399
408
|
}[];
|
|
400
|
-
internal_reasons:
|
|
409
|
+
internal_reasons: {
|
|
410
|
+
title_de: string | null;
|
|
411
|
+
title_en: string | null;
|
|
412
|
+
}[];
|
|
401
413
|
item: string;
|
|
402
414
|
return_quantity: number;
|
|
403
415
|
is_complaint: boolean;
|
|
@@ -424,7 +436,10 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
424
436
|
type: "image" | "video";
|
|
425
437
|
url: string;
|
|
426
438
|
}[];
|
|
427
|
-
internal_reasons:
|
|
439
|
+
internal_reasons: {
|
|
440
|
+
title_de: string | null;
|
|
441
|
+
title_en: string | null;
|
|
442
|
+
}[];
|
|
428
443
|
item: string;
|
|
429
444
|
return_quantity: number;
|
|
430
445
|
is_complaint: number;
|
|
@@ -1032,7 +1047,16 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1032
1047
|
}>, "many">;
|
|
1033
1048
|
is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1034
1049
|
attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1035
|
-
internal_reasons: z.ZodArray<z.
|
|
1050
|
+
internal_reasons: z.ZodArray<z.ZodObject<{
|
|
1051
|
+
title_de: z.ZodNullable<z.ZodString>;
|
|
1052
|
+
title_en: z.ZodNullable<z.ZodString>;
|
|
1053
|
+
}, "strip", z.ZodTypeAny, {
|
|
1054
|
+
title_de: string | null;
|
|
1055
|
+
title_en: string | null;
|
|
1056
|
+
}, {
|
|
1057
|
+
title_de: string | null;
|
|
1058
|
+
title_en: string | null;
|
|
1059
|
+
}>, "many">;
|
|
1036
1060
|
internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1037
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1062
|
name: string;
|
|
@@ -1045,7 +1069,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1045
1069
|
type: "image" | "video";
|
|
1046
1070
|
url: string;
|
|
1047
1071
|
}[];
|
|
1048
|
-
internal_reasons:
|
|
1072
|
+
internal_reasons: {
|
|
1073
|
+
title_de: string | null;
|
|
1074
|
+
title_en: string | null;
|
|
1075
|
+
}[];
|
|
1049
1076
|
item: string;
|
|
1050
1077
|
return_quantity: number;
|
|
1051
1078
|
is_complaint: boolean;
|
|
@@ -1072,7 +1099,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1072
1099
|
type: "image" | "video";
|
|
1073
1100
|
url: string;
|
|
1074
1101
|
}[];
|
|
1075
|
-
internal_reasons:
|
|
1102
|
+
internal_reasons: {
|
|
1103
|
+
title_de: string | null;
|
|
1104
|
+
title_en: string | null;
|
|
1105
|
+
}[];
|
|
1076
1106
|
item: string;
|
|
1077
1107
|
return_quantity: number;
|
|
1078
1108
|
is_complaint: number;
|
|
@@ -1160,7 +1190,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1160
1190
|
type: "image" | "video";
|
|
1161
1191
|
url: string;
|
|
1162
1192
|
}[];
|
|
1163
|
-
internal_reasons:
|
|
1193
|
+
internal_reasons: {
|
|
1194
|
+
title_de: string | null;
|
|
1195
|
+
title_en: string | null;
|
|
1196
|
+
}[];
|
|
1164
1197
|
item: string;
|
|
1165
1198
|
return_quantity: number;
|
|
1166
1199
|
is_complaint: boolean;
|
|
@@ -1220,7 +1253,10 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1220
1253
|
type: "image" | "video";
|
|
1221
1254
|
url: string;
|
|
1222
1255
|
}[];
|
|
1223
|
-
internal_reasons:
|
|
1256
|
+
internal_reasons: {
|
|
1257
|
+
title_de: string | null;
|
|
1258
|
+
title_en: string | null;
|
|
1259
|
+
}[];
|
|
1224
1260
|
item: string;
|
|
1225
1261
|
return_quantity: number;
|
|
1226
1262
|
is_complaint: number;
|
|
@@ -1311,7 +1347,16 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1311
1347
|
}>, "many">;
|
|
1312
1348
|
is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1313
1349
|
attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1314
|
-
internal_reasons: z.ZodArray<z.
|
|
1350
|
+
internal_reasons: z.ZodArray<z.ZodObject<{
|
|
1351
|
+
title_de: z.ZodNullable<z.ZodString>;
|
|
1352
|
+
title_en: z.ZodNullable<z.ZodString>;
|
|
1353
|
+
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
title_de: string | null;
|
|
1355
|
+
title_en: string | null;
|
|
1356
|
+
}, {
|
|
1357
|
+
title_de: string | null;
|
|
1358
|
+
title_en: string | null;
|
|
1359
|
+
}>, "many">;
|
|
1315
1360
|
internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1316
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1317
1362
|
name: string;
|
|
@@ -1324,7 +1369,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1324
1369
|
type: "image" | "video";
|
|
1325
1370
|
url: string;
|
|
1326
1371
|
}[];
|
|
1327
|
-
internal_reasons:
|
|
1372
|
+
internal_reasons: {
|
|
1373
|
+
title_de: string | null;
|
|
1374
|
+
title_en: string | null;
|
|
1375
|
+
}[];
|
|
1328
1376
|
item: string;
|
|
1329
1377
|
return_quantity: number;
|
|
1330
1378
|
is_complaint: boolean;
|
|
@@ -1351,7 +1399,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1351
1399
|
type: "image" | "video";
|
|
1352
1400
|
url: string;
|
|
1353
1401
|
}[];
|
|
1354
|
-
internal_reasons:
|
|
1402
|
+
internal_reasons: {
|
|
1403
|
+
title_de: string | null;
|
|
1404
|
+
title_en: string | null;
|
|
1405
|
+
}[];
|
|
1355
1406
|
item: string;
|
|
1356
1407
|
return_quantity: number;
|
|
1357
1408
|
is_complaint: number;
|
|
@@ -1439,7 +1490,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1439
1490
|
type: "image" | "video";
|
|
1440
1491
|
url: string;
|
|
1441
1492
|
}[];
|
|
1442
|
-
internal_reasons:
|
|
1493
|
+
internal_reasons: {
|
|
1494
|
+
title_de: string | null;
|
|
1495
|
+
title_en: string | null;
|
|
1496
|
+
}[];
|
|
1443
1497
|
item: string;
|
|
1444
1498
|
return_quantity: number;
|
|
1445
1499
|
is_complaint: boolean;
|
|
@@ -1499,7 +1553,10 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1499
1553
|
type: "image" | "video";
|
|
1500
1554
|
url: string;
|
|
1501
1555
|
}[];
|
|
1502
|
-
internal_reasons:
|
|
1556
|
+
internal_reasons: {
|
|
1557
|
+
title_de: string | null;
|
|
1558
|
+
title_en: string | null;
|
|
1559
|
+
}[];
|
|
1503
1560
|
item: string;
|
|
1504
1561
|
return_quantity: number;
|
|
1505
1562
|
is_complaint: number;
|
|
@@ -115,7 +115,10 @@ exports.ReturnItemExtended = exports.ReturnItemBase.extend({
|
|
|
115
115
|
attachments: zod_1.z.array(zod_1.z.object({ url: zod_1.z.string(), type: zod_1.z.enum(["image", "video"]) })),
|
|
116
116
|
is_complaint: zod_1.z.number().transform(Boolean),
|
|
117
117
|
attachments_collection_name: zod_1.z.string().optional().nullable(),
|
|
118
|
-
internal_reasons: zod_1.z.array(zod_1.z.
|
|
118
|
+
internal_reasons: zod_1.z.array(zod_1.z.object({
|
|
119
|
+
title_de: zod_1.z.string().nullable(),
|
|
120
|
+
title_en: zod_1.z.string().nullable(),
|
|
121
|
+
})),
|
|
119
122
|
internal_reasons_collection_name: zod_1.z.string().optional().nullable(),
|
|
120
123
|
}).describe("ReturnItemExtended");
|
|
121
124
|
// Shipping Info stored in separate child table with relation to return_item
|