@kl1/contracts 1.4.0 → 1.4.1

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 (29) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +64 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +64 -0
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +3 -0
  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 +3 -0
  9. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/contact/index.d.ts +1 -1
  11. package/dist/api-contracts/src/contract.d.ts +183 -431
  12. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  13. package/dist/api-contracts/src/index.d.ts +1 -0
  14. package/dist/api-contracts/src/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/subscription/index.d.ts +438 -0
  16. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  18. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  20. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  22. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/workflow-rule/index.d.ts +54 -0
  24. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  25. package/dist/index.js +1608 -1570
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +1607 -1570
  28. package/dist/index.mjs.map +1 -1
  29. package/package.json +1 -1
@@ -2,425 +2,6 @@ import z from 'zod';
2
2
  import { UpdateUserStatusSchema } from './validation';
3
3
  export type UpdateUserStatusRequest = z.infer<typeof UpdateUserStatusSchema>;
4
4
  export declare const telephonyAgentPresenceStatusContract: {
5
- getAllAgentStatus: {
6
- summary: "Get all user presence status list.";
7
- method: "GET";
8
- responses: {
9
- 200: z.ZodArray<z.ZodObject<{
10
- id: z.ZodString;
11
- createdAt: z.ZodDate;
12
- updatedAt: z.ZodDate;
13
- deletedAt: z.ZodNullable<z.ZodDate>;
14
- user: z.ZodObject<{
15
- 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
- };
424
5
  getAgentStatus: {
425
6
  summary: "Check and update user agent status before getting from telephony server.";
426
7
  method: "GET";
@@ -675,7 +256,6 @@ export declare const telephonyAgentPresenceStatusContract: {
675
256
  displayName: string;
676
257
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
677
258
  }>;
678
- customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
259
  }, "strip", z.ZodTypeAny, {
680
260
  id: string;
681
261
  user: {
@@ -737,7 +317,6 @@ export declare const telephonyAgentPresenceStatusContract: {
737
317
  displayName: string;
738
318
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
739
319
  };
740
- customPresenceStatus?: string | null | undefined;
741
320
  }, {
742
321
  id: string;
743
322
  user: {
@@ -799,7 +378,6 @@ export declare const telephonyAgentPresenceStatusContract: {
799
378
  displayName: string;
800
379
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
801
380
  };
802
- customPresenceStatus?: string | null | undefined;
803
381
  }>;
804
382
  400: z.ZodObject<{
805
383
  message: z.ZodString;
@@ -851,18 +429,15 @@ export declare const telephonyAgentPresenceStatusContract: {
851
429
  body: z.ZodObject<{
852
430
  userId: z.ZodString;
853
431
  presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
- customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
855
432
  reason: z.ZodString;
856
433
  }, "strip", z.ZodTypeAny, {
857
434
  reason: string;
858
435
  userId: string;
859
436
  presenceStatusId?: string | null | undefined;
860
- customPreseneStatus?: string | null | undefined;
861
437
  }, {
862
438
  reason: string;
863
439
  userId: string;
864
440
  presenceStatusId?: string | null | undefined;
865
- customPreseneStatus?: string | null | undefined;
866
441
  }>;
867
442
  summary: "Update presence status";
868
443
  method: "POST";
@@ -1112,7 +687,6 @@ export declare const telephonyAgentPresenceStatusContract: {
1112
687
  displayName: string;
1113
688
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
1114
689
  }>;
1115
- customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
690
  }, "strip", z.ZodTypeAny, {
1117
691
  id: string;
1118
692
  user: {
@@ -1174,7 +748,6 @@ export declare const telephonyAgentPresenceStatusContract: {
1174
748
  displayName: string;
1175
749
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
1176
750
  };
1177
- customPresenceStatus?: string | null | undefined;
1178
751
  }, {
1179
752
  id: string;
1180
753
  user: {
@@ -1236,7 +809,6 @@ export declare const telephonyAgentPresenceStatusContract: {
1236
809
  displayName: string;
1237
810
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
1238
811
  };
1239
- customPresenceStatus?: string | null | undefined;
1240
812
  }>;
1241
813
  }, "strip", z.ZodTypeAny, {
1242
814
  requestId: string;
@@ -1301,7 +873,6 @@ export declare const telephonyAgentPresenceStatusContract: {
1301
873
  displayName: string;
1302
874
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
1303
875
  };
1304
- customPresenceStatus?: string | null | undefined;
1305
876
  };
1306
877
  }, {
1307
878
  requestId: string;
@@ -1366,7 +937,6 @@ export declare const telephonyAgentPresenceStatusContract: {
1366
937
  displayName: string;
1367
938
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
1368
939
  };
1369
- customPresenceStatus?: string | null | undefined;
1370
940
  };
1371
941
  }>;
1372
942
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsChD,CAAC"}
@@ -242,7 +242,6 @@ 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>>;
246
245
  }, "strip", z.ZodTypeAny, {
247
246
  id: string;
248
247
  user: {
@@ -304,7 +303,6 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
304
303
  displayName: string;
305
304
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
306
305
  };
307
- customPresenceStatus?: string | null | undefined;
308
306
  }, {
309
307
  id: string;
310
308
  user: {
@@ -366,6 +364,5 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
366
364
  displayName: string;
367
365
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
368
366
  };
369
- customPresenceStatus?: string | null | undefined;
370
367
  }>;
371
368
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC"}
@@ -2,17 +2,14 @@ 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>>;
6
5
  reason: z.ZodString;
7
6
  }, "strip", z.ZodTypeAny, {
8
7
  reason: string;
9
8
  userId: string;
10
9
  presenceStatusId?: string | null | undefined;
11
- customPreseneStatus?: string | null | undefined;
12
10
  }, {
13
11
  reason: string;
14
12
  userId: string;
15
13
  presenceStatusId?: string | null | undefined;
16
- customPreseneStatus?: string | null | undefined;
17
14
  }>;
18
15
  //# 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;;;;;;;;;;;;;;;EAKjC,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;;;;;;;;;;;;EAIjC,CAAC"}
@@ -17216,5 +17216,59 @@ 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
+ };
17219
17273
  };
17220
17274
  //# sourceMappingURL=index.d.ts.map