@kl1/contracts 1.0.33 → 1.0.35
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 +101 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +101 -26
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +564 -1
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +11644 -11982
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +44 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +896 -1401
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +155 -395
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +45 -117
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +77 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +16 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +63 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1887 -6248
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +127 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +101 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7 -0
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +7 -0
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +5 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +280 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +112 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +53 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +46 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +245 -629
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +60 -168
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +3 -0
- package/dist/src/upload/schema.d.ts.map +1 -1
- package/package.json +46 -47
@@ -322,6 +322,7 @@ export declare const messengerContract: {
|
|
322
322
|
fileName: z.ZodString;
|
323
323
|
fileSize: z.ZodNumber;
|
324
324
|
fileKey: z.ZodString;
|
325
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
325
326
|
}, "strip", z.ZodTypeAny, {
|
326
327
|
id: string;
|
327
328
|
createdAt: Date;
|
@@ -331,6 +332,7 @@ export declare const messengerContract: {
|
|
331
332
|
fileKey: string;
|
332
333
|
bucketName: string;
|
333
334
|
fileSize: number;
|
335
|
+
fileUrl: string | null;
|
334
336
|
}, {
|
335
337
|
id: string;
|
336
338
|
createdAt: Date;
|
@@ -340,6 +342,7 @@ export declare const messengerContract: {
|
|
340
342
|
fileKey: string;
|
341
343
|
bucketName: string;
|
342
344
|
fileSize: number;
|
345
|
+
fileUrl: string | null;
|
343
346
|
}>>;
|
344
347
|
sender: z.ZodObject<{
|
345
348
|
name: z.ZodString;
|
@@ -386,6 +389,7 @@ export declare const messengerContract: {
|
|
386
389
|
fileKey: string;
|
387
390
|
bucketName: string;
|
388
391
|
fileSize: number;
|
392
|
+
fileUrl: string | null;
|
389
393
|
} | undefined;
|
390
394
|
}, {
|
391
395
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
@@ -416,6 +420,7 @@ export declare const messengerContract: {
|
|
416
420
|
fileKey: string;
|
417
421
|
bucketName: string;
|
418
422
|
fileSize: number;
|
423
|
+
fileUrl: string | null;
|
419
424
|
} | undefined;
|
420
425
|
}>;
|
421
426
|
}, "strip", z.ZodTypeAny, {
|
@@ -448,6 +453,7 @@ export declare const messengerContract: {
|
|
448
453
|
fileKey: string;
|
449
454
|
bucketName: string;
|
450
455
|
fileSize: number;
|
456
|
+
fileUrl: string | null;
|
451
457
|
} | undefined;
|
452
458
|
};
|
453
459
|
room: {
|
@@ -534,6 +540,7 @@ export declare const messengerContract: {
|
|
534
540
|
fileKey: string;
|
535
541
|
bucketName: string;
|
536
542
|
fileSize: number;
|
543
|
+
fileUrl: string | null;
|
537
544
|
} | undefined;
|
538
545
|
};
|
539
546
|
room: {
|
@@ -950,6 +957,7 @@ export declare const messengerContract: {
|
|
950
957
|
fileName: z.ZodString;
|
951
958
|
fileSize: z.ZodNumber;
|
952
959
|
fileKey: z.ZodString;
|
960
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
953
961
|
}, "strip", z.ZodTypeAny, {
|
954
962
|
id: string;
|
955
963
|
createdAt: Date;
|
@@ -959,6 +967,7 @@ export declare const messengerContract: {
|
|
959
967
|
fileKey: string;
|
960
968
|
bucketName: string;
|
961
969
|
fileSize: number;
|
970
|
+
fileUrl: string | null;
|
962
971
|
}, {
|
963
972
|
id: string;
|
964
973
|
createdAt: Date;
|
@@ -968,6 +977,7 @@ export declare const messengerContract: {
|
|
968
977
|
fileKey: string;
|
969
978
|
bucketName: string;
|
970
979
|
fileSize: number;
|
980
|
+
fileUrl: string | null;
|
971
981
|
}>;
|
972
982
|
}, "strip", z.ZodTypeAny, {
|
973
983
|
id: string;
|
@@ -984,6 +994,7 @@ export declare const messengerContract: {
|
|
984
994
|
fileKey: string;
|
985
995
|
bucketName: string;
|
986
996
|
fileSize: number;
|
997
|
+
fileUrl: string | null;
|
987
998
|
};
|
988
999
|
}, {
|
989
1000
|
id: string;
|
@@ -1000,6 +1011,7 @@ export declare const messengerContract: {
|
|
1000
1011
|
fileKey: string;
|
1001
1012
|
bucketName: string;
|
1002
1013
|
fileSize: number;
|
1014
|
+
fileUrl: string | null;
|
1003
1015
|
};
|
1004
1016
|
}>, "many">;
|
1005
1017
|
}, "strip", z.ZodTypeAny, {
|
@@ -1040,6 +1052,7 @@ export declare const messengerContract: {
|
|
1040
1052
|
fileKey: string;
|
1041
1053
|
bucketName: string;
|
1042
1054
|
fileSize: number;
|
1055
|
+
fileUrl: string | null;
|
1043
1056
|
};
|
1044
1057
|
}[];
|
1045
1058
|
}, {
|
@@ -1080,6 +1093,7 @@ export declare const messengerContract: {
|
|
1080
1093
|
fileKey: string;
|
1081
1094
|
bucketName: string;
|
1082
1095
|
fileSize: number;
|
1096
|
+
fileUrl: string | null;
|
1083
1097
|
};
|
1084
1098
|
}[];
|
1085
1099
|
}>, "many">;
|
@@ -1233,6 +1247,7 @@ export declare const messengerContract: {
|
|
1233
1247
|
fileKey: string;
|
1234
1248
|
bucketName: string;
|
1235
1249
|
fileSize: number;
|
1250
|
+
fileUrl: string | null;
|
1236
1251
|
};
|
1237
1252
|
}[];
|
1238
1253
|
}[];
|
@@ -1334,6 +1349,7 @@ export declare const messengerContract: {
|
|
1334
1349
|
fileKey: string;
|
1335
1350
|
bucketName: string;
|
1336
1351
|
fileSize: number;
|
1352
|
+
fileUrl: string | null;
|
1337
1353
|
};
|
1338
1354
|
}[];
|
1339
1355
|
}[];
|
@@ -1449,6 +1465,7 @@ export declare const messengerContract: {
|
|
1449
1465
|
fileKey: string;
|
1450
1466
|
bucketName: string;
|
1451
1467
|
fileSize: number;
|
1468
|
+
fileUrl: string | null;
|
1452
1469
|
};
|
1453
1470
|
}[];
|
1454
1471
|
}[];
|
@@ -1565,6 +1582,7 @@ export declare const messengerContract: {
|
|
1565
1582
|
fileKey: string;
|
1566
1583
|
bucketName: string;
|
1567
1584
|
fileSize: number;
|
1585
|
+
fileUrl: string | null;
|
1568
1586
|
};
|
1569
1587
|
}[];
|
1570
1588
|
}[];
|
@@ -2636,6 +2654,7 @@ export declare const messengerContract: {
|
|
2636
2654
|
fileKey: string;
|
2637
2655
|
bucketName: string;
|
2638
2656
|
fileSize: number;
|
2657
|
+
fileUrl: string | null;
|
2639
2658
|
};
|
2640
2659
|
}[];
|
2641
2660
|
}[];
|
@@ -2950,6 +2969,7 @@ export declare const messengerContract: {
|
|
2950
2969
|
fileKey: string;
|
2951
2970
|
bucketName: string;
|
2952
2971
|
fileSize: number;
|
2972
|
+
fileUrl: string | null;
|
2953
2973
|
};
|
2954
2974
|
}[];
|
2955
2975
|
}[];
|
@@ -3159,6 +3179,7 @@ export declare const messengerContract: {
|
|
3159
3179
|
fileName: z.ZodString;
|
3160
3180
|
fileSize: z.ZodNumber;
|
3161
3181
|
fileKey: z.ZodString;
|
3182
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
3162
3183
|
}, "strip", z.ZodTypeAny, {
|
3163
3184
|
id: string;
|
3164
3185
|
createdAt: Date;
|
@@ -3168,6 +3189,7 @@ export declare const messengerContract: {
|
|
3168
3189
|
fileKey: string;
|
3169
3190
|
bucketName: string;
|
3170
3191
|
fileSize: number;
|
3192
|
+
fileUrl: string | null;
|
3171
3193
|
}, {
|
3172
3194
|
id: string;
|
3173
3195
|
createdAt: Date;
|
@@ -3177,6 +3199,7 @@ export declare const messengerContract: {
|
|
3177
3199
|
fileKey: string;
|
3178
3200
|
bucketName: string;
|
3179
3201
|
fileSize: number;
|
3202
|
+
fileUrl: string | null;
|
3180
3203
|
}>;
|
3181
3204
|
actor: z.ZodObject<{
|
3182
3205
|
id: z.ZodString;
|
@@ -3837,6 +3860,7 @@ export declare const messengerContract: {
|
|
3837
3860
|
fileKey: string;
|
3838
3861
|
bucketName: string;
|
3839
3862
|
fileSize: number;
|
3863
|
+
fileUrl: string | null;
|
3840
3864
|
};
|
3841
3865
|
assignee: {
|
3842
3866
|
id: string;
|
@@ -3996,6 +4020,7 @@ export declare const messengerContract: {
|
|
3996
4020
|
fileKey: string;
|
3997
4021
|
bucketName: string;
|
3998
4022
|
fileSize: number;
|
4023
|
+
fileUrl: string | null;
|
3999
4024
|
};
|
4000
4025
|
}[];
|
4001
4026
|
}[];
|
@@ -4309,6 +4334,7 @@ export declare const messengerContract: {
|
|
4309
4334
|
fileKey: string;
|
4310
4335
|
bucketName: string;
|
4311
4336
|
fileSize: number;
|
4337
|
+
fileUrl: string | null;
|
4312
4338
|
};
|
4313
4339
|
assignee: {
|
4314
4340
|
id: string;
|
@@ -4468,6 +4494,7 @@ export declare const messengerContract: {
|
|
4468
4494
|
fileKey: string;
|
4469
4495
|
bucketName: string;
|
4470
4496
|
fileSize: number;
|
4497
|
+
fileUrl: string | null;
|
4471
4498
|
};
|
4472
4499
|
}[];
|
4473
4500
|
}[];
|
@@ -4783,6 +4810,7 @@ export declare const messengerContract: {
|
|
4783
4810
|
fileKey: string;
|
4784
4811
|
bucketName: string;
|
4785
4812
|
fileSize: number;
|
4813
|
+
fileUrl: string | null;
|
4786
4814
|
};
|
4787
4815
|
assignee: {
|
4788
4816
|
id: string;
|
@@ -4942,6 +4970,7 @@ export declare const messengerContract: {
|
|
4942
4970
|
fileKey: string;
|
4943
4971
|
bucketName: string;
|
4944
4972
|
fileSize: number;
|
4973
|
+
fileUrl: string | null;
|
4945
4974
|
};
|
4946
4975
|
}[];
|
4947
4976
|
}[];
|
@@ -5258,6 +5287,7 @@ export declare const messengerContract: {
|
|
5258
5287
|
fileKey: string;
|
5259
5288
|
bucketName: string;
|
5260
5289
|
fileSize: number;
|
5290
|
+
fileUrl: string | null;
|
5261
5291
|
};
|
5262
5292
|
assignee: {
|
5263
5293
|
id: string;
|
@@ -5417,6 +5447,7 @@ export declare const messengerContract: {
|
|
5417
5447
|
fileKey: string;
|
5418
5448
|
bucketName: string;
|
5419
5449
|
fileSize: number;
|
5450
|
+
fileUrl: string | null;
|
5420
5451
|
};
|
5421
5452
|
}[];
|
5422
5453
|
}[];
|
@@ -6182,6 +6213,255 @@ export declare const messengerContract: {
|
|
6182
6213
|
};
|
6183
6214
|
path: "/disconnect";
|
6184
6215
|
};
|
6216
|
+
relogin: {
|
6217
|
+
body: z.ZodObject<{
|
6218
|
+
name: z.ZodOptional<z.ZodString>;
|
6219
|
+
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
6220
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
6221
|
+
id: z.ZodString;
|
6222
|
+
name: z.ZodString;
|
6223
|
+
accessToken: z.ZodString;
|
6224
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
6225
|
+
}, "strip", z.ZodTypeAny, {
|
6226
|
+
id: string;
|
6227
|
+
name: string;
|
6228
|
+
accessToken: string;
|
6229
|
+
additionalCredentials?: any;
|
6230
|
+
}, {
|
6231
|
+
id: string;
|
6232
|
+
name: string;
|
6233
|
+
accessToken: string;
|
6234
|
+
additionalCredentials?: any;
|
6235
|
+
}>>;
|
6236
|
+
platformId: z.ZodOptional<z.ZodString>;
|
6237
|
+
brandName: z.ZodOptional<z.ZodString>;
|
6238
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
6239
|
+
connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
6240
|
+
connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
6241
|
+
actor: z.ZodOptional<z.ZodObject<{
|
6242
|
+
id: z.ZodString;
|
6243
|
+
name: z.ZodString;
|
6244
|
+
email: z.ZodString;
|
6245
|
+
address: z.ZodNullable<z.ZodString>;
|
6246
|
+
phone: z.ZodNullable<z.ZodString>;
|
6247
|
+
}, "strip", z.ZodTypeAny, {
|
6248
|
+
id: string;
|
6249
|
+
address: string | null;
|
6250
|
+
name: string;
|
6251
|
+
email: string;
|
6252
|
+
phone: string | null;
|
6253
|
+
}, {
|
6254
|
+
id: string;
|
6255
|
+
address: string | null;
|
6256
|
+
name: string;
|
6257
|
+
email: string;
|
6258
|
+
phone: string | null;
|
6259
|
+
}>>;
|
6260
|
+
}, "strip", z.ZodTypeAny, {
|
6261
|
+
name?: string | undefined;
|
6262
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6263
|
+
metadata?: {
|
6264
|
+
id: string;
|
6265
|
+
name: string;
|
6266
|
+
accessToken: string;
|
6267
|
+
additionalCredentials?: any;
|
6268
|
+
} | undefined;
|
6269
|
+
platformId?: string | undefined;
|
6270
|
+
brandName?: string | undefined;
|
6271
|
+
status?: boolean | undefined;
|
6272
|
+
connectedUserName?: string | null | undefined;
|
6273
|
+
connectedUserId?: string | null | undefined;
|
6274
|
+
actor?: {
|
6275
|
+
id: string;
|
6276
|
+
address: string | null;
|
6277
|
+
name: string;
|
6278
|
+
email: string;
|
6279
|
+
phone: string | null;
|
6280
|
+
} | undefined;
|
6281
|
+
}, {
|
6282
|
+
name?: string | undefined;
|
6283
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6284
|
+
metadata?: {
|
6285
|
+
id: string;
|
6286
|
+
name: string;
|
6287
|
+
accessToken: string;
|
6288
|
+
additionalCredentials?: any;
|
6289
|
+
} | undefined;
|
6290
|
+
platformId?: string | undefined;
|
6291
|
+
brandName?: string | undefined;
|
6292
|
+
status?: boolean | undefined;
|
6293
|
+
connectedUserName?: string | null | undefined;
|
6294
|
+
connectedUserId?: string | null | undefined;
|
6295
|
+
actor?: {
|
6296
|
+
id: string;
|
6297
|
+
address: string | null;
|
6298
|
+
name: string;
|
6299
|
+
email: string;
|
6300
|
+
phone: string | null;
|
6301
|
+
} | undefined;
|
6302
|
+
}>;
|
6303
|
+
method: "POST";
|
6304
|
+
responses: {
|
6305
|
+
200: z.ZodObject<{
|
6306
|
+
requestId: z.ZodString;
|
6307
|
+
data: z.ZodObject<{
|
6308
|
+
name: z.ZodString;
|
6309
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
6310
|
+
metadata: z.ZodObject<{
|
6311
|
+
id: z.ZodString;
|
6312
|
+
name: z.ZodString;
|
6313
|
+
accessToken: z.ZodString;
|
6314
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
6315
|
+
}, "strip", z.ZodTypeAny, {
|
6316
|
+
id: string;
|
6317
|
+
name: string;
|
6318
|
+
accessToken: string;
|
6319
|
+
additionalCredentials?: any;
|
6320
|
+
}, {
|
6321
|
+
id: string;
|
6322
|
+
name: string;
|
6323
|
+
accessToken: string;
|
6324
|
+
additionalCredentials?: any;
|
6325
|
+
}>;
|
6326
|
+
platformId: z.ZodString;
|
6327
|
+
brandName: z.ZodString;
|
6328
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
6329
|
+
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6330
|
+
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6331
|
+
actor: z.ZodObject<{
|
6332
|
+
id: z.ZodString;
|
6333
|
+
name: z.ZodString;
|
6334
|
+
email: z.ZodString;
|
6335
|
+
address: z.ZodNullable<z.ZodString>;
|
6336
|
+
phone: z.ZodNullable<z.ZodString>;
|
6337
|
+
}, "strip", z.ZodTypeAny, {
|
6338
|
+
id: string;
|
6339
|
+
address: string | null;
|
6340
|
+
name: string;
|
6341
|
+
email: string;
|
6342
|
+
phone: string | null;
|
6343
|
+
}, {
|
6344
|
+
id: string;
|
6345
|
+
address: string | null;
|
6346
|
+
name: string;
|
6347
|
+
email: string;
|
6348
|
+
phone: string | null;
|
6349
|
+
}>;
|
6350
|
+
}, "strip", z.ZodTypeAny, {
|
6351
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6352
|
+
name: string;
|
6353
|
+
metadata: {
|
6354
|
+
id: string;
|
6355
|
+
name: string;
|
6356
|
+
accessToken: string;
|
6357
|
+
additionalCredentials?: any;
|
6358
|
+
};
|
6359
|
+
status: boolean;
|
6360
|
+
brandName: string;
|
6361
|
+
platformId: string;
|
6362
|
+
actor: {
|
6363
|
+
id: string;
|
6364
|
+
address: string | null;
|
6365
|
+
name: string;
|
6366
|
+
email: string;
|
6367
|
+
phone: string | null;
|
6368
|
+
};
|
6369
|
+
connectedUserName?: string | null | undefined;
|
6370
|
+
connectedUserId?: string | null | undefined;
|
6371
|
+
}, {
|
6372
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6373
|
+
name: string;
|
6374
|
+
metadata: {
|
6375
|
+
id: string;
|
6376
|
+
name: string;
|
6377
|
+
accessToken: string;
|
6378
|
+
additionalCredentials?: any;
|
6379
|
+
};
|
6380
|
+
status: boolean;
|
6381
|
+
brandName: string;
|
6382
|
+
platformId: string;
|
6383
|
+
actor: {
|
6384
|
+
id: string;
|
6385
|
+
address: string | null;
|
6386
|
+
name: string;
|
6387
|
+
email: string;
|
6388
|
+
phone: string | null;
|
6389
|
+
};
|
6390
|
+
connectedUserName?: string | null | undefined;
|
6391
|
+
connectedUserId?: string | null | undefined;
|
6392
|
+
}>;
|
6393
|
+
}, "strip", z.ZodTypeAny, {
|
6394
|
+
data: {
|
6395
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6396
|
+
name: string;
|
6397
|
+
metadata: {
|
6398
|
+
id: string;
|
6399
|
+
name: string;
|
6400
|
+
accessToken: string;
|
6401
|
+
additionalCredentials?: any;
|
6402
|
+
};
|
6403
|
+
status: boolean;
|
6404
|
+
brandName: string;
|
6405
|
+
platformId: string;
|
6406
|
+
actor: {
|
6407
|
+
id: string;
|
6408
|
+
address: string | null;
|
6409
|
+
name: string;
|
6410
|
+
email: string;
|
6411
|
+
phone: string | null;
|
6412
|
+
};
|
6413
|
+
connectedUserName?: string | null | undefined;
|
6414
|
+
connectedUserId?: string | null | undefined;
|
6415
|
+
};
|
6416
|
+
requestId: string;
|
6417
|
+
}, {
|
6418
|
+
data: {
|
6419
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6420
|
+
name: string;
|
6421
|
+
metadata: {
|
6422
|
+
id: string;
|
6423
|
+
name: string;
|
6424
|
+
accessToken: string;
|
6425
|
+
additionalCredentials?: any;
|
6426
|
+
};
|
6427
|
+
status: boolean;
|
6428
|
+
brandName: string;
|
6429
|
+
platformId: string;
|
6430
|
+
actor: {
|
6431
|
+
id: string;
|
6432
|
+
address: string | null;
|
6433
|
+
name: string;
|
6434
|
+
email: string;
|
6435
|
+
phone: string | null;
|
6436
|
+
};
|
6437
|
+
connectedUserName?: string | null | undefined;
|
6438
|
+
connectedUserId?: string | null | undefined;
|
6439
|
+
};
|
6440
|
+
requestId: string;
|
6441
|
+
}>;
|
6442
|
+
500: z.ZodObject<{
|
6443
|
+
message: z.ZodString;
|
6444
|
+
error: z.ZodAny;
|
6445
|
+
}, "strip", z.ZodTypeAny, {
|
6446
|
+
message: string;
|
6447
|
+
error?: any;
|
6448
|
+
}, {
|
6449
|
+
message: string;
|
6450
|
+
error?: any;
|
6451
|
+
}>;
|
6452
|
+
400: z.ZodObject<{
|
6453
|
+
message: z.ZodString;
|
6454
|
+
error: z.ZodAny;
|
6455
|
+
}, "strip", z.ZodTypeAny, {
|
6456
|
+
message: string;
|
6457
|
+
error?: any;
|
6458
|
+
}, {
|
6459
|
+
message: string;
|
6460
|
+
error?: any;
|
6461
|
+
}>;
|
6462
|
+
};
|
6463
|
+
path: "/relogin";
|
6464
|
+
};
|
6185
6465
|
getFacebookPages: {
|
6186
6466
|
method: "GET";
|
6187
6467
|
query: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;CAqD5B,CAAC"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import { CreateTelephonyCdrSchema, GetAllTelephonyCdrSchema, GetRecentTelephonyCdrSchema } from './validation';
|
2
|
+
import { CreateTelephonyCdrSchema, GetAllTelephonyCdrSchema, GetExportTelephonyCdrSchema, GetRecentTelephonyCdrSchema } from './validation';
|
3
3
|
export type CreateTelephonyCdrRequest = z.infer<typeof CreateTelephonyCdrSchema>;
|
4
4
|
export type GetTelephonyCdrQuery = z.infer<typeof GetAllTelephonyCdrSchema>;
|
5
5
|
export type GetRecentTelephonyCdrQuery = z.infer<typeof GetRecentTelephonyCdrSchema>;
|
6
|
+
export type GetExportTelephonyCdrQuery = z.infer<typeof GetExportTelephonyCdrSchema>;
|
6
7
|
export declare const telephonyCdrContract: {
|
7
8
|
findAll: {
|
8
9
|
summary: "Get all telephony cdr.";
|
@@ -130,6 +131,16 @@ export declare const telephonyCdrContract: {
|
|
130
131
|
agentRingTime: number | null;
|
131
132
|
}[];
|
132
133
|
}>;
|
134
|
+
401: z.ZodObject<{
|
135
|
+
message: z.ZodString;
|
136
|
+
error: z.ZodAny;
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
138
|
+
message: string;
|
139
|
+
error?: any;
|
140
|
+
}, {
|
141
|
+
message: string;
|
142
|
+
error?: any;
|
143
|
+
}>;
|
133
144
|
};
|
134
145
|
path: "telephony-cdr/";
|
135
146
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
@@ -275,6 +286,16 @@ export declare const telephonyCdrContract: {
|
|
275
286
|
agentRingTime: number | null;
|
276
287
|
}[];
|
277
288
|
}>;
|
289
|
+
401: z.ZodObject<{
|
290
|
+
message: z.ZodString;
|
291
|
+
error: z.ZodAny;
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
293
|
+
message: string;
|
294
|
+
error?: any;
|
295
|
+
}, {
|
296
|
+
message: string;
|
297
|
+
error?: any;
|
298
|
+
}>;
|
278
299
|
};
|
279
300
|
path: "telephony-cdr/recordings";
|
280
301
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
@@ -438,6 +459,16 @@ export declare const telephonyCdrContract: {
|
|
438
459
|
agentRingTime: number | null;
|
439
460
|
}[];
|
440
461
|
}>;
|
462
|
+
401: z.ZodObject<{
|
463
|
+
message: z.ZodString;
|
464
|
+
error: z.ZodAny;
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
466
|
+
message: string;
|
467
|
+
error?: any;
|
468
|
+
}, {
|
469
|
+
message: string;
|
470
|
+
error?: any;
|
471
|
+
}>;
|
441
472
|
};
|
442
473
|
path: "telephony-cdr/recent-calls";
|
443
474
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
@@ -457,5 +488,85 @@ export declare const telephonyCdrContract: {
|
|
457
488
|
'x-client-timezone'?: string | undefined;
|
458
489
|
}>>>;
|
459
490
|
};
|
491
|
+
export: {
|
492
|
+
summary: "Get recent telephony cdr.";
|
493
|
+
method: "GET";
|
494
|
+
query: z.ZodObject<{
|
495
|
+
page: z.ZodDefault<z.ZodNumber>;
|
496
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
497
|
+
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
498
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
499
|
+
callFrom: z.ZodOptional<z.ZodString>;
|
500
|
+
callTo: z.ZodOptional<z.ZodString>;
|
501
|
+
result: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
502
|
+
callTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
503
|
+
selectedDate: z.ZodOptional<z.ZodString>;
|
504
|
+
agentId: z.ZodOptional<z.ZodString>;
|
505
|
+
contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
506
|
+
callStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
|
507
|
+
queueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
508
|
+
notes: z.ZodOptional<z.ZodString>;
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
510
|
+
page: number;
|
511
|
+
pageSize: number;
|
512
|
+
type?: string[] | undefined;
|
513
|
+
status?: string[] | undefined;
|
514
|
+
callFrom?: string | undefined;
|
515
|
+
callTo?: string | undefined;
|
516
|
+
result?: string[] | undefined;
|
517
|
+
callTags?: string[] | undefined;
|
518
|
+
selectedDate?: string | undefined;
|
519
|
+
agentId?: string | undefined;
|
520
|
+
contact?: string[] | undefined;
|
521
|
+
callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
|
522
|
+
queueIds?: string[] | undefined;
|
523
|
+
notes?: string | undefined;
|
524
|
+
}, {
|
525
|
+
page?: number | undefined;
|
526
|
+
pageSize?: number | undefined;
|
527
|
+
type?: string[] | undefined;
|
528
|
+
status?: string[] | undefined;
|
529
|
+
callFrom?: string | undefined;
|
530
|
+
callTo?: string | undefined;
|
531
|
+
result?: string[] | undefined;
|
532
|
+
callTags?: string[] | undefined;
|
533
|
+
selectedDate?: string | undefined;
|
534
|
+
agentId?: string | undefined;
|
535
|
+
contact?: string[] | undefined;
|
536
|
+
callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
|
537
|
+
queueIds?: string[] | undefined;
|
538
|
+
notes?: string | undefined;
|
539
|
+
}>;
|
540
|
+
responses: {
|
541
|
+
200: null;
|
542
|
+
401: z.ZodObject<{
|
543
|
+
message: z.ZodString;
|
544
|
+
error: z.ZodAny;
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
546
|
+
message: string;
|
547
|
+
error?: any;
|
548
|
+
}, {
|
549
|
+
message: string;
|
550
|
+
error?: any;
|
551
|
+
}>;
|
552
|
+
};
|
553
|
+
path: "telephony-cdr/export";
|
554
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
555
|
+
'x-tenant': z.ZodString;
|
556
|
+
authorization: z.ZodString;
|
557
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
558
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
559
|
+
}, "strip", z.ZodTypeAny, {
|
560
|
+
'x-tenant': string;
|
561
|
+
authorization: string;
|
562
|
+
'x-client-timezone': string;
|
563
|
+
'x-code'?: string | undefined;
|
564
|
+
}, {
|
565
|
+
'x-tenant': string;
|
566
|
+
authorization: string;
|
567
|
+
'x-code'?: string | undefined;
|
568
|
+
'x-client-timezone'?: string | undefined;
|
569
|
+
}>>>;
|
570
|
+
};
|
460
571
|
};
|
461
572
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/telephony-cdr/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/telephony-cdr/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE5E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,2BAA2B,CACnC,CAAC;AAGF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;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