@kl1/contracts 1.1.20-uat → 1.1.21-uat
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.
- package/dist/index.js +43 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -41
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +4842 -3996
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +4841 -3995
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +0 -437
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +1721 -438
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +280 -0
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +212 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1857,6 +1857,150 @@ export declare const roomContract: {
|
|
1857
1857
|
};
|
1858
1858
|
}>;
|
1859
1859
|
unReadMessageCount: z.ZodNumber;
|
1860
|
+
cxlog: z.ZodObject<{
|
1861
|
+
id: z.ZodString;
|
1862
|
+
createdAt: z.ZodDate;
|
1863
|
+
updatedAt: z.ZodDate;
|
1864
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1865
|
+
caseId: z.ZodNumber;
|
1866
|
+
entityId: z.ZodString;
|
1867
|
+
entityName: z.ZodString;
|
1868
|
+
contactId: z.ZodNullable<z.ZodString>;
|
1869
|
+
channel: z.ZodNullable<z.ZodString>;
|
1870
|
+
queueId: z.ZodNullable<z.ZodString>;
|
1871
|
+
agentId: z.ZodNullable<z.ZodString>;
|
1872
|
+
direction: z.ZodNullable<z.ZodString>;
|
1873
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
1874
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
1875
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
1876
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
1877
|
+
id: z.ZodString;
|
1878
|
+
createdAt: z.ZodDate;
|
1879
|
+
updatedAt: z.ZodDate;
|
1880
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1881
|
+
note: z.ZodNullable<z.ZodString>;
|
1882
|
+
disposition: z.ZodNullable<z.ZodString>;
|
1883
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
1884
|
+
callTo: z.ZodNullable<z.ZodString>;
|
1885
|
+
tags: z.ZodArray<z.ZodObject<{
|
1886
|
+
id: z.ZodString;
|
1887
|
+
createdAt: z.ZodDate;
|
1888
|
+
updatedAt: z.ZodDate;
|
1889
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1890
|
+
name: z.ZodString;
|
1891
|
+
}, "strip", z.ZodTypeAny, {
|
1892
|
+
id: string;
|
1893
|
+
name: string;
|
1894
|
+
createdAt: Date;
|
1895
|
+
updatedAt: Date;
|
1896
|
+
deletedAt: Date | null;
|
1897
|
+
}, {
|
1898
|
+
id: string;
|
1899
|
+
name: string;
|
1900
|
+
createdAt: Date;
|
1901
|
+
updatedAt: Date;
|
1902
|
+
deletedAt: Date | null;
|
1903
|
+
}>, "many">;
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
1905
|
+
id: string;
|
1906
|
+
disposition: string | null;
|
1907
|
+
createdAt: Date;
|
1908
|
+
updatedAt: Date;
|
1909
|
+
deletedAt: Date | null;
|
1910
|
+
tags: {
|
1911
|
+
id: string;
|
1912
|
+
name: string;
|
1913
|
+
createdAt: Date;
|
1914
|
+
updatedAt: Date;
|
1915
|
+
deletedAt: Date | null;
|
1916
|
+
}[];
|
1917
|
+
callFrom: string | null;
|
1918
|
+
callTo: string | null;
|
1919
|
+
note: string | null;
|
1920
|
+
}, {
|
1921
|
+
id: string;
|
1922
|
+
disposition: string | null;
|
1923
|
+
createdAt: Date;
|
1924
|
+
updatedAt: Date;
|
1925
|
+
deletedAt: Date | null;
|
1926
|
+
tags: {
|
1927
|
+
id: string;
|
1928
|
+
name: string;
|
1929
|
+
createdAt: Date;
|
1930
|
+
updatedAt: Date;
|
1931
|
+
deletedAt: Date | null;
|
1932
|
+
}[];
|
1933
|
+
callFrom: string | null;
|
1934
|
+
callTo: string | null;
|
1935
|
+
note: string | null;
|
1936
|
+
}>>;
|
1937
|
+
}, "strip", z.ZodTypeAny, {
|
1938
|
+
id: string;
|
1939
|
+
channel: string | null;
|
1940
|
+
direction: string | null;
|
1941
|
+
createdAt: Date;
|
1942
|
+
updatedAt: Date;
|
1943
|
+
deletedAt: Date | null;
|
1944
|
+
entityId: string;
|
1945
|
+
queueId: string | null;
|
1946
|
+
contactId: string | null;
|
1947
|
+
caseId: number;
|
1948
|
+
entityName: string;
|
1949
|
+
agentId: string | null;
|
1950
|
+
startedDate: Date | null;
|
1951
|
+
handledTime: number | null;
|
1952
|
+
firstResponseTime: number | null;
|
1953
|
+
wrapUpForm: {
|
1954
|
+
id: string;
|
1955
|
+
disposition: string | null;
|
1956
|
+
createdAt: Date;
|
1957
|
+
updatedAt: Date;
|
1958
|
+
deletedAt: Date | null;
|
1959
|
+
tags: {
|
1960
|
+
id: string;
|
1961
|
+
name: string;
|
1962
|
+
createdAt: Date;
|
1963
|
+
updatedAt: Date;
|
1964
|
+
deletedAt: Date | null;
|
1965
|
+
}[];
|
1966
|
+
callFrom: string | null;
|
1967
|
+
callTo: string | null;
|
1968
|
+
note: string | null;
|
1969
|
+
} | null;
|
1970
|
+
}, {
|
1971
|
+
id: string;
|
1972
|
+
channel: string | null;
|
1973
|
+
direction: string | null;
|
1974
|
+
createdAt: Date;
|
1975
|
+
updatedAt: Date;
|
1976
|
+
deletedAt: Date | null;
|
1977
|
+
entityId: string;
|
1978
|
+
queueId: string | null;
|
1979
|
+
contactId: string | null;
|
1980
|
+
caseId: number;
|
1981
|
+
entityName: string;
|
1982
|
+
agentId: string | null;
|
1983
|
+
startedDate: Date | null;
|
1984
|
+
handledTime: number | null;
|
1985
|
+
firstResponseTime: number | null;
|
1986
|
+
wrapUpForm: {
|
1987
|
+
id: string;
|
1988
|
+
disposition: string | null;
|
1989
|
+
createdAt: Date;
|
1990
|
+
updatedAt: Date;
|
1991
|
+
deletedAt: Date | null;
|
1992
|
+
tags: {
|
1993
|
+
id: string;
|
1994
|
+
name: string;
|
1995
|
+
createdAt: Date;
|
1996
|
+
updatedAt: Date;
|
1997
|
+
deletedAt: Date | null;
|
1998
|
+
}[];
|
1999
|
+
callFrom: string | null;
|
2000
|
+
callTo: string | null;
|
2001
|
+
note: string | null;
|
2002
|
+
} | null;
|
2003
|
+
}>;
|
1860
2004
|
}, "strip", z.ZodTypeAny, {
|
1861
2005
|
id: string;
|
1862
2006
|
direction: string;
|
@@ -1959,6 +2103,40 @@ export declare const roomContract: {
|
|
1959
2103
|
notificationCount: number | null;
|
1960
2104
|
};
|
1961
2105
|
resolved: boolean;
|
2106
|
+
cxlog: {
|
2107
|
+
id: string;
|
2108
|
+
channel: string | null;
|
2109
|
+
direction: string | null;
|
2110
|
+
createdAt: Date;
|
2111
|
+
updatedAt: Date;
|
2112
|
+
deletedAt: Date | null;
|
2113
|
+
entityId: string;
|
2114
|
+
queueId: string | null;
|
2115
|
+
contactId: string | null;
|
2116
|
+
caseId: number;
|
2117
|
+
entityName: string;
|
2118
|
+
agentId: string | null;
|
2119
|
+
startedDate: Date | null;
|
2120
|
+
handledTime: number | null;
|
2121
|
+
firstResponseTime: number | null;
|
2122
|
+
wrapUpForm: {
|
2123
|
+
id: string;
|
2124
|
+
disposition: string | null;
|
2125
|
+
createdAt: Date;
|
2126
|
+
updatedAt: Date;
|
2127
|
+
deletedAt: Date | null;
|
2128
|
+
tags: {
|
2129
|
+
id: string;
|
2130
|
+
name: string;
|
2131
|
+
createdAt: Date;
|
2132
|
+
updatedAt: Date;
|
2133
|
+
deletedAt: Date | null;
|
2134
|
+
}[];
|
2135
|
+
callFrom: string | null;
|
2136
|
+
callTo: string | null;
|
2137
|
+
note: string | null;
|
2138
|
+
} | null;
|
2139
|
+
};
|
1962
2140
|
assigneeId: string | null;
|
1963
2141
|
subject: string;
|
1964
2142
|
from: {
|
@@ -2369,6 +2547,40 @@ export declare const roomContract: {
|
|
2369
2547
|
notificationCount: number | null;
|
2370
2548
|
};
|
2371
2549
|
resolved: boolean;
|
2550
|
+
cxlog: {
|
2551
|
+
id: string;
|
2552
|
+
channel: string | null;
|
2553
|
+
direction: string | null;
|
2554
|
+
createdAt: Date;
|
2555
|
+
updatedAt: Date;
|
2556
|
+
deletedAt: Date | null;
|
2557
|
+
entityId: string;
|
2558
|
+
queueId: string | null;
|
2559
|
+
contactId: string | null;
|
2560
|
+
caseId: number;
|
2561
|
+
entityName: string;
|
2562
|
+
agentId: string | null;
|
2563
|
+
startedDate: Date | null;
|
2564
|
+
handledTime: number | null;
|
2565
|
+
firstResponseTime: number | null;
|
2566
|
+
wrapUpForm: {
|
2567
|
+
id: string;
|
2568
|
+
disposition: string | null;
|
2569
|
+
createdAt: Date;
|
2570
|
+
updatedAt: Date;
|
2571
|
+
deletedAt: Date | null;
|
2572
|
+
tags: {
|
2573
|
+
id: string;
|
2574
|
+
name: string;
|
2575
|
+
createdAt: Date;
|
2576
|
+
updatedAt: Date;
|
2577
|
+
deletedAt: Date | null;
|
2578
|
+
}[];
|
2579
|
+
callFrom: string | null;
|
2580
|
+
callTo: string | null;
|
2581
|
+
note: string | null;
|
2582
|
+
} | null;
|
2583
|
+
};
|
2372
2584
|
assigneeId: string | null;
|
2373
2585
|
subject: string;
|
2374
2586
|
from: {
|
@@ -2784,6 +2996,40 @@ export declare const roomContract: {
|
|
2784
2996
|
notificationCount: number | null;
|
2785
2997
|
};
|
2786
2998
|
resolved: boolean;
|
2999
|
+
cxlog: {
|
3000
|
+
id: string;
|
3001
|
+
channel: string | null;
|
3002
|
+
direction: string | null;
|
3003
|
+
createdAt: Date;
|
3004
|
+
updatedAt: Date;
|
3005
|
+
deletedAt: Date | null;
|
3006
|
+
entityId: string;
|
3007
|
+
queueId: string | null;
|
3008
|
+
contactId: string | null;
|
3009
|
+
caseId: number;
|
3010
|
+
entityName: string;
|
3011
|
+
agentId: string | null;
|
3012
|
+
startedDate: Date | null;
|
3013
|
+
handledTime: number | null;
|
3014
|
+
firstResponseTime: number | null;
|
3015
|
+
wrapUpForm: {
|
3016
|
+
id: string;
|
3017
|
+
disposition: string | null;
|
3018
|
+
createdAt: Date;
|
3019
|
+
updatedAt: Date;
|
3020
|
+
deletedAt: Date | null;
|
3021
|
+
tags: {
|
3022
|
+
id: string;
|
3023
|
+
name: string;
|
3024
|
+
createdAt: Date;
|
3025
|
+
updatedAt: Date;
|
3026
|
+
deletedAt: Date | null;
|
3027
|
+
}[];
|
3028
|
+
callFrom: string | null;
|
3029
|
+
callTo: string | null;
|
3030
|
+
note: string | null;
|
3031
|
+
} | null;
|
3032
|
+
};
|
2787
3033
|
assigneeId: string | null;
|
2788
3034
|
subject: string;
|
2789
3035
|
from: {
|
@@ -3200,6 +3446,40 @@ export declare const roomContract: {
|
|
3200
3446
|
notificationCount: number | null;
|
3201
3447
|
};
|
3202
3448
|
resolved: boolean;
|
3449
|
+
cxlog: {
|
3450
|
+
id: string;
|
3451
|
+
channel: string | null;
|
3452
|
+
direction: string | null;
|
3453
|
+
createdAt: Date;
|
3454
|
+
updatedAt: Date;
|
3455
|
+
deletedAt: Date | null;
|
3456
|
+
entityId: string;
|
3457
|
+
queueId: string | null;
|
3458
|
+
contactId: string | null;
|
3459
|
+
caseId: number;
|
3460
|
+
entityName: string;
|
3461
|
+
agentId: string | null;
|
3462
|
+
startedDate: Date | null;
|
3463
|
+
handledTime: number | null;
|
3464
|
+
firstResponseTime: number | null;
|
3465
|
+
wrapUpForm: {
|
3466
|
+
id: string;
|
3467
|
+
disposition: string | null;
|
3468
|
+
createdAt: Date;
|
3469
|
+
updatedAt: Date;
|
3470
|
+
deletedAt: Date | null;
|
3471
|
+
tags: {
|
3472
|
+
id: string;
|
3473
|
+
name: string;
|
3474
|
+
createdAt: Date;
|
3475
|
+
updatedAt: Date;
|
3476
|
+
deletedAt: Date | null;
|
3477
|
+
}[];
|
3478
|
+
callFrom: string | null;
|
3479
|
+
callTo: string | null;
|
3480
|
+
note: string | null;
|
3481
|
+
} | null;
|
3482
|
+
};
|
3203
3483
|
assigneeId: string | null;
|
3204
3484
|
subject: string;
|
3205
3485
|
from: {
|
@@ -3517,16 +3797,9 @@ export declare const roomContract: {
|
|
3517
3797
|
};
|
3518
3798
|
path: "mail/room";
|
3519
3799
|
};
|
3520
|
-
|
3521
|
-
summary: "Get
|
3800
|
+
getRoomCounts: {
|
3801
|
+
summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
|
3522
3802
|
method: "GET";
|
3523
|
-
pathParams: z.ZodObject<{
|
3524
|
-
id: z.ZodString;
|
3525
|
-
}, "strip", z.ZodTypeAny, {
|
3526
|
-
id: string;
|
3527
|
-
}, {
|
3528
|
-
id: string;
|
3529
|
-
}>;
|
3530
3803
|
responses: {
|
3531
3804
|
401: z.ZodObject<{
|
3532
3805
|
message: z.ZodString;
|
@@ -3561,125 +3834,858 @@ export declare const roomContract: {
|
|
3561
3834
|
200: z.ZodObject<{
|
3562
3835
|
requestId: z.ZodString;
|
3563
3836
|
data: z.ZodObject<{
|
3564
|
-
|
3565
|
-
createdAt: z.ZodDate;
|
3566
|
-
updatedAt: z.ZodDate;
|
3567
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3568
|
-
subject: z.ZodString;
|
3569
|
-
resolved: z.ZodBoolean;
|
3570
|
-
assigneeId: z.ZodNullable<z.ZodString>;
|
3571
|
-
note: z.ZodString;
|
3572
|
-
mailId: z.ZodString;
|
3573
|
-
direction: z.ZodString;
|
3574
|
-
lastMessageId: z.ZodString;
|
3575
|
-
firstMessageId: z.ZodString;
|
3576
|
-
from: z.ZodArray<z.ZodObject<{
|
3577
|
-
id: z.ZodString;
|
3578
|
-
createdAt: z.ZodDate;
|
3579
|
-
updatedAt: z.ZodDate;
|
3580
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3581
|
-
name: z.ZodString;
|
3582
|
-
address: z.ZodString;
|
3583
|
-
}, "strip", z.ZodTypeAny, {
|
3584
|
-
id: string;
|
3585
|
-
address: string;
|
3586
|
-
name: string;
|
3587
|
-
createdAt: Date;
|
3588
|
-
updatedAt: Date;
|
3589
|
-
deletedAt: Date | null;
|
3590
|
-
}, {
|
3591
|
-
id: string;
|
3592
|
-
address: string;
|
3593
|
-
name: string;
|
3594
|
-
createdAt: Date;
|
3595
|
-
updatedAt: Date;
|
3596
|
-
deletedAt: Date | null;
|
3597
|
-
}>, "many">;
|
3598
|
-
to: z.ZodArray<z.ZodObject<{
|
3599
|
-
id: z.ZodString;
|
3600
|
-
createdAt: z.ZodDate;
|
3601
|
-
updatedAt: z.ZodDate;
|
3602
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3603
|
-
name: z.ZodString;
|
3604
|
-
address: z.ZodString;
|
3605
|
-
}, "strip", z.ZodTypeAny, {
|
3606
|
-
id: string;
|
3607
|
-
address: string;
|
3608
|
-
name: string;
|
3609
|
-
createdAt: Date;
|
3610
|
-
updatedAt: Date;
|
3611
|
-
deletedAt: Date | null;
|
3612
|
-
}, {
|
3613
|
-
id: string;
|
3614
|
-
address: string;
|
3615
|
-
name: string;
|
3616
|
-
createdAt: Date;
|
3617
|
-
updatedAt: Date;
|
3618
|
-
deletedAt: Date | null;
|
3619
|
-
}>, "many">;
|
3620
|
-
cc: z.ZodArray<z.ZodObject<{
|
3621
|
-
id: z.ZodString;
|
3622
|
-
createdAt: z.ZodDate;
|
3623
|
-
updatedAt: z.ZodDate;
|
3624
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3625
|
-
name: z.ZodString;
|
3626
|
-
address: z.ZodString;
|
3627
|
-
}, "strip", z.ZodTypeAny, {
|
3628
|
-
id: string;
|
3629
|
-
address: string;
|
3630
|
-
name: string;
|
3631
|
-
createdAt: Date;
|
3632
|
-
updatedAt: Date;
|
3633
|
-
deletedAt: Date | null;
|
3634
|
-
}, {
|
3635
|
-
id: string;
|
3636
|
-
address: string;
|
3637
|
-
name: string;
|
3638
|
-
createdAt: Date;
|
3639
|
-
updatedAt: Date;
|
3640
|
-
deletedAt: Date | null;
|
3641
|
-
}>, "many">;
|
3642
|
-
bcc: z.ZodArray<z.ZodObject<{
|
3643
|
-
id: z.ZodString;
|
3644
|
-
createdAt: z.ZodDate;
|
3645
|
-
updatedAt: z.ZodDate;
|
3646
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3837
|
+
general: z.ZodArray<z.ZodObject<{
|
3647
3838
|
name: z.ZodString;
|
3648
|
-
|
3839
|
+
count: z.ZodNumber;
|
3840
|
+
unReadMessagesCount: z.ZodNumber;
|
3649
3841
|
}, "strip", z.ZodTypeAny, {
|
3650
|
-
id: string;
|
3651
|
-
address: string;
|
3652
3842
|
name: string;
|
3653
|
-
|
3654
|
-
|
3655
|
-
deletedAt: Date | null;
|
3843
|
+
count: number;
|
3844
|
+
unReadMessagesCount: number;
|
3656
3845
|
}, {
|
3657
|
-
id: string;
|
3658
|
-
address: string;
|
3659
3846
|
name: string;
|
3660
|
-
|
3661
|
-
|
3662
|
-
deletedAt: Date | null;
|
3847
|
+
count: number;
|
3848
|
+
unReadMessagesCount: number;
|
3663
3849
|
}>, "many">;
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
|
3675
|
-
|
3676
|
-
|
3677
|
-
|
3678
|
-
|
3679
|
-
|
3680
|
-
|
3681
|
-
|
3682
|
-
|
3850
|
+
channels: z.ZodArray<z.ZodObject<{
|
3851
|
+
channel: z.ZodObject<{
|
3852
|
+
id: z.ZodString;
|
3853
|
+
createdAt: z.ZodDate;
|
3854
|
+
updatedAt: z.ZodDate;
|
3855
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3856
|
+
name: z.ZodString;
|
3857
|
+
address: z.ZodString;
|
3858
|
+
accountId: z.ZodString;
|
3859
|
+
mailServerId: z.ZodString;
|
3860
|
+
mailServer: z.ZodObject<{
|
3861
|
+
id: z.ZodString;
|
3862
|
+
createdAt: z.ZodDate;
|
3863
|
+
updatedAt: z.ZodDate;
|
3864
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3865
|
+
name: z.ZodString;
|
3866
|
+
smtpHost: z.ZodString;
|
3867
|
+
smtpPort: z.ZodNumber;
|
3868
|
+
smtpTlsPort: z.ZodNumber;
|
3869
|
+
useTlsForSmtp: z.ZodBoolean;
|
3870
|
+
imapHost: z.ZodString;
|
3871
|
+
imapPort: z.ZodNumber;
|
3872
|
+
imapTlsPort: z.ZodNumber;
|
3873
|
+
useTlsForImap: z.ZodBoolean;
|
3874
|
+
}, "strip", z.ZodTypeAny, {
|
3875
|
+
id: string;
|
3876
|
+
name: string;
|
3877
|
+
createdAt: Date;
|
3878
|
+
updatedAt: Date;
|
3879
|
+
deletedAt: Date | null;
|
3880
|
+
smtpHost: string;
|
3881
|
+
smtpPort: number;
|
3882
|
+
smtpTlsPort: number;
|
3883
|
+
useTlsForSmtp: boolean;
|
3884
|
+
imapHost: string;
|
3885
|
+
imapPort: number;
|
3886
|
+
imapTlsPort: number;
|
3887
|
+
useTlsForImap: boolean;
|
3888
|
+
}, {
|
3889
|
+
id: string;
|
3890
|
+
name: string;
|
3891
|
+
createdAt: Date;
|
3892
|
+
updatedAt: Date;
|
3893
|
+
deletedAt: Date | null;
|
3894
|
+
smtpHost: string;
|
3895
|
+
smtpPort: number;
|
3896
|
+
smtpTlsPort: number;
|
3897
|
+
useTlsForSmtp: boolean;
|
3898
|
+
imapHost: string;
|
3899
|
+
imapPort: number;
|
3900
|
+
imapTlsPort: number;
|
3901
|
+
useTlsForImap: boolean;
|
3902
|
+
}>;
|
3903
|
+
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
3904
|
+
}, "strip", z.ZodTypeAny, {
|
3905
|
+
id: string;
|
3906
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3907
|
+
address: string;
|
3908
|
+
name: string;
|
3909
|
+
createdAt: Date;
|
3910
|
+
updatedAt: Date;
|
3911
|
+
deletedAt: Date | null;
|
3912
|
+
accountId: string;
|
3913
|
+
mailServerId: string;
|
3914
|
+
mailServer: {
|
3915
|
+
id: string;
|
3916
|
+
name: string;
|
3917
|
+
createdAt: Date;
|
3918
|
+
updatedAt: Date;
|
3919
|
+
deletedAt: Date | null;
|
3920
|
+
smtpHost: string;
|
3921
|
+
smtpPort: number;
|
3922
|
+
smtpTlsPort: number;
|
3923
|
+
useTlsForSmtp: boolean;
|
3924
|
+
imapHost: string;
|
3925
|
+
imapPort: number;
|
3926
|
+
imapTlsPort: number;
|
3927
|
+
useTlsForImap: boolean;
|
3928
|
+
};
|
3929
|
+
}, {
|
3930
|
+
id: string;
|
3931
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3932
|
+
address: string;
|
3933
|
+
name: string;
|
3934
|
+
createdAt: Date;
|
3935
|
+
updatedAt: Date;
|
3936
|
+
deletedAt: Date | null;
|
3937
|
+
accountId: string;
|
3938
|
+
mailServerId: string;
|
3939
|
+
mailServer: {
|
3940
|
+
id: string;
|
3941
|
+
name: string;
|
3942
|
+
createdAt: Date;
|
3943
|
+
updatedAt: Date;
|
3944
|
+
deletedAt: Date | null;
|
3945
|
+
smtpHost: string;
|
3946
|
+
smtpPort: number;
|
3947
|
+
smtpTlsPort: number;
|
3948
|
+
useTlsForSmtp: boolean;
|
3949
|
+
imapHost: string;
|
3950
|
+
imapPort: number;
|
3951
|
+
imapTlsPort: number;
|
3952
|
+
useTlsForImap: boolean;
|
3953
|
+
};
|
3954
|
+
}>;
|
3955
|
+
count: z.ZodNumber;
|
3956
|
+
}, "strip", z.ZodTypeAny, {
|
3957
|
+
channel: {
|
3958
|
+
id: string;
|
3959
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3960
|
+
address: string;
|
3961
|
+
name: string;
|
3962
|
+
createdAt: Date;
|
3963
|
+
updatedAt: Date;
|
3964
|
+
deletedAt: Date | null;
|
3965
|
+
accountId: string;
|
3966
|
+
mailServerId: string;
|
3967
|
+
mailServer: {
|
3968
|
+
id: string;
|
3969
|
+
name: string;
|
3970
|
+
createdAt: Date;
|
3971
|
+
updatedAt: Date;
|
3972
|
+
deletedAt: Date | null;
|
3973
|
+
smtpHost: string;
|
3974
|
+
smtpPort: number;
|
3975
|
+
smtpTlsPort: number;
|
3976
|
+
useTlsForSmtp: boolean;
|
3977
|
+
imapHost: string;
|
3978
|
+
imapPort: number;
|
3979
|
+
imapTlsPort: number;
|
3980
|
+
useTlsForImap: boolean;
|
3981
|
+
};
|
3982
|
+
};
|
3983
|
+
count: number;
|
3984
|
+
}, {
|
3985
|
+
channel: {
|
3986
|
+
id: string;
|
3987
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3988
|
+
address: string;
|
3989
|
+
name: string;
|
3990
|
+
createdAt: Date;
|
3991
|
+
updatedAt: Date;
|
3992
|
+
deletedAt: Date | null;
|
3993
|
+
accountId: string;
|
3994
|
+
mailServerId: string;
|
3995
|
+
mailServer: {
|
3996
|
+
id: string;
|
3997
|
+
name: string;
|
3998
|
+
createdAt: Date;
|
3999
|
+
updatedAt: Date;
|
4000
|
+
deletedAt: Date | null;
|
4001
|
+
smtpHost: string;
|
4002
|
+
smtpPort: number;
|
4003
|
+
smtpTlsPort: number;
|
4004
|
+
useTlsForSmtp: boolean;
|
4005
|
+
imapHost: string;
|
4006
|
+
imapPort: number;
|
4007
|
+
imapTlsPort: number;
|
4008
|
+
useTlsForImap: boolean;
|
4009
|
+
};
|
4010
|
+
};
|
4011
|
+
count: number;
|
4012
|
+
}>, "many">;
|
4013
|
+
contactLabels: z.ZodArray<z.ZodObject<{
|
4014
|
+
label: z.ZodObject<{
|
4015
|
+
id: z.ZodString;
|
4016
|
+
createdAt: z.ZodDate;
|
4017
|
+
updatedAt: z.ZodDate;
|
4018
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4019
|
+
name: z.ZodString;
|
4020
|
+
}, "strip", z.ZodTypeAny, {
|
4021
|
+
id: string;
|
4022
|
+
name: string;
|
4023
|
+
createdAt: Date;
|
4024
|
+
updatedAt: Date;
|
4025
|
+
deletedAt: Date | null;
|
4026
|
+
}, {
|
4027
|
+
id: string;
|
4028
|
+
name: string;
|
4029
|
+
createdAt: Date;
|
4030
|
+
updatedAt: Date;
|
4031
|
+
deletedAt: Date | null;
|
4032
|
+
}>;
|
4033
|
+
count: z.ZodNumber;
|
4034
|
+
}, "strip", z.ZodTypeAny, {
|
4035
|
+
label: {
|
4036
|
+
id: string;
|
4037
|
+
name: string;
|
4038
|
+
createdAt: Date;
|
4039
|
+
updatedAt: Date;
|
4040
|
+
deletedAt: Date | null;
|
4041
|
+
};
|
4042
|
+
count: number;
|
4043
|
+
}, {
|
4044
|
+
label: {
|
4045
|
+
id: string;
|
4046
|
+
name: string;
|
4047
|
+
createdAt: Date;
|
4048
|
+
updatedAt: Date;
|
4049
|
+
deletedAt: Date | null;
|
4050
|
+
};
|
4051
|
+
count: number;
|
4052
|
+
}>, "many">;
|
4053
|
+
}, "strip", z.ZodTypeAny, {
|
4054
|
+
general: {
|
4055
|
+
name: string;
|
4056
|
+
count: number;
|
4057
|
+
unReadMessagesCount: number;
|
4058
|
+
}[];
|
4059
|
+
channels: {
|
4060
|
+
channel: {
|
4061
|
+
id: string;
|
4062
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4063
|
+
address: string;
|
4064
|
+
name: string;
|
4065
|
+
createdAt: Date;
|
4066
|
+
updatedAt: Date;
|
4067
|
+
deletedAt: Date | null;
|
4068
|
+
accountId: string;
|
4069
|
+
mailServerId: string;
|
4070
|
+
mailServer: {
|
4071
|
+
id: string;
|
4072
|
+
name: string;
|
4073
|
+
createdAt: Date;
|
4074
|
+
updatedAt: Date;
|
4075
|
+
deletedAt: Date | null;
|
4076
|
+
smtpHost: string;
|
4077
|
+
smtpPort: number;
|
4078
|
+
smtpTlsPort: number;
|
4079
|
+
useTlsForSmtp: boolean;
|
4080
|
+
imapHost: string;
|
4081
|
+
imapPort: number;
|
4082
|
+
imapTlsPort: number;
|
4083
|
+
useTlsForImap: boolean;
|
4084
|
+
};
|
4085
|
+
};
|
4086
|
+
count: number;
|
4087
|
+
}[];
|
4088
|
+
contactLabels: {
|
4089
|
+
label: {
|
4090
|
+
id: string;
|
4091
|
+
name: string;
|
4092
|
+
createdAt: Date;
|
4093
|
+
updatedAt: Date;
|
4094
|
+
deletedAt: Date | null;
|
4095
|
+
};
|
4096
|
+
count: number;
|
4097
|
+
}[];
|
4098
|
+
}, {
|
4099
|
+
general: {
|
4100
|
+
name: string;
|
4101
|
+
count: number;
|
4102
|
+
unReadMessagesCount: number;
|
4103
|
+
}[];
|
4104
|
+
channels: {
|
4105
|
+
channel: {
|
4106
|
+
id: string;
|
4107
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4108
|
+
address: string;
|
4109
|
+
name: string;
|
4110
|
+
createdAt: Date;
|
4111
|
+
updatedAt: Date;
|
4112
|
+
deletedAt: Date | null;
|
4113
|
+
accountId: string;
|
4114
|
+
mailServerId: string;
|
4115
|
+
mailServer: {
|
4116
|
+
id: string;
|
4117
|
+
name: string;
|
4118
|
+
createdAt: Date;
|
4119
|
+
updatedAt: Date;
|
4120
|
+
deletedAt: Date | null;
|
4121
|
+
smtpHost: string;
|
4122
|
+
smtpPort: number;
|
4123
|
+
smtpTlsPort: number;
|
4124
|
+
useTlsForSmtp: boolean;
|
4125
|
+
imapHost: string;
|
4126
|
+
imapPort: number;
|
4127
|
+
imapTlsPort: number;
|
4128
|
+
useTlsForImap: boolean;
|
4129
|
+
};
|
4130
|
+
};
|
4131
|
+
count: number;
|
4132
|
+
}[];
|
4133
|
+
contactLabels: {
|
4134
|
+
label: {
|
4135
|
+
id: string;
|
4136
|
+
name: string;
|
4137
|
+
createdAt: Date;
|
4138
|
+
updatedAt: Date;
|
4139
|
+
deletedAt: Date | null;
|
4140
|
+
};
|
4141
|
+
count: number;
|
4142
|
+
}[];
|
4143
|
+
}>;
|
4144
|
+
}, "strip", z.ZodTypeAny, {
|
4145
|
+
data: {
|
4146
|
+
general: {
|
4147
|
+
name: string;
|
4148
|
+
count: number;
|
4149
|
+
unReadMessagesCount: number;
|
4150
|
+
}[];
|
4151
|
+
channels: {
|
4152
|
+
channel: {
|
4153
|
+
id: string;
|
4154
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4155
|
+
address: string;
|
4156
|
+
name: string;
|
4157
|
+
createdAt: Date;
|
4158
|
+
updatedAt: Date;
|
4159
|
+
deletedAt: Date | null;
|
4160
|
+
accountId: string;
|
4161
|
+
mailServerId: string;
|
4162
|
+
mailServer: {
|
4163
|
+
id: string;
|
4164
|
+
name: string;
|
4165
|
+
createdAt: Date;
|
4166
|
+
updatedAt: Date;
|
4167
|
+
deletedAt: Date | null;
|
4168
|
+
smtpHost: string;
|
4169
|
+
smtpPort: number;
|
4170
|
+
smtpTlsPort: number;
|
4171
|
+
useTlsForSmtp: boolean;
|
4172
|
+
imapHost: string;
|
4173
|
+
imapPort: number;
|
4174
|
+
imapTlsPort: number;
|
4175
|
+
useTlsForImap: boolean;
|
4176
|
+
};
|
4177
|
+
};
|
4178
|
+
count: number;
|
4179
|
+
}[];
|
4180
|
+
contactLabels: {
|
4181
|
+
label: {
|
4182
|
+
id: string;
|
4183
|
+
name: string;
|
4184
|
+
createdAt: Date;
|
4185
|
+
updatedAt: Date;
|
4186
|
+
deletedAt: Date | null;
|
4187
|
+
};
|
4188
|
+
count: number;
|
4189
|
+
}[];
|
4190
|
+
};
|
4191
|
+
requestId: string;
|
4192
|
+
}, {
|
4193
|
+
data: {
|
4194
|
+
general: {
|
4195
|
+
name: string;
|
4196
|
+
count: number;
|
4197
|
+
unReadMessagesCount: number;
|
4198
|
+
}[];
|
4199
|
+
channels: {
|
4200
|
+
channel: {
|
4201
|
+
id: string;
|
4202
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4203
|
+
address: string;
|
4204
|
+
name: string;
|
4205
|
+
createdAt: Date;
|
4206
|
+
updatedAt: Date;
|
4207
|
+
deletedAt: Date | null;
|
4208
|
+
accountId: string;
|
4209
|
+
mailServerId: string;
|
4210
|
+
mailServer: {
|
4211
|
+
id: string;
|
4212
|
+
name: string;
|
4213
|
+
createdAt: Date;
|
4214
|
+
updatedAt: Date;
|
4215
|
+
deletedAt: Date | null;
|
4216
|
+
smtpHost: string;
|
4217
|
+
smtpPort: number;
|
4218
|
+
smtpTlsPort: number;
|
4219
|
+
useTlsForSmtp: boolean;
|
4220
|
+
imapHost: string;
|
4221
|
+
imapPort: number;
|
4222
|
+
imapTlsPort: number;
|
4223
|
+
useTlsForImap: boolean;
|
4224
|
+
};
|
4225
|
+
};
|
4226
|
+
count: number;
|
4227
|
+
}[];
|
4228
|
+
contactLabels: {
|
4229
|
+
label: {
|
4230
|
+
id: string;
|
4231
|
+
name: string;
|
4232
|
+
createdAt: Date;
|
4233
|
+
updatedAt: Date;
|
4234
|
+
deletedAt: Date | null;
|
4235
|
+
};
|
4236
|
+
count: number;
|
4237
|
+
}[];
|
4238
|
+
};
|
4239
|
+
requestId: string;
|
4240
|
+
}>;
|
4241
|
+
};
|
4242
|
+
path: "mail/room/count_rooms/all";
|
4243
|
+
};
|
4244
|
+
getAttachments: {
|
4245
|
+
summary: "Get all the attachments of a room";
|
4246
|
+
method: "GET";
|
4247
|
+
pathParams: z.ZodObject<{
|
4248
|
+
id: z.ZodString;
|
4249
|
+
}, "strip", z.ZodTypeAny, {
|
4250
|
+
id: string;
|
4251
|
+
}, {
|
4252
|
+
id: string;
|
4253
|
+
}>;
|
4254
|
+
responses: {
|
4255
|
+
401: z.ZodObject<{
|
4256
|
+
message: z.ZodString;
|
4257
|
+
error: z.ZodAny;
|
4258
|
+
}, "strip", z.ZodTypeAny, {
|
4259
|
+
message: string;
|
4260
|
+
error?: any;
|
4261
|
+
}, {
|
4262
|
+
message: string;
|
4263
|
+
error?: any;
|
4264
|
+
}>;
|
4265
|
+
404: z.ZodObject<{
|
4266
|
+
message: z.ZodString;
|
4267
|
+
error: z.ZodAny;
|
4268
|
+
}, "strip", z.ZodTypeAny, {
|
4269
|
+
message: string;
|
4270
|
+
error?: any;
|
4271
|
+
}, {
|
4272
|
+
message: string;
|
4273
|
+
error?: any;
|
4274
|
+
}>;
|
4275
|
+
422: z.ZodObject<{
|
4276
|
+
message: z.ZodString;
|
4277
|
+
error: z.ZodAny;
|
4278
|
+
}, "strip", z.ZodTypeAny, {
|
4279
|
+
message: string;
|
4280
|
+
error?: any;
|
4281
|
+
}, {
|
4282
|
+
message: string;
|
4283
|
+
error?: any;
|
4284
|
+
}>;
|
4285
|
+
200: z.ZodObject<{
|
4286
|
+
requestId: z.ZodString;
|
4287
|
+
data: z.ZodArray<z.ZodObject<{
|
4288
|
+
fileName: z.ZodString;
|
4289
|
+
fileType: z.ZodString;
|
4290
|
+
emailEngineAttachmentId: z.ZodString;
|
4291
|
+
uploadId: z.ZodString;
|
4292
|
+
messageId: z.ZodString;
|
4293
|
+
roomId: z.ZodString;
|
4294
|
+
upload: z.ZodObject<{
|
4295
|
+
id: z.ZodString;
|
4296
|
+
createdAt: z.ZodDate;
|
4297
|
+
updatedAt: z.ZodDate;
|
4298
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4299
|
+
bucketName: z.ZodString;
|
4300
|
+
fileName: z.ZodString;
|
4301
|
+
fileSize: z.ZodNumber;
|
4302
|
+
fileKey: z.ZodString;
|
4303
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
4304
|
+
status: z.ZodOptional<z.ZodString>;
|
4305
|
+
}, "strip", z.ZodTypeAny, {
|
4306
|
+
id: string;
|
4307
|
+
createdAt: Date;
|
4308
|
+
updatedAt: Date;
|
4309
|
+
deletedAt: Date | null;
|
4310
|
+
fileName: string;
|
4311
|
+
fileKey: string;
|
4312
|
+
bucketName: string;
|
4313
|
+
fileSize: number;
|
4314
|
+
fileUrl: string | null;
|
4315
|
+
status?: string | undefined;
|
4316
|
+
}, {
|
4317
|
+
id: string;
|
4318
|
+
createdAt: Date;
|
4319
|
+
updatedAt: Date;
|
4320
|
+
deletedAt: Date | null;
|
4321
|
+
fileName: string;
|
4322
|
+
fileKey: string;
|
4323
|
+
bucketName: string;
|
4324
|
+
fileSize: number;
|
4325
|
+
fileUrl: string | null;
|
4326
|
+
status?: string | undefined;
|
4327
|
+
}>;
|
4328
|
+
}, "strip", z.ZodTypeAny, {
|
4329
|
+
fileName: string;
|
4330
|
+
fileType: string;
|
4331
|
+
uploadId: string;
|
4332
|
+
upload: {
|
4333
|
+
id: string;
|
4334
|
+
createdAt: Date;
|
4335
|
+
updatedAt: Date;
|
4336
|
+
deletedAt: Date | null;
|
4337
|
+
fileName: string;
|
4338
|
+
fileKey: string;
|
4339
|
+
bucketName: string;
|
4340
|
+
fileSize: number;
|
4341
|
+
fileUrl: string | null;
|
4342
|
+
status?: string | undefined;
|
4343
|
+
};
|
4344
|
+
roomId: string;
|
4345
|
+
messageId: string;
|
4346
|
+
emailEngineAttachmentId: string;
|
4347
|
+
}, {
|
4348
|
+
fileName: string;
|
4349
|
+
fileType: string;
|
4350
|
+
uploadId: string;
|
4351
|
+
upload: {
|
4352
|
+
id: string;
|
4353
|
+
createdAt: Date;
|
4354
|
+
updatedAt: Date;
|
4355
|
+
deletedAt: Date | null;
|
4356
|
+
fileName: string;
|
4357
|
+
fileKey: string;
|
4358
|
+
bucketName: string;
|
4359
|
+
fileSize: number;
|
4360
|
+
fileUrl: string | null;
|
4361
|
+
status?: string | undefined;
|
4362
|
+
};
|
4363
|
+
roomId: string;
|
4364
|
+
messageId: string;
|
4365
|
+
emailEngineAttachmentId: string;
|
4366
|
+
}>, "many">;
|
4367
|
+
}, "strip", z.ZodTypeAny, {
|
4368
|
+
data: {
|
4369
|
+
fileName: string;
|
4370
|
+
fileType: string;
|
4371
|
+
uploadId: string;
|
4372
|
+
upload: {
|
4373
|
+
id: string;
|
4374
|
+
createdAt: Date;
|
4375
|
+
updatedAt: Date;
|
4376
|
+
deletedAt: Date | null;
|
4377
|
+
fileName: string;
|
4378
|
+
fileKey: string;
|
4379
|
+
bucketName: string;
|
4380
|
+
fileSize: number;
|
4381
|
+
fileUrl: string | null;
|
4382
|
+
status?: string | undefined;
|
4383
|
+
};
|
4384
|
+
roomId: string;
|
4385
|
+
messageId: string;
|
4386
|
+
emailEngineAttachmentId: string;
|
4387
|
+
}[];
|
4388
|
+
requestId: string;
|
4389
|
+
}, {
|
4390
|
+
data: {
|
4391
|
+
fileName: string;
|
4392
|
+
fileType: string;
|
4393
|
+
uploadId: string;
|
4394
|
+
upload: {
|
4395
|
+
id: string;
|
4396
|
+
createdAt: Date;
|
4397
|
+
updatedAt: Date;
|
4398
|
+
deletedAt: Date | null;
|
4399
|
+
fileName: string;
|
4400
|
+
fileKey: string;
|
4401
|
+
bucketName: string;
|
4402
|
+
fileSize: number;
|
4403
|
+
fileUrl: string | null;
|
4404
|
+
status?: string | undefined;
|
4405
|
+
};
|
4406
|
+
roomId: string;
|
4407
|
+
messageId: string;
|
4408
|
+
emailEngineAttachmentId: string;
|
4409
|
+
}[];
|
4410
|
+
requestId: string;
|
4411
|
+
}>;
|
4412
|
+
};
|
4413
|
+
path: "mail/room/:id/attachments";
|
4414
|
+
};
|
4415
|
+
getParticipants: {
|
4416
|
+
summary: "Get all the attachments of a room";
|
4417
|
+
method: "GET";
|
4418
|
+
pathParams: z.ZodObject<{
|
4419
|
+
id: z.ZodString;
|
4420
|
+
}, "strip", z.ZodTypeAny, {
|
4421
|
+
id: string;
|
4422
|
+
}, {
|
4423
|
+
id: string;
|
4424
|
+
}>;
|
4425
|
+
responses: {
|
4426
|
+
401: z.ZodObject<{
|
4427
|
+
message: z.ZodString;
|
4428
|
+
error: z.ZodAny;
|
4429
|
+
}, "strip", z.ZodTypeAny, {
|
4430
|
+
message: string;
|
4431
|
+
error?: any;
|
4432
|
+
}, {
|
4433
|
+
message: string;
|
4434
|
+
error?: any;
|
4435
|
+
}>;
|
4436
|
+
404: z.ZodObject<{
|
4437
|
+
message: z.ZodString;
|
4438
|
+
error: z.ZodAny;
|
4439
|
+
}, "strip", z.ZodTypeAny, {
|
4440
|
+
message: string;
|
4441
|
+
error?: any;
|
4442
|
+
}, {
|
4443
|
+
message: string;
|
4444
|
+
error?: any;
|
4445
|
+
}>;
|
4446
|
+
422: z.ZodObject<{
|
4447
|
+
message: z.ZodString;
|
4448
|
+
error: z.ZodAny;
|
4449
|
+
}, "strip", z.ZodTypeAny, {
|
4450
|
+
message: string;
|
4451
|
+
error?: any;
|
4452
|
+
}, {
|
4453
|
+
message: string;
|
4454
|
+
error?: any;
|
4455
|
+
}>;
|
4456
|
+
200: z.ZodObject<{
|
4457
|
+
requestId: z.ZodString;
|
4458
|
+
data: z.ZodArray<z.ZodObject<{
|
4459
|
+
id: z.ZodString;
|
4460
|
+
createdAt: z.ZodDate;
|
4461
|
+
updatedAt: z.ZodDate;
|
4462
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4463
|
+
name: z.ZodString;
|
4464
|
+
address: z.ZodString;
|
4465
|
+
}, "strip", z.ZodTypeAny, {
|
4466
|
+
id: string;
|
4467
|
+
address: string;
|
4468
|
+
name: string;
|
4469
|
+
createdAt: Date;
|
4470
|
+
updatedAt: Date;
|
4471
|
+
deletedAt: Date | null;
|
4472
|
+
}, {
|
4473
|
+
id: string;
|
4474
|
+
address: string;
|
4475
|
+
name: string;
|
4476
|
+
createdAt: Date;
|
4477
|
+
updatedAt: Date;
|
4478
|
+
deletedAt: Date | null;
|
4479
|
+
}>, "many">;
|
4480
|
+
}, "strip", z.ZodTypeAny, {
|
4481
|
+
data: {
|
4482
|
+
id: string;
|
4483
|
+
address: string;
|
4484
|
+
name: string;
|
4485
|
+
createdAt: Date;
|
4486
|
+
updatedAt: Date;
|
4487
|
+
deletedAt: Date | null;
|
4488
|
+
}[];
|
4489
|
+
requestId: string;
|
4490
|
+
}, {
|
4491
|
+
data: {
|
4492
|
+
id: string;
|
4493
|
+
address: string;
|
4494
|
+
name: string;
|
4495
|
+
createdAt: Date;
|
4496
|
+
updatedAt: Date;
|
4497
|
+
deletedAt: Date | null;
|
4498
|
+
}[];
|
4499
|
+
requestId: string;
|
4500
|
+
}>;
|
4501
|
+
};
|
4502
|
+
path: "mail/room/:id/participants";
|
4503
|
+
};
|
4504
|
+
update: {
|
4505
|
+
body: z.ZodObject<{
|
4506
|
+
disposition: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"resolved">, z.ZodLiteral<"follow up">, z.ZodLiteral<"escalated">, z.ZodLiteral<"dropped">, z.ZodLiteral<"prank">, z.ZodLiteral<"blank">]>>>;
|
4507
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
4508
|
+
note: z.ZodOptional<z.ZodString>;
|
4509
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
4510
|
+
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4511
|
+
selfAssign: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4512
|
+
}, "strip", z.ZodTypeAny, {
|
4513
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4514
|
+
assigneeId?: string | null | undefined;
|
4515
|
+
note?: string | undefined;
|
4516
|
+
tags?: string[] | undefined;
|
4517
|
+
handover?: boolean | null | undefined;
|
4518
|
+
selfAssign?: boolean | null | undefined;
|
4519
|
+
}, {
|
4520
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4521
|
+
assigneeId?: string | null | undefined;
|
4522
|
+
note?: string | undefined;
|
4523
|
+
tags?: string[] | undefined;
|
4524
|
+
handover?: boolean | "false" | "true" | null | undefined;
|
4525
|
+
selfAssign?: boolean | "false" | "true" | null | undefined;
|
4526
|
+
}>;
|
4527
|
+
summary: "Update a mail room by id";
|
4528
|
+
method: "PATCH";
|
4529
|
+
pathParams: z.ZodObject<{
|
4530
|
+
id: z.ZodString;
|
4531
|
+
}, "strip", z.ZodTypeAny, {
|
4532
|
+
id: string;
|
4533
|
+
}, {
|
4534
|
+
id: string;
|
4535
|
+
}>;
|
4536
|
+
responses: {
|
4537
|
+
401: z.ZodObject<{
|
4538
|
+
message: z.ZodString;
|
4539
|
+
error: z.ZodAny;
|
4540
|
+
}, "strip", z.ZodTypeAny, {
|
4541
|
+
message: string;
|
4542
|
+
error?: any;
|
4543
|
+
}, {
|
4544
|
+
message: string;
|
4545
|
+
error?: any;
|
4546
|
+
}>;
|
4547
|
+
404: z.ZodObject<{
|
4548
|
+
message: z.ZodString;
|
4549
|
+
error: z.ZodAny;
|
4550
|
+
}, "strip", z.ZodTypeAny, {
|
4551
|
+
message: string;
|
4552
|
+
error?: any;
|
4553
|
+
}, {
|
4554
|
+
message: string;
|
4555
|
+
error?: any;
|
4556
|
+
}>;
|
4557
|
+
422: z.ZodObject<{
|
4558
|
+
message: z.ZodString;
|
4559
|
+
error: z.ZodAny;
|
4560
|
+
}, "strip", z.ZodTypeAny, {
|
4561
|
+
message: string;
|
4562
|
+
error?: any;
|
4563
|
+
}, {
|
4564
|
+
message: string;
|
4565
|
+
error?: any;
|
4566
|
+
}>;
|
4567
|
+
200: z.ZodObject<{
|
4568
|
+
requestId: z.ZodString;
|
4569
|
+
data: z.ZodObject<{
|
4570
|
+
id: z.ZodString;
|
4571
|
+
createdAt: z.ZodDate;
|
4572
|
+
updatedAt: z.ZodDate;
|
4573
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4574
|
+
subject: z.ZodString;
|
4575
|
+
resolved: z.ZodBoolean;
|
4576
|
+
assigneeId: z.ZodNullable<z.ZodString>;
|
4577
|
+
note: z.ZodString;
|
4578
|
+
mailId: z.ZodString;
|
4579
|
+
direction: z.ZodString;
|
4580
|
+
lastMessageId: z.ZodString;
|
4581
|
+
firstMessageId: z.ZodString;
|
4582
|
+
from: z.ZodArray<z.ZodObject<{
|
4583
|
+
id: z.ZodString;
|
4584
|
+
createdAt: z.ZodDate;
|
4585
|
+
updatedAt: z.ZodDate;
|
4586
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4587
|
+
name: z.ZodString;
|
4588
|
+
address: z.ZodString;
|
4589
|
+
}, "strip", z.ZodTypeAny, {
|
4590
|
+
id: string;
|
4591
|
+
address: string;
|
4592
|
+
name: string;
|
4593
|
+
createdAt: Date;
|
4594
|
+
updatedAt: Date;
|
4595
|
+
deletedAt: Date | null;
|
4596
|
+
}, {
|
4597
|
+
id: string;
|
4598
|
+
address: string;
|
4599
|
+
name: string;
|
4600
|
+
createdAt: Date;
|
4601
|
+
updatedAt: Date;
|
4602
|
+
deletedAt: Date | null;
|
4603
|
+
}>, "many">;
|
4604
|
+
to: z.ZodArray<z.ZodObject<{
|
4605
|
+
id: z.ZodString;
|
4606
|
+
createdAt: z.ZodDate;
|
4607
|
+
updatedAt: z.ZodDate;
|
4608
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4609
|
+
name: z.ZodString;
|
4610
|
+
address: z.ZodString;
|
4611
|
+
}, "strip", z.ZodTypeAny, {
|
4612
|
+
id: string;
|
4613
|
+
address: string;
|
4614
|
+
name: string;
|
4615
|
+
createdAt: Date;
|
4616
|
+
updatedAt: Date;
|
4617
|
+
deletedAt: Date | null;
|
4618
|
+
}, {
|
4619
|
+
id: string;
|
4620
|
+
address: string;
|
4621
|
+
name: string;
|
4622
|
+
createdAt: Date;
|
4623
|
+
updatedAt: Date;
|
4624
|
+
deletedAt: Date | null;
|
4625
|
+
}>, "many">;
|
4626
|
+
cc: z.ZodArray<z.ZodObject<{
|
4627
|
+
id: z.ZodString;
|
4628
|
+
createdAt: z.ZodDate;
|
4629
|
+
updatedAt: z.ZodDate;
|
4630
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4631
|
+
name: z.ZodString;
|
4632
|
+
address: z.ZodString;
|
4633
|
+
}, "strip", z.ZodTypeAny, {
|
4634
|
+
id: string;
|
4635
|
+
address: string;
|
4636
|
+
name: string;
|
4637
|
+
createdAt: Date;
|
4638
|
+
updatedAt: Date;
|
4639
|
+
deletedAt: Date | null;
|
4640
|
+
}, {
|
4641
|
+
id: string;
|
4642
|
+
address: string;
|
4643
|
+
name: string;
|
4644
|
+
createdAt: Date;
|
4645
|
+
updatedAt: Date;
|
4646
|
+
deletedAt: Date | null;
|
4647
|
+
}>, "many">;
|
4648
|
+
bcc: z.ZodArray<z.ZodObject<{
|
4649
|
+
id: z.ZodString;
|
4650
|
+
createdAt: z.ZodDate;
|
4651
|
+
updatedAt: z.ZodDate;
|
4652
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4653
|
+
name: z.ZodString;
|
4654
|
+
address: z.ZodString;
|
4655
|
+
}, "strip", z.ZodTypeAny, {
|
4656
|
+
id: string;
|
4657
|
+
address: string;
|
4658
|
+
name: string;
|
4659
|
+
createdAt: Date;
|
4660
|
+
updatedAt: Date;
|
4661
|
+
deletedAt: Date | null;
|
4662
|
+
}, {
|
4663
|
+
id: string;
|
4664
|
+
address: string;
|
4665
|
+
name: string;
|
4666
|
+
createdAt: Date;
|
4667
|
+
updatedAt: Date;
|
4668
|
+
deletedAt: Date | null;
|
4669
|
+
}>, "many">;
|
4670
|
+
firstMessage: z.ZodObject<{
|
4671
|
+
id: z.ZodString;
|
4672
|
+
createdAt: z.ZodDate;
|
4673
|
+
updatedAt: z.ZodDate;
|
4674
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4675
|
+
roomId: z.ZodString;
|
4676
|
+
subject: z.ZodString;
|
4677
|
+
textPlain: z.ZodString;
|
4678
|
+
textHtml: z.ZodString;
|
4679
|
+
textId: z.ZodString;
|
4680
|
+
emailEngineEmailId: z.ZodString;
|
4681
|
+
emailEngineMessageId: z.ZodString;
|
4682
|
+
emailEngineReplyTo: z.ZodNullable<z.ZodString>;
|
4683
|
+
direction: z.ZodString;
|
4684
|
+
date: z.ZodDate;
|
4685
|
+
action: z.ZodString;
|
4686
|
+
unseen: z.ZodBoolean;
|
4687
|
+
seemsLikeNew: z.ZodBoolean;
|
4688
|
+
from: z.ZodArray<z.ZodObject<{
|
3683
4689
|
id: z.ZodString;
|
3684
4690
|
createdAt: z.ZodDate;
|
3685
4691
|
updatedAt: z.ZodDate;
|
@@ -5259,31 +6265,175 @@ export declare const roomContract: {
|
|
5259
6265
|
};
|
5260
6266
|
}, {
|
5261
6267
|
id: string;
|
5262
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
5263
|
-
address: string;
|
5264
|
-
name: string;
|
6268
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
6269
|
+
address: string;
|
6270
|
+
name: string;
|
6271
|
+
createdAt: Date;
|
6272
|
+
updatedAt: Date;
|
6273
|
+
deletedAt: Date | null;
|
6274
|
+
accountId: string;
|
6275
|
+
mailServerId: string;
|
6276
|
+
mailServer: {
|
6277
|
+
id: string;
|
6278
|
+
name: string;
|
6279
|
+
createdAt: Date;
|
6280
|
+
updatedAt: Date;
|
6281
|
+
deletedAt: Date | null;
|
6282
|
+
smtpHost: string;
|
6283
|
+
smtpPort: number;
|
6284
|
+
smtpTlsPort: number;
|
6285
|
+
useTlsForSmtp: boolean;
|
6286
|
+
imapHost: string;
|
6287
|
+
imapPort: number;
|
6288
|
+
imapTlsPort: number;
|
6289
|
+
useTlsForImap: boolean;
|
6290
|
+
};
|
6291
|
+
}>;
|
6292
|
+
unReadMessageCount: z.ZodNumber;
|
6293
|
+
cxlog: z.ZodObject<{
|
6294
|
+
id: z.ZodString;
|
6295
|
+
createdAt: z.ZodDate;
|
6296
|
+
updatedAt: z.ZodDate;
|
6297
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6298
|
+
caseId: z.ZodNumber;
|
6299
|
+
entityId: z.ZodString;
|
6300
|
+
entityName: z.ZodString;
|
6301
|
+
contactId: z.ZodNullable<z.ZodString>;
|
6302
|
+
channel: z.ZodNullable<z.ZodString>;
|
6303
|
+
queueId: z.ZodNullable<z.ZodString>;
|
6304
|
+
agentId: z.ZodNullable<z.ZodString>;
|
6305
|
+
direction: z.ZodNullable<z.ZodString>;
|
6306
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
6307
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
6308
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
6309
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
6310
|
+
id: z.ZodString;
|
6311
|
+
createdAt: z.ZodDate;
|
6312
|
+
updatedAt: z.ZodDate;
|
6313
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6314
|
+
note: z.ZodNullable<z.ZodString>;
|
6315
|
+
disposition: z.ZodNullable<z.ZodString>;
|
6316
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
6317
|
+
callTo: z.ZodNullable<z.ZodString>;
|
6318
|
+
tags: z.ZodArray<z.ZodObject<{
|
6319
|
+
id: z.ZodString;
|
6320
|
+
createdAt: z.ZodDate;
|
6321
|
+
updatedAt: z.ZodDate;
|
6322
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6323
|
+
name: z.ZodString;
|
6324
|
+
}, "strip", z.ZodTypeAny, {
|
6325
|
+
id: string;
|
6326
|
+
name: string;
|
6327
|
+
createdAt: Date;
|
6328
|
+
updatedAt: Date;
|
6329
|
+
deletedAt: Date | null;
|
6330
|
+
}, {
|
6331
|
+
id: string;
|
6332
|
+
name: string;
|
6333
|
+
createdAt: Date;
|
6334
|
+
updatedAt: Date;
|
6335
|
+
deletedAt: Date | null;
|
6336
|
+
}>, "many">;
|
6337
|
+
}, "strip", z.ZodTypeAny, {
|
6338
|
+
id: string;
|
6339
|
+
disposition: string | null;
|
6340
|
+
createdAt: Date;
|
6341
|
+
updatedAt: Date;
|
6342
|
+
deletedAt: Date | null;
|
6343
|
+
tags: {
|
6344
|
+
id: string;
|
6345
|
+
name: string;
|
6346
|
+
createdAt: Date;
|
6347
|
+
updatedAt: Date;
|
6348
|
+
deletedAt: Date | null;
|
6349
|
+
}[];
|
6350
|
+
callFrom: string | null;
|
6351
|
+
callTo: string | null;
|
6352
|
+
note: string | null;
|
6353
|
+
}, {
|
6354
|
+
id: string;
|
6355
|
+
disposition: string | null;
|
6356
|
+
createdAt: Date;
|
6357
|
+
updatedAt: Date;
|
6358
|
+
deletedAt: Date | null;
|
6359
|
+
tags: {
|
6360
|
+
id: string;
|
6361
|
+
name: string;
|
6362
|
+
createdAt: Date;
|
6363
|
+
updatedAt: Date;
|
6364
|
+
deletedAt: Date | null;
|
6365
|
+
}[];
|
6366
|
+
callFrom: string | null;
|
6367
|
+
callTo: string | null;
|
6368
|
+
note: string | null;
|
6369
|
+
}>>;
|
6370
|
+
}, "strip", z.ZodTypeAny, {
|
6371
|
+
id: string;
|
6372
|
+
channel: string | null;
|
6373
|
+
direction: string | null;
|
6374
|
+
createdAt: Date;
|
6375
|
+
updatedAt: Date;
|
6376
|
+
deletedAt: Date | null;
|
6377
|
+
entityId: string;
|
6378
|
+
queueId: string | null;
|
6379
|
+
contactId: string | null;
|
6380
|
+
caseId: number;
|
6381
|
+
entityName: string;
|
6382
|
+
agentId: string | null;
|
6383
|
+
startedDate: Date | null;
|
6384
|
+
handledTime: number | null;
|
6385
|
+
firstResponseTime: number | null;
|
6386
|
+
wrapUpForm: {
|
6387
|
+
id: string;
|
6388
|
+
disposition: string | null;
|
6389
|
+
createdAt: Date;
|
6390
|
+
updatedAt: Date;
|
6391
|
+
deletedAt: Date | null;
|
6392
|
+
tags: {
|
6393
|
+
id: string;
|
6394
|
+
name: string;
|
6395
|
+
createdAt: Date;
|
6396
|
+
updatedAt: Date;
|
6397
|
+
deletedAt: Date | null;
|
6398
|
+
}[];
|
6399
|
+
callFrom: string | null;
|
6400
|
+
callTo: string | null;
|
6401
|
+
note: string | null;
|
6402
|
+
} | null;
|
6403
|
+
}, {
|
6404
|
+
id: string;
|
6405
|
+
channel: string | null;
|
6406
|
+
direction: string | null;
|
5265
6407
|
createdAt: Date;
|
5266
6408
|
updatedAt: Date;
|
5267
6409
|
deletedAt: Date | null;
|
5268
|
-
|
5269
|
-
|
5270
|
-
|
6410
|
+
entityId: string;
|
6411
|
+
queueId: string | null;
|
6412
|
+
contactId: string | null;
|
6413
|
+
caseId: number;
|
6414
|
+
entityName: string;
|
6415
|
+
agentId: string | null;
|
6416
|
+
startedDate: Date | null;
|
6417
|
+
handledTime: number | null;
|
6418
|
+
firstResponseTime: number | null;
|
6419
|
+
wrapUpForm: {
|
5271
6420
|
id: string;
|
5272
|
-
|
6421
|
+
disposition: string | null;
|
5273
6422
|
createdAt: Date;
|
5274
6423
|
updatedAt: Date;
|
5275
6424
|
deletedAt: Date | null;
|
5276
|
-
|
5277
|
-
|
5278
|
-
|
5279
|
-
|
5280
|
-
|
5281
|
-
|
5282
|
-
|
5283
|
-
|
5284
|
-
|
6425
|
+
tags: {
|
6426
|
+
id: string;
|
6427
|
+
name: string;
|
6428
|
+
createdAt: Date;
|
6429
|
+
updatedAt: Date;
|
6430
|
+
deletedAt: Date | null;
|
6431
|
+
}[];
|
6432
|
+
callFrom: string | null;
|
6433
|
+
callTo: string | null;
|
6434
|
+
note: string | null;
|
6435
|
+
} | null;
|
5285
6436
|
}>;
|
5286
|
-
unReadMessageCount: z.ZodNumber;
|
5287
6437
|
}, "strip", z.ZodTypeAny, {
|
5288
6438
|
id: string;
|
5289
6439
|
direction: string;
|
@@ -5386,6 +6536,40 @@ export declare const roomContract: {
|
|
5386
6536
|
notificationCount: number | null;
|
5387
6537
|
};
|
5388
6538
|
resolved: boolean;
|
6539
|
+
cxlog: {
|
6540
|
+
id: string;
|
6541
|
+
channel: string | null;
|
6542
|
+
direction: string | null;
|
6543
|
+
createdAt: Date;
|
6544
|
+
updatedAt: Date;
|
6545
|
+
deletedAt: Date | null;
|
6546
|
+
entityId: string;
|
6547
|
+
queueId: string | null;
|
6548
|
+
contactId: string | null;
|
6549
|
+
caseId: number;
|
6550
|
+
entityName: string;
|
6551
|
+
agentId: string | null;
|
6552
|
+
startedDate: Date | null;
|
6553
|
+
handledTime: number | null;
|
6554
|
+
firstResponseTime: number | null;
|
6555
|
+
wrapUpForm: {
|
6556
|
+
id: string;
|
6557
|
+
disposition: string | null;
|
6558
|
+
createdAt: Date;
|
6559
|
+
updatedAt: Date;
|
6560
|
+
deletedAt: Date | null;
|
6561
|
+
tags: {
|
6562
|
+
id: string;
|
6563
|
+
name: string;
|
6564
|
+
createdAt: Date;
|
6565
|
+
updatedAt: Date;
|
6566
|
+
deletedAt: Date | null;
|
6567
|
+
}[];
|
6568
|
+
callFrom: string | null;
|
6569
|
+
callTo: string | null;
|
6570
|
+
note: string | null;
|
6571
|
+
} | null;
|
6572
|
+
};
|
5389
6573
|
assigneeId: string | null;
|
5390
6574
|
subject: string;
|
5391
6575
|
from: {
|
@@ -5796,6 +6980,40 @@ export declare const roomContract: {
|
|
5796
6980
|
notificationCount: number | null;
|
5797
6981
|
};
|
5798
6982
|
resolved: boolean;
|
6983
|
+
cxlog: {
|
6984
|
+
id: string;
|
6985
|
+
channel: string | null;
|
6986
|
+
direction: string | null;
|
6987
|
+
createdAt: Date;
|
6988
|
+
updatedAt: Date;
|
6989
|
+
deletedAt: Date | null;
|
6990
|
+
entityId: string;
|
6991
|
+
queueId: string | null;
|
6992
|
+
contactId: string | null;
|
6993
|
+
caseId: number;
|
6994
|
+
entityName: string;
|
6995
|
+
agentId: string | null;
|
6996
|
+
startedDate: Date | null;
|
6997
|
+
handledTime: number | null;
|
6998
|
+
firstResponseTime: number | null;
|
6999
|
+
wrapUpForm: {
|
7000
|
+
id: string;
|
7001
|
+
disposition: string | null;
|
7002
|
+
createdAt: Date;
|
7003
|
+
updatedAt: Date;
|
7004
|
+
deletedAt: Date | null;
|
7005
|
+
tags: {
|
7006
|
+
id: string;
|
7007
|
+
name: string;
|
7008
|
+
createdAt: Date;
|
7009
|
+
updatedAt: Date;
|
7010
|
+
deletedAt: Date | null;
|
7011
|
+
}[];
|
7012
|
+
callFrom: string | null;
|
7013
|
+
callTo: string | null;
|
7014
|
+
note: string | null;
|
7015
|
+
} | null;
|
7016
|
+
};
|
5799
7017
|
assigneeId: string | null;
|
5800
7018
|
subject: string;
|
5801
7019
|
from: {
|
@@ -6208,6 +7426,40 @@ export declare const roomContract: {
|
|
6208
7426
|
notificationCount: number | null;
|
6209
7427
|
};
|
6210
7428
|
resolved: boolean;
|
7429
|
+
cxlog: {
|
7430
|
+
id: string;
|
7431
|
+
channel: string | null;
|
7432
|
+
direction: string | null;
|
7433
|
+
createdAt: Date;
|
7434
|
+
updatedAt: Date;
|
7435
|
+
deletedAt: Date | null;
|
7436
|
+
entityId: string;
|
7437
|
+
queueId: string | null;
|
7438
|
+
contactId: string | null;
|
7439
|
+
caseId: number;
|
7440
|
+
entityName: string;
|
7441
|
+
agentId: string | null;
|
7442
|
+
startedDate: Date | null;
|
7443
|
+
handledTime: number | null;
|
7444
|
+
firstResponseTime: number | null;
|
7445
|
+
wrapUpForm: {
|
7446
|
+
id: string;
|
7447
|
+
disposition: string | null;
|
7448
|
+
createdAt: Date;
|
7449
|
+
updatedAt: Date;
|
7450
|
+
deletedAt: Date | null;
|
7451
|
+
tags: {
|
7452
|
+
id: string;
|
7453
|
+
name: string;
|
7454
|
+
createdAt: Date;
|
7455
|
+
updatedAt: Date;
|
7456
|
+
deletedAt: Date | null;
|
7457
|
+
}[];
|
7458
|
+
callFrom: string | null;
|
7459
|
+
callTo: string | null;
|
7460
|
+
note: string | null;
|
7461
|
+
} | null;
|
7462
|
+
};
|
6211
7463
|
assigneeId: string | null;
|
6212
7464
|
subject: string;
|
6213
7465
|
from: {
|
@@ -6621,6 +7873,40 @@ export declare const roomContract: {
|
|
6621
7873
|
notificationCount: number | null;
|
6622
7874
|
};
|
6623
7875
|
resolved: boolean;
|
7876
|
+
cxlog: {
|
7877
|
+
id: string;
|
7878
|
+
channel: string | null;
|
7879
|
+
direction: string | null;
|
7880
|
+
createdAt: Date;
|
7881
|
+
updatedAt: Date;
|
7882
|
+
deletedAt: Date | null;
|
7883
|
+
entityId: string;
|
7884
|
+
queueId: string | null;
|
7885
|
+
contactId: string | null;
|
7886
|
+
caseId: number;
|
7887
|
+
entityName: string;
|
7888
|
+
agentId: string | null;
|
7889
|
+
startedDate: Date | null;
|
7890
|
+
handledTime: number | null;
|
7891
|
+
firstResponseTime: number | null;
|
7892
|
+
wrapUpForm: {
|
7893
|
+
id: string;
|
7894
|
+
disposition: string | null;
|
7895
|
+
createdAt: Date;
|
7896
|
+
updatedAt: Date;
|
7897
|
+
deletedAt: Date | null;
|
7898
|
+
tags: {
|
7899
|
+
id: string;
|
7900
|
+
name: string;
|
7901
|
+
createdAt: Date;
|
7902
|
+
updatedAt: Date;
|
7903
|
+
deletedAt: Date | null;
|
7904
|
+
}[];
|
7905
|
+
callFrom: string | null;
|
7906
|
+
callTo: string | null;
|
7907
|
+
note: string | null;
|
7908
|
+
} | null;
|
7909
|
+
};
|
6624
7910
|
assigneeId: string | null;
|
6625
7911
|
subject: string;
|
6626
7912
|
from: {
|
@@ -6926,196 +8212,25 @@ export declare const roomContract: {
|
|
6926
8212
|
imapPort: number;
|
6927
8213
|
imapTlsPort: number;
|
6928
8214
|
useTlsForImap: boolean;
|
6929
|
-
};
|
6930
|
-
};
|
6931
|
-
unReadMessageCount: number;
|
6932
|
-
};
|
6933
|
-
requestId: string;
|
6934
|
-
}>;
|
6935
|
-
};
|
6936
|
-
path: "mail/room/:id";
|
6937
|
-
};
|
6938
|
-
getAttachments: {
|
6939
|
-
summary: "Get all the attachments of a room";
|
6940
|
-
method: "GET";
|
6941
|
-
pathParams: z.ZodObject<{
|
6942
|
-
id: z.ZodString;
|
6943
|
-
}, "strip", z.ZodTypeAny, {
|
6944
|
-
id: string;
|
6945
|
-
}, {
|
6946
|
-
id: string;
|
6947
|
-
}>;
|
6948
|
-
responses: {
|
6949
|
-
401: z.ZodObject<{
|
6950
|
-
message: z.ZodString;
|
6951
|
-
error: z.ZodAny;
|
6952
|
-
}, "strip", z.ZodTypeAny, {
|
6953
|
-
message: string;
|
6954
|
-
error?: any;
|
6955
|
-
}, {
|
6956
|
-
message: string;
|
6957
|
-
error?: any;
|
6958
|
-
}>;
|
6959
|
-
404: z.ZodObject<{
|
6960
|
-
message: z.ZodString;
|
6961
|
-
error: z.ZodAny;
|
6962
|
-
}, "strip", z.ZodTypeAny, {
|
6963
|
-
message: string;
|
6964
|
-
error?: any;
|
6965
|
-
}, {
|
6966
|
-
message: string;
|
6967
|
-
error?: any;
|
6968
|
-
}>;
|
6969
|
-
422: z.ZodObject<{
|
6970
|
-
message: z.ZodString;
|
6971
|
-
error: z.ZodAny;
|
6972
|
-
}, "strip", z.ZodTypeAny, {
|
6973
|
-
message: string;
|
6974
|
-
error?: any;
|
6975
|
-
}, {
|
6976
|
-
message: string;
|
6977
|
-
error?: any;
|
6978
|
-
}>;
|
6979
|
-
200: z.ZodObject<{
|
6980
|
-
requestId: z.ZodString;
|
6981
|
-
data: z.ZodArray<z.ZodObject<{
|
6982
|
-
fileName: z.ZodString;
|
6983
|
-
fileType: z.ZodString;
|
6984
|
-
emailEngineAttachmentId: z.ZodString;
|
6985
|
-
uploadId: z.ZodString;
|
6986
|
-
messageId: z.ZodString;
|
6987
|
-
roomId: z.ZodString;
|
6988
|
-
upload: z.ZodObject<{
|
6989
|
-
id: z.ZodString;
|
6990
|
-
createdAt: z.ZodDate;
|
6991
|
-
updatedAt: z.ZodDate;
|
6992
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
6993
|
-
bucketName: z.ZodString;
|
6994
|
-
fileName: z.ZodString;
|
6995
|
-
fileSize: z.ZodNumber;
|
6996
|
-
fileKey: z.ZodString;
|
6997
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
6998
|
-
status: z.ZodOptional<z.ZodString>;
|
6999
|
-
}, "strip", z.ZodTypeAny, {
|
7000
|
-
id: string;
|
7001
|
-
createdAt: Date;
|
7002
|
-
updatedAt: Date;
|
7003
|
-
deletedAt: Date | null;
|
7004
|
-
fileName: string;
|
7005
|
-
fileKey: string;
|
7006
|
-
bucketName: string;
|
7007
|
-
fileSize: number;
|
7008
|
-
fileUrl: string | null;
|
7009
|
-
status?: string | undefined;
|
7010
|
-
}, {
|
7011
|
-
id: string;
|
7012
|
-
createdAt: Date;
|
7013
|
-
updatedAt: Date;
|
7014
|
-
deletedAt: Date | null;
|
7015
|
-
fileName: string;
|
7016
|
-
fileKey: string;
|
7017
|
-
bucketName: string;
|
7018
|
-
fileSize: number;
|
7019
|
-
fileUrl: string | null;
|
7020
|
-
status?: string | undefined;
|
7021
|
-
}>;
|
7022
|
-
}, "strip", z.ZodTypeAny, {
|
7023
|
-
fileName: string;
|
7024
|
-
fileType: string;
|
7025
|
-
uploadId: string;
|
7026
|
-
upload: {
|
7027
|
-
id: string;
|
7028
|
-
createdAt: Date;
|
7029
|
-
updatedAt: Date;
|
7030
|
-
deletedAt: Date | null;
|
7031
|
-
fileName: string;
|
7032
|
-
fileKey: string;
|
7033
|
-
bucketName: string;
|
7034
|
-
fileSize: number;
|
7035
|
-
fileUrl: string | null;
|
7036
|
-
status?: string | undefined;
|
7037
|
-
};
|
7038
|
-
roomId: string;
|
7039
|
-
messageId: string;
|
7040
|
-
emailEngineAttachmentId: string;
|
7041
|
-
}, {
|
7042
|
-
fileName: string;
|
7043
|
-
fileType: string;
|
7044
|
-
uploadId: string;
|
7045
|
-
upload: {
|
7046
|
-
id: string;
|
7047
|
-
createdAt: Date;
|
7048
|
-
updatedAt: Date;
|
7049
|
-
deletedAt: Date | null;
|
7050
|
-
fileName: string;
|
7051
|
-
fileKey: string;
|
7052
|
-
bucketName: string;
|
7053
|
-
fileSize: number;
|
7054
|
-
fileUrl: string | null;
|
7055
|
-
status?: string | undefined;
|
7056
|
-
};
|
7057
|
-
roomId: string;
|
7058
|
-
messageId: string;
|
7059
|
-
emailEngineAttachmentId: string;
|
7060
|
-
}>, "many">;
|
7061
|
-
}, "strip", z.ZodTypeAny, {
|
7062
|
-
data: {
|
7063
|
-
fileName: string;
|
7064
|
-
fileType: string;
|
7065
|
-
uploadId: string;
|
7066
|
-
upload: {
|
7067
|
-
id: string;
|
7068
|
-
createdAt: Date;
|
7069
|
-
updatedAt: Date;
|
7070
|
-
deletedAt: Date | null;
|
7071
|
-
fileName: string;
|
7072
|
-
fileKey: string;
|
7073
|
-
bucketName: string;
|
7074
|
-
fileSize: number;
|
7075
|
-
fileUrl: string | null;
|
7076
|
-
status?: string | undefined;
|
7077
|
-
};
|
7078
|
-
roomId: string;
|
7079
|
-
messageId: string;
|
7080
|
-
emailEngineAttachmentId: string;
|
7081
|
-
}[];
|
7082
|
-
requestId: string;
|
7083
|
-
}, {
|
7084
|
-
data: {
|
7085
|
-
fileName: string;
|
7086
|
-
fileType: string;
|
7087
|
-
uploadId: string;
|
7088
|
-
upload: {
|
7089
|
-
id: string;
|
7090
|
-
createdAt: Date;
|
7091
|
-
updatedAt: Date;
|
7092
|
-
deletedAt: Date | null;
|
7093
|
-
fileName: string;
|
7094
|
-
fileKey: string;
|
7095
|
-
bucketName: string;
|
7096
|
-
fileSize: number;
|
7097
|
-
fileUrl: string | null;
|
7098
|
-
status?: string | undefined;
|
7099
|
-
};
|
7100
|
-
roomId: string;
|
7101
|
-
messageId: string;
|
7102
|
-
emailEngineAttachmentId: string;
|
7103
|
-
}[];
|
8215
|
+
};
|
8216
|
+
};
|
8217
|
+
unReadMessageCount: number;
|
8218
|
+
};
|
7104
8219
|
requestId: string;
|
7105
8220
|
}>;
|
7106
8221
|
};
|
7107
|
-
path: "mail/room/:id
|
8222
|
+
path: "mail/room/:id";
|
7108
8223
|
};
|
7109
|
-
|
7110
|
-
|
7111
|
-
method: "GET";
|
7112
|
-
pathParams: z.ZodObject<{
|
8224
|
+
markAsRead: {
|
8225
|
+
body: z.ZodObject<{
|
7113
8226
|
id: z.ZodString;
|
7114
8227
|
}, "strip", z.ZodTypeAny, {
|
7115
8228
|
id: string;
|
7116
8229
|
}, {
|
7117
8230
|
id: string;
|
7118
8231
|
}>;
|
8232
|
+
summary: "Mark all the unread messages of a room as read";
|
8233
|
+
method: "POST";
|
7119
8234
|
responses: {
|
7120
8235
|
401: z.ZodObject<{
|
7121
8236
|
message: z.ZodString;
|
@@ -7149,77 +8264,20 @@ export declare const roomContract: {
|
|
7149
8264
|
}>;
|
7150
8265
|
200: z.ZodObject<{
|
7151
8266
|
requestId: z.ZodString;
|
7152
|
-
|
7153
|
-
id: z.ZodString;
|
7154
|
-
createdAt: z.ZodDate;
|
7155
|
-
updatedAt: z.ZodDate;
|
7156
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
7157
|
-
name: z.ZodString;
|
7158
|
-
address: z.ZodString;
|
7159
|
-
}, "strip", z.ZodTypeAny, {
|
7160
|
-
id: string;
|
7161
|
-
address: string;
|
7162
|
-
name: string;
|
7163
|
-
createdAt: Date;
|
7164
|
-
updatedAt: Date;
|
7165
|
-
deletedAt: Date | null;
|
7166
|
-
}, {
|
7167
|
-
id: string;
|
7168
|
-
address: string;
|
7169
|
-
name: string;
|
7170
|
-
createdAt: Date;
|
7171
|
-
updatedAt: Date;
|
7172
|
-
deletedAt: Date | null;
|
7173
|
-
}>, "many">;
|
8267
|
+
message: z.ZodString;
|
7174
8268
|
}, "strip", z.ZodTypeAny, {
|
7175
|
-
|
7176
|
-
id: string;
|
7177
|
-
address: string;
|
7178
|
-
name: string;
|
7179
|
-
createdAt: Date;
|
7180
|
-
updatedAt: Date;
|
7181
|
-
deletedAt: Date | null;
|
7182
|
-
}[];
|
8269
|
+
message: string;
|
7183
8270
|
requestId: string;
|
7184
8271
|
}, {
|
7185
|
-
|
7186
|
-
id: string;
|
7187
|
-
address: string;
|
7188
|
-
name: string;
|
7189
|
-
createdAt: Date;
|
7190
|
-
updatedAt: Date;
|
7191
|
-
deletedAt: Date | null;
|
7192
|
-
}[];
|
8272
|
+
message: string;
|
7193
8273
|
requestId: string;
|
7194
8274
|
}>;
|
7195
8275
|
};
|
7196
|
-
path: "mail/room
|
8276
|
+
path: "mail/room/mark_as_read";
|
7197
8277
|
};
|
7198
|
-
|
7199
|
-
|
7200
|
-
|
7201
|
-
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
7202
|
-
note: z.ZodOptional<z.ZodString>;
|
7203
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7204
|
-
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7205
|
-
selfAssign: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7206
|
-
}, "strip", z.ZodTypeAny, {
|
7207
|
-
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
7208
|
-
assigneeId?: string | null | undefined;
|
7209
|
-
note?: string | undefined;
|
7210
|
-
tags?: string[] | undefined;
|
7211
|
-
handover?: boolean | null | undefined;
|
7212
|
-
selfAssign?: boolean | null | undefined;
|
7213
|
-
}, {
|
7214
|
-
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
7215
|
-
assigneeId?: string | null | undefined;
|
7216
|
-
note?: string | undefined;
|
7217
|
-
tags?: string[] | undefined;
|
7218
|
-
handover?: boolean | "false" | "true" | null | undefined;
|
7219
|
-
selfAssign?: boolean | "false" | "true" | null | undefined;
|
7220
|
-
}>;
|
7221
|
-
summary: "Update a mail room by id";
|
7222
|
-
method: "PATCH";
|
8278
|
+
getById: {
|
8279
|
+
summary: "Get a mail room by id";
|
8280
|
+
method: "GET";
|
7223
8281
|
pathParams: z.ZodObject<{
|
7224
8282
|
id: z.ZodString;
|
7225
8283
|
}, "strip", z.ZodTypeAny, {
|
@@ -8984,6 +10042,150 @@ export declare const roomContract: {
|
|
8984
10042
|
};
|
8985
10043
|
}>;
|
8986
10044
|
unReadMessageCount: z.ZodNumber;
|
10045
|
+
cxlog: z.ZodObject<{
|
10046
|
+
id: z.ZodString;
|
10047
|
+
createdAt: z.ZodDate;
|
10048
|
+
updatedAt: z.ZodDate;
|
10049
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10050
|
+
caseId: z.ZodNumber;
|
10051
|
+
entityId: z.ZodString;
|
10052
|
+
entityName: z.ZodString;
|
10053
|
+
contactId: z.ZodNullable<z.ZodString>;
|
10054
|
+
channel: z.ZodNullable<z.ZodString>;
|
10055
|
+
queueId: z.ZodNullable<z.ZodString>;
|
10056
|
+
agentId: z.ZodNullable<z.ZodString>;
|
10057
|
+
direction: z.ZodNullable<z.ZodString>;
|
10058
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
10059
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
10060
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
10061
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
10062
|
+
id: z.ZodString;
|
10063
|
+
createdAt: z.ZodDate;
|
10064
|
+
updatedAt: z.ZodDate;
|
10065
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10066
|
+
note: z.ZodNullable<z.ZodString>;
|
10067
|
+
disposition: z.ZodNullable<z.ZodString>;
|
10068
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
10069
|
+
callTo: z.ZodNullable<z.ZodString>;
|
10070
|
+
tags: z.ZodArray<z.ZodObject<{
|
10071
|
+
id: z.ZodString;
|
10072
|
+
createdAt: z.ZodDate;
|
10073
|
+
updatedAt: z.ZodDate;
|
10074
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10075
|
+
name: z.ZodString;
|
10076
|
+
}, "strip", z.ZodTypeAny, {
|
10077
|
+
id: string;
|
10078
|
+
name: string;
|
10079
|
+
createdAt: Date;
|
10080
|
+
updatedAt: Date;
|
10081
|
+
deletedAt: Date | null;
|
10082
|
+
}, {
|
10083
|
+
id: string;
|
10084
|
+
name: string;
|
10085
|
+
createdAt: Date;
|
10086
|
+
updatedAt: Date;
|
10087
|
+
deletedAt: Date | null;
|
10088
|
+
}>, "many">;
|
10089
|
+
}, "strip", z.ZodTypeAny, {
|
10090
|
+
id: string;
|
10091
|
+
disposition: string | null;
|
10092
|
+
createdAt: Date;
|
10093
|
+
updatedAt: Date;
|
10094
|
+
deletedAt: Date | null;
|
10095
|
+
tags: {
|
10096
|
+
id: string;
|
10097
|
+
name: string;
|
10098
|
+
createdAt: Date;
|
10099
|
+
updatedAt: Date;
|
10100
|
+
deletedAt: Date | null;
|
10101
|
+
}[];
|
10102
|
+
callFrom: string | null;
|
10103
|
+
callTo: string | null;
|
10104
|
+
note: string | null;
|
10105
|
+
}, {
|
10106
|
+
id: string;
|
10107
|
+
disposition: string | null;
|
10108
|
+
createdAt: Date;
|
10109
|
+
updatedAt: Date;
|
10110
|
+
deletedAt: Date | null;
|
10111
|
+
tags: {
|
10112
|
+
id: string;
|
10113
|
+
name: string;
|
10114
|
+
createdAt: Date;
|
10115
|
+
updatedAt: Date;
|
10116
|
+
deletedAt: Date | null;
|
10117
|
+
}[];
|
10118
|
+
callFrom: string | null;
|
10119
|
+
callTo: string | null;
|
10120
|
+
note: string | null;
|
10121
|
+
}>>;
|
10122
|
+
}, "strip", z.ZodTypeAny, {
|
10123
|
+
id: string;
|
10124
|
+
channel: string | null;
|
10125
|
+
direction: string | null;
|
10126
|
+
createdAt: Date;
|
10127
|
+
updatedAt: Date;
|
10128
|
+
deletedAt: Date | null;
|
10129
|
+
entityId: string;
|
10130
|
+
queueId: string | null;
|
10131
|
+
contactId: string | null;
|
10132
|
+
caseId: number;
|
10133
|
+
entityName: string;
|
10134
|
+
agentId: string | null;
|
10135
|
+
startedDate: Date | null;
|
10136
|
+
handledTime: number | null;
|
10137
|
+
firstResponseTime: number | null;
|
10138
|
+
wrapUpForm: {
|
10139
|
+
id: string;
|
10140
|
+
disposition: string | null;
|
10141
|
+
createdAt: Date;
|
10142
|
+
updatedAt: Date;
|
10143
|
+
deletedAt: Date | null;
|
10144
|
+
tags: {
|
10145
|
+
id: string;
|
10146
|
+
name: string;
|
10147
|
+
createdAt: Date;
|
10148
|
+
updatedAt: Date;
|
10149
|
+
deletedAt: Date | null;
|
10150
|
+
}[];
|
10151
|
+
callFrom: string | null;
|
10152
|
+
callTo: string | null;
|
10153
|
+
note: string | null;
|
10154
|
+
} | null;
|
10155
|
+
}, {
|
10156
|
+
id: string;
|
10157
|
+
channel: string | null;
|
10158
|
+
direction: string | null;
|
10159
|
+
createdAt: Date;
|
10160
|
+
updatedAt: Date;
|
10161
|
+
deletedAt: Date | null;
|
10162
|
+
entityId: string;
|
10163
|
+
queueId: string | null;
|
10164
|
+
contactId: string | null;
|
10165
|
+
caseId: number;
|
10166
|
+
entityName: string;
|
10167
|
+
agentId: string | null;
|
10168
|
+
startedDate: Date | null;
|
10169
|
+
handledTime: number | null;
|
10170
|
+
firstResponseTime: number | null;
|
10171
|
+
wrapUpForm: {
|
10172
|
+
id: string;
|
10173
|
+
disposition: string | null;
|
10174
|
+
createdAt: Date;
|
10175
|
+
updatedAt: Date;
|
10176
|
+
deletedAt: Date | null;
|
10177
|
+
tags: {
|
10178
|
+
id: string;
|
10179
|
+
name: string;
|
10180
|
+
createdAt: Date;
|
10181
|
+
updatedAt: Date;
|
10182
|
+
deletedAt: Date | null;
|
10183
|
+
}[];
|
10184
|
+
callFrom: string | null;
|
10185
|
+
callTo: string | null;
|
10186
|
+
note: string | null;
|
10187
|
+
} | null;
|
10188
|
+
}>;
|
8987
10189
|
}, "strip", z.ZodTypeAny, {
|
8988
10190
|
id: string;
|
8989
10191
|
direction: string;
|
@@ -9086,6 +10288,40 @@ export declare const roomContract: {
|
|
9086
10288
|
notificationCount: number | null;
|
9087
10289
|
};
|
9088
10290
|
resolved: boolean;
|
10291
|
+
cxlog: {
|
10292
|
+
id: string;
|
10293
|
+
channel: string | null;
|
10294
|
+
direction: string | null;
|
10295
|
+
createdAt: Date;
|
10296
|
+
updatedAt: Date;
|
10297
|
+
deletedAt: Date | null;
|
10298
|
+
entityId: string;
|
10299
|
+
queueId: string | null;
|
10300
|
+
contactId: string | null;
|
10301
|
+
caseId: number;
|
10302
|
+
entityName: string;
|
10303
|
+
agentId: string | null;
|
10304
|
+
startedDate: Date | null;
|
10305
|
+
handledTime: number | null;
|
10306
|
+
firstResponseTime: number | null;
|
10307
|
+
wrapUpForm: {
|
10308
|
+
id: string;
|
10309
|
+
disposition: string | null;
|
10310
|
+
createdAt: Date;
|
10311
|
+
updatedAt: Date;
|
10312
|
+
deletedAt: Date | null;
|
10313
|
+
tags: {
|
10314
|
+
id: string;
|
10315
|
+
name: string;
|
10316
|
+
createdAt: Date;
|
10317
|
+
updatedAt: Date;
|
10318
|
+
deletedAt: Date | null;
|
10319
|
+
}[];
|
10320
|
+
callFrom: string | null;
|
10321
|
+
callTo: string | null;
|
10322
|
+
note: string | null;
|
10323
|
+
} | null;
|
10324
|
+
};
|
9089
10325
|
assigneeId: string | null;
|
9090
10326
|
subject: string;
|
9091
10327
|
from: {
|
@@ -9496,6 +10732,40 @@ export declare const roomContract: {
|
|
9496
10732
|
notificationCount: number | null;
|
9497
10733
|
};
|
9498
10734
|
resolved: boolean;
|
10735
|
+
cxlog: {
|
10736
|
+
id: string;
|
10737
|
+
channel: string | null;
|
10738
|
+
direction: string | null;
|
10739
|
+
createdAt: Date;
|
10740
|
+
updatedAt: Date;
|
10741
|
+
deletedAt: Date | null;
|
10742
|
+
entityId: string;
|
10743
|
+
queueId: string | null;
|
10744
|
+
contactId: string | null;
|
10745
|
+
caseId: number;
|
10746
|
+
entityName: string;
|
10747
|
+
agentId: string | null;
|
10748
|
+
startedDate: Date | null;
|
10749
|
+
handledTime: number | null;
|
10750
|
+
firstResponseTime: number | null;
|
10751
|
+
wrapUpForm: {
|
10752
|
+
id: string;
|
10753
|
+
disposition: string | null;
|
10754
|
+
createdAt: Date;
|
10755
|
+
updatedAt: Date;
|
10756
|
+
deletedAt: Date | null;
|
10757
|
+
tags: {
|
10758
|
+
id: string;
|
10759
|
+
name: string;
|
10760
|
+
createdAt: Date;
|
10761
|
+
updatedAt: Date;
|
10762
|
+
deletedAt: Date | null;
|
10763
|
+
}[];
|
10764
|
+
callFrom: string | null;
|
10765
|
+
callTo: string | null;
|
10766
|
+
note: string | null;
|
10767
|
+
} | null;
|
10768
|
+
};
|
9499
10769
|
assigneeId: string | null;
|
9500
10770
|
subject: string;
|
9501
10771
|
from: {
|
@@ -9908,6 +11178,40 @@ export declare const roomContract: {
|
|
9908
11178
|
notificationCount: number | null;
|
9909
11179
|
};
|
9910
11180
|
resolved: boolean;
|
11181
|
+
cxlog: {
|
11182
|
+
id: string;
|
11183
|
+
channel: string | null;
|
11184
|
+
direction: string | null;
|
11185
|
+
createdAt: Date;
|
11186
|
+
updatedAt: Date;
|
11187
|
+
deletedAt: Date | null;
|
11188
|
+
entityId: string;
|
11189
|
+
queueId: string | null;
|
11190
|
+
contactId: string | null;
|
11191
|
+
caseId: number;
|
11192
|
+
entityName: string;
|
11193
|
+
agentId: string | null;
|
11194
|
+
startedDate: Date | null;
|
11195
|
+
handledTime: number | null;
|
11196
|
+
firstResponseTime: number | null;
|
11197
|
+
wrapUpForm: {
|
11198
|
+
id: string;
|
11199
|
+
disposition: string | null;
|
11200
|
+
createdAt: Date;
|
11201
|
+
updatedAt: Date;
|
11202
|
+
deletedAt: Date | null;
|
11203
|
+
tags: {
|
11204
|
+
id: string;
|
11205
|
+
name: string;
|
11206
|
+
createdAt: Date;
|
11207
|
+
updatedAt: Date;
|
11208
|
+
deletedAt: Date | null;
|
11209
|
+
}[];
|
11210
|
+
callFrom: string | null;
|
11211
|
+
callTo: string | null;
|
11212
|
+
note: string | null;
|
11213
|
+
} | null;
|
11214
|
+
};
|
9911
11215
|
assigneeId: string | null;
|
9912
11216
|
subject: string;
|
9913
11217
|
from: {
|
@@ -10321,6 +11625,40 @@ export declare const roomContract: {
|
|
10321
11625
|
notificationCount: number | null;
|
10322
11626
|
};
|
10323
11627
|
resolved: boolean;
|
11628
|
+
cxlog: {
|
11629
|
+
id: string;
|
11630
|
+
channel: string | null;
|
11631
|
+
direction: string | null;
|
11632
|
+
createdAt: Date;
|
11633
|
+
updatedAt: Date;
|
11634
|
+
deletedAt: Date | null;
|
11635
|
+
entityId: string;
|
11636
|
+
queueId: string | null;
|
11637
|
+
contactId: string | null;
|
11638
|
+
caseId: number;
|
11639
|
+
entityName: string;
|
11640
|
+
agentId: string | null;
|
11641
|
+
startedDate: Date | null;
|
11642
|
+
handledTime: number | null;
|
11643
|
+
firstResponseTime: number | null;
|
11644
|
+
wrapUpForm: {
|
11645
|
+
id: string;
|
11646
|
+
disposition: string | null;
|
11647
|
+
createdAt: Date;
|
11648
|
+
updatedAt: Date;
|
11649
|
+
deletedAt: Date | null;
|
11650
|
+
tags: {
|
11651
|
+
id: string;
|
11652
|
+
name: string;
|
11653
|
+
createdAt: Date;
|
11654
|
+
updatedAt: Date;
|
11655
|
+
deletedAt: Date | null;
|
11656
|
+
}[];
|
11657
|
+
callFrom: string | null;
|
11658
|
+
callTo: string | null;
|
11659
|
+
note: string | null;
|
11660
|
+
} | null;
|
11661
|
+
};
|
10324
11662
|
assigneeId: string | null;
|
10325
11663
|
subject: string;
|
10326
11664
|
from: {
|
@@ -10635,60 +11973,5 @@ export declare const roomContract: {
|
|
10635
11973
|
};
|
10636
11974
|
path: "mail/room/:id";
|
10637
11975
|
};
|
10638
|
-
markAsRead: {
|
10639
|
-
body: null;
|
10640
|
-
summary: "Mark all the un read messages as read";
|
10641
|
-
method: "POST";
|
10642
|
-
pathParams: z.ZodObject<{
|
10643
|
-
id: z.ZodString;
|
10644
|
-
}, "strip", z.ZodTypeAny, {
|
10645
|
-
id: string;
|
10646
|
-
}, {
|
10647
|
-
id: string;
|
10648
|
-
}>;
|
10649
|
-
responses: {
|
10650
|
-
401: z.ZodObject<{
|
10651
|
-
message: z.ZodString;
|
10652
|
-
error: z.ZodAny;
|
10653
|
-
}, "strip", z.ZodTypeAny, {
|
10654
|
-
message: string;
|
10655
|
-
error?: any;
|
10656
|
-
}, {
|
10657
|
-
message: string;
|
10658
|
-
error?: any;
|
10659
|
-
}>;
|
10660
|
-
404: z.ZodObject<{
|
10661
|
-
message: z.ZodString;
|
10662
|
-
error: z.ZodAny;
|
10663
|
-
}, "strip", z.ZodTypeAny, {
|
10664
|
-
message: string;
|
10665
|
-
error?: any;
|
10666
|
-
}, {
|
10667
|
-
message: string;
|
10668
|
-
error?: any;
|
10669
|
-
}>;
|
10670
|
-
422: z.ZodObject<{
|
10671
|
-
message: z.ZodString;
|
10672
|
-
error: z.ZodAny;
|
10673
|
-
}, "strip", z.ZodTypeAny, {
|
10674
|
-
message: string;
|
10675
|
-
error?: any;
|
10676
|
-
}, {
|
10677
|
-
message: string;
|
10678
|
-
error?: any;
|
10679
|
-
}>;
|
10680
|
-
200: z.ZodObject<{
|
10681
|
-
requestId: z.ZodString;
|
10682
|
-
message: z.ZodString;
|
10683
|
-
}, "strip", z.ZodTypeAny, {
|
10684
|
-
message: string;
|
10685
|
-
requestId: string;
|
10686
|
-
}, {
|
10687
|
-
message: string;
|
10688
|
-
requestId: string;
|
10689
|
-
}>;
|
10690
|
-
};
|
10691
|
-
path: "mail/room/:id";
|
10692
|
-
};
|
10693
11976
|
};
|
10694
11977
|
//# sourceMappingURL=room-contract.d.ts.map
|