@kl1/contracts 1.3.64 → 1.3.66
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/api-contracts/src/channel/index.d.ts +0 -64
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -64
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +0 -96
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +0 -20
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +458 -302
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +7 -56
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +0 -18
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +3 -26
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +14 -14
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -4
- package/dist/api-contracts/src/index.d.ts +0 -2
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
- package/dist/api-contracts/src/presence-status/index.d.ts +8 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/index.js +1674 -1739
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1674 -1737
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/api-contracts/src/invoice/index.d.ts +0 -108
- package/dist/api-contracts/src/invoice/index.d.ts.map +0 -1
- package/dist/api-contracts/src/invoice/schema.d.ts +0 -48
- package/dist/api-contracts/src/invoice/schema.d.ts.map +0 -1
|
@@ -4923,76 +4923,12 @@ export declare const apiContract: {
|
|
|
4923
4923
|
updateChannelCsatPreference: {
|
|
4924
4924
|
body: import("zod").ZodObject<{
|
|
4925
4925
|
isCSATEnabled: import("zod").ZodBoolean;
|
|
4926
|
-
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4927
|
-
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4928
|
-
bucketName: import("zod").ZodString;
|
|
4929
|
-
fileName: import("zod").ZodString;
|
|
4930
|
-
fileSize: import("zod").ZodNumber;
|
|
4931
|
-
fileKey: import("zod").ZodString;
|
|
4932
|
-
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4933
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4934
|
-
fileName: string;
|
|
4935
|
-
fileKey: string;
|
|
4936
|
-
bucketName: string;
|
|
4937
|
-
fileSize: number;
|
|
4938
|
-
originalUrl?: string | null | undefined;
|
|
4939
|
-
}, {
|
|
4940
|
-
fileName: string;
|
|
4941
|
-
fileKey: string;
|
|
4942
|
-
bucketName: string;
|
|
4943
|
-
fileSize: number;
|
|
4944
|
-
originalUrl?: string | null | undefined;
|
|
4945
|
-
}>>>;
|
|
4946
|
-
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4947
|
-
value: import("zod").ZodString;
|
|
4948
|
-
label: import("zod").ZodString;
|
|
4949
|
-
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4950
|
-
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4951
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4952
|
-
value: string;
|
|
4953
|
-
label: string;
|
|
4954
|
-
color?: string | null | undefined;
|
|
4955
|
-
style?: string | null | undefined;
|
|
4956
|
-
}, {
|
|
4957
|
-
value: string;
|
|
4958
|
-
label: string;
|
|
4959
|
-
color?: string | null | undefined;
|
|
4960
|
-
style?: string | null | undefined;
|
|
4961
|
-
}>, "many">>>;
|
|
4962
4926
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
4963
4927
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4964
4928
|
isCSATEnabled: boolean;
|
|
4965
|
-
headline?: string | null | undefined;
|
|
4966
|
-
image?: {
|
|
4967
|
-
fileName: string;
|
|
4968
|
-
fileKey: string;
|
|
4969
|
-
bucketName: string;
|
|
4970
|
-
fileSize: number;
|
|
4971
|
-
originalUrl?: string | null | undefined;
|
|
4972
|
-
} | null | undefined;
|
|
4973
|
-
scaleOptions?: {
|
|
4974
|
-
value: string;
|
|
4975
|
-
label: string;
|
|
4976
|
-
color?: string | null | undefined;
|
|
4977
|
-
style?: string | null | undefined;
|
|
4978
|
-
}[] | null | undefined;
|
|
4979
4929
|
dispositions?: string[] | undefined;
|
|
4980
4930
|
}, {
|
|
4981
4931
|
isCSATEnabled: boolean;
|
|
4982
|
-
headline?: string | null | undefined;
|
|
4983
|
-
image?: {
|
|
4984
|
-
fileName: string;
|
|
4985
|
-
fileKey: string;
|
|
4986
|
-
bucketName: string;
|
|
4987
|
-
fileSize: number;
|
|
4988
|
-
originalUrl?: string | null | undefined;
|
|
4989
|
-
} | null | undefined;
|
|
4990
|
-
scaleOptions?: {
|
|
4991
|
-
value: string;
|
|
4992
|
-
label: string;
|
|
4993
|
-
color?: string | null | undefined;
|
|
4994
|
-
style?: string | null | undefined;
|
|
4995
|
-
}[] | null | undefined;
|
|
4996
4932
|
dispositions?: string[] | undefined;
|
|
4997
4933
|
}>;
|
|
4998
4934
|
summary: "Enable or Disable CSAT for channel";
|
|
@@ -14101,20 +14037,7 @@ export declare const apiContract: {
|
|
|
14101
14037
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14102
14038
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14103
14039
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
14104
|
-
|
|
14105
|
-
attributeId: import("zod").ZodString;
|
|
14106
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
|
14107
|
-
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14108
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
14109
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
14110
|
-
attributeId: string;
|
|
14111
|
-
type?: string | undefined;
|
|
14112
|
-
}, {
|
|
14113
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
14114
|
-
attributeId: string;
|
|
14115
|
-
type?: string | undefined;
|
|
14116
|
-
}>, "many">>;
|
|
14117
|
-
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
14040
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
14118
14041
|
attributeId: import("zod").ZodString;
|
|
14119
14042
|
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
|
14120
14043
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -14152,12 +14075,7 @@ export declare const apiContract: {
|
|
|
14152
14075
|
notes?: string | undefined;
|
|
14153
14076
|
address?: string | undefined;
|
|
14154
14077
|
company?: string[] | undefined;
|
|
14155
|
-
|
|
14156
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
14157
|
-
attributeId: string;
|
|
14158
|
-
type?: string | undefined;
|
|
14159
|
-
}[] | undefined;
|
|
14160
|
-
wrapUpFormCustomFields?: {
|
|
14078
|
+
customFields?: {
|
|
14161
14079
|
value: (string | string[]) & (string | string[] | undefined);
|
|
14162
14080
|
attributeId: string;
|
|
14163
14081
|
type?: string | undefined;
|
|
@@ -14187,12 +14105,7 @@ export declare const apiContract: {
|
|
|
14187
14105
|
notes?: string | undefined;
|
|
14188
14106
|
address?: string | undefined;
|
|
14189
14107
|
company?: string[] | undefined;
|
|
14190
|
-
|
|
14191
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
14192
|
-
attributeId: string;
|
|
14193
|
-
type?: string | undefined;
|
|
14194
|
-
}[] | undefined;
|
|
14195
|
-
wrapUpFormCustomFields?: {
|
|
14108
|
+
customFields?: {
|
|
14196
14109
|
value: (string | string[]) & (string | string[] | undefined);
|
|
14197
14110
|
attributeId: string;
|
|
14198
14111
|
type?: string | undefined;
|
|
@@ -19475,16 +19388,6 @@ export declare const apiContract: {
|
|
|
19475
19388
|
}, {
|
|
19476
19389
|
queueName?: string | null | undefined;
|
|
19477
19390
|
}>>;
|
|
19478
|
-
automationQueue: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
19479
|
-
id: import("zod").ZodString;
|
|
19480
|
-
name: import("zod").ZodString;
|
|
19481
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
19482
|
-
name: string;
|
|
19483
|
-
id: string;
|
|
19484
|
-
}, {
|
|
19485
|
-
name: string;
|
|
19486
|
-
id: string;
|
|
19487
|
-
}>>;
|
|
19488
19391
|
contact: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
19489
19392
|
id: import("zod").ZodString;
|
|
19490
19393
|
createdAt: import("zod").ZodDate;
|
|
@@ -21696,10 +21599,6 @@ export declare const apiContract: {
|
|
|
21696
21599
|
queue: {
|
|
21697
21600
|
queueName?: string | null | undefined;
|
|
21698
21601
|
} | null;
|
|
21699
|
-
automationQueue: {
|
|
21700
|
-
name: string;
|
|
21701
|
-
id: string;
|
|
21702
|
-
} | null;
|
|
21703
21602
|
firstAssignee: {
|
|
21704
21603
|
name: string;
|
|
21705
21604
|
id: string;
|
|
@@ -22643,10 +22542,6 @@ export declare const apiContract: {
|
|
|
22643
22542
|
queue: {
|
|
22644
22543
|
queueName?: string | null | undefined;
|
|
22645
22544
|
} | null;
|
|
22646
|
-
automationQueue: {
|
|
22647
|
-
name: string;
|
|
22648
|
-
id: string;
|
|
22649
|
-
} | null;
|
|
22650
22545
|
firstAssignee: {
|
|
22651
22546
|
name: string;
|
|
22652
22547
|
id: string;
|
|
@@ -23596,10 +23491,6 @@ export declare const apiContract: {
|
|
|
23596
23491
|
queue: {
|
|
23597
23492
|
queueName?: string | null | undefined;
|
|
23598
23493
|
} | null;
|
|
23599
|
-
automationQueue: {
|
|
23600
|
-
name: string;
|
|
23601
|
-
id: string;
|
|
23602
|
-
} | null;
|
|
23603
23494
|
firstAssignee: {
|
|
23604
23495
|
name: string;
|
|
23605
23496
|
id: string;
|
|
@@ -24549,10 +24440,6 @@ export declare const apiContract: {
|
|
|
24549
24440
|
queue: {
|
|
24550
24441
|
queueName?: string | null | undefined;
|
|
24551
24442
|
} | null;
|
|
24552
|
-
automationQueue: {
|
|
24553
|
-
name: string;
|
|
24554
|
-
id: string;
|
|
24555
|
-
} | null;
|
|
24556
24443
|
firstAssignee: {
|
|
24557
24444
|
name: string;
|
|
24558
24445
|
id: string;
|
|
@@ -24710,7 +24597,7 @@ export declare const apiContract: {
|
|
|
24710
24597
|
error?: any;
|
|
24711
24598
|
}>;
|
|
24712
24599
|
};
|
|
24713
|
-
path: "/
|
|
24600
|
+
path: "ms/cx-logs";
|
|
24714
24601
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
24715
24602
|
'x-tenant': import("zod").ZodString;
|
|
24716
24603
|
'x-service-token': import("zod").ZodString;
|
|
@@ -24745,7 +24632,7 @@ export declare const apiContract: {
|
|
|
24745
24632
|
error?: any;
|
|
24746
24633
|
}>;
|
|
24747
24634
|
};
|
|
24748
|
-
path: "
|
|
24635
|
+
path: "ms/cx-logs/export";
|
|
24749
24636
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
24750
24637
|
'x-tenant': import("zod").ZodString;
|
|
24751
24638
|
'x-service-token': import("zod").ZodString;
|
|
@@ -24790,7 +24677,7 @@ export declare const apiContract: {
|
|
|
24790
24677
|
error?: any;
|
|
24791
24678
|
}>;
|
|
24792
24679
|
};
|
|
24793
|
-
path: "
|
|
24680
|
+
path: "ms/cx-logs/sync-sla";
|
|
24794
24681
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
24795
24682
|
'x-tenant': import("zod").ZodString;
|
|
24796
24683
|
'x-service-token': import("zod").ZodString;
|
|
@@ -24853,7 +24740,7 @@ export declare const apiContract: {
|
|
|
24853
24740
|
error?: any;
|
|
24854
24741
|
}>;
|
|
24855
24742
|
};
|
|
24856
|
-
path: "
|
|
24743
|
+
path: "ms/cx-logs";
|
|
24857
24744
|
headers: import("zod").ZodObject<{
|
|
24858
24745
|
'x-tenant': import("zod").ZodString;
|
|
24859
24746
|
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -27114,7 +27001,6 @@ export declare const apiContract: {
|
|
|
27114
27001
|
}, "strip", import("zod").ZodTypeAny, {
|
|
27115
27002
|
name: string;
|
|
27116
27003
|
id: string | null;
|
|
27117
|
-
holdRoomCount: number;
|
|
27118
27004
|
sla: number;
|
|
27119
27005
|
newContactCount: number;
|
|
27120
27006
|
existingContactCount: number;
|
|
@@ -27122,10 +27008,10 @@ export declare const apiContract: {
|
|
|
27122
27008
|
closedRoomCount: number;
|
|
27123
27009
|
unassignedRoomCount: number;
|
|
27124
27010
|
assignedRoomCount: number;
|
|
27011
|
+
holdRoomCount: number;
|
|
27125
27012
|
}, {
|
|
27126
27013
|
name: string;
|
|
27127
27014
|
id: string | null;
|
|
27128
|
-
holdRoomCount: number;
|
|
27129
27015
|
sla: number;
|
|
27130
27016
|
newContactCount: number;
|
|
27131
27017
|
existingContactCount: number;
|
|
@@ -27133,6 +27019,7 @@ export declare const apiContract: {
|
|
|
27133
27019
|
closedRoomCount: number;
|
|
27134
27020
|
unassignedRoomCount: number;
|
|
27135
27021
|
assignedRoomCount: number;
|
|
27022
|
+
holdRoomCount: number;
|
|
27136
27023
|
}>, "many">;
|
|
27137
27024
|
page: import("zod").ZodNumber;
|
|
27138
27025
|
pageSize: import("zod").ZodNumber;
|
|
@@ -27145,7 +27032,6 @@ export declare const apiContract: {
|
|
|
27145
27032
|
allMessageQueueData: {
|
|
27146
27033
|
name: string;
|
|
27147
27034
|
id: string | null;
|
|
27148
|
-
holdRoomCount: number;
|
|
27149
27035
|
sla: number;
|
|
27150
27036
|
newContactCount: number;
|
|
27151
27037
|
existingContactCount: number;
|
|
@@ -27153,6 +27039,7 @@ export declare const apiContract: {
|
|
|
27153
27039
|
closedRoomCount: number;
|
|
27154
27040
|
unassignedRoomCount: number;
|
|
27155
27041
|
assignedRoomCount: number;
|
|
27042
|
+
holdRoomCount: number;
|
|
27156
27043
|
}[];
|
|
27157
27044
|
}, {
|
|
27158
27045
|
total: number;
|
|
@@ -27162,7 +27049,6 @@ export declare const apiContract: {
|
|
|
27162
27049
|
allMessageQueueData: {
|
|
27163
27050
|
name: string;
|
|
27164
27051
|
id: string | null;
|
|
27165
|
-
holdRoomCount: number;
|
|
27166
27052
|
sla: number;
|
|
27167
27053
|
newContactCount: number;
|
|
27168
27054
|
existingContactCount: number;
|
|
@@ -27170,6 +27056,7 @@ export declare const apiContract: {
|
|
|
27170
27056
|
closedRoomCount: number;
|
|
27171
27057
|
unassignedRoomCount: number;
|
|
27172
27058
|
assignedRoomCount: number;
|
|
27059
|
+
holdRoomCount: number;
|
|
27173
27060
|
}[];
|
|
27174
27061
|
}>;
|
|
27175
27062
|
};
|
|
@@ -27207,7 +27094,6 @@ export declare const apiContract: {
|
|
|
27207
27094
|
}, "strip", import("zod").ZodTypeAny, {
|
|
27208
27095
|
name: string;
|
|
27209
27096
|
id: string | null;
|
|
27210
|
-
holdRoomCount: number;
|
|
27211
27097
|
sla: number;
|
|
27212
27098
|
newContactCount: number;
|
|
27213
27099
|
existingContactCount: number;
|
|
@@ -27215,10 +27101,10 @@ export declare const apiContract: {
|
|
|
27215
27101
|
closedRoomCount: number;
|
|
27216
27102
|
unassignedRoomCount: number;
|
|
27217
27103
|
assignedRoomCount: number;
|
|
27104
|
+
holdRoomCount: number;
|
|
27218
27105
|
}, {
|
|
27219
27106
|
name: string;
|
|
27220
27107
|
id: string | null;
|
|
27221
|
-
holdRoomCount: number;
|
|
27222
27108
|
sla: number;
|
|
27223
27109
|
newContactCount: number;
|
|
27224
27110
|
existingContactCount: number;
|
|
@@ -27226,13 +27112,13 @@ export declare const apiContract: {
|
|
|
27226
27112
|
closedRoomCount: number;
|
|
27227
27113
|
unassignedRoomCount: number;
|
|
27228
27114
|
assignedRoomCount: number;
|
|
27115
|
+
holdRoomCount: number;
|
|
27229
27116
|
}>;
|
|
27230
27117
|
}, "strip", import("zod").ZodTypeAny, {
|
|
27231
27118
|
requestId: string;
|
|
27232
27119
|
messageQueueData: {
|
|
27233
27120
|
name: string;
|
|
27234
27121
|
id: string | null;
|
|
27235
|
-
holdRoomCount: number;
|
|
27236
27122
|
sla: number;
|
|
27237
27123
|
newContactCount: number;
|
|
27238
27124
|
existingContactCount: number;
|
|
@@ -27240,13 +27126,13 @@ export declare const apiContract: {
|
|
|
27240
27126
|
closedRoomCount: number;
|
|
27241
27127
|
unassignedRoomCount: number;
|
|
27242
27128
|
assignedRoomCount: number;
|
|
27129
|
+
holdRoomCount: number;
|
|
27243
27130
|
};
|
|
27244
27131
|
}, {
|
|
27245
27132
|
requestId: string;
|
|
27246
27133
|
messageQueueData: {
|
|
27247
27134
|
name: string;
|
|
27248
27135
|
id: string | null;
|
|
27249
|
-
holdRoomCount: number;
|
|
27250
27136
|
sla: number;
|
|
27251
27137
|
newContactCount: number;
|
|
27252
27138
|
existingContactCount: number;
|
|
@@ -27254,6 +27140,7 @@ export declare const apiContract: {
|
|
|
27254
27140
|
closedRoomCount: number;
|
|
27255
27141
|
unassignedRoomCount: number;
|
|
27256
27142
|
assignedRoomCount: number;
|
|
27143
|
+
holdRoomCount: number;
|
|
27257
27144
|
};
|
|
27258
27145
|
}>;
|
|
27259
27146
|
};
|
|
@@ -27299,18 +27186,18 @@ export declare const apiContract: {
|
|
|
27299
27186
|
}, "strip", import("zod").ZodTypeAny, {
|
|
27300
27187
|
name: string;
|
|
27301
27188
|
id: string;
|
|
27302
|
-
holdRoomCount: number;
|
|
27303
27189
|
closedRoomCount: number;
|
|
27304
27190
|
assignedRoomCount: number;
|
|
27191
|
+
holdRoomCount: number;
|
|
27305
27192
|
averageFirstResponseTime: string;
|
|
27306
27193
|
averageResolutionTime: string;
|
|
27307
27194
|
totalHandledTime: string;
|
|
27308
27195
|
}, {
|
|
27309
27196
|
name: string;
|
|
27310
27197
|
id: string;
|
|
27311
|
-
holdRoomCount: number;
|
|
27312
27198
|
closedRoomCount: number;
|
|
27313
27199
|
assignedRoomCount: number;
|
|
27200
|
+
holdRoomCount: number;
|
|
27314
27201
|
averageFirstResponseTime: string;
|
|
27315
27202
|
averageResolutionTime: string;
|
|
27316
27203
|
totalHandledTime: string;
|
|
@@ -27324,9 +27211,9 @@ export declare const apiContract: {
|
|
|
27324
27211
|
agentMessageStatistics: {
|
|
27325
27212
|
name: string;
|
|
27326
27213
|
id: string;
|
|
27327
|
-
holdRoomCount: number;
|
|
27328
27214
|
closedRoomCount: number;
|
|
27329
27215
|
assignedRoomCount: number;
|
|
27216
|
+
holdRoomCount: number;
|
|
27330
27217
|
averageFirstResponseTime: string;
|
|
27331
27218
|
averageResolutionTime: string;
|
|
27332
27219
|
totalHandledTime: string;
|
|
@@ -27340,9 +27227,9 @@ export declare const apiContract: {
|
|
|
27340
27227
|
agentMessageStatistics: {
|
|
27341
27228
|
name: string;
|
|
27342
27229
|
id: string;
|
|
27343
|
-
holdRoomCount: number;
|
|
27344
27230
|
closedRoomCount: number;
|
|
27345
27231
|
assignedRoomCount: number;
|
|
27232
|
+
holdRoomCount: number;
|
|
27346
27233
|
averageFirstResponseTime: string;
|
|
27347
27234
|
averageResolutionTime: string;
|
|
27348
27235
|
totalHandledTime: string;
|
|
@@ -27552,14 +27439,14 @@ export declare const apiContract: {
|
|
|
27552
27439
|
closedRoomCount: import("zod").ZodNumber;
|
|
27553
27440
|
}, "strip", import("zod").ZodTypeAny, {
|
|
27554
27441
|
requestId: string;
|
|
27555
|
-
holdRoomCount: number;
|
|
27556
27442
|
closedRoomCount: number;
|
|
27557
27443
|
assignedRoomCount: number;
|
|
27444
|
+
holdRoomCount: number;
|
|
27558
27445
|
}, {
|
|
27559
27446
|
requestId: string;
|
|
27560
|
-
holdRoomCount: number;
|
|
27561
27447
|
closedRoomCount: number;
|
|
27562
27448
|
assignedRoomCount: number;
|
|
27449
|
+
holdRoomCount: number;
|
|
27563
27450
|
}>;
|
|
27564
27451
|
};
|
|
27565
27452
|
path: "ms/dashboard/room-status-counts-by-user-id";
|
|
@@ -36590,6 +36477,425 @@ export declare const apiContract: {
|
|
|
36590
36477
|
};
|
|
36591
36478
|
};
|
|
36592
36479
|
agentPresenceStatus: {
|
|
36480
|
+
getAllAgentStatus: {
|
|
36481
|
+
summary: "Get all user presence status list.";
|
|
36482
|
+
method: "GET";
|
|
36483
|
+
responses: {
|
|
36484
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
36485
|
+
id: import("zod").ZodString;
|
|
36486
|
+
createdAt: import("zod").ZodDate;
|
|
36487
|
+
updatedAt: import("zod").ZodDate;
|
|
36488
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36489
|
+
user: import("zod").ZodObject<{
|
|
36490
|
+
name: import("zod").ZodString;
|
|
36491
|
+
id: import("zod").ZodString;
|
|
36492
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36493
|
+
email: import("zod").ZodString;
|
|
36494
|
+
createdAt: import("zod").ZodDate;
|
|
36495
|
+
updatedAt: import("zod").ZodDate;
|
|
36496
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36497
|
+
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36498
|
+
password: import("zod").ZodString;
|
|
36499
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36500
|
+
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
36501
|
+
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
|
36502
|
+
id: import("zod").ZodString;
|
|
36503
|
+
createdAt: import("zod").ZodDate;
|
|
36504
|
+
updatedAt: import("zod").ZodDate;
|
|
36505
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36506
|
+
systemName: import("zod").ZodString;
|
|
36507
|
+
displayName: import("zod").ZodString;
|
|
36508
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36509
|
+
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
36510
|
+
id: import("zod").ZodString;
|
|
36511
|
+
createdAt: import("zod").ZodDate;
|
|
36512
|
+
updatedAt: import("zod").ZodDate;
|
|
36513
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36514
|
+
systemName: import("zod").ZodString;
|
|
36515
|
+
displayName: import("zod").ZodString;
|
|
36516
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36517
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36518
|
+
id: string;
|
|
36519
|
+
description: string | null;
|
|
36520
|
+
createdAt: Date;
|
|
36521
|
+
updatedAt: Date;
|
|
36522
|
+
deletedAt: Date | null;
|
|
36523
|
+
systemName: string;
|
|
36524
|
+
displayName: string;
|
|
36525
|
+
}, {
|
|
36526
|
+
id: string;
|
|
36527
|
+
description: string | null;
|
|
36528
|
+
createdAt: Date;
|
|
36529
|
+
updatedAt: Date;
|
|
36530
|
+
deletedAt: Date | null;
|
|
36531
|
+
systemName: string;
|
|
36532
|
+
displayName: string;
|
|
36533
|
+
}>, "many">;
|
|
36534
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36535
|
+
id: string;
|
|
36536
|
+
description: string | null;
|
|
36537
|
+
createdAt: Date;
|
|
36538
|
+
updatedAt: Date;
|
|
36539
|
+
deletedAt: Date | null;
|
|
36540
|
+
systemName: string;
|
|
36541
|
+
displayName: string;
|
|
36542
|
+
permissions: {
|
|
36543
|
+
id: string;
|
|
36544
|
+
description: string | null;
|
|
36545
|
+
createdAt: Date;
|
|
36546
|
+
updatedAt: Date;
|
|
36547
|
+
deletedAt: Date | null;
|
|
36548
|
+
systemName: string;
|
|
36549
|
+
displayName: string;
|
|
36550
|
+
}[];
|
|
36551
|
+
}, {
|
|
36552
|
+
id: string;
|
|
36553
|
+
description: string | null;
|
|
36554
|
+
createdAt: Date;
|
|
36555
|
+
updatedAt: Date;
|
|
36556
|
+
deletedAt: Date | null;
|
|
36557
|
+
systemName: string;
|
|
36558
|
+
displayName: string;
|
|
36559
|
+
permissions: {
|
|
36560
|
+
id: string;
|
|
36561
|
+
description: string | null;
|
|
36562
|
+
createdAt: Date;
|
|
36563
|
+
updatedAt: Date;
|
|
36564
|
+
deletedAt: Date | null;
|
|
36565
|
+
systemName: string;
|
|
36566
|
+
displayName: string;
|
|
36567
|
+
}[];
|
|
36568
|
+
}>, "many">;
|
|
36569
|
+
extension: import("zod").ZodObject<{
|
|
36570
|
+
id: import("zod").ZodString;
|
|
36571
|
+
createdAt: import("zod").ZodDate;
|
|
36572
|
+
updatedAt: import("zod").ZodDate;
|
|
36573
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36574
|
+
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36575
|
+
sipServerUrl: import("zod").ZodString;
|
|
36576
|
+
sipUserName: import("zod").ZodString;
|
|
36577
|
+
webphoneLoginUser: import("zod").ZodString;
|
|
36578
|
+
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36579
|
+
extensionName: import("zod").ZodString;
|
|
36580
|
+
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36581
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36582
|
+
id: string;
|
|
36583
|
+
createdAt: Date;
|
|
36584
|
+
updatedAt: Date;
|
|
36585
|
+
deletedAt: Date | null;
|
|
36586
|
+
userId: string | null;
|
|
36587
|
+
sipServerUrl: string;
|
|
36588
|
+
sipUserName: string;
|
|
36589
|
+
webphoneLoginUser: string;
|
|
36590
|
+
extensionId: string | null;
|
|
36591
|
+
extensionName: string;
|
|
36592
|
+
telephonySignature: string | null;
|
|
36593
|
+
}, {
|
|
36594
|
+
id: string;
|
|
36595
|
+
createdAt: Date;
|
|
36596
|
+
updatedAt: Date;
|
|
36597
|
+
deletedAt: Date | null;
|
|
36598
|
+
userId: string | null;
|
|
36599
|
+
sipServerUrl: string;
|
|
36600
|
+
sipUserName: string;
|
|
36601
|
+
webphoneLoginUser: string;
|
|
36602
|
+
extensionId: string | null;
|
|
36603
|
+
extensionName: string;
|
|
36604
|
+
telephonySignature: string | null;
|
|
36605
|
+
}>;
|
|
36606
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36607
|
+
name: string;
|
|
36608
|
+
id: string;
|
|
36609
|
+
address: string | null;
|
|
36610
|
+
email: string;
|
|
36611
|
+
createdAt: Date;
|
|
36612
|
+
updatedAt: Date;
|
|
36613
|
+
deletedAt: Date | null;
|
|
36614
|
+
emailVerifiedAt: Date | null;
|
|
36615
|
+
password: string;
|
|
36616
|
+
phone: string | null;
|
|
36617
|
+
notificationCount: number | null;
|
|
36618
|
+
roles: {
|
|
36619
|
+
id: string;
|
|
36620
|
+
description: string | null;
|
|
36621
|
+
createdAt: Date;
|
|
36622
|
+
updatedAt: Date;
|
|
36623
|
+
deletedAt: Date | null;
|
|
36624
|
+
systemName: string;
|
|
36625
|
+
displayName: string;
|
|
36626
|
+
permissions: {
|
|
36627
|
+
id: string;
|
|
36628
|
+
description: string | null;
|
|
36629
|
+
createdAt: Date;
|
|
36630
|
+
updatedAt: Date;
|
|
36631
|
+
deletedAt: Date | null;
|
|
36632
|
+
systemName: string;
|
|
36633
|
+
displayName: string;
|
|
36634
|
+
}[];
|
|
36635
|
+
}[];
|
|
36636
|
+
extension: {
|
|
36637
|
+
id: string;
|
|
36638
|
+
createdAt: Date;
|
|
36639
|
+
updatedAt: Date;
|
|
36640
|
+
deletedAt: Date | null;
|
|
36641
|
+
userId: string | null;
|
|
36642
|
+
sipServerUrl: string;
|
|
36643
|
+
sipUserName: string;
|
|
36644
|
+
webphoneLoginUser: string;
|
|
36645
|
+
extensionId: string | null;
|
|
36646
|
+
extensionName: string;
|
|
36647
|
+
telephonySignature: string | null;
|
|
36648
|
+
};
|
|
36649
|
+
}, {
|
|
36650
|
+
name: string;
|
|
36651
|
+
id: string;
|
|
36652
|
+
address: string | null;
|
|
36653
|
+
email: string;
|
|
36654
|
+
createdAt: Date;
|
|
36655
|
+
updatedAt: Date;
|
|
36656
|
+
deletedAt: Date | null;
|
|
36657
|
+
emailVerifiedAt: Date | null;
|
|
36658
|
+
password: string;
|
|
36659
|
+
phone: string | null;
|
|
36660
|
+
notificationCount: number | null;
|
|
36661
|
+
roles: {
|
|
36662
|
+
id: string;
|
|
36663
|
+
description: string | null;
|
|
36664
|
+
createdAt: Date;
|
|
36665
|
+
updatedAt: Date;
|
|
36666
|
+
deletedAt: Date | null;
|
|
36667
|
+
systemName: string;
|
|
36668
|
+
displayName: string;
|
|
36669
|
+
permissions: {
|
|
36670
|
+
id: string;
|
|
36671
|
+
description: string | null;
|
|
36672
|
+
createdAt: Date;
|
|
36673
|
+
updatedAt: Date;
|
|
36674
|
+
deletedAt: Date | null;
|
|
36675
|
+
systemName: string;
|
|
36676
|
+
displayName: string;
|
|
36677
|
+
}[];
|
|
36678
|
+
}[];
|
|
36679
|
+
extension: {
|
|
36680
|
+
id: string;
|
|
36681
|
+
createdAt: Date;
|
|
36682
|
+
updatedAt: Date;
|
|
36683
|
+
deletedAt: Date | null;
|
|
36684
|
+
userId: string | null;
|
|
36685
|
+
sipServerUrl: string;
|
|
36686
|
+
sipUserName: string;
|
|
36687
|
+
webphoneLoginUser: string;
|
|
36688
|
+
extensionId: string | null;
|
|
36689
|
+
extensionName: string;
|
|
36690
|
+
telephonySignature: string | null;
|
|
36691
|
+
};
|
|
36692
|
+
}>;
|
|
36693
|
+
presenceStatus: import("zod").ZodObject<{
|
|
36694
|
+
id: import("zod").ZodString;
|
|
36695
|
+
createdAt: import("zod").ZodDate;
|
|
36696
|
+
updatedAt: import("zod").ZodDate;
|
|
36697
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
36698
|
+
systemName: import("zod").ZodString;
|
|
36699
|
+
displayName: import("zod").ZodString;
|
|
36700
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36701
|
+
position: import("zod").ZodNumber;
|
|
36702
|
+
emoji: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36703
|
+
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">;
|
|
36704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36705
|
+
emoji: string | null;
|
|
36706
|
+
id: string;
|
|
36707
|
+
position: number;
|
|
36708
|
+
description: string | null;
|
|
36709
|
+
createdAt: Date;
|
|
36710
|
+
updatedAt: Date;
|
|
36711
|
+
deletedAt: Date | null;
|
|
36712
|
+
systemName: string;
|
|
36713
|
+
displayName: string;
|
|
36714
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36715
|
+
}, {
|
|
36716
|
+
emoji: string | null;
|
|
36717
|
+
id: string;
|
|
36718
|
+
position: number;
|
|
36719
|
+
description: string | null;
|
|
36720
|
+
createdAt: Date;
|
|
36721
|
+
updatedAt: Date;
|
|
36722
|
+
deletedAt: Date | null;
|
|
36723
|
+
systemName: string;
|
|
36724
|
+
displayName: string;
|
|
36725
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36726
|
+
}>;
|
|
36727
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
36728
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36729
|
+
id: string;
|
|
36730
|
+
user: {
|
|
36731
|
+
name: string;
|
|
36732
|
+
id: string;
|
|
36733
|
+
address: string | null;
|
|
36734
|
+
email: string;
|
|
36735
|
+
createdAt: Date;
|
|
36736
|
+
updatedAt: Date;
|
|
36737
|
+
deletedAt: Date | null;
|
|
36738
|
+
emailVerifiedAt: Date | null;
|
|
36739
|
+
password: string;
|
|
36740
|
+
phone: string | null;
|
|
36741
|
+
notificationCount: number | null;
|
|
36742
|
+
roles: {
|
|
36743
|
+
id: string;
|
|
36744
|
+
description: string | null;
|
|
36745
|
+
createdAt: Date;
|
|
36746
|
+
updatedAt: Date;
|
|
36747
|
+
deletedAt: Date | null;
|
|
36748
|
+
systemName: string;
|
|
36749
|
+
displayName: string;
|
|
36750
|
+
permissions: {
|
|
36751
|
+
id: string;
|
|
36752
|
+
description: string | null;
|
|
36753
|
+
createdAt: Date;
|
|
36754
|
+
updatedAt: Date;
|
|
36755
|
+
deletedAt: Date | null;
|
|
36756
|
+
systemName: string;
|
|
36757
|
+
displayName: string;
|
|
36758
|
+
}[];
|
|
36759
|
+
}[];
|
|
36760
|
+
extension: {
|
|
36761
|
+
id: string;
|
|
36762
|
+
createdAt: Date;
|
|
36763
|
+
updatedAt: Date;
|
|
36764
|
+
deletedAt: Date | null;
|
|
36765
|
+
userId: string | null;
|
|
36766
|
+
sipServerUrl: string;
|
|
36767
|
+
sipUserName: string;
|
|
36768
|
+
webphoneLoginUser: string;
|
|
36769
|
+
extensionId: string | null;
|
|
36770
|
+
extensionName: string;
|
|
36771
|
+
telephonySignature: string | null;
|
|
36772
|
+
};
|
|
36773
|
+
};
|
|
36774
|
+
createdAt: Date;
|
|
36775
|
+
updatedAt: Date;
|
|
36776
|
+
deletedAt: Date | null;
|
|
36777
|
+
presenceStatus: {
|
|
36778
|
+
emoji: string | null;
|
|
36779
|
+
id: string;
|
|
36780
|
+
position: number;
|
|
36781
|
+
description: string | null;
|
|
36782
|
+
createdAt: Date;
|
|
36783
|
+
updatedAt: Date;
|
|
36784
|
+
deletedAt: Date | null;
|
|
36785
|
+
systemName: string;
|
|
36786
|
+
displayName: string;
|
|
36787
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36788
|
+
};
|
|
36789
|
+
customPresenceStatus?: string | null | undefined;
|
|
36790
|
+
}, {
|
|
36791
|
+
id: string;
|
|
36792
|
+
user: {
|
|
36793
|
+
name: string;
|
|
36794
|
+
id: string;
|
|
36795
|
+
address: string | null;
|
|
36796
|
+
email: string;
|
|
36797
|
+
createdAt: Date;
|
|
36798
|
+
updatedAt: Date;
|
|
36799
|
+
deletedAt: Date | null;
|
|
36800
|
+
emailVerifiedAt: Date | null;
|
|
36801
|
+
password: string;
|
|
36802
|
+
phone: string | null;
|
|
36803
|
+
notificationCount: number | null;
|
|
36804
|
+
roles: {
|
|
36805
|
+
id: string;
|
|
36806
|
+
description: string | null;
|
|
36807
|
+
createdAt: Date;
|
|
36808
|
+
updatedAt: Date;
|
|
36809
|
+
deletedAt: Date | null;
|
|
36810
|
+
systemName: string;
|
|
36811
|
+
displayName: string;
|
|
36812
|
+
permissions: {
|
|
36813
|
+
id: string;
|
|
36814
|
+
description: string | null;
|
|
36815
|
+
createdAt: Date;
|
|
36816
|
+
updatedAt: Date;
|
|
36817
|
+
deletedAt: Date | null;
|
|
36818
|
+
systemName: string;
|
|
36819
|
+
displayName: string;
|
|
36820
|
+
}[];
|
|
36821
|
+
}[];
|
|
36822
|
+
extension: {
|
|
36823
|
+
id: string;
|
|
36824
|
+
createdAt: Date;
|
|
36825
|
+
updatedAt: Date;
|
|
36826
|
+
deletedAt: Date | null;
|
|
36827
|
+
userId: string | null;
|
|
36828
|
+
sipServerUrl: string;
|
|
36829
|
+
sipUserName: string;
|
|
36830
|
+
webphoneLoginUser: string;
|
|
36831
|
+
extensionId: string | null;
|
|
36832
|
+
extensionName: string;
|
|
36833
|
+
telephonySignature: string | null;
|
|
36834
|
+
};
|
|
36835
|
+
};
|
|
36836
|
+
createdAt: Date;
|
|
36837
|
+
updatedAt: Date;
|
|
36838
|
+
deletedAt: Date | null;
|
|
36839
|
+
presenceStatus: {
|
|
36840
|
+
emoji: string | null;
|
|
36841
|
+
id: string;
|
|
36842
|
+
position: number;
|
|
36843
|
+
description: string | null;
|
|
36844
|
+
createdAt: Date;
|
|
36845
|
+
updatedAt: Date;
|
|
36846
|
+
deletedAt: Date | null;
|
|
36847
|
+
systemName: string;
|
|
36848
|
+
displayName: string;
|
|
36849
|
+
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36850
|
+
};
|
|
36851
|
+
customPresenceStatus?: string | null | undefined;
|
|
36852
|
+
}>, "many">;
|
|
36853
|
+
400: import("zod").ZodObject<{
|
|
36854
|
+
message: import("zod").ZodString;
|
|
36855
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36856
|
+
message: string;
|
|
36857
|
+
}, {
|
|
36858
|
+
message: string;
|
|
36859
|
+
}>;
|
|
36860
|
+
401: import("zod").ZodObject<{
|
|
36861
|
+
message: import("zod").ZodString;
|
|
36862
|
+
error: import("zod").ZodAny;
|
|
36863
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36864
|
+
message: string;
|
|
36865
|
+
error?: any;
|
|
36866
|
+
}, {
|
|
36867
|
+
message: string;
|
|
36868
|
+
error?: any;
|
|
36869
|
+
}>;
|
|
36870
|
+
500: import("zod").ZodObject<{
|
|
36871
|
+
message: import("zod").ZodString;
|
|
36872
|
+
error: import("zod").ZodAny;
|
|
36873
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36874
|
+
message: string;
|
|
36875
|
+
error?: any;
|
|
36876
|
+
}, {
|
|
36877
|
+
message: string;
|
|
36878
|
+
error?: any;
|
|
36879
|
+
}>;
|
|
36880
|
+
};
|
|
36881
|
+
path: "ms/telephony/agents/presence_status";
|
|
36882
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
36883
|
+
'x-tenant': import("zod").ZodString;
|
|
36884
|
+
'x-service-token': import("zod").ZodString;
|
|
36885
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
|
36886
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
|
36887
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36888
|
+
'x-tenant': string;
|
|
36889
|
+
'x-service-token': string;
|
|
36890
|
+
'x-client-timezone': string;
|
|
36891
|
+
'x-code'?: string | undefined;
|
|
36892
|
+
}, {
|
|
36893
|
+
'x-tenant': string;
|
|
36894
|
+
'x-service-token': string;
|
|
36895
|
+
'x-code'?: string | undefined;
|
|
36896
|
+
'x-client-timezone'?: string | undefined;
|
|
36897
|
+
}>>>;
|
|
36898
|
+
};
|
|
36593
36899
|
getAgentStatus: {
|
|
36594
36900
|
summary: "Check and update user agent status before getting from telephony server.";
|
|
36595
36901
|
method: "GET";
|
|
@@ -36844,6 +37150,7 @@ export declare const apiContract: {
|
|
|
36844
37150
|
displayName: string;
|
|
36845
37151
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36846
37152
|
}>;
|
|
37153
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
36847
37154
|
}, "strip", import("zod").ZodTypeAny, {
|
|
36848
37155
|
id: string;
|
|
36849
37156
|
user: {
|
|
@@ -36905,6 +37212,7 @@ export declare const apiContract: {
|
|
|
36905
37212
|
displayName: string;
|
|
36906
37213
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36907
37214
|
};
|
|
37215
|
+
customPresenceStatus?: string | null | undefined;
|
|
36908
37216
|
}, {
|
|
36909
37217
|
id: string;
|
|
36910
37218
|
user: {
|
|
@@ -36966,6 +37274,7 @@ export declare const apiContract: {
|
|
|
36966
37274
|
displayName: string;
|
|
36967
37275
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
36968
37276
|
};
|
|
37277
|
+
customPresenceStatus?: string | null | undefined;
|
|
36969
37278
|
}>;
|
|
36970
37279
|
400: import("zod").ZodObject<{
|
|
36971
37280
|
message: import("zod").ZodString;
|
|
@@ -37017,15 +37326,18 @@ export declare const apiContract: {
|
|
|
37017
37326
|
body: import("zod").ZodObject<{
|
|
37018
37327
|
userId: import("zod").ZodString;
|
|
37019
37328
|
presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
37329
|
+
customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
37020
37330
|
reason: import("zod").ZodString;
|
|
37021
37331
|
}, "strip", import("zod").ZodTypeAny, {
|
|
37022
37332
|
reason: string;
|
|
37023
37333
|
userId: string;
|
|
37024
37334
|
presenceStatusId?: string | null | undefined;
|
|
37335
|
+
customPreseneStatus?: string | null | undefined;
|
|
37025
37336
|
}, {
|
|
37026
37337
|
reason: string;
|
|
37027
37338
|
userId: string;
|
|
37028
37339
|
presenceStatusId?: string | null | undefined;
|
|
37340
|
+
customPreseneStatus?: string | null | undefined;
|
|
37029
37341
|
}>;
|
|
37030
37342
|
summary: "Update presence status";
|
|
37031
37343
|
method: "POST";
|
|
@@ -37275,6 +37587,7 @@ export declare const apiContract: {
|
|
|
37275
37587
|
displayName: string;
|
|
37276
37588
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
37277
37589
|
}>;
|
|
37590
|
+
customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
37278
37591
|
}, "strip", import("zod").ZodTypeAny, {
|
|
37279
37592
|
id: string;
|
|
37280
37593
|
user: {
|
|
@@ -37336,6 +37649,7 @@ export declare const apiContract: {
|
|
|
37336
37649
|
displayName: string;
|
|
37337
37650
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
37338
37651
|
};
|
|
37652
|
+
customPresenceStatus?: string | null | undefined;
|
|
37339
37653
|
}, {
|
|
37340
37654
|
id: string;
|
|
37341
37655
|
user: {
|
|
@@ -37397,6 +37711,7 @@ export declare const apiContract: {
|
|
|
37397
37711
|
displayName: string;
|
|
37398
37712
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
37399
37713
|
};
|
|
37714
|
+
customPresenceStatus?: string | null | undefined;
|
|
37400
37715
|
}>;
|
|
37401
37716
|
}, "strip", import("zod").ZodTypeAny, {
|
|
37402
37717
|
requestId: string;
|
|
@@ -37461,6 +37776,7 @@ export declare const apiContract: {
|
|
|
37461
37776
|
displayName: string;
|
|
37462
37777
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
37463
37778
|
};
|
|
37779
|
+
customPresenceStatus?: string | null | undefined;
|
|
37464
37780
|
};
|
|
37465
37781
|
}, {
|
|
37466
37782
|
requestId: string;
|
|
@@ -37525,6 +37841,7 @@ export declare const apiContract: {
|
|
|
37525
37841
|
displayName: string;
|
|
37526
37842
|
presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
|
|
37527
37843
|
};
|
|
37844
|
+
customPresenceStatus?: string | null | undefined;
|
|
37528
37845
|
};
|
|
37529
37846
|
}>;
|
|
37530
37847
|
400: import("zod").ZodObject<{
|
|
@@ -41278,110 +41595,6 @@ export declare const apiContract: {
|
|
|
41278
41595
|
path: "ms/bots/";
|
|
41279
41596
|
};
|
|
41280
41597
|
};
|
|
41281
|
-
invoice: {
|
|
41282
|
-
getInvoices: {
|
|
41283
|
-
method: "GET";
|
|
41284
|
-
query: null;
|
|
41285
|
-
responses: {
|
|
41286
|
-
200: import("zod").ZodObject<{
|
|
41287
|
-
requestId: import("zod").ZodString;
|
|
41288
|
-
invoices: import("zod").ZodArray<import("zod").ZodObject<{
|
|
41289
|
-
id: import("zod").ZodString;
|
|
41290
|
-
createdAt: import("zod").ZodDate;
|
|
41291
|
-
updatedAt: import("zod").ZodDate;
|
|
41292
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
41293
|
-
invoiceId: import("zod").ZodString;
|
|
41294
|
-
amountPaid: import("zod").ZodNumber;
|
|
41295
|
-
billingReason: import("zod").ZodString;
|
|
41296
|
-
collectionMethod: import("zod").ZodString;
|
|
41297
|
-
created: import("zod").ZodNumber;
|
|
41298
|
-
currency: import("zod").ZodString;
|
|
41299
|
-
hostedInvoiceUrl: import("zod").ZodString;
|
|
41300
|
-
invoicePdf: import("zod").ZodString;
|
|
41301
|
-
number: import("zod").ZodString;
|
|
41302
|
-
paid: import("zod").ZodBoolean;
|
|
41303
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
41304
|
-
number: string;
|
|
41305
|
-
currency: string;
|
|
41306
|
-
id: string;
|
|
41307
|
-
createdAt: Date;
|
|
41308
|
-
updatedAt: Date;
|
|
41309
|
-
deletedAt: Date | null;
|
|
41310
|
-
invoiceId: string;
|
|
41311
|
-
amountPaid: number;
|
|
41312
|
-
billingReason: string;
|
|
41313
|
-
collectionMethod: string;
|
|
41314
|
-
created: number;
|
|
41315
|
-
hostedInvoiceUrl: string;
|
|
41316
|
-
invoicePdf: string;
|
|
41317
|
-
paid: boolean;
|
|
41318
|
-
}, {
|
|
41319
|
-
number: string;
|
|
41320
|
-
currency: string;
|
|
41321
|
-
id: string;
|
|
41322
|
-
createdAt: Date;
|
|
41323
|
-
updatedAt: Date;
|
|
41324
|
-
deletedAt: Date | null;
|
|
41325
|
-
invoiceId: string;
|
|
41326
|
-
amountPaid: number;
|
|
41327
|
-
billingReason: string;
|
|
41328
|
-
collectionMethod: string;
|
|
41329
|
-
created: number;
|
|
41330
|
-
hostedInvoiceUrl: string;
|
|
41331
|
-
invoicePdf: string;
|
|
41332
|
-
paid: boolean;
|
|
41333
|
-
}>, "many">;
|
|
41334
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
41335
|
-
requestId: string;
|
|
41336
|
-
invoices: {
|
|
41337
|
-
number: string;
|
|
41338
|
-
currency: string;
|
|
41339
|
-
id: string;
|
|
41340
|
-
createdAt: Date;
|
|
41341
|
-
updatedAt: Date;
|
|
41342
|
-
deletedAt: Date | null;
|
|
41343
|
-
invoiceId: string;
|
|
41344
|
-
amountPaid: number;
|
|
41345
|
-
billingReason: string;
|
|
41346
|
-
collectionMethod: string;
|
|
41347
|
-
created: number;
|
|
41348
|
-
hostedInvoiceUrl: string;
|
|
41349
|
-
invoicePdf: string;
|
|
41350
|
-
paid: boolean;
|
|
41351
|
-
}[];
|
|
41352
|
-
}, {
|
|
41353
|
-
requestId: string;
|
|
41354
|
-
invoices: {
|
|
41355
|
-
number: string;
|
|
41356
|
-
currency: string;
|
|
41357
|
-
id: string;
|
|
41358
|
-
createdAt: Date;
|
|
41359
|
-
updatedAt: Date;
|
|
41360
|
-
deletedAt: Date | null;
|
|
41361
|
-
invoiceId: string;
|
|
41362
|
-
amountPaid: number;
|
|
41363
|
-
billingReason: string;
|
|
41364
|
-
collectionMethod: string;
|
|
41365
|
-
created: number;
|
|
41366
|
-
hostedInvoiceUrl: string;
|
|
41367
|
-
invoicePdf: string;
|
|
41368
|
-
paid: boolean;
|
|
41369
|
-
}[];
|
|
41370
|
-
}>;
|
|
41371
|
-
500: import("zod").ZodObject<{
|
|
41372
|
-
message: import("zod").ZodString;
|
|
41373
|
-
error: import("zod").ZodAny;
|
|
41374
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
41375
|
-
message: string;
|
|
41376
|
-
error?: any;
|
|
41377
|
-
}, {
|
|
41378
|
-
message: string;
|
|
41379
|
-
error?: any;
|
|
41380
|
-
}>;
|
|
41381
|
-
};
|
|
41382
|
-
path: "ms/invoices/";
|
|
41383
|
-
};
|
|
41384
|
-
};
|
|
41385
41598
|
};
|
|
41386
41599
|
export declare const contactContract: {
|
|
41387
41600
|
contact: {
|
|
@@ -320791,76 +321004,12 @@ export declare const channelSettingContract: {
|
|
|
320791
321004
|
updateChannelCsatPreference: {
|
|
320792
321005
|
body: import("zod").ZodObject<{
|
|
320793
321006
|
isCSATEnabled: import("zod").ZodBoolean;
|
|
320794
|
-
headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
320795
|
-
image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
320796
|
-
bucketName: import("zod").ZodString;
|
|
320797
|
-
fileName: import("zod").ZodString;
|
|
320798
|
-
fileSize: import("zod").ZodNumber;
|
|
320799
|
-
fileKey: import("zod").ZodString;
|
|
320800
|
-
originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
320801
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
320802
|
-
fileName: string;
|
|
320803
|
-
fileKey: string;
|
|
320804
|
-
bucketName: string;
|
|
320805
|
-
fileSize: number;
|
|
320806
|
-
originalUrl?: string | null | undefined;
|
|
320807
|
-
}, {
|
|
320808
|
-
fileName: string;
|
|
320809
|
-
fileKey: string;
|
|
320810
|
-
bucketName: string;
|
|
320811
|
-
fileSize: number;
|
|
320812
|
-
originalUrl?: string | null | undefined;
|
|
320813
|
-
}>>>;
|
|
320814
|
-
scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
320815
|
-
value: import("zod").ZodString;
|
|
320816
|
-
label: import("zod").ZodString;
|
|
320817
|
-
color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
320818
|
-
style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
320819
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
320820
|
-
value: string;
|
|
320821
|
-
label: string;
|
|
320822
|
-
color?: string | null | undefined;
|
|
320823
|
-
style?: string | null | undefined;
|
|
320824
|
-
}, {
|
|
320825
|
-
value: string;
|
|
320826
|
-
label: string;
|
|
320827
|
-
color?: string | null | undefined;
|
|
320828
|
-
style?: string | null | undefined;
|
|
320829
|
-
}>, "many">>>;
|
|
320830
321007
|
dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
320831
321008
|
}, "strip", import("zod").ZodTypeAny, {
|
|
320832
321009
|
isCSATEnabled: boolean;
|
|
320833
|
-
headline?: string | null | undefined;
|
|
320834
|
-
image?: {
|
|
320835
|
-
fileName: string;
|
|
320836
|
-
fileKey: string;
|
|
320837
|
-
bucketName: string;
|
|
320838
|
-
fileSize: number;
|
|
320839
|
-
originalUrl?: string | null | undefined;
|
|
320840
|
-
} | null | undefined;
|
|
320841
|
-
scaleOptions?: {
|
|
320842
|
-
value: string;
|
|
320843
|
-
label: string;
|
|
320844
|
-
color?: string | null | undefined;
|
|
320845
|
-
style?: string | null | undefined;
|
|
320846
|
-
}[] | null | undefined;
|
|
320847
321010
|
dispositions?: string[] | undefined;
|
|
320848
321011
|
}, {
|
|
320849
321012
|
isCSATEnabled: boolean;
|
|
320850
|
-
headline?: string | null | undefined;
|
|
320851
|
-
image?: {
|
|
320852
|
-
fileName: string;
|
|
320853
|
-
fileKey: string;
|
|
320854
|
-
bucketName: string;
|
|
320855
|
-
fileSize: number;
|
|
320856
|
-
originalUrl?: string | null | undefined;
|
|
320857
|
-
} | null | undefined;
|
|
320858
|
-
scaleOptions?: {
|
|
320859
|
-
value: string;
|
|
320860
|
-
label: string;
|
|
320861
|
-
color?: string | null | undefined;
|
|
320862
|
-
style?: string | null | undefined;
|
|
320863
|
-
}[] | null | undefined;
|
|
320864
321013
|
dispositions?: string[] | undefined;
|
|
320865
321014
|
}>;
|
|
320866
321015
|
summary: "Enable or Disable CSAT for channel";
|
|
@@ -333802,6 +333951,13 @@ export declare const presenceStatusContract: {
|
|
|
333802
333951
|
getAllStatus: {
|
|
333803
333952
|
summary: "Get all presence status list.";
|
|
333804
333953
|
method: "GET";
|
|
333954
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
333955
|
+
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
|
333956
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
333957
|
+
keyword?: string | undefined;
|
|
333958
|
+
}, {
|
|
333959
|
+
keyword?: string | undefined;
|
|
333960
|
+
}>>;
|
|
333805
333961
|
responses: {
|
|
333806
333962
|
200: import("zod").ZodObject<{
|
|
333807
333963
|
total: import("zod").ZodNumber;
|