@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,89 +1,89 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const UserSchema: 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
|
name: z.ZodString;
|
8
8
|
email: z.ZodString;
|
9
|
-
emailVerifiedAt: z.ZodNullable<z.
|
9
|
+
emailVerifiedAt: z.ZodNullable<z.ZodString>;
|
10
10
|
password: z.ZodString;
|
11
11
|
address: z.ZodNullable<z.ZodString>;
|
12
12
|
phone: z.ZodNullable<z.ZodString>;
|
13
13
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
14
14
|
roles: z.ZodArray<z.ZodObject<{
|
15
15
|
id: z.ZodString;
|
16
|
-
createdAt: z.
|
17
|
-
updatedAt: z.
|
18
|
-
deletedAt: z.ZodNullable<z.
|
16
|
+
createdAt: z.ZodString;
|
17
|
+
updatedAt: z.ZodString;
|
18
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
19
19
|
systemName: z.ZodString;
|
20
20
|
displayName: z.ZodString;
|
21
21
|
description: z.ZodNullable<z.ZodString>;
|
22
22
|
permissions: z.ZodArray<z.ZodObject<{
|
23
23
|
id: z.ZodString;
|
24
|
-
createdAt: z.
|
25
|
-
updatedAt: z.
|
26
|
-
deletedAt: z.ZodNullable<z.
|
24
|
+
createdAt: z.ZodString;
|
25
|
+
updatedAt: z.ZodString;
|
26
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
27
27
|
systemName: z.ZodString;
|
28
28
|
displayName: z.ZodString;
|
29
29
|
description: z.ZodNullable<z.ZodString>;
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
31
31
|
id: string;
|
32
32
|
description: string | null;
|
33
|
-
createdAt:
|
34
|
-
updatedAt:
|
35
|
-
deletedAt:
|
33
|
+
createdAt: string;
|
34
|
+
updatedAt: string;
|
35
|
+
deletedAt: string | null;
|
36
36
|
systemName: string;
|
37
37
|
displayName: string;
|
38
38
|
}, {
|
39
39
|
id: string;
|
40
40
|
description: string | null;
|
41
|
-
createdAt:
|
42
|
-
updatedAt:
|
43
|
-
deletedAt:
|
41
|
+
createdAt: string;
|
42
|
+
updatedAt: string;
|
43
|
+
deletedAt: string | null;
|
44
44
|
systemName: string;
|
45
45
|
displayName: string;
|
46
46
|
}>, "many">;
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
48
48
|
id: string;
|
49
49
|
description: string | null;
|
50
|
-
createdAt:
|
51
|
-
updatedAt:
|
52
|
-
deletedAt:
|
50
|
+
createdAt: string;
|
51
|
+
updatedAt: string;
|
52
|
+
deletedAt: string | null;
|
53
53
|
systemName: string;
|
54
54
|
displayName: string;
|
55
55
|
permissions: {
|
56
56
|
id: string;
|
57
57
|
description: string | null;
|
58
|
-
createdAt:
|
59
|
-
updatedAt:
|
60
|
-
deletedAt:
|
58
|
+
createdAt: string;
|
59
|
+
updatedAt: string;
|
60
|
+
deletedAt: string | null;
|
61
61
|
systemName: string;
|
62
62
|
displayName: string;
|
63
63
|
}[];
|
64
64
|
}, {
|
65
65
|
id: string;
|
66
66
|
description: string | null;
|
67
|
-
createdAt:
|
68
|
-
updatedAt:
|
69
|
-
deletedAt:
|
67
|
+
createdAt: string;
|
68
|
+
updatedAt: string;
|
69
|
+
deletedAt: string | null;
|
70
70
|
systemName: string;
|
71
71
|
displayName: string;
|
72
72
|
permissions: {
|
73
73
|
id: string;
|
74
74
|
description: string | null;
|
75
|
-
createdAt:
|
76
|
-
updatedAt:
|
77
|
-
deletedAt:
|
75
|
+
createdAt: string;
|
76
|
+
updatedAt: string;
|
77
|
+
deletedAt: string | null;
|
78
78
|
systemName: string;
|
79
79
|
displayName: string;
|
80
80
|
}[];
|
81
81
|
}>, "many">;
|
82
82
|
extension: z.ZodOptional<z.ZodObject<{
|
83
83
|
id: z.ZodString;
|
84
|
-
createdAt: z.
|
85
|
-
updatedAt: z.
|
86
|
-
deletedAt: z.ZodNullable<z.
|
84
|
+
createdAt: z.ZodString;
|
85
|
+
updatedAt: z.ZodString;
|
86
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
87
87
|
userId: z.ZodNullable<z.ZodString>;
|
88
88
|
sipServerUrl: z.ZodString;
|
89
89
|
sipUserName: z.ZodString;
|
@@ -92,9 +92,9 @@ export declare const UserSchema: z.ZodObject<{
|
|
92
92
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
94
94
|
id: string;
|
95
|
-
createdAt:
|
96
|
-
updatedAt:
|
97
|
-
deletedAt:
|
95
|
+
createdAt: string;
|
96
|
+
updatedAt: string;
|
97
|
+
deletedAt: string | null;
|
98
98
|
userId: string | null;
|
99
99
|
sipServerUrl: string;
|
100
100
|
sipUserName: string;
|
@@ -103,9 +103,9 @@ export declare const UserSchema: z.ZodObject<{
|
|
103
103
|
telephonySignature: string | null;
|
104
104
|
}, {
|
105
105
|
id: string;
|
106
|
-
createdAt:
|
107
|
-
updatedAt:
|
108
|
-
deletedAt:
|
106
|
+
createdAt: string;
|
107
|
+
updatedAt: string;
|
108
|
+
deletedAt: string | null;
|
109
109
|
userId: string | null;
|
110
110
|
sipServerUrl: string;
|
111
111
|
sipUserName: string;
|
@@ -118,36 +118,36 @@ export declare const UserSchema: z.ZodObject<{
|
|
118
118
|
address: string | null;
|
119
119
|
name: string;
|
120
120
|
email: string;
|
121
|
-
createdAt:
|
122
|
-
updatedAt:
|
123
|
-
deletedAt:
|
124
|
-
emailVerifiedAt:
|
121
|
+
createdAt: string;
|
122
|
+
updatedAt: string;
|
123
|
+
deletedAt: string | null;
|
124
|
+
emailVerifiedAt: string | null;
|
125
125
|
password: string;
|
126
126
|
phone: string | null;
|
127
127
|
notificationCount: number | null;
|
128
128
|
roles: {
|
129
129
|
id: string;
|
130
130
|
description: string | null;
|
131
|
-
createdAt:
|
132
|
-
updatedAt:
|
133
|
-
deletedAt:
|
131
|
+
createdAt: string;
|
132
|
+
updatedAt: string;
|
133
|
+
deletedAt: string | null;
|
134
134
|
systemName: string;
|
135
135
|
displayName: string;
|
136
136
|
permissions: {
|
137
137
|
id: string;
|
138
138
|
description: string | null;
|
139
|
-
createdAt:
|
140
|
-
updatedAt:
|
141
|
-
deletedAt:
|
139
|
+
createdAt: string;
|
140
|
+
updatedAt: string;
|
141
|
+
deletedAt: string | null;
|
142
142
|
systemName: string;
|
143
143
|
displayName: string;
|
144
144
|
}[];
|
145
145
|
}[];
|
146
146
|
extension?: {
|
147
147
|
id: string;
|
148
|
-
createdAt:
|
149
|
-
updatedAt:
|
150
|
-
deletedAt:
|
148
|
+
createdAt: string;
|
149
|
+
updatedAt: string;
|
150
|
+
deletedAt: string | null;
|
151
151
|
userId: string | null;
|
152
152
|
sipServerUrl: string;
|
153
153
|
sipUserName: string;
|
@@ -160,36 +160,36 @@ export declare const UserSchema: z.ZodObject<{
|
|
160
160
|
address: string | null;
|
161
161
|
name: string;
|
162
162
|
email: string;
|
163
|
-
createdAt:
|
164
|
-
updatedAt:
|
165
|
-
deletedAt:
|
166
|
-
emailVerifiedAt:
|
163
|
+
createdAt: string;
|
164
|
+
updatedAt: string;
|
165
|
+
deletedAt: string | null;
|
166
|
+
emailVerifiedAt: string | null;
|
167
167
|
password: string;
|
168
168
|
phone: string | null;
|
169
169
|
notificationCount: number | null;
|
170
170
|
roles: {
|
171
171
|
id: string;
|
172
172
|
description: string | null;
|
173
|
-
createdAt:
|
174
|
-
updatedAt:
|
175
|
-
deletedAt:
|
173
|
+
createdAt: string;
|
174
|
+
updatedAt: string;
|
175
|
+
deletedAt: string | null;
|
176
176
|
systemName: string;
|
177
177
|
displayName: string;
|
178
178
|
permissions: {
|
179
179
|
id: string;
|
180
180
|
description: string | null;
|
181
|
-
createdAt:
|
182
|
-
updatedAt:
|
183
|
-
deletedAt:
|
181
|
+
createdAt: string;
|
182
|
+
updatedAt: string;
|
183
|
+
deletedAt: string | null;
|
184
184
|
systemName: string;
|
185
185
|
displayName: string;
|
186
186
|
}[];
|
187
187
|
}[];
|
188
188
|
extension?: {
|
189
189
|
id: string;
|
190
|
-
createdAt:
|
191
|
-
updatedAt:
|
192
|
-
deletedAt:
|
190
|
+
createdAt: string;
|
191
|
+
updatedAt: string;
|
192
|
+
deletedAt: string | null;
|
193
193
|
userId: string | null;
|
194
194
|
sipServerUrl: string;
|
195
195
|
sipUserName: string;
|
@@ -34,36 +34,36 @@ export declare const userPresenceStatusLogContract: {
|
|
34
34
|
address: string | null;
|
35
35
|
name: string;
|
36
36
|
email: string;
|
37
|
-
createdAt:
|
38
|
-
updatedAt:
|
39
|
-
deletedAt:
|
40
|
-
emailVerifiedAt:
|
37
|
+
createdAt: string;
|
38
|
+
updatedAt: string;
|
39
|
+
deletedAt: string | null;
|
40
|
+
emailVerifiedAt: string | null;
|
41
41
|
password: string;
|
42
42
|
phone: string | null;
|
43
43
|
notificationCount: number | null;
|
44
44
|
roles: {
|
45
45
|
id: string;
|
46
46
|
description: string | null;
|
47
|
-
createdAt:
|
48
|
-
updatedAt:
|
49
|
-
deletedAt:
|
47
|
+
createdAt: string;
|
48
|
+
updatedAt: string;
|
49
|
+
deletedAt: string | null;
|
50
50
|
systemName: string;
|
51
51
|
displayName: string;
|
52
52
|
permissions: {
|
53
53
|
id: string;
|
54
54
|
description: string | null;
|
55
|
-
createdAt:
|
56
|
-
updatedAt:
|
57
|
-
deletedAt:
|
55
|
+
createdAt: string;
|
56
|
+
updatedAt: string;
|
57
|
+
deletedAt: string | null;
|
58
58
|
systemName: string;
|
59
59
|
displayName: string;
|
60
60
|
}[];
|
61
61
|
}[];
|
62
62
|
extension?: {
|
63
63
|
id: string;
|
64
|
-
createdAt:
|
65
|
-
updatedAt:
|
66
|
-
deletedAt:
|
64
|
+
createdAt: string;
|
65
|
+
updatedAt: string;
|
66
|
+
deletedAt: string | null;
|
67
67
|
userId: string | null;
|
68
68
|
sipServerUrl: string;
|
69
69
|
sipUserName: string;
|
@@ -99,36 +99,36 @@ export declare const userPresenceStatusLogContract: {
|
|
99
99
|
address: string | null;
|
100
100
|
name: string;
|
101
101
|
email: string;
|
102
|
-
createdAt:
|
103
|
-
updatedAt:
|
104
|
-
deletedAt:
|
105
|
-
emailVerifiedAt:
|
102
|
+
createdAt: string;
|
103
|
+
updatedAt: string;
|
104
|
+
deletedAt: string | null;
|
105
|
+
emailVerifiedAt: string | null;
|
106
106
|
password: string;
|
107
107
|
phone: string | null;
|
108
108
|
notificationCount: number | null;
|
109
109
|
roles: {
|
110
110
|
id: string;
|
111
111
|
description: string | null;
|
112
|
-
createdAt:
|
113
|
-
updatedAt:
|
114
|
-
deletedAt:
|
112
|
+
createdAt: string;
|
113
|
+
updatedAt: string;
|
114
|
+
deletedAt: string | null;
|
115
115
|
systemName: string;
|
116
116
|
displayName: string;
|
117
117
|
permissions: {
|
118
118
|
id: string;
|
119
119
|
description: string | null;
|
120
|
-
createdAt:
|
121
|
-
updatedAt:
|
122
|
-
deletedAt:
|
120
|
+
createdAt: string;
|
121
|
+
updatedAt: string;
|
122
|
+
deletedAt: string | null;
|
123
123
|
systemName: string;
|
124
124
|
displayName: string;
|
125
125
|
}[];
|
126
126
|
}[];
|
127
127
|
extension?: {
|
128
128
|
id: string;
|
129
|
-
createdAt:
|
130
|
-
updatedAt:
|
131
|
-
deletedAt:
|
129
|
+
createdAt: string;
|
130
|
+
updatedAt: string;
|
131
|
+
deletedAt: string | null;
|
132
132
|
userId: string | null;
|
133
133
|
sipServerUrl: string;
|
134
134
|
sipUserName: string;
|
@@ -166,36 +166,36 @@ export declare const userPresenceStatusLogContract: {
|
|
166
166
|
address: string | null;
|
167
167
|
name: string;
|
168
168
|
email: string;
|
169
|
-
createdAt:
|
170
|
-
updatedAt:
|
171
|
-
deletedAt:
|
172
|
-
emailVerifiedAt:
|
169
|
+
createdAt: string;
|
170
|
+
updatedAt: string;
|
171
|
+
deletedAt: string | null;
|
172
|
+
emailVerifiedAt: string | null;
|
173
173
|
password: string;
|
174
174
|
phone: string | null;
|
175
175
|
notificationCount: number | null;
|
176
176
|
roles: {
|
177
177
|
id: string;
|
178
178
|
description: string | null;
|
179
|
-
createdAt:
|
180
|
-
updatedAt:
|
181
|
-
deletedAt:
|
179
|
+
createdAt: string;
|
180
|
+
updatedAt: string;
|
181
|
+
deletedAt: string | null;
|
182
182
|
systemName: string;
|
183
183
|
displayName: string;
|
184
184
|
permissions: {
|
185
185
|
id: string;
|
186
186
|
description: string | null;
|
187
|
-
createdAt:
|
188
|
-
updatedAt:
|
189
|
-
deletedAt:
|
187
|
+
createdAt: string;
|
188
|
+
updatedAt: string;
|
189
|
+
deletedAt: string | null;
|
190
190
|
systemName: string;
|
191
191
|
displayName: string;
|
192
192
|
}[];
|
193
193
|
}[];
|
194
194
|
extension?: {
|
195
195
|
id: string;
|
196
|
-
createdAt:
|
197
|
-
updatedAt:
|
198
|
-
deletedAt:
|
196
|
+
createdAt: string;
|
197
|
+
updatedAt: string;
|
198
|
+
deletedAt: string | null;
|
199
199
|
userId: string | null;
|
200
200
|
sipServerUrl: string;
|
201
201
|
sipUserName: string;
|
@@ -237,36 +237,36 @@ export declare const userPresenceStatusLogContract: {
|
|
237
237
|
address: string | null;
|
238
238
|
name: string;
|
239
239
|
email: string;
|
240
|
-
createdAt:
|
241
|
-
updatedAt:
|
242
|
-
deletedAt:
|
243
|
-
emailVerifiedAt:
|
240
|
+
createdAt: string;
|
241
|
+
updatedAt: string;
|
242
|
+
deletedAt: string | null;
|
243
|
+
emailVerifiedAt: string | null;
|
244
244
|
password: string;
|
245
245
|
phone: string | null;
|
246
246
|
notificationCount: number | null;
|
247
247
|
roles: {
|
248
248
|
id: string;
|
249
249
|
description: string | null;
|
250
|
-
createdAt:
|
251
|
-
updatedAt:
|
252
|
-
deletedAt:
|
250
|
+
createdAt: string;
|
251
|
+
updatedAt: string;
|
252
|
+
deletedAt: string | null;
|
253
253
|
systemName: string;
|
254
254
|
displayName: string;
|
255
255
|
permissions: {
|
256
256
|
id: string;
|
257
257
|
description: string | null;
|
258
|
-
createdAt:
|
259
|
-
updatedAt:
|
260
|
-
deletedAt:
|
258
|
+
createdAt: string;
|
259
|
+
updatedAt: string;
|
260
|
+
deletedAt: string | null;
|
261
261
|
systemName: string;
|
262
262
|
displayName: string;
|
263
263
|
}[];
|
264
264
|
}[];
|
265
265
|
extension?: {
|
266
266
|
id: string;
|
267
|
-
createdAt:
|
268
|
-
updatedAt:
|
269
|
-
deletedAt:
|
267
|
+
createdAt: string;
|
268
|
+
updatedAt: string;
|
269
|
+
deletedAt: string | null;
|
270
270
|
userId: string | null;
|
271
271
|
sipServerUrl: string;
|
272
272
|
sipUserName: string;
|