@kl1/contracts 1.2.63-uat → 1.2.65-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/api-contracts/src/channel/index.d.ts +1004 -5
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +8 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +10 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +515 -169
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +124 -45
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +151 -56
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +4046 -1361
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +290 -1
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +71 -0
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +165 -43
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +10 -3
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +132 -33
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +131 -40
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +14 -5
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +132 -33
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +74 -50
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +11 -8
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +18 -12
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +42 -5
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +110 -33
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +36 -439
- 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 +15 -13
- 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 +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +24 -16
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +30 -20
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +110 -33
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +110 -33
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +167 -39
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
- package/dist/api-contracts/src/workflow-rule/index.d.ts +58 -12
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +12 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1615 -1507
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1615 -1507
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,410 +2,6 @@ import z from 'zod';
|
|
|
2
2
|
import { UpdateUserStatusSchema } from './validation';
|
|
3
3
|
export type UpdateUserStatusRequest = z.infer<typeof UpdateUserStatusSchema>;
|
|
4
4
|
export declare const telephonyAgentPresenceStatusContract: {
|
|
5
|
-
getAllAgentStatus: {
|
|
6
|
-
summary: "Get all user presence status list.";
|
|
7
|
-
method: "GET";
|
|
8
|
-
responses: {
|
|
9
|
-
200: z.ZodArray<z.ZodObject<{
|
|
10
|
-
id: z.ZodString;
|
|
11
|
-
createdAt: z.ZodDate;
|
|
12
|
-
updatedAt: z.ZodDate;
|
|
13
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
14
|
-
user: z.ZodObject<{
|
|
15
|
-
id: z.ZodString;
|
|
16
|
-
createdAt: z.ZodDate;
|
|
17
|
-
updatedAt: z.ZodDate;
|
|
18
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
19
|
-
name: z.ZodString;
|
|
20
|
-
email: z.ZodString;
|
|
21
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
22
|
-
password: z.ZodString;
|
|
23
|
-
address: z.ZodNullable<z.ZodString>;
|
|
24
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
25
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
createdAt: z.ZodDate;
|
|
29
|
-
updatedAt: z.ZodDate;
|
|
30
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31
|
-
systemName: z.ZodString;
|
|
32
|
-
displayName: z.ZodString;
|
|
33
|
-
description: z.ZodNullable<z.ZodString>;
|
|
34
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
35
|
-
id: z.ZodString;
|
|
36
|
-
createdAt: z.ZodDate;
|
|
37
|
-
updatedAt: z.ZodDate;
|
|
38
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
39
|
-
systemName: z.ZodString;
|
|
40
|
-
displayName: z.ZodString;
|
|
41
|
-
description: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
id: string;
|
|
44
|
-
description: string | null;
|
|
45
|
-
createdAt: Date;
|
|
46
|
-
updatedAt: Date;
|
|
47
|
-
deletedAt: Date | null;
|
|
48
|
-
systemName: string;
|
|
49
|
-
displayName: string;
|
|
50
|
-
}, {
|
|
51
|
-
id: string;
|
|
52
|
-
description: string | null;
|
|
53
|
-
createdAt: Date;
|
|
54
|
-
updatedAt: Date;
|
|
55
|
-
deletedAt: Date | null;
|
|
56
|
-
systemName: string;
|
|
57
|
-
displayName: string;
|
|
58
|
-
}>, "many">;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
id: string;
|
|
61
|
-
description: string | null;
|
|
62
|
-
createdAt: Date;
|
|
63
|
-
updatedAt: Date;
|
|
64
|
-
deletedAt: Date | null;
|
|
65
|
-
systemName: string;
|
|
66
|
-
displayName: string;
|
|
67
|
-
permissions: {
|
|
68
|
-
id: string;
|
|
69
|
-
description: string | null;
|
|
70
|
-
createdAt: Date;
|
|
71
|
-
updatedAt: Date;
|
|
72
|
-
deletedAt: Date | null;
|
|
73
|
-
systemName: string;
|
|
74
|
-
displayName: string;
|
|
75
|
-
}[];
|
|
76
|
-
}, {
|
|
77
|
-
id: string;
|
|
78
|
-
description: string | null;
|
|
79
|
-
createdAt: Date;
|
|
80
|
-
updatedAt: Date;
|
|
81
|
-
deletedAt: Date | null;
|
|
82
|
-
systemName: string;
|
|
83
|
-
displayName: string;
|
|
84
|
-
permissions: {
|
|
85
|
-
id: string;
|
|
86
|
-
description: string | null;
|
|
87
|
-
createdAt: Date;
|
|
88
|
-
updatedAt: Date;
|
|
89
|
-
deletedAt: Date | null;
|
|
90
|
-
systemName: string;
|
|
91
|
-
displayName: string;
|
|
92
|
-
}[];
|
|
93
|
-
}>, "many">;
|
|
94
|
-
extension: z.ZodObject<{
|
|
95
|
-
id: z.ZodString;
|
|
96
|
-
createdAt: z.ZodDate;
|
|
97
|
-
updatedAt: z.ZodDate;
|
|
98
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
99
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
100
|
-
sipServerUrl: z.ZodString;
|
|
101
|
-
sipUserName: z.ZodString;
|
|
102
|
-
webphoneLoginUser: z.ZodString;
|
|
103
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
104
|
-
extensionName: z.ZodString;
|
|
105
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
id: string;
|
|
108
|
-
createdAt: Date;
|
|
109
|
-
updatedAt: Date;
|
|
110
|
-
deletedAt: Date | null;
|
|
111
|
-
userId: string | null;
|
|
112
|
-
sipServerUrl: string;
|
|
113
|
-
sipUserName: string;
|
|
114
|
-
webphoneLoginUser: string;
|
|
115
|
-
extensionId: string | null;
|
|
116
|
-
extensionName: string;
|
|
117
|
-
telephonySignature: string | null;
|
|
118
|
-
}, {
|
|
119
|
-
id: string;
|
|
120
|
-
createdAt: Date;
|
|
121
|
-
updatedAt: Date;
|
|
122
|
-
deletedAt: Date | null;
|
|
123
|
-
userId: string | null;
|
|
124
|
-
sipServerUrl: string;
|
|
125
|
-
sipUserName: string;
|
|
126
|
-
webphoneLoginUser: string;
|
|
127
|
-
extensionId: string | null;
|
|
128
|
-
extensionName: string;
|
|
129
|
-
telephonySignature: string | null;
|
|
130
|
-
}>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
name: string;
|
|
133
|
-
id: string;
|
|
134
|
-
address: string | null;
|
|
135
|
-
email: string;
|
|
136
|
-
createdAt: Date;
|
|
137
|
-
updatedAt: Date;
|
|
138
|
-
deletedAt: Date | null;
|
|
139
|
-
emailVerifiedAt: Date | null;
|
|
140
|
-
password: string;
|
|
141
|
-
phone: string | null;
|
|
142
|
-
notificationCount: number | null;
|
|
143
|
-
roles: {
|
|
144
|
-
id: string;
|
|
145
|
-
description: string | null;
|
|
146
|
-
createdAt: Date;
|
|
147
|
-
updatedAt: Date;
|
|
148
|
-
deletedAt: Date | null;
|
|
149
|
-
systemName: string;
|
|
150
|
-
displayName: string;
|
|
151
|
-
permissions: {
|
|
152
|
-
id: string;
|
|
153
|
-
description: string | null;
|
|
154
|
-
createdAt: Date;
|
|
155
|
-
updatedAt: Date;
|
|
156
|
-
deletedAt: Date | null;
|
|
157
|
-
systemName: string;
|
|
158
|
-
displayName: string;
|
|
159
|
-
}[];
|
|
160
|
-
}[];
|
|
161
|
-
extension: {
|
|
162
|
-
id: string;
|
|
163
|
-
createdAt: Date;
|
|
164
|
-
updatedAt: Date;
|
|
165
|
-
deletedAt: Date | null;
|
|
166
|
-
userId: string | null;
|
|
167
|
-
sipServerUrl: string;
|
|
168
|
-
sipUserName: string;
|
|
169
|
-
webphoneLoginUser: string;
|
|
170
|
-
extensionId: string | null;
|
|
171
|
-
extensionName: string;
|
|
172
|
-
telephonySignature: string | null;
|
|
173
|
-
};
|
|
174
|
-
}, {
|
|
175
|
-
name: string;
|
|
176
|
-
id: string;
|
|
177
|
-
address: string | null;
|
|
178
|
-
email: string;
|
|
179
|
-
createdAt: Date;
|
|
180
|
-
updatedAt: Date;
|
|
181
|
-
deletedAt: Date | null;
|
|
182
|
-
emailVerifiedAt: Date | null;
|
|
183
|
-
password: string;
|
|
184
|
-
phone: string | null;
|
|
185
|
-
notificationCount: number | null;
|
|
186
|
-
roles: {
|
|
187
|
-
id: string;
|
|
188
|
-
description: string | null;
|
|
189
|
-
createdAt: Date;
|
|
190
|
-
updatedAt: Date;
|
|
191
|
-
deletedAt: Date | null;
|
|
192
|
-
systemName: string;
|
|
193
|
-
displayName: string;
|
|
194
|
-
permissions: {
|
|
195
|
-
id: string;
|
|
196
|
-
description: string | null;
|
|
197
|
-
createdAt: Date;
|
|
198
|
-
updatedAt: Date;
|
|
199
|
-
deletedAt: Date | null;
|
|
200
|
-
systemName: string;
|
|
201
|
-
displayName: string;
|
|
202
|
-
}[];
|
|
203
|
-
}[];
|
|
204
|
-
extension: {
|
|
205
|
-
id: string;
|
|
206
|
-
createdAt: Date;
|
|
207
|
-
updatedAt: Date;
|
|
208
|
-
deletedAt: Date | null;
|
|
209
|
-
userId: string | null;
|
|
210
|
-
sipServerUrl: string;
|
|
211
|
-
sipUserName: string;
|
|
212
|
-
webphoneLoginUser: string;
|
|
213
|
-
extensionId: string | null;
|
|
214
|
-
extensionName: string;
|
|
215
|
-
telephonySignature: string | null;
|
|
216
|
-
};
|
|
217
|
-
}>;
|
|
218
|
-
presenceStatus: z.ZodObject<{
|
|
219
|
-
id: z.ZodString;
|
|
220
|
-
createdAt: z.ZodDate;
|
|
221
|
-
updatedAt: z.ZodDate;
|
|
222
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
223
|
-
status: z.ZodString;
|
|
224
|
-
description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
|
|
225
|
-
position: z.ZodNumber;
|
|
226
|
-
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
id: string;
|
|
228
|
-
position: number;
|
|
229
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
230
|
-
status: string;
|
|
231
|
-
createdAt: Date;
|
|
232
|
-
updatedAt: Date;
|
|
233
|
-
deletedAt: Date | null;
|
|
234
|
-
}, {
|
|
235
|
-
id: string;
|
|
236
|
-
position: number;
|
|
237
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
238
|
-
status: string;
|
|
239
|
-
createdAt: Date;
|
|
240
|
-
updatedAt: Date;
|
|
241
|
-
deletedAt: Date | null;
|
|
242
|
-
}>;
|
|
243
|
-
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
id: string;
|
|
246
|
-
user: {
|
|
247
|
-
name: string;
|
|
248
|
-
id: string;
|
|
249
|
-
address: string | null;
|
|
250
|
-
email: string;
|
|
251
|
-
createdAt: Date;
|
|
252
|
-
updatedAt: Date;
|
|
253
|
-
deletedAt: Date | null;
|
|
254
|
-
emailVerifiedAt: Date | null;
|
|
255
|
-
password: string;
|
|
256
|
-
phone: string | null;
|
|
257
|
-
notificationCount: number | null;
|
|
258
|
-
roles: {
|
|
259
|
-
id: string;
|
|
260
|
-
description: string | null;
|
|
261
|
-
createdAt: Date;
|
|
262
|
-
updatedAt: Date;
|
|
263
|
-
deletedAt: Date | null;
|
|
264
|
-
systemName: string;
|
|
265
|
-
displayName: string;
|
|
266
|
-
permissions: {
|
|
267
|
-
id: string;
|
|
268
|
-
description: string | null;
|
|
269
|
-
createdAt: Date;
|
|
270
|
-
updatedAt: Date;
|
|
271
|
-
deletedAt: Date | null;
|
|
272
|
-
systemName: string;
|
|
273
|
-
displayName: string;
|
|
274
|
-
}[];
|
|
275
|
-
}[];
|
|
276
|
-
extension: {
|
|
277
|
-
id: string;
|
|
278
|
-
createdAt: Date;
|
|
279
|
-
updatedAt: Date;
|
|
280
|
-
deletedAt: Date | null;
|
|
281
|
-
userId: string | null;
|
|
282
|
-
sipServerUrl: string;
|
|
283
|
-
sipUserName: string;
|
|
284
|
-
webphoneLoginUser: string;
|
|
285
|
-
extensionId: string | null;
|
|
286
|
-
extensionName: string;
|
|
287
|
-
telephonySignature: string | null;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
createdAt: Date;
|
|
291
|
-
updatedAt: Date;
|
|
292
|
-
deletedAt: Date | null;
|
|
293
|
-
presenceStatus: {
|
|
294
|
-
id: string;
|
|
295
|
-
position: number;
|
|
296
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
297
|
-
status: string;
|
|
298
|
-
createdAt: Date;
|
|
299
|
-
updatedAt: Date;
|
|
300
|
-
deletedAt: Date | null;
|
|
301
|
-
};
|
|
302
|
-
customPresenceStatus?: string | null | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
id: string;
|
|
305
|
-
user: {
|
|
306
|
-
name: string;
|
|
307
|
-
id: string;
|
|
308
|
-
address: string | null;
|
|
309
|
-
email: string;
|
|
310
|
-
createdAt: Date;
|
|
311
|
-
updatedAt: Date;
|
|
312
|
-
deletedAt: Date | null;
|
|
313
|
-
emailVerifiedAt: Date | null;
|
|
314
|
-
password: string;
|
|
315
|
-
phone: string | null;
|
|
316
|
-
notificationCount: number | null;
|
|
317
|
-
roles: {
|
|
318
|
-
id: string;
|
|
319
|
-
description: string | null;
|
|
320
|
-
createdAt: Date;
|
|
321
|
-
updatedAt: Date;
|
|
322
|
-
deletedAt: Date | null;
|
|
323
|
-
systemName: string;
|
|
324
|
-
displayName: string;
|
|
325
|
-
permissions: {
|
|
326
|
-
id: string;
|
|
327
|
-
description: string | null;
|
|
328
|
-
createdAt: Date;
|
|
329
|
-
updatedAt: Date;
|
|
330
|
-
deletedAt: Date | null;
|
|
331
|
-
systemName: string;
|
|
332
|
-
displayName: string;
|
|
333
|
-
}[];
|
|
334
|
-
}[];
|
|
335
|
-
extension: {
|
|
336
|
-
id: string;
|
|
337
|
-
createdAt: Date;
|
|
338
|
-
updatedAt: Date;
|
|
339
|
-
deletedAt: Date | null;
|
|
340
|
-
userId: string | null;
|
|
341
|
-
sipServerUrl: string;
|
|
342
|
-
sipUserName: string;
|
|
343
|
-
webphoneLoginUser: string;
|
|
344
|
-
extensionId: string | null;
|
|
345
|
-
extensionName: string;
|
|
346
|
-
telephonySignature: string | null;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
createdAt: Date;
|
|
350
|
-
updatedAt: Date;
|
|
351
|
-
deletedAt: Date | null;
|
|
352
|
-
presenceStatus: {
|
|
353
|
-
id: string;
|
|
354
|
-
position: number;
|
|
355
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
356
|
-
status: string;
|
|
357
|
-
createdAt: Date;
|
|
358
|
-
updatedAt: Date;
|
|
359
|
-
deletedAt: Date | null;
|
|
360
|
-
};
|
|
361
|
-
customPresenceStatus?: string | null | undefined;
|
|
362
|
-
}>, "many">;
|
|
363
|
-
400: z.ZodObject<{
|
|
364
|
-
message: z.ZodString;
|
|
365
|
-
}, "strip", z.ZodTypeAny, {
|
|
366
|
-
message: string;
|
|
367
|
-
}, {
|
|
368
|
-
message: string;
|
|
369
|
-
}>;
|
|
370
|
-
401: z.ZodObject<{
|
|
371
|
-
message: z.ZodString;
|
|
372
|
-
error: z.ZodAny;
|
|
373
|
-
}, "strip", z.ZodTypeAny, {
|
|
374
|
-
message: string;
|
|
375
|
-
error?: any;
|
|
376
|
-
}, {
|
|
377
|
-
message: string;
|
|
378
|
-
error?: any;
|
|
379
|
-
}>;
|
|
380
|
-
500: z.ZodObject<{
|
|
381
|
-
message: z.ZodString;
|
|
382
|
-
error: z.ZodAny;
|
|
383
|
-
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
message: string;
|
|
385
|
-
error?: any;
|
|
386
|
-
}, {
|
|
387
|
-
message: string;
|
|
388
|
-
error?: any;
|
|
389
|
-
}>;
|
|
390
|
-
};
|
|
391
|
-
path: "telephony/agents/presence_status";
|
|
392
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
393
|
-
'x-tenant': z.ZodString;
|
|
394
|
-
'x-service-token': z.ZodString;
|
|
395
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
396
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
397
|
-
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
'x-tenant': string;
|
|
399
|
-
'x-service-token': string;
|
|
400
|
-
'x-client-timezone': string;
|
|
401
|
-
'x-code'?: string | undefined;
|
|
402
|
-
}, {
|
|
403
|
-
'x-tenant': string;
|
|
404
|
-
'x-service-token': string;
|
|
405
|
-
'x-code'?: string | undefined;
|
|
406
|
-
'x-client-timezone'?: string | undefined;
|
|
407
|
-
}>>>;
|
|
408
|
-
};
|
|
409
5
|
getAgentStatus: {
|
|
410
6
|
summary: "Check and update user agent status before getting from telephony server.";
|
|
411
7
|
method: "GET";
|
|
@@ -631,27 +227,29 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
631
227
|
createdAt: z.ZodDate;
|
|
632
228
|
updatedAt: z.ZodDate;
|
|
633
229
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
634
|
-
|
|
635
|
-
|
|
230
|
+
systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
|
|
231
|
+
displayName: z.ZodString;
|
|
636
232
|
position: z.ZodNumber;
|
|
233
|
+
emoji: z.ZodString;
|
|
637
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
emoji: string;
|
|
638
236
|
id: string;
|
|
639
237
|
position: number;
|
|
640
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
641
|
-
status: string;
|
|
642
238
|
createdAt: Date;
|
|
643
239
|
updatedAt: Date;
|
|
644
240
|
deletedAt: Date | null;
|
|
241
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
242
|
+
displayName: string;
|
|
645
243
|
}, {
|
|
244
|
+
emoji: string;
|
|
646
245
|
id: string;
|
|
647
246
|
position: number;
|
|
648
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
649
|
-
status: string;
|
|
650
247
|
createdAt: Date;
|
|
651
248
|
updatedAt: Date;
|
|
652
249
|
deletedAt: Date | null;
|
|
250
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
251
|
+
displayName: string;
|
|
653
252
|
}>;
|
|
654
|
-
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
253
|
}, "strip", z.ZodTypeAny, {
|
|
656
254
|
id: string;
|
|
657
255
|
user: {
|
|
@@ -702,15 +300,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
702
300
|
updatedAt: Date;
|
|
703
301
|
deletedAt: Date | null;
|
|
704
302
|
presenceStatus: {
|
|
303
|
+
emoji: string;
|
|
705
304
|
id: string;
|
|
706
305
|
position: number;
|
|
707
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
708
|
-
status: string;
|
|
709
306
|
createdAt: Date;
|
|
710
307
|
updatedAt: Date;
|
|
711
308
|
deletedAt: Date | null;
|
|
309
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
310
|
+
displayName: string;
|
|
712
311
|
};
|
|
713
|
-
customPresenceStatus?: string | null | undefined;
|
|
714
312
|
}, {
|
|
715
313
|
id: string;
|
|
716
314
|
user: {
|
|
@@ -761,15 +359,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
761
359
|
updatedAt: Date;
|
|
762
360
|
deletedAt: Date | null;
|
|
763
361
|
presenceStatus: {
|
|
362
|
+
emoji: string;
|
|
764
363
|
id: string;
|
|
765
364
|
position: number;
|
|
766
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
767
|
-
status: string;
|
|
768
365
|
createdAt: Date;
|
|
769
366
|
updatedAt: Date;
|
|
770
367
|
deletedAt: Date | null;
|
|
368
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
369
|
+
displayName: string;
|
|
771
370
|
};
|
|
772
|
-
customPresenceStatus?: string | null | undefined;
|
|
773
371
|
}>;
|
|
774
372
|
400: z.ZodObject<{
|
|
775
373
|
message: z.ZodString;
|
|
@@ -821,18 +419,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
821
419
|
body: z.ZodObject<{
|
|
822
420
|
userId: z.ZodString;
|
|
823
421
|
presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
824
|
-
customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
825
422
|
reason: z.ZodString;
|
|
826
423
|
}, "strip", z.ZodTypeAny, {
|
|
827
424
|
reason: string;
|
|
828
425
|
userId: string;
|
|
829
426
|
presenceStatusId?: string | null | undefined;
|
|
830
|
-
customPreseneStatus?: string | null | undefined;
|
|
831
427
|
}, {
|
|
832
428
|
reason: string;
|
|
833
429
|
userId: string;
|
|
834
430
|
presenceStatusId?: string | null | undefined;
|
|
835
|
-
customPreseneStatus?: string | null | undefined;
|
|
836
431
|
}>;
|
|
837
432
|
summary: "Update presence status";
|
|
838
433
|
method: "POST";
|
|
@@ -1053,27 +648,29 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
1053
648
|
createdAt: z.ZodDate;
|
|
1054
649
|
updatedAt: z.ZodDate;
|
|
1055
650
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1056
|
-
|
|
1057
|
-
|
|
651
|
+
systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
|
|
652
|
+
displayName: z.ZodString;
|
|
1058
653
|
position: z.ZodNumber;
|
|
654
|
+
emoji: z.ZodString;
|
|
1059
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
emoji: string;
|
|
1060
657
|
id: string;
|
|
1061
658
|
position: number;
|
|
1062
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1063
|
-
status: string;
|
|
1064
659
|
createdAt: Date;
|
|
1065
660
|
updatedAt: Date;
|
|
1066
661
|
deletedAt: Date | null;
|
|
662
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
663
|
+
displayName: string;
|
|
1067
664
|
}, {
|
|
665
|
+
emoji: string;
|
|
1068
666
|
id: string;
|
|
1069
667
|
position: number;
|
|
1070
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1071
|
-
status: string;
|
|
1072
668
|
createdAt: Date;
|
|
1073
669
|
updatedAt: Date;
|
|
1074
670
|
deletedAt: Date | null;
|
|
671
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
672
|
+
displayName: string;
|
|
1075
673
|
}>;
|
|
1076
|
-
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1077
674
|
}, "strip", z.ZodTypeAny, {
|
|
1078
675
|
id: string;
|
|
1079
676
|
user: {
|
|
@@ -1124,15 +721,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
1124
721
|
updatedAt: Date;
|
|
1125
722
|
deletedAt: Date | null;
|
|
1126
723
|
presenceStatus: {
|
|
724
|
+
emoji: string;
|
|
1127
725
|
id: string;
|
|
1128
726
|
position: number;
|
|
1129
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1130
|
-
status: string;
|
|
1131
727
|
createdAt: Date;
|
|
1132
728
|
updatedAt: Date;
|
|
1133
729
|
deletedAt: Date | null;
|
|
730
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
731
|
+
displayName: string;
|
|
1134
732
|
};
|
|
1135
|
-
customPresenceStatus?: string | null | undefined;
|
|
1136
733
|
}, {
|
|
1137
734
|
id: string;
|
|
1138
735
|
user: {
|
|
@@ -1183,15 +780,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
1183
780
|
updatedAt: Date;
|
|
1184
781
|
deletedAt: Date | null;
|
|
1185
782
|
presenceStatus: {
|
|
783
|
+
emoji: string;
|
|
1186
784
|
id: string;
|
|
1187
785
|
position: number;
|
|
1188
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1189
|
-
status: string;
|
|
1190
786
|
createdAt: Date;
|
|
1191
787
|
updatedAt: Date;
|
|
1192
788
|
deletedAt: Date | null;
|
|
789
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
790
|
+
displayName: string;
|
|
1193
791
|
};
|
|
1194
|
-
customPresenceStatus?: string | null | undefined;
|
|
1195
792
|
}>;
|
|
1196
793
|
}, "strip", z.ZodTypeAny, {
|
|
1197
794
|
requestId: string;
|
|
@@ -1245,15 +842,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
1245
842
|
updatedAt: Date;
|
|
1246
843
|
deletedAt: Date | null;
|
|
1247
844
|
presenceStatus: {
|
|
845
|
+
emoji: string;
|
|
1248
846
|
id: string;
|
|
1249
847
|
position: number;
|
|
1250
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1251
|
-
status: string;
|
|
1252
848
|
createdAt: Date;
|
|
1253
849
|
updatedAt: Date;
|
|
1254
850
|
deletedAt: Date | null;
|
|
851
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
852
|
+
displayName: string;
|
|
1255
853
|
};
|
|
1256
|
-
customPresenceStatus?: string | null | undefined;
|
|
1257
854
|
};
|
|
1258
855
|
}, {
|
|
1259
856
|
requestId: string;
|
|
@@ -1307,15 +904,15 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
|
1307
904
|
updatedAt: Date;
|
|
1308
905
|
deletedAt: Date | null;
|
|
1309
906
|
presenceStatus: {
|
|
907
|
+
emoji: string;
|
|
1310
908
|
id: string;
|
|
1311
909
|
position: number;
|
|
1312
|
-
description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
|
|
1313
|
-
status: string;
|
|
1314
910
|
createdAt: Date;
|
|
1315
911
|
updatedAt: Date;
|
|
1316
912
|
deletedAt: Date | null;
|
|
913
|
+
systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
|
|
914
|
+
displayName: string;
|
|
1317
915
|
};
|
|
1318
|
-
customPresenceStatus?: string | null | undefined;
|
|
1319
916
|
};
|
|
1320
917
|
}>;
|
|
1321
918
|
400: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsChD,CAAC"}
|