erpnext-queue-client 1.19.2 → 1.19.4
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.
|
@@ -310,6 +310,8 @@ export declare class ERPNextServicecase {
|
|
|
310
310
|
batch_number?: string | null | undefined;
|
|
311
311
|
complaint_description?: string | null | undefined;
|
|
312
312
|
complaint_images?: string[] | null | undefined;
|
|
313
|
+
attachments_collection_name?: string | null | undefined;
|
|
314
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
313
315
|
}[];
|
|
314
316
|
is_complaint?: boolean | null | undefined;
|
|
315
317
|
external_id?: string | null | undefined;
|
|
@@ -670,7 +670,9 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
670
670
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
671
671
|
}, "attachments" | "internal_reasons">, {
|
|
672
672
|
attachments: z.ZodArray<z.ZodString, "many">;
|
|
673
|
+
attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
673
674
|
internal_reasons: z.ZodArray<z.ZodString, "many">;
|
|
675
|
+
internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
674
676
|
}>, "strip", z.ZodTypeAny, {
|
|
675
677
|
name: string;
|
|
676
678
|
owner: string;
|
|
@@ -691,6 +693,8 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
691
693
|
batch_number?: string | null | undefined;
|
|
692
694
|
complaint_description?: string | null | undefined;
|
|
693
695
|
complaint_images?: string[] | null | undefined;
|
|
696
|
+
attachments_collection_name?: string | null | undefined;
|
|
697
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
694
698
|
}, {
|
|
695
699
|
name: string;
|
|
696
700
|
owner: string;
|
|
@@ -711,6 +715,8 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
711
715
|
batch_number?: string | null | undefined;
|
|
712
716
|
complaint_description?: string | null | undefined;
|
|
713
717
|
complaint_images?: string[] | null | undefined;
|
|
718
|
+
attachments_collection_name?: string | null | undefined;
|
|
719
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
714
720
|
}>, "many">;
|
|
715
721
|
}>, "strip", z.ZodTypeAny, {
|
|
716
722
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
@@ -744,6 +750,8 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
744
750
|
batch_number?: string | null | undefined;
|
|
745
751
|
complaint_description?: string | null | undefined;
|
|
746
752
|
complaint_images?: string[] | null | undefined;
|
|
753
|
+
attachments_collection_name?: string | null | undefined;
|
|
754
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
747
755
|
}[];
|
|
748
756
|
is_complaint?: boolean | null | undefined;
|
|
749
757
|
external_id?: string | null | undefined;
|
|
@@ -783,6 +791,8 @@ export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
783
791
|
batch_number?: string | null | undefined;
|
|
784
792
|
complaint_description?: string | null | undefined;
|
|
785
793
|
complaint_images?: string[] | null | undefined;
|
|
794
|
+
attachments_collection_name?: string | null | undefined;
|
|
795
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
786
796
|
}[];
|
|
787
797
|
status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
|
|
788
798
|
is_complaint?: number | null | undefined;
|
|
@@ -900,7 +910,9 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
900
910
|
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
901
911
|
}, "attachments" | "internal_reasons">, {
|
|
902
912
|
attachments: z.ZodArray<z.ZodString, "many">;
|
|
913
|
+
attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
903
914
|
internal_reasons: z.ZodArray<z.ZodString, "many">;
|
|
915
|
+
internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
904
916
|
}>, "strip", z.ZodTypeAny, {
|
|
905
917
|
name: string;
|
|
906
918
|
owner: string;
|
|
@@ -921,6 +933,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
921
933
|
batch_number?: string | null | undefined;
|
|
922
934
|
complaint_description?: string | null | undefined;
|
|
923
935
|
complaint_images?: string[] | null | undefined;
|
|
936
|
+
attachments_collection_name?: string | null | undefined;
|
|
937
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
924
938
|
}, {
|
|
925
939
|
name: string;
|
|
926
940
|
owner: string;
|
|
@@ -941,6 +955,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
941
955
|
batch_number?: string | null | undefined;
|
|
942
956
|
complaint_description?: string | null | undefined;
|
|
943
957
|
complaint_images?: string[] | null | undefined;
|
|
958
|
+
attachments_collection_name?: string | null | undefined;
|
|
959
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
944
960
|
}>, "many">;
|
|
945
961
|
}>, "strip", z.ZodTypeAny, {
|
|
946
962
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
@@ -974,6 +990,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
974
990
|
batch_number?: string | null | undefined;
|
|
975
991
|
complaint_description?: string | null | undefined;
|
|
976
992
|
complaint_images?: string[] | null | undefined;
|
|
993
|
+
attachments_collection_name?: string | null | undefined;
|
|
994
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
977
995
|
}[];
|
|
978
996
|
is_complaint?: boolean | null | undefined;
|
|
979
997
|
external_id?: string | null | undefined;
|
|
@@ -1013,6 +1031,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectU
|
|
|
1013
1031
|
batch_number?: string | null | undefined;
|
|
1014
1032
|
complaint_description?: string | null | undefined;
|
|
1015
1033
|
complaint_images?: string[] | null | undefined;
|
|
1034
|
+
attachments_collection_name?: string | null | undefined;
|
|
1035
|
+
internal_reasons_collection_name?: string | null | undefined;
|
|
1016
1036
|
}[];
|
|
1017
1037
|
status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
|
|
1018
1038
|
is_complaint?: number | null | undefined;
|
|
@@ -148,7 +148,9 @@ exports.ServicecaseExtended = exports.Servicecase.omit({
|
|
|
148
148
|
.extend({
|
|
149
149
|
return_items: zod_1.z.array(exports.ReturnItem.omit({ attachments: true, internal_reasons: true }).extend({
|
|
150
150
|
attachments: zod_1.z.array(zod_1.z.string()),
|
|
151
|
+
attachments_collection_name: zod_1.z.string().optional().nullable(),
|
|
151
152
|
internal_reasons: zod_1.z.array(zod_1.z.string()),
|
|
153
|
+
internal_reasons_collection_name: zod_1.z.string().optional().nullable(),
|
|
152
154
|
})),
|
|
153
155
|
})
|
|
154
156
|
.describe("ServicecaseExtended");
|
|
@@ -102,12 +102,12 @@ export declare const LabelInfo: z.ZodObject<{
|
|
|
102
102
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
103
103
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
104
104
|
qrLink: z.ZodOptional<z.ZodString>;
|
|
105
|
-
shippingProvider: z.
|
|
105
|
+
shippingProvider: z.ZodString;
|
|
106
106
|
shouldNotifyCustomer: z.ZodOptional<z.ZodBoolean>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
labelData: string;
|
|
109
109
|
labelId: string;
|
|
110
|
-
shippingProvider:
|
|
110
|
+
shippingProvider: string;
|
|
111
111
|
trackingId?: string | undefined;
|
|
112
112
|
trackingUrl?: string | undefined;
|
|
113
113
|
qrLabel?: string | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const LabelInfo: z.ZodObject<{
|
|
|
116
116
|
}, {
|
|
117
117
|
labelData: string;
|
|
118
118
|
labelId: string;
|
|
119
|
-
shippingProvider:
|
|
119
|
+
shippingProvider: string;
|
|
120
120
|
trackingId?: string | undefined;
|
|
121
121
|
trackingUrl?: string | undefined;
|
|
122
122
|
qrLabel?: string | undefined;
|
|
@@ -47,7 +47,7 @@ exports.LabelInfo = zod_1.z
|
|
|
47
47
|
trackingUrl: zod_1.z.string().url().optional(),
|
|
48
48
|
qrLabel: zod_1.z.string().optional(),
|
|
49
49
|
qrLink: zod_1.z.string().optional(),
|
|
50
|
-
shippingProvider:
|
|
50
|
+
shippingProvider: zod_1.z.string(),
|
|
51
51
|
shouldNotifyCustomer: zod_1.z.boolean().optional(),
|
|
52
52
|
})
|
|
53
53
|
.describe("Label Info");
|