@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
@@ -1,116 +1,116 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const EntitySchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
|
-
createdAt: z.
|
5
|
-
updatedAt: z.
|
6
|
-
deletedAt: z.ZodNullable<z.
|
4
|
+
createdAt: z.ZodString;
|
5
|
+
updatedAt: z.ZodString;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
7
7
|
entity: z.ZodString;
|
8
8
|
description: z.ZodString;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
id: string;
|
11
11
|
description: string;
|
12
|
-
createdAt:
|
13
|
-
updatedAt:
|
14
|
-
deletedAt:
|
12
|
+
createdAt: string;
|
13
|
+
updatedAt: string;
|
14
|
+
deletedAt: string | null;
|
15
15
|
entity: string;
|
16
16
|
}, {
|
17
17
|
id: string;
|
18
18
|
description: string;
|
19
|
-
createdAt:
|
20
|
-
updatedAt:
|
21
|
-
deletedAt:
|
19
|
+
createdAt: string;
|
20
|
+
updatedAt: string;
|
21
|
+
deletedAt: string | null;
|
22
22
|
entity: string;
|
23
23
|
}>;
|
24
24
|
export declare const ActivityLogSchema: 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
|
actor: z.ZodObject<{
|
30
30
|
id: z.ZodString;
|
31
|
-
createdAt: z.
|
32
|
-
updatedAt: z.
|
33
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
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.
|
44
|
-
updatedAt: z.
|
45
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
52
|
-
updatedAt: z.
|
53
|
-
deletedAt: z.ZodNullable<z.
|
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:
|
61
|
-
updatedAt:
|
62
|
-
deletedAt:
|
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:
|
69
|
-
updatedAt:
|
70
|
-
deletedAt:
|
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:
|
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
|
}, {
|
92
92
|
id: string;
|
93
93
|
description: string | null;
|
94
|
-
createdAt:
|
95
|
-
updatedAt:
|
96
|
-
deletedAt:
|
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:
|
103
|
-
updatedAt:
|
104
|
-
deletedAt:
|
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.
|
112
|
-
updatedAt: z.
|
113
|
-
deletedAt: z.ZodNullable<z.
|
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 ActivityLogSchema: z.ZodObject<{
|
|
119
119
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
121
121
|
id: string;
|
122
|
-
createdAt:
|
123
|
-
updatedAt:
|
124
|
-
deletedAt:
|
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 ActivityLogSchema: z.ZodObject<{
|
|
130
130
|
telephonySignature: string | null;
|
131
131
|
}, {
|
132
132
|
id: string;
|
133
|
-
createdAt:
|
134
|
-
updatedAt:
|
135
|
-
deletedAt:
|
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 ActivityLogSchema: z.ZodObject<{
|
|
145
145
|
address: string | null;
|
146
146
|
name: string;
|
147
147
|
email: string;
|
148
|
-
createdAt:
|
149
|
-
updatedAt:
|
150
|
-
deletedAt:
|
151
|
-
emailVerifiedAt:
|
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:
|
159
|
-
updatedAt:
|
160
|
-
deletedAt:
|
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:
|
167
|
-
updatedAt:
|
168
|
-
deletedAt:
|
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:
|
176
|
-
updatedAt:
|
177
|
-
deletedAt:
|
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 ActivityLogSchema: z.ZodObject<{
|
|
187
187
|
address: string | null;
|
188
188
|
name: string;
|
189
189
|
email: string;
|
190
|
-
createdAt:
|
191
|
-
updatedAt:
|
192
|
-
deletedAt:
|
193
|
-
emailVerifiedAt:
|
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:
|
201
|
-
updatedAt:
|
202
|
-
deletedAt:
|
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:
|
209
|
-
updatedAt:
|
210
|
-
deletedAt:
|
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:
|
218
|
-
updatedAt:
|
219
|
-
deletedAt:
|
217
|
+
createdAt: string;
|
218
|
+
updatedAt: string;
|
219
|
+
deletedAt: string | null;
|
220
220
|
userId: string | null;
|
221
221
|
sipServerUrl: string;
|
222
222
|
sipUserName: string;
|
@@ -229,67 +229,67 @@ export declare const ActivityLogSchema: z.ZodObject<{
|
|
229
229
|
description: z.ZodString;
|
230
230
|
entityType: z.ZodObject<{
|
231
231
|
id: z.ZodString;
|
232
|
-
createdAt: z.
|
233
|
-
updatedAt: z.
|
234
|
-
deletedAt: z.ZodNullable<z.
|
232
|
+
createdAt: z.ZodString;
|
233
|
+
updatedAt: z.ZodString;
|
234
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
235
235
|
entity: z.ZodString;
|
236
236
|
description: z.ZodString;
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
238
238
|
id: string;
|
239
239
|
description: string;
|
240
|
-
createdAt:
|
241
|
-
updatedAt:
|
242
|
-
deletedAt:
|
240
|
+
createdAt: string;
|
241
|
+
updatedAt: string;
|
242
|
+
deletedAt: string | null;
|
243
243
|
entity: string;
|
244
244
|
}, {
|
245
245
|
id: string;
|
246
246
|
description: string;
|
247
|
-
createdAt:
|
248
|
-
updatedAt:
|
249
|
-
deletedAt:
|
247
|
+
createdAt: string;
|
248
|
+
updatedAt: string;
|
249
|
+
deletedAt: string | null;
|
250
250
|
entity: string;
|
251
251
|
}>;
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
253
253
|
id: string;
|
254
254
|
description: string;
|
255
|
-
createdAt:
|
256
|
-
updatedAt:
|
257
|
-
deletedAt:
|
255
|
+
createdAt: string;
|
256
|
+
updatedAt: string;
|
257
|
+
deletedAt: string | null;
|
258
258
|
actor: {
|
259
259
|
id: string;
|
260
260
|
address: string | null;
|
261
261
|
name: string;
|
262
262
|
email: string;
|
263
|
-
createdAt:
|
264
|
-
updatedAt:
|
265
|
-
deletedAt:
|
266
|
-
emailVerifiedAt:
|
263
|
+
createdAt: string;
|
264
|
+
updatedAt: string;
|
265
|
+
deletedAt: string | null;
|
266
|
+
emailVerifiedAt: string | null;
|
267
267
|
password: string;
|
268
268
|
phone: string | null;
|
269
269
|
notificationCount: number | null;
|
270
270
|
roles: {
|
271
271
|
id: string;
|
272
272
|
description: string | null;
|
273
|
-
createdAt:
|
274
|
-
updatedAt:
|
275
|
-
deletedAt:
|
273
|
+
createdAt: string;
|
274
|
+
updatedAt: string;
|
275
|
+
deletedAt: string | null;
|
276
276
|
systemName: string;
|
277
277
|
displayName: string;
|
278
278
|
permissions: {
|
279
279
|
id: string;
|
280
280
|
description: string | null;
|
281
|
-
createdAt:
|
282
|
-
updatedAt:
|
283
|
-
deletedAt:
|
281
|
+
createdAt: string;
|
282
|
+
updatedAt: string;
|
283
|
+
deletedAt: string | null;
|
284
284
|
systemName: string;
|
285
285
|
displayName: string;
|
286
286
|
}[];
|
287
287
|
}[];
|
288
288
|
extension?: {
|
289
289
|
id: string;
|
290
|
-
createdAt:
|
291
|
-
updatedAt:
|
292
|
-
deletedAt:
|
290
|
+
createdAt: string;
|
291
|
+
updatedAt: string;
|
292
|
+
deletedAt: string | null;
|
293
293
|
userId: string | null;
|
294
294
|
sipServerUrl: string;
|
295
295
|
sipUserName: string;
|
@@ -302,52 +302,52 @@ export declare const ActivityLogSchema: z.ZodObject<{
|
|
302
302
|
entityType: {
|
303
303
|
id: string;
|
304
304
|
description: string;
|
305
|
-
createdAt:
|
306
|
-
updatedAt:
|
307
|
-
deletedAt:
|
305
|
+
createdAt: string;
|
306
|
+
updatedAt: string;
|
307
|
+
deletedAt: string | null;
|
308
308
|
entity: string;
|
309
309
|
};
|
310
310
|
}, {
|
311
311
|
id: string;
|
312
312
|
description: string;
|
313
|
-
createdAt:
|
314
|
-
updatedAt:
|
315
|
-
deletedAt:
|
313
|
+
createdAt: string;
|
314
|
+
updatedAt: string;
|
315
|
+
deletedAt: string | null;
|
316
316
|
actor: {
|
317
317
|
id: string;
|
318
318
|
address: string | null;
|
319
319
|
name: string;
|
320
320
|
email: string;
|
321
|
-
createdAt:
|
322
|
-
updatedAt:
|
323
|
-
deletedAt:
|
324
|
-
emailVerifiedAt:
|
321
|
+
createdAt: string;
|
322
|
+
updatedAt: string;
|
323
|
+
deletedAt: string | null;
|
324
|
+
emailVerifiedAt: string | null;
|
325
325
|
password: string;
|
326
326
|
phone: string | null;
|
327
327
|
notificationCount: number | null;
|
328
328
|
roles: {
|
329
329
|
id: string;
|
330
330
|
description: string | null;
|
331
|
-
createdAt:
|
332
|
-
updatedAt:
|
333
|
-
deletedAt:
|
331
|
+
createdAt: string;
|
332
|
+
updatedAt: string;
|
333
|
+
deletedAt: string | null;
|
334
334
|
systemName: string;
|
335
335
|
displayName: string;
|
336
336
|
permissions: {
|
337
337
|
id: string;
|
338
338
|
description: string | null;
|
339
|
-
createdAt:
|
340
|
-
updatedAt:
|
341
|
-
deletedAt:
|
339
|
+
createdAt: string;
|
340
|
+
updatedAt: string;
|
341
|
+
deletedAt: string | null;
|
342
342
|
systemName: string;
|
343
343
|
displayName: string;
|
344
344
|
}[];
|
345
345
|
}[];
|
346
346
|
extension?: {
|
347
347
|
id: string;
|
348
|
-
createdAt:
|
349
|
-
updatedAt:
|
350
|
-
deletedAt:
|
348
|
+
createdAt: string;
|
349
|
+
updatedAt: string;
|
350
|
+
deletedAt: string | null;
|
351
351
|
userId: string | null;
|
352
352
|
sipServerUrl: string;
|
353
353
|
sipUserName: string;
|
@@ -360,9 +360,9 @@ export declare const ActivityLogSchema: z.ZodObject<{
|
|
360
360
|
entityType: {
|
361
361
|
id: string;
|
362
362
|
description: string;
|
363
|
-
createdAt:
|
364
|
-
updatedAt:
|
365
|
-
deletedAt:
|
363
|
+
createdAt: string;
|
364
|
+
updatedAt: string;
|
365
|
+
deletedAt: string | null;
|
366
366
|
entity: string;
|
367
367
|
};
|
368
368
|
}>;
|