@kl1/contracts 1.0.27 → 1.0.28

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 (63) hide show
  1. package/dist/index.js +151 -118
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +151 -118
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/auth/index.d.ts +89 -89
  8. package/dist/src/channel/index.d.ts +319 -319
  9. package/dist/src/channel/schema.d.ts +89 -92
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +89 -89
  12. package/dist/src/chat/index.d.ts +8699 -8699
  13. package/dist/src/chat/schema.d.ts +1486 -1486
  14. package/dist/src/chat/validation.d.ts +2244 -2244
  15. package/dist/src/comment/index.d.ts +1005 -1005
  16. package/dist/src/comment/schema.d.ts +283 -283
  17. package/dist/src/company/index.d.ts +28 -28
  18. package/dist/src/company/schema.d.ts +8 -8
  19. package/dist/src/company/validation.d.ts +15 -15
  20. package/dist/src/contact/index.d.ts +960 -960
  21. package/dist/src/contact/schema.d.ts +161 -161
  22. package/dist/src/contact/validation.d.ts +690 -690
  23. package/dist/src/contract.d.ts +18366 -18196
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/custom-field/schema.d.ts +3 -3
  26. package/dist/src/cx-log/index.d.ts +1023 -1023
  27. package/dist/src/cx-log/schema.d.ts +837 -837
  28. package/dist/src/dashboard/index.d.ts +6 -6
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/extension/index.d.ts +115 -115
  33. package/dist/src/extension/schema.d.ts +9 -9
  34. package/dist/src/mail/account-contract.d.ts +168 -168
  35. package/dist/src/mail/mail-contract.d.ts +3336 -3336
  36. package/dist/src/mail/message-contract.d.ts +152 -152
  37. package/dist/src/mail/room-contract.d.ts +3015 -3015
  38. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  39. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  40. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
  42. package/dist/src/mail/schemas/room.schema.d.ts +791 -791
  43. package/dist/src/messenger/index.d.ts +1078 -1078
  44. package/dist/src/permission/index.d.ts +15 -15
  45. package/dist/src/permission/schema.d.ts +9 -9
  46. package/dist/src/role/index.d.ts +96 -96
  47. package/dist/src/role/schema.d.ts +24 -24
  48. package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
  49. package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
  50. package/dist/src/ticket/index.d.ts +288 -187
  51. package/dist/src/ticket/index.d.ts.map +1 -1
  52. package/dist/src/ticket/schema.d.ts +77 -77
  53. package/dist/src/ticket/validation.d.ts +66 -0
  54. package/dist/src/ticket/validation.d.ts.map +1 -1
  55. package/dist/src/user/index.d.ts +293 -293
  56. package/dist/src/user/schema.d.ts +63 -63
  57. package/dist/src/user-presence-status-log/index.d.ts +52 -52
  58. package/dist/src/user-presence-status-log/schema.d.ts +89 -89
  59. package/dist/src/widget/index.d.ts +72 -1
  60. package/dist/src/widget/index.d.ts.map +1 -1
  61. package/dist/src/widget/validation.d.ts +10 -0
  62. package/dist/src/widget/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -28,89 +28,89 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
28
28
  deletedAt: z.ZodNullable<z.ZodString>;
29
29
  user: z.ZodObject<{
30
30
  id: z.ZodString;
31
- createdAt: z.ZodDate;
32
- updatedAt: z.ZodDate;
33
- deletedAt: z.ZodNullable<z.ZodDate>;
31
+ createdAt: z.ZodString;
32
+ updatedAt: z.ZodString;
33
+ deletedAt: z.ZodNullable<z.ZodString>;
34
34
  name: z.ZodString;
35
35
  email: z.ZodString;
36
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
36
+ emailVerifiedAt: z.ZodNullable<z.ZodString>;
37
37
  password: z.ZodString;
38
38
  address: z.ZodNullable<z.ZodString>;
39
39
  phone: z.ZodNullable<z.ZodString>;
40
40
  notificationCount: z.ZodNullable<z.ZodNumber>;
41
41
  roles: z.ZodArray<z.ZodObject<{
42
42
  id: z.ZodString;
43
- createdAt: z.ZodDate;
44
- updatedAt: z.ZodDate;
45
- deletedAt: z.ZodNullable<z.ZodDate>;
43
+ createdAt: z.ZodString;
44
+ updatedAt: z.ZodString;
45
+ deletedAt: z.ZodNullable<z.ZodString>;
46
46
  systemName: z.ZodString;
47
47
  displayName: z.ZodString;
48
48
  description: z.ZodNullable<z.ZodString>;
49
49
  permissions: z.ZodArray<z.ZodObject<{
50
50
  id: z.ZodString;
51
- createdAt: z.ZodDate;
52
- updatedAt: z.ZodDate;
53
- deletedAt: z.ZodNullable<z.ZodDate>;
51
+ createdAt: z.ZodString;
52
+ updatedAt: z.ZodString;
53
+ deletedAt: z.ZodNullable<z.ZodString>;
54
54
  systemName: z.ZodString;
55
55
  displayName: z.ZodString;
56
56
  description: z.ZodNullable<z.ZodString>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  id: string;
59
59
  description: string | null;
60
- createdAt: Date;
61
- updatedAt: Date;
62
- deletedAt: Date | null;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ deletedAt: string | null;
63
63
  systemName: string;
64
64
  displayName: string;
65
65
  }, {
66
66
  id: string;
67
67
  description: string | null;
68
- createdAt: Date;
69
- updatedAt: Date;
70
- deletedAt: Date | null;
68
+ createdAt: string;
69
+ updatedAt: string;
70
+ deletedAt: string | null;
71
71
  systemName: string;
72
72
  displayName: string;
73
73
  }>, "many">;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  id: string;
76
76
  description: string | null;
77
- createdAt: Date;
78
- updatedAt: Date;
79
- deletedAt: Date | null;
77
+ createdAt: string;
78
+ updatedAt: string;
79
+ deletedAt: string | null;
80
80
  systemName: string;
81
81
  displayName: string;
82
82
  permissions: {
83
83
  id: string;
84
84
  description: string | null;
85
- createdAt: Date;
86
- updatedAt: Date;
87
- deletedAt: Date | null;
85
+ createdAt: string;
86
+ updatedAt: string;
87
+ deletedAt: string | null;
88
88
  systemName: string;
89
89
  displayName: string;
90
90
  }[];
91
91
  }, {
92
92
  id: string;
93
93
  description: string | null;
94
- createdAt: Date;
95
- updatedAt: Date;
96
- deletedAt: Date | null;
94
+ createdAt: string;
95
+ updatedAt: string;
96
+ deletedAt: string | null;
97
97
  systemName: string;
98
98
  displayName: string;
99
99
  permissions: {
100
100
  id: string;
101
101
  description: string | null;
102
- createdAt: Date;
103
- updatedAt: Date;
104
- deletedAt: Date | null;
102
+ createdAt: string;
103
+ updatedAt: string;
104
+ deletedAt: string | null;
105
105
  systemName: string;
106
106
  displayName: string;
107
107
  }[];
108
108
  }>, "many">;
109
109
  extension: z.ZodOptional<z.ZodObject<{
110
110
  id: z.ZodString;
111
- createdAt: z.ZodDate;
112
- updatedAt: z.ZodDate;
113
- deletedAt: z.ZodNullable<z.ZodDate>;
111
+ createdAt: z.ZodString;
112
+ updatedAt: z.ZodString;
113
+ deletedAt: z.ZodNullable<z.ZodString>;
114
114
  userId: z.ZodNullable<z.ZodString>;
115
115
  sipServerUrl: z.ZodString;
116
116
  sipUserName: z.ZodString;
@@ -119,9 +119,9 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
119
119
  telephonySignature: z.ZodNullable<z.ZodString>;
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  id: string;
122
- createdAt: Date;
123
- updatedAt: Date;
124
- deletedAt: Date | null;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ deletedAt: string | null;
125
125
  userId: string | null;
126
126
  sipServerUrl: string;
127
127
  sipUserName: string;
@@ -130,9 +130,9 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
130
130
  telephonySignature: string | null;
131
131
  }, {
132
132
  id: string;
133
- createdAt: Date;
134
- updatedAt: Date;
135
- deletedAt: Date | null;
133
+ createdAt: string;
134
+ updatedAt: string;
135
+ deletedAt: string | null;
136
136
  userId: string | null;
137
137
  sipServerUrl: string;
138
138
  sipUserName: string;
@@ -145,36 +145,36 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
145
145
  address: string | null;
146
146
  name: string;
147
147
  email: string;
148
- createdAt: Date;
149
- updatedAt: Date;
150
- deletedAt: Date | null;
151
- emailVerifiedAt: Date | null;
148
+ createdAt: string;
149
+ updatedAt: string;
150
+ deletedAt: string | null;
151
+ emailVerifiedAt: string | null;
152
152
  password: string;
153
153
  phone: string | null;
154
154
  notificationCount: number | null;
155
155
  roles: {
156
156
  id: string;
157
157
  description: string | null;
158
- createdAt: Date;
159
- updatedAt: Date;
160
- deletedAt: Date | null;
158
+ createdAt: string;
159
+ updatedAt: string;
160
+ deletedAt: string | null;
161
161
  systemName: string;
162
162
  displayName: string;
163
163
  permissions: {
164
164
  id: string;
165
165
  description: string | null;
166
- createdAt: Date;
167
- updatedAt: Date;
168
- deletedAt: Date | null;
166
+ createdAt: string;
167
+ updatedAt: string;
168
+ deletedAt: string | null;
169
169
  systemName: string;
170
170
  displayName: string;
171
171
  }[];
172
172
  }[];
173
173
  extension?: {
174
174
  id: string;
175
- createdAt: Date;
176
- updatedAt: Date;
177
- deletedAt: Date | null;
175
+ createdAt: string;
176
+ updatedAt: string;
177
+ deletedAt: string | null;
178
178
  userId: string | null;
179
179
  sipServerUrl: string;
180
180
  sipUserName: string;
@@ -187,36 +187,36 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
187
187
  address: string | null;
188
188
  name: string;
189
189
  email: string;
190
- createdAt: Date;
191
- updatedAt: Date;
192
- deletedAt: Date | null;
193
- emailVerifiedAt: Date | null;
190
+ createdAt: string;
191
+ updatedAt: string;
192
+ deletedAt: string | null;
193
+ emailVerifiedAt: string | null;
194
194
  password: string;
195
195
  phone: string | null;
196
196
  notificationCount: number | null;
197
197
  roles: {
198
198
  id: string;
199
199
  description: string | null;
200
- createdAt: Date;
201
- updatedAt: Date;
202
- deletedAt: Date | null;
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ deletedAt: string | null;
203
203
  systemName: string;
204
204
  displayName: string;
205
205
  permissions: {
206
206
  id: string;
207
207
  description: string | null;
208
- createdAt: Date;
209
- updatedAt: Date;
210
- deletedAt: Date | null;
208
+ createdAt: string;
209
+ updatedAt: string;
210
+ deletedAt: string | null;
211
211
  systemName: string;
212
212
  displayName: string;
213
213
  }[];
214
214
  }[];
215
215
  extension?: {
216
216
  id: string;
217
- createdAt: Date;
218
- updatedAt: Date;
219
- deletedAt: Date | null;
217
+ createdAt: string;
218
+ updatedAt: string;
219
+ deletedAt: string | null;
220
220
  userId: string | null;
221
221
  sipServerUrl: string;
222
222
  sipUserName: string;
@@ -255,36 +255,36 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
255
255
  address: string | null;
256
256
  name: string;
257
257
  email: string;
258
- createdAt: Date;
259
- updatedAt: Date;
260
- deletedAt: Date | null;
261
- emailVerifiedAt: Date | null;
258
+ createdAt: string;
259
+ updatedAt: string;
260
+ deletedAt: string | null;
261
+ emailVerifiedAt: string | null;
262
262
  password: string;
263
263
  phone: string | null;
264
264
  notificationCount: number | null;
265
265
  roles: {
266
266
  id: string;
267
267
  description: string | null;
268
- createdAt: Date;
269
- updatedAt: Date;
270
- deletedAt: Date | null;
268
+ createdAt: string;
269
+ updatedAt: string;
270
+ deletedAt: string | null;
271
271
  systemName: string;
272
272
  displayName: string;
273
273
  permissions: {
274
274
  id: string;
275
275
  description: string | null;
276
- createdAt: Date;
277
- updatedAt: Date;
278
- deletedAt: Date | null;
276
+ createdAt: string;
277
+ updatedAt: string;
278
+ deletedAt: string | null;
279
279
  systemName: string;
280
280
  displayName: string;
281
281
  }[];
282
282
  }[];
283
283
  extension?: {
284
284
  id: string;
285
- createdAt: Date;
286
- updatedAt: Date;
287
- deletedAt: Date | null;
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ deletedAt: string | null;
288
288
  userId: string | null;
289
289
  sipServerUrl: string;
290
290
  sipUserName: string;
@@ -312,36 +312,36 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
312
312
  address: string | null;
313
313
  name: string;
314
314
  email: string;
315
- createdAt: Date;
316
- updatedAt: Date;
317
- deletedAt: Date | null;
318
- emailVerifiedAt: Date | null;
315
+ createdAt: string;
316
+ updatedAt: string;
317
+ deletedAt: string | null;
318
+ emailVerifiedAt: string | null;
319
319
  password: string;
320
320
  phone: string | null;
321
321
  notificationCount: number | null;
322
322
  roles: {
323
323
  id: string;
324
324
  description: string | null;
325
- createdAt: Date;
326
- updatedAt: Date;
327
- deletedAt: Date | null;
325
+ createdAt: string;
326
+ updatedAt: string;
327
+ deletedAt: string | null;
328
328
  systemName: string;
329
329
  displayName: string;
330
330
  permissions: {
331
331
  id: string;
332
332
  description: string | null;
333
- createdAt: Date;
334
- updatedAt: Date;
335
- deletedAt: Date | null;
333
+ createdAt: string;
334
+ updatedAt: string;
335
+ deletedAt: string | null;
336
336
  systemName: string;
337
337
  displayName: string;
338
338
  }[];
339
339
  }[];
340
340
  extension?: {
341
341
  id: string;
342
- createdAt: Date;
343
- updatedAt: Date;
344
- deletedAt: Date | null;
342
+ createdAt: string;
343
+ updatedAt: string;
344
+ deletedAt: string | null;
345
345
  userId: string | null;
346
346
  sipServerUrl: string;
347
347
  sipUserName: string;