@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
@@ -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.
|
64
|
-
updatedAt: z.
|
65
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
79
|
-
updatedAt: z.
|
80
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
87
|
-
updatedAt: z.
|
88
|
-
deletedAt: z.ZodNullable<z.
|
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:
|
96
|
-
updatedAt:
|
97
|
-
deletedAt:
|
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:
|
104
|
-
updatedAt:
|
105
|
-
deletedAt:
|
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:
|
113
|
-
updatedAt:
|
114
|
-
deletedAt:
|
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:
|
121
|
-
updatedAt:
|
122
|
-
deletedAt:
|
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:
|
130
|
-
updatedAt:
|
131
|
-
deletedAt:
|
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:
|
138
|
-
updatedAt:
|
139
|
-
deletedAt:
|
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.
|
147
|
-
updatedAt: z.
|
148
|
-
deletedAt: z.ZodNullable<z.
|
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:
|
158
|
-
updatedAt:
|
159
|
-
deletedAt:
|
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:
|
169
|
-
updatedAt:
|
170
|
-
deletedAt:
|
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:
|
184
|
-
updatedAt:
|
185
|
-
deletedAt:
|
186
|
-
emailVerifiedAt:
|
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:
|
194
|
-
updatedAt:
|
195
|
-
deletedAt:
|
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:
|
202
|
-
updatedAt:
|
203
|
-
deletedAt:
|
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:
|
211
|
-
updatedAt:
|
212
|
-
deletedAt:
|
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:
|
226
|
-
updatedAt:
|
227
|
-
deletedAt:
|
228
|
-
emailVerifiedAt:
|
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:
|
236
|
-
updatedAt:
|
237
|
-
deletedAt:
|
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:
|
244
|
-
updatedAt:
|
245
|
-
deletedAt:
|
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:
|
253
|
-
updatedAt:
|
254
|
-
deletedAt:
|
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:
|
288
|
-
updatedAt:
|
289
|
-
deletedAt:
|
290
|
-
emailVerifiedAt:
|
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:
|
298
|
-
updatedAt:
|
299
|
-
deletedAt:
|
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:
|
306
|
-
updatedAt:
|
307
|
-
deletedAt:
|
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:
|
315
|
-
updatedAt:
|
316
|
-
deletedAt:
|
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:
|
350
|
-
updatedAt:
|
351
|
-
deletedAt:
|
352
|
-
emailVerifiedAt:
|
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:
|
360
|
-
updatedAt:
|
361
|
-
deletedAt:
|
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:
|
368
|
-
updatedAt:
|
369
|
-
deletedAt:
|
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:
|
377
|
-
updatedAt:
|
378
|
-
deletedAt:
|
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,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa
|
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,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAab,CAAC"}
|