@kl1/contracts 1.0.46 → 1.0.48
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 +173 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +173 -11
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +7 -7
- package/dist/src/activity-log/schema.d.ts +7 -7
- package/dist/src/auth/index.d.ts +7 -7
- package/dist/src/call-log/schema.d.ts +3 -3
- package/dist/src/channel/index.d.ts +36 -36
- package/dist/src/channel/schema.d.ts +8 -10
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +353 -350
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +73 -73
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +121 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +118 -118
- package/dist/src/comment/schema.d.ts +34 -34
- package/dist/src/contract.d.ts +839 -827
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +66 -66
- package/dist/src/cx-log/schema.d.ts +54 -54
- package/dist/src/extension/index.d.ts +33 -27
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/schema.d.ts +3 -3
- package/dist/src/extension/validation.d.ts +12 -6
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +62 -62
- package/dist/src/telephony-agent-presence-status/index.d.ts +23 -23
- package/dist/src/telephony-agent-presence-status/schema.d.ts +7 -7
- package/dist/src/telephony-cdr/index.d.ts +57 -57
- package/dist/src/telephony-cdr/schema.d.ts +20 -20
- package/dist/src/ticket/index.d.ts +99 -96
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +14 -14
- package/dist/src/user/index.d.ts +23 -23
- package/dist/src/user/schema.d.ts +5 -5
- package/dist/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/src/user-presence-status-log/schema.d.ts +7 -7
- package/package.json +1 -1
@@ -9,23 +9,26 @@ export declare const extensionContract: {
|
|
9
9
|
body: z.ZodObject<{
|
10
10
|
userId: z.ZodNullable<z.ZodString>;
|
11
11
|
sipUserName: z.ZodString;
|
12
|
+
sipServerUrl: z.ZodOptional<z.ZodString>;
|
12
13
|
webphoneLoginUser: z.ZodString;
|
13
|
-
extensionId: z.ZodNullable<z.
|
14
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
14
15
|
extensionName: z.ZodNullable<z.ZodString>;
|
15
16
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
17
18
|
userId: string | null;
|
18
19
|
sipUserName: string;
|
19
20
|
webphoneLoginUser: string;
|
20
|
-
extensionId:
|
21
|
+
extensionId: string | null;
|
21
22
|
extensionName: string | null;
|
23
|
+
sipServerUrl?: string | undefined;
|
22
24
|
telephonySignature?: string | null | undefined;
|
23
25
|
}, {
|
24
26
|
userId: string | null;
|
25
27
|
sipUserName: string;
|
26
28
|
webphoneLoginUser: string;
|
27
|
-
extensionId:
|
29
|
+
extensionId: string | null;
|
28
30
|
extensionName: string | null;
|
31
|
+
sipServerUrl?: string | undefined;
|
29
32
|
telephonySignature?: string | null | undefined;
|
30
33
|
}>;
|
31
34
|
summary: "Create a extension.";
|
@@ -42,7 +45,7 @@ export declare const extensionContract: {
|
|
42
45
|
sipServerUrl: z.ZodString;
|
43
46
|
sipUserName: z.ZodString;
|
44
47
|
webphoneLoginUser: z.ZodString;
|
45
|
-
extensionId: z.
|
48
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
46
49
|
extensionName: z.ZodString;
|
47
50
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
48
51
|
}, "strip", z.ZodTypeAny, {
|
@@ -54,7 +57,7 @@ export declare const extensionContract: {
|
|
54
57
|
sipServerUrl: string;
|
55
58
|
sipUserName: string;
|
56
59
|
webphoneLoginUser: string;
|
57
|
-
extensionId:
|
60
|
+
extensionId: string | null;
|
58
61
|
extensionName: string;
|
59
62
|
telephonySignature: string | null;
|
60
63
|
}, {
|
@@ -66,7 +69,7 @@ export declare const extensionContract: {
|
|
66
69
|
sipServerUrl: string;
|
67
70
|
sipUserName: string;
|
68
71
|
webphoneLoginUser: string;
|
69
|
-
extensionId:
|
72
|
+
extensionId: string | null;
|
70
73
|
extensionName: string;
|
71
74
|
telephonySignature: string | null;
|
72
75
|
}>;
|
@@ -81,7 +84,7 @@ export declare const extensionContract: {
|
|
81
84
|
sipServerUrl: string;
|
82
85
|
sipUserName: string;
|
83
86
|
webphoneLoginUser: string;
|
84
|
-
extensionId:
|
87
|
+
extensionId: string | null;
|
85
88
|
extensionName: string;
|
86
89
|
telephonySignature: string | null;
|
87
90
|
};
|
@@ -96,7 +99,7 @@ export declare const extensionContract: {
|
|
96
99
|
sipServerUrl: string;
|
97
100
|
sipUserName: string;
|
98
101
|
webphoneLoginUser: string;
|
99
|
-
extensionId:
|
102
|
+
extensionId: string | null;
|
100
103
|
extensionName: string;
|
101
104
|
telephonySignature: string | null;
|
102
105
|
};
|
@@ -191,7 +194,7 @@ export declare const extensionContract: {
|
|
191
194
|
sipServerUrl: string;
|
192
195
|
sipUserName: string;
|
193
196
|
webphoneLoginUser: string;
|
194
|
-
extensionId:
|
197
|
+
extensionId: string | null;
|
195
198
|
extensionName: string;
|
196
199
|
telephonySignature: string | null;
|
197
200
|
}, z.ZodTypeDef, {
|
@@ -216,7 +219,7 @@ export declare const extensionContract: {
|
|
216
219
|
sipServerUrl: string;
|
217
220
|
sipUserName: string;
|
218
221
|
webphoneLoginUser: string;
|
219
|
-
extensionId:
|
222
|
+
extensionId: string | null;
|
220
223
|
extensionName: string;
|
221
224
|
telephonySignature: string | null;
|
222
225
|
}>, "many">;
|
@@ -243,7 +246,7 @@ export declare const extensionContract: {
|
|
243
246
|
sipServerUrl: string;
|
244
247
|
sipUserName: string;
|
245
248
|
webphoneLoginUser: string;
|
246
|
-
extensionId:
|
249
|
+
extensionId: string | null;
|
247
250
|
extensionName: string;
|
248
251
|
telephonySignature: string | null;
|
249
252
|
}[];
|
@@ -274,7 +277,7 @@ export declare const extensionContract: {
|
|
274
277
|
sipServerUrl: string;
|
275
278
|
sipUserName: string;
|
276
279
|
webphoneLoginUser: string;
|
277
|
-
extensionId:
|
280
|
+
extensionId: string | null;
|
278
281
|
extensionName: string;
|
279
282
|
telephonySignature: string | null;
|
280
283
|
}[];
|
@@ -349,7 +352,7 @@ export declare const extensionContract: {
|
|
349
352
|
sipServerUrl: z.ZodString;
|
350
353
|
sipUserName: z.ZodString;
|
351
354
|
webphoneLoginUser: z.ZodString;
|
352
|
-
extensionId: z.
|
355
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
353
356
|
extensionName: z.ZodString;
|
354
357
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
355
358
|
}, "strip", z.ZodTypeAny, {
|
@@ -361,7 +364,7 @@ export declare const extensionContract: {
|
|
361
364
|
sipServerUrl: string;
|
362
365
|
sipUserName: string;
|
363
366
|
webphoneLoginUser: string;
|
364
|
-
extensionId:
|
367
|
+
extensionId: string | null;
|
365
368
|
extensionName: string;
|
366
369
|
telephonySignature: string | null;
|
367
370
|
}, {
|
@@ -373,7 +376,7 @@ export declare const extensionContract: {
|
|
373
376
|
sipServerUrl: string;
|
374
377
|
sipUserName: string;
|
375
378
|
webphoneLoginUser: string;
|
376
|
-
extensionId:
|
379
|
+
extensionId: string | null;
|
377
380
|
extensionName: string;
|
378
381
|
telephonySignature: string | null;
|
379
382
|
}>;
|
@@ -454,7 +457,7 @@ export declare const extensionContract: {
|
|
454
457
|
sipServerUrl: string;
|
455
458
|
sipUserName: string;
|
456
459
|
webphoneLoginUser: string;
|
457
|
-
extensionId:
|
460
|
+
extensionId: string | null;
|
458
461
|
extensionName: string;
|
459
462
|
telephonySignature: string | null;
|
460
463
|
}, z.ZodTypeDef, {
|
@@ -466,7 +469,7 @@ export declare const extensionContract: {
|
|
466
469
|
sipServerUrl: string;
|
467
470
|
sipUserName: string;
|
468
471
|
webphoneLoginUser: string;
|
469
|
-
extensionId:
|
472
|
+
extensionId: string | null;
|
470
473
|
extensionName: string;
|
471
474
|
telephonySignature: string | null;
|
472
475
|
}>, "many">;
|
@@ -480,7 +483,7 @@ export declare const extensionContract: {
|
|
480
483
|
sipServerUrl: string;
|
481
484
|
sipUserName: string;
|
482
485
|
webphoneLoginUser: string;
|
483
|
-
extensionId:
|
486
|
+
extensionId: string | null;
|
484
487
|
extensionName: string;
|
485
488
|
telephonySignature: string | null;
|
486
489
|
}[];
|
@@ -498,7 +501,7 @@ export declare const extensionContract: {
|
|
498
501
|
sipServerUrl: string;
|
499
502
|
sipUserName: string;
|
500
503
|
webphoneLoginUser: string;
|
501
|
-
extensionId:
|
504
|
+
extensionId: string | null;
|
502
505
|
extensionName: string;
|
503
506
|
telephonySignature: string | null;
|
504
507
|
}[];
|
@@ -557,23 +560,26 @@ export declare const extensionContract: {
|
|
557
560
|
body: z.ZodObject<{
|
558
561
|
userId: z.ZodNullable<z.ZodString>;
|
559
562
|
sipUserName: z.ZodString;
|
563
|
+
sipServerUrl: z.ZodOptional<z.ZodString>;
|
560
564
|
webphoneLoginUser: z.ZodString;
|
561
|
-
extensionId: z.ZodNullable<z.
|
565
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
562
566
|
extensionName: z.ZodNullable<z.ZodString>;
|
563
567
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
564
568
|
}, "strip", z.ZodTypeAny, {
|
565
569
|
userId: string | null;
|
566
570
|
sipUserName: string;
|
567
571
|
webphoneLoginUser: string;
|
568
|
-
extensionId:
|
572
|
+
extensionId: string | null;
|
569
573
|
extensionName: string | null;
|
574
|
+
sipServerUrl?: string | undefined;
|
570
575
|
telephonySignature?: string | null | undefined;
|
571
576
|
}, {
|
572
577
|
userId: string | null;
|
573
578
|
sipUserName: string;
|
574
579
|
webphoneLoginUser: string;
|
575
|
-
extensionId:
|
580
|
+
extensionId: string | null;
|
576
581
|
extensionName: string | null;
|
582
|
+
sipServerUrl?: string | undefined;
|
577
583
|
telephonySignature?: string | null | undefined;
|
578
584
|
}>;
|
579
585
|
summary: "Update a extension.";
|
@@ -597,7 +603,7 @@ export declare const extensionContract: {
|
|
597
603
|
sipServerUrl: z.ZodString;
|
598
604
|
sipUserName: z.ZodString;
|
599
605
|
webphoneLoginUser: z.ZodString;
|
600
|
-
extensionId: z.
|
606
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
601
607
|
extensionName: z.ZodString;
|
602
608
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
603
609
|
}, "strip", z.ZodTypeAny, {
|
@@ -609,7 +615,7 @@ export declare const extensionContract: {
|
|
609
615
|
sipServerUrl: string;
|
610
616
|
sipUserName: string;
|
611
617
|
webphoneLoginUser: string;
|
612
|
-
extensionId:
|
618
|
+
extensionId: string | null;
|
613
619
|
extensionName: string;
|
614
620
|
telephonySignature: string | null;
|
615
621
|
}, {
|
@@ -621,7 +627,7 @@ export declare const extensionContract: {
|
|
621
627
|
sipServerUrl: string;
|
622
628
|
sipUserName: string;
|
623
629
|
webphoneLoginUser: string;
|
624
|
-
extensionId:
|
630
|
+
extensionId: string | null;
|
625
631
|
extensionName: string;
|
626
632
|
telephonySignature: string | null;
|
627
633
|
}>;
|
@@ -636,7 +642,7 @@ export declare const extensionContract: {
|
|
636
642
|
sipServerUrl: string;
|
637
643
|
sipUserName: string;
|
638
644
|
webphoneLoginUser: string;
|
639
|
-
extensionId:
|
645
|
+
extensionId: string | null;
|
640
646
|
extensionName: string;
|
641
647
|
telephonySignature: string | null;
|
642
648
|
};
|
@@ -651,7 +657,7 @@ export declare const extensionContract: {
|
|
651
657
|
sipServerUrl: string;
|
652
658
|
sipUserName: string;
|
653
659
|
webphoneLoginUser: string;
|
654
|
-
extensionId:
|
660
|
+
extensionId: string | null;
|
655
661
|
extensionName: string;
|
656
662
|
telephonySignature: string | null;
|
657
663
|
};
|
@@ -1 +1 @@
|
|
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;AAG5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAElE,eAAO,MAAM,iBAAiB
|
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;AAG5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8H7B,CAAC"}
|
@@ -8,7 +8,7 @@ export declare const ExtensionSchema: z.ZodObject<{
|
|
8
8
|
sipServerUrl: z.ZodString;
|
9
9
|
sipUserName: z.ZodString;
|
10
10
|
webphoneLoginUser: z.ZodString;
|
11
|
-
extensionId: z.
|
11
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
12
12
|
extensionName: z.ZodString;
|
13
13
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
@@ -20,7 +20,7 @@ export declare const ExtensionSchema: z.ZodObject<{
|
|
20
20
|
sipServerUrl: string;
|
21
21
|
sipUserName: string;
|
22
22
|
webphoneLoginUser: string;
|
23
|
-
extensionId:
|
23
|
+
extensionId: string | null;
|
24
24
|
extensionName: string;
|
25
25
|
telephonySignature: string | null;
|
26
26
|
}, {
|
@@ -32,7 +32,7 @@ export declare const ExtensionSchema: z.ZodObject<{
|
|
32
32
|
sipServerUrl: string;
|
33
33
|
sipUserName: string;
|
34
34
|
webphoneLoginUser: string;
|
35
|
-
extensionId:
|
35
|
+
extensionId: string | null;
|
36
36
|
extensionName: string;
|
37
37
|
telephonySignature: string | null;
|
38
38
|
}>;
|
@@ -2,45 +2,51 @@ 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
|
+
sipServerUrl: z.ZodOptional<z.ZodString>;
|
5
6
|
webphoneLoginUser: z.ZodString;
|
6
|
-
extensionId: z.ZodNullable<z.
|
7
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
7
8
|
extensionName: z.ZodNullable<z.ZodString>;
|
8
9
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
10
11
|
userId: string | null;
|
11
12
|
sipUserName: string;
|
12
13
|
webphoneLoginUser: string;
|
13
|
-
extensionId:
|
14
|
+
extensionId: string | null;
|
14
15
|
extensionName: string | null;
|
16
|
+
sipServerUrl?: string | undefined;
|
15
17
|
telephonySignature?: string | null | undefined;
|
16
18
|
}, {
|
17
19
|
userId: string | null;
|
18
20
|
sipUserName: string;
|
19
21
|
webphoneLoginUser: string;
|
20
|
-
extensionId:
|
22
|
+
extensionId: string | null;
|
21
23
|
extensionName: string | null;
|
24
|
+
sipServerUrl?: string | undefined;
|
22
25
|
telephonySignature?: string | null | undefined;
|
23
26
|
}>;
|
24
27
|
export declare const UpdateExtensionSchema: z.ZodObject<{
|
25
28
|
userId: z.ZodNullable<z.ZodString>;
|
26
29
|
sipUserName: z.ZodString;
|
30
|
+
sipServerUrl: z.ZodOptional<z.ZodString>;
|
27
31
|
webphoneLoginUser: z.ZodString;
|
28
|
-
extensionId: z.ZodNullable<z.
|
32
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
29
33
|
extensionName: z.ZodNullable<z.ZodString>;
|
30
34
|
telephonySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
31
35
|
}, "strip", z.ZodTypeAny, {
|
32
36
|
userId: string | null;
|
33
37
|
sipUserName: string;
|
34
38
|
webphoneLoginUser: string;
|
35
|
-
extensionId:
|
39
|
+
extensionId: string | null;
|
36
40
|
extensionName: string | null;
|
41
|
+
sipServerUrl?: string | undefined;
|
37
42
|
telephonySignature?: string | null | undefined;
|
38
43
|
}, {
|
39
44
|
userId: string | null;
|
40
45
|
sipUserName: string;
|
41
46
|
webphoneLoginUser: string;
|
42
|
-
extensionId:
|
47
|
+
extensionId: string | null;
|
43
48
|
extensionName: string | null;
|
49
|
+
sipServerUrl?: string | undefined;
|
44
50
|
telephonySignature?: string | null | undefined;
|
45
51
|
}>;
|
46
52
|
//# sourceMappingURL=validation.d.ts.map
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAC"}
|