@kl1/contracts 1.0.66 → 1.0.67
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 +2329 -2329
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2329 -2329
- package/dist/index.mjs.map +1 -1
- package/dist/src/call-log/schema.d.ts +4 -4
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/channel/index.d.ts +67 -707
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +19 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +600 -600
- package/dist/src/chat/schema.d.ts +74 -74
- package/dist/src/chat/validation.d.ts +128 -128
- package/dist/src/comment/index.d.ts +609 -609
- package/dist/src/comment/schema.d.ts +144 -144
- package/dist/src/contract.d.ts +3385 -4031
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +90 -90
- package/dist/src/cx-log/schema.d.ts +62 -62
- package/dist/src/instagram/index.d.ts +78 -78
- package/dist/src/line/index.d.ts +96 -96
- package/dist/src/line/schema.d.ts +19 -19
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +24 -24
- package/dist/src/mail/room-contract.d.ts +24 -24
- package/dist/src/mail/schemas/room-validation.schema.d.ts +8 -8
- package/dist/src/mail/schemas/room.schema.d.ts +4 -4
- package/dist/src/messenger/index.d.ts +78 -78
- package/dist/src/telephony-cdr/index.d.ts +38 -38
- package/dist/src/telephony-cdr/schema.d.ts +6 -6
- package/dist/src/telephony-cdr/validation.d.ts +5 -5
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +1084 -1084
- package/dist/src/ticket/schema.d.ts +72 -72
- package/dist/src/ticket/validation.d.ts +12 -12
- package/dist/src/user-presence-status-log/index.d.ts +4 -9
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/validation.d.ts +7 -0
- package/dist/src/user-presence-status-log/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +19 -19
- package/dist/src/wrap-up-form/schema.d.ts +2 -2
- package/dist/src/wrap-up-form/validation.d.ts +3 -3
- package/package.json +1 -1
@@ -1245,10 +1245,11 @@ export declare const telephonyCdrContract: {
|
|
1245
1245
|
updatedAt: Date;
|
1246
1246
|
deletedAt: Date | null;
|
1247
1247
|
extensionId: string | null;
|
1248
|
-
|
1249
|
-
timeStart: string;
|
1248
|
+
contactId: string | null;
|
1250
1249
|
callFrom: string;
|
1251
1250
|
callTo: string;
|
1251
|
+
uniqueCallId: string;
|
1252
|
+
timeStart: string;
|
1252
1253
|
callDuration: number | null;
|
1253
1254
|
talkDuration: number | null;
|
1254
1255
|
srcTrunkName: string | null;
|
@@ -1259,7 +1260,6 @@ export declare const telephonyCdrContract: {
|
|
1259
1260
|
uploadId: string | null;
|
1260
1261
|
serialNumber: string | null;
|
1261
1262
|
telephonyQueueId: string | null;
|
1262
|
-
contactId: string | null;
|
1263
1263
|
contact?: {
|
1264
1264
|
id: string;
|
1265
1265
|
channel: string | null;
|
@@ -1452,10 +1452,11 @@ export declare const telephonyCdrContract: {
|
|
1452
1452
|
updatedAt: Date;
|
1453
1453
|
deletedAt: Date | null;
|
1454
1454
|
extensionId: string | null;
|
1455
|
-
|
1456
|
-
timeStart: string;
|
1455
|
+
contactId: string | null;
|
1457
1456
|
callFrom: string;
|
1458
1457
|
callTo: string;
|
1458
|
+
uniqueCallId: string;
|
1459
|
+
timeStart: string;
|
1459
1460
|
callDuration: number | null;
|
1460
1461
|
talkDuration: number | null;
|
1461
1462
|
srcTrunkName: string | null;
|
@@ -1466,7 +1467,6 @@ export declare const telephonyCdrContract: {
|
|
1466
1467
|
uploadId: string | null;
|
1467
1468
|
serialNumber: string | null;
|
1468
1469
|
telephonyQueueId: string | null;
|
1469
|
-
contactId: string | null;
|
1470
1470
|
contact?: {
|
1471
1471
|
id: string;
|
1472
1472
|
channel: string | null;
|
@@ -1665,10 +1665,11 @@ export declare const telephonyCdrContract: {
|
|
1665
1665
|
updatedAt: Date;
|
1666
1666
|
deletedAt: Date | null;
|
1667
1667
|
extensionId: string | null;
|
1668
|
-
|
1669
|
-
timeStart: string;
|
1668
|
+
contactId: string | null;
|
1670
1669
|
callFrom: string;
|
1671
1670
|
callTo: string;
|
1671
|
+
uniqueCallId: string;
|
1672
|
+
timeStart: string;
|
1672
1673
|
callDuration: number | null;
|
1673
1674
|
talkDuration: number | null;
|
1674
1675
|
srcTrunkName: string | null;
|
@@ -1679,7 +1680,6 @@ export declare const telephonyCdrContract: {
|
|
1679
1680
|
uploadId: string | null;
|
1680
1681
|
serialNumber: string | null;
|
1681
1682
|
telephonyQueueId: string | null;
|
1682
|
-
contactId: string | null;
|
1683
1683
|
contact?: {
|
1684
1684
|
id: string;
|
1685
1685
|
channel: string | null;
|
@@ -1878,10 +1878,11 @@ export declare const telephonyCdrContract: {
|
|
1878
1878
|
updatedAt: Date;
|
1879
1879
|
deletedAt: Date | null;
|
1880
1880
|
extensionId: string | null;
|
1881
|
-
|
1882
|
-
timeStart: string;
|
1881
|
+
contactId: string | null;
|
1883
1882
|
callFrom: string;
|
1884
1883
|
callTo: string;
|
1884
|
+
uniqueCallId: string;
|
1885
|
+
timeStart: string;
|
1885
1886
|
callDuration: number | null;
|
1886
1887
|
talkDuration: number | null;
|
1887
1888
|
srcTrunkName: string | null;
|
@@ -1892,7 +1893,6 @@ export declare const telephonyCdrContract: {
|
|
1892
1893
|
uploadId: string | null;
|
1893
1894
|
serialNumber: string | null;
|
1894
1895
|
telephonyQueueId: string | null;
|
1895
|
-
contactId: string | null;
|
1896
1896
|
contact?: {
|
1897
1897
|
id: string;
|
1898
1898
|
channel: string | null;
|
@@ -3326,10 +3326,11 @@ export declare const telephonyCdrContract: {
|
|
3326
3326
|
updatedAt: Date;
|
3327
3327
|
deletedAt: Date | null;
|
3328
3328
|
extensionId: string | null;
|
3329
|
-
|
3330
|
-
timeStart: string;
|
3329
|
+
contactId: string | null;
|
3331
3330
|
callFrom: string;
|
3332
3331
|
callTo: string;
|
3332
|
+
uniqueCallId: string;
|
3333
|
+
timeStart: string;
|
3333
3334
|
callDuration: number | null;
|
3334
3335
|
talkDuration: number | null;
|
3335
3336
|
srcTrunkName: string | null;
|
@@ -3340,7 +3341,6 @@ export declare const telephonyCdrContract: {
|
|
3340
3341
|
uploadId: string | null;
|
3341
3342
|
serialNumber: string | null;
|
3342
3343
|
telephonyQueueId: string | null;
|
3343
|
-
contactId: string | null;
|
3344
3344
|
contact?: {
|
3345
3345
|
id: string;
|
3346
3346
|
channel: string | null;
|
@@ -3533,10 +3533,11 @@ export declare const telephonyCdrContract: {
|
|
3533
3533
|
updatedAt: Date;
|
3534
3534
|
deletedAt: Date | null;
|
3535
3535
|
extensionId: string | null;
|
3536
|
-
|
3537
|
-
timeStart: string;
|
3536
|
+
contactId: string | null;
|
3538
3537
|
callFrom: string;
|
3539
3538
|
callTo: string;
|
3539
|
+
uniqueCallId: string;
|
3540
|
+
timeStart: string;
|
3540
3541
|
callDuration: number | null;
|
3541
3542
|
talkDuration: number | null;
|
3542
3543
|
srcTrunkName: string | null;
|
@@ -3547,7 +3548,6 @@ export declare const telephonyCdrContract: {
|
|
3547
3548
|
uploadId: string | null;
|
3548
3549
|
serialNumber: string | null;
|
3549
3550
|
telephonyQueueId: string | null;
|
3550
|
-
contactId: string | null;
|
3551
3551
|
contact?: {
|
3552
3552
|
id: string;
|
3553
3553
|
channel: string | null;
|
@@ -3746,10 +3746,11 @@ export declare const telephonyCdrContract: {
|
|
3746
3746
|
updatedAt: Date;
|
3747
3747
|
deletedAt: Date | null;
|
3748
3748
|
extensionId: string | null;
|
3749
|
-
|
3750
|
-
timeStart: string;
|
3749
|
+
contactId: string | null;
|
3751
3750
|
callFrom: string;
|
3752
3751
|
callTo: string;
|
3752
|
+
uniqueCallId: string;
|
3753
|
+
timeStart: string;
|
3753
3754
|
callDuration: number | null;
|
3754
3755
|
talkDuration: number | null;
|
3755
3756
|
srcTrunkName: string | null;
|
@@ -3760,7 +3761,6 @@ export declare const telephonyCdrContract: {
|
|
3760
3761
|
uploadId: string | null;
|
3761
3762
|
serialNumber: string | null;
|
3762
3763
|
telephonyQueueId: string | null;
|
3763
|
-
contactId: string | null;
|
3764
3764
|
contact?: {
|
3765
3765
|
id: string;
|
3766
3766
|
channel: string | null;
|
@@ -3959,10 +3959,11 @@ export declare const telephonyCdrContract: {
|
|
3959
3959
|
updatedAt: Date;
|
3960
3960
|
deletedAt: Date | null;
|
3961
3961
|
extensionId: string | null;
|
3962
|
-
|
3963
|
-
timeStart: string;
|
3962
|
+
contactId: string | null;
|
3964
3963
|
callFrom: string;
|
3965
3964
|
callTo: string;
|
3965
|
+
uniqueCallId: string;
|
3966
|
+
timeStart: string;
|
3966
3967
|
callDuration: number | null;
|
3967
3968
|
talkDuration: number | null;
|
3968
3969
|
srcTrunkName: string | null;
|
@@ -3973,7 +3974,6 @@ export declare const telephonyCdrContract: {
|
|
3973
3974
|
uploadId: string | null;
|
3974
3975
|
serialNumber: string | null;
|
3975
3976
|
telephonyQueueId: string | null;
|
3976
|
-
contactId: string | null;
|
3977
3977
|
contact?: {
|
3978
3978
|
id: string;
|
3979
3979
|
channel: string | null;
|
@@ -5425,10 +5425,11 @@ export declare const telephonyCdrContract: {
|
|
5425
5425
|
updatedAt: Date;
|
5426
5426
|
deletedAt: Date | null;
|
5427
5427
|
extensionId: string | null;
|
5428
|
-
|
5429
|
-
timeStart: string;
|
5428
|
+
contactId: string | null;
|
5430
5429
|
callFrom: string;
|
5431
5430
|
callTo: string;
|
5431
|
+
uniqueCallId: string;
|
5432
|
+
timeStart: string;
|
5432
5433
|
callDuration: number | null;
|
5433
5434
|
talkDuration: number | null;
|
5434
5435
|
srcTrunkName: string | null;
|
@@ -5439,7 +5440,6 @@ export declare const telephonyCdrContract: {
|
|
5439
5440
|
uploadId: string | null;
|
5440
5441
|
serialNumber: string | null;
|
5441
5442
|
telephonyQueueId: string | null;
|
5442
|
-
contactId: string | null;
|
5443
5443
|
contact?: {
|
5444
5444
|
id: string;
|
5445
5445
|
channel: string | null;
|
@@ -5632,10 +5632,11 @@ export declare const telephonyCdrContract: {
|
|
5632
5632
|
updatedAt: Date;
|
5633
5633
|
deletedAt: Date | null;
|
5634
5634
|
extensionId: string | null;
|
5635
|
-
|
5636
|
-
timeStart: string;
|
5635
|
+
contactId: string | null;
|
5637
5636
|
callFrom: string;
|
5638
5637
|
callTo: string;
|
5638
|
+
uniqueCallId: string;
|
5639
|
+
timeStart: string;
|
5639
5640
|
callDuration: number | null;
|
5640
5641
|
talkDuration: number | null;
|
5641
5642
|
srcTrunkName: string | null;
|
@@ -5646,7 +5647,6 @@ export declare const telephonyCdrContract: {
|
|
5646
5647
|
uploadId: string | null;
|
5647
5648
|
serialNumber: string | null;
|
5648
5649
|
telephonyQueueId: string | null;
|
5649
|
-
contactId: string | null;
|
5650
5650
|
contact?: {
|
5651
5651
|
id: string;
|
5652
5652
|
channel: string | null;
|
@@ -5845,10 +5845,11 @@ export declare const telephonyCdrContract: {
|
|
5845
5845
|
updatedAt: Date;
|
5846
5846
|
deletedAt: Date | null;
|
5847
5847
|
extensionId: string | null;
|
5848
|
-
|
5849
|
-
timeStart: string;
|
5848
|
+
contactId: string | null;
|
5850
5849
|
callFrom: string;
|
5851
5850
|
callTo: string;
|
5851
|
+
uniqueCallId: string;
|
5852
|
+
timeStart: string;
|
5852
5853
|
callDuration: number | null;
|
5853
5854
|
talkDuration: number | null;
|
5854
5855
|
srcTrunkName: string | null;
|
@@ -5859,7 +5860,6 @@ export declare const telephonyCdrContract: {
|
|
5859
5860
|
uploadId: string | null;
|
5860
5861
|
serialNumber: string | null;
|
5861
5862
|
telephonyQueueId: string | null;
|
5862
|
-
contactId: string | null;
|
5863
5863
|
contact?: {
|
5864
5864
|
id: string;
|
5865
5865
|
channel: string | null;
|
@@ -6058,10 +6058,11 @@ export declare const telephonyCdrContract: {
|
|
6058
6058
|
updatedAt: Date;
|
6059
6059
|
deletedAt: Date | null;
|
6060
6060
|
extensionId: string | null;
|
6061
|
-
|
6062
|
-
timeStart: string;
|
6061
|
+
contactId: string | null;
|
6063
6062
|
callFrom: string;
|
6064
6063
|
callTo: string;
|
6064
|
+
uniqueCallId: string;
|
6065
|
+
timeStart: string;
|
6065
6066
|
callDuration: number | null;
|
6066
6067
|
talkDuration: number | null;
|
6067
6068
|
srcTrunkName: string | null;
|
@@ -6072,7 +6073,6 @@ export declare const telephonyCdrContract: {
|
|
6072
6073
|
uploadId: string | null;
|
6073
6074
|
serialNumber: string | null;
|
6074
6075
|
telephonyQueueId: string | null;
|
6075
|
-
contactId: string | null;
|
6076
6076
|
contact?: {
|
6077
6077
|
id: string;
|
6078
6078
|
channel: string | null;
|
@@ -6365,7 +6365,7 @@ export declare const telephonyCdrContract: {
|
|
6365
6365
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
6366
6366
|
reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
|
6367
6367
|
selectedDate: z.ZodOptional<z.ZodString>;
|
6368
|
-
communicationType: z.ZodOptional<z.
|
6368
|
+
communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
|
6369
6369
|
time: z.ZodOptional<z.ZodString>;
|
6370
6370
|
queueList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6371
6371
|
queueId: z.ZodOptional<z.ZodString>;
|
@@ -7076,7 +7076,7 @@ export declare const telephonyCdrContract: {
|
|
7076
7076
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
7077
7077
|
reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
|
7078
7078
|
selectedDate: z.ZodOptional<z.ZodString>;
|
7079
|
-
communicationType: z.ZodOptional<z.
|
7079
|
+
communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
|
7080
7080
|
time: z.ZodOptional<z.ZodString>;
|
7081
7081
|
queueList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7082
7082
|
queueId: z.ZodOptional<z.ZodString>;
|
@@ -1181,10 +1181,11 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1181
1181
|
updatedAt: Date;
|
1182
1182
|
deletedAt: Date | null;
|
1183
1183
|
extensionId: string | null;
|
1184
|
-
|
1185
|
-
timeStart: string;
|
1184
|
+
contactId: string | null;
|
1186
1185
|
callFrom: string;
|
1187
1186
|
callTo: string;
|
1187
|
+
uniqueCallId: string;
|
1188
|
+
timeStart: string;
|
1188
1189
|
callDuration: number | null;
|
1189
1190
|
talkDuration: number | null;
|
1190
1191
|
srcTrunkName: string | null;
|
@@ -1195,7 +1196,6 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1195
1196
|
uploadId: string | null;
|
1196
1197
|
serialNumber: string | null;
|
1197
1198
|
telephonyQueueId: string | null;
|
1198
|
-
contactId: string | null;
|
1199
1199
|
contact?: {
|
1200
1200
|
id: string;
|
1201
1201
|
channel: string | null;
|
@@ -1388,10 +1388,11 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1388
1388
|
updatedAt: Date;
|
1389
1389
|
deletedAt: Date | null;
|
1390
1390
|
extensionId: string | null;
|
1391
|
-
|
1392
|
-
timeStart: string;
|
1391
|
+
contactId: string | null;
|
1393
1392
|
callFrom: string;
|
1394
1393
|
callTo: string;
|
1394
|
+
uniqueCallId: string;
|
1395
|
+
timeStart: string;
|
1395
1396
|
callDuration: number | null;
|
1396
1397
|
talkDuration: number | null;
|
1397
1398
|
srcTrunkName: string | null;
|
@@ -1402,7 +1403,6 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1402
1403
|
uploadId: string | null;
|
1403
1404
|
serialNumber: string | null;
|
1404
1405
|
telephonyQueueId: string | null;
|
1405
|
-
contactId: string | null;
|
1406
1406
|
contact?: {
|
1407
1407
|
id: string;
|
1408
1408
|
channel: string | null;
|
@@ -18,10 +18,10 @@ export declare const CreateTelephonyCdrSchema: z.ZodObject<{
|
|
18
18
|
type: string;
|
19
19
|
recording: string | null;
|
20
20
|
status: string;
|
21
|
-
uniqueCallId: string;
|
22
|
-
timeStart: string;
|
23
21
|
callFrom: string;
|
24
22
|
callTo: string;
|
23
|
+
uniqueCallId: string;
|
24
|
+
timeStart: string;
|
25
25
|
callDuration: number | null;
|
26
26
|
talkDuration: number | null;
|
27
27
|
srcTrunkName: string | null;
|
@@ -33,10 +33,10 @@ export declare const CreateTelephonyCdrSchema: z.ZodObject<{
|
|
33
33
|
type: string;
|
34
34
|
recording: string | null;
|
35
35
|
status: string;
|
36
|
-
uniqueCallId: string;
|
37
|
-
timeStart: string;
|
38
36
|
callFrom: string;
|
39
37
|
callTo: string;
|
38
|
+
uniqueCallId: string;
|
39
|
+
timeStart: string;
|
40
40
|
callDuration: number | null;
|
41
41
|
talkDuration: number | null;
|
42
42
|
srcTrunkName: string | null;
|
@@ -152,7 +152,7 @@ export declare const GetYeastarCallReportSchema: z.ZodEffects<z.ZodObject<{
|
|
152
152
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
153
153
|
reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
|
154
154
|
selectedDate: z.ZodOptional<z.ZodString>;
|
155
|
-
communicationType: z.ZodOptional<z.
|
155
|
+
communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
|
156
156
|
time: z.ZodOptional<z.ZodString>;
|
157
157
|
queueList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
158
158
|
queueId: z.ZodOptional<z.ZodString>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/telephony-cdr/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAenC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKvC,CAAC;AAKF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/telephony-cdr/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAenC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKvC,CAAC;AAKF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwHrC,CAAC"}
|