@kl1/contracts 1.3.36 → 1.3.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/contract.d.ts +422 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +3 -0
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +1 -0
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +420 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +369 -0
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/index.js +29 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1862,17 +1862,20 @@ export declare const dashboardContract: {
|
|
1862
1862
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
1863
1863
|
selectedDate: z.ZodString;
|
1864
1864
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1865
|
+
channelCountsFilter: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"channelName">, z.ZodLiteral<"channelType">]>>>;
|
1865
1866
|
fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
|
1866
1867
|
}, "strip", z.ZodTypeAny, {
|
1867
1868
|
selectedDate: string;
|
1868
1869
|
fileExtension: "csv" | "xlsx";
|
1869
1870
|
automationQueueId?: string | undefined;
|
1870
1871
|
channelIds?: string[] | undefined;
|
1872
|
+
channelCountsFilter?: "channelType" | "channelName" | undefined;
|
1871
1873
|
}, {
|
1872
1874
|
selectedDate: string;
|
1873
1875
|
fileExtension: "csv" | "xlsx";
|
1874
1876
|
automationQueueId?: string | undefined;
|
1875
1877
|
channelIds?: string[] | undefined;
|
1878
|
+
channelCountsFilter?: "channelType" | "channelName" | undefined;
|
1876
1879
|
}>;
|
1877
1880
|
responses: {
|
1878
1881
|
200: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAE1B,4BAA4B,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAE1B,4BAA4B,EAE7B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,cAAc,EAGd,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAIlB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,4BAA4B,CACpC,CAAC;AACF,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;;;;;;;;;;CAmhB7B,CAAC"}
|
@@ -106,4 +106,5 @@ export declare const MessageDashboardDetailsQuerySchema: z.ZodObject<{
|
|
106
106
|
automationQueueId?: string | undefined;
|
107
107
|
channelIds?: string[] | undefined;
|
108
108
|
}>;
|
109
|
+
export declare const ChannelCountsFilterSchema: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"channelName">, z.ZodLiteral<"channelType">]>>>;
|
109
110
|
//# sourceMappingURL=validation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI3C,CAAC;AAEL,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAIvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;GAKlC,CAAC;AAEf,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAK5C,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAC"}
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI3C,CAAC;AAEL,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAIvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;GAKlC,CAAC;AAEf,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAK5C,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAC;AAEH,eAAO,MAAM,yBAAyB,qGAGzB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import {
|
2
|
+
import { PresenceStatusSchema, TPresenceStatusOption } from './schema';
|
3
3
|
import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
|
4
4
|
export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
|
5
5
|
export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
|
@@ -624,5 +624,424 @@ export declare const presenceStatusContract: {
|
|
624
624
|
'x-client-timezone'?: string | undefined;
|
625
625
|
}>>>;
|
626
626
|
};
|
627
|
+
getAllUserPresenceStatus: {
|
628
|
+
summary: "Get all users presence status";
|
629
|
+
method: "GET";
|
630
|
+
responses: {
|
631
|
+
200: z.ZodArray<z.ZodObject<{
|
632
|
+
id: z.ZodString;
|
633
|
+
createdAt: z.ZodDate;
|
634
|
+
updatedAt: z.ZodDate;
|
635
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
636
|
+
userId: z.ZodString;
|
637
|
+
user: z.ZodObject<{
|
638
|
+
name: z.ZodString;
|
639
|
+
id: z.ZodString;
|
640
|
+
address: z.ZodNullable<z.ZodString>;
|
641
|
+
email: z.ZodString;
|
642
|
+
createdAt: z.ZodDate;
|
643
|
+
updatedAt: z.ZodDate;
|
644
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
645
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
646
|
+
password: z.ZodString;
|
647
|
+
phone: z.ZodNullable<z.ZodString>;
|
648
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
649
|
+
roles: z.ZodArray<z.ZodObject<{
|
650
|
+
id: z.ZodString;
|
651
|
+
createdAt: z.ZodDate;
|
652
|
+
updatedAt: z.ZodDate;
|
653
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
654
|
+
systemName: z.ZodString;
|
655
|
+
displayName: z.ZodString;
|
656
|
+
description: z.ZodNullable<z.ZodString>;
|
657
|
+
permissions: z.ZodArray<z.ZodObject<{
|
658
|
+
id: z.ZodString;
|
659
|
+
createdAt: z.ZodDate;
|
660
|
+
updatedAt: z.ZodDate;
|
661
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
662
|
+
systemName: z.ZodString;
|
663
|
+
displayName: z.ZodString;
|
664
|
+
description: z.ZodNullable<z.ZodString>;
|
665
|
+
}, "strip", z.ZodTypeAny, {
|
666
|
+
id: string;
|
667
|
+
description: string | null;
|
668
|
+
createdAt: Date;
|
669
|
+
updatedAt: Date;
|
670
|
+
deletedAt: Date | null;
|
671
|
+
systemName: string;
|
672
|
+
displayName: string;
|
673
|
+
}, {
|
674
|
+
id: string;
|
675
|
+
description: string | null;
|
676
|
+
createdAt: Date;
|
677
|
+
updatedAt: Date;
|
678
|
+
deletedAt: Date | null;
|
679
|
+
systemName: string;
|
680
|
+
displayName: string;
|
681
|
+
}>, "many">;
|
682
|
+
}, "strip", z.ZodTypeAny, {
|
683
|
+
id: string;
|
684
|
+
description: string | null;
|
685
|
+
createdAt: Date;
|
686
|
+
updatedAt: Date;
|
687
|
+
deletedAt: Date | null;
|
688
|
+
systemName: string;
|
689
|
+
displayName: string;
|
690
|
+
permissions: {
|
691
|
+
id: string;
|
692
|
+
description: string | null;
|
693
|
+
createdAt: Date;
|
694
|
+
updatedAt: Date;
|
695
|
+
deletedAt: Date | null;
|
696
|
+
systemName: string;
|
697
|
+
displayName: string;
|
698
|
+
}[];
|
699
|
+
}, {
|
700
|
+
id: string;
|
701
|
+
description: string | null;
|
702
|
+
createdAt: Date;
|
703
|
+
updatedAt: Date;
|
704
|
+
deletedAt: Date | null;
|
705
|
+
systemName: string;
|
706
|
+
displayName: string;
|
707
|
+
permissions: {
|
708
|
+
id: string;
|
709
|
+
description: string | null;
|
710
|
+
createdAt: Date;
|
711
|
+
updatedAt: Date;
|
712
|
+
deletedAt: Date | null;
|
713
|
+
systemName: string;
|
714
|
+
displayName: string;
|
715
|
+
}[];
|
716
|
+
}>, "many">;
|
717
|
+
extension: z.ZodObject<{
|
718
|
+
id: z.ZodString;
|
719
|
+
createdAt: z.ZodDate;
|
720
|
+
updatedAt: z.ZodDate;
|
721
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
722
|
+
userId: z.ZodNullable<z.ZodString>;
|
723
|
+
sipServerUrl: z.ZodString;
|
724
|
+
sipUserName: z.ZodString;
|
725
|
+
webphoneLoginUser: z.ZodString;
|
726
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
727
|
+
extensionName: z.ZodString;
|
728
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
730
|
+
id: string;
|
731
|
+
createdAt: Date;
|
732
|
+
updatedAt: Date;
|
733
|
+
deletedAt: Date | null;
|
734
|
+
userId: string | null;
|
735
|
+
sipServerUrl: string;
|
736
|
+
sipUserName: string;
|
737
|
+
webphoneLoginUser: string;
|
738
|
+
extensionId: string | null;
|
739
|
+
extensionName: string;
|
740
|
+
telephonySignature: string | null;
|
741
|
+
}, {
|
742
|
+
id: string;
|
743
|
+
createdAt: Date;
|
744
|
+
updatedAt: Date;
|
745
|
+
deletedAt: Date | null;
|
746
|
+
userId: string | null;
|
747
|
+
sipServerUrl: string;
|
748
|
+
sipUserName: string;
|
749
|
+
webphoneLoginUser: string;
|
750
|
+
extensionId: string | null;
|
751
|
+
extensionName: string;
|
752
|
+
telephonySignature: string | null;
|
753
|
+
}>;
|
754
|
+
}, "strip", z.ZodTypeAny, {
|
755
|
+
name: string;
|
756
|
+
id: string;
|
757
|
+
address: string | null;
|
758
|
+
email: string;
|
759
|
+
createdAt: Date;
|
760
|
+
updatedAt: Date;
|
761
|
+
deletedAt: Date | null;
|
762
|
+
emailVerifiedAt: Date | null;
|
763
|
+
password: string;
|
764
|
+
phone: string | null;
|
765
|
+
notificationCount: number | null;
|
766
|
+
roles: {
|
767
|
+
id: string;
|
768
|
+
description: string | null;
|
769
|
+
createdAt: Date;
|
770
|
+
updatedAt: Date;
|
771
|
+
deletedAt: Date | null;
|
772
|
+
systemName: string;
|
773
|
+
displayName: string;
|
774
|
+
permissions: {
|
775
|
+
id: string;
|
776
|
+
description: string | null;
|
777
|
+
createdAt: Date;
|
778
|
+
updatedAt: Date;
|
779
|
+
deletedAt: Date | null;
|
780
|
+
systemName: string;
|
781
|
+
displayName: string;
|
782
|
+
}[];
|
783
|
+
}[];
|
784
|
+
extension: {
|
785
|
+
id: string;
|
786
|
+
createdAt: Date;
|
787
|
+
updatedAt: Date;
|
788
|
+
deletedAt: Date | null;
|
789
|
+
userId: string | null;
|
790
|
+
sipServerUrl: string;
|
791
|
+
sipUserName: string;
|
792
|
+
webphoneLoginUser: string;
|
793
|
+
extensionId: string | null;
|
794
|
+
extensionName: string;
|
795
|
+
telephonySignature: string | null;
|
796
|
+
};
|
797
|
+
}, {
|
798
|
+
name: string;
|
799
|
+
id: string;
|
800
|
+
address: string | null;
|
801
|
+
email: string;
|
802
|
+
createdAt: Date;
|
803
|
+
updatedAt: Date;
|
804
|
+
deletedAt: Date | null;
|
805
|
+
emailVerifiedAt: Date | null;
|
806
|
+
password: string;
|
807
|
+
phone: string | null;
|
808
|
+
notificationCount: number | null;
|
809
|
+
roles: {
|
810
|
+
id: string;
|
811
|
+
description: string | null;
|
812
|
+
createdAt: Date;
|
813
|
+
updatedAt: Date;
|
814
|
+
deletedAt: Date | null;
|
815
|
+
systemName: string;
|
816
|
+
displayName: string;
|
817
|
+
permissions: {
|
818
|
+
id: string;
|
819
|
+
description: string | null;
|
820
|
+
createdAt: Date;
|
821
|
+
updatedAt: Date;
|
822
|
+
deletedAt: Date | null;
|
823
|
+
systemName: string;
|
824
|
+
displayName: string;
|
825
|
+
}[];
|
826
|
+
}[];
|
827
|
+
extension: {
|
828
|
+
id: string;
|
829
|
+
createdAt: Date;
|
830
|
+
updatedAt: Date;
|
831
|
+
deletedAt: Date | null;
|
832
|
+
userId: string | null;
|
833
|
+
sipServerUrl: string;
|
834
|
+
sipUserName: string;
|
835
|
+
webphoneLoginUser: string;
|
836
|
+
extensionId: string | null;
|
837
|
+
extensionName: string;
|
838
|
+
telephonySignature: string | null;
|
839
|
+
};
|
840
|
+
}>;
|
841
|
+
presenceStatus: z.ZodObject<{
|
842
|
+
id: z.ZodString;
|
843
|
+
createdAt: z.ZodDate;
|
844
|
+
updatedAt: z.ZodDate;
|
845
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
846
|
+
systemName: z.ZodString;
|
847
|
+
displayName: z.ZodString;
|
848
|
+
description: z.ZodNullable<z.ZodString>;
|
849
|
+
position: z.ZodNumber;
|
850
|
+
emoji: z.ZodNullable<z.ZodString>;
|
851
|
+
presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
|
852
|
+
}, "strip", z.ZodTypeAny, {
|
853
|
+
emoji: string | null;
|
854
|
+
id: string;
|
855
|
+
position: number;
|
856
|
+
description: string | null;
|
857
|
+
createdAt: Date;
|
858
|
+
updatedAt: Date;
|
859
|
+
deletedAt: Date | null;
|
860
|
+
systemName: string;
|
861
|
+
displayName: string;
|
862
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
863
|
+
}, {
|
864
|
+
emoji: string | null;
|
865
|
+
id: string;
|
866
|
+
position: number;
|
867
|
+
description: string | null;
|
868
|
+
createdAt: Date;
|
869
|
+
updatedAt: Date;
|
870
|
+
deletedAt: Date | null;
|
871
|
+
systemName: string;
|
872
|
+
displayName: string;
|
873
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
874
|
+
}>;
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
876
|
+
id: string;
|
877
|
+
user: {
|
878
|
+
name: string;
|
879
|
+
id: string;
|
880
|
+
address: string | null;
|
881
|
+
email: string;
|
882
|
+
createdAt: Date;
|
883
|
+
updatedAt: Date;
|
884
|
+
deletedAt: Date | null;
|
885
|
+
emailVerifiedAt: Date | null;
|
886
|
+
password: string;
|
887
|
+
phone: string | null;
|
888
|
+
notificationCount: number | null;
|
889
|
+
roles: {
|
890
|
+
id: string;
|
891
|
+
description: string | null;
|
892
|
+
createdAt: Date;
|
893
|
+
updatedAt: Date;
|
894
|
+
deletedAt: Date | null;
|
895
|
+
systemName: string;
|
896
|
+
displayName: string;
|
897
|
+
permissions: {
|
898
|
+
id: string;
|
899
|
+
description: string | null;
|
900
|
+
createdAt: Date;
|
901
|
+
updatedAt: Date;
|
902
|
+
deletedAt: Date | null;
|
903
|
+
systemName: string;
|
904
|
+
displayName: string;
|
905
|
+
}[];
|
906
|
+
}[];
|
907
|
+
extension: {
|
908
|
+
id: string;
|
909
|
+
createdAt: Date;
|
910
|
+
updatedAt: Date;
|
911
|
+
deletedAt: Date | null;
|
912
|
+
userId: string | null;
|
913
|
+
sipServerUrl: string;
|
914
|
+
sipUserName: string;
|
915
|
+
webphoneLoginUser: string;
|
916
|
+
extensionId: string | null;
|
917
|
+
extensionName: string;
|
918
|
+
telephonySignature: string | null;
|
919
|
+
};
|
920
|
+
};
|
921
|
+
createdAt: Date;
|
922
|
+
updatedAt: Date;
|
923
|
+
deletedAt: Date | null;
|
924
|
+
userId: string;
|
925
|
+
presenceStatus: {
|
926
|
+
emoji: string | null;
|
927
|
+
id: string;
|
928
|
+
position: number;
|
929
|
+
description: string | null;
|
930
|
+
createdAt: Date;
|
931
|
+
updatedAt: Date;
|
932
|
+
deletedAt: Date | null;
|
933
|
+
systemName: string;
|
934
|
+
displayName: string;
|
935
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
936
|
+
};
|
937
|
+
}, {
|
938
|
+
id: string;
|
939
|
+
user: {
|
940
|
+
name: string;
|
941
|
+
id: string;
|
942
|
+
address: string | null;
|
943
|
+
email: string;
|
944
|
+
createdAt: Date;
|
945
|
+
updatedAt: Date;
|
946
|
+
deletedAt: Date | null;
|
947
|
+
emailVerifiedAt: Date | null;
|
948
|
+
password: string;
|
949
|
+
phone: string | null;
|
950
|
+
notificationCount: number | null;
|
951
|
+
roles: {
|
952
|
+
id: string;
|
953
|
+
description: string | null;
|
954
|
+
createdAt: Date;
|
955
|
+
updatedAt: Date;
|
956
|
+
deletedAt: Date | null;
|
957
|
+
systemName: string;
|
958
|
+
displayName: string;
|
959
|
+
permissions: {
|
960
|
+
id: string;
|
961
|
+
description: string | null;
|
962
|
+
createdAt: Date;
|
963
|
+
updatedAt: Date;
|
964
|
+
deletedAt: Date | null;
|
965
|
+
systemName: string;
|
966
|
+
displayName: string;
|
967
|
+
}[];
|
968
|
+
}[];
|
969
|
+
extension: {
|
970
|
+
id: string;
|
971
|
+
createdAt: Date;
|
972
|
+
updatedAt: Date;
|
973
|
+
deletedAt: Date | null;
|
974
|
+
userId: string | null;
|
975
|
+
sipServerUrl: string;
|
976
|
+
sipUserName: string;
|
977
|
+
webphoneLoginUser: string;
|
978
|
+
extensionId: string | null;
|
979
|
+
extensionName: string;
|
980
|
+
telephonySignature: string | null;
|
981
|
+
};
|
982
|
+
};
|
983
|
+
createdAt: Date;
|
984
|
+
updatedAt: Date;
|
985
|
+
deletedAt: Date | null;
|
986
|
+
userId: string;
|
987
|
+
presenceStatus: {
|
988
|
+
emoji: string | null;
|
989
|
+
id: string;
|
990
|
+
position: number;
|
991
|
+
description: string | null;
|
992
|
+
createdAt: Date;
|
993
|
+
updatedAt: Date;
|
994
|
+
deletedAt: Date | null;
|
995
|
+
systemName: string;
|
996
|
+
displayName: string;
|
997
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
998
|
+
};
|
999
|
+
}>, "many">;
|
1000
|
+
400: z.ZodObject<{
|
1001
|
+
message: z.ZodString;
|
1002
|
+
}, "strip", z.ZodTypeAny, {
|
1003
|
+
message: string;
|
1004
|
+
}, {
|
1005
|
+
message: string;
|
1006
|
+
}>;
|
1007
|
+
401: z.ZodObject<{
|
1008
|
+
message: z.ZodString;
|
1009
|
+
error: z.ZodAny;
|
1010
|
+
}, "strip", z.ZodTypeAny, {
|
1011
|
+
message: string;
|
1012
|
+
error?: any;
|
1013
|
+
}, {
|
1014
|
+
message: string;
|
1015
|
+
error?: any;
|
1016
|
+
}>;
|
1017
|
+
500: z.ZodObject<{
|
1018
|
+
message: z.ZodString;
|
1019
|
+
error: z.ZodAny;
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
1021
|
+
message: string;
|
1022
|
+
error?: any;
|
1023
|
+
}, {
|
1024
|
+
message: string;
|
1025
|
+
error?: any;
|
1026
|
+
}>;
|
1027
|
+
};
|
1028
|
+
path: "ms/presence_status/user";
|
1029
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1030
|
+
'x-tenant': z.ZodString;
|
1031
|
+
'x-service-token': z.ZodString;
|
1032
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1033
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1034
|
+
}, "strip", z.ZodTypeAny, {
|
1035
|
+
'x-tenant': string;
|
1036
|
+
'x-service-token': string;
|
1037
|
+
'x-client-timezone': string;
|
1038
|
+
'x-code'?: string | undefined;
|
1039
|
+
}, {
|
1040
|
+
'x-tenant': string;
|
1041
|
+
'x-service-token': string;
|
1042
|
+
'x-code'?: string | undefined;
|
1043
|
+
'x-client-timezone'?: string | undefined;
|
1044
|
+
}>>>;
|
1045
|
+
};
|
627
1046
|
};
|
628
1047
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EAEtB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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