erpnext-queue-client 1.23.0 → 1.24.1
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.
|
@@ -41,6 +41,7 @@ export declare class ERPNextServicecase {
|
|
|
41
41
|
servicecase_solution?: string | null | undefined;
|
|
42
42
|
batch_number?: string | null | undefined;
|
|
43
43
|
complaint_description?: string | null | undefined;
|
|
44
|
+
return_label?: string | null | undefined;
|
|
44
45
|
}[];
|
|
45
46
|
external_id?: string | null | undefined;
|
|
46
47
|
customer_email?: string | null | undefined;
|
|
@@ -89,6 +90,7 @@ export declare class ERPNextServicecase {
|
|
|
89
90
|
servicecase_solution?: string | null | undefined;
|
|
90
91
|
batch_number?: string | null | undefined;
|
|
91
92
|
complaint_description?: string | null | undefined;
|
|
93
|
+
return_label?: string | null | undefined;
|
|
92
94
|
}[];
|
|
93
95
|
external_id?: string | null | undefined;
|
|
94
96
|
customer_email?: string | null | undefined;
|
|
@@ -132,6 +134,7 @@ export declare class ERPNextServicecase {
|
|
|
132
134
|
servicecase_solution?: string | null | undefined;
|
|
133
135
|
batch_number?: string | null | undefined;
|
|
134
136
|
complaint_description?: string | null | undefined;
|
|
137
|
+
return_label?: string | null | undefined;
|
|
135
138
|
}[];
|
|
136
139
|
external_id?: string | null | undefined;
|
|
137
140
|
customer_email?: string | null | undefined;
|
|
@@ -172,6 +175,7 @@ export declare class ERPNextServicecase {
|
|
|
172
175
|
servicecase_solution?: string | null | undefined;
|
|
173
176
|
batch_number?: string | null | undefined;
|
|
174
177
|
complaint_description?: string | null | undefined;
|
|
178
|
+
return_label?: string | null | undefined;
|
|
175
179
|
}[];
|
|
176
180
|
external_id?: string | null | undefined;
|
|
177
181
|
customer_email?: string | null | undefined;
|
|
@@ -217,6 +221,7 @@ export declare class ERPNextServicecase {
|
|
|
217
221
|
servicecase_solution?: string | null | undefined;
|
|
218
222
|
batch_number?: string | null | undefined;
|
|
219
223
|
complaint_description?: string | null | undefined;
|
|
224
|
+
return_label?: string | null | undefined;
|
|
220
225
|
}[];
|
|
221
226
|
external_id?: string | null | undefined;
|
|
222
227
|
customer_email?: string | null | undefined;
|
|
@@ -257,6 +262,7 @@ export declare class ERPNextServicecase {
|
|
|
257
262
|
servicecase_solution?: string | null | undefined;
|
|
258
263
|
batch_number?: string | null | undefined;
|
|
259
264
|
complaint_description?: string | null | undefined;
|
|
265
|
+
return_label?: string | null | undefined;
|
|
260
266
|
}[];
|
|
261
267
|
external_id?: string | null | undefined;
|
|
262
268
|
customer_email?: string | null | undefined;
|
|
@@ -303,6 +309,7 @@ export declare class ERPNextServicecase {
|
|
|
303
309
|
servicecase_solution?: string | null | undefined;
|
|
304
310
|
batch_number?: string | null | undefined;
|
|
305
311
|
complaint_description?: string | null | undefined;
|
|
312
|
+
return_label?: string | null | undefined;
|
|
306
313
|
attachments_collection_name?: string | null | undefined;
|
|
307
314
|
internal_reasons_collection_name?: string | null | undefined;
|
|
308
315
|
}[];
|
|
@@ -319,6 +326,7 @@ export declare class ERPNextServicecase {
|
|
|
319
326
|
modified: string;
|
|
320
327
|
modified_by: string;
|
|
321
328
|
attachments: {
|
|
329
|
+
type: "image" | "video";
|
|
322
330
|
url: string;
|
|
323
331
|
name: string;
|
|
324
332
|
owner: string;
|
|
@@ -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;
|
|
@@ -69,9 +74,12 @@ export declare const UpdateAttachmentCollectionInput: z.ZodArray<z.ZodObject<Omi
|
|
|
69
74
|
modified_by: z.ZodString;
|
|
70
75
|
idx: z.ZodNumber;
|
|
71
76
|
url: z.ZodString;
|
|
77
|
+
type: z.ZodEnum<["image", "video"]>;
|
|
72
78
|
}, "name" | "owner" | "creation" | "modified" | "modified_by" | "idx">, "strip", z.ZodTypeAny, {
|
|
79
|
+
type: "image" | "video";
|
|
73
80
|
url: string;
|
|
74
81
|
}, {
|
|
82
|
+
type: "image" | "video";
|
|
75
83
|
url: string;
|
|
76
84
|
}>, "many">;
|
|
77
85
|
export declare const InternalReasonCollection: z.ZodObject<{
|
|
@@ -162,6 +170,7 @@ export declare const ReturnItemBase: z.ZodObject<{
|
|
|
162
170
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
163
171
|
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
172
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
173
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
174
|
}, "strip", z.ZodTypeAny, {
|
|
166
175
|
item: string;
|
|
167
176
|
return_quantity: number;
|
|
@@ -175,6 +184,7 @@ export declare const ReturnItemBase: z.ZodObject<{
|
|
|
175
184
|
servicecase_solution?: string | null | undefined;
|
|
176
185
|
batch_number?: string | null | undefined;
|
|
177
186
|
complaint_description?: string | null | undefined;
|
|
187
|
+
return_label?: string | null | undefined;
|
|
178
188
|
}, {
|
|
179
189
|
item: string;
|
|
180
190
|
return_quantity: number;
|
|
@@ -188,6 +198,7 @@ export declare const ReturnItemBase: z.ZodObject<{
|
|
|
188
198
|
servicecase_solution?: string | null | undefined;
|
|
189
199
|
batch_number?: string | null | undefined;
|
|
190
200
|
complaint_description?: string | null | undefined;
|
|
201
|
+
return_label?: string | null | undefined;
|
|
191
202
|
}>;
|
|
192
203
|
export type ReturnItemBaseType = z.infer<typeof ReturnItemBase>;
|
|
193
204
|
export declare const ReturnItemInput: z.ZodObject<{
|
|
@@ -202,6 +213,7 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
202
213
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
203
214
|
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
204
215
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
216
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
205
217
|
} & {
|
|
206
218
|
is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
207
219
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -217,6 +229,7 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
217
229
|
servicecase_solution?: string | null | undefined;
|
|
218
230
|
batch_number?: string | null | undefined;
|
|
219
231
|
complaint_description?: string | null | undefined;
|
|
232
|
+
return_label?: string | null | undefined;
|
|
220
233
|
}, {
|
|
221
234
|
item: string;
|
|
222
235
|
return_quantity: number;
|
|
@@ -230,6 +243,7 @@ export declare const ReturnItemInput: z.ZodObject<{
|
|
|
230
243
|
servicecase_solution?: string | null | undefined;
|
|
231
244
|
batch_number?: string | null | undefined;
|
|
232
245
|
complaint_description?: string | null | undefined;
|
|
246
|
+
return_label?: string | null | undefined;
|
|
233
247
|
}>;
|
|
234
248
|
export type ReturnItemInputType = z.infer<typeof ReturnItemInput>;
|
|
235
249
|
export declare const ReturnItem: z.ZodObject<{
|
|
@@ -245,6 +259,7 @@ export declare const ReturnItem: z.ZodObject<{
|
|
|
245
259
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
246
260
|
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
247
261
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
262
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
248
263
|
} & {
|
|
249
264
|
name: z.ZodString;
|
|
250
265
|
owner: z.ZodString;
|
|
@@ -271,6 +286,7 @@ export declare const ReturnItem: z.ZodObject<{
|
|
|
271
286
|
servicecase_solution?: string | null | undefined;
|
|
272
287
|
batch_number?: string | null | undefined;
|
|
273
288
|
complaint_description?: string | null | undefined;
|
|
289
|
+
return_label?: string | null | undefined;
|
|
274
290
|
}, {
|
|
275
291
|
name: string;
|
|
276
292
|
owner: string;
|
|
@@ -290,6 +306,7 @@ export declare const ReturnItem: z.ZodObject<{
|
|
|
290
306
|
servicecase_solution?: string | null | undefined;
|
|
291
307
|
batch_number?: string | null | undefined;
|
|
292
308
|
complaint_description?: string | null | undefined;
|
|
309
|
+
return_label?: string | null | undefined;
|
|
293
310
|
}>;
|
|
294
311
|
export type ReturnItemType = z.infer<typeof ReturnItem>;
|
|
295
312
|
export declare const ReturnItemExtended: z.ZodObject<{
|
|
@@ -302,6 +319,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
302
319
|
servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
303
320
|
batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
304
321
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
322
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
305
323
|
} & {
|
|
306
324
|
name: z.ZodString;
|
|
307
325
|
owner: z.ZodString;
|
|
@@ -345,6 +363,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
345
363
|
servicecase_solution?: string | null | undefined;
|
|
346
364
|
batch_number?: string | null | undefined;
|
|
347
365
|
complaint_description?: string | null | undefined;
|
|
366
|
+
return_label?: string | null | undefined;
|
|
348
367
|
attachments_collection_name?: string | null | undefined;
|
|
349
368
|
internal_reasons_collection_name?: string | null | undefined;
|
|
350
369
|
}, {
|
|
@@ -369,6 +388,7 @@ export declare const ReturnItemExtended: z.ZodObject<{
|
|
|
369
388
|
servicecase_solution?: string | null | undefined;
|
|
370
389
|
batch_number?: string | null | undefined;
|
|
371
390
|
complaint_description?: string | null | undefined;
|
|
391
|
+
return_label?: string | null | undefined;
|
|
372
392
|
attachments_collection_name?: string | null | undefined;
|
|
373
393
|
internal_reasons_collection_name?: string | null | undefined;
|
|
374
394
|
}>;
|
|
@@ -448,6 +468,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
448
468
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
449
469
|
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
450
470
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
471
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
451
472
|
} & {
|
|
452
473
|
name: z.ZodString;
|
|
453
474
|
owner: z.ZodString;
|
|
@@ -474,6 +495,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
474
495
|
servicecase_solution?: string | null | undefined;
|
|
475
496
|
batch_number?: string | null | undefined;
|
|
476
497
|
complaint_description?: string | null | undefined;
|
|
498
|
+
return_label?: string | null | undefined;
|
|
477
499
|
}, {
|
|
478
500
|
name: string;
|
|
479
501
|
owner: string;
|
|
@@ -493,6 +515,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
493
515
|
servicecase_solution?: string | null | undefined;
|
|
494
516
|
batch_number?: string | null | undefined;
|
|
495
517
|
complaint_description?: string | null | undefined;
|
|
518
|
+
return_label?: string | null | undefined;
|
|
496
519
|
}>, "many">;
|
|
497
520
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
498
521
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
@@ -529,6 +552,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
529
552
|
servicecase_solution?: string | null | undefined;
|
|
530
553
|
batch_number?: string | null | undefined;
|
|
531
554
|
complaint_description?: string | null | undefined;
|
|
555
|
+
return_label?: string | null | undefined;
|
|
532
556
|
}[];
|
|
533
557
|
external_id?: string | null | undefined;
|
|
534
558
|
customer_email?: string | null | undefined;
|
|
@@ -566,6 +590,7 @@ export declare const Servicecase: z.ZodObject<{
|
|
|
566
590
|
servicecase_solution?: string | null | undefined;
|
|
567
591
|
batch_number?: string | null | undefined;
|
|
568
592
|
complaint_description?: string | null | undefined;
|
|
593
|
+
return_label?: string | null | undefined;
|
|
569
594
|
}[];
|
|
570
595
|
status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
|
|
571
596
|
external_id?: string | null | undefined;
|
|
@@ -601,6 +626,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
601
626
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
602
627
|
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
603
628
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
629
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
604
630
|
} & {
|
|
605
631
|
is_complaint: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
606
632
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -616,6 +642,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
616
642
|
servicecase_solution?: string | null | undefined;
|
|
617
643
|
batch_number?: string | null | undefined;
|
|
618
644
|
complaint_description?: string | null | undefined;
|
|
645
|
+
return_label?: string | null | undefined;
|
|
619
646
|
}, {
|
|
620
647
|
item: string;
|
|
621
648
|
return_quantity: number;
|
|
@@ -629,6 +656,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
629
656
|
servicecase_solution?: string | null | undefined;
|
|
630
657
|
batch_number?: string | null | undefined;
|
|
631
658
|
complaint_description?: string | null | undefined;
|
|
659
|
+
return_label?: string | null | undefined;
|
|
632
660
|
}>, "many">;
|
|
633
661
|
is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
634
662
|
is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -654,6 +682,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
654
682
|
servicecase_solution?: string | null | undefined;
|
|
655
683
|
batch_number?: string | null | undefined;
|
|
656
684
|
complaint_description?: string | null | undefined;
|
|
685
|
+
return_label?: string | null | undefined;
|
|
657
686
|
}[];
|
|
658
687
|
external_id?: string | null | undefined;
|
|
659
688
|
customer_email?: string | null | undefined;
|
|
@@ -678,6 +707,7 @@ export declare const ServicecaseInput: z.ZodObject<{
|
|
|
678
707
|
servicecase_solution?: string | null | undefined;
|
|
679
708
|
batch_number?: string | null | undefined;
|
|
680
709
|
complaint_description?: string | null | undefined;
|
|
710
|
+
return_label?: string | null | undefined;
|
|
681
711
|
}[];
|
|
682
712
|
status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
|
|
683
713
|
external_id?: string | null | undefined;
|
|
@@ -718,6 +748,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
718
748
|
servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
719
749
|
batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
720
750
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
751
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
721
752
|
} & {
|
|
722
753
|
name: z.ZodString;
|
|
723
754
|
owner: z.ZodString;
|
|
@@ -761,6 +792,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
761
792
|
servicecase_solution?: string | null | undefined;
|
|
762
793
|
batch_number?: string | null | undefined;
|
|
763
794
|
complaint_description?: string | null | undefined;
|
|
795
|
+
return_label?: string | null | undefined;
|
|
764
796
|
attachments_collection_name?: string | null | undefined;
|
|
765
797
|
internal_reasons_collection_name?: string | null | undefined;
|
|
766
798
|
}, {
|
|
@@ -785,6 +817,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
785
817
|
servicecase_solution?: string | null | undefined;
|
|
786
818
|
batch_number?: string | null | undefined;
|
|
787
819
|
complaint_description?: string | null | undefined;
|
|
820
|
+
return_label?: string | null | undefined;
|
|
788
821
|
attachments_collection_name?: string | null | undefined;
|
|
789
822
|
internal_reasons_collection_name?: string | null | undefined;
|
|
790
823
|
}>, "many">;
|
|
@@ -826,6 +859,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
826
859
|
servicecase_solution?: string | null | undefined;
|
|
827
860
|
batch_number?: string | null | undefined;
|
|
828
861
|
complaint_description?: string | null | undefined;
|
|
862
|
+
return_label?: string | null | undefined;
|
|
829
863
|
attachments_collection_name?: string | null | undefined;
|
|
830
864
|
internal_reasons_collection_name?: string | null | undefined;
|
|
831
865
|
}[];
|
|
@@ -868,6 +902,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
|
|
|
868
902
|
servicecase_solution?: string | null | undefined;
|
|
869
903
|
batch_number?: string | null | undefined;
|
|
870
904
|
complaint_description?: string | null | undefined;
|
|
905
|
+
return_label?: string | null | undefined;
|
|
871
906
|
attachments_collection_name?: string | null | undefined;
|
|
872
907
|
internal_reasons_collection_name?: string | null | undefined;
|
|
873
908
|
}[];
|
|
@@ -908,6 +943,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
908
943
|
servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
909
944
|
batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
910
945
|
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
946
|
+
return_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
911
947
|
} & {
|
|
912
948
|
name: z.ZodString;
|
|
913
949
|
owner: z.ZodString;
|
|
@@ -951,6 +987,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
951
987
|
servicecase_solution?: string | null | undefined;
|
|
952
988
|
batch_number?: string | null | undefined;
|
|
953
989
|
complaint_description?: string | null | undefined;
|
|
990
|
+
return_label?: string | null | undefined;
|
|
954
991
|
attachments_collection_name?: string | null | undefined;
|
|
955
992
|
internal_reasons_collection_name?: string | null | undefined;
|
|
956
993
|
}, {
|
|
@@ -975,6 +1012,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
975
1012
|
servicecase_solution?: string | null | undefined;
|
|
976
1013
|
batch_number?: string | null | undefined;
|
|
977
1014
|
complaint_description?: string | null | undefined;
|
|
1015
|
+
return_label?: string | null | undefined;
|
|
978
1016
|
attachments_collection_name?: string | null | undefined;
|
|
979
1017
|
internal_reasons_collection_name?: string | null | undefined;
|
|
980
1018
|
}>, "many">;
|
|
@@ -1016,6 +1054,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1016
1054
|
servicecase_solution?: string | null | undefined;
|
|
1017
1055
|
batch_number?: string | null | undefined;
|
|
1018
1056
|
complaint_description?: string | null | undefined;
|
|
1057
|
+
return_label?: string | null | undefined;
|
|
1019
1058
|
attachments_collection_name?: string | null | undefined;
|
|
1020
1059
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1021
1060
|
}[];
|
|
@@ -1058,6 +1097,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
|
|
|
1058
1097
|
servicecase_solution?: string | null | undefined;
|
|
1059
1098
|
batch_number?: string | null | undefined;
|
|
1060
1099
|
complaint_description?: string | null | undefined;
|
|
1100
|
+
return_label?: string | null | undefined;
|
|
1061
1101
|
attachments_collection_name?: string | null | undefined;
|
|
1062
1102
|
internal_reasons_collection_name?: string | null | undefined;
|
|
1063
1103
|
}[];
|
|
@@ -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({
|
|
@@ -90,6 +91,7 @@ exports.ReturnItemBase = zod_1.z
|
|
|
90
91
|
complaint_description: zod_1.z.string().optional().nullable(),
|
|
91
92
|
internal_reasons: zod_1.z.string().optional().nullable(),
|
|
92
93
|
attachments: zod_1.z.string().optional().nullable(),
|
|
94
|
+
return_label: zod_1.z.string().optional().nullable(),
|
|
93
95
|
})
|
|
94
96
|
.describe("ReturnItemBase");
|
|
95
97
|
exports.ReturnItemInput = exports.ReturnItemBase.extend({
|