@kl1/contracts 1.0.7 → 1.0.9
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 +279 -66
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +279 -66
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/chat/index.d.ts +13804 -1345
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +11 -11
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +425 -83
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +19265 -20283
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +4 -4
- package/dist/src/cx-log/schema.d.ts +2 -2
- package/dist/src/extension/index.d.ts +1 -1
- package/dist/src/line/index.d.ts +2 -2
- package/dist/src/line/validation.d.ts +2 -2
- package/dist/src/mail/index.d.ts +13 -0
- package/dist/src/mail/index.d.ts.map +1 -0
- package/dist/src/mail/mail-contract.d.ts +114 -114
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +108 -108
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +3426 -0
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -0
- package/dist/src/mail/schemas/room.schema.d.ts +26 -26
- package/dist/src/telephony-extension/index.d.ts +193 -3
- package/dist/src/telephony-extension/index.d.ts.map +1 -1
- package/dist/src/telephony-extension/schema.d.ts +193 -3
- package/dist/src/telephony-extension/schema.d.ts.map +1 -1
- package/package.json +8 -8
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"room-validation.schema.d.ts","sourceRoot":"","sources":["../../../../src/m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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CzC,CAAC"}
|
@@ -345,8 +345,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
345
345
|
extension_name: string;
|
346
346
|
};
|
347
347
|
roomId: string;
|
348
|
-
messageId: string;
|
349
348
|
fileType: string;
|
349
|
+
messageId: string;
|
350
350
|
emailEngineAttachmentId: string;
|
351
351
|
uploadId: string;
|
352
352
|
}, {
|
@@ -368,8 +368,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
368
368
|
extension_name: string;
|
369
369
|
};
|
370
370
|
roomId: string;
|
371
|
-
messageId: string;
|
372
371
|
fileType: string;
|
372
|
+
messageId: string;
|
373
373
|
emailEngineAttachmentId: string;
|
374
374
|
uploadId: string;
|
375
375
|
}>, "many">;
|
@@ -442,8 +442,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
442
442
|
extension_name: string;
|
443
443
|
};
|
444
444
|
roomId: string;
|
445
|
-
messageId: string;
|
446
445
|
fileType: string;
|
446
|
+
messageId: string;
|
447
447
|
emailEngineAttachmentId: string;
|
448
448
|
uploadId: string;
|
449
449
|
}[];
|
@@ -516,8 +516,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
516
516
|
extension_name: string;
|
517
517
|
};
|
518
518
|
roomId: string;
|
519
|
-
messageId: string;
|
520
519
|
fileType: string;
|
520
|
+
messageId: string;
|
521
521
|
emailEngineAttachmentId: string;
|
522
522
|
uploadId: string;
|
523
523
|
}[];
|
@@ -692,8 +692,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
692
692
|
extension_name: string;
|
693
693
|
};
|
694
694
|
roomId: string;
|
695
|
-
messageId: string;
|
696
695
|
fileType: string;
|
696
|
+
messageId: string;
|
697
697
|
emailEngineAttachmentId: string;
|
698
698
|
uploadId: string;
|
699
699
|
}, {
|
@@ -715,8 +715,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
715
715
|
extension_name: string;
|
716
716
|
};
|
717
717
|
roomId: string;
|
718
|
-
messageId: string;
|
719
718
|
fileType: string;
|
719
|
+
messageId: string;
|
720
720
|
emailEngineAttachmentId: string;
|
721
721
|
uploadId: string;
|
722
722
|
}>, "many">;
|
@@ -789,8 +789,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
789
789
|
extension_name: string;
|
790
790
|
};
|
791
791
|
roomId: string;
|
792
|
-
messageId: string;
|
793
792
|
fileType: string;
|
793
|
+
messageId: string;
|
794
794
|
emailEngineAttachmentId: string;
|
795
795
|
uploadId: string;
|
796
796
|
}[];
|
@@ -863,8 +863,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
863
863
|
extension_name: string;
|
864
864
|
};
|
865
865
|
roomId: string;
|
866
|
-
messageId: string;
|
867
866
|
fileType: string;
|
867
|
+
messageId: string;
|
868
868
|
emailEngineAttachmentId: string;
|
869
869
|
uploadId: string;
|
870
870
|
}[];
|
@@ -1092,8 +1092,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1092
1092
|
extension_name: string;
|
1093
1093
|
};
|
1094
1094
|
roomId: string;
|
1095
|
-
messageId: string;
|
1096
1095
|
fileType: string;
|
1096
|
+
messageId: string;
|
1097
1097
|
emailEngineAttachmentId: string;
|
1098
1098
|
uploadId: string;
|
1099
1099
|
}, {
|
@@ -1115,8 +1115,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1115
1115
|
extension_name: string;
|
1116
1116
|
};
|
1117
1117
|
roomId: string;
|
1118
|
-
messageId: string;
|
1119
1118
|
fileType: string;
|
1119
|
+
messageId: string;
|
1120
1120
|
emailEngineAttachmentId: string;
|
1121
1121
|
uploadId: string;
|
1122
1122
|
}>, "many">;
|
@@ -1189,8 +1189,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1189
1189
|
extension_name: string;
|
1190
1190
|
};
|
1191
1191
|
roomId: string;
|
1192
|
-
messageId: string;
|
1193
1192
|
fileType: string;
|
1193
|
+
messageId: string;
|
1194
1194
|
emailEngineAttachmentId: string;
|
1195
1195
|
uploadId: string;
|
1196
1196
|
}[];
|
@@ -1263,8 +1263,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1263
1263
|
extension_name: string;
|
1264
1264
|
};
|
1265
1265
|
roomId: string;
|
1266
|
-
messageId: string;
|
1267
1266
|
fileType: string;
|
1267
|
+
messageId: string;
|
1268
1268
|
emailEngineAttachmentId: string;
|
1269
1269
|
uploadId: string;
|
1270
1270
|
}[];
|
@@ -1439,8 +1439,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1439
1439
|
extension_name: string;
|
1440
1440
|
};
|
1441
1441
|
roomId: string;
|
1442
|
-
messageId: string;
|
1443
1442
|
fileType: string;
|
1443
|
+
messageId: string;
|
1444
1444
|
emailEngineAttachmentId: string;
|
1445
1445
|
uploadId: string;
|
1446
1446
|
}, {
|
@@ -1462,8 +1462,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1462
1462
|
extension_name: string;
|
1463
1463
|
};
|
1464
1464
|
roomId: string;
|
1465
|
-
messageId: string;
|
1466
1465
|
fileType: string;
|
1466
|
+
messageId: string;
|
1467
1467
|
emailEngineAttachmentId: string;
|
1468
1468
|
uploadId: string;
|
1469
1469
|
}>, "many">;
|
@@ -1536,8 +1536,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1536
1536
|
extension_name: string;
|
1537
1537
|
};
|
1538
1538
|
roomId: string;
|
1539
|
-
messageId: string;
|
1540
1539
|
fileType: string;
|
1540
|
+
messageId: string;
|
1541
1541
|
emailEngineAttachmentId: string;
|
1542
1542
|
uploadId: string;
|
1543
1543
|
}[];
|
@@ -1610,8 +1610,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1610
1610
|
extension_name: string;
|
1611
1611
|
};
|
1612
1612
|
roomId: string;
|
1613
|
-
messageId: string;
|
1614
1613
|
fileType: string;
|
1614
|
+
messageId: string;
|
1615
1615
|
emailEngineAttachmentId: string;
|
1616
1616
|
uploadId: string;
|
1617
1617
|
}[];
|
@@ -1873,8 +1873,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1873
1873
|
extension_name: string;
|
1874
1874
|
};
|
1875
1875
|
roomId: string;
|
1876
|
-
messageId: string;
|
1877
1876
|
fileType: string;
|
1877
|
+
messageId: string;
|
1878
1878
|
emailEngineAttachmentId: string;
|
1879
1879
|
uploadId: string;
|
1880
1880
|
}[];
|
@@ -2006,8 +2006,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2006
2006
|
extension_name: string;
|
2007
2007
|
};
|
2008
2008
|
roomId: string;
|
2009
|
-
messageId: string;
|
2010
2009
|
fileType: string;
|
2010
|
+
messageId: string;
|
2011
2011
|
emailEngineAttachmentId: string;
|
2012
2012
|
uploadId: string;
|
2013
2013
|
}[];
|
@@ -2081,8 +2081,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2081
2081
|
extension_name: string;
|
2082
2082
|
};
|
2083
2083
|
roomId: string;
|
2084
|
-
messageId: string;
|
2085
2084
|
fileType: string;
|
2085
|
+
messageId: string;
|
2086
2086
|
emailEngineAttachmentId: string;
|
2087
2087
|
uploadId: string;
|
2088
2088
|
}[];
|
@@ -2156,8 +2156,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2156
2156
|
extension_name: string;
|
2157
2157
|
};
|
2158
2158
|
roomId: string;
|
2159
|
-
messageId: string;
|
2160
2159
|
fileType: string;
|
2160
|
+
messageId: string;
|
2161
2161
|
emailEngineAttachmentId: string;
|
2162
2162
|
uploadId: string;
|
2163
2163
|
}[];
|
@@ -2283,8 +2283,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2283
2283
|
extension_name: string;
|
2284
2284
|
};
|
2285
2285
|
roomId: string;
|
2286
|
-
messageId: string;
|
2287
2286
|
fileType: string;
|
2287
|
+
messageId: string;
|
2288
2288
|
emailEngineAttachmentId: string;
|
2289
2289
|
uploadId: string;
|
2290
2290
|
}[];
|
@@ -2416,8 +2416,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2416
2416
|
extension_name: string;
|
2417
2417
|
};
|
2418
2418
|
roomId: string;
|
2419
|
-
messageId: string;
|
2420
2419
|
fileType: string;
|
2420
|
+
messageId: string;
|
2421
2421
|
emailEngineAttachmentId: string;
|
2422
2422
|
uploadId: string;
|
2423
2423
|
}[];
|
@@ -2491,8 +2491,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2491
2491
|
extension_name: string;
|
2492
2492
|
};
|
2493
2493
|
roomId: string;
|
2494
|
-
messageId: string;
|
2495
2494
|
fileType: string;
|
2495
|
+
messageId: string;
|
2496
2496
|
emailEngineAttachmentId: string;
|
2497
2497
|
uploadId: string;
|
2498
2498
|
}[];
|
@@ -2566,8 +2566,8 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2566
2566
|
extension_name: string;
|
2567
2567
|
};
|
2568
2568
|
roomId: string;
|
2569
|
-
messageId: string;
|
2570
2569
|
fileType: string;
|
2570
|
+
messageId: string;
|
2571
2571
|
emailEngineAttachmentId: string;
|
2572
2572
|
uploadId: string;
|
2573
2573
|
}[];
|
@@ -2667,8 +2667,8 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
2667
2667
|
fileKey: string;
|
2668
2668
|
};
|
2669
2669
|
roomId: string;
|
2670
|
-
messageId: string;
|
2671
2670
|
fileType: string;
|
2671
|
+
messageId: string;
|
2672
2672
|
emailEngineAttachmentId: string;
|
2673
2673
|
uploadId: string;
|
2674
2674
|
}, {
|
@@ -2684,8 +2684,8 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
2684
2684
|
fileKey: string;
|
2685
2685
|
};
|
2686
2686
|
roomId: string;
|
2687
|
-
messageId: string;
|
2688
2687
|
fileType: string;
|
2688
|
+
messageId: string;
|
2689
2689
|
emailEngineAttachmentId: string;
|
2690
2690
|
uploadId: string;
|
2691
2691
|
}>;
|
@@ -9,14 +9,204 @@ export declare const telephonyExtensionContract: {
|
|
9
9
|
errcode: z.ZodNumber;
|
10
10
|
errmsg: z.ZodString;
|
11
11
|
total_number: z.ZodNumber;
|
12
|
-
data: z.ZodArray<z.ZodObject<{
|
12
|
+
data: z.ZodArray<z.ZodObject<{
|
13
|
+
id: z.ZodNumber;
|
14
|
+
online_status: z.ZodOptional<z.ZodObject<{
|
15
|
+
fx_phone: z.ZodObject<{
|
16
|
+
status: z.ZodNumber;
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
18
|
+
status: number;
|
19
|
+
}, {
|
20
|
+
status: number;
|
21
|
+
}>;
|
22
|
+
sip_phone: z.ZodObject<{
|
23
|
+
status: z.ZodNumber;
|
24
|
+
ext_dev_type: z.ZodOptional<z.ZodString>;
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
26
|
+
status: number;
|
27
|
+
ext_dev_type?: string | undefined;
|
28
|
+
}, {
|
29
|
+
status: number;
|
30
|
+
ext_dev_type?: string | undefined;
|
31
|
+
}>;
|
32
|
+
linkus_desktop: z.ZodObject<{
|
33
|
+
status: z.ZodNumber;
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
35
|
+
status: number;
|
36
|
+
}, {
|
37
|
+
status: number;
|
38
|
+
}>;
|
39
|
+
linkus_mobile: z.ZodObject<{
|
40
|
+
status: z.ZodNumber;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
status: number;
|
43
|
+
}, {
|
44
|
+
status: number;
|
45
|
+
}>;
|
46
|
+
linkus_web: z.ZodObject<{
|
47
|
+
status: z.ZodNumber;
|
48
|
+
ext_dev_type: z.ZodOptional<z.ZodString>;
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
50
|
+
status: number;
|
51
|
+
ext_dev_type?: string | undefined;
|
52
|
+
}, {
|
53
|
+
status: number;
|
54
|
+
ext_dev_type?: string | undefined;
|
55
|
+
}>;
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
57
|
+
fx_phone: {
|
58
|
+
status: number;
|
59
|
+
};
|
60
|
+
sip_phone: {
|
61
|
+
status: number;
|
62
|
+
ext_dev_type?: string | undefined;
|
63
|
+
};
|
64
|
+
linkus_desktop: {
|
65
|
+
status: number;
|
66
|
+
};
|
67
|
+
linkus_mobile: {
|
68
|
+
status: number;
|
69
|
+
};
|
70
|
+
linkus_web: {
|
71
|
+
status: number;
|
72
|
+
ext_dev_type?: string | undefined;
|
73
|
+
};
|
74
|
+
}, {
|
75
|
+
fx_phone: {
|
76
|
+
status: number;
|
77
|
+
};
|
78
|
+
sip_phone: {
|
79
|
+
status: number;
|
80
|
+
ext_dev_type?: string | undefined;
|
81
|
+
};
|
82
|
+
linkus_desktop: {
|
83
|
+
status: number;
|
84
|
+
};
|
85
|
+
linkus_mobile: {
|
86
|
+
status: number;
|
87
|
+
};
|
88
|
+
linkus_web: {
|
89
|
+
status: number;
|
90
|
+
ext_dev_type?: string | undefined;
|
91
|
+
};
|
92
|
+
}>>;
|
93
|
+
presence_status: z.ZodOptional<z.ZodString>;
|
94
|
+
number: z.ZodOptional<z.ZodString>;
|
95
|
+
call_id_name: z.ZodOptional<z.ZodString>;
|
96
|
+
role_name: z.ZodOptional<z.ZodString>;
|
97
|
+
email_addr: z.ZodOptional<z.ZodString>;
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
99
|
+
id: number;
|
100
|
+
online_status?: {
|
101
|
+
fx_phone: {
|
102
|
+
status: number;
|
103
|
+
};
|
104
|
+
sip_phone: {
|
105
|
+
status: number;
|
106
|
+
ext_dev_type?: string | undefined;
|
107
|
+
};
|
108
|
+
linkus_desktop: {
|
109
|
+
status: number;
|
110
|
+
};
|
111
|
+
linkus_mobile: {
|
112
|
+
status: number;
|
113
|
+
};
|
114
|
+
linkus_web: {
|
115
|
+
status: number;
|
116
|
+
ext_dev_type?: string | undefined;
|
117
|
+
};
|
118
|
+
} | undefined;
|
119
|
+
presence_status?: string | undefined;
|
120
|
+
number?: string | undefined;
|
121
|
+
call_id_name?: string | undefined;
|
122
|
+
role_name?: string | undefined;
|
123
|
+
email_addr?: string | undefined;
|
124
|
+
}, {
|
125
|
+
id: number;
|
126
|
+
online_status?: {
|
127
|
+
fx_phone: {
|
128
|
+
status: number;
|
129
|
+
};
|
130
|
+
sip_phone: {
|
131
|
+
status: number;
|
132
|
+
ext_dev_type?: string | undefined;
|
133
|
+
};
|
134
|
+
linkus_desktop: {
|
135
|
+
status: number;
|
136
|
+
};
|
137
|
+
linkus_mobile: {
|
138
|
+
status: number;
|
139
|
+
};
|
140
|
+
linkus_web: {
|
141
|
+
status: number;
|
142
|
+
ext_dev_type?: string | undefined;
|
143
|
+
};
|
144
|
+
} | undefined;
|
145
|
+
presence_status?: string | undefined;
|
146
|
+
number?: string | undefined;
|
147
|
+
call_id_name?: string | undefined;
|
148
|
+
role_name?: string | undefined;
|
149
|
+
email_addr?: string | undefined;
|
150
|
+
}>, "many">;
|
13
151
|
}, "strip", z.ZodTypeAny, {
|
14
|
-
data: {
|
152
|
+
data: {
|
153
|
+
id: number;
|
154
|
+
online_status?: {
|
155
|
+
fx_phone: {
|
156
|
+
status: number;
|
157
|
+
};
|
158
|
+
sip_phone: {
|
159
|
+
status: number;
|
160
|
+
ext_dev_type?: string | undefined;
|
161
|
+
};
|
162
|
+
linkus_desktop: {
|
163
|
+
status: number;
|
164
|
+
};
|
165
|
+
linkus_mobile: {
|
166
|
+
status: number;
|
167
|
+
};
|
168
|
+
linkus_web: {
|
169
|
+
status: number;
|
170
|
+
ext_dev_type?: string | undefined;
|
171
|
+
};
|
172
|
+
} | undefined;
|
173
|
+
presence_status?: string | undefined;
|
174
|
+
number?: string | undefined;
|
175
|
+
call_id_name?: string | undefined;
|
176
|
+
role_name?: string | undefined;
|
177
|
+
email_addr?: string | undefined;
|
178
|
+
}[];
|
15
179
|
errcode: number;
|
16
180
|
errmsg: string;
|
17
181
|
total_number: number;
|
18
182
|
}, {
|
19
|
-
data: {
|
183
|
+
data: {
|
184
|
+
id: number;
|
185
|
+
online_status?: {
|
186
|
+
fx_phone: {
|
187
|
+
status: number;
|
188
|
+
};
|
189
|
+
sip_phone: {
|
190
|
+
status: number;
|
191
|
+
ext_dev_type?: string | undefined;
|
192
|
+
};
|
193
|
+
linkus_desktop: {
|
194
|
+
status: number;
|
195
|
+
};
|
196
|
+
linkus_mobile: {
|
197
|
+
status: number;
|
198
|
+
};
|
199
|
+
linkus_web: {
|
200
|
+
status: number;
|
201
|
+
ext_dev_type?: string | undefined;
|
202
|
+
};
|
203
|
+
} | undefined;
|
204
|
+
presence_status?: string | undefined;
|
205
|
+
number?: string | undefined;
|
206
|
+
call_id_name?: string | undefined;
|
207
|
+
role_name?: string | undefined;
|
208
|
+
email_addr?: string | undefined;
|
209
|
+
}[];
|
20
210
|
errcode: number;
|
21
211
|
errmsg: string;
|
22
212
|
total_number: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/telephony-extension/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,0BAA0B
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/telephony-extension/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBtC,CAAC"}
|
@@ -3,14 +3,204 @@ export declare const TelephonyExtensionSchema: z.ZodObject<{
|
|
3
3
|
errcode: z.ZodNumber;
|
4
4
|
errmsg: z.ZodString;
|
5
5
|
total_number: z.ZodNumber;
|
6
|
-
data: z.ZodArray<z.ZodObject<{
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
7
|
+
id: z.ZodNumber;
|
8
|
+
online_status: z.ZodOptional<z.ZodObject<{
|
9
|
+
fx_phone: z.ZodObject<{
|
10
|
+
status: z.ZodNumber;
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
12
|
+
status: number;
|
13
|
+
}, {
|
14
|
+
status: number;
|
15
|
+
}>;
|
16
|
+
sip_phone: z.ZodObject<{
|
17
|
+
status: z.ZodNumber;
|
18
|
+
ext_dev_type: z.ZodOptional<z.ZodString>;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
status: number;
|
21
|
+
ext_dev_type?: string | undefined;
|
22
|
+
}, {
|
23
|
+
status: number;
|
24
|
+
ext_dev_type?: string | undefined;
|
25
|
+
}>;
|
26
|
+
linkus_desktop: z.ZodObject<{
|
27
|
+
status: z.ZodNumber;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
status: number;
|
30
|
+
}, {
|
31
|
+
status: number;
|
32
|
+
}>;
|
33
|
+
linkus_mobile: z.ZodObject<{
|
34
|
+
status: z.ZodNumber;
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
36
|
+
status: number;
|
37
|
+
}, {
|
38
|
+
status: number;
|
39
|
+
}>;
|
40
|
+
linkus_web: z.ZodObject<{
|
41
|
+
status: z.ZodNumber;
|
42
|
+
ext_dev_type: z.ZodOptional<z.ZodString>;
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
44
|
+
status: number;
|
45
|
+
ext_dev_type?: string | undefined;
|
46
|
+
}, {
|
47
|
+
status: number;
|
48
|
+
ext_dev_type?: string | undefined;
|
49
|
+
}>;
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
51
|
+
fx_phone: {
|
52
|
+
status: number;
|
53
|
+
};
|
54
|
+
sip_phone: {
|
55
|
+
status: number;
|
56
|
+
ext_dev_type?: string | undefined;
|
57
|
+
};
|
58
|
+
linkus_desktop: {
|
59
|
+
status: number;
|
60
|
+
};
|
61
|
+
linkus_mobile: {
|
62
|
+
status: number;
|
63
|
+
};
|
64
|
+
linkus_web: {
|
65
|
+
status: number;
|
66
|
+
ext_dev_type?: string | undefined;
|
67
|
+
};
|
68
|
+
}, {
|
69
|
+
fx_phone: {
|
70
|
+
status: number;
|
71
|
+
};
|
72
|
+
sip_phone: {
|
73
|
+
status: number;
|
74
|
+
ext_dev_type?: string | undefined;
|
75
|
+
};
|
76
|
+
linkus_desktop: {
|
77
|
+
status: number;
|
78
|
+
};
|
79
|
+
linkus_mobile: {
|
80
|
+
status: number;
|
81
|
+
};
|
82
|
+
linkus_web: {
|
83
|
+
status: number;
|
84
|
+
ext_dev_type?: string | undefined;
|
85
|
+
};
|
86
|
+
}>>;
|
87
|
+
presence_status: z.ZodOptional<z.ZodString>;
|
88
|
+
number: z.ZodOptional<z.ZodString>;
|
89
|
+
call_id_name: z.ZodOptional<z.ZodString>;
|
90
|
+
role_name: z.ZodOptional<z.ZodString>;
|
91
|
+
email_addr: z.ZodOptional<z.ZodString>;
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
93
|
+
id: number;
|
94
|
+
online_status?: {
|
95
|
+
fx_phone: {
|
96
|
+
status: number;
|
97
|
+
};
|
98
|
+
sip_phone: {
|
99
|
+
status: number;
|
100
|
+
ext_dev_type?: string | undefined;
|
101
|
+
};
|
102
|
+
linkus_desktop: {
|
103
|
+
status: number;
|
104
|
+
};
|
105
|
+
linkus_mobile: {
|
106
|
+
status: number;
|
107
|
+
};
|
108
|
+
linkus_web: {
|
109
|
+
status: number;
|
110
|
+
ext_dev_type?: string | undefined;
|
111
|
+
};
|
112
|
+
} | undefined;
|
113
|
+
presence_status?: string | undefined;
|
114
|
+
number?: string | undefined;
|
115
|
+
call_id_name?: string | undefined;
|
116
|
+
role_name?: string | undefined;
|
117
|
+
email_addr?: string | undefined;
|
118
|
+
}, {
|
119
|
+
id: number;
|
120
|
+
online_status?: {
|
121
|
+
fx_phone: {
|
122
|
+
status: number;
|
123
|
+
};
|
124
|
+
sip_phone: {
|
125
|
+
status: number;
|
126
|
+
ext_dev_type?: string | undefined;
|
127
|
+
};
|
128
|
+
linkus_desktop: {
|
129
|
+
status: number;
|
130
|
+
};
|
131
|
+
linkus_mobile: {
|
132
|
+
status: number;
|
133
|
+
};
|
134
|
+
linkus_web: {
|
135
|
+
status: number;
|
136
|
+
ext_dev_type?: string | undefined;
|
137
|
+
};
|
138
|
+
} | undefined;
|
139
|
+
presence_status?: string | undefined;
|
140
|
+
number?: string | undefined;
|
141
|
+
call_id_name?: string | undefined;
|
142
|
+
role_name?: string | undefined;
|
143
|
+
email_addr?: string | undefined;
|
144
|
+
}>, "many">;
|
7
145
|
}, "strip", z.ZodTypeAny, {
|
8
|
-
data: {
|
146
|
+
data: {
|
147
|
+
id: number;
|
148
|
+
online_status?: {
|
149
|
+
fx_phone: {
|
150
|
+
status: number;
|
151
|
+
};
|
152
|
+
sip_phone: {
|
153
|
+
status: number;
|
154
|
+
ext_dev_type?: string | undefined;
|
155
|
+
};
|
156
|
+
linkus_desktop: {
|
157
|
+
status: number;
|
158
|
+
};
|
159
|
+
linkus_mobile: {
|
160
|
+
status: number;
|
161
|
+
};
|
162
|
+
linkus_web: {
|
163
|
+
status: number;
|
164
|
+
ext_dev_type?: string | undefined;
|
165
|
+
};
|
166
|
+
} | undefined;
|
167
|
+
presence_status?: string | undefined;
|
168
|
+
number?: string | undefined;
|
169
|
+
call_id_name?: string | undefined;
|
170
|
+
role_name?: string | undefined;
|
171
|
+
email_addr?: string | undefined;
|
172
|
+
}[];
|
9
173
|
errcode: number;
|
10
174
|
errmsg: string;
|
11
175
|
total_number: number;
|
12
176
|
}, {
|
13
|
-
data: {
|
177
|
+
data: {
|
178
|
+
id: number;
|
179
|
+
online_status?: {
|
180
|
+
fx_phone: {
|
181
|
+
status: number;
|
182
|
+
};
|
183
|
+
sip_phone: {
|
184
|
+
status: number;
|
185
|
+
ext_dev_type?: string | undefined;
|
186
|
+
};
|
187
|
+
linkus_desktop: {
|
188
|
+
status: number;
|
189
|
+
};
|
190
|
+
linkus_mobile: {
|
191
|
+
status: number;
|
192
|
+
};
|
193
|
+
linkus_web: {
|
194
|
+
status: number;
|
195
|
+
ext_dev_type?: string | undefined;
|
196
|
+
};
|
197
|
+
} | undefined;
|
198
|
+
presence_status?: string | undefined;
|
199
|
+
number?: string | undefined;
|
200
|
+
call_id_name?: string | undefined;
|
201
|
+
role_name?: string | undefined;
|
202
|
+
email_addr?: string | undefined;
|
203
|
+
}[];
|
14
204
|
errcode: number;
|
15
205
|
errmsg: string;
|
16
206
|
total_number: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/telephony-extension/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,wBAAwB
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/telephony-extension/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnC,CAAC"}
|