@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.
- package/dist/index.js +151 -118
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +151 -118
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +113 -113
- package/dist/src/activity-log/schema.d.ts +122 -122
- package/dist/src/auth/index.d.ts +89 -89
- package/dist/src/channel/index.d.ts +319 -319
- package/dist/src/channel/schema.d.ts +89 -92
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +89 -89
- package/dist/src/chat/index.d.ts +8699 -8699
- package/dist/src/chat/schema.d.ts +1486 -1486
- package/dist/src/chat/validation.d.ts +2244 -2244
- package/dist/src/comment/index.d.ts +1005 -1005
- package/dist/src/comment/schema.d.ts +283 -283
- package/dist/src/company/index.d.ts +28 -28
- package/dist/src/company/schema.d.ts +8 -8
- package/dist/src/company/validation.d.ts +15 -15
- package/dist/src/contact/index.d.ts +960 -960
- package/dist/src/contact/schema.d.ts +161 -161
- package/dist/src/contact/validation.d.ts +690 -690
- package/dist/src/contract.d.ts +18366 -18196
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +3 -3
- package/dist/src/cx-log/index.d.ts +1023 -1023
- package/dist/src/cx-log/schema.d.ts +837 -837
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/extension/index.d.ts +115 -115
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/mail/account-contract.d.ts +168 -168
- package/dist/src/mail/mail-contract.d.ts +3336 -3336
- package/dist/src/mail/message-contract.d.ts +152 -152
- package/dist/src/mail/room-contract.d.ts +3015 -3015
- package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
- package/dist/src/mail/schemas/account.schema.d.ts +33 -33
- package/dist/src/mail/schemas/message.schema.d.ts +108 -108
- package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
- package/dist/src/mail/schemas/room.schema.d.ts +791 -791
- package/dist/src/messenger/index.d.ts +1078 -1078
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/role/index.d.ts +96 -96
- package/dist/src/role/schema.d.ts +24 -24
- package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
- package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
- package/dist/src/ticket/index.d.ts +288 -187
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +77 -77
- package/dist/src/ticket/validation.d.ts +66 -0
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +293 -293
- package/dist/src/user/schema.d.ts +63 -63
- package/dist/src/user-presence-status-log/index.d.ts +52 -52
- package/dist/src/user-presence-status-log/schema.d.ts +89 -89
- package/dist/src/widget/index.d.ts +72 -1
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -6,94 +6,94 @@ export declare const activityLogContract: {
|
|
6
6
|
responses: {
|
7
7
|
200: z.ZodArray<z.ZodObject<{
|
8
8
|
id: z.ZodString;
|
9
|
-
createdAt: z.
|
10
|
-
updatedAt: z.
|
11
|
-
deletedAt: z.ZodNullable<z.
|
9
|
+
createdAt: z.ZodString;
|
10
|
+
updatedAt: z.ZodString;
|
11
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
12
12
|
actor: z.ZodObject<{
|
13
13
|
id: z.ZodString;
|
14
|
-
createdAt: z.
|
15
|
-
updatedAt: z.
|
16
|
-
deletedAt: z.ZodNullable<z.
|
14
|
+
createdAt: z.ZodString;
|
15
|
+
updatedAt: z.ZodString;
|
16
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
17
17
|
name: z.ZodString;
|
18
18
|
email: z.ZodString;
|
19
|
-
emailVerifiedAt: z.ZodNullable<z.
|
19
|
+
emailVerifiedAt: z.ZodNullable<z.ZodString>;
|
20
20
|
password: z.ZodString;
|
21
21
|
address: z.ZodNullable<z.ZodString>;
|
22
22
|
phone: z.ZodNullable<z.ZodString>;
|
23
23
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
24
24
|
roles: z.ZodArray<z.ZodObject<{
|
25
25
|
id: z.ZodString;
|
26
|
-
createdAt: z.
|
27
|
-
updatedAt: z.
|
28
|
-
deletedAt: z.ZodNullable<z.
|
26
|
+
createdAt: z.ZodString;
|
27
|
+
updatedAt: z.ZodString;
|
28
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
29
29
|
systemName: z.ZodString;
|
30
30
|
displayName: z.ZodString;
|
31
31
|
description: z.ZodNullable<z.ZodString>;
|
32
32
|
permissions: z.ZodArray<z.ZodObject<{
|
33
33
|
id: z.ZodString;
|
34
|
-
createdAt: z.
|
35
|
-
updatedAt: z.
|
36
|
-
deletedAt: z.ZodNullable<z.
|
34
|
+
createdAt: z.ZodString;
|
35
|
+
updatedAt: z.ZodString;
|
36
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
37
37
|
systemName: z.ZodString;
|
38
38
|
displayName: z.ZodString;
|
39
39
|
description: z.ZodNullable<z.ZodString>;
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
41
41
|
id: string;
|
42
42
|
description: string | null;
|
43
|
-
createdAt:
|
44
|
-
updatedAt:
|
45
|
-
deletedAt:
|
43
|
+
createdAt: string;
|
44
|
+
updatedAt: string;
|
45
|
+
deletedAt: string | null;
|
46
46
|
systemName: string;
|
47
47
|
displayName: string;
|
48
48
|
}, {
|
49
49
|
id: string;
|
50
50
|
description: string | null;
|
51
|
-
createdAt:
|
52
|
-
updatedAt:
|
53
|
-
deletedAt:
|
51
|
+
createdAt: string;
|
52
|
+
updatedAt: string;
|
53
|
+
deletedAt: string | null;
|
54
54
|
systemName: string;
|
55
55
|
displayName: string;
|
56
56
|
}>, "many">;
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
58
58
|
id: string;
|
59
59
|
description: string | null;
|
60
|
-
createdAt:
|
61
|
-
updatedAt:
|
62
|
-
deletedAt:
|
60
|
+
createdAt: string;
|
61
|
+
updatedAt: string;
|
62
|
+
deletedAt: string | null;
|
63
63
|
systemName: string;
|
64
64
|
displayName: string;
|
65
65
|
permissions: {
|
66
66
|
id: string;
|
67
67
|
description: string | null;
|
68
|
-
createdAt:
|
69
|
-
updatedAt:
|
70
|
-
deletedAt:
|
68
|
+
createdAt: string;
|
69
|
+
updatedAt: string;
|
70
|
+
deletedAt: string | null;
|
71
71
|
systemName: string;
|
72
72
|
displayName: string;
|
73
73
|
}[];
|
74
74
|
}, {
|
75
75
|
id: string;
|
76
76
|
description: string | null;
|
77
|
-
createdAt:
|
78
|
-
updatedAt:
|
79
|
-
deletedAt:
|
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:
|
86
|
-
updatedAt:
|
87
|
-
deletedAt:
|
85
|
+
createdAt: string;
|
86
|
+
updatedAt: string;
|
87
|
+
deletedAt: string | null;
|
88
88
|
systemName: string;
|
89
89
|
displayName: string;
|
90
90
|
}[];
|
91
91
|
}>, "many">;
|
92
92
|
extension: z.ZodOptional<z.ZodObject<{
|
93
93
|
id: z.ZodString;
|
94
|
-
createdAt: z.
|
95
|
-
updatedAt: z.
|
96
|
-
deletedAt: z.ZodNullable<z.
|
94
|
+
createdAt: z.ZodString;
|
95
|
+
updatedAt: z.ZodString;
|
96
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
97
97
|
userId: z.ZodNullable<z.ZodString>;
|
98
98
|
sipServerUrl: z.ZodString;
|
99
99
|
sipUserName: z.ZodString;
|
@@ -102,9 +102,9 @@ export declare const activityLogContract: {
|
|
102
102
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
104
104
|
id: string;
|
105
|
-
createdAt:
|
106
|
-
updatedAt:
|
107
|
-
deletedAt:
|
105
|
+
createdAt: string;
|
106
|
+
updatedAt: string;
|
107
|
+
deletedAt: string | null;
|
108
108
|
userId: string | null;
|
109
109
|
sipServerUrl: string;
|
110
110
|
sipUserName: string;
|
@@ -113,9 +113,9 @@ export declare const activityLogContract: {
|
|
113
113
|
telephonySignature: string | null;
|
114
114
|
}, {
|
115
115
|
id: string;
|
116
|
-
createdAt:
|
117
|
-
updatedAt:
|
118
|
-
deletedAt:
|
116
|
+
createdAt: string;
|
117
|
+
updatedAt: string;
|
118
|
+
deletedAt: string | null;
|
119
119
|
userId: string | null;
|
120
120
|
sipServerUrl: string;
|
121
121
|
sipUserName: string;
|
@@ -128,36 +128,36 @@ export declare const activityLogContract: {
|
|
128
128
|
address: string | null;
|
129
129
|
name: string;
|
130
130
|
email: string;
|
131
|
-
createdAt:
|
132
|
-
updatedAt:
|
133
|
-
deletedAt:
|
134
|
-
emailVerifiedAt:
|
131
|
+
createdAt: string;
|
132
|
+
updatedAt: string;
|
133
|
+
deletedAt: string | null;
|
134
|
+
emailVerifiedAt: string | null;
|
135
135
|
password: string;
|
136
136
|
phone: string | null;
|
137
137
|
notificationCount: number | null;
|
138
138
|
roles: {
|
139
139
|
id: string;
|
140
140
|
description: string | null;
|
141
|
-
createdAt:
|
142
|
-
updatedAt:
|
143
|
-
deletedAt:
|
141
|
+
createdAt: string;
|
142
|
+
updatedAt: string;
|
143
|
+
deletedAt: string | null;
|
144
144
|
systemName: string;
|
145
145
|
displayName: string;
|
146
146
|
permissions: {
|
147
147
|
id: string;
|
148
148
|
description: string | null;
|
149
|
-
createdAt:
|
150
|
-
updatedAt:
|
151
|
-
deletedAt:
|
149
|
+
createdAt: string;
|
150
|
+
updatedAt: string;
|
151
|
+
deletedAt: string | null;
|
152
152
|
systemName: string;
|
153
153
|
displayName: string;
|
154
154
|
}[];
|
155
155
|
}[];
|
156
156
|
extension?: {
|
157
157
|
id: string;
|
158
|
-
createdAt:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
158
|
+
createdAt: string;
|
159
|
+
updatedAt: string;
|
160
|
+
deletedAt: string | null;
|
161
161
|
userId: string | null;
|
162
162
|
sipServerUrl: string;
|
163
163
|
sipUserName: string;
|
@@ -170,36 +170,36 @@ export declare const activityLogContract: {
|
|
170
170
|
address: string | null;
|
171
171
|
name: string;
|
172
172
|
email: string;
|
173
|
-
createdAt:
|
174
|
-
updatedAt:
|
175
|
-
deletedAt:
|
176
|
-
emailVerifiedAt:
|
173
|
+
createdAt: string;
|
174
|
+
updatedAt: string;
|
175
|
+
deletedAt: string | null;
|
176
|
+
emailVerifiedAt: string | null;
|
177
177
|
password: string;
|
178
178
|
phone: string | null;
|
179
179
|
notificationCount: number | null;
|
180
180
|
roles: {
|
181
181
|
id: string;
|
182
182
|
description: string | null;
|
183
|
-
createdAt:
|
184
|
-
updatedAt:
|
185
|
-
deletedAt:
|
183
|
+
createdAt: string;
|
184
|
+
updatedAt: string;
|
185
|
+
deletedAt: string | null;
|
186
186
|
systemName: string;
|
187
187
|
displayName: string;
|
188
188
|
permissions: {
|
189
189
|
id: string;
|
190
190
|
description: string | null;
|
191
|
-
createdAt:
|
192
|
-
updatedAt:
|
193
|
-
deletedAt:
|
191
|
+
createdAt: string;
|
192
|
+
updatedAt: string;
|
193
|
+
deletedAt: string | null;
|
194
194
|
systemName: string;
|
195
195
|
displayName: string;
|
196
196
|
}[];
|
197
197
|
}[];
|
198
198
|
extension?: {
|
199
199
|
id: string;
|
200
|
-
createdAt:
|
201
|
-
updatedAt:
|
202
|
-
deletedAt:
|
200
|
+
createdAt: string;
|
201
|
+
updatedAt: string;
|
202
|
+
deletedAt: string | null;
|
203
203
|
userId: string | null;
|
204
204
|
sipServerUrl: string;
|
205
205
|
sipUserName: string;
|
@@ -212,67 +212,67 @@ export declare const activityLogContract: {
|
|
212
212
|
description: z.ZodString;
|
213
213
|
entityType: z.ZodObject<{
|
214
214
|
id: z.ZodString;
|
215
|
-
createdAt: z.
|
216
|
-
updatedAt: z.
|
217
|
-
deletedAt: z.ZodNullable<z.
|
215
|
+
createdAt: z.ZodString;
|
216
|
+
updatedAt: z.ZodString;
|
217
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
218
218
|
entity: z.ZodString;
|
219
219
|
description: z.ZodString;
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
221
221
|
id: string;
|
222
222
|
description: string;
|
223
|
-
createdAt:
|
224
|
-
updatedAt:
|
225
|
-
deletedAt:
|
223
|
+
createdAt: string;
|
224
|
+
updatedAt: string;
|
225
|
+
deletedAt: string | null;
|
226
226
|
entity: string;
|
227
227
|
}, {
|
228
228
|
id: string;
|
229
229
|
description: string;
|
230
|
-
createdAt:
|
231
|
-
updatedAt:
|
232
|
-
deletedAt:
|
230
|
+
createdAt: string;
|
231
|
+
updatedAt: string;
|
232
|
+
deletedAt: string | null;
|
233
233
|
entity: string;
|
234
234
|
}>;
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
236
236
|
id: string;
|
237
237
|
description: string;
|
238
|
-
createdAt:
|
239
|
-
updatedAt:
|
240
|
-
deletedAt:
|
238
|
+
createdAt: string;
|
239
|
+
updatedAt: string;
|
240
|
+
deletedAt: string | null;
|
241
241
|
actor: {
|
242
242
|
id: string;
|
243
243
|
address: string | null;
|
244
244
|
name: string;
|
245
245
|
email: string;
|
246
|
-
createdAt:
|
247
|
-
updatedAt:
|
248
|
-
deletedAt:
|
249
|
-
emailVerifiedAt:
|
246
|
+
createdAt: string;
|
247
|
+
updatedAt: string;
|
248
|
+
deletedAt: string | null;
|
249
|
+
emailVerifiedAt: string | null;
|
250
250
|
password: string;
|
251
251
|
phone: string | null;
|
252
252
|
notificationCount: number | null;
|
253
253
|
roles: {
|
254
254
|
id: string;
|
255
255
|
description: string | null;
|
256
|
-
createdAt:
|
257
|
-
updatedAt:
|
258
|
-
deletedAt:
|
256
|
+
createdAt: string;
|
257
|
+
updatedAt: string;
|
258
|
+
deletedAt: string | null;
|
259
259
|
systemName: string;
|
260
260
|
displayName: string;
|
261
261
|
permissions: {
|
262
262
|
id: string;
|
263
263
|
description: string | null;
|
264
|
-
createdAt:
|
265
|
-
updatedAt:
|
266
|
-
deletedAt:
|
264
|
+
createdAt: string;
|
265
|
+
updatedAt: string;
|
266
|
+
deletedAt: string | null;
|
267
267
|
systemName: string;
|
268
268
|
displayName: string;
|
269
269
|
}[];
|
270
270
|
}[];
|
271
271
|
extension?: {
|
272
272
|
id: string;
|
273
|
-
createdAt:
|
274
|
-
updatedAt:
|
275
|
-
deletedAt:
|
273
|
+
createdAt: string;
|
274
|
+
updatedAt: string;
|
275
|
+
deletedAt: string | null;
|
276
276
|
userId: string | null;
|
277
277
|
sipServerUrl: string;
|
278
278
|
sipUserName: string;
|
@@ -285,52 +285,52 @@ export declare const activityLogContract: {
|
|
285
285
|
entityType: {
|
286
286
|
id: string;
|
287
287
|
description: string;
|
288
|
-
createdAt:
|
289
|
-
updatedAt:
|
290
|
-
deletedAt:
|
288
|
+
createdAt: string;
|
289
|
+
updatedAt: string;
|
290
|
+
deletedAt: string | null;
|
291
291
|
entity: string;
|
292
292
|
};
|
293
293
|
}, {
|
294
294
|
id: string;
|
295
295
|
description: string;
|
296
|
-
createdAt:
|
297
|
-
updatedAt:
|
298
|
-
deletedAt:
|
296
|
+
createdAt: string;
|
297
|
+
updatedAt: string;
|
298
|
+
deletedAt: string | null;
|
299
299
|
actor: {
|
300
300
|
id: string;
|
301
301
|
address: string | null;
|
302
302
|
name: string;
|
303
303
|
email: string;
|
304
|
-
createdAt:
|
305
|
-
updatedAt:
|
306
|
-
deletedAt:
|
307
|
-
emailVerifiedAt:
|
304
|
+
createdAt: string;
|
305
|
+
updatedAt: string;
|
306
|
+
deletedAt: string | null;
|
307
|
+
emailVerifiedAt: string | null;
|
308
308
|
password: string;
|
309
309
|
phone: string | null;
|
310
310
|
notificationCount: number | null;
|
311
311
|
roles: {
|
312
312
|
id: string;
|
313
313
|
description: string | null;
|
314
|
-
createdAt:
|
315
|
-
updatedAt:
|
316
|
-
deletedAt:
|
314
|
+
createdAt: string;
|
315
|
+
updatedAt: string;
|
316
|
+
deletedAt: string | null;
|
317
317
|
systemName: string;
|
318
318
|
displayName: string;
|
319
319
|
permissions: {
|
320
320
|
id: string;
|
321
321
|
description: string | null;
|
322
|
-
createdAt:
|
323
|
-
updatedAt:
|
324
|
-
deletedAt:
|
322
|
+
createdAt: string;
|
323
|
+
updatedAt: string;
|
324
|
+
deletedAt: string | null;
|
325
325
|
systemName: string;
|
326
326
|
displayName: string;
|
327
327
|
}[];
|
328
328
|
}[];
|
329
329
|
extension?: {
|
330
330
|
id: string;
|
331
|
-
createdAt:
|
332
|
-
updatedAt:
|
333
|
-
deletedAt:
|
331
|
+
createdAt: string;
|
332
|
+
updatedAt: string;
|
333
|
+
deletedAt: string | null;
|
334
334
|
userId: string | null;
|
335
335
|
sipServerUrl: string;
|
336
336
|
sipUserName: string;
|
@@ -343,9 +343,9 @@ export declare const activityLogContract: {
|
|
343
343
|
entityType: {
|
344
344
|
id: string;
|
345
345
|
description: string;
|
346
|
-
createdAt:
|
347
|
-
updatedAt:
|
348
|
-
deletedAt:
|
346
|
+
createdAt: string;
|
347
|
+
updatedAt: string;
|
348
|
+
deletedAt: string | null;
|
349
349
|
entity: string;
|
350
350
|
};
|
351
351
|
}>, "many">;
|