@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
@@ -24,89 +24,89 @@ export declare const ConnectChannelSchema: z.ZodObject<{
24
24
  connectedUserId: z.ZodString;
25
25
  actor: z.ZodObject<{
26
26
  id: z.ZodString;
27
- createdAt: z.ZodDate;
28
- updatedAt: z.ZodDate;
29
- deletedAt: z.ZodNullable<z.ZodDate>;
27
+ createdAt: z.ZodString;
28
+ updatedAt: z.ZodString;
29
+ deletedAt: z.ZodNullable<z.ZodString>;
30
30
  name: z.ZodString;
31
31
  email: z.ZodString;
32
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
32
+ emailVerifiedAt: z.ZodNullable<z.ZodString>;
33
33
  password: z.ZodString;
34
34
  address: z.ZodNullable<z.ZodString>;
35
35
  phone: z.ZodNullable<z.ZodString>;
36
36
  notificationCount: z.ZodNullable<z.ZodNumber>;
37
37
  roles: z.ZodArray<z.ZodObject<{
38
38
  id: z.ZodString;
39
- createdAt: z.ZodDate;
40
- updatedAt: z.ZodDate;
41
- deletedAt: z.ZodNullable<z.ZodDate>;
39
+ createdAt: z.ZodString;
40
+ updatedAt: z.ZodString;
41
+ deletedAt: z.ZodNullable<z.ZodString>;
42
42
  systemName: z.ZodString;
43
43
  displayName: z.ZodString;
44
44
  description: z.ZodNullable<z.ZodString>;
45
45
  permissions: z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodString;
47
- createdAt: z.ZodDate;
48
- updatedAt: z.ZodDate;
49
- deletedAt: z.ZodNullable<z.ZodDate>;
47
+ createdAt: z.ZodString;
48
+ updatedAt: z.ZodString;
49
+ deletedAt: z.ZodNullable<z.ZodString>;
50
50
  systemName: z.ZodString;
51
51
  displayName: z.ZodString;
52
52
  description: z.ZodNullable<z.ZodString>;
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  id: string;
55
55
  description: string | null;
56
- createdAt: Date;
57
- updatedAt: Date;
58
- deletedAt: Date | null;
56
+ createdAt: string;
57
+ updatedAt: string;
58
+ deletedAt: string | null;
59
59
  systemName: string;
60
60
  displayName: string;
61
61
  }, {
62
62
  id: string;
63
63
  description: string | null;
64
- createdAt: Date;
65
- updatedAt: Date;
66
- deletedAt: Date | null;
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ deletedAt: string | null;
67
67
  systemName: string;
68
68
  displayName: string;
69
69
  }>, "many">;
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  id: string;
72
72
  description: string | null;
73
- createdAt: Date;
74
- updatedAt: Date;
75
- deletedAt: Date | null;
73
+ createdAt: string;
74
+ updatedAt: string;
75
+ deletedAt: string | null;
76
76
  systemName: string;
77
77
  displayName: string;
78
78
  permissions: {
79
79
  id: string;
80
80
  description: string | null;
81
- createdAt: Date;
82
- updatedAt: Date;
83
- deletedAt: Date | null;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ deletedAt: string | null;
84
84
  systemName: string;
85
85
  displayName: string;
86
86
  }[];
87
87
  }, {
88
88
  id: string;
89
89
  description: string | null;
90
- createdAt: Date;
91
- updatedAt: Date;
92
- deletedAt: Date | null;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ deletedAt: string | null;
93
93
  systemName: string;
94
94
  displayName: string;
95
95
  permissions: {
96
96
  id: string;
97
97
  description: string | null;
98
- createdAt: Date;
99
- updatedAt: Date;
100
- deletedAt: Date | null;
98
+ createdAt: string;
99
+ updatedAt: string;
100
+ deletedAt: string | null;
101
101
  systemName: string;
102
102
  displayName: string;
103
103
  }[];
104
104
  }>, "many">;
105
105
  extension: z.ZodOptional<z.ZodObject<{
106
106
  id: z.ZodString;
107
- createdAt: z.ZodDate;
108
- updatedAt: z.ZodDate;
109
- deletedAt: z.ZodNullable<z.ZodDate>;
107
+ createdAt: z.ZodString;
108
+ updatedAt: z.ZodString;
109
+ deletedAt: z.ZodNullable<z.ZodString>;
110
110
  userId: z.ZodNullable<z.ZodString>;
111
111
  sipServerUrl: z.ZodString;
112
112
  sipUserName: z.ZodString;
@@ -115,9 +115,9 @@ export declare const ConnectChannelSchema: z.ZodObject<{
115
115
  telephonySignature: z.ZodNullable<z.ZodString>;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  id: string;
118
- createdAt: Date;
119
- updatedAt: Date;
120
- deletedAt: Date | null;
118
+ createdAt: string;
119
+ updatedAt: string;
120
+ deletedAt: string | null;
121
121
  userId: string | null;
122
122
  sipServerUrl: string;
123
123
  sipUserName: string;
@@ -126,9 +126,9 @@ export declare const ConnectChannelSchema: z.ZodObject<{
126
126
  telephonySignature: string | null;
127
127
  }, {
128
128
  id: string;
129
- createdAt: Date;
130
- updatedAt: Date;
131
- deletedAt: Date | null;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ deletedAt: string | null;
132
132
  userId: string | null;
133
133
  sipServerUrl: string;
134
134
  sipUserName: string;
@@ -141,36 +141,36 @@ export declare const ConnectChannelSchema: z.ZodObject<{
141
141
  address: string | null;
142
142
  name: string;
143
143
  email: string;
144
- createdAt: Date;
145
- updatedAt: Date;
146
- deletedAt: Date | null;
147
- emailVerifiedAt: Date | null;
144
+ createdAt: string;
145
+ updatedAt: string;
146
+ deletedAt: string | null;
147
+ emailVerifiedAt: string | null;
148
148
  password: string;
149
149
  phone: string | null;
150
150
  notificationCount: number | null;
151
151
  roles: {
152
152
  id: string;
153
153
  description: string | null;
154
- createdAt: Date;
155
- updatedAt: Date;
156
- deletedAt: Date | null;
154
+ createdAt: string;
155
+ updatedAt: string;
156
+ deletedAt: string | null;
157
157
  systemName: string;
158
158
  displayName: string;
159
159
  permissions: {
160
160
  id: string;
161
161
  description: string | null;
162
- createdAt: Date;
163
- updatedAt: Date;
164
- deletedAt: Date | null;
162
+ createdAt: string;
163
+ updatedAt: string;
164
+ deletedAt: string | null;
165
165
  systemName: string;
166
166
  displayName: string;
167
167
  }[];
168
168
  }[];
169
169
  extension?: {
170
170
  id: string;
171
- createdAt: Date;
172
- updatedAt: Date;
173
- deletedAt: Date | null;
171
+ createdAt: string;
172
+ updatedAt: string;
173
+ deletedAt: string | null;
174
174
  userId: string | null;
175
175
  sipServerUrl: string;
176
176
  sipUserName: string;
@@ -183,36 +183,36 @@ export declare const ConnectChannelSchema: z.ZodObject<{
183
183
  address: string | null;
184
184
  name: string;
185
185
  email: string;
186
- createdAt: Date;
187
- updatedAt: Date;
188
- deletedAt: Date | null;
189
- emailVerifiedAt: Date | null;
186
+ createdAt: string;
187
+ updatedAt: string;
188
+ deletedAt: string | null;
189
+ emailVerifiedAt: string | null;
190
190
  password: string;
191
191
  phone: string | null;
192
192
  notificationCount: number | null;
193
193
  roles: {
194
194
  id: string;
195
195
  description: string | null;
196
- createdAt: Date;
197
- updatedAt: Date;
198
- deletedAt: Date | null;
196
+ createdAt: string;
197
+ updatedAt: string;
198
+ deletedAt: string | null;
199
199
  systemName: string;
200
200
  displayName: string;
201
201
  permissions: {
202
202
  id: string;
203
203
  description: string | null;
204
- createdAt: Date;
205
- updatedAt: Date;
206
- deletedAt: Date | null;
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ deletedAt: string | null;
207
207
  systemName: string;
208
208
  displayName: string;
209
209
  }[];
210
210
  }[];
211
211
  extension?: {
212
212
  id: string;
213
- createdAt: Date;
214
- updatedAt: Date;
215
- deletedAt: Date | null;
213
+ createdAt: string;
214
+ updatedAt: string;
215
+ deletedAt: string | null;
216
216
  userId: string | null;
217
217
  sipServerUrl: string;
218
218
  sipUserName: string;
@@ -239,36 +239,36 @@ export declare const ConnectChannelSchema: z.ZodObject<{
239
239
  address: string | null;
240
240
  name: string;
241
241
  email: string;
242
- createdAt: Date;
243
- updatedAt: Date;
244
- deletedAt: Date | null;
245
- emailVerifiedAt: Date | null;
242
+ createdAt: string;
243
+ updatedAt: string;
244
+ deletedAt: string | null;
245
+ emailVerifiedAt: string | null;
246
246
  password: string;
247
247
  phone: string | null;
248
248
  notificationCount: number | null;
249
249
  roles: {
250
250
  id: string;
251
251
  description: string | null;
252
- createdAt: Date;
253
- updatedAt: Date;
254
- deletedAt: Date | null;
252
+ createdAt: string;
253
+ updatedAt: string;
254
+ deletedAt: string | null;
255
255
  systemName: string;
256
256
  displayName: string;
257
257
  permissions: {
258
258
  id: string;
259
259
  description: string | null;
260
- createdAt: Date;
261
- updatedAt: Date;
262
- deletedAt: Date | null;
260
+ createdAt: string;
261
+ updatedAt: string;
262
+ deletedAt: string | null;
263
263
  systemName: string;
264
264
  displayName: string;
265
265
  }[];
266
266
  }[];
267
267
  extension?: {
268
268
  id: string;
269
- createdAt: Date;
270
- updatedAt: Date;
271
- deletedAt: Date | null;
269
+ createdAt: string;
270
+ updatedAt: string;
271
+ deletedAt: string | null;
272
272
  userId: string | null;
273
273
  sipServerUrl: string;
274
274
  sipUserName: string;
@@ -295,36 +295,36 @@ export declare const ConnectChannelSchema: z.ZodObject<{
295
295
  address: string | null;
296
296
  name: string;
297
297
  email: string;
298
- createdAt: Date;
299
- updatedAt: Date;
300
- deletedAt: Date | null;
301
- emailVerifiedAt: Date | null;
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ deletedAt: string | null;
301
+ emailVerifiedAt: string | null;
302
302
  password: string;
303
303
  phone: string | null;
304
304
  notificationCount: number | null;
305
305
  roles: {
306
306
  id: string;
307
307
  description: string | null;
308
- createdAt: Date;
309
- updatedAt: Date;
310
- deletedAt: Date | null;
308
+ createdAt: string;
309
+ updatedAt: string;
310
+ deletedAt: string | null;
311
311
  systemName: string;
312
312
  displayName: string;
313
313
  permissions: {
314
314
  id: string;
315
315
  description: string | null;
316
- createdAt: Date;
317
- updatedAt: Date;
318
- deletedAt: Date | null;
316
+ createdAt: string;
317
+ updatedAt: string;
318
+ deletedAt: string | null;
319
319
  systemName: string;
320
320
  displayName: string;
321
321
  }[];
322
322
  }[];
323
323
  extension?: {
324
324
  id: string;
325
- createdAt: Date;
326
- updatedAt: Date;
327
- deletedAt: Date | null;
325
+ createdAt: string;
326
+ updatedAt: string;
327
+ deletedAt: string | null;
328
328
  userId: string | null;
329
329
  sipServerUrl: string;
330
330
  sipUserName: string;