@kl1/contracts 1.0.35 → 1.0.37
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 +976 -932
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +975 -932
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +17 -10
- package/dist/src/activity-log/index.d.ts.map +1 -1
- package/dist/src/activity-log/schema.d.ts +17 -10
- package/dist/src/activity-log/schema.d.ts.map +1 -1
- package/dist/src/auth/index.d.ts +17 -10
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +92 -56
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +18 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +1068 -656
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +183 -110
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +306 -188
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +965 -88
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +275 -24
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contract.d.ts +10243 -6747
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +116 -72
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +92 -56
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +6 -6
- package/dist/src/evaluate-form/validation.d.ts +8 -8
- package/dist/src/extension/index.d.ts +29 -120
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/schema.d.ts +3 -0
- package/dist/src/extension/schema.d.ts.map +1 -1
- package/dist/src/extension/validation.d.ts +6 -0
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +162 -100
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/index.d.ts +57 -34
- package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/schema.d.ts +17 -10
- package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/src/telephony-extension/index.d.ts +2 -0
- package/dist/src/telephony-extension/index.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +3794 -1641
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +177 -0
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +57 -34
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/schema.d.ts +11 -6
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/index.d.ts +12 -8
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/schema.d.ts +17 -10
- package/dist/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +3 -13
- package/dist/src/widget/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/cx-log/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAapB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAC;AAGH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/cx-log/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAapB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CnC,CAAC"}
|
|
@@ -6,16 +6,16 @@ export declare const evaluateFormContract: {
|
|
|
6
6
|
create: {
|
|
7
7
|
body: z.ZodObject<{
|
|
8
8
|
cxLogId: z.ZodString;
|
|
9
|
-
sentimentScore: z.ZodNullable<z.ZodString
|
|
10
|
-
csatScore: z.ZodNullable<z.ZodString
|
|
9
|
+
sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
cxLogId: string;
|
|
13
|
-
sentimentScore
|
|
14
|
-
csatScore
|
|
13
|
+
sentimentScore?: string | null | undefined;
|
|
14
|
+
csatScore?: string | null | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
cxLogId: string;
|
|
17
|
-
sentimentScore
|
|
18
|
-
csatScore
|
|
17
|
+
sentimentScore?: string | null | undefined;
|
|
18
|
+
csatScore?: string | null | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
summary: "Create evaluate form";
|
|
21
21
|
method: "POST";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const CreateEvaluateFormSchema: z.ZodObject<{
|
|
3
3
|
cxLogId: z.ZodString;
|
|
4
|
-
sentimentScore: z.ZodNullable<z.ZodString
|
|
5
|
-
csatScore: z.ZodNullable<z.ZodString
|
|
4
|
+
sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
cxLogId: string;
|
|
8
|
-
sentimentScore
|
|
9
|
-
csatScore
|
|
8
|
+
sentimentScore?: string | null | undefined;
|
|
9
|
+
csatScore?: string | null | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
cxLogId: string;
|
|
12
|
-
sentimentScore
|
|
13
|
-
csatScore
|
|
12
|
+
sentimentScore?: string | null | undefined;
|
|
13
|
+
csatScore?: string | null | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const UpdateEvaluateFormSchema: z.ZodObject<{
|
|
16
16
|
cxLogId: z.ZodOptional<z.ZodString>;
|
|
17
|
-
sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
18
|
-
csatScore: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
17
|
+
sentimentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
18
|
+
csatScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
cxLogId?: string | undefined;
|
|
21
21
|
sentimentScore?: string | null | undefined;
|
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
+
import { ExtensionSchema } from './schema';
|
|
2
3
|
import { CreateExtensionSchema, UpdateExtensionSchema } from './validation';
|
|
3
4
|
export type CreateExtensionRequest = z.infer<typeof CreateExtensionSchema>;
|
|
4
5
|
export type UpdateExtensionRequest = z.infer<typeof UpdateExtensionSchema>;
|
|
6
|
+
export type GetExtensionRequest = z.infer<typeof ExtensionSchema>;
|
|
5
7
|
export declare const extensionContract: {
|
|
6
8
|
createExtension: {
|
|
7
9
|
body: z.ZodObject<{
|
|
8
10
|
userId: z.ZodNullable<z.ZodString>;
|
|
9
11
|
sipUserName: z.ZodString;
|
|
12
|
+
webphoneLoginUser: z.ZodString;
|
|
10
13
|
extensionId: z.ZodNullable<z.ZodNumber>;
|
|
11
14
|
extensionName: z.ZodNullable<z.ZodString>;
|
|
12
15
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
16
|
}, "strip", z.ZodTypeAny, {
|
|
14
17
|
userId: string | null;
|
|
15
18
|
sipUserName: string;
|
|
19
|
+
webphoneLoginUser: string;
|
|
16
20
|
extensionId: number | null;
|
|
17
21
|
extensionName: string | null;
|
|
18
22
|
telephonySignature?: string | null | undefined;
|
|
19
23
|
}, {
|
|
20
24
|
userId: string | null;
|
|
21
25
|
sipUserName: string;
|
|
26
|
+
webphoneLoginUser: string;
|
|
22
27
|
extensionId: number | null;
|
|
23
28
|
extensionName: string | null;
|
|
24
29
|
telephonySignature?: string | null | undefined;
|
|
@@ -36,6 +41,7 @@ export declare const extensionContract: {
|
|
|
36
41
|
userId: z.ZodNullable<z.ZodString>;
|
|
37
42
|
sipServerUrl: z.ZodString;
|
|
38
43
|
sipUserName: z.ZodString;
|
|
44
|
+
webphoneLoginUser: z.ZodString;
|
|
39
45
|
extensionId: z.ZodNumber;
|
|
40
46
|
extensionName: z.ZodString;
|
|
41
47
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
@@ -47,6 +53,7 @@ export declare const extensionContract: {
|
|
|
47
53
|
userId: string | null;
|
|
48
54
|
sipServerUrl: string;
|
|
49
55
|
sipUserName: string;
|
|
56
|
+
webphoneLoginUser: string;
|
|
50
57
|
extensionId: number;
|
|
51
58
|
extensionName: string;
|
|
52
59
|
telephonySignature: string | null;
|
|
@@ -58,6 +65,7 @@ export declare const extensionContract: {
|
|
|
58
65
|
userId: string | null;
|
|
59
66
|
sipServerUrl: string;
|
|
60
67
|
sipUserName: string;
|
|
68
|
+
webphoneLoginUser: string;
|
|
61
69
|
extensionId: number;
|
|
62
70
|
extensionName: string;
|
|
63
71
|
telephonySignature: string | null;
|
|
@@ -72,6 +80,7 @@ export declare const extensionContract: {
|
|
|
72
80
|
userId: string | null;
|
|
73
81
|
sipServerUrl: string;
|
|
74
82
|
sipUserName: string;
|
|
83
|
+
webphoneLoginUser: string;
|
|
75
84
|
extensionId: number;
|
|
76
85
|
extensionName: string;
|
|
77
86
|
telephonySignature: string | null;
|
|
@@ -86,6 +95,7 @@ export declare const extensionContract: {
|
|
|
86
95
|
userId: string | null;
|
|
87
96
|
sipServerUrl: string;
|
|
88
97
|
sipUserName: string;
|
|
98
|
+
webphoneLoginUser: string;
|
|
89
99
|
extensionId: number;
|
|
90
100
|
extensionName: string;
|
|
91
101
|
telephonySignature: string | null;
|
|
@@ -173,36 +183,6 @@ export declare const extensionContract: {
|
|
|
173
183
|
password: string;
|
|
174
184
|
phone: string | null;
|
|
175
185
|
notificationCount: number | null;
|
|
176
|
-
roles: {
|
|
177
|
-
id: string;
|
|
178
|
-
description: string | null;
|
|
179
|
-
createdAt: Date;
|
|
180
|
-
updatedAt: Date;
|
|
181
|
-
deletedAt: Date | null;
|
|
182
|
-
systemName: string;
|
|
183
|
-
displayName: string;
|
|
184
|
-
permissions: {
|
|
185
|
-
id: string;
|
|
186
|
-
description: string | null;
|
|
187
|
-
createdAt: Date;
|
|
188
|
-
updatedAt: Date;
|
|
189
|
-
deletedAt: Date | null;
|
|
190
|
-
systemName: string;
|
|
191
|
-
displayName: string;
|
|
192
|
-
}[];
|
|
193
|
-
}[];
|
|
194
|
-
extension?: {
|
|
195
|
-
id: string;
|
|
196
|
-
createdAt: Date;
|
|
197
|
-
updatedAt: Date;
|
|
198
|
-
deletedAt: Date | null;
|
|
199
|
-
userId: string | null;
|
|
200
|
-
sipServerUrl: string;
|
|
201
|
-
sipUserName: string;
|
|
202
|
-
extensionId: number;
|
|
203
|
-
extensionName: string;
|
|
204
|
-
telephonySignature: string | null;
|
|
205
|
-
} | undefined;
|
|
206
186
|
};
|
|
207
187
|
createdAt: Date;
|
|
208
188
|
updatedAt: Date;
|
|
@@ -210,6 +190,7 @@ export declare const extensionContract: {
|
|
|
210
190
|
userId: string | null;
|
|
211
191
|
sipServerUrl: string;
|
|
212
192
|
sipUserName: string;
|
|
193
|
+
webphoneLoginUser: string;
|
|
213
194
|
extensionId: number;
|
|
214
195
|
extensionName: string;
|
|
215
196
|
telephonySignature: string | null;
|
|
@@ -227,36 +208,6 @@ export declare const extensionContract: {
|
|
|
227
208
|
password: string;
|
|
228
209
|
phone: string | null;
|
|
229
210
|
notificationCount: number | null;
|
|
230
|
-
roles: {
|
|
231
|
-
id: string;
|
|
232
|
-
description: string | null;
|
|
233
|
-
createdAt: Date;
|
|
234
|
-
updatedAt: Date;
|
|
235
|
-
deletedAt: Date | null;
|
|
236
|
-
systemName: string;
|
|
237
|
-
displayName: string;
|
|
238
|
-
permissions: {
|
|
239
|
-
id: string;
|
|
240
|
-
description: string | null;
|
|
241
|
-
createdAt: Date;
|
|
242
|
-
updatedAt: Date;
|
|
243
|
-
deletedAt: Date | null;
|
|
244
|
-
systemName: string;
|
|
245
|
-
displayName: string;
|
|
246
|
-
}[];
|
|
247
|
-
}[];
|
|
248
|
-
extension?: {
|
|
249
|
-
id: string;
|
|
250
|
-
createdAt: Date;
|
|
251
|
-
updatedAt: Date;
|
|
252
|
-
deletedAt: Date | null;
|
|
253
|
-
userId: string | null;
|
|
254
|
-
sipServerUrl: string;
|
|
255
|
-
sipUserName: string;
|
|
256
|
-
extensionId: number;
|
|
257
|
-
extensionName: string;
|
|
258
|
-
telephonySignature: string | null;
|
|
259
|
-
} | undefined;
|
|
260
211
|
};
|
|
261
212
|
createdAt: Date;
|
|
262
213
|
updatedAt: Date;
|
|
@@ -264,6 +215,7 @@ export declare const extensionContract: {
|
|
|
264
215
|
userId: string | null;
|
|
265
216
|
sipServerUrl: string;
|
|
266
217
|
sipUserName: string;
|
|
218
|
+
webphoneLoginUser: string;
|
|
267
219
|
extensionId: number;
|
|
268
220
|
extensionName: string;
|
|
269
221
|
telephonySignature: string | null;
|
|
@@ -283,36 +235,6 @@ export declare const extensionContract: {
|
|
|
283
235
|
password: string;
|
|
284
236
|
phone: string | null;
|
|
285
237
|
notificationCount: number | null;
|
|
286
|
-
roles: {
|
|
287
|
-
id: string;
|
|
288
|
-
description: string | null;
|
|
289
|
-
createdAt: Date;
|
|
290
|
-
updatedAt: Date;
|
|
291
|
-
deletedAt: Date | null;
|
|
292
|
-
systemName: string;
|
|
293
|
-
displayName: string;
|
|
294
|
-
permissions: {
|
|
295
|
-
id: string;
|
|
296
|
-
description: string | null;
|
|
297
|
-
createdAt: Date;
|
|
298
|
-
updatedAt: Date;
|
|
299
|
-
deletedAt: Date | null;
|
|
300
|
-
systemName: string;
|
|
301
|
-
displayName: string;
|
|
302
|
-
}[];
|
|
303
|
-
}[];
|
|
304
|
-
extension?: {
|
|
305
|
-
id: string;
|
|
306
|
-
createdAt: Date;
|
|
307
|
-
updatedAt: Date;
|
|
308
|
-
deletedAt: Date | null;
|
|
309
|
-
userId: string | null;
|
|
310
|
-
sipServerUrl: string;
|
|
311
|
-
sipUserName: string;
|
|
312
|
-
extensionId: number;
|
|
313
|
-
extensionName: string;
|
|
314
|
-
telephonySignature: string | null;
|
|
315
|
-
} | undefined;
|
|
316
238
|
};
|
|
317
239
|
createdAt: Date;
|
|
318
240
|
updatedAt: Date;
|
|
@@ -320,6 +242,7 @@ export declare const extensionContract: {
|
|
|
320
242
|
userId: string | null;
|
|
321
243
|
sipServerUrl: string;
|
|
322
244
|
sipUserName: string;
|
|
245
|
+
webphoneLoginUser: string;
|
|
323
246
|
extensionId: number;
|
|
324
247
|
extensionName: string;
|
|
325
248
|
telephonySignature: string | null;
|
|
@@ -343,36 +266,6 @@ export declare const extensionContract: {
|
|
|
343
266
|
password: string;
|
|
344
267
|
phone: string | null;
|
|
345
268
|
notificationCount: number | null;
|
|
346
|
-
roles: {
|
|
347
|
-
id: string;
|
|
348
|
-
description: string | null;
|
|
349
|
-
createdAt: Date;
|
|
350
|
-
updatedAt: Date;
|
|
351
|
-
deletedAt: Date | null;
|
|
352
|
-
systemName: string;
|
|
353
|
-
displayName: string;
|
|
354
|
-
permissions: {
|
|
355
|
-
id: string;
|
|
356
|
-
description: string | null;
|
|
357
|
-
createdAt: Date;
|
|
358
|
-
updatedAt: Date;
|
|
359
|
-
deletedAt: Date | null;
|
|
360
|
-
systemName: string;
|
|
361
|
-
displayName: string;
|
|
362
|
-
}[];
|
|
363
|
-
}[];
|
|
364
|
-
extension?: {
|
|
365
|
-
id: string;
|
|
366
|
-
createdAt: Date;
|
|
367
|
-
updatedAt: Date;
|
|
368
|
-
deletedAt: Date | null;
|
|
369
|
-
userId: string | null;
|
|
370
|
-
sipServerUrl: string;
|
|
371
|
-
sipUserName: string;
|
|
372
|
-
extensionId: number;
|
|
373
|
-
extensionName: string;
|
|
374
|
-
telephonySignature: string | null;
|
|
375
|
-
} | undefined;
|
|
376
269
|
};
|
|
377
270
|
createdAt: Date;
|
|
378
271
|
updatedAt: Date;
|
|
@@ -380,6 +273,7 @@ export declare const extensionContract: {
|
|
|
380
273
|
userId: string | null;
|
|
381
274
|
sipServerUrl: string;
|
|
382
275
|
sipUserName: string;
|
|
276
|
+
webphoneLoginUser: string;
|
|
383
277
|
extensionId: number;
|
|
384
278
|
extensionName: string;
|
|
385
279
|
telephonySignature: string | null;
|
|
@@ -454,6 +348,7 @@ export declare const extensionContract: {
|
|
|
454
348
|
userId: z.ZodNullable<z.ZodString>;
|
|
455
349
|
sipServerUrl: z.ZodString;
|
|
456
350
|
sipUserName: z.ZodString;
|
|
351
|
+
webphoneLoginUser: z.ZodString;
|
|
457
352
|
extensionId: z.ZodNumber;
|
|
458
353
|
extensionName: z.ZodString;
|
|
459
354
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
@@ -465,6 +360,7 @@ export declare const extensionContract: {
|
|
|
465
360
|
userId: string | null;
|
|
466
361
|
sipServerUrl: string;
|
|
467
362
|
sipUserName: string;
|
|
363
|
+
webphoneLoginUser: string;
|
|
468
364
|
extensionId: number;
|
|
469
365
|
extensionName: string;
|
|
470
366
|
telephonySignature: string | null;
|
|
@@ -476,6 +372,7 @@ export declare const extensionContract: {
|
|
|
476
372
|
userId: string | null;
|
|
477
373
|
sipServerUrl: string;
|
|
478
374
|
sipUserName: string;
|
|
375
|
+
webphoneLoginUser: string;
|
|
479
376
|
extensionId: number;
|
|
480
377
|
extensionName: string;
|
|
481
378
|
telephonySignature: string | null;
|
|
@@ -556,6 +453,7 @@ export declare const extensionContract: {
|
|
|
556
453
|
userId: string | null;
|
|
557
454
|
sipServerUrl: string;
|
|
558
455
|
sipUserName: string;
|
|
456
|
+
webphoneLoginUser: string;
|
|
559
457
|
extensionId: number;
|
|
560
458
|
extensionName: string;
|
|
561
459
|
telephonySignature: string | null;
|
|
@@ -567,6 +465,7 @@ export declare const extensionContract: {
|
|
|
567
465
|
userId: string | null;
|
|
568
466
|
sipServerUrl: string;
|
|
569
467
|
sipUserName: string;
|
|
468
|
+
webphoneLoginUser: string;
|
|
570
469
|
extensionId: number;
|
|
571
470
|
extensionName: string;
|
|
572
471
|
telephonySignature: string | null;
|
|
@@ -580,6 +479,7 @@ export declare const extensionContract: {
|
|
|
580
479
|
userId: string | null;
|
|
581
480
|
sipServerUrl: string;
|
|
582
481
|
sipUserName: string;
|
|
482
|
+
webphoneLoginUser: string;
|
|
583
483
|
extensionId: number;
|
|
584
484
|
extensionName: string;
|
|
585
485
|
telephonySignature: string | null;
|
|
@@ -597,6 +497,7 @@ export declare const extensionContract: {
|
|
|
597
497
|
userId: string | null;
|
|
598
498
|
sipServerUrl: string;
|
|
599
499
|
sipUserName: string;
|
|
500
|
+
webphoneLoginUser: string;
|
|
600
501
|
extensionId: number;
|
|
601
502
|
extensionName: string;
|
|
602
503
|
telephonySignature: string | null;
|
|
@@ -656,18 +557,21 @@ export declare const extensionContract: {
|
|
|
656
557
|
body: z.ZodObject<{
|
|
657
558
|
userId: z.ZodNullable<z.ZodString>;
|
|
658
559
|
sipUserName: z.ZodString;
|
|
560
|
+
webphoneLoginUser: z.ZodString;
|
|
659
561
|
extensionId: z.ZodNullable<z.ZodNumber>;
|
|
660
562
|
extensionName: z.ZodNullable<z.ZodString>;
|
|
661
563
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
662
564
|
}, "strip", z.ZodTypeAny, {
|
|
663
565
|
userId: string | null;
|
|
664
566
|
sipUserName: string;
|
|
567
|
+
webphoneLoginUser: string;
|
|
665
568
|
extensionId: number | null;
|
|
666
569
|
extensionName: string | null;
|
|
667
570
|
telephonySignature?: string | null | undefined;
|
|
668
571
|
}, {
|
|
669
572
|
userId: string | null;
|
|
670
573
|
sipUserName: string;
|
|
574
|
+
webphoneLoginUser: string;
|
|
671
575
|
extensionId: number | null;
|
|
672
576
|
extensionName: string | null;
|
|
673
577
|
telephonySignature?: string | null | undefined;
|
|
@@ -692,6 +596,7 @@ export declare const extensionContract: {
|
|
|
692
596
|
userId: z.ZodNullable<z.ZodString>;
|
|
693
597
|
sipServerUrl: z.ZodString;
|
|
694
598
|
sipUserName: z.ZodString;
|
|
599
|
+
webphoneLoginUser: z.ZodString;
|
|
695
600
|
extensionId: z.ZodNumber;
|
|
696
601
|
extensionName: z.ZodString;
|
|
697
602
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
@@ -703,6 +608,7 @@ export declare const extensionContract: {
|
|
|
703
608
|
userId: string | null;
|
|
704
609
|
sipServerUrl: string;
|
|
705
610
|
sipUserName: string;
|
|
611
|
+
webphoneLoginUser: string;
|
|
706
612
|
extensionId: number;
|
|
707
613
|
extensionName: string;
|
|
708
614
|
telephonySignature: string | null;
|
|
@@ -714,6 +620,7 @@ export declare const extensionContract: {
|
|
|
714
620
|
userId: string | null;
|
|
715
621
|
sipServerUrl: string;
|
|
716
622
|
sipUserName: string;
|
|
623
|
+
webphoneLoginUser: string;
|
|
717
624
|
extensionId: number;
|
|
718
625
|
extensionName: string;
|
|
719
626
|
telephonySignature: string | null;
|
|
@@ -728,6 +635,7 @@ export declare const extensionContract: {
|
|
|
728
635
|
userId: string | null;
|
|
729
636
|
sipServerUrl: string;
|
|
730
637
|
sipUserName: string;
|
|
638
|
+
webphoneLoginUser: string;
|
|
731
639
|
extensionId: number;
|
|
732
640
|
extensionName: string;
|
|
733
641
|
telephonySignature: string | null;
|
|
@@ -742,6 +650,7 @@ export declare const extensionContract: {
|
|
|
742
650
|
userId: string | null;
|
|
743
651
|
sipServerUrl: string;
|
|
744
652
|
sipUserName: string;
|
|
653
|
+
webphoneLoginUser: string;
|
|
745
654
|
extensionId: number;
|
|
746
655
|
extensionName: string;
|
|
747
656
|
telephonySignature: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extension/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extension/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAG5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|
userId: z.ZodNullable<z.ZodString>;
|
|
8
8
|
sipServerUrl: z.ZodString;
|
|
9
9
|
sipUserName: z.ZodString;
|
|
10
|
+
webphoneLoginUser: z.ZodString;
|
|
10
11
|
extensionId: z.ZodNumber;
|
|
11
12
|
extensionName: z.ZodString;
|
|
12
13
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
@@ -18,6 +19,7 @@ export declare const ExtensionSchema: z.ZodObject<{
|
|
|
18
19
|
userId: string | null;
|
|
19
20
|
sipServerUrl: string;
|
|
20
21
|
sipUserName: string;
|
|
22
|
+
webphoneLoginUser: string;
|
|
21
23
|
extensionId: number;
|
|
22
24
|
extensionName: string;
|
|
23
25
|
telephonySignature: string | null;
|
|
@@ -29,6 +31,7 @@ export declare const ExtensionSchema: z.ZodObject<{
|
|
|
29
31
|
userId: string | null;
|
|
30
32
|
sipServerUrl: string;
|
|
31
33
|
sipUserName: string;
|
|
34
|
+
webphoneLoginUser: string;
|
|
32
35
|
extensionId: number;
|
|
33
36
|
extensionName: string;
|
|
34
37
|
telephonySignature: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/extension/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/extension/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC"}
|
|
@@ -2,18 +2,21 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CreateExtensionSchema: z.ZodObject<{
|
|
3
3
|
userId: z.ZodNullable<z.ZodString>;
|
|
4
4
|
sipUserName: z.ZodString;
|
|
5
|
+
webphoneLoginUser: z.ZodString;
|
|
5
6
|
extensionId: z.ZodNullable<z.ZodNumber>;
|
|
6
7
|
extensionName: z.ZodNullable<z.ZodString>;
|
|
7
8
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
userId: string | null;
|
|
10
11
|
sipUserName: string;
|
|
12
|
+
webphoneLoginUser: string;
|
|
11
13
|
extensionId: number | null;
|
|
12
14
|
extensionName: string | null;
|
|
13
15
|
telephonySignature?: string | null | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
userId: string | null;
|
|
16
18
|
sipUserName: string;
|
|
19
|
+
webphoneLoginUser: string;
|
|
17
20
|
extensionId: number | null;
|
|
18
21
|
extensionName: string | null;
|
|
19
22
|
telephonySignature?: string | null | undefined;
|
|
@@ -21,18 +24,21 @@ export declare const CreateExtensionSchema: z.ZodObject<{
|
|
|
21
24
|
export declare const UpdateExtensionSchema: z.ZodObject<{
|
|
22
25
|
userId: z.ZodNullable<z.ZodString>;
|
|
23
26
|
sipUserName: z.ZodString;
|
|
27
|
+
webphoneLoginUser: z.ZodString;
|
|
24
28
|
extensionId: z.ZodNullable<z.ZodNumber>;
|
|
25
29
|
extensionName: z.ZodNullable<z.ZodString>;
|
|
26
30
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
31
|
}, "strip", z.ZodTypeAny, {
|
|
28
32
|
userId: string | null;
|
|
29
33
|
sipUserName: string;
|
|
34
|
+
webphoneLoginUser: string;
|
|
30
35
|
extensionId: number | null;
|
|
31
36
|
extensionName: string | null;
|
|
32
37
|
telephonySignature?: string | null | undefined;
|
|
33
38
|
}, {
|
|
34
39
|
userId: string | null;
|
|
35
40
|
sipUserName: string;
|
|
41
|
+
webphoneLoginUser: string;
|
|
36
42
|
extensionId: number | null;
|
|
37
43
|
extensionName: string | null;
|
|
38
44
|
telephonySignature?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/extension/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/extension/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAC"}
|