@kl1/contracts 1.0.20 → 1.0.21
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 +1358 -1301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1355 -1301
- 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/chat/index.d.ts +323 -2300
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +48 -352
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +253 -514
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +6984 -3662
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +5424 -85
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +4472 -34
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +2 -2
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +106 -106
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +100 -100
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
- package/dist/src/mail/schemas/room.schema.d.ts +26 -26
- package/dist/src/messenger/index.d.ts +218 -257
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +8 -8
- package/dist/src/telephony-cdr/validation.d.ts +4 -4
- package/dist/src/telephony-live-queue-call/schema.d.ts +2 -2
- package/dist/src/telephony-queue-call-count/schema.d.ts +2 -2
- package/dist/src/ticket/index.d.ts +4 -4
- package/dist/src/ticket/validation.d.ts +4 -4
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +2 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +15 -15
- 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 +10 -4
@@ -2324,76 +2324,14 @@ export declare const messengerContract: {
|
|
2324
2324
|
caseId: import("zod").ZodNumber;
|
2325
2325
|
entityId: import("zod").ZodString;
|
2326
2326
|
entityName: import("zod").ZodString;
|
2327
|
-
|
2327
|
+
channelType: import("zod").ZodNullable<import("zod").ZodString>;
|
2328
2328
|
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
2329
|
-
queueId: import("zod").ZodNullable<import("zod").ZodString>;
|
2330
|
-
agentId: import("zod").ZodNullable<import("zod").ZodString>;
|
2331
2329
|
direction: import("zod").ZodNullable<import("zod").ZodString>;
|
2332
2330
|
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
2333
2331
|
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
2334
|
-
firstResponseTime: import("zod").ZodNullable<import("zod").
|
2332
|
+
firstResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
2335
2333
|
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
2336
|
-
|
2337
|
-
id: import("zod").ZodString;
|
2338
|
-
createdAt: import("zod").ZodDate;
|
2339
|
-
updatedAt: import("zod").ZodDate;
|
2340
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
2341
|
-
note: import("zod").ZodNullable<import("zod").ZodString>;
|
2342
|
-
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
2343
|
-
callFrom: import("zod").ZodNullable<import("zod").ZodString>;
|
2344
|
-
callTo: import("zod").ZodNullable<import("zod").ZodString>;
|
2345
|
-
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
2346
|
-
id: import("zod").ZodString;
|
2347
|
-
createdAt: import("zod").ZodDate;
|
2348
|
-
updatedAt: import("zod").ZodDate;
|
2349
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
2350
|
-
name: import("zod").ZodString;
|
2351
|
-
}, "strip", import("zod").ZodTypeAny, {
|
2352
|
-
id: string;
|
2353
|
-
name: string;
|
2354
|
-
createdAt: Date;
|
2355
|
-
updatedAt: Date;
|
2356
|
-
deletedAt: Date | null;
|
2357
|
-
}, {
|
2358
|
-
id: string;
|
2359
|
-
name: string;
|
2360
|
-
createdAt: Date;
|
2361
|
-
updatedAt: Date;
|
2362
|
-
deletedAt: Date | null;
|
2363
|
-
}>, "many">;
|
2364
|
-
}, "strip", import("zod").ZodTypeAny, {
|
2365
|
-
id: string;
|
2366
|
-
disposition: string | null;
|
2367
|
-
createdAt: Date;
|
2368
|
-
updatedAt: Date;
|
2369
|
-
deletedAt: Date | null;
|
2370
|
-
tags: {
|
2371
|
-
id: string;
|
2372
|
-
name: string;
|
2373
|
-
createdAt: Date;
|
2374
|
-
updatedAt: Date;
|
2375
|
-
deletedAt: Date | null;
|
2376
|
-
}[];
|
2377
|
-
note: string | null;
|
2378
|
-
callFrom: string | null;
|
2379
|
-
callTo: string | null;
|
2380
|
-
}, {
|
2381
|
-
id: string;
|
2382
|
-
disposition: string | null;
|
2383
|
-
createdAt: Date;
|
2384
|
-
updatedAt: Date;
|
2385
|
-
deletedAt: Date | null;
|
2386
|
-
tags: {
|
2387
|
-
id: string;
|
2388
|
-
name: string;
|
2389
|
-
createdAt: Date;
|
2390
|
-
updatedAt: Date;
|
2391
|
-
deletedAt: Date | null;
|
2392
|
-
}[];
|
2393
|
-
note: string | null;
|
2394
|
-
callFrom: string | null;
|
2395
|
-
callTo: string | null;
|
2396
|
-
}>>;
|
2334
|
+
slaMeet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
2397
2335
|
}, "strip", import("zod").ZodTypeAny, {
|
2398
2336
|
id: string;
|
2399
2337
|
channel: string | null;
|
@@ -2405,29 +2343,11 @@ export declare const messengerContract: {
|
|
2405
2343
|
entityId: string;
|
2406
2344
|
caseId: number;
|
2407
2345
|
entityName: string;
|
2408
|
-
|
2409
|
-
queueId: string | null;
|
2410
|
-
agentId: string | null;
|
2346
|
+
channelType: string | null;
|
2411
2347
|
startedDate: Date | null;
|
2412
2348
|
handledTime: number | null;
|
2413
|
-
firstResponseTime:
|
2414
|
-
|
2415
|
-
id: string;
|
2416
|
-
disposition: string | null;
|
2417
|
-
createdAt: Date;
|
2418
|
-
updatedAt: Date;
|
2419
|
-
deletedAt: Date | null;
|
2420
|
-
tags: {
|
2421
|
-
id: string;
|
2422
|
-
name: string;
|
2423
|
-
createdAt: Date;
|
2424
|
-
updatedAt: Date;
|
2425
|
-
deletedAt: Date | null;
|
2426
|
-
}[];
|
2427
|
-
note: string | null;
|
2428
|
-
callFrom: string | null;
|
2429
|
-
callTo: string | null;
|
2430
|
-
} | null;
|
2349
|
+
firstResponseTime: string | null;
|
2350
|
+
slaMeet?: string | null | undefined;
|
2431
2351
|
}, {
|
2432
2352
|
id: string;
|
2433
2353
|
channel: string | null;
|
@@ -2439,29 +2359,11 @@ export declare const messengerContract: {
|
|
2439
2359
|
entityId: string;
|
2440
2360
|
caseId: number;
|
2441
2361
|
entityName: string;
|
2442
|
-
|
2443
|
-
queueId: string | null;
|
2444
|
-
agentId: string | null;
|
2362
|
+
channelType: string | null;
|
2445
2363
|
startedDate: Date | null;
|
2446
2364
|
handledTime: number | null;
|
2447
|
-
firstResponseTime:
|
2448
|
-
|
2449
|
-
id: string;
|
2450
|
-
disposition: string | null;
|
2451
|
-
createdAt: Date;
|
2452
|
-
updatedAt: Date;
|
2453
|
-
deletedAt: Date | null;
|
2454
|
-
tags: {
|
2455
|
-
id: string;
|
2456
|
-
name: string;
|
2457
|
-
createdAt: Date;
|
2458
|
-
updatedAt: Date;
|
2459
|
-
deletedAt: Date | null;
|
2460
|
-
}[];
|
2461
|
-
note: string | null;
|
2462
|
-
callFrom: string | null;
|
2463
|
-
callTo: string | null;
|
2464
|
-
} | null;
|
2365
|
+
firstResponseTime: string | null;
|
2366
|
+
slaMeet?: string | null | undefined;
|
2465
2367
|
}>;
|
2466
2368
|
}, "strip", import("zod").ZodTypeAny, {
|
2467
2369
|
id: string;
|
@@ -2690,29 +2592,11 @@ export declare const messengerContract: {
|
|
2690
2592
|
entityId: string;
|
2691
2593
|
caseId: number;
|
2692
2594
|
entityName: string;
|
2693
|
-
|
2694
|
-
queueId: string | null;
|
2695
|
-
agentId: string | null;
|
2595
|
+
channelType: string | null;
|
2696
2596
|
startedDate: Date | null;
|
2697
2597
|
handledTime: number | null;
|
2698
|
-
firstResponseTime:
|
2699
|
-
|
2700
|
-
id: string;
|
2701
|
-
disposition: string | null;
|
2702
|
-
createdAt: Date;
|
2703
|
-
updatedAt: Date;
|
2704
|
-
deletedAt: Date | null;
|
2705
|
-
tags: {
|
2706
|
-
id: string;
|
2707
|
-
name: string;
|
2708
|
-
createdAt: Date;
|
2709
|
-
updatedAt: Date;
|
2710
|
-
deletedAt: Date | null;
|
2711
|
-
}[];
|
2712
|
-
note: string | null;
|
2713
|
-
callFrom: string | null;
|
2714
|
-
callTo: string | null;
|
2715
|
-
} | null;
|
2598
|
+
firstResponseTime: string | null;
|
2599
|
+
slaMeet?: string | null | undefined;
|
2716
2600
|
};
|
2717
2601
|
channel?: {
|
2718
2602
|
id?: string | undefined;
|
@@ -3004,29 +2888,11 @@ export declare const messengerContract: {
|
|
3004
2888
|
entityId: string;
|
3005
2889
|
caseId: number;
|
3006
2890
|
entityName: string;
|
3007
|
-
|
3008
|
-
queueId: string | null;
|
3009
|
-
agentId: string | null;
|
2891
|
+
channelType: string | null;
|
3010
2892
|
startedDate: Date | null;
|
3011
2893
|
handledTime: number | null;
|
3012
|
-
firstResponseTime:
|
3013
|
-
|
3014
|
-
id: string;
|
3015
|
-
disposition: string | null;
|
3016
|
-
createdAt: Date;
|
3017
|
-
updatedAt: Date;
|
3018
|
-
deletedAt: Date | null;
|
3019
|
-
tags: {
|
3020
|
-
id: string;
|
3021
|
-
name: string;
|
3022
|
-
createdAt: Date;
|
3023
|
-
updatedAt: Date;
|
3024
|
-
deletedAt: Date | null;
|
3025
|
-
}[];
|
3026
|
-
note: string | null;
|
3027
|
-
callFrom: string | null;
|
3028
|
-
callTo: string | null;
|
3029
|
-
} | null;
|
2894
|
+
firstResponseTime: string | null;
|
2895
|
+
slaMeet?: string | null | undefined;
|
3030
2896
|
};
|
3031
2897
|
channel?: {
|
3032
2898
|
id?: string | undefined;
|
@@ -3823,12 +3689,6 @@ export declare const messengerContract: {
|
|
3823
3689
|
telephonySignature: string | null;
|
3824
3690
|
} | undefined;
|
3825
3691
|
};
|
3826
|
-
readAt: Date;
|
3827
|
-
platformMessageId: string;
|
3828
|
-
replyPlatformMessageId: string;
|
3829
|
-
locale: "" | "th" | "mm" | "en";
|
3830
|
-
previewUrl: string;
|
3831
|
-
imageSetId: string;
|
3832
3692
|
room: {
|
3833
3693
|
id: string;
|
3834
3694
|
direction: "incoming" | "outgoing" | "system";
|
@@ -4056,29 +3916,11 @@ export declare const messengerContract: {
|
|
4056
3916
|
entityId: string;
|
4057
3917
|
caseId: number;
|
4058
3918
|
entityName: string;
|
4059
|
-
|
4060
|
-
queueId: string | null;
|
4061
|
-
agentId: string | null;
|
3919
|
+
channelType: string | null;
|
4062
3920
|
startedDate: Date | null;
|
4063
3921
|
handledTime: number | null;
|
4064
|
-
firstResponseTime:
|
4065
|
-
|
4066
|
-
id: string;
|
4067
|
-
disposition: string | null;
|
4068
|
-
createdAt: Date;
|
4069
|
-
updatedAt: Date;
|
4070
|
-
deletedAt: Date | null;
|
4071
|
-
tags: {
|
4072
|
-
id: string;
|
4073
|
-
name: string;
|
4074
|
-
createdAt: Date;
|
4075
|
-
updatedAt: Date;
|
4076
|
-
deletedAt: Date | null;
|
4077
|
-
}[];
|
4078
|
-
note: string | null;
|
4079
|
-
callFrom: string | null;
|
4080
|
-
callTo: string | null;
|
4081
|
-
} | null;
|
3922
|
+
firstResponseTime: string | null;
|
3923
|
+
slaMeet?: string | null | undefined;
|
4082
3924
|
};
|
4083
3925
|
channel?: {
|
4084
3926
|
id?: string | undefined;
|
@@ -4144,6 +3986,12 @@ export declare const messengerContract: {
|
|
4144
3986
|
} | undefined;
|
4145
3987
|
} | undefined;
|
4146
3988
|
};
|
3989
|
+
readAt: Date;
|
3990
|
+
platformMessageId: string;
|
3991
|
+
replyPlatformMessageId: string;
|
3992
|
+
locale: "" | "th" | "mm" | "en";
|
3993
|
+
previewUrl: string;
|
3994
|
+
imageSetId: string;
|
4147
3995
|
sender: {
|
4148
3996
|
id: string;
|
4149
3997
|
address: string | null;
|
@@ -4295,12 +4143,6 @@ export declare const messengerContract: {
|
|
4295
4143
|
telephonySignature: string | null;
|
4296
4144
|
} | undefined;
|
4297
4145
|
};
|
4298
|
-
readAt: Date;
|
4299
|
-
platformMessageId: string;
|
4300
|
-
replyPlatformMessageId: string;
|
4301
|
-
locale: "" | "th" | "mm" | "en";
|
4302
|
-
previewUrl: string;
|
4303
|
-
imageSetId: string;
|
4304
4146
|
room: {
|
4305
4147
|
id: string;
|
4306
4148
|
direction: "incoming" | "outgoing" | "system";
|
@@ -4528,29 +4370,11 @@ export declare const messengerContract: {
|
|
4528
4370
|
entityId: string;
|
4529
4371
|
caseId: number;
|
4530
4372
|
entityName: string;
|
4531
|
-
|
4532
|
-
queueId: string | null;
|
4533
|
-
agentId: string | null;
|
4373
|
+
channelType: string | null;
|
4534
4374
|
startedDate: Date | null;
|
4535
4375
|
handledTime: number | null;
|
4536
|
-
firstResponseTime:
|
4537
|
-
|
4538
|
-
id: string;
|
4539
|
-
disposition: string | null;
|
4540
|
-
createdAt: Date;
|
4541
|
-
updatedAt: Date;
|
4542
|
-
deletedAt: Date | null;
|
4543
|
-
tags: {
|
4544
|
-
id: string;
|
4545
|
-
name: string;
|
4546
|
-
createdAt: Date;
|
4547
|
-
updatedAt: Date;
|
4548
|
-
deletedAt: Date | null;
|
4549
|
-
}[];
|
4550
|
-
note: string | null;
|
4551
|
-
callFrom: string | null;
|
4552
|
-
callTo: string | null;
|
4553
|
-
} | null;
|
4376
|
+
firstResponseTime: string | null;
|
4377
|
+
slaMeet?: string | null | undefined;
|
4554
4378
|
};
|
4555
4379
|
channel?: {
|
4556
4380
|
id?: string | undefined;
|
@@ -4616,6 +4440,12 @@ export declare const messengerContract: {
|
|
4616
4440
|
} | undefined;
|
4617
4441
|
} | undefined;
|
4618
4442
|
};
|
4443
|
+
readAt: Date;
|
4444
|
+
platformMessageId: string;
|
4445
|
+
replyPlatformMessageId: string;
|
4446
|
+
locale: "" | "th" | "mm" | "en";
|
4447
|
+
previewUrl: string;
|
4448
|
+
imageSetId: string;
|
4619
4449
|
sender: {
|
4620
4450
|
id: string;
|
4621
4451
|
address: string | null;
|
@@ -4769,12 +4599,6 @@ export declare const messengerContract: {
|
|
4769
4599
|
telephonySignature: string | null;
|
4770
4600
|
} | undefined;
|
4771
4601
|
};
|
4772
|
-
readAt: Date;
|
4773
|
-
platformMessageId: string;
|
4774
|
-
replyPlatformMessageId: string;
|
4775
|
-
locale: "" | "th" | "mm" | "en";
|
4776
|
-
previewUrl: string;
|
4777
|
-
imageSetId: string;
|
4778
4602
|
room: {
|
4779
4603
|
id: string;
|
4780
4604
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5002,29 +4826,11 @@ export declare const messengerContract: {
|
|
5002
4826
|
entityId: string;
|
5003
4827
|
caseId: number;
|
5004
4828
|
entityName: string;
|
5005
|
-
|
5006
|
-
queueId: string | null;
|
5007
|
-
agentId: string | null;
|
4829
|
+
channelType: string | null;
|
5008
4830
|
startedDate: Date | null;
|
5009
4831
|
handledTime: number | null;
|
5010
|
-
firstResponseTime:
|
5011
|
-
|
5012
|
-
id: string;
|
5013
|
-
disposition: string | null;
|
5014
|
-
createdAt: Date;
|
5015
|
-
updatedAt: Date;
|
5016
|
-
deletedAt: Date | null;
|
5017
|
-
tags: {
|
5018
|
-
id: string;
|
5019
|
-
name: string;
|
5020
|
-
createdAt: Date;
|
5021
|
-
updatedAt: Date;
|
5022
|
-
deletedAt: Date | null;
|
5023
|
-
}[];
|
5024
|
-
note: string | null;
|
5025
|
-
callFrom: string | null;
|
5026
|
-
callTo: string | null;
|
5027
|
-
} | null;
|
4832
|
+
firstResponseTime: string | null;
|
4833
|
+
slaMeet?: string | null | undefined;
|
5028
4834
|
};
|
5029
4835
|
channel?: {
|
5030
4836
|
id?: string | undefined;
|
@@ -5090,6 +4896,12 @@ export declare const messengerContract: {
|
|
5090
4896
|
} | undefined;
|
5091
4897
|
} | undefined;
|
5092
4898
|
};
|
4899
|
+
readAt: Date;
|
4900
|
+
platformMessageId: string;
|
4901
|
+
replyPlatformMessageId: string;
|
4902
|
+
locale: "" | "th" | "mm" | "en";
|
4903
|
+
previewUrl: string;
|
4904
|
+
imageSetId: string;
|
5093
4905
|
sender: {
|
5094
4906
|
id: string;
|
5095
4907
|
address: string | null;
|
@@ -5244,12 +5056,6 @@ export declare const messengerContract: {
|
|
5244
5056
|
telephonySignature: string | null;
|
5245
5057
|
} | undefined;
|
5246
5058
|
};
|
5247
|
-
readAt: Date;
|
5248
|
-
platformMessageId: string;
|
5249
|
-
replyPlatformMessageId: string;
|
5250
|
-
locale: "" | "th" | "mm" | "en";
|
5251
|
-
previewUrl: string;
|
5252
|
-
imageSetId: string;
|
5253
5059
|
room: {
|
5254
5060
|
id: string;
|
5255
5061
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5477,29 +5283,11 @@ export declare const messengerContract: {
|
|
5477
5283
|
entityId: string;
|
5478
5284
|
caseId: number;
|
5479
5285
|
entityName: string;
|
5480
|
-
|
5481
|
-
queueId: string | null;
|
5482
|
-
agentId: string | null;
|
5286
|
+
channelType: string | null;
|
5483
5287
|
startedDate: Date | null;
|
5484
5288
|
handledTime: number | null;
|
5485
|
-
firstResponseTime:
|
5486
|
-
|
5487
|
-
id: string;
|
5488
|
-
disposition: string | null;
|
5489
|
-
createdAt: Date;
|
5490
|
-
updatedAt: Date;
|
5491
|
-
deletedAt: Date | null;
|
5492
|
-
tags: {
|
5493
|
-
id: string;
|
5494
|
-
name: string;
|
5495
|
-
createdAt: Date;
|
5496
|
-
updatedAt: Date;
|
5497
|
-
deletedAt: Date | null;
|
5498
|
-
}[];
|
5499
|
-
note: string | null;
|
5500
|
-
callFrom: string | null;
|
5501
|
-
callTo: string | null;
|
5502
|
-
} | null;
|
5289
|
+
firstResponseTime: string | null;
|
5290
|
+
slaMeet?: string | null | undefined;
|
5503
5291
|
};
|
5504
5292
|
channel?: {
|
5505
5293
|
id?: string | undefined;
|
@@ -5565,6 +5353,12 @@ export declare const messengerContract: {
|
|
5565
5353
|
} | undefined;
|
5566
5354
|
} | undefined;
|
5567
5355
|
};
|
5356
|
+
readAt: Date;
|
5357
|
+
platformMessageId: string;
|
5358
|
+
replyPlatformMessageId: string;
|
5359
|
+
locale: "" | "th" | "mm" | "en";
|
5360
|
+
previewUrl: string;
|
5361
|
+
imageSetId: string;
|
5568
5362
|
sender: {
|
5569
5363
|
id: string;
|
5570
5364
|
address: string | null;
|
@@ -5626,5 +5420,172 @@ export declare const messengerContract: {
|
|
5626
5420
|
};
|
5627
5421
|
path: "/message";
|
5628
5422
|
};
|
5423
|
+
connectToService: {
|
5424
|
+
body: import("zod").ZodObject<{
|
5425
|
+
name: import("zod").ZodString;
|
5426
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
5427
|
+
metadata: import("zod").ZodObject<{
|
5428
|
+
id: import("zod").ZodString;
|
5429
|
+
name: import("zod").ZodString;
|
5430
|
+
accessToken: import("zod").ZodString;
|
5431
|
+
additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
|
5432
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5433
|
+
id: string;
|
5434
|
+
name: string;
|
5435
|
+
accessToken: string;
|
5436
|
+
additionalCredentials?: any;
|
5437
|
+
}, {
|
5438
|
+
id: string;
|
5439
|
+
name: string;
|
5440
|
+
accessToken: string;
|
5441
|
+
additionalCredentials?: any;
|
5442
|
+
}>;
|
5443
|
+
brandName: import("zod").ZodString;
|
5444
|
+
platformId: import("zod").ZodString;
|
5445
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
|
5446
|
+
isReloginRequired: import("zod").ZodBoolean;
|
5447
|
+
connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
5448
|
+
connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
5449
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5450
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5451
|
+
name: string;
|
5452
|
+
metadata: {
|
5453
|
+
id: string;
|
5454
|
+
name: string;
|
5455
|
+
accessToken: string;
|
5456
|
+
additionalCredentials?: any;
|
5457
|
+
};
|
5458
|
+
status: boolean;
|
5459
|
+
brandName: string;
|
5460
|
+
platformId: string;
|
5461
|
+
isReloginRequired: boolean;
|
5462
|
+
connectedUserName?: string | null | undefined;
|
5463
|
+
connectedUserId?: string | null | undefined;
|
5464
|
+
}, {
|
5465
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5466
|
+
name: string;
|
5467
|
+
metadata: {
|
5468
|
+
id: string;
|
5469
|
+
name: string;
|
5470
|
+
accessToken: string;
|
5471
|
+
additionalCredentials?: any;
|
5472
|
+
};
|
5473
|
+
status: boolean;
|
5474
|
+
brandName: string;
|
5475
|
+
platformId: string;
|
5476
|
+
isReloginRequired: boolean;
|
5477
|
+
connectedUserName?: string | null | undefined;
|
5478
|
+
connectedUserId?: string | null | undefined;
|
5479
|
+
}>;
|
5480
|
+
method: "POST";
|
5481
|
+
responses: {
|
5482
|
+
200: import("zod").ZodObject<{
|
5483
|
+
requestId: import("zod").ZodString;
|
5484
|
+
data: import("zod").ZodObject<{
|
5485
|
+
name: import("zod").ZodString;
|
5486
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
5487
|
+
metadata: import("zod").ZodObject<{
|
5488
|
+
id: import("zod").ZodString;
|
5489
|
+
name: import("zod").ZodString;
|
5490
|
+
accessToken: import("zod").ZodString;
|
5491
|
+
additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
|
5492
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5493
|
+
id: string;
|
5494
|
+
name: string;
|
5495
|
+
accessToken: string;
|
5496
|
+
additionalCredentials?: any;
|
5497
|
+
}, {
|
5498
|
+
id: string;
|
5499
|
+
name: string;
|
5500
|
+
accessToken: string;
|
5501
|
+
additionalCredentials?: any;
|
5502
|
+
}>;
|
5503
|
+
brandName: import("zod").ZodString;
|
5504
|
+
platformId: import("zod").ZodString;
|
5505
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
|
5506
|
+
isReloginRequired: import("zod").ZodBoolean;
|
5507
|
+
connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
5508
|
+
connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
5509
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5510
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5511
|
+
name: string;
|
5512
|
+
metadata: {
|
5513
|
+
id: string;
|
5514
|
+
name: string;
|
5515
|
+
accessToken: string;
|
5516
|
+
additionalCredentials?: any;
|
5517
|
+
};
|
5518
|
+
status: boolean;
|
5519
|
+
brandName: string;
|
5520
|
+
platformId: string;
|
5521
|
+
isReloginRequired: boolean;
|
5522
|
+
connectedUserName?: string | null | undefined;
|
5523
|
+
connectedUserId?: string | null | undefined;
|
5524
|
+
}, {
|
5525
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5526
|
+
name: string;
|
5527
|
+
metadata: {
|
5528
|
+
id: string;
|
5529
|
+
name: string;
|
5530
|
+
accessToken: string;
|
5531
|
+
additionalCredentials?: any;
|
5532
|
+
};
|
5533
|
+
status: boolean;
|
5534
|
+
brandName: string;
|
5535
|
+
platformId: string;
|
5536
|
+
isReloginRequired: boolean;
|
5537
|
+
connectedUserName?: string | null | undefined;
|
5538
|
+
connectedUserId?: string | null | undefined;
|
5539
|
+
}>;
|
5540
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5541
|
+
data: {
|
5542
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5543
|
+
name: string;
|
5544
|
+
metadata: {
|
5545
|
+
id: string;
|
5546
|
+
name: string;
|
5547
|
+
accessToken: string;
|
5548
|
+
additionalCredentials?: any;
|
5549
|
+
};
|
5550
|
+
status: boolean;
|
5551
|
+
brandName: string;
|
5552
|
+
platformId: string;
|
5553
|
+
isReloginRequired: boolean;
|
5554
|
+
connectedUserName?: string | null | undefined;
|
5555
|
+
connectedUserId?: string | null | undefined;
|
5556
|
+
};
|
5557
|
+
requestId: string;
|
5558
|
+
}, {
|
5559
|
+
data: {
|
5560
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5561
|
+
name: string;
|
5562
|
+
metadata: {
|
5563
|
+
id: string;
|
5564
|
+
name: string;
|
5565
|
+
accessToken: string;
|
5566
|
+
additionalCredentials?: any;
|
5567
|
+
};
|
5568
|
+
status: boolean;
|
5569
|
+
brandName: string;
|
5570
|
+
platformId: string;
|
5571
|
+
isReloginRequired: boolean;
|
5572
|
+
connectedUserName?: string | null | undefined;
|
5573
|
+
connectedUserId?: string | null | undefined;
|
5574
|
+
};
|
5575
|
+
requestId: string;
|
5576
|
+
}>;
|
5577
|
+
500: import("zod").ZodObject<{
|
5578
|
+
message: import("zod").ZodString;
|
5579
|
+
error: import("zod").ZodAny;
|
5580
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5581
|
+
message: string;
|
5582
|
+
error?: any;
|
5583
|
+
}, {
|
5584
|
+
message: string;
|
5585
|
+
error?: any;
|
5586
|
+
}>;
|
5587
|
+
};
|
5588
|
+
path: "/connect";
|
5589
|
+
};
|
5629
5590
|
};
|
5630
5591
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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