@kl1/contracts 1.2.66-uat → 1.2.67-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/dist/api-contracts/src/contract.d.ts +354 -119
  2. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  3. package/dist/api-contracts/src/dashboard/index.d.ts +184 -37
  4. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/dashboard/schema.d.ts +39 -18
  6. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  7. package/dist/api-contracts/src/presence-status/index.d.ts +92 -44
  8. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/presence-status/schema.d.ts +13 -10
  10. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/presence-status/validation.d.ts +18 -6
  12. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +48 -24
  14. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +20 -10
  16. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -16
  18. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +40 -20
  20. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  21. package/dist/index.js +60 -17
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +60 -17
  24. package/dist/index.mjs.map +1 -1
  25. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import z from 'zod';
2
- import { PresenceStatusEnum, PresenceStatusSchema } from './schema';
2
+ import { PresenceStatusSchema, TPresenceStatusOption } 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 PresenceStatusEnum = z.infer<typeof PresenceStatusEnum>;
7
+ export type PresenceStatusOption = z.infer<typeof TPresenceStatusOption>;
8
8
  export declare const presenceStatusContract: {
9
9
  getAllStatus: {
10
10
  summary: "Get all presence status list.";
@@ -17,51 +17,61 @@ export declare const presenceStatusContract: {
17
17
  createdAt: z.ZodDate;
18
18
  updatedAt: z.ZodDate;
19
19
  deletedAt: z.ZodNullable<z.ZodDate>;
20
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
20
+ systemName: z.ZodString;
21
21
  displayName: z.ZodString;
22
+ description: z.ZodNullable<z.ZodString>;
22
23
  position: z.ZodNumber;
23
- emoji: z.ZodString;
24
+ emoji: z.ZodNullable<z.ZodString>;
25
+ 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">;
24
26
  }, "strip", z.ZodTypeAny, {
25
- emoji: string;
27
+ emoji: string | null;
26
28
  id: string;
27
29
  position: number;
30
+ description: string | null;
28
31
  createdAt: Date;
29
32
  updatedAt: Date;
30
33
  deletedAt: Date | null;
31
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34
+ systemName: string;
32
35
  displayName: string;
36
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
33
37
  }, {
34
- emoji: string;
38
+ emoji: string | null;
35
39
  id: string;
36
40
  position: number;
41
+ description: string | null;
37
42
  createdAt: Date;
38
43
  updatedAt: Date;
39
44
  deletedAt: Date | null;
40
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
45
+ systemName: string;
41
46
  displayName: string;
47
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
42
48
  }>, "many">;
43
49
  }, "strip", z.ZodTypeAny, {
44
50
  data: {
45
- emoji: string;
51
+ emoji: string | null;
46
52
  id: string;
47
53
  position: number;
54
+ description: string | null;
48
55
  createdAt: Date;
49
56
  updatedAt: Date;
50
57
  deletedAt: Date | null;
51
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
58
+ systemName: string;
52
59
  displayName: string;
60
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
53
61
  }[];
54
62
  total: number;
55
63
  }, {
56
64
  data: {
57
- emoji: string;
65
+ emoji: string | null;
58
66
  id: string;
59
67
  position: number;
68
+ description: string | null;
60
69
  createdAt: Date;
61
70
  updatedAt: Date;
62
71
  deletedAt: Date | null;
63
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
72
+ systemName: string;
64
73
  displayName: string;
74
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
65
75
  }[];
66
76
  total: number;
67
77
  }>;
@@ -113,20 +123,26 @@ export declare const presenceStatusContract: {
113
123
  };
114
124
  createPresenceStatus: {
115
125
  body: z.ZodObject<{
116
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
126
+ systemName: z.ZodString;
117
127
  displayName: z.ZodString;
128
+ description: z.ZodOptional<z.ZodString>;
118
129
  position: z.ZodNumber;
119
130
  emoji: z.ZodString;
131
+ 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">;
120
132
  }, "strip", z.ZodTypeAny, {
121
133
  emoji: string;
122
134
  position: number;
123
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
135
+ systemName: string;
124
136
  displayName: string;
137
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
138
+ description?: string | undefined;
125
139
  }, {
126
140
  emoji: string;
127
141
  position: number;
128
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
142
+ systemName: string;
129
143
  displayName: string;
144
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
145
+ description?: string | undefined;
130
146
  }>;
131
147
  summary: "Create a new presence status.";
132
148
  method: "POST";
@@ -138,52 +154,62 @@ export declare const presenceStatusContract: {
138
154
  createdAt: z.ZodDate;
139
155
  updatedAt: z.ZodDate;
140
156
  deletedAt: z.ZodNullable<z.ZodDate>;
141
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
157
+ systemName: z.ZodString;
142
158
  displayName: z.ZodString;
159
+ description: z.ZodNullable<z.ZodString>;
143
160
  position: z.ZodNumber;
144
- emoji: z.ZodString;
161
+ emoji: z.ZodNullable<z.ZodString>;
162
+ 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">;
145
163
  }, "strip", z.ZodTypeAny, {
146
- emoji: string;
164
+ emoji: string | null;
147
165
  id: string;
148
166
  position: number;
167
+ description: string | null;
149
168
  createdAt: Date;
150
169
  updatedAt: Date;
151
170
  deletedAt: Date | null;
152
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
171
+ systemName: string;
153
172
  displayName: string;
173
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
154
174
  }, {
155
- emoji: string;
175
+ emoji: string | null;
156
176
  id: string;
157
177
  position: number;
178
+ description: string | null;
158
179
  createdAt: Date;
159
180
  updatedAt: Date;
160
181
  deletedAt: Date | null;
161
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
182
+ systemName: string;
162
183
  displayName: string;
184
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
163
185
  }>;
164
186
  }, "strip", z.ZodTypeAny, {
165
187
  requestId: string;
166
188
  presenceStatus: {
167
- emoji: string;
189
+ emoji: string | null;
168
190
  id: string;
169
191
  position: number;
192
+ description: string | null;
170
193
  createdAt: Date;
171
194
  updatedAt: Date;
172
195
  deletedAt: Date | null;
173
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
196
+ systemName: string;
174
197
  displayName: string;
198
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
175
199
  };
176
200
  }, {
177
201
  requestId: string;
178
202
  presenceStatus: {
179
- emoji: string;
203
+ emoji: string | null;
180
204
  id: string;
181
205
  position: number;
206
+ description: string | null;
182
207
  createdAt: Date;
183
208
  updatedAt: Date;
184
209
  deletedAt: Date | null;
185
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
210
+ systemName: string;
186
211
  displayName: string;
212
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
187
213
  };
188
214
  }>;
189
215
  400: z.ZodObject<{
@@ -268,28 +294,34 @@ export declare const presenceStatusContract: {
268
294
  createdAt: z.ZodDate;
269
295
  updatedAt: z.ZodDate;
270
296
  deletedAt: z.ZodNullable<z.ZodDate>;
271
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
297
+ systemName: z.ZodString;
272
298
  displayName: z.ZodString;
299
+ description: z.ZodNullable<z.ZodString>;
273
300
  position: z.ZodNumber;
274
- emoji: z.ZodString;
301
+ emoji: z.ZodNullable<z.ZodString>;
302
+ 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">;
275
303
  }, "strip", z.ZodTypeAny, {
276
- emoji: string;
304
+ emoji: string | null;
277
305
  id: string;
278
306
  position: number;
307
+ description: string | null;
279
308
  createdAt: Date;
280
309
  updatedAt: Date;
281
310
  deletedAt: Date | null;
282
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
311
+ systemName: string;
283
312
  displayName: string;
313
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
284
314
  }, {
285
- emoji: string;
315
+ emoji: string | null;
286
316
  id: string;
287
317
  position: number;
318
+ description: string | null;
288
319
  createdAt: Date;
289
320
  updatedAt: Date;
290
321
  deletedAt: Date | null;
291
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
322
+ systemName: string;
292
323
  displayName: string;
324
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
293
325
  }>;
294
326
  400: z.ZodObject<{
295
327
  message: z.ZodString;
@@ -359,20 +391,26 @@ export declare const presenceStatusContract: {
359
391
  };
360
392
  updatePresenceStatus: {
361
393
  body: z.ZodObject<{
362
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
394
+ systemName: z.ZodString;
363
395
  displayName: z.ZodString;
396
+ description: z.ZodOptional<z.ZodString>;
364
397
  position: z.ZodNumber;
365
398
  emoji: z.ZodString;
399
+ 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">;
366
400
  }, "strip", z.ZodTypeAny, {
367
401
  emoji: string;
368
402
  position: number;
369
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
403
+ systemName: string;
370
404
  displayName: string;
405
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
406
+ description?: string | undefined;
371
407
  }, {
372
408
  emoji: string;
373
409
  position: number;
374
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
410
+ systemName: string;
375
411
  displayName: string;
412
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
413
+ description?: string | undefined;
376
414
  }>;
377
415
  summary: "Update a presence status.";
378
416
  method: "PATCH";
@@ -391,52 +429,62 @@ export declare const presenceStatusContract: {
391
429
  createdAt: z.ZodDate;
392
430
  updatedAt: z.ZodDate;
393
431
  deletedAt: z.ZodNullable<z.ZodDate>;
394
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
432
+ systemName: z.ZodString;
395
433
  displayName: z.ZodString;
434
+ description: z.ZodNullable<z.ZodString>;
396
435
  position: z.ZodNumber;
397
- emoji: z.ZodString;
436
+ emoji: z.ZodNullable<z.ZodString>;
437
+ 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">;
398
438
  }, "strip", z.ZodTypeAny, {
399
- emoji: string;
439
+ emoji: string | null;
400
440
  id: string;
401
441
  position: number;
442
+ description: string | null;
402
443
  createdAt: Date;
403
444
  updatedAt: Date;
404
445
  deletedAt: Date | null;
405
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
446
+ systemName: string;
406
447
  displayName: string;
448
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
407
449
  }, {
408
- emoji: string;
450
+ emoji: string | null;
409
451
  id: string;
410
452
  position: number;
453
+ description: string | null;
411
454
  createdAt: Date;
412
455
  updatedAt: Date;
413
456
  deletedAt: Date | null;
414
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
457
+ systemName: string;
415
458
  displayName: string;
459
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
416
460
  }>;
417
461
  }, "strip", z.ZodTypeAny, {
418
462
  requestId: string;
419
463
  presenceStatus: {
420
- emoji: string;
464
+ emoji: string | null;
421
465
  id: string;
422
466
  position: number;
467
+ description: string | null;
423
468
  createdAt: Date;
424
469
  updatedAt: Date;
425
470
  deletedAt: Date | null;
426
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
471
+ systemName: string;
427
472
  displayName: string;
473
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
428
474
  };
429
475
  }, {
430
476
  requestId: string;
431
477
  presenceStatus: {
432
- emoji: string;
478
+ emoji: string | null;
433
479
  id: string;
434
480
  position: number;
481
+ description: string | null;
435
482
  createdAt: Date;
436
483
  updatedAt: Date;
437
484
  deletedAt: Date | null;
438
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
485
+ systemName: string;
439
486
  displayName: string;
487
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
440
488
  };
441
489
  }>;
442
490
  400: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FlC,CAAC"}
@@ -1,34 +1,37 @@
1
1
  import z from 'zod';
2
- /**
3
- * Zod Enum Schema based on EPresenceStatusDesType
4
- */
5
- export declare const PresenceStatusEnum: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
2
+ export declare const TPresenceStatusOption: z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>;
6
3
  export declare const PresenceStatusSchema: z.ZodObject<{
7
4
  id: z.ZodString;
8
5
  createdAt: z.ZodDate;
9
6
  updatedAt: z.ZodDate;
10
7
  deletedAt: z.ZodNullable<z.ZodDate>;
11
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
8
+ systemName: z.ZodString;
12
9
  displayName: z.ZodString;
10
+ description: z.ZodNullable<z.ZodString>;
13
11
  position: z.ZodNumber;
14
- emoji: z.ZodString;
12
+ emoji: z.ZodNullable<z.ZodString>;
13
+ 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">;
15
14
  }, "strip", z.ZodTypeAny, {
16
- emoji: string;
15
+ emoji: string | null;
17
16
  id: string;
18
17
  position: number;
18
+ description: string | null;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  deletedAt: Date | null;
22
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
22
+ systemName: string;
23
23
  displayName: string;
24
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
24
25
  }, {
25
- emoji: string;
26
+ emoji: string | null;
26
27
  id: string;
27
28
  position: number;
29
+ description: string | null;
28
30
  createdAt: Date;
29
31
  updatedAt: Date;
30
32
  deletedAt: Date | null;
31
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
33
+ systemName: string;
32
34
  displayName: string;
35
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
33
36
  }>;
34
37
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,kBAAkB,yEAI7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,qBAAqB,oKAKhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC"}
@@ -1,34 +1,46 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePresenceStatusSchema: z.ZodObject<{
3
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
3
+ systemName: z.ZodString;
4
4
  displayName: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
5
6
  position: z.ZodNumber;
6
7
  emoji: z.ZodString;
8
+ 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">;
7
9
  }, "strip", z.ZodTypeAny, {
8
10
  emoji: string;
9
11
  position: number;
10
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
12
+ systemName: string;
11
13
  displayName: string;
14
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
15
+ description?: string | undefined;
12
16
  }, {
13
17
  emoji: string;
14
18
  position: number;
15
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
19
+ systemName: string;
16
20
  displayName: string;
21
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
+ description?: string | undefined;
17
23
  }>;
18
24
  export declare const UpdatePresenceStatusSchema: z.ZodObject<{
19
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
25
+ systemName: z.ZodString;
20
26
  displayName: z.ZodString;
27
+ description: z.ZodOptional<z.ZodString>;
21
28
  position: z.ZodNumber;
22
29
  emoji: z.ZodString;
30
+ 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
31
  }, "strip", z.ZodTypeAny, {
24
32
  emoji: string;
25
33
  position: number;
26
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
34
+ systemName: string;
27
35
  displayName: string;
36
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37
+ description?: string | undefined;
28
38
  }, {
29
39
  emoji: string;
30
40
  position: number;
31
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
41
+ systemName: string;
32
42
  displayName: string;
43
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
44
+ description?: string | undefined;
33
45
  }>;
34
46
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAA6B,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAC"}
@@ -227,28 +227,34 @@ export declare const telephonyAgentPresenceStatusContract: {
227
227
  createdAt: z.ZodDate;
228
228
  updatedAt: z.ZodDate;
229
229
  deletedAt: z.ZodNullable<z.ZodDate>;
230
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
230
+ systemName: z.ZodString;
231
231
  displayName: z.ZodString;
232
+ description: z.ZodNullable<z.ZodString>;
232
233
  position: z.ZodNumber;
233
- emoji: z.ZodString;
234
+ emoji: z.ZodNullable<z.ZodString>;
235
+ 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">;
234
236
  }, "strip", z.ZodTypeAny, {
235
- emoji: string;
237
+ emoji: string | null;
236
238
  id: string;
237
239
  position: number;
240
+ description: string | null;
238
241
  createdAt: Date;
239
242
  updatedAt: Date;
240
243
  deletedAt: Date | null;
241
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
244
+ systemName: string;
242
245
  displayName: string;
246
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
243
247
  }, {
244
- emoji: string;
248
+ emoji: string | null;
245
249
  id: string;
246
250
  position: number;
251
+ description: string | null;
247
252
  createdAt: Date;
248
253
  updatedAt: Date;
249
254
  deletedAt: Date | null;
250
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
255
+ systemName: string;
251
256
  displayName: string;
257
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
252
258
  }>;
253
259
  }, "strip", z.ZodTypeAny, {
254
260
  id: string;
@@ -300,14 +306,16 @@ export declare const telephonyAgentPresenceStatusContract: {
300
306
  updatedAt: Date;
301
307
  deletedAt: Date | null;
302
308
  presenceStatus: {
303
- emoji: string;
309
+ emoji: string | null;
304
310
  id: string;
305
311
  position: number;
312
+ description: string | null;
306
313
  createdAt: Date;
307
314
  updatedAt: Date;
308
315
  deletedAt: Date | null;
309
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
316
+ systemName: string;
310
317
  displayName: string;
318
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
311
319
  };
312
320
  }, {
313
321
  id: string;
@@ -359,14 +367,16 @@ export declare const telephonyAgentPresenceStatusContract: {
359
367
  updatedAt: Date;
360
368
  deletedAt: Date | null;
361
369
  presenceStatus: {
362
- emoji: string;
370
+ emoji: string | null;
363
371
  id: string;
364
372
  position: number;
373
+ description: string | null;
365
374
  createdAt: Date;
366
375
  updatedAt: Date;
367
376
  deletedAt: Date | null;
368
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
377
+ systemName: string;
369
378
  displayName: string;
379
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
370
380
  };
371
381
  }>;
372
382
  400: z.ZodObject<{
@@ -648,28 +658,34 @@ export declare const telephonyAgentPresenceStatusContract: {
648
658
  createdAt: z.ZodDate;
649
659
  updatedAt: z.ZodDate;
650
660
  deletedAt: z.ZodNullable<z.ZodDate>;
651
- systemName: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
661
+ systemName: z.ZodString;
652
662
  displayName: z.ZodString;
663
+ description: z.ZodNullable<z.ZodString>;
653
664
  position: z.ZodNumber;
654
- emoji: z.ZodString;
665
+ emoji: z.ZodNullable<z.ZodString>;
666
+ 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">;
655
667
  }, "strip", z.ZodTypeAny, {
656
- emoji: string;
668
+ emoji: string | null;
657
669
  id: string;
658
670
  position: number;
671
+ description: string | null;
659
672
  createdAt: Date;
660
673
  updatedAt: Date;
661
674
  deletedAt: Date | null;
662
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
675
+ systemName: string;
663
676
  displayName: string;
677
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
664
678
  }, {
665
- emoji: string;
679
+ emoji: string | null;
666
680
  id: string;
667
681
  position: number;
682
+ description: string | null;
668
683
  createdAt: Date;
669
684
  updatedAt: Date;
670
685
  deletedAt: Date | null;
671
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
686
+ systemName: string;
672
687
  displayName: string;
688
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
673
689
  }>;
674
690
  }, "strip", z.ZodTypeAny, {
675
691
  id: string;
@@ -721,14 +737,16 @@ export declare const telephonyAgentPresenceStatusContract: {
721
737
  updatedAt: Date;
722
738
  deletedAt: Date | null;
723
739
  presenceStatus: {
724
- emoji: string;
740
+ emoji: string | null;
725
741
  id: string;
726
742
  position: number;
743
+ description: string | null;
727
744
  createdAt: Date;
728
745
  updatedAt: Date;
729
746
  deletedAt: Date | null;
730
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
747
+ systemName: string;
731
748
  displayName: string;
749
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
732
750
  };
733
751
  }, {
734
752
  id: string;
@@ -780,14 +798,16 @@ export declare const telephonyAgentPresenceStatusContract: {
780
798
  updatedAt: Date;
781
799
  deletedAt: Date | null;
782
800
  presenceStatus: {
783
- emoji: string;
801
+ emoji: string | null;
784
802
  id: string;
785
803
  position: number;
804
+ description: string | null;
786
805
  createdAt: Date;
787
806
  updatedAt: Date;
788
807
  deletedAt: Date | null;
789
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
808
+ systemName: string;
790
809
  displayName: string;
810
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
791
811
  };
792
812
  }>;
793
813
  }, "strip", z.ZodTypeAny, {
@@ -842,14 +862,16 @@ export declare const telephonyAgentPresenceStatusContract: {
842
862
  updatedAt: Date;
843
863
  deletedAt: Date | null;
844
864
  presenceStatus: {
845
- emoji: string;
865
+ emoji: string | null;
846
866
  id: string;
847
867
  position: number;
868
+ description: string | null;
848
869
  createdAt: Date;
849
870
  updatedAt: Date;
850
871
  deletedAt: Date | null;
851
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
872
+ systemName: string;
852
873
  displayName: string;
874
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
853
875
  };
854
876
  };
855
877
  }, {
@@ -904,14 +926,16 @@ export declare const telephonyAgentPresenceStatusContract: {
904
926
  updatedAt: Date;
905
927
  deletedAt: Date | null;
906
928
  presenceStatus: {
907
- emoji: string;
929
+ emoji: string | null;
908
930
  id: string;
909
931
  position: number;
932
+ description: string | null;
910
933
  createdAt: Date;
911
934
  updatedAt: Date;
912
935
  deletedAt: Date | null;
913
- systemName: "default" | "receive_call_noti" | "do_not_receive_call_noti";
936
+ systemName: string;
914
937
  displayName: string;
938
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
915
939
  };
916
940
  };
917
941
  }>;