erpnext-queue-client 1.33.3 → 1.33.5
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.
|
@@ -245,11 +245,13 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
245
245
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
246
246
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
247
247
|
} & {
|
|
248
|
+
name: z.ZodOptional<z.ZodString>;
|
|
248
249
|
is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
249
250
|
}, "strip", z.ZodTypeAny, {
|
|
250
251
|
item: string;
|
|
251
252
|
return_quantity: number;
|
|
252
253
|
is_complaint: number;
|
|
254
|
+
name?: string | undefined;
|
|
253
255
|
attachments?: string | null | undefined;
|
|
254
256
|
internal_reasons?: string | null | undefined;
|
|
255
257
|
line_item_id?: string | null | undefined;
|
|
@@ -265,6 +267,7 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
265
267
|
}, {
|
|
266
268
|
item: string;
|
|
267
269
|
return_quantity: number;
|
|
270
|
+
name?: string | undefined;
|
|
268
271
|
attachments?: string | null | undefined;
|
|
269
272
|
internal_reasons?: string | null | undefined;
|
|
270
273
|
line_item_id?: string | null | undefined;
|
|
@@ -798,11 +801,13 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
798
801
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
799
802
|
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
800
803
|
} & {
|
|
804
|
+
name: z.ZodOptional<z.ZodString>;
|
|
801
805
|
is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
802
806
|
}, "strip", z.ZodTypeAny, {
|
|
803
807
|
item: string;
|
|
804
808
|
return_quantity: number;
|
|
805
809
|
is_complaint: number;
|
|
810
|
+
name?: string | undefined;
|
|
806
811
|
attachments?: string | null | undefined;
|
|
807
812
|
internal_reasons?: string | null | undefined;
|
|
808
813
|
line_item_id?: string | null | undefined;
|
|
@@ -818,6 +823,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
818
823
|
}, {
|
|
819
824
|
item: string;
|
|
820
825
|
return_quantity: number;
|
|
826
|
+
name?: string | undefined;
|
|
821
827
|
attachments?: string | null | undefined;
|
|
822
828
|
internal_reasons?: string | null | undefined;
|
|
823
829
|
line_item_id?: string | null | undefined;
|
|
@@ -863,6 +869,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
863
869
|
item: string;
|
|
864
870
|
return_quantity: number;
|
|
865
871
|
is_complaint: number;
|
|
872
|
+
name?: string | undefined;
|
|
866
873
|
attachments?: string | null | undefined;
|
|
867
874
|
internal_reasons?: string | null | undefined;
|
|
868
875
|
line_item_id?: string | null | undefined;
|
|
@@ -895,6 +902,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
895
902
|
return_items: {
|
|
896
903
|
item: string;
|
|
897
904
|
return_quantity: number;
|
|
905
|
+
name?: string | undefined;
|
|
898
906
|
attachments?: string | null | undefined;
|
|
899
907
|
internal_reasons?: string | null | undefined;
|
|
900
908
|
line_item_id?: string | null | undefined;
|
|
@@ -943,41 +951,6 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
943
951
|
creation: z.ZodString;
|
|
944
952
|
modified: z.ZodString;
|
|
945
953
|
modified_by: z.ZodString;
|
|
946
|
-
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
947
|
-
item: z.ZodString;
|
|
948
|
-
return_item: z.ZodString;
|
|
949
|
-
quantity: z.ZodNumber;
|
|
950
|
-
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
951
|
-
} & {
|
|
952
|
-
name: z.ZodString;
|
|
953
|
-
owner: z.ZodString;
|
|
954
|
-
creation: z.ZodString;
|
|
955
|
-
modified: z.ZodString;
|
|
956
|
-
modified_by: z.ZodString;
|
|
957
|
-
idx: z.ZodNumber;
|
|
958
|
-
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
name: string;
|
|
960
|
-
owner: string;
|
|
961
|
-
creation: string;
|
|
962
|
-
modified: string;
|
|
963
|
-
modified_by: string;
|
|
964
|
-
idx: number;
|
|
965
|
-
quantity: number;
|
|
966
|
-
item: string;
|
|
967
|
-
return_item: string;
|
|
968
|
-
return_label?: string | null | undefined;
|
|
969
|
-
}, {
|
|
970
|
-
name: string;
|
|
971
|
-
owner: string;
|
|
972
|
-
creation: string;
|
|
973
|
-
modified: string;
|
|
974
|
-
modified_by: string;
|
|
975
|
-
idx: number;
|
|
976
|
-
quantity: number;
|
|
977
|
-
item: string;
|
|
978
|
-
return_item: string;
|
|
979
|
-
return_label?: string | null | undefined;
|
|
980
|
-
}>, "many">;
|
|
981
954
|
} & {
|
|
982
955
|
return_items: z.ZodArray<z.ZodObject<{
|
|
983
956
|
item: z.ZodString;
|
|
@@ -1068,6 +1041,41 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
1068
1041
|
attachments_collection_name?: string | null | undefined;
|
|
1069
1042
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1070
1043
|
}>, "many">;
|
|
1044
|
+
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1045
|
+
item: z.ZodString;
|
|
1046
|
+
return_item: z.ZodString;
|
|
1047
|
+
quantity: z.ZodNumber;
|
|
1048
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1049
|
+
} & {
|
|
1050
|
+
name: z.ZodString;
|
|
1051
|
+
owner: z.ZodString;
|
|
1052
|
+
creation: z.ZodString;
|
|
1053
|
+
modified: z.ZodString;
|
|
1054
|
+
modified_by: z.ZodString;
|
|
1055
|
+
idx: z.ZodNumber;
|
|
1056
|
+
}, "strip", z.ZodTypeAny, {
|
|
1057
|
+
name: string;
|
|
1058
|
+
owner: string;
|
|
1059
|
+
creation: string;
|
|
1060
|
+
modified: string;
|
|
1061
|
+
modified_by: string;
|
|
1062
|
+
idx: number;
|
|
1063
|
+
quantity: number;
|
|
1064
|
+
item: string;
|
|
1065
|
+
return_item: string;
|
|
1066
|
+
return_label?: string | null | undefined;
|
|
1067
|
+
}, {
|
|
1068
|
+
name: string;
|
|
1069
|
+
owner: string;
|
|
1070
|
+
creation: string;
|
|
1071
|
+
modified: string;
|
|
1072
|
+
modified_by: string;
|
|
1073
|
+
idx: number;
|
|
1074
|
+
quantity: number;
|
|
1075
|
+
item: string;
|
|
1076
|
+
return_item: string;
|
|
1077
|
+
return_label?: string | null | undefined;
|
|
1078
|
+
}>, "many">;
|
|
1071
1079
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1072
1080
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1073
1081
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1207,41 +1215,6 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1207
1215
|
creation: z.ZodString;
|
|
1208
1216
|
modified: z.ZodString;
|
|
1209
1217
|
modified_by: z.ZodString;
|
|
1210
|
-
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1211
|
-
item: z.ZodString;
|
|
1212
|
-
return_item: z.ZodString;
|
|
1213
|
-
quantity: z.ZodNumber;
|
|
1214
|
-
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1215
|
-
} & {
|
|
1216
|
-
name: z.ZodString;
|
|
1217
|
-
owner: z.ZodString;
|
|
1218
|
-
creation: z.ZodString;
|
|
1219
|
-
modified: z.ZodString;
|
|
1220
|
-
modified_by: z.ZodString;
|
|
1221
|
-
idx: z.ZodNumber;
|
|
1222
|
-
}, "strip", z.ZodTypeAny, {
|
|
1223
|
-
name: string;
|
|
1224
|
-
owner: string;
|
|
1225
|
-
creation: string;
|
|
1226
|
-
modified: string;
|
|
1227
|
-
modified_by: string;
|
|
1228
|
-
idx: number;
|
|
1229
|
-
quantity: number;
|
|
1230
|
-
item: string;
|
|
1231
|
-
return_item: string;
|
|
1232
|
-
return_label?: string | null | undefined;
|
|
1233
|
-
}, {
|
|
1234
|
-
name: string;
|
|
1235
|
-
owner: string;
|
|
1236
|
-
creation: string;
|
|
1237
|
-
modified: string;
|
|
1238
|
-
modified_by: string;
|
|
1239
|
-
idx: number;
|
|
1240
|
-
quantity: number;
|
|
1241
|
-
item: string;
|
|
1242
|
-
return_item: string;
|
|
1243
|
-
return_label?: string | null | undefined;
|
|
1244
|
-
}>, "many">;
|
|
1245
1218
|
} & {
|
|
1246
1219
|
return_items: z.ZodArray<z.ZodObject<{
|
|
1247
1220
|
item: z.ZodString;
|
|
@@ -1332,6 +1305,41 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1332
1305
|
attachments_collection_name?: string | null | undefined;
|
|
1333
1306
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1334
1307
|
}>, "many">;
|
|
1308
|
+
return_shipping_items: z.ZodArray<z.ZodObject<{
|
|
1309
|
+
item: z.ZodString;
|
|
1310
|
+
return_item: z.ZodString;
|
|
1311
|
+
quantity: z.ZodNumber;
|
|
1312
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1313
|
+
} & {
|
|
1314
|
+
name: z.ZodString;
|
|
1315
|
+
owner: z.ZodString;
|
|
1316
|
+
creation: z.ZodString;
|
|
1317
|
+
modified: z.ZodString;
|
|
1318
|
+
modified_by: z.ZodString;
|
|
1319
|
+
idx: z.ZodNumber;
|
|
1320
|
+
}, "strip", z.ZodTypeAny, {
|
|
1321
|
+
name: string;
|
|
1322
|
+
owner: string;
|
|
1323
|
+
creation: string;
|
|
1324
|
+
modified: string;
|
|
1325
|
+
modified_by: string;
|
|
1326
|
+
idx: number;
|
|
1327
|
+
quantity: number;
|
|
1328
|
+
item: string;
|
|
1329
|
+
return_item: string;
|
|
1330
|
+
return_label?: string | null | undefined;
|
|
1331
|
+
}, {
|
|
1332
|
+
name: string;
|
|
1333
|
+
owner: string;
|
|
1334
|
+
creation: string;
|
|
1335
|
+
modified: string;
|
|
1336
|
+
modified_by: string;
|
|
1337
|
+
idx: number;
|
|
1338
|
+
quantity: number;
|
|
1339
|
+
item: string;
|
|
1340
|
+
return_item: string;
|
|
1341
|
+
return_label?: string | null | undefined;
|
|
1342
|
+
}>, "many">;
|
|
1335
1343
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1336
1344
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
1337
1345
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -94,6 +94,7 @@ exports.ReturnItemBase = zod_1.z
|
|
|
94
94
|
})
|
|
95
95
|
.describe("ReturnItemBase");
|
|
96
96
|
exports.ReturnItemInput = exports.ReturnItemBase.extend({
|
|
97
|
+
name: zod_1.z.string().optional(),
|
|
97
98
|
is_complaint: zod_1.z.preprocess((i) => Number(i), zod_1.z.number()),
|
|
98
99
|
}).describe("ReturnItemInput");
|
|
99
100
|
exports.ReturnItem = exports.ReturnItemBase.extend({
|
|
@@ -171,6 +172,7 @@ exports.ServicecaseInput = exports.ServicecaseBase.extend({
|
|
|
171
172
|
}).describe("ServicecaseInput");
|
|
172
173
|
exports.ServicecaseExtended = exports.Servicecase.extend({
|
|
173
174
|
return_items: zod_1.z.array(exports.ReturnItemExtended),
|
|
175
|
+
return_shipping_items: zod_1.z.array(exports.ReturnShippingItem),
|
|
174
176
|
is_sent_to_client: zod_1.z.number().transform(Boolean),
|
|
175
177
|
is_sent_to_cc: zod_1.z.number().transform(Boolean),
|
|
176
178
|
}).describe("ServicecaseExtended");
|