@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
@@ -26674,17 +26674,20 @@ export declare const apiContract: {
|
|
26674
26674
|
automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
|
26675
26675
|
selectedDate: import("zod").ZodString;
|
26676
26676
|
channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
26677
|
+
channelCountsFilter: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"channelName">, import("zod").ZodLiteral<"channelType">]>>>;
|
26677
26678
|
fileExtension: import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>;
|
26678
26679
|
}, "strip", import("zod").ZodTypeAny, {
|
26679
26680
|
selectedDate: string;
|
26680
26681
|
fileExtension: "csv" | "xlsx";
|
26681
26682
|
automationQueueId?: string | undefined;
|
26682
26683
|
channelIds?: string[] | undefined;
|
26684
|
+
channelCountsFilter?: "channelType" | "channelName" | undefined;
|
26683
26685
|
}, {
|
26684
26686
|
selectedDate: string;
|
26685
26687
|
fileExtension: "csv" | "xlsx";
|
26686
26688
|
automationQueueId?: string | undefined;
|
26687
26689
|
channelIds?: string[] | undefined;
|
26690
|
+
channelCountsFilter?: "channelType" | "channelName" | undefined;
|
26688
26691
|
}>;
|
26689
26692
|
responses: {
|
26690
26693
|
200: import("zod").ZodObject<{
|
@@ -333515,6 +333518,425 @@ export declare const presenceStatusContract: {
|
|
333515
333518
|
'x-client-timezone'?: string | undefined;
|
333516
333519
|
}>>>;
|
333517
333520
|
};
|
333521
|
+
getAllUserPresenceStatus: {
|
333522
|
+
summary: "Get all users presence status";
|
333523
|
+
method: "GET";
|
333524
|
+
responses: {
|
333525
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
333526
|
+
id: import("zod").ZodString;
|
333527
|
+
createdAt: import("zod").ZodDate;
|
333528
|
+
updatedAt: import("zod").ZodDate;
|
333529
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333530
|
+
userId: import("zod").ZodString;
|
333531
|
+
user: import("zod").ZodObject<{
|
333532
|
+
name: import("zod").ZodString;
|
333533
|
+
id: import("zod").ZodString;
|
333534
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
333535
|
+
email: import("zod").ZodString;
|
333536
|
+
createdAt: import("zod").ZodDate;
|
333537
|
+
updatedAt: import("zod").ZodDate;
|
333538
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333539
|
+
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333540
|
+
password: import("zod").ZodString;
|
333541
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
333542
|
+
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
333543
|
+
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
333544
|
+
id: import("zod").ZodString;
|
333545
|
+
createdAt: import("zod").ZodDate;
|
333546
|
+
updatedAt: import("zod").ZodDate;
|
333547
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333548
|
+
systemName: import("zod").ZodString;
|
333549
|
+
displayName: import("zod").ZodString;
|
333550
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
333551
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
333552
|
+
id: import("zod").ZodString;
|
333553
|
+
createdAt: import("zod").ZodDate;
|
333554
|
+
updatedAt: import("zod").ZodDate;
|
333555
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333556
|
+
systemName: import("zod").ZodString;
|
333557
|
+
displayName: import("zod").ZodString;
|
333558
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
333559
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333560
|
+
id: string;
|
333561
|
+
description: string | null;
|
333562
|
+
createdAt: Date;
|
333563
|
+
updatedAt: Date;
|
333564
|
+
deletedAt: Date | null;
|
333565
|
+
systemName: string;
|
333566
|
+
displayName: string;
|
333567
|
+
}, {
|
333568
|
+
id: string;
|
333569
|
+
description: string | null;
|
333570
|
+
createdAt: Date;
|
333571
|
+
updatedAt: Date;
|
333572
|
+
deletedAt: Date | null;
|
333573
|
+
systemName: string;
|
333574
|
+
displayName: string;
|
333575
|
+
}>, "many">;
|
333576
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333577
|
+
id: string;
|
333578
|
+
description: string | null;
|
333579
|
+
createdAt: Date;
|
333580
|
+
updatedAt: Date;
|
333581
|
+
deletedAt: Date | null;
|
333582
|
+
systemName: string;
|
333583
|
+
displayName: string;
|
333584
|
+
permissions: {
|
333585
|
+
id: string;
|
333586
|
+
description: string | null;
|
333587
|
+
createdAt: Date;
|
333588
|
+
updatedAt: Date;
|
333589
|
+
deletedAt: Date | null;
|
333590
|
+
systemName: string;
|
333591
|
+
displayName: string;
|
333592
|
+
}[];
|
333593
|
+
}, {
|
333594
|
+
id: string;
|
333595
|
+
description: string | null;
|
333596
|
+
createdAt: Date;
|
333597
|
+
updatedAt: Date;
|
333598
|
+
deletedAt: Date | null;
|
333599
|
+
systemName: string;
|
333600
|
+
displayName: string;
|
333601
|
+
permissions: {
|
333602
|
+
id: string;
|
333603
|
+
description: string | null;
|
333604
|
+
createdAt: Date;
|
333605
|
+
updatedAt: Date;
|
333606
|
+
deletedAt: Date | null;
|
333607
|
+
systemName: string;
|
333608
|
+
displayName: string;
|
333609
|
+
}[];
|
333610
|
+
}>, "many">;
|
333611
|
+
extension: import("zod").ZodObject<{
|
333612
|
+
id: import("zod").ZodString;
|
333613
|
+
createdAt: import("zod").ZodDate;
|
333614
|
+
updatedAt: import("zod").ZodDate;
|
333615
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333616
|
+
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
333617
|
+
sipServerUrl: import("zod").ZodString;
|
333618
|
+
sipUserName: import("zod").ZodString;
|
333619
|
+
webphoneLoginUser: import("zod").ZodString;
|
333620
|
+
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
333621
|
+
extensionName: import("zod").ZodString;
|
333622
|
+
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
333623
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333624
|
+
id: string;
|
333625
|
+
createdAt: Date;
|
333626
|
+
updatedAt: Date;
|
333627
|
+
deletedAt: Date | null;
|
333628
|
+
userId: string | null;
|
333629
|
+
sipServerUrl: string;
|
333630
|
+
sipUserName: string;
|
333631
|
+
webphoneLoginUser: string;
|
333632
|
+
extensionId: string | null;
|
333633
|
+
extensionName: string;
|
333634
|
+
telephonySignature: string | null;
|
333635
|
+
}, {
|
333636
|
+
id: string;
|
333637
|
+
createdAt: Date;
|
333638
|
+
updatedAt: Date;
|
333639
|
+
deletedAt: Date | null;
|
333640
|
+
userId: string | null;
|
333641
|
+
sipServerUrl: string;
|
333642
|
+
sipUserName: string;
|
333643
|
+
webphoneLoginUser: string;
|
333644
|
+
extensionId: string | null;
|
333645
|
+
extensionName: string;
|
333646
|
+
telephonySignature: string | null;
|
333647
|
+
}>;
|
333648
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333649
|
+
name: string;
|
333650
|
+
id: string;
|
333651
|
+
address: string | null;
|
333652
|
+
email: string;
|
333653
|
+
createdAt: Date;
|
333654
|
+
updatedAt: Date;
|
333655
|
+
deletedAt: Date | null;
|
333656
|
+
emailVerifiedAt: Date | null;
|
333657
|
+
password: string;
|
333658
|
+
phone: string | null;
|
333659
|
+
notificationCount: number | null;
|
333660
|
+
roles: {
|
333661
|
+
id: string;
|
333662
|
+
description: string | null;
|
333663
|
+
createdAt: Date;
|
333664
|
+
updatedAt: Date;
|
333665
|
+
deletedAt: Date | null;
|
333666
|
+
systemName: string;
|
333667
|
+
displayName: string;
|
333668
|
+
permissions: {
|
333669
|
+
id: string;
|
333670
|
+
description: string | null;
|
333671
|
+
createdAt: Date;
|
333672
|
+
updatedAt: Date;
|
333673
|
+
deletedAt: Date | null;
|
333674
|
+
systemName: string;
|
333675
|
+
displayName: string;
|
333676
|
+
}[];
|
333677
|
+
}[];
|
333678
|
+
extension: {
|
333679
|
+
id: string;
|
333680
|
+
createdAt: Date;
|
333681
|
+
updatedAt: Date;
|
333682
|
+
deletedAt: Date | null;
|
333683
|
+
userId: string | null;
|
333684
|
+
sipServerUrl: string;
|
333685
|
+
sipUserName: string;
|
333686
|
+
webphoneLoginUser: string;
|
333687
|
+
extensionId: string | null;
|
333688
|
+
extensionName: string;
|
333689
|
+
telephonySignature: string | null;
|
333690
|
+
};
|
333691
|
+
}, {
|
333692
|
+
name: string;
|
333693
|
+
id: string;
|
333694
|
+
address: string | null;
|
333695
|
+
email: string;
|
333696
|
+
createdAt: Date;
|
333697
|
+
updatedAt: Date;
|
333698
|
+
deletedAt: Date | null;
|
333699
|
+
emailVerifiedAt: Date | null;
|
333700
|
+
password: string;
|
333701
|
+
phone: string | null;
|
333702
|
+
notificationCount: number | null;
|
333703
|
+
roles: {
|
333704
|
+
id: string;
|
333705
|
+
description: string | null;
|
333706
|
+
createdAt: Date;
|
333707
|
+
updatedAt: Date;
|
333708
|
+
deletedAt: Date | null;
|
333709
|
+
systemName: string;
|
333710
|
+
displayName: string;
|
333711
|
+
permissions: {
|
333712
|
+
id: string;
|
333713
|
+
description: string | null;
|
333714
|
+
createdAt: Date;
|
333715
|
+
updatedAt: Date;
|
333716
|
+
deletedAt: Date | null;
|
333717
|
+
systemName: string;
|
333718
|
+
displayName: string;
|
333719
|
+
}[];
|
333720
|
+
}[];
|
333721
|
+
extension: {
|
333722
|
+
id: string;
|
333723
|
+
createdAt: Date;
|
333724
|
+
updatedAt: Date;
|
333725
|
+
deletedAt: Date | null;
|
333726
|
+
userId: string | null;
|
333727
|
+
sipServerUrl: string;
|
333728
|
+
sipUserName: string;
|
333729
|
+
webphoneLoginUser: string;
|
333730
|
+
extensionId: string | null;
|
333731
|
+
extensionName: string;
|
333732
|
+
telephonySignature: string | null;
|
333733
|
+
};
|
333734
|
+
}>;
|
333735
|
+
presenceStatus: import("zod").ZodObject<{
|
333736
|
+
id: import("zod").ZodString;
|
333737
|
+
createdAt: import("zod").ZodDate;
|
333738
|
+
updatedAt: import("zod").ZodDate;
|
333739
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
333740
|
+
systemName: import("zod").ZodString;
|
333741
|
+
displayName: import("zod").ZodString;
|
333742
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
333743
|
+
position: import("zod").ZodNumber;
|
333744
|
+
emoji: import("zod").ZodNullable<import("zod").ZodString>;
|
333745
|
+
presenceStatusOption: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"receive_call">, import("zod").ZodLiteral<"do_not_receive_call">, import("zod").ZodLiteral<"receive_chat_message">, import("zod").ZodLiteral<"do_not_receive_chat_message">]>, "many">;
|
333746
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333747
|
+
emoji: string | null;
|
333748
|
+
id: string;
|
333749
|
+
position: number;
|
333750
|
+
description: string | null;
|
333751
|
+
createdAt: Date;
|
333752
|
+
updatedAt: Date;
|
333753
|
+
deletedAt: Date | null;
|
333754
|
+
systemName: string;
|
333755
|
+
displayName: string;
|
333756
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
333757
|
+
}, {
|
333758
|
+
emoji: string | null;
|
333759
|
+
id: string;
|
333760
|
+
position: number;
|
333761
|
+
description: string | null;
|
333762
|
+
createdAt: Date;
|
333763
|
+
updatedAt: Date;
|
333764
|
+
deletedAt: Date | null;
|
333765
|
+
systemName: string;
|
333766
|
+
displayName: string;
|
333767
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
333768
|
+
}>;
|
333769
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333770
|
+
id: string;
|
333771
|
+
user: {
|
333772
|
+
name: string;
|
333773
|
+
id: string;
|
333774
|
+
address: string | null;
|
333775
|
+
email: string;
|
333776
|
+
createdAt: Date;
|
333777
|
+
updatedAt: Date;
|
333778
|
+
deletedAt: Date | null;
|
333779
|
+
emailVerifiedAt: Date | null;
|
333780
|
+
password: string;
|
333781
|
+
phone: string | null;
|
333782
|
+
notificationCount: number | null;
|
333783
|
+
roles: {
|
333784
|
+
id: string;
|
333785
|
+
description: string | null;
|
333786
|
+
createdAt: Date;
|
333787
|
+
updatedAt: Date;
|
333788
|
+
deletedAt: Date | null;
|
333789
|
+
systemName: string;
|
333790
|
+
displayName: string;
|
333791
|
+
permissions: {
|
333792
|
+
id: string;
|
333793
|
+
description: string | null;
|
333794
|
+
createdAt: Date;
|
333795
|
+
updatedAt: Date;
|
333796
|
+
deletedAt: Date | null;
|
333797
|
+
systemName: string;
|
333798
|
+
displayName: string;
|
333799
|
+
}[];
|
333800
|
+
}[];
|
333801
|
+
extension: {
|
333802
|
+
id: string;
|
333803
|
+
createdAt: Date;
|
333804
|
+
updatedAt: Date;
|
333805
|
+
deletedAt: Date | null;
|
333806
|
+
userId: string | null;
|
333807
|
+
sipServerUrl: string;
|
333808
|
+
sipUserName: string;
|
333809
|
+
webphoneLoginUser: string;
|
333810
|
+
extensionId: string | null;
|
333811
|
+
extensionName: string;
|
333812
|
+
telephonySignature: string | null;
|
333813
|
+
};
|
333814
|
+
};
|
333815
|
+
createdAt: Date;
|
333816
|
+
updatedAt: Date;
|
333817
|
+
deletedAt: Date | null;
|
333818
|
+
userId: string;
|
333819
|
+
presenceStatus: {
|
333820
|
+
emoji: string | null;
|
333821
|
+
id: string;
|
333822
|
+
position: number;
|
333823
|
+
description: string | null;
|
333824
|
+
createdAt: Date;
|
333825
|
+
updatedAt: Date;
|
333826
|
+
deletedAt: Date | null;
|
333827
|
+
systemName: string;
|
333828
|
+
displayName: string;
|
333829
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
333830
|
+
};
|
333831
|
+
}, {
|
333832
|
+
id: string;
|
333833
|
+
user: {
|
333834
|
+
name: string;
|
333835
|
+
id: string;
|
333836
|
+
address: string | null;
|
333837
|
+
email: string;
|
333838
|
+
createdAt: Date;
|
333839
|
+
updatedAt: Date;
|
333840
|
+
deletedAt: Date | null;
|
333841
|
+
emailVerifiedAt: Date | null;
|
333842
|
+
password: string;
|
333843
|
+
phone: string | null;
|
333844
|
+
notificationCount: number | null;
|
333845
|
+
roles: {
|
333846
|
+
id: string;
|
333847
|
+
description: string | null;
|
333848
|
+
createdAt: Date;
|
333849
|
+
updatedAt: Date;
|
333850
|
+
deletedAt: Date | null;
|
333851
|
+
systemName: string;
|
333852
|
+
displayName: string;
|
333853
|
+
permissions: {
|
333854
|
+
id: string;
|
333855
|
+
description: string | null;
|
333856
|
+
createdAt: Date;
|
333857
|
+
updatedAt: Date;
|
333858
|
+
deletedAt: Date | null;
|
333859
|
+
systemName: string;
|
333860
|
+
displayName: string;
|
333861
|
+
}[];
|
333862
|
+
}[];
|
333863
|
+
extension: {
|
333864
|
+
id: string;
|
333865
|
+
createdAt: Date;
|
333866
|
+
updatedAt: Date;
|
333867
|
+
deletedAt: Date | null;
|
333868
|
+
userId: string | null;
|
333869
|
+
sipServerUrl: string;
|
333870
|
+
sipUserName: string;
|
333871
|
+
webphoneLoginUser: string;
|
333872
|
+
extensionId: string | null;
|
333873
|
+
extensionName: string;
|
333874
|
+
telephonySignature: string | null;
|
333875
|
+
};
|
333876
|
+
};
|
333877
|
+
createdAt: Date;
|
333878
|
+
updatedAt: Date;
|
333879
|
+
deletedAt: Date | null;
|
333880
|
+
userId: string;
|
333881
|
+
presenceStatus: {
|
333882
|
+
emoji: string | null;
|
333883
|
+
id: string;
|
333884
|
+
position: number;
|
333885
|
+
description: string | null;
|
333886
|
+
createdAt: Date;
|
333887
|
+
updatedAt: Date;
|
333888
|
+
deletedAt: Date | null;
|
333889
|
+
systemName: string;
|
333890
|
+
displayName: string;
|
333891
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
333892
|
+
};
|
333893
|
+
}>, "many">;
|
333894
|
+
400: import("zod").ZodObject<{
|
333895
|
+
message: import("zod").ZodString;
|
333896
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333897
|
+
message: string;
|
333898
|
+
}, {
|
333899
|
+
message: string;
|
333900
|
+
}>;
|
333901
|
+
401: import("zod").ZodObject<{
|
333902
|
+
message: import("zod").ZodString;
|
333903
|
+
error: import("zod").ZodAny;
|
333904
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333905
|
+
message: string;
|
333906
|
+
error?: any;
|
333907
|
+
}, {
|
333908
|
+
message: string;
|
333909
|
+
error?: any;
|
333910
|
+
}>;
|
333911
|
+
500: import("zod").ZodObject<{
|
333912
|
+
message: import("zod").ZodString;
|
333913
|
+
error: import("zod").ZodAny;
|
333914
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333915
|
+
message: string;
|
333916
|
+
error?: any;
|
333917
|
+
}, {
|
333918
|
+
message: string;
|
333919
|
+
error?: any;
|
333920
|
+
}>;
|
333921
|
+
};
|
333922
|
+
path: "ms/presence_status/user";
|
333923
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
333924
|
+
'x-tenant': import("zod").ZodString;
|
333925
|
+
'x-service-token': import("zod").ZodString;
|
333926
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
333927
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
333928
|
+
}, "strip", import("zod").ZodTypeAny, {
|
333929
|
+
'x-tenant': string;
|
333930
|
+
'x-service-token': string;
|
333931
|
+
'x-client-timezone': string;
|
333932
|
+
'x-code'?: string | undefined;
|
333933
|
+
}, {
|
333934
|
+
'x-tenant': string;
|
333935
|
+
'x-service-token': string;
|
333936
|
+
'x-code'?: string | undefined;
|
333937
|
+
'x-client-timezone'?: string | undefined;
|
333938
|
+
}>>>;
|
333939
|
+
};
|
333518
333940
|
};
|
333519
333941
|
};
|
333520
333942
|
//# sourceMappingURL=contract.d.ts.map
|