@kl1/contracts 1.4.1 → 1.4.2

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 (28) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +0 -64
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +0 -64
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +0 -3
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/validation.d.ts +0 -3
  9. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/contract.d.ts +430 -182
  11. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  12. package/dist/api-contracts/src/index.d.ts +0 -1
  13. package/dist/api-contracts/src/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/subscription/index.d.ts +0 -438
  15. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/workflow-rule/index.d.ts +0 -54
  23. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  24. package/dist/index.js +1569 -1607
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +1569 -1606
  27. package/dist/index.mjs.map +1 -1
  28. package/package.json +1 -1
@@ -2,6 +2,425 @@ 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
+ name: z.ZodString;
16
+ id: z.ZodString;
17
+ address: z.ZodNullable<z.ZodString>;
18
+ email: z.ZodString;
19
+ createdAt: z.ZodDate;
20
+ updatedAt: z.ZodDate;
21
+ deletedAt: z.ZodNullable<z.ZodDate>;
22
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
23
+ password: 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
+ systemName: z.ZodString;
224
+ displayName: z.ZodString;
225
+ description: z.ZodNullable<z.ZodString>;
226
+ position: z.ZodNumber;
227
+ emoji: z.ZodNullable<z.ZodString>;
228
+ 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">;
229
+ }, "strip", z.ZodTypeAny, {
230
+ emoji: string | null;
231
+ id: string;
232
+ position: number;
233
+ description: string | null;
234
+ createdAt: Date;
235
+ updatedAt: Date;
236
+ deletedAt: Date | null;
237
+ systemName: string;
238
+ displayName: string;
239
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
240
+ }, {
241
+ emoji: string | null;
242
+ id: string;
243
+ position: number;
244
+ description: string | null;
245
+ createdAt: Date;
246
+ updatedAt: Date;
247
+ deletedAt: Date | null;
248
+ systemName: string;
249
+ displayName: string;
250
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
251
+ }>;
252
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ id: string;
255
+ user: {
256
+ name: string;
257
+ id: string;
258
+ address: string | null;
259
+ email: string;
260
+ createdAt: Date;
261
+ updatedAt: Date;
262
+ deletedAt: Date | null;
263
+ emailVerifiedAt: Date | null;
264
+ password: string;
265
+ phone: string | null;
266
+ notificationCount: number | null;
267
+ roles: {
268
+ id: string;
269
+ description: string | null;
270
+ createdAt: Date;
271
+ updatedAt: Date;
272
+ deletedAt: Date | null;
273
+ systemName: string;
274
+ displayName: string;
275
+ permissions: {
276
+ id: string;
277
+ description: string | null;
278
+ createdAt: Date;
279
+ updatedAt: Date;
280
+ deletedAt: Date | null;
281
+ systemName: string;
282
+ displayName: string;
283
+ }[];
284
+ }[];
285
+ extension: {
286
+ id: string;
287
+ createdAt: Date;
288
+ updatedAt: Date;
289
+ deletedAt: Date | null;
290
+ userId: string | null;
291
+ sipServerUrl: string;
292
+ sipUserName: string;
293
+ webphoneLoginUser: string;
294
+ extensionId: string | null;
295
+ extensionName: string;
296
+ telephonySignature: string | null;
297
+ };
298
+ };
299
+ createdAt: Date;
300
+ updatedAt: Date;
301
+ deletedAt: Date | null;
302
+ presenceStatus: {
303
+ emoji: string | null;
304
+ id: string;
305
+ position: number;
306
+ description: string | null;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
+ systemName: string;
311
+ displayName: string;
312
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
313
+ };
314
+ customPresenceStatus?: string | null | undefined;
315
+ }, {
316
+ id: string;
317
+ user: {
318
+ name: string;
319
+ id: string;
320
+ address: string | null;
321
+ email: string;
322
+ createdAt: Date;
323
+ updatedAt: Date;
324
+ deletedAt: Date | null;
325
+ emailVerifiedAt: Date | null;
326
+ password: string;
327
+ phone: string | null;
328
+ notificationCount: number | null;
329
+ roles: {
330
+ id: string;
331
+ description: string | null;
332
+ createdAt: Date;
333
+ updatedAt: Date;
334
+ deletedAt: Date | null;
335
+ systemName: string;
336
+ displayName: string;
337
+ permissions: {
338
+ id: string;
339
+ description: string | null;
340
+ createdAt: Date;
341
+ updatedAt: Date;
342
+ deletedAt: Date | null;
343
+ systemName: string;
344
+ displayName: string;
345
+ }[];
346
+ }[];
347
+ extension: {
348
+ id: string;
349
+ createdAt: Date;
350
+ updatedAt: Date;
351
+ deletedAt: Date | null;
352
+ userId: string | null;
353
+ sipServerUrl: string;
354
+ sipUserName: string;
355
+ webphoneLoginUser: string;
356
+ extensionId: string | null;
357
+ extensionName: string;
358
+ telephonySignature: string | null;
359
+ };
360
+ };
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ deletedAt: Date | null;
364
+ presenceStatus: {
365
+ emoji: string | null;
366
+ id: string;
367
+ position: number;
368
+ description: string | null;
369
+ createdAt: Date;
370
+ updatedAt: Date;
371
+ deletedAt: Date | null;
372
+ systemName: string;
373
+ displayName: string;
374
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
375
+ };
376
+ customPresenceStatus?: string | null | undefined;
377
+ }>, "many">;
378
+ 400: z.ZodObject<{
379
+ message: z.ZodString;
380
+ }, "strip", z.ZodTypeAny, {
381
+ message: string;
382
+ }, {
383
+ message: string;
384
+ }>;
385
+ 401: z.ZodObject<{
386
+ message: z.ZodString;
387
+ error: z.ZodAny;
388
+ }, "strip", z.ZodTypeAny, {
389
+ message: string;
390
+ error?: any;
391
+ }, {
392
+ message: string;
393
+ error?: any;
394
+ }>;
395
+ 500: z.ZodObject<{
396
+ message: z.ZodString;
397
+ error: z.ZodAny;
398
+ }, "strip", z.ZodTypeAny, {
399
+ message: string;
400
+ error?: any;
401
+ }, {
402
+ message: string;
403
+ error?: any;
404
+ }>;
405
+ };
406
+ path: "ms/telephony/agents/presence_status";
407
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
408
+ 'x-tenant': z.ZodString;
409
+ 'x-service-token': z.ZodString;
410
+ 'x-code': z.ZodOptional<z.ZodString>;
411
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ 'x-tenant': string;
414
+ 'x-service-token': string;
415
+ 'x-client-timezone': string;
416
+ 'x-code'?: string | undefined;
417
+ }, {
418
+ 'x-tenant': string;
419
+ 'x-service-token': string;
420
+ 'x-code'?: string | undefined;
421
+ 'x-client-timezone'?: string | undefined;
422
+ }>>>;
423
+ };
5
424
  getAgentStatus: {
6
425
  summary: "Check and update user agent status before getting from telephony server.";
7
426
  method: "GET";
@@ -256,6 +675,7 @@ export declare const telephonyAgentPresenceStatusContract: {
256
675
  displayName: string;
257
676
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
258
677
  }>;
678
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
679
  }, "strip", z.ZodTypeAny, {
260
680
  id: string;
261
681
  user: {
@@ -317,6 +737,7 @@ export declare const telephonyAgentPresenceStatusContract: {
317
737
  displayName: string;
318
738
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
319
739
  };
740
+ customPresenceStatus?: string | null | undefined;
320
741
  }, {
321
742
  id: string;
322
743
  user: {
@@ -378,6 +799,7 @@ export declare const telephonyAgentPresenceStatusContract: {
378
799
  displayName: string;
379
800
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
380
801
  };
802
+ customPresenceStatus?: string | null | undefined;
381
803
  }>;
382
804
  400: z.ZodObject<{
383
805
  message: z.ZodString;
@@ -429,15 +851,18 @@ export declare const telephonyAgentPresenceStatusContract: {
429
851
  body: z.ZodObject<{
430
852
  userId: z.ZodString;
431
853
  presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
+ customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
432
855
  reason: z.ZodString;
433
856
  }, "strip", z.ZodTypeAny, {
434
857
  reason: string;
435
858
  userId: string;
436
859
  presenceStatusId?: string | null | undefined;
860
+ customPreseneStatus?: string | null | undefined;
437
861
  }, {
438
862
  reason: string;
439
863
  userId: string;
440
864
  presenceStatusId?: string | null | undefined;
865
+ customPreseneStatus?: string | null | undefined;
441
866
  }>;
442
867
  summary: "Update presence status";
443
868
  method: "POST";
@@ -687,6 +1112,7 @@ export declare const telephonyAgentPresenceStatusContract: {
687
1112
  displayName: string;
688
1113
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
689
1114
  }>;
1115
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
690
1116
  }, "strip", z.ZodTypeAny, {
691
1117
  id: string;
692
1118
  user: {
@@ -748,6 +1174,7 @@ export declare const telephonyAgentPresenceStatusContract: {
748
1174
  displayName: string;
749
1175
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
750
1176
  };
1177
+ customPresenceStatus?: string | null | undefined;
751
1178
  }, {
752
1179
  id: string;
753
1180
  user: {
@@ -809,6 +1236,7 @@ export declare const telephonyAgentPresenceStatusContract: {
809
1236
  displayName: string;
810
1237
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
811
1238
  };
1239
+ customPresenceStatus?: string | null | undefined;
812
1240
  }>;
813
1241
  }, "strip", z.ZodTypeAny, {
814
1242
  requestId: string;
@@ -873,6 +1301,7 @@ export declare const telephonyAgentPresenceStatusContract: {
873
1301
  displayName: string;
874
1302
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
875
1303
  };
1304
+ customPresenceStatus?: string | null | undefined;
876
1305
  };
877
1306
  }, {
878
1307
  requestId: string;
@@ -937,6 +1366,7 @@ export declare const telephonyAgentPresenceStatusContract: {
937
1366
  displayName: string;
938
1367
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
939
1368
  };
1369
+ customPresenceStatus?: string | null | undefined;
940
1370
  };
941
1371
  }>;
942
1372
  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,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDhD,CAAC"}
@@ -242,6 +242,7 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
242
242
  displayName: string;
243
243
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
244
244
  }>;
245
+ customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
246
  }, "strip", z.ZodTypeAny, {
246
247
  id: string;
247
248
  user: {
@@ -303,6 +304,7 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
303
304
  displayName: string;
304
305
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
305
306
  };
307
+ customPresenceStatus?: string | null | undefined;
306
308
  }, {
307
309
  id: string;
308
310
  user: {
@@ -364,5 +366,6 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
364
366
  displayName: string;
365
367
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
366
368
  };
369
+ customPresenceStatus?: string | null | undefined;
367
370
  }>;
368
371
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAC"}
@@ -2,14 +2,17 @@ import { z } from 'zod';
2
2
  export declare const UpdateUserStatusSchema: z.ZodObject<{
3
3
  userId: z.ZodString;
4
4
  presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
6
  reason: z.ZodString;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  reason: string;
8
9
  userId: string;
9
10
  presenceStatusId?: string | null | undefined;
11
+ customPreseneStatus?: string | null | undefined;
10
12
  }, {
11
13
  reason: string;
12
14
  userId: string;
13
15
  presenceStatusId?: string | null | undefined;
16
+ customPreseneStatus?: string | null | undefined;
14
17
  }>;
15
18
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/telephony-agent-presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC"}
@@ -17216,59 +17216,5 @@ export declare const chatContract: {
17216
17216
  'x-code'?: string | undefined;
17217
17217
  }>;
17218
17218
  };
17219
- tagContact: {
17220
- body: z.ZodObject<{
17221
- contactId: z.ZodString;
17222
- tagId: z.ZodString;
17223
- }, "strip", z.ZodTypeAny, {
17224
- contactId: string;
17225
- tagId: string;
17226
- }, {
17227
- contactId: string;
17228
- tagId: string;
17229
- }>;
17230
- summary: "Attach Tag to Contact";
17231
- method: "POST";
17232
- responses: {
17233
- 200: z.ZodObject<{
17234
- requestId: z.ZodString;
17235
- }, "strip", z.ZodTypeAny, {
17236
- requestId: string;
17237
- }, {
17238
- requestId: string;
17239
- }>;
17240
- 403: z.ZodObject<{
17241
- message: z.ZodString;
17242
- error: z.ZodAny;
17243
- }, "strip", z.ZodTypeAny, {
17244
- message: string;
17245
- error?: any;
17246
- }, {
17247
- message: string;
17248
- error?: any;
17249
- }>;
17250
- 404: z.ZodObject<{
17251
- message: z.ZodString;
17252
- error: z.ZodAny;
17253
- }, "strip", z.ZodTypeAny, {
17254
- message: string;
17255
- error?: any;
17256
- }, {
17257
- message: string;
17258
- error?: any;
17259
- }>;
17260
- };
17261
- path: "chat/contact/tag";
17262
- headers: z.ZodObject<{
17263
- 'x-tenant': z.ZodString;
17264
- 'x-code': z.ZodOptional<z.ZodString>;
17265
- }, "strip", z.ZodTypeAny, {
17266
- 'x-tenant': string;
17267
- 'x-code'?: string | undefined;
17268
- }, {
17269
- 'x-tenant': string;
17270
- 'x-code'?: string | undefined;
17271
- }>;
17272
- };
17273
17219
  };
17274
17220
  //# sourceMappingURL=index.d.ts.map