@kl1/contracts 1.3.32 → 1.3.34

Sign up to get free protection for your applications and to get access to all the features.
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 +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,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GlC,CAAC"}
@@ -1,31 +1,406 @@
1
1
  import z from 'zod';
2
- /**
3
- * Channel Types Enum
4
- */
5
- export declare const PresenceStatusDesEnum: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
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
- status: z.ZodString;
12
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
8
+ systemName: z.ZodString;
9
+ displayName: z.ZodString;
10
+ description: z.ZodNullable<z.ZodString>;
13
11
  position: z.ZodNumber;
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">;
14
14
  }, "strip", z.ZodTypeAny, {
15
+ emoji: string | null;
15
16
  id: string;
16
17
  position: number;
17
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
18
- status: string;
18
+ description: string | null;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  deletedAt: Date | null;
22
+ systemName: string;
23
+ displayName: string;
24
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
25
  }, {
26
+ emoji: string | null;
23
27
  id: string;
24
28
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
29
+ description: string | null;
27
30
  createdAt: Date;
28
31
  updatedAt: Date;
29
32
  deletedAt: Date | null;
33
+ systemName: string;
34
+ displayName: string;
35
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36
+ }>;
37
+ export declare const UserPresenceStatusSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ createdAt: z.ZodDate;
40
+ updatedAt: z.ZodDate;
41
+ deletedAt: z.ZodNullable<z.ZodDate>;
42
+ userId: z.ZodString;
43
+ user: z.ZodObject<{
44
+ name: z.ZodString;
45
+ id: z.ZodString;
46
+ address: z.ZodNullable<z.ZodString>;
47
+ email: z.ZodString;
48
+ createdAt: z.ZodDate;
49
+ updatedAt: z.ZodDate;
50
+ deletedAt: z.ZodNullable<z.ZodDate>;
51
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
52
+ password: z.ZodString;
53
+ phone: z.ZodNullable<z.ZodString>;
54
+ notificationCount: z.ZodNullable<z.ZodNumber>;
55
+ roles: z.ZodArray<z.ZodObject<{
56
+ id: z.ZodString;
57
+ createdAt: z.ZodDate;
58
+ updatedAt: z.ZodDate;
59
+ deletedAt: z.ZodNullable<z.ZodDate>;
60
+ systemName: z.ZodString;
61
+ displayName: z.ZodString;
62
+ description: z.ZodNullable<z.ZodString>;
63
+ permissions: z.ZodArray<z.ZodObject<{
64
+ id: z.ZodString;
65
+ createdAt: z.ZodDate;
66
+ updatedAt: z.ZodDate;
67
+ deletedAt: z.ZodNullable<z.ZodDate>;
68
+ systemName: z.ZodString;
69
+ displayName: z.ZodString;
70
+ description: z.ZodNullable<z.ZodString>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ id: string;
73
+ description: string | null;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
+ deletedAt: Date | null;
77
+ systemName: string;
78
+ displayName: string;
79
+ }, {
80
+ id: string;
81
+ description: string | null;
82
+ createdAt: Date;
83
+ updatedAt: Date;
84
+ deletedAt: Date | null;
85
+ systemName: string;
86
+ displayName: string;
87
+ }>, "many">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ id: string;
90
+ description: string | null;
91
+ createdAt: Date;
92
+ updatedAt: Date;
93
+ deletedAt: Date | null;
94
+ systemName: string;
95
+ displayName: string;
96
+ permissions: {
97
+ id: string;
98
+ description: string | null;
99
+ createdAt: Date;
100
+ updatedAt: Date;
101
+ deletedAt: Date | null;
102
+ systemName: string;
103
+ displayName: string;
104
+ }[];
105
+ }, {
106
+ id: string;
107
+ description: string | null;
108
+ createdAt: Date;
109
+ updatedAt: Date;
110
+ deletedAt: Date | null;
111
+ systemName: string;
112
+ displayName: string;
113
+ permissions: {
114
+ id: string;
115
+ description: string | null;
116
+ createdAt: Date;
117
+ updatedAt: Date;
118
+ deletedAt: Date | null;
119
+ systemName: string;
120
+ displayName: string;
121
+ }[];
122
+ }>, "many">;
123
+ extension: z.ZodObject<{
124
+ id: z.ZodString;
125
+ createdAt: z.ZodDate;
126
+ updatedAt: z.ZodDate;
127
+ deletedAt: z.ZodNullable<z.ZodDate>;
128
+ userId: z.ZodNullable<z.ZodString>;
129
+ sipServerUrl: z.ZodString;
130
+ sipUserName: z.ZodString;
131
+ webphoneLoginUser: z.ZodString;
132
+ extensionId: z.ZodNullable<z.ZodString>;
133
+ extensionName: z.ZodString;
134
+ telephonySignature: z.ZodNullable<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ id: string;
137
+ createdAt: Date;
138
+ updatedAt: Date;
139
+ deletedAt: Date | null;
140
+ userId: string | null;
141
+ sipServerUrl: string;
142
+ sipUserName: string;
143
+ webphoneLoginUser: string;
144
+ extensionId: string | null;
145
+ extensionName: string;
146
+ telephonySignature: string | null;
147
+ }, {
148
+ id: string;
149
+ createdAt: Date;
150
+ updatedAt: Date;
151
+ deletedAt: Date | null;
152
+ userId: string | null;
153
+ sipServerUrl: string;
154
+ sipUserName: string;
155
+ webphoneLoginUser: string;
156
+ extensionId: string | null;
157
+ extensionName: string;
158
+ telephonySignature: string | null;
159
+ }>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ name: string;
162
+ id: string;
163
+ address: string | null;
164
+ email: string;
165
+ createdAt: Date;
166
+ updatedAt: Date;
167
+ deletedAt: Date | null;
168
+ emailVerifiedAt: Date | null;
169
+ password: string;
170
+ phone: string | null;
171
+ notificationCount: number | null;
172
+ roles: {
173
+ id: string;
174
+ description: string | null;
175
+ createdAt: Date;
176
+ updatedAt: Date;
177
+ deletedAt: Date | null;
178
+ systemName: string;
179
+ displayName: string;
180
+ permissions: {
181
+ id: string;
182
+ description: string | null;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ deletedAt: Date | null;
186
+ systemName: string;
187
+ displayName: string;
188
+ }[];
189
+ }[];
190
+ extension: {
191
+ id: string;
192
+ createdAt: Date;
193
+ updatedAt: Date;
194
+ deletedAt: Date | null;
195
+ userId: string | null;
196
+ sipServerUrl: string;
197
+ sipUserName: string;
198
+ webphoneLoginUser: string;
199
+ extensionId: string | null;
200
+ extensionName: string;
201
+ telephonySignature: string | null;
202
+ };
203
+ }, {
204
+ name: string;
205
+ id: string;
206
+ address: string | null;
207
+ email: string;
208
+ createdAt: Date;
209
+ updatedAt: Date;
210
+ deletedAt: Date | null;
211
+ emailVerifiedAt: Date | null;
212
+ password: string;
213
+ phone: string | null;
214
+ notificationCount: number | null;
215
+ roles: {
216
+ id: string;
217
+ description: string | null;
218
+ createdAt: Date;
219
+ updatedAt: Date;
220
+ deletedAt: Date | null;
221
+ systemName: string;
222
+ displayName: string;
223
+ permissions: {
224
+ id: string;
225
+ description: string | null;
226
+ createdAt: Date;
227
+ updatedAt: Date;
228
+ deletedAt: Date | null;
229
+ systemName: string;
230
+ displayName: string;
231
+ }[];
232
+ }[];
233
+ extension: {
234
+ id: string;
235
+ createdAt: Date;
236
+ updatedAt: Date;
237
+ deletedAt: Date | null;
238
+ userId: string | null;
239
+ sipServerUrl: string;
240
+ sipUserName: string;
241
+ webphoneLoginUser: string;
242
+ extensionId: string | null;
243
+ extensionName: string;
244
+ telephonySignature: string | null;
245
+ };
246
+ }>;
247
+ presenceStatus: z.ZodObject<{
248
+ id: z.ZodString;
249
+ createdAt: z.ZodDate;
250
+ updatedAt: z.ZodDate;
251
+ deletedAt: z.ZodNullable<z.ZodDate>;
252
+ systemName: z.ZodString;
253
+ displayName: z.ZodString;
254
+ description: z.ZodNullable<z.ZodString>;
255
+ position: z.ZodNumber;
256
+ emoji: z.ZodNullable<z.ZodString>;
257
+ 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">;
258
+ }, "strip", z.ZodTypeAny, {
259
+ emoji: string | null;
260
+ id: string;
261
+ position: number;
262
+ description: string | null;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ deletedAt: Date | null;
266
+ systemName: string;
267
+ displayName: string;
268
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
269
+ }, {
270
+ emoji: string | null;
271
+ id: string;
272
+ position: number;
273
+ description: string | null;
274
+ createdAt: Date;
275
+ updatedAt: Date;
276
+ deletedAt: Date | null;
277
+ systemName: string;
278
+ displayName: string;
279
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
280
+ }>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ id: string;
283
+ user: {
284
+ name: string;
285
+ id: string;
286
+ address: string | null;
287
+ email: string;
288
+ createdAt: Date;
289
+ updatedAt: Date;
290
+ deletedAt: Date | null;
291
+ emailVerifiedAt: Date | null;
292
+ password: string;
293
+ phone: string | null;
294
+ notificationCount: number | null;
295
+ roles: {
296
+ id: string;
297
+ description: string | null;
298
+ createdAt: Date;
299
+ updatedAt: Date;
300
+ deletedAt: Date | null;
301
+ systemName: string;
302
+ displayName: string;
303
+ permissions: {
304
+ id: string;
305
+ description: string | null;
306
+ createdAt: Date;
307
+ updatedAt: Date;
308
+ deletedAt: Date | null;
309
+ systemName: string;
310
+ displayName: string;
311
+ }[];
312
+ }[];
313
+ extension: {
314
+ id: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
317
+ deletedAt: Date | null;
318
+ userId: string | null;
319
+ sipServerUrl: string;
320
+ sipUserName: string;
321
+ webphoneLoginUser: string;
322
+ extensionId: string | null;
323
+ extensionName: string;
324
+ telephonySignature: string | null;
325
+ };
326
+ };
327
+ createdAt: Date;
328
+ updatedAt: Date;
329
+ deletedAt: Date | null;
330
+ userId: string;
331
+ presenceStatus: {
332
+ emoji: string | null;
333
+ id: string;
334
+ position: number;
335
+ description: string | null;
336
+ createdAt: Date;
337
+ updatedAt: Date;
338
+ deletedAt: Date | null;
339
+ systemName: string;
340
+ displayName: string;
341
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
342
+ };
343
+ }, {
344
+ id: string;
345
+ user: {
346
+ name: string;
347
+ id: string;
348
+ address: string | null;
349
+ email: string;
350
+ createdAt: Date;
351
+ updatedAt: Date;
352
+ deletedAt: Date | null;
353
+ emailVerifiedAt: Date | null;
354
+ password: string;
355
+ phone: string | null;
356
+ notificationCount: number | null;
357
+ roles: {
358
+ id: string;
359
+ description: string | null;
360
+ createdAt: Date;
361
+ updatedAt: Date;
362
+ deletedAt: Date | null;
363
+ systemName: string;
364
+ displayName: string;
365
+ permissions: {
366
+ id: string;
367
+ description: string | null;
368
+ createdAt: Date;
369
+ updatedAt: Date;
370
+ deletedAt: Date | null;
371
+ systemName: string;
372
+ displayName: string;
373
+ }[];
374
+ }[];
375
+ extension: {
376
+ id: string;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ deletedAt: Date | null;
380
+ userId: string | null;
381
+ sipServerUrl: string;
382
+ sipUserName: string;
383
+ webphoneLoginUser: string;
384
+ extensionId: string | null;
385
+ extensionName: string;
386
+ telephonySignature: string | null;
387
+ };
388
+ };
389
+ createdAt: Date;
390
+ updatedAt: Date;
391
+ deletedAt: Date | null;
392
+ userId: string;
393
+ presenceStatus: {
394
+ emoji: string | null;
395
+ id: string;
396
+ position: number;
397
+ description: string | null;
398
+ createdAt: Date;
399
+ updatedAt: Date;
400
+ deletedAt: Date | null;
401
+ systemName: string;
402
+ displayName: string;
403
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
404
+ };
30
405
  }>;
31
406
  //# 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,qBAAqB,iHAIhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,qBAAqB,oKAKhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAC"}
@@ -1,28 +1,46 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePresenceStatusSchema: z.ZodObject<{
3
- status: z.ZodString;
4
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
3
+ systemName: z.ZodString;
4
+ displayName: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
5
6
  position: z.ZodNumber;
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">;
6
9
  }, "strip", z.ZodTypeAny, {
10
+ emoji: string;
7
11
  position: number;
8
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
9
- status: string;
12
+ systemName: string;
13
+ displayName: string;
14
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
15
+ description?: string | undefined;
10
16
  }, {
17
+ emoji: string;
11
18
  position: number;
12
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
13
- status: string;
19
+ systemName: string;
20
+ displayName: string;
21
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
+ description?: string | undefined;
14
23
  }>;
15
24
  export declare const UpdatePresenceStatusSchema: z.ZodObject<{
16
- status: z.ZodString;
17
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
25
+ systemName: z.ZodString;
26
+ displayName: z.ZodString;
27
+ description: z.ZodOptional<z.ZodString>;
18
28
  position: z.ZodNumber;
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">;
19
31
  }, "strip", z.ZodTypeAny, {
32
+ emoji: string;
20
33
  position: number;
21
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
22
- status: string;
34
+ systemName: string;
35
+ displayName: string;
36
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37
+ description?: string | undefined;
23
38
  }, {
39
+ emoji: string;
24
40
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
41
+ systemName: string;
42
+ displayName: string;
43
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
44
+ description?: string | undefined;
27
45
  }>;
28
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;;;;;;;;;;;;EAIrC,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"}