@kl1/contracts 1.2.58-uat → 1.2.59-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.
Files changed (32) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +62 -5
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/contract.d.ts +962 -148
  4. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  5. package/dist/api-contracts/src/dashboard/index.d.ts +290 -1
  6. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/dashboard/schema.d.ts +71 -0
  8. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/presence-status/index.d.ts +50 -74
  10. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/presence-status/schema.d.ts +8 -11
  12. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  13. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -18
  14. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  15. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +439 -36
  16. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -15
  18. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  20. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  21. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -24
  22. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -30
  24. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/whatsapp/index.d.ts +47 -6
  26. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
  28. package/dist/index.js +1610 -1488
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.mjs +1610 -1488
  31. package/dist/index.mjs.map +1 -1
  32. package/package.json +1 -1
@@ -2,6 +2,410 @@ 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
+ };
5
409
  getAgentStatus: {
6
410
  summary: "Check and update user agent status before getting from telephony server.";
7
411
  method: "GET";
@@ -227,29 +631,27 @@ export declare const telephonyAgentPresenceStatusContract: {
227
631
  createdAt: z.ZodDate;
228
632
  updatedAt: z.ZodDate;
229
633
  deletedAt: z.ZodNullable<z.ZodDate>;
230
- status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
231
- statusName: z.ZodString;
634
+ status: z.ZodString;
635
+ description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
232
636
  position: z.ZodNumber;
233
- emoji: z.ZodString;
234
637
  }, "strip", z.ZodTypeAny, {
235
- emoji: string;
236
638
  id: string;
237
639
  position: number;
238
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
640
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
641
+ status: string;
239
642
  createdAt: Date;
240
643
  updatedAt: Date;
241
644
  deletedAt: Date | null;
242
- statusName: string;
243
645
  }, {
244
- emoji: string;
245
646
  id: string;
246
647
  position: number;
247
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
648
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
649
+ status: string;
248
650
  createdAt: Date;
249
651
  updatedAt: Date;
250
652
  deletedAt: Date | null;
251
- statusName: string;
252
653
  }>;
654
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
655
  }, "strip", z.ZodTypeAny, {
254
656
  id: string;
255
657
  user: {
@@ -300,15 +702,15 @@ export declare const telephonyAgentPresenceStatusContract: {
300
702
  updatedAt: Date;
301
703
  deletedAt: Date | null;
302
704
  presenceStatus: {
303
- emoji: string;
304
705
  id: string;
305
706
  position: number;
306
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
707
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
708
+ status: string;
307
709
  createdAt: Date;
308
710
  updatedAt: Date;
309
711
  deletedAt: Date | null;
310
- statusName: string;
311
712
  };
713
+ customPresenceStatus?: string | null | undefined;
312
714
  }, {
313
715
  id: string;
314
716
  user: {
@@ -359,15 +761,15 @@ export declare const telephonyAgentPresenceStatusContract: {
359
761
  updatedAt: Date;
360
762
  deletedAt: Date | null;
361
763
  presenceStatus: {
362
- emoji: string;
363
764
  id: string;
364
765
  position: number;
365
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
766
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
767
+ status: string;
366
768
  createdAt: Date;
367
769
  updatedAt: Date;
368
770
  deletedAt: Date | null;
369
- statusName: string;
370
771
  };
772
+ customPresenceStatus?: string | null | undefined;
371
773
  }>;
372
774
  400: z.ZodObject<{
373
775
  message: z.ZodString;
@@ -419,15 +821,18 @@ export declare const telephonyAgentPresenceStatusContract: {
419
821
  body: z.ZodObject<{
420
822
  userId: z.ZodString;
421
823
  presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
824
+ customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
825
  reason: z.ZodString;
423
826
  }, "strip", z.ZodTypeAny, {
424
827
  reason: string;
425
828
  userId: string;
426
829
  presenceStatusId?: string | null | undefined;
830
+ customPreseneStatus?: string | null | undefined;
427
831
  }, {
428
832
  reason: string;
429
833
  userId: string;
430
834
  presenceStatusId?: string | null | undefined;
835
+ customPreseneStatus?: string | null | undefined;
431
836
  }>;
432
837
  summary: "Update presence status";
433
838
  method: "POST";
@@ -648,29 +1053,27 @@ export declare const telephonyAgentPresenceStatusContract: {
648
1053
  createdAt: z.ZodDate;
649
1054
  updatedAt: z.ZodDate;
650
1055
  deletedAt: z.ZodNullable<z.ZodDate>;
651
- status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
652
- statusName: z.ZodString;
1056
+ status: z.ZodString;
1057
+ description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
653
1058
  position: z.ZodNumber;
654
- emoji: z.ZodString;
655
1059
  }, "strip", z.ZodTypeAny, {
656
- emoji: string;
657
1060
  id: string;
658
1061
  position: number;
659
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1062
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1063
+ status: string;
660
1064
  createdAt: Date;
661
1065
  updatedAt: Date;
662
1066
  deletedAt: Date | null;
663
- statusName: string;
664
1067
  }, {
665
- emoji: string;
666
1068
  id: string;
667
1069
  position: number;
668
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1070
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1071
+ status: string;
669
1072
  createdAt: Date;
670
1073
  updatedAt: Date;
671
1074
  deletedAt: Date | null;
672
- statusName: string;
673
1075
  }>;
1076
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
1077
  }, "strip", z.ZodTypeAny, {
675
1078
  id: string;
676
1079
  user: {
@@ -721,15 +1124,15 @@ export declare const telephonyAgentPresenceStatusContract: {
721
1124
  updatedAt: Date;
722
1125
  deletedAt: Date | null;
723
1126
  presenceStatus: {
724
- emoji: string;
725
1127
  id: string;
726
1128
  position: number;
727
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1129
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1130
+ status: string;
728
1131
  createdAt: Date;
729
1132
  updatedAt: Date;
730
1133
  deletedAt: Date | null;
731
- statusName: string;
732
1134
  };
1135
+ customPresenceStatus?: string | null | undefined;
733
1136
  }, {
734
1137
  id: string;
735
1138
  user: {
@@ -780,15 +1183,15 @@ export declare const telephonyAgentPresenceStatusContract: {
780
1183
  updatedAt: Date;
781
1184
  deletedAt: Date | null;
782
1185
  presenceStatus: {
783
- emoji: string;
784
1186
  id: string;
785
1187
  position: number;
786
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1188
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1189
+ status: string;
787
1190
  createdAt: Date;
788
1191
  updatedAt: Date;
789
1192
  deletedAt: Date | null;
790
- statusName: string;
791
1193
  };
1194
+ customPresenceStatus?: string | null | undefined;
792
1195
  }>;
793
1196
  }, "strip", z.ZodTypeAny, {
794
1197
  requestId: string;
@@ -842,15 +1245,15 @@ export declare const telephonyAgentPresenceStatusContract: {
842
1245
  updatedAt: Date;
843
1246
  deletedAt: Date | null;
844
1247
  presenceStatus: {
845
- emoji: string;
846
1248
  id: string;
847
1249
  position: number;
848
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1250
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1251
+ status: string;
849
1252
  createdAt: Date;
850
1253
  updatedAt: Date;
851
1254
  deletedAt: Date | null;
852
- statusName: string;
853
1255
  };
1256
+ customPresenceStatus?: string | null | undefined;
854
1257
  };
855
1258
  }, {
856
1259
  requestId: string;
@@ -904,15 +1307,15 @@ export declare const telephonyAgentPresenceStatusContract: {
904
1307
  updatedAt: Date;
905
1308
  deletedAt: Date | null;
906
1309
  presenceStatus: {
907
- emoji: string;
908
1310
  id: string;
909
1311
  position: number;
910
- status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
1312
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
1313
+ status: string;
911
1314
  createdAt: Date;
912
1315
  updatedAt: Date;
913
1316
  deletedAt: Date | null;
914
- statusName: string;
915
1317
  };
1318
+ customPresenceStatus?: string | null | undefined;
916
1319
  };
917
1320
  }>;
918
1321
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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