@kl1/contracts 1.0.64 → 1.0.66
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 +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +81 -2
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +8 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +5 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +110 -5
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +16 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +143 -3
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +6364 -269
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +17 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +9 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/cx-log/validation.d.ts +3 -0
- package/dist/src/cx-log/validation.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +56 -0
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +5789 -0
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts +6 -0
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +77 -15
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { DefaultQueryParamsSchema } from '../base-contract';
|
3
3
|
import { MessageSchema, RoomSchema } from './schema';
|
4
|
-
import { ChannelSchema, GetRoomsSchema, ReceiveMessageSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SolveRoomSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema } from './validation';
|
4
|
+
import { ChannelSchema, GetRoomsSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SolveRoomSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema } from './validation';
|
5
5
|
export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
|
6
6
|
export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
|
7
7
|
export type UpdateRoomTagsAndNotesRequest = z.infer<typeof UpdateRoomTagsAndNotesSchema>;
|
@@ -10,7 +10,7 @@ export type SolveRoomRequest = z.infer<typeof SolveRoomSchema>;
|
|
10
10
|
export type UpdateAssigneeRequest = z.infer<typeof UpdateAssigneeSchema>;
|
11
11
|
export type SearchRoomsRequest = z.infer<typeof SearchRoomsSchema>;
|
12
12
|
export type SendMessageToPlatformRequest = z.infer<typeof SendMessageToPlatformSchema>;
|
13
|
-
export type ConnectChannelToServiceRequest = z.infer<typeof
|
13
|
+
export type ConnectChannelToServiceRequest = z.infer<typeof ReloginChanelSchema>;
|
14
14
|
export type DisconnectChannelToServiceRequest = z.infer<typeof ChannelSchema>;
|
15
15
|
export type SendMessageResponseRequest = z.infer<typeof SendMessageResponseSchema>;
|
16
16
|
export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
|
@@ -1484,16 +1484,19 @@ export declare const receiveMessageContract: {
|
|
1484
1484
|
id: z.ZodString;
|
1485
1485
|
name: z.ZodString;
|
1486
1486
|
accessToken: z.ZodString;
|
1487
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
1487
1488
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
1488
1489
|
}, "strip", z.ZodTypeAny, {
|
1489
1490
|
id: string;
|
1490
1491
|
name: string;
|
1491
1492
|
accessToken: string;
|
1493
|
+
channelSecret?: string | undefined;
|
1492
1494
|
additionalCredentials?: any;
|
1493
1495
|
}, {
|
1494
1496
|
id: string;
|
1495
1497
|
name: string;
|
1496
1498
|
accessToken: string;
|
1499
|
+
channelSecret?: string | undefined;
|
1497
1500
|
additionalCredentials?: any;
|
1498
1501
|
}>;
|
1499
1502
|
platformId: z.ZodString;
|
@@ -1527,6 +1530,7 @@ export declare const receiveMessageContract: {
|
|
1527
1530
|
id: string;
|
1528
1531
|
name: string;
|
1529
1532
|
accessToken: string;
|
1533
|
+
channelSecret?: string | undefined;
|
1530
1534
|
additionalCredentials?: any;
|
1531
1535
|
};
|
1532
1536
|
status: boolean;
|
@@ -1548,6 +1552,7 @@ export declare const receiveMessageContract: {
|
|
1548
1552
|
id: string;
|
1549
1553
|
name: string;
|
1550
1554
|
accessToken: string;
|
1555
|
+
channelSecret?: string | undefined;
|
1551
1556
|
additionalCredentials?: any;
|
1552
1557
|
};
|
1553
1558
|
status: boolean;
|
@@ -1937,6 +1942,7 @@ export declare const receiveMessageContract: {
|
|
1937
1942
|
id: string;
|
1938
1943
|
name: string;
|
1939
1944
|
accessToken: string;
|
1945
|
+
channelSecret?: string | undefined;
|
1940
1946
|
additionalCredentials?: any;
|
1941
1947
|
};
|
1942
1948
|
status: boolean;
|
@@ -2214,6 +2220,7 @@ export declare const receiveMessageContract: {
|
|
2214
2220
|
id: string;
|
2215
2221
|
name: string;
|
2216
2222
|
accessToken: string;
|
2223
|
+
channelSecret?: string | undefined;
|
2217
2224
|
additionalCredentials?: any;
|
2218
2225
|
};
|
2219
2226
|
status: boolean;
|
@@ -3146,6 +3153,7 @@ export declare const receiveMessageContract: {
|
|
3146
3153
|
id: string;
|
3147
3154
|
name: string;
|
3148
3155
|
accessToken: string;
|
3156
|
+
channelSecret?: string | undefined;
|
3149
3157
|
additionalCredentials?: any;
|
3150
3158
|
};
|
3151
3159
|
status: boolean;
|
@@ -3585,6 +3593,7 @@ export declare const receiveMessageContract: {
|
|
3585
3593
|
id: string;
|
3586
3594
|
name: string;
|
3587
3595
|
accessToken: string;
|
3596
|
+
channelSecret?: string | undefined;
|
3588
3597
|
additionalCredentials?: any;
|
3589
3598
|
};
|
3590
3599
|
status: boolean;
|
@@ -4026,6 +4035,7 @@ export declare const receiveMessageContract: {
|
|
4026
4035
|
id: string;
|
4027
4036
|
name: string;
|
4028
4037
|
accessToken: string;
|
4038
|
+
channelSecret?: string | undefined;
|
4029
4039
|
additionalCredentials?: any;
|
4030
4040
|
};
|
4031
4041
|
status: boolean;
|
@@ -4467,6 +4477,7 @@ export declare const receiveMessageContract: {
|
|
4467
4477
|
id: string;
|
4468
4478
|
name: string;
|
4469
4479
|
accessToken: string;
|
4480
|
+
channelSecret?: string | undefined;
|
4470
4481
|
additionalCredentials?: any;
|
4471
4482
|
};
|
4472
4483
|
status: boolean;
|
@@ -6284,16 +6295,19 @@ export declare const mainChatContract: {
|
|
6284
6295
|
id: z.ZodString;
|
6285
6296
|
name: z.ZodString;
|
6286
6297
|
accessToken: z.ZodString;
|
6298
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
6287
6299
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
6288
6300
|
}, "strip", z.ZodTypeAny, {
|
6289
6301
|
id: string;
|
6290
6302
|
name: string;
|
6291
6303
|
accessToken: string;
|
6304
|
+
channelSecret?: string | undefined;
|
6292
6305
|
additionalCredentials?: any;
|
6293
6306
|
}, {
|
6294
6307
|
id: string;
|
6295
6308
|
name: string;
|
6296
6309
|
accessToken: string;
|
6310
|
+
channelSecret?: string | undefined;
|
6297
6311
|
additionalCredentials?: any;
|
6298
6312
|
}>>;
|
6299
6313
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -6517,6 +6531,7 @@ export declare const mainChatContract: {
|
|
6517
6531
|
id: string;
|
6518
6532
|
name: string;
|
6519
6533
|
accessToken: string;
|
6534
|
+
channelSecret?: string | undefined;
|
6520
6535
|
additionalCredentials?: any;
|
6521
6536
|
} | undefined;
|
6522
6537
|
brandName?: string | undefined;
|
@@ -6580,6 +6595,7 @@ export declare const mainChatContract: {
|
|
6580
6595
|
id: string;
|
6581
6596
|
name: string;
|
6582
6597
|
accessToken: string;
|
6598
|
+
channelSecret?: string | undefined;
|
6583
6599
|
additionalCredentials?: any;
|
6584
6600
|
} | undefined;
|
6585
6601
|
brandName?: string | undefined;
|
@@ -7046,6 +7062,7 @@ export declare const mainChatContract: {
|
|
7046
7062
|
id: string;
|
7047
7063
|
name: string;
|
7048
7064
|
accessToken: string;
|
7065
|
+
channelSecret?: string | undefined;
|
7049
7066
|
additionalCredentials?: any;
|
7050
7067
|
} | undefined;
|
7051
7068
|
brandName?: string | undefined;
|
@@ -7365,6 +7382,7 @@ export declare const mainChatContract: {
|
|
7365
7382
|
id: string;
|
7366
7383
|
name: string;
|
7367
7384
|
accessToken: string;
|
7385
|
+
channelSecret?: string | undefined;
|
7368
7386
|
additionalCredentials?: any;
|
7369
7387
|
} | undefined;
|
7370
7388
|
brandName?: string | undefined;
|
@@ -7696,6 +7714,7 @@ export declare const mainChatContract: {
|
|
7696
7714
|
id: string;
|
7697
7715
|
name: string;
|
7698
7716
|
accessToken: string;
|
7717
|
+
channelSecret?: string | undefined;
|
7699
7718
|
additionalCredentials?: any;
|
7700
7719
|
} | undefined;
|
7701
7720
|
brandName?: string | undefined;
|
@@ -8025,6 +8044,7 @@ export declare const mainChatContract: {
|
|
8025
8044
|
id: string;
|
8026
8045
|
name: string;
|
8027
8046
|
accessToken: string;
|
8047
|
+
channelSecret?: string | undefined;
|
8028
8048
|
additionalCredentials?: any;
|
8029
8049
|
} | undefined;
|
8030
8050
|
brandName?: string | undefined;
|
@@ -10620,16 +10640,19 @@ export declare const mainChatContract: {
|
|
10620
10640
|
id: z.ZodString;
|
10621
10641
|
name: z.ZodString;
|
10622
10642
|
accessToken: z.ZodString;
|
10643
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
10623
10644
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
10624
10645
|
}, "strip", z.ZodTypeAny, {
|
10625
10646
|
id: string;
|
10626
10647
|
name: string;
|
10627
10648
|
accessToken: string;
|
10649
|
+
channelSecret?: string | undefined;
|
10628
10650
|
additionalCredentials?: any;
|
10629
10651
|
}, {
|
10630
10652
|
id: string;
|
10631
10653
|
name: string;
|
10632
10654
|
accessToken: string;
|
10655
|
+
channelSecret?: string | undefined;
|
10633
10656
|
additionalCredentials?: any;
|
10634
10657
|
}>>;
|
10635
10658
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -10853,6 +10876,7 @@ export declare const mainChatContract: {
|
|
10853
10876
|
id: string;
|
10854
10877
|
name: string;
|
10855
10878
|
accessToken: string;
|
10879
|
+
channelSecret?: string | undefined;
|
10856
10880
|
additionalCredentials?: any;
|
10857
10881
|
} | undefined;
|
10858
10882
|
brandName?: string | undefined;
|
@@ -10916,6 +10940,7 @@ export declare const mainChatContract: {
|
|
10916
10940
|
id: string;
|
10917
10941
|
name: string;
|
10918
10942
|
accessToken: string;
|
10943
|
+
channelSecret?: string | undefined;
|
10919
10944
|
additionalCredentials?: any;
|
10920
10945
|
} | undefined;
|
10921
10946
|
brandName?: string | undefined;
|
@@ -11382,6 +11407,7 @@ export declare const mainChatContract: {
|
|
11382
11407
|
id: string;
|
11383
11408
|
name: string;
|
11384
11409
|
accessToken: string;
|
11410
|
+
channelSecret?: string | undefined;
|
11385
11411
|
additionalCredentials?: any;
|
11386
11412
|
} | undefined;
|
11387
11413
|
brandName?: string | undefined;
|
@@ -11701,6 +11727,7 @@ export declare const mainChatContract: {
|
|
11701
11727
|
id: string;
|
11702
11728
|
name: string;
|
11703
11729
|
accessToken: string;
|
11730
|
+
channelSecret?: string | undefined;
|
11704
11731
|
additionalCredentials?: any;
|
11705
11732
|
} | undefined;
|
11706
11733
|
brandName?: string | undefined;
|
@@ -12022,6 +12049,7 @@ export declare const mainChatContract: {
|
|
12022
12049
|
id: string;
|
12023
12050
|
name: string;
|
12024
12051
|
accessToken: string;
|
12052
|
+
channelSecret?: string | undefined;
|
12025
12053
|
additionalCredentials?: any;
|
12026
12054
|
} | undefined;
|
12027
12055
|
brandName?: string | undefined;
|
@@ -12344,6 +12372,7 @@ export declare const mainChatContract: {
|
|
12344
12372
|
id: string;
|
12345
12373
|
name: string;
|
12346
12374
|
accessToken: string;
|
12375
|
+
channelSecret?: string | undefined;
|
12347
12376
|
additionalCredentials?: any;
|
12348
12377
|
} | undefined;
|
12349
12378
|
brandName?: string | undefined;
|
@@ -14263,16 +14292,19 @@ export declare const mainChatContract: {
|
|
14263
14292
|
id: z.ZodString;
|
14264
14293
|
name: z.ZodString;
|
14265
14294
|
accessToken: z.ZodString;
|
14295
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
14266
14296
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
14267
14297
|
}, "strip", z.ZodTypeAny, {
|
14268
14298
|
id: string;
|
14269
14299
|
name: string;
|
14270
14300
|
accessToken: string;
|
14301
|
+
channelSecret?: string | undefined;
|
14271
14302
|
additionalCredentials?: any;
|
14272
14303
|
}, {
|
14273
14304
|
id: string;
|
14274
14305
|
name: string;
|
14275
14306
|
accessToken: string;
|
14307
|
+
channelSecret?: string | undefined;
|
14276
14308
|
additionalCredentials?: any;
|
14277
14309
|
}>>;
|
14278
14310
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -14496,6 +14528,7 @@ export declare const mainChatContract: {
|
|
14496
14528
|
id: string;
|
14497
14529
|
name: string;
|
14498
14530
|
accessToken: string;
|
14531
|
+
channelSecret?: string | undefined;
|
14499
14532
|
additionalCredentials?: any;
|
14500
14533
|
} | undefined;
|
14501
14534
|
brandName?: string | undefined;
|
@@ -14559,6 +14592,7 @@ export declare const mainChatContract: {
|
|
14559
14592
|
id: string;
|
14560
14593
|
name: string;
|
14561
14594
|
accessToken: string;
|
14595
|
+
channelSecret?: string | undefined;
|
14562
14596
|
additionalCredentials?: any;
|
14563
14597
|
} | undefined;
|
14564
14598
|
brandName?: string | undefined;
|
@@ -15025,6 +15059,7 @@ export declare const mainChatContract: {
|
|
15025
15059
|
id: string;
|
15026
15060
|
name: string;
|
15027
15061
|
accessToken: string;
|
15062
|
+
channelSecret?: string | undefined;
|
15028
15063
|
additionalCredentials?: any;
|
15029
15064
|
} | undefined;
|
15030
15065
|
brandName?: string | undefined;
|
@@ -15344,6 +15379,7 @@ export declare const mainChatContract: {
|
|
15344
15379
|
id: string;
|
15345
15380
|
name: string;
|
15346
15381
|
accessToken: string;
|
15382
|
+
channelSecret?: string | undefined;
|
15347
15383
|
additionalCredentials?: any;
|
15348
15384
|
} | undefined;
|
15349
15385
|
brandName?: string | undefined;
|
@@ -16420,6 +16456,7 @@ export declare const mainChatContract: {
|
|
16420
16456
|
id: string;
|
16421
16457
|
name: string;
|
16422
16458
|
accessToken: string;
|
16459
|
+
channelSecret?: string | undefined;
|
16423
16460
|
additionalCredentials?: any;
|
16424
16461
|
} | undefined;
|
16425
16462
|
brandName?: string | undefined;
|
@@ -16902,6 +16939,7 @@ export declare const mainChatContract: {
|
|
16902
16939
|
id: string;
|
16903
16940
|
name: string;
|
16904
16941
|
accessToken: string;
|
16942
|
+
channelSecret?: string | undefined;
|
16905
16943
|
additionalCredentials?: any;
|
16906
16944
|
} | undefined;
|
16907
16945
|
brandName?: string | undefined;
|
@@ -17386,6 +17424,7 @@ export declare const mainChatContract: {
|
|
17386
17424
|
id: string;
|
17387
17425
|
name: string;
|
17388
17426
|
accessToken: string;
|
17427
|
+
channelSecret?: string | undefined;
|
17389
17428
|
additionalCredentials?: any;
|
17390
17429
|
} | undefined;
|
17391
17430
|
brandName?: string | undefined;
|
@@ -17871,6 +17910,7 @@ export declare const mainChatContract: {
|
|
17871
17910
|
id: string;
|
17872
17911
|
name: string;
|
17873
17912
|
accessToken: string;
|
17913
|
+
channelSecret?: string | undefined;
|
17874
17914
|
additionalCredentials?: any;
|
17875
17915
|
} | undefined;
|
17876
17916
|
brandName?: string | undefined;
|
@@ -19566,16 +19606,19 @@ export declare const mainChatContract: {
|
|
19566
19606
|
id: z.ZodString;
|
19567
19607
|
name: z.ZodString;
|
19568
19608
|
accessToken: z.ZodString;
|
19609
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
19569
19610
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
19570
19611
|
}, "strip", z.ZodTypeAny, {
|
19571
19612
|
id: string;
|
19572
19613
|
name: string;
|
19573
19614
|
accessToken: string;
|
19615
|
+
channelSecret?: string | undefined;
|
19574
19616
|
additionalCredentials?: any;
|
19575
19617
|
}, {
|
19576
19618
|
id: string;
|
19577
19619
|
name: string;
|
19578
19620
|
accessToken: string;
|
19621
|
+
channelSecret?: string | undefined;
|
19579
19622
|
additionalCredentials?: any;
|
19580
19623
|
}>>;
|
19581
19624
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -19799,6 +19842,7 @@ export declare const mainChatContract: {
|
|
19799
19842
|
id: string;
|
19800
19843
|
name: string;
|
19801
19844
|
accessToken: string;
|
19845
|
+
channelSecret?: string | undefined;
|
19802
19846
|
additionalCredentials?: any;
|
19803
19847
|
} | undefined;
|
19804
19848
|
brandName?: string | undefined;
|
@@ -19862,6 +19906,7 @@ export declare const mainChatContract: {
|
|
19862
19906
|
id: string;
|
19863
19907
|
name: string;
|
19864
19908
|
accessToken: string;
|
19909
|
+
channelSecret?: string | undefined;
|
19865
19910
|
additionalCredentials?: any;
|
19866
19911
|
} | undefined;
|
19867
19912
|
brandName?: string | undefined;
|
@@ -20328,6 +20373,7 @@ export declare const mainChatContract: {
|
|
20328
20373
|
id: string;
|
20329
20374
|
name: string;
|
20330
20375
|
accessToken: string;
|
20376
|
+
channelSecret?: string | undefined;
|
20331
20377
|
additionalCredentials?: any;
|
20332
20378
|
} | undefined;
|
20333
20379
|
brandName?: string | undefined;
|
@@ -20647,6 +20693,7 @@ export declare const mainChatContract: {
|
|
20647
20693
|
id: string;
|
20648
20694
|
name: string;
|
20649
20695
|
accessToken: string;
|
20696
|
+
channelSecret?: string | undefined;
|
20650
20697
|
additionalCredentials?: any;
|
20651
20698
|
} | undefined;
|
20652
20699
|
brandName?: string | undefined;
|
@@ -21723,6 +21770,7 @@ export declare const mainChatContract: {
|
|
21723
21770
|
id: string;
|
21724
21771
|
name: string;
|
21725
21772
|
accessToken: string;
|
21773
|
+
channelSecret?: string | undefined;
|
21726
21774
|
additionalCredentials?: any;
|
21727
21775
|
} | undefined;
|
21728
21776
|
brandName?: string | undefined;
|
@@ -22205,6 +22253,7 @@ export declare const mainChatContract: {
|
|
22205
22253
|
id: string;
|
22206
22254
|
name: string;
|
22207
22255
|
accessToken: string;
|
22256
|
+
channelSecret?: string | undefined;
|
22208
22257
|
additionalCredentials?: any;
|
22209
22258
|
} | undefined;
|
22210
22259
|
brandName?: string | undefined;
|
@@ -22689,6 +22738,7 @@ export declare const mainChatContract: {
|
|
22689
22738
|
id: string;
|
22690
22739
|
name: string;
|
22691
22740
|
accessToken: string;
|
22741
|
+
channelSecret?: string | undefined;
|
22692
22742
|
additionalCredentials?: any;
|
22693
22743
|
} | undefined;
|
22694
22744
|
brandName?: string | undefined;
|
@@ -23177,6 +23227,7 @@ export declare const mainChatContract: {
|
|
23177
23227
|
id: string;
|
23178
23228
|
name: string;
|
23179
23229
|
accessToken: string;
|
23230
|
+
channelSecret?: string | undefined;
|
23180
23231
|
additionalCredentials?: any;
|
23181
23232
|
} | undefined;
|
23182
23233
|
brandName?: string | undefined;
|
@@ -23337,16 +23388,19 @@ export declare const mainChatContract: {
|
|
23337
23388
|
id: z.ZodString;
|
23338
23389
|
name: z.ZodString;
|
23339
23390
|
accessToken: z.ZodString;
|
23391
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
23340
23392
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
23341
23393
|
}, "strip", z.ZodTypeAny, {
|
23342
23394
|
id: string;
|
23343
23395
|
name: string;
|
23344
23396
|
accessToken: string;
|
23397
|
+
channelSecret?: string | undefined;
|
23345
23398
|
additionalCredentials?: any;
|
23346
23399
|
}, {
|
23347
23400
|
id: string;
|
23348
23401
|
name: string;
|
23349
23402
|
accessToken: string;
|
23403
|
+
channelSecret?: string | undefined;
|
23350
23404
|
additionalCredentials?: any;
|
23351
23405
|
}>>;
|
23352
23406
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -23570,6 +23624,7 @@ export declare const mainChatContract: {
|
|
23570
23624
|
id: string;
|
23571
23625
|
name: string;
|
23572
23626
|
accessToken: string;
|
23627
|
+
channelSecret?: string | undefined;
|
23573
23628
|
additionalCredentials?: any;
|
23574
23629
|
} | undefined;
|
23575
23630
|
brandName?: string | undefined;
|
@@ -23633,6 +23688,7 @@ export declare const mainChatContract: {
|
|
23633
23688
|
id: string;
|
23634
23689
|
name: string;
|
23635
23690
|
accessToken: string;
|
23691
|
+
channelSecret?: string | undefined;
|
23636
23692
|
additionalCredentials?: any;
|
23637
23693
|
} | undefined;
|
23638
23694
|
brandName?: string | undefined;
|
@@ -25539,6 +25595,7 @@ export declare const mainChatContract: {
|
|
25539
25595
|
id: string;
|
25540
25596
|
name: string;
|
25541
25597
|
accessToken: string;
|
25598
|
+
channelSecret?: string | undefined;
|
25542
25599
|
additionalCredentials?: any;
|
25543
25600
|
} | undefined;
|
25544
25601
|
brandName?: string | undefined;
|
@@ -25859,6 +25916,7 @@ export declare const mainChatContract: {
|
|
25859
25916
|
id: string;
|
25860
25917
|
name: string;
|
25861
25918
|
accessToken: string;
|
25919
|
+
channelSecret?: string | undefined;
|
25862
25920
|
additionalCredentials?: any;
|
25863
25921
|
} | undefined;
|
25864
25922
|
brandName?: string | undefined;
|
@@ -26181,6 +26239,7 @@ export declare const mainChatContract: {
|
|
26181
26239
|
id: string;
|
26182
26240
|
name: string;
|
26183
26241
|
accessToken: string;
|
26242
|
+
channelSecret?: string | undefined;
|
26184
26243
|
additionalCredentials?: any;
|
26185
26244
|
} | undefined;
|
26186
26245
|
brandName?: string | undefined;
|
@@ -26504,6 +26563,7 @@ export declare const mainChatContract: {
|
|
26504
26563
|
id: string;
|
26505
26564
|
name: string;
|
26506
26565
|
accessToken: string;
|
26566
|
+
channelSecret?: string | undefined;
|
26507
26567
|
additionalCredentials?: any;
|
26508
26568
|
} | undefined;
|
26509
26569
|
brandName?: string | undefined;
|
@@ -28056,16 +28116,19 @@ export declare const mainChatContract: {
|
|
28056
28116
|
id: z.ZodString;
|
28057
28117
|
name: z.ZodString;
|
28058
28118
|
accessToken: z.ZodString;
|
28119
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
28059
28120
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
28060
28121
|
}, "strip", z.ZodTypeAny, {
|
28061
28122
|
id: string;
|
28062
28123
|
name: string;
|
28063
28124
|
accessToken: string;
|
28125
|
+
channelSecret?: string | undefined;
|
28064
28126
|
additionalCredentials?: any;
|
28065
28127
|
}, {
|
28066
28128
|
id: string;
|
28067
28129
|
name: string;
|
28068
28130
|
accessToken: string;
|
28131
|
+
channelSecret?: string | undefined;
|
28069
28132
|
additionalCredentials?: any;
|
28070
28133
|
}>>;
|
28071
28134
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -28289,6 +28352,7 @@ export declare const mainChatContract: {
|
|
28289
28352
|
id: string;
|
28290
28353
|
name: string;
|
28291
28354
|
accessToken: string;
|
28355
|
+
channelSecret?: string | undefined;
|
28292
28356
|
additionalCredentials?: any;
|
28293
28357
|
} | undefined;
|
28294
28358
|
brandName?: string | undefined;
|
@@ -28352,6 +28416,7 @@ export declare const mainChatContract: {
|
|
28352
28416
|
id: string;
|
28353
28417
|
name: string;
|
28354
28418
|
accessToken: string;
|
28419
|
+
channelSecret?: string | undefined;
|
28355
28420
|
additionalCredentials?: any;
|
28356
28421
|
} | undefined;
|
28357
28422
|
brandName?: string | undefined;
|
@@ -28818,6 +28883,7 @@ export declare const mainChatContract: {
|
|
28818
28883
|
id: string;
|
28819
28884
|
name: string;
|
28820
28885
|
accessToken: string;
|
28886
|
+
channelSecret?: string | undefined;
|
28821
28887
|
additionalCredentials?: any;
|
28822
28888
|
} | undefined;
|
28823
28889
|
brandName?: string | undefined;
|
@@ -29137,6 +29203,7 @@ export declare const mainChatContract: {
|
|
29137
29203
|
id: string;
|
29138
29204
|
name: string;
|
29139
29205
|
accessToken: string;
|
29206
|
+
channelSecret?: string | undefined;
|
29140
29207
|
additionalCredentials?: any;
|
29141
29208
|
} | undefined;
|
29142
29209
|
brandName?: string | undefined;
|
@@ -29458,6 +29525,7 @@ export declare const mainChatContract: {
|
|
29458
29525
|
id: string;
|
29459
29526
|
name: string;
|
29460
29527
|
accessToken: string;
|
29528
|
+
channelSecret?: string | undefined;
|
29461
29529
|
additionalCredentials?: any;
|
29462
29530
|
} | undefined;
|
29463
29531
|
brandName?: string | undefined;
|
@@ -29780,6 +29848,7 @@ export declare const mainChatContract: {
|
|
29780
29848
|
id: string;
|
29781
29849
|
name: string;
|
29782
29850
|
accessToken: string;
|
29851
|
+
channelSecret?: string | undefined;
|
29783
29852
|
additionalCredentials?: any;
|
29784
29853
|
} | undefined;
|
29785
29854
|
brandName?: string | undefined;
|
@@ -31319,16 +31388,19 @@ export declare const mainChatContract: {
|
|
31319
31388
|
id: z.ZodString;
|
31320
31389
|
name: z.ZodString;
|
31321
31390
|
accessToken: z.ZodString;
|
31391
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
31322
31392
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
31323
31393
|
}, "strip", z.ZodTypeAny, {
|
31324
31394
|
id: string;
|
31325
31395
|
name: string;
|
31326
31396
|
accessToken: string;
|
31397
|
+
channelSecret?: string | undefined;
|
31327
31398
|
additionalCredentials?: any;
|
31328
31399
|
}, {
|
31329
31400
|
id: string;
|
31330
31401
|
name: string;
|
31331
31402
|
accessToken: string;
|
31403
|
+
channelSecret?: string | undefined;
|
31332
31404
|
additionalCredentials?: any;
|
31333
31405
|
}>>;
|
31334
31406
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -31552,6 +31624,7 @@ export declare const mainChatContract: {
|
|
31552
31624
|
id: string;
|
31553
31625
|
name: string;
|
31554
31626
|
accessToken: string;
|
31627
|
+
channelSecret?: string | undefined;
|
31555
31628
|
additionalCredentials?: any;
|
31556
31629
|
} | undefined;
|
31557
31630
|
brandName?: string | undefined;
|
@@ -31615,6 +31688,7 @@ export declare const mainChatContract: {
|
|
31615
31688
|
id: string;
|
31616
31689
|
name: string;
|
31617
31690
|
accessToken: string;
|
31691
|
+
channelSecret?: string | undefined;
|
31618
31692
|
additionalCredentials?: any;
|
31619
31693
|
} | undefined;
|
31620
31694
|
brandName?: string | undefined;
|
@@ -32081,6 +32155,7 @@ export declare const mainChatContract: {
|
|
32081
32155
|
id: string;
|
32082
32156
|
name: string;
|
32083
32157
|
accessToken: string;
|
32158
|
+
channelSecret?: string | undefined;
|
32084
32159
|
additionalCredentials?: any;
|
32085
32160
|
} | undefined;
|
32086
32161
|
brandName?: string | undefined;
|
@@ -32400,6 +32475,7 @@ export declare const mainChatContract: {
|
|
32400
32475
|
id: string;
|
32401
32476
|
name: string;
|
32402
32477
|
accessToken: string;
|
32478
|
+
channelSecret?: string | undefined;
|
32403
32479
|
additionalCredentials?: any;
|
32404
32480
|
} | undefined;
|
32405
32481
|
brandName?: string | undefined;
|
@@ -32721,6 +32797,7 @@ export declare const mainChatContract: {
|
|
32721
32797
|
id: string;
|
32722
32798
|
name: string;
|
32723
32799
|
accessToken: string;
|
32800
|
+
channelSecret?: string | undefined;
|
32724
32801
|
additionalCredentials?: any;
|
32725
32802
|
} | undefined;
|
32726
32803
|
brandName?: string | undefined;
|
@@ -33043,6 +33120,7 @@ export declare const mainChatContract: {
|
|
33043
33120
|
id: string;
|
33044
33121
|
name: string;
|
33045
33122
|
accessToken: string;
|
33123
|
+
channelSecret?: string | undefined;
|
33046
33124
|
additionalCredentials?: any;
|
33047
33125
|
} | undefined;
|
33048
33126
|
brandName?: string | undefined;
|
@@ -33155,16 +33233,19 @@ export declare const mainChatContract: {
|
|
33155
33233
|
id: z.ZodString;
|
33156
33234
|
name: z.ZodString;
|
33157
33235
|
accessToken: z.ZodString;
|
33236
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
33158
33237
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
33159
33238
|
}, "strip", z.ZodTypeAny, {
|
33160
33239
|
id: string;
|
33161
33240
|
name: string;
|
33162
33241
|
accessToken: string;
|
33242
|
+
channelSecret?: string | undefined;
|
33163
33243
|
additionalCredentials?: any;
|
33164
33244
|
}, {
|
33165
33245
|
id: string;
|
33166
33246
|
name: string;
|
33167
33247
|
accessToken: string;
|
33248
|
+
channelSecret?: string | undefined;
|
33168
33249
|
additionalCredentials?: any;
|
33169
33250
|
}>>;
|
33170
33251
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -33388,6 +33469,7 @@ export declare const mainChatContract: {
|
|
33388
33469
|
id: string;
|
33389
33470
|
name: string;
|
33390
33471
|
accessToken: string;
|
33472
|
+
channelSecret?: string | undefined;
|
33391
33473
|
additionalCredentials?: any;
|
33392
33474
|
} | undefined;
|
33393
33475
|
brandName?: string | undefined;
|
@@ -33451,6 +33533,7 @@ export declare const mainChatContract: {
|
|
33451
33533
|
id: string;
|
33452
33534
|
name: string;
|
33453
33535
|
accessToken: string;
|
33536
|
+
channelSecret?: string | undefined;
|
33454
33537
|
additionalCredentials?: any;
|
33455
33538
|
} | undefined;
|
33456
33539
|
brandName?: string | undefined;
|
@@ -36219,6 +36302,7 @@ export declare const mainChatContract: {
|
|
36219
36302
|
id: string;
|
36220
36303
|
name: string;
|
36221
36304
|
accessToken: string;
|
36305
|
+
channelSecret?: string | undefined;
|
36222
36306
|
additionalCredentials?: any;
|
36223
36307
|
} | undefined;
|
36224
36308
|
brandName?: string | undefined;
|
@@ -36643,6 +36727,7 @@ export declare const mainChatContract: {
|
|
36643
36727
|
id: string;
|
36644
36728
|
name: string;
|
36645
36729
|
accessToken: string;
|
36730
|
+
channelSecret?: string | undefined;
|
36646
36731
|
additionalCredentials?: any;
|
36647
36732
|
} | undefined;
|
36648
36733
|
brandName?: string | undefined;
|
@@ -37069,6 +37154,7 @@ export declare const mainChatContract: {
|
|
37069
37154
|
id: string;
|
37070
37155
|
name: string;
|
37071
37156
|
accessToken: string;
|
37157
|
+
channelSecret?: string | undefined;
|
37072
37158
|
additionalCredentials?: any;
|
37073
37159
|
} | undefined;
|
37074
37160
|
brandName?: string | undefined;
|
@@ -37496,6 +37582,7 @@ export declare const mainChatContract: {
|
|
37496
37582
|
id: string;
|
37497
37583
|
name: string;
|
37498
37584
|
accessToken: string;
|
37585
|
+
channelSecret?: string | undefined;
|
37499
37586
|
additionalCredentials?: any;
|
37500
37587
|
} | undefined;
|
37501
37588
|
brandName?: string | undefined;
|
@@ -37598,16 +37685,19 @@ export declare const mainChatContract: {
|
|
37598
37685
|
id: z.ZodString;
|
37599
37686
|
name: z.ZodString;
|
37600
37687
|
accessToken: z.ZodString;
|
37688
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
37601
37689
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
37602
37690
|
}, "strip", z.ZodTypeAny, {
|
37603
37691
|
id: string;
|
37604
37692
|
name: string;
|
37605
37693
|
accessToken: string;
|
37694
|
+
channelSecret?: string | undefined;
|
37606
37695
|
additionalCredentials?: any;
|
37607
37696
|
}, {
|
37608
37697
|
id: string;
|
37609
37698
|
name: string;
|
37610
37699
|
accessToken: string;
|
37700
|
+
channelSecret?: string | undefined;
|
37611
37701
|
additionalCredentials?: any;
|
37612
37702
|
}>>;
|
37613
37703
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -37831,6 +37921,7 @@ export declare const mainChatContract: {
|
|
37831
37921
|
id: string;
|
37832
37922
|
name: string;
|
37833
37923
|
accessToken: string;
|
37924
|
+
channelSecret?: string | undefined;
|
37834
37925
|
additionalCredentials?: any;
|
37835
37926
|
} | undefined;
|
37836
37927
|
brandName?: string | undefined;
|
@@ -37894,6 +37985,7 @@ export declare const mainChatContract: {
|
|
37894
37985
|
id: string;
|
37895
37986
|
name: string;
|
37896
37987
|
accessToken: string;
|
37988
|
+
channelSecret?: string | undefined;
|
37897
37989
|
additionalCredentials?: any;
|
37898
37990
|
} | undefined;
|
37899
37991
|
brandName?: string | undefined;
|
@@ -39800,6 +39892,7 @@ export declare const mainChatContract: {
|
|
39800
39892
|
id: string;
|
39801
39893
|
name: string;
|
39802
39894
|
accessToken: string;
|
39895
|
+
channelSecret?: string | undefined;
|
39803
39896
|
additionalCredentials?: any;
|
39804
39897
|
} | undefined;
|
39805
39898
|
brandName?: string | undefined;
|
@@ -40120,6 +40213,7 @@ export declare const mainChatContract: {
|
|
40120
40213
|
id: string;
|
40121
40214
|
name: string;
|
40122
40215
|
accessToken: string;
|
40216
|
+
channelSecret?: string | undefined;
|
40123
40217
|
additionalCredentials?: any;
|
40124
40218
|
} | undefined;
|
40125
40219
|
brandName?: string | undefined;
|
@@ -40442,6 +40536,7 @@ export declare const mainChatContract: {
|
|
40442
40536
|
id: string;
|
40443
40537
|
name: string;
|
40444
40538
|
accessToken: string;
|
40539
|
+
channelSecret?: string | undefined;
|
40445
40540
|
additionalCredentials?: any;
|
40446
40541
|
} | undefined;
|
40447
40542
|
brandName?: string | undefined;
|
@@ -40765,6 +40860,7 @@ export declare const mainChatContract: {
|
|
40765
40860
|
id: string;
|
40766
40861
|
name: string;
|
40767
40862
|
accessToken: string;
|
40863
|
+
channelSecret?: string | undefined;
|
40768
40864
|
additionalCredentials?: any;
|
40769
40865
|
} | undefined;
|
40770
40866
|
brandName?: string | undefined;
|
@@ -40847,9 +40943,9 @@ export declare const mainChatContract: {
|
|
40847
40943
|
page: z.ZodDefault<z.ZodNumber>;
|
40848
40944
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
40849
40945
|
query: z.ZodString;
|
40850
|
-
type: z.ZodDefault<z.
|
40946
|
+
type: z.ZodDefault<z.ZodEnum<["contact", "message"]>>;
|
40851
40947
|
}, "strip", z.ZodTypeAny, {
|
40852
|
-
type:
|
40948
|
+
type: "message" | "contact";
|
40853
40949
|
page: number;
|
40854
40950
|
pageSize: number;
|
40855
40951
|
query: string;
|
@@ -40857,7 +40953,7 @@ export declare const mainChatContract: {
|
|
40857
40953
|
query: string;
|
40858
40954
|
page?: number | undefined;
|
40859
40955
|
pageSize?: number | undefined;
|
40860
|
-
type?:
|
40956
|
+
type?: "message" | "contact" | undefined;
|
40861
40957
|
}>;
|
40862
40958
|
responses: {
|
40863
40959
|
200: z.ZodObject<{
|
@@ -42316,16 +42412,19 @@ export declare const mainChatContract: {
|
|
42316
42412
|
id: z.ZodString;
|
42317
42413
|
name: z.ZodString;
|
42318
42414
|
accessToken: z.ZodString;
|
42415
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
42319
42416
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
42320
42417
|
}, "strip", z.ZodTypeAny, {
|
42321
42418
|
id: string;
|
42322
42419
|
name: string;
|
42323
42420
|
accessToken: string;
|
42421
|
+
channelSecret?: string | undefined;
|
42324
42422
|
additionalCredentials?: any;
|
42325
42423
|
}, {
|
42326
42424
|
id: string;
|
42327
42425
|
name: string;
|
42328
42426
|
accessToken: string;
|
42427
|
+
channelSecret?: string | undefined;
|
42329
42428
|
additionalCredentials?: any;
|
42330
42429
|
}>>;
|
42331
42430
|
brandName: z.ZodOptional<z.ZodString>;
|
@@ -42549,6 +42648,7 @@ export declare const mainChatContract: {
|
|
42549
42648
|
id: string;
|
42550
42649
|
name: string;
|
42551
42650
|
accessToken: string;
|
42651
|
+
channelSecret?: string | undefined;
|
42552
42652
|
additionalCredentials?: any;
|
42553
42653
|
} | undefined;
|
42554
42654
|
brandName?: string | undefined;
|
@@ -42612,6 +42712,7 @@ export declare const mainChatContract: {
|
|
42612
42712
|
id: string;
|
42613
42713
|
name: string;
|
42614
42714
|
accessToken: string;
|
42715
|
+
channelSecret?: string | undefined;
|
42615
42716
|
additionalCredentials?: any;
|
42616
42717
|
} | undefined;
|
42617
42718
|
brandName?: string | undefined;
|
@@ -43078,6 +43179,7 @@ export declare const mainChatContract: {
|
|
43078
43179
|
id: string;
|
43079
43180
|
name: string;
|
43080
43181
|
accessToken: string;
|
43182
|
+
channelSecret?: string | undefined;
|
43081
43183
|
additionalCredentials?: any;
|
43082
43184
|
} | undefined;
|
43083
43185
|
brandName?: string | undefined;
|
@@ -43397,6 +43499,7 @@ export declare const mainChatContract: {
|
|
43397
43499
|
id: string;
|
43398
43500
|
name: string;
|
43399
43501
|
accessToken: string;
|
43502
|
+
channelSecret?: string | undefined;
|
43400
43503
|
additionalCredentials?: any;
|
43401
43504
|
} | undefined;
|
43402
43505
|
brandName?: string | undefined;
|
@@ -43718,6 +43821,7 @@ export declare const mainChatContract: {
|
|
43718
43821
|
id: string;
|
43719
43822
|
name: string;
|
43720
43823
|
accessToken: string;
|
43824
|
+
channelSecret?: string | undefined;
|
43721
43825
|
additionalCredentials?: any;
|
43722
43826
|
} | undefined;
|
43723
43827
|
brandName?: string | undefined;
|
@@ -44043,6 +44147,7 @@ export declare const mainChatContract: {
|
|
44043
44147
|
id: string;
|
44044
44148
|
name: string;
|
44045
44149
|
accessToken: string;
|
44150
|
+
channelSecret?: string | undefined;
|
44046
44151
|
additionalCredentials?: any;
|
44047
44152
|
} | undefined;
|
44048
44153
|
brandName?: string | undefined;
|