@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
@@ -60,92 +60,89 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
60
60
  connectedUserId: z.ZodOptional<z.ZodString>;
61
61
  actor: z.ZodOptional<z.ZodObject<{
62
62
  id: z.ZodString;
63
- createdAt: z.ZodDate;
64
- updatedAt: z.ZodDate;
65
- deletedAt: z.ZodNullable<z.ZodDate>;
63
+ createdAt: z.ZodString;
64
+ updatedAt: z.ZodString;
65
+ deletedAt: z.ZodNullable<z.ZodString>;
66
66
  name: z.ZodString;
67
67
  email: z.ZodString;
68
- /**
69
- * Channel Status Type Enum
70
- */
71
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
68
+ emailVerifiedAt: z.ZodNullable<z.ZodString>;
72
69
  password: z.ZodString;
73
70
  address: z.ZodNullable<z.ZodString>;
74
71
  phone: z.ZodNullable<z.ZodString>;
75
72
  notificationCount: z.ZodNullable<z.ZodNumber>;
76
73
  roles: z.ZodArray<z.ZodObject<{
77
74
  id: z.ZodString;
78
- createdAt: z.ZodDate;
79
- updatedAt: z.ZodDate;
80
- deletedAt: z.ZodNullable<z.ZodDate>;
75
+ createdAt: z.ZodString;
76
+ updatedAt: z.ZodString;
77
+ deletedAt: z.ZodNullable<z.ZodString>;
81
78
  systemName: z.ZodString;
82
79
  displayName: z.ZodString;
83
80
  description: z.ZodNullable<z.ZodString>;
84
81
  permissions: z.ZodArray<z.ZodObject<{
85
82
  id: z.ZodString;
86
- createdAt: z.ZodDate;
87
- updatedAt: z.ZodDate;
88
- deletedAt: z.ZodNullable<z.ZodDate>;
83
+ createdAt: z.ZodString;
84
+ updatedAt: z.ZodString;
85
+ deletedAt: z.ZodNullable<z.ZodString>;
89
86
  systemName: z.ZodString;
90
87
  displayName: z.ZodString;
91
88
  description: z.ZodNullable<z.ZodString>;
92
89
  }, "strip", z.ZodTypeAny, {
93
90
  id: string;
94
91
  description: string | null;
95
- createdAt: Date;
96
- updatedAt: Date;
97
- deletedAt: Date | null;
92
+ createdAt: string;
93
+ updatedAt: string;
94
+ deletedAt: string | null;
98
95
  systemName: string;
99
96
  displayName: string;
100
97
  }, {
101
98
  id: string;
102
99
  description: string | null;
103
- createdAt: Date;
104
- updatedAt: Date;
105
- deletedAt: Date | null;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ deletedAt: string | null;
106
103
  systemName: string;
107
104
  displayName: string;
108
105
  }>, "many">;
109
106
  }, "strip", z.ZodTypeAny, {
110
107
  id: string;
111
108
  description: string | null;
112
- createdAt: Date;
113
- updatedAt: Date;
114
- deletedAt: Date | null;
109
+ createdAt: string;
110
+ updatedAt: string;
111
+ deletedAt: string | null;
115
112
  systemName: string;
116
113
  displayName: string;
117
114
  permissions: {
118
115
  id: string;
119
116
  description: string | null;
120
- createdAt: Date;
121
- updatedAt: Date;
122
- deletedAt: Date | null;
117
+ createdAt: string;
118
+ updatedAt: string;
119
+ deletedAt: string | null;
123
120
  systemName: string;
124
121
  displayName: string;
125
122
  }[];
126
123
  }, {
127
124
  id: string;
128
125
  description: string | null;
129
- createdAt: Date;
130
- updatedAt: Date;
131
- deletedAt: Date | null;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ deletedAt: string | null;
132
129
  systemName: string;
133
130
  displayName: string;
134
131
  permissions: {
135
132
  id: string;
136
133
  description: string | null;
137
- createdAt: Date;
138
- updatedAt: Date;
139
- deletedAt: Date | null;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ deletedAt: string | null;
140
137
  systemName: string;
141
138
  displayName: string;
142
139
  }[];
143
140
  }>, "many">;
144
141
  extension: z.ZodOptional<z.ZodObject<{
145
142
  id: z.ZodString;
146
- createdAt: z.ZodDate;
147
- updatedAt: z.ZodDate;
148
- deletedAt: z.ZodNullable<z.ZodDate>;
143
+ createdAt: z.ZodString;
144
+ updatedAt: z.ZodString;
145
+ deletedAt: z.ZodNullable<z.ZodString>;
149
146
  userId: z.ZodNullable<z.ZodString>;
150
147
  sipServerUrl: z.ZodString;
151
148
  sipUserName: z.ZodString;
@@ -154,9 +151,9 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
154
151
  telephonySignature: z.ZodNullable<z.ZodString>;
155
152
  }, "strip", z.ZodTypeAny, {
156
153
  id: string;
157
- createdAt: Date;
158
- updatedAt: Date;
159
- deletedAt: Date | null;
154
+ createdAt: string;
155
+ updatedAt: string;
156
+ deletedAt: string | null;
160
157
  userId: string | null;
161
158
  sipServerUrl: string;
162
159
  sipUserName: string;
@@ -165,9 +162,9 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
165
162
  telephonySignature: string | null;
166
163
  }, {
167
164
  id: string;
168
- createdAt: Date;
169
- updatedAt: Date;
170
- deletedAt: Date | null;
165
+ createdAt: string;
166
+ updatedAt: string;
167
+ deletedAt: string | null;
171
168
  userId: string | null;
172
169
  sipServerUrl: string;
173
170
  sipUserName: string;
@@ -180,36 +177,36 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
180
177
  address: string | null;
181
178
  name: string;
182
179
  email: string;
183
- createdAt: Date;
184
- updatedAt: Date;
185
- deletedAt: Date | null;
186
- emailVerifiedAt: Date | null;
180
+ createdAt: string;
181
+ updatedAt: string;
182
+ deletedAt: string | null;
183
+ emailVerifiedAt: string | null;
187
184
  password: string;
188
185
  phone: string | null;
189
186
  notificationCount: number | null;
190
187
  roles: {
191
188
  id: string;
192
189
  description: string | null;
193
- createdAt: Date;
194
- updatedAt: Date;
195
- deletedAt: Date | null;
190
+ createdAt: string;
191
+ updatedAt: string;
192
+ deletedAt: string | null;
196
193
  systemName: string;
197
194
  displayName: string;
198
195
  permissions: {
199
196
  id: string;
200
197
  description: string | null;
201
- createdAt: Date;
202
- updatedAt: Date;
203
- deletedAt: Date | null;
198
+ createdAt: string;
199
+ updatedAt: string;
200
+ deletedAt: string | null;
204
201
  systemName: string;
205
202
  displayName: string;
206
203
  }[];
207
204
  }[];
208
205
  extension?: {
209
206
  id: string;
210
- createdAt: Date;
211
- updatedAt: Date;
212
- deletedAt: Date | null;
207
+ createdAt: string;
208
+ updatedAt: string;
209
+ deletedAt: string | null;
213
210
  userId: string | null;
214
211
  sipServerUrl: string;
215
212
  sipUserName: string;
@@ -222,36 +219,36 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
222
219
  address: string | null;
223
220
  name: string;
224
221
  email: string;
225
- createdAt: Date;
226
- updatedAt: Date;
227
- deletedAt: Date | null;
228
- emailVerifiedAt: Date | null;
222
+ createdAt: string;
223
+ updatedAt: string;
224
+ deletedAt: string | null;
225
+ emailVerifiedAt: string | null;
229
226
  password: string;
230
227
  phone: string | null;
231
228
  notificationCount: number | null;
232
229
  roles: {
233
230
  id: string;
234
231
  description: string | null;
235
- createdAt: Date;
236
- updatedAt: Date;
237
- deletedAt: Date | null;
232
+ createdAt: string;
233
+ updatedAt: string;
234
+ deletedAt: string | null;
238
235
  systemName: string;
239
236
  displayName: string;
240
237
  permissions: {
241
238
  id: string;
242
239
  description: string | null;
243
- createdAt: Date;
244
- updatedAt: Date;
245
- deletedAt: Date | null;
240
+ createdAt: string;
241
+ updatedAt: string;
242
+ deletedAt: string | null;
246
243
  systemName: string;
247
244
  displayName: string;
248
245
  }[];
249
246
  }[];
250
247
  extension?: {
251
248
  id: string;
252
- createdAt: Date;
253
- updatedAt: Date;
254
- deletedAt: Date | null;
249
+ createdAt: string;
250
+ updatedAt: string;
251
+ deletedAt: string | null;
255
252
  userId: string | null;
256
253
  sipServerUrl: string;
257
254
  sipUserName: string;
@@ -284,36 +281,36 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
284
281
  address: string | null;
285
282
  name: string;
286
283
  email: string;
287
- createdAt: Date;
288
- updatedAt: Date;
289
- deletedAt: Date | null;
290
- emailVerifiedAt: Date | null;
284
+ createdAt: string;
285
+ updatedAt: string;
286
+ deletedAt: string | null;
287
+ emailVerifiedAt: string | null;
291
288
  password: string;
292
289
  phone: string | null;
293
290
  notificationCount: number | null;
294
291
  roles: {
295
292
  id: string;
296
293
  description: string | null;
297
- createdAt: Date;
298
- updatedAt: Date;
299
- deletedAt: Date | null;
294
+ createdAt: string;
295
+ updatedAt: string;
296
+ deletedAt: string | null;
300
297
  systemName: string;
301
298
  displayName: string;
302
299
  permissions: {
303
300
  id: string;
304
301
  description: string | null;
305
- createdAt: Date;
306
- updatedAt: Date;
307
- deletedAt: Date | null;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ deletedAt: string | null;
308
305
  systemName: string;
309
306
  displayName: string;
310
307
  }[];
311
308
  }[];
312
309
  extension?: {
313
310
  id: string;
314
- createdAt: Date;
315
- updatedAt: Date;
316
- deletedAt: Date | null;
311
+ createdAt: string;
312
+ updatedAt: string;
313
+ deletedAt: string | null;
317
314
  userId: string | null;
318
315
  sipServerUrl: string;
319
316
  sipUserName: string;
@@ -346,36 +343,36 @@ export declare const ChannelSchema: z.ZodOptional<z.ZodObject<{
346
343
  address: string | null;
347
344
  name: string;
348
345
  email: string;
349
- createdAt: Date;
350
- updatedAt: Date;
351
- deletedAt: Date | null;
352
- emailVerifiedAt: Date | null;
346
+ createdAt: string;
347
+ updatedAt: string;
348
+ deletedAt: string | null;
349
+ emailVerifiedAt: string | null;
353
350
  password: string;
354
351
  phone: string | null;
355
352
  notificationCount: number | null;
356
353
  roles: {
357
354
  id: string;
358
355
  description: string | null;
359
- createdAt: Date;
360
- updatedAt: Date;
361
- deletedAt: Date | null;
356
+ createdAt: string;
357
+ updatedAt: string;
358
+ deletedAt: string | null;
362
359
  systemName: string;
363
360
  displayName: string;
364
361
  permissions: {
365
362
  id: string;
366
363
  description: string | null;
367
- createdAt: Date;
368
- updatedAt: Date;
369
- deletedAt: Date | null;
364
+ createdAt: string;
365
+ updatedAt: string;
366
+ deletedAt: string | null;
370
367
  systemName: string;
371
368
  displayName: string;
372
369
  }[];
373
370
  }[];
374
371
  extension?: {
375
372
  id: string;
376
- createdAt: Date;
377
- updatedAt: Date;
378
- deletedAt: Date | null;
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ deletedAt: string | null;
379
376
  userId: string | null;
380
377
  sipServerUrl: string;
381
378
  sipUserName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/channel/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB;;GAEG;AACH,eAAO,MAAM,iBAAiB,6GAU5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB,uDAGlC,CAAC;AAEH;;GAEG;AACH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