@kl1/contracts 1.3.32 → 1.3.34

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 (24) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +3 -3
  2. package/dist/api-contracts/src/channel/index.d.ts +10 -10
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/contract.d.ts +1067 -501
  5. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  6. package/dist/api-contracts/src/presence-status/index.d.ts +542 -50
  7. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/presence-status/schema.d.ts +385 -10
  9. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
  11. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +85 -34
  13. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +25 -10
  15. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  16. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +40 -16
  17. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +50 -20
  19. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  20. package/dist/index.js +77 -42
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.mjs +77 -42
  23. package/dist/index.mjs.map +1 -1
  24. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
1
  import z from 'zod';
2
- import { PresenceStatusDesEnum, PresenceStatusSchema } from './schema';
2
+ import { PresenceStatusSchema, TPresenceStatusOption, UserPresenceStatusSchema } from './schema';
3
3
  import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
4
4
  export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
5
5
  export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
6
6
  export type GetPresenceStatusRequest = z.infer<typeof PresenceStatusSchema>;
7
- export type PresenceStatusDesEnum = z.infer<typeof PresenceStatusDesEnum>;
7
+ export type PresenceStatusOption = z.infer<typeof TPresenceStatusOption>;
8
+ export type UserPresenceStatus = z.infer<typeof UserPresenceStatusSchema>;
8
9
  export declare const presenceStatusContract: {
9
10
  getAllStatus: {
10
11
  summary: "Get all presence status list.";
@@ -17,46 +18,61 @@ export declare const presenceStatusContract: {
17
18
  createdAt: z.ZodDate;
18
19
  updatedAt: z.ZodDate;
19
20
  deletedAt: z.ZodNullable<z.ZodDate>;
20
- status: z.ZodString;
21
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
21
+ systemName: z.ZodString;
22
+ displayName: z.ZodString;
23
+ description: z.ZodNullable<z.ZodString>;
22
24
  position: z.ZodNumber;
25
+ emoji: z.ZodNullable<z.ZodString>;
26
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
23
27
  }, "strip", z.ZodTypeAny, {
28
+ emoji: string | null;
24
29
  id: string;
25
30
  position: number;
26
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
27
- status: string;
31
+ description: string | null;
28
32
  createdAt: Date;
29
33
  updatedAt: Date;
30
34
  deletedAt: Date | null;
35
+ systemName: string;
36
+ displayName: string;
37
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
31
38
  }, {
39
+ emoji: string | null;
32
40
  id: string;
33
41
  position: number;
34
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35
- status: string;
42
+ description: string | null;
36
43
  createdAt: Date;
37
44
  updatedAt: Date;
38
45
  deletedAt: Date | null;
46
+ systemName: string;
47
+ displayName: string;
48
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
39
49
  }>, "many">;
40
50
  }, "strip", z.ZodTypeAny, {
41
51
  data: {
52
+ emoji: string | null;
42
53
  id: string;
43
54
  position: number;
44
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
45
- status: string;
55
+ description: string | null;
46
56
  createdAt: Date;
47
57
  updatedAt: Date;
48
58
  deletedAt: Date | null;
59
+ systemName: string;
60
+ displayName: string;
61
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
49
62
  }[];
50
63
  total: number;
51
64
  }, {
52
65
  data: {
66
+ emoji: string | null;
53
67
  id: string;
54
68
  position: number;
55
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
56
- status: string;
69
+ description: string | null;
57
70
  createdAt: Date;
58
71
  updatedAt: Date;
59
72
  deletedAt: Date | null;
73
+ systemName: string;
74
+ displayName: string;
75
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
60
76
  }[];
61
77
  total: number;
62
78
  }>;
@@ -106,19 +122,447 @@ export declare const presenceStatusContract: {
106
122
  'x-client-timezone'?: string | undefined;
107
123
  }>>>;
108
124
  };
125
+ getAllUserPresenceStatus: {
126
+ summary: "Get all users presence status";
127
+ method: "GET";
128
+ responses: {
129
+ 200: z.ZodArray<z.ZodObject<{
130
+ id: z.ZodString;
131
+ createdAt: z.ZodDate;
132
+ updatedAt: z.ZodDate;
133
+ deletedAt: z.ZodNullable<z.ZodDate>;
134
+ userId: z.ZodString;
135
+ user: z.ZodObject<{
136
+ name: z.ZodString;
137
+ id: z.ZodString;
138
+ address: z.ZodNullable<z.ZodString>;
139
+ email: z.ZodString;
140
+ createdAt: z.ZodDate;
141
+ updatedAt: z.ZodDate;
142
+ deletedAt: z.ZodNullable<z.ZodDate>;
143
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
144
+ password: z.ZodString;
145
+ phone: z.ZodNullable<z.ZodString>;
146
+ notificationCount: z.ZodNullable<z.ZodNumber>;
147
+ roles: z.ZodArray<z.ZodObject<{
148
+ id: z.ZodString;
149
+ createdAt: z.ZodDate;
150
+ updatedAt: z.ZodDate;
151
+ deletedAt: z.ZodNullable<z.ZodDate>;
152
+ systemName: z.ZodString;
153
+ displayName: z.ZodString;
154
+ description: z.ZodNullable<z.ZodString>;
155
+ permissions: z.ZodArray<z.ZodObject<{
156
+ id: z.ZodString;
157
+ createdAt: z.ZodDate;
158
+ updatedAt: z.ZodDate;
159
+ deletedAt: z.ZodNullable<z.ZodDate>;
160
+ systemName: z.ZodString;
161
+ displayName: z.ZodString;
162
+ description: z.ZodNullable<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ id: string;
165
+ description: string | null;
166
+ createdAt: Date;
167
+ updatedAt: Date;
168
+ deletedAt: Date | null;
169
+ systemName: string;
170
+ displayName: string;
171
+ }, {
172
+ id: string;
173
+ description: string | null;
174
+ createdAt: Date;
175
+ updatedAt: Date;
176
+ deletedAt: Date | null;
177
+ systemName: string;
178
+ displayName: string;
179
+ }>, "many">;
180
+ }, "strip", z.ZodTypeAny, {
181
+ id: string;
182
+ description: string | null;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ deletedAt: Date | null;
186
+ systemName: string;
187
+ displayName: string;
188
+ permissions: {
189
+ id: string;
190
+ description: string | null;
191
+ createdAt: Date;
192
+ updatedAt: Date;
193
+ deletedAt: Date | null;
194
+ systemName: string;
195
+ displayName: string;
196
+ }[];
197
+ }, {
198
+ id: string;
199
+ description: string | null;
200
+ createdAt: Date;
201
+ updatedAt: Date;
202
+ deletedAt: Date | null;
203
+ systemName: string;
204
+ displayName: string;
205
+ permissions: {
206
+ id: string;
207
+ description: string | null;
208
+ createdAt: Date;
209
+ updatedAt: Date;
210
+ deletedAt: Date | null;
211
+ systemName: string;
212
+ displayName: string;
213
+ }[];
214
+ }>, "many">;
215
+ extension: z.ZodObject<{
216
+ id: z.ZodString;
217
+ createdAt: z.ZodDate;
218
+ updatedAt: z.ZodDate;
219
+ deletedAt: z.ZodNullable<z.ZodDate>;
220
+ userId: z.ZodNullable<z.ZodString>;
221
+ sipServerUrl: z.ZodString;
222
+ sipUserName: z.ZodString;
223
+ webphoneLoginUser: z.ZodString;
224
+ extensionId: z.ZodNullable<z.ZodString>;
225
+ extensionName: z.ZodString;
226
+ telephonySignature: z.ZodNullable<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ id: string;
229
+ createdAt: Date;
230
+ updatedAt: Date;
231
+ deletedAt: Date | null;
232
+ userId: string | null;
233
+ sipServerUrl: string;
234
+ sipUserName: string;
235
+ webphoneLoginUser: string;
236
+ extensionId: string | null;
237
+ extensionName: string;
238
+ telephonySignature: string | null;
239
+ }, {
240
+ id: string;
241
+ createdAt: Date;
242
+ updatedAt: Date;
243
+ deletedAt: Date | null;
244
+ userId: string | null;
245
+ sipServerUrl: string;
246
+ sipUserName: string;
247
+ webphoneLoginUser: string;
248
+ extensionId: string | null;
249
+ extensionName: string;
250
+ telephonySignature: string | null;
251
+ }>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ name: string;
254
+ id: string;
255
+ address: string | null;
256
+ email: string;
257
+ createdAt: Date;
258
+ updatedAt: Date;
259
+ deletedAt: Date | null;
260
+ emailVerifiedAt: Date | null;
261
+ password: string;
262
+ phone: string | null;
263
+ notificationCount: number | null;
264
+ roles: {
265
+ id: string;
266
+ description: string | null;
267
+ createdAt: Date;
268
+ updatedAt: Date;
269
+ deletedAt: Date | null;
270
+ systemName: string;
271
+ displayName: string;
272
+ permissions: {
273
+ id: string;
274
+ description: string | null;
275
+ createdAt: Date;
276
+ updatedAt: Date;
277
+ deletedAt: Date | null;
278
+ systemName: string;
279
+ displayName: string;
280
+ }[];
281
+ }[];
282
+ extension: {
283
+ id: string;
284
+ createdAt: Date;
285
+ updatedAt: Date;
286
+ deletedAt: Date | null;
287
+ userId: string | null;
288
+ sipServerUrl: string;
289
+ sipUserName: string;
290
+ webphoneLoginUser: string;
291
+ extensionId: string | null;
292
+ extensionName: string;
293
+ telephonySignature: string | null;
294
+ };
295
+ }, {
296
+ name: string;
297
+ id: string;
298
+ address: string | null;
299
+ email: string;
300
+ createdAt: Date;
301
+ updatedAt: Date;
302
+ deletedAt: Date | null;
303
+ emailVerifiedAt: Date | null;
304
+ password: string;
305
+ phone: string | null;
306
+ notificationCount: number | null;
307
+ roles: {
308
+ id: string;
309
+ description: string | null;
310
+ createdAt: Date;
311
+ updatedAt: Date;
312
+ deletedAt: Date | null;
313
+ systemName: string;
314
+ displayName: string;
315
+ permissions: {
316
+ id: string;
317
+ description: string | null;
318
+ createdAt: Date;
319
+ updatedAt: Date;
320
+ deletedAt: Date | null;
321
+ systemName: string;
322
+ displayName: string;
323
+ }[];
324
+ }[];
325
+ extension: {
326
+ id: string;
327
+ createdAt: Date;
328
+ updatedAt: Date;
329
+ deletedAt: Date | null;
330
+ userId: string | null;
331
+ sipServerUrl: string;
332
+ sipUserName: string;
333
+ webphoneLoginUser: string;
334
+ extensionId: string | null;
335
+ extensionName: string;
336
+ telephonySignature: string | null;
337
+ };
338
+ }>;
339
+ presenceStatus: z.ZodObject<{
340
+ id: z.ZodString;
341
+ createdAt: z.ZodDate;
342
+ updatedAt: z.ZodDate;
343
+ deletedAt: z.ZodNullable<z.ZodDate>;
344
+ systemName: z.ZodString;
345
+ displayName: z.ZodString;
346
+ description: z.ZodNullable<z.ZodString>;
347
+ position: z.ZodNumber;
348
+ emoji: z.ZodNullable<z.ZodString>;
349
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
350
+ }, "strip", z.ZodTypeAny, {
351
+ emoji: string | null;
352
+ id: string;
353
+ position: number;
354
+ description: string | null;
355
+ createdAt: Date;
356
+ updatedAt: Date;
357
+ deletedAt: Date | null;
358
+ systemName: string;
359
+ displayName: string;
360
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
361
+ }, {
362
+ emoji: string | null;
363
+ id: string;
364
+ position: number;
365
+ description: string | null;
366
+ createdAt: Date;
367
+ updatedAt: Date;
368
+ deletedAt: Date | null;
369
+ systemName: string;
370
+ displayName: string;
371
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
372
+ }>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ id: string;
375
+ user: {
376
+ name: string;
377
+ id: string;
378
+ address: string | null;
379
+ email: string;
380
+ createdAt: Date;
381
+ updatedAt: Date;
382
+ deletedAt: Date | null;
383
+ emailVerifiedAt: Date | null;
384
+ password: string;
385
+ phone: string | null;
386
+ notificationCount: number | null;
387
+ roles: {
388
+ id: string;
389
+ description: string | null;
390
+ createdAt: Date;
391
+ updatedAt: Date;
392
+ deletedAt: Date | null;
393
+ systemName: string;
394
+ displayName: string;
395
+ permissions: {
396
+ id: string;
397
+ description: string | null;
398
+ createdAt: Date;
399
+ updatedAt: Date;
400
+ deletedAt: Date | null;
401
+ systemName: string;
402
+ displayName: string;
403
+ }[];
404
+ }[];
405
+ extension: {
406
+ id: string;
407
+ createdAt: Date;
408
+ updatedAt: Date;
409
+ deletedAt: Date | null;
410
+ userId: string | null;
411
+ sipServerUrl: string;
412
+ sipUserName: string;
413
+ webphoneLoginUser: string;
414
+ extensionId: string | null;
415
+ extensionName: string;
416
+ telephonySignature: string | null;
417
+ };
418
+ };
419
+ createdAt: Date;
420
+ updatedAt: Date;
421
+ deletedAt: Date | null;
422
+ userId: string;
423
+ presenceStatus: {
424
+ emoji: string | null;
425
+ id: string;
426
+ position: number;
427
+ description: string | null;
428
+ createdAt: Date;
429
+ updatedAt: Date;
430
+ deletedAt: Date | null;
431
+ systemName: string;
432
+ displayName: string;
433
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
434
+ };
435
+ }, {
436
+ id: string;
437
+ user: {
438
+ name: string;
439
+ id: string;
440
+ address: string | null;
441
+ email: string;
442
+ createdAt: Date;
443
+ updatedAt: Date;
444
+ deletedAt: Date | null;
445
+ emailVerifiedAt: Date | null;
446
+ password: string;
447
+ phone: string | null;
448
+ notificationCount: number | null;
449
+ roles: {
450
+ id: string;
451
+ description: string | null;
452
+ createdAt: Date;
453
+ updatedAt: Date;
454
+ deletedAt: Date | null;
455
+ systemName: string;
456
+ displayName: string;
457
+ permissions: {
458
+ id: string;
459
+ description: string | null;
460
+ createdAt: Date;
461
+ updatedAt: Date;
462
+ deletedAt: Date | null;
463
+ systemName: string;
464
+ displayName: string;
465
+ }[];
466
+ }[];
467
+ extension: {
468
+ id: string;
469
+ createdAt: Date;
470
+ updatedAt: Date;
471
+ deletedAt: Date | null;
472
+ userId: string | null;
473
+ sipServerUrl: string;
474
+ sipUserName: string;
475
+ webphoneLoginUser: string;
476
+ extensionId: string | null;
477
+ extensionName: string;
478
+ telephonySignature: string | null;
479
+ };
480
+ };
481
+ createdAt: Date;
482
+ updatedAt: Date;
483
+ deletedAt: Date | null;
484
+ userId: string;
485
+ presenceStatus: {
486
+ emoji: string | null;
487
+ id: string;
488
+ position: number;
489
+ description: string | null;
490
+ createdAt: Date;
491
+ updatedAt: Date;
492
+ deletedAt: Date | null;
493
+ systemName: string;
494
+ displayName: string;
495
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
496
+ };
497
+ }>, "many">;
498
+ 400: z.ZodObject<{
499
+ message: z.ZodString;
500
+ }, "strip", z.ZodTypeAny, {
501
+ message: string;
502
+ }, {
503
+ message: string;
504
+ }>;
505
+ 401: z.ZodObject<{
506
+ message: z.ZodString;
507
+ error: z.ZodAny;
508
+ }, "strip", z.ZodTypeAny, {
509
+ message: string;
510
+ error?: any;
511
+ }, {
512
+ message: string;
513
+ error?: any;
514
+ }>;
515
+ 500: z.ZodObject<{
516
+ message: z.ZodString;
517
+ error: z.ZodAny;
518
+ }, "strip", z.ZodTypeAny, {
519
+ message: string;
520
+ error?: any;
521
+ }, {
522
+ message: string;
523
+ error?: any;
524
+ }>;
525
+ };
526
+ path: "ms/presence_status/ps/user-presence-status";
527
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
528
+ 'x-tenant': z.ZodString;
529
+ 'x-service-token': z.ZodString;
530
+ 'x-code': z.ZodOptional<z.ZodString>;
531
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ 'x-tenant': string;
534
+ 'x-service-token': string;
535
+ 'x-client-timezone': string;
536
+ 'x-code'?: string | undefined;
537
+ }, {
538
+ 'x-tenant': string;
539
+ 'x-service-token': string;
540
+ 'x-code'?: string | undefined;
541
+ 'x-client-timezone'?: string | undefined;
542
+ }>>>;
543
+ };
109
544
  createPresenceStatus: {
110
545
  body: z.ZodObject<{
111
- status: z.ZodString;
112
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
546
+ systemName: z.ZodString;
547
+ displayName: z.ZodString;
548
+ description: z.ZodOptional<z.ZodString>;
113
549
  position: z.ZodNumber;
550
+ emoji: z.ZodString;
551
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
114
552
  }, "strip", z.ZodTypeAny, {
553
+ emoji: string;
115
554
  position: number;
116
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
117
- status: string;
555
+ systemName: string;
556
+ displayName: string;
557
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
558
+ description?: string | undefined;
118
559
  }, {
560
+ emoji: string;
119
561
  position: number;
120
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
121
- status: string;
562
+ systemName: string;
563
+ displayName: string;
564
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
565
+ description?: string | undefined;
122
566
  }>;
123
567
  summary: "Create a new presence status.";
124
568
  method: "POST";
@@ -130,47 +574,62 @@ export declare const presenceStatusContract: {
130
574
  createdAt: z.ZodDate;
131
575
  updatedAt: z.ZodDate;
132
576
  deletedAt: z.ZodNullable<z.ZodDate>;
133
- status: z.ZodString;
134
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
577
+ systemName: z.ZodString;
578
+ displayName: z.ZodString;
579
+ description: z.ZodNullable<z.ZodString>;
135
580
  position: z.ZodNumber;
581
+ emoji: z.ZodNullable<z.ZodString>;
582
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
136
583
  }, "strip", z.ZodTypeAny, {
584
+ emoji: string | null;
137
585
  id: string;
138
586
  position: number;
139
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
140
- status: string;
587
+ description: string | null;
141
588
  createdAt: Date;
142
589
  updatedAt: Date;
143
590
  deletedAt: Date | null;
591
+ systemName: string;
592
+ displayName: string;
593
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
144
594
  }, {
595
+ emoji: string | null;
145
596
  id: string;
146
597
  position: number;
147
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
148
- status: string;
598
+ description: string | null;
149
599
  createdAt: Date;
150
600
  updatedAt: Date;
151
601
  deletedAt: Date | null;
602
+ systemName: string;
603
+ displayName: string;
604
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
152
605
  }>;
153
606
  }, "strip", z.ZodTypeAny, {
154
607
  requestId: string;
155
608
  presenceStatus: {
609
+ emoji: string | null;
156
610
  id: string;
157
611
  position: number;
158
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
159
- status: string;
612
+ description: string | null;
160
613
  createdAt: Date;
161
614
  updatedAt: Date;
162
615
  deletedAt: Date | null;
616
+ systemName: string;
617
+ displayName: string;
618
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
163
619
  };
164
620
  }, {
165
621
  requestId: string;
166
622
  presenceStatus: {
623
+ emoji: string | null;
167
624
  id: string;
168
625
  position: number;
169
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
170
- status: string;
626
+ description: string | null;
171
627
  createdAt: Date;
172
628
  updatedAt: Date;
173
629
  deletedAt: Date | null;
630
+ systemName: string;
631
+ displayName: string;
632
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
174
633
  };
175
634
  }>;
176
635
  400: z.ZodObject<{
@@ -255,25 +714,34 @@ export declare const presenceStatusContract: {
255
714
  createdAt: z.ZodDate;
256
715
  updatedAt: z.ZodDate;
257
716
  deletedAt: z.ZodNullable<z.ZodDate>;
258
- status: z.ZodString;
259
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
717
+ systemName: z.ZodString;
718
+ displayName: z.ZodString;
719
+ description: z.ZodNullable<z.ZodString>;
260
720
  position: z.ZodNumber;
721
+ emoji: z.ZodNullable<z.ZodString>;
722
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
261
723
  }, "strip", z.ZodTypeAny, {
724
+ emoji: string | null;
262
725
  id: string;
263
726
  position: number;
264
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
265
- status: string;
727
+ description: string | null;
266
728
  createdAt: Date;
267
729
  updatedAt: Date;
268
730
  deletedAt: Date | null;
731
+ systemName: string;
732
+ displayName: string;
733
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
269
734
  }, {
735
+ emoji: string | null;
270
736
  id: string;
271
737
  position: number;
272
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
273
- status: string;
738
+ description: string | null;
274
739
  createdAt: Date;
275
740
  updatedAt: Date;
276
741
  deletedAt: Date | null;
742
+ systemName: string;
743
+ displayName: string;
744
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
277
745
  }>;
278
746
  400: z.ZodObject<{
279
747
  message: z.ZodString;
@@ -343,17 +811,26 @@ export declare const presenceStatusContract: {
343
811
  };
344
812
  updatePresenceStatus: {
345
813
  body: z.ZodObject<{
346
- status: z.ZodString;
347
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
814
+ systemName: z.ZodString;
815
+ displayName: z.ZodString;
816
+ description: z.ZodOptional<z.ZodString>;
348
817
  position: z.ZodNumber;
818
+ emoji: z.ZodString;
819
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
349
820
  }, "strip", z.ZodTypeAny, {
821
+ emoji: string;
350
822
  position: number;
351
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
352
- status: string;
823
+ systemName: string;
824
+ displayName: string;
825
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
826
+ description?: string | undefined;
353
827
  }, {
828
+ emoji: string;
354
829
  position: number;
355
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
356
- status: string;
830
+ systemName: string;
831
+ displayName: string;
832
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
833
+ description?: string | undefined;
357
834
  }>;
358
835
  summary: "Update a presence status.";
359
836
  method: "PATCH";
@@ -372,47 +849,62 @@ export declare const presenceStatusContract: {
372
849
  createdAt: z.ZodDate;
373
850
  updatedAt: z.ZodDate;
374
851
  deletedAt: z.ZodNullable<z.ZodDate>;
375
- status: z.ZodString;
376
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
852
+ systemName: z.ZodString;
853
+ displayName: z.ZodString;
854
+ description: z.ZodNullable<z.ZodString>;
377
855
  position: z.ZodNumber;
856
+ emoji: z.ZodNullable<z.ZodString>;
857
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
378
858
  }, "strip", z.ZodTypeAny, {
859
+ emoji: string | null;
379
860
  id: string;
380
861
  position: number;
381
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
382
- status: string;
862
+ description: string | null;
383
863
  createdAt: Date;
384
864
  updatedAt: Date;
385
865
  deletedAt: Date | null;
866
+ systemName: string;
867
+ displayName: string;
868
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
386
869
  }, {
870
+ emoji: string | null;
387
871
  id: string;
388
872
  position: number;
389
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
390
- status: string;
873
+ description: string | null;
391
874
  createdAt: Date;
392
875
  updatedAt: Date;
393
876
  deletedAt: Date | null;
877
+ systemName: string;
878
+ displayName: string;
879
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
394
880
  }>;
395
881
  }, "strip", z.ZodTypeAny, {
396
882
  requestId: string;
397
883
  presenceStatus: {
884
+ emoji: string | null;
398
885
  id: string;
399
886
  position: number;
400
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
401
- status: string;
887
+ description: string | null;
402
888
  createdAt: Date;
403
889
  updatedAt: Date;
404
890
  deletedAt: Date | null;
891
+ systemName: string;
892
+ displayName: string;
893
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
405
894
  };
406
895
  }, {
407
896
  requestId: string;
408
897
  presenceStatus: {
898
+ emoji: string | null;
409
899
  id: string;
410
900
  position: number;
411
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
412
- status: string;
901
+ description: string | null;
413
902
  createdAt: Date;
414
903
  updatedAt: Date;
415
904
  deletedAt: Date | null;
905
+ systemName: string;
906
+ displayName: string;
907
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
416
908
  };
417
909
  }>;
418
910
  400: z.ZodObject<{