@kl1/contracts 1.0.74 → 1.0.75

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.
@@ -51,14 +51,14 @@ export declare const viberContract: {
51
51
  responses: {
52
52
  200: z.ZodObject<{
53
53
  requestId: z.ZodString;
54
- channel: z.ZodOptional<z.ZodObject<{
55
- id: z.ZodOptional<z.ZodString>;
56
- createdAt: z.ZodOptional<z.ZodDate>;
57
- updatedAt: z.ZodOptional<z.ZodDate>;
58
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
59
- name: z.ZodOptional<z.ZodString>;
60
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
61
- metadata: z.ZodOptional<z.ZodObject<{
54
+ channel: z.ZodObject<{
55
+ id: z.ZodString;
56
+ createdAt: z.ZodDate;
57
+ updatedAt: z.ZodDate;
58
+ deletedAt: z.ZodNullable<z.ZodDate>;
59
+ name: z.ZodString;
60
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
61
+ metadata: z.ZodObject<{
62
62
  id: z.ZodString;
63
63
  name: z.ZodString;
64
64
  accessToken: z.ZodString;
@@ -76,14 +76,14 @@ export declare const viberContract: {
76
76
  accessToken: string;
77
77
  channelSecret?: string | undefined;
78
78
  additionalCredentials?: any;
79
- }>>;
80
- brandName: z.ZodOptional<z.ZodString>;
81
- platformId: z.ZodOptional<z.ZodString>;
82
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
83
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
84
- connectedUserName: z.ZodOptional<z.ZodString>;
85
- connectedUserId: z.ZodOptional<z.ZodString>;
86
- actor: z.ZodOptional<z.ZodObject<{
79
+ }>;
80
+ brandName: z.ZodString;
81
+ platformId: z.ZodString;
82
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
83
+ isReloginRequired: z.ZodBoolean;
84
+ connectedUserName: z.ZodString;
85
+ connectedUserId: z.ZodString;
86
+ actor: z.ZodObject<{
87
87
  id: z.ZodString;
88
88
  createdAt: z.ZodDate;
89
89
  updatedAt: z.ZodDate;
@@ -286,28 +286,23 @@ export declare const viberContract: {
286
286
  extensionName: string;
287
287
  telephonySignature: string | null;
288
288
  };
289
- }>>;
289
+ }>;
290
290
  }, "strip", z.ZodTypeAny, {
291
- id?: string | undefined;
292
- createdAt?: Date | undefined;
293
- updatedAt?: Date | undefined;
294
- deletedAt?: Date | null | undefined;
295
- name?: string | undefined;
296
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
297
- metadata?: {
291
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
292
+ id: string;
293
+ name: string;
294
+ metadata: {
298
295
  id: string;
299
296
  name: string;
300
297
  accessToken: string;
301
298
  channelSecret?: string | undefined;
302
299
  additionalCredentials?: any;
303
- } | undefined;
304
- brandName?: string | undefined;
305
- platformId?: string | undefined;
306
- status?: boolean | undefined;
307
- isReloginRequired?: boolean | undefined;
308
- connectedUserName?: string | undefined;
309
- connectedUserId?: string | undefined;
310
- actor?: {
300
+ };
301
+ status: boolean;
302
+ createdAt: Date;
303
+ updatedAt: Date;
304
+ deletedAt: Date | null;
305
+ actor: {
311
306
  id: string;
312
307
  address: string | null;
313
308
  name: string;
@@ -350,28 +345,28 @@ export declare const viberContract: {
350
345
  extensionName: string;
351
346
  telephonySignature: string | null;
352
347
  };
353
- } | undefined;
348
+ };
349
+ brandName: string;
350
+ platformId: string;
351
+ isReloginRequired: boolean;
352
+ connectedUserName: string;
353
+ connectedUserId: string;
354
354
  }, {
355
- id?: string | undefined;
356
- createdAt?: Date | undefined;
357
- updatedAt?: Date | undefined;
358
- deletedAt?: Date | null | undefined;
359
- name?: string | undefined;
360
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
361
- metadata?: {
355
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
356
+ id: string;
357
+ name: string;
358
+ metadata: {
362
359
  id: string;
363
360
  name: string;
364
361
  accessToken: string;
365
362
  channelSecret?: string | undefined;
366
363
  additionalCredentials?: any;
367
- } | undefined;
368
- brandName?: string | undefined;
369
- platformId?: string | undefined;
370
- status?: boolean | undefined;
371
- isReloginRequired?: boolean | undefined;
372
- connectedUserName?: string | undefined;
373
- connectedUserId?: string | undefined;
374
- actor?: {
364
+ };
365
+ status: boolean;
366
+ createdAt: Date;
367
+ updatedAt: Date;
368
+ deletedAt: Date | null;
369
+ actor: {
375
370
  id: string;
376
371
  address: string | null;
377
372
  name: string;
@@ -414,31 +409,30 @@ export declare const viberContract: {
414
409
  extensionName: string;
415
410
  telephonySignature: string | null;
416
411
  };
417
- } | undefined;
418
- }>>;
412
+ };
413
+ brandName: string;
414
+ platformId: string;
415
+ isReloginRequired: boolean;
416
+ connectedUserName: string;
417
+ connectedUserId: string;
418
+ }>;
419
419
  }, "strip", z.ZodTypeAny, {
420
- requestId: string;
421
- channel?: {
422
- id?: string | undefined;
423
- createdAt?: Date | undefined;
424
- updatedAt?: Date | undefined;
425
- deletedAt?: Date | null | undefined;
426
- name?: string | undefined;
427
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
428
- metadata?: {
420
+ channel: {
421
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
422
+ id: string;
423
+ name: string;
424
+ metadata: {
429
425
  id: string;
430
426
  name: string;
431
427
  accessToken: string;
432
428
  channelSecret?: string | undefined;
433
429
  additionalCredentials?: any;
434
- } | undefined;
435
- brandName?: string | undefined;
436
- platformId?: string | undefined;
437
- status?: boolean | undefined;
438
- isReloginRequired?: boolean | undefined;
439
- connectedUserName?: string | undefined;
440
- connectedUserId?: string | undefined;
441
- actor?: {
430
+ };
431
+ status: boolean;
432
+ createdAt: Date;
433
+ updatedAt: Date;
434
+ deletedAt: Date | null;
435
+ actor: {
442
436
  id: string;
443
437
  address: string | null;
444
438
  name: string;
@@ -481,31 +475,31 @@ export declare const viberContract: {
481
475
  extensionName: string;
482
476
  telephonySignature: string | null;
483
477
  };
484
- } | undefined;
485
- } | undefined;
486
- }, {
478
+ };
479
+ brandName: string;
480
+ platformId: string;
481
+ isReloginRequired: boolean;
482
+ connectedUserName: string;
483
+ connectedUserId: string;
484
+ };
487
485
  requestId: string;
488
- channel?: {
489
- id?: string | undefined;
490
- createdAt?: Date | undefined;
491
- updatedAt?: Date | undefined;
492
- deletedAt?: Date | null | undefined;
493
- name?: string | undefined;
494
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
495
- metadata?: {
486
+ }, {
487
+ channel: {
488
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
489
+ id: string;
490
+ name: string;
491
+ metadata: {
496
492
  id: string;
497
493
  name: string;
498
494
  accessToken: string;
499
495
  channelSecret?: string | undefined;
500
496
  additionalCredentials?: any;
501
- } | undefined;
502
- brandName?: string | undefined;
503
- platformId?: string | undefined;
504
- status?: boolean | undefined;
505
- isReloginRequired?: boolean | undefined;
506
- connectedUserName?: string | undefined;
507
- connectedUserId?: string | undefined;
508
- actor?: {
497
+ };
498
+ status: boolean;
499
+ createdAt: Date;
500
+ updatedAt: Date;
501
+ deletedAt: Date | null;
502
+ actor: {
509
503
  id: string;
510
504
  address: string | null;
511
505
  name: string;
@@ -548,8 +542,14 @@ export declare const viberContract: {
548
542
  extensionName: string;
549
543
  telephonySignature: string | null;
550
544
  };
551
- } | undefined;
552
- } | undefined;
545
+ };
546
+ brandName: string;
547
+ platformId: string;
548
+ isReloginRequired: boolean;
549
+ connectedUserName: string;
550
+ connectedUserId: string;
551
+ };
552
+ requestId: string;
553
553
  }>;
554
554
  400: z.ZodObject<{
555
555
  message: z.ZodString;
@@ -577,14 +577,14 @@ export declare const viberContract: {
577
577
  responses: {
578
578
  200: z.ZodObject<{
579
579
  requestId: z.ZodString;
580
- channel: z.ZodOptional<z.ZodObject<{
581
- id: z.ZodOptional<z.ZodString>;
582
- createdAt: z.ZodOptional<z.ZodDate>;
583
- updatedAt: z.ZodOptional<z.ZodDate>;
584
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
585
- name: z.ZodOptional<z.ZodString>;
586
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
587
- metadata: z.ZodOptional<z.ZodObject<{
580
+ channel: z.ZodObject<{
581
+ id: z.ZodString;
582
+ createdAt: z.ZodDate;
583
+ updatedAt: z.ZodDate;
584
+ deletedAt: z.ZodNullable<z.ZodDate>;
585
+ name: z.ZodString;
586
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
587
+ metadata: z.ZodObject<{
588
588
  id: z.ZodString;
589
589
  name: z.ZodString;
590
590
  accessToken: z.ZodString;
@@ -602,14 +602,14 @@ export declare const viberContract: {
602
602
  accessToken: string;
603
603
  channelSecret?: string | undefined;
604
604
  additionalCredentials?: any;
605
- }>>;
606
- brandName: z.ZodOptional<z.ZodString>;
607
- platformId: z.ZodOptional<z.ZodString>;
608
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
609
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
610
- connectedUserName: z.ZodOptional<z.ZodString>;
611
- connectedUserId: z.ZodOptional<z.ZodString>;
612
- actor: z.ZodOptional<z.ZodObject<{
605
+ }>;
606
+ brandName: z.ZodString;
607
+ platformId: z.ZodString;
608
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
609
+ isReloginRequired: z.ZodBoolean;
610
+ connectedUserName: z.ZodString;
611
+ connectedUserId: z.ZodString;
612
+ actor: z.ZodObject<{
613
613
  id: z.ZodString;
614
614
  createdAt: z.ZodDate;
615
615
  updatedAt: z.ZodDate;
@@ -812,28 +812,23 @@ export declare const viberContract: {
812
812
  extensionName: string;
813
813
  telephonySignature: string | null;
814
814
  };
815
- }>>;
815
+ }>;
816
816
  }, "strip", z.ZodTypeAny, {
817
- id?: string | undefined;
818
- createdAt?: Date | undefined;
819
- updatedAt?: Date | undefined;
820
- deletedAt?: Date | null | undefined;
821
- name?: string | undefined;
822
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
823
- metadata?: {
817
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
818
+ id: string;
819
+ name: string;
820
+ metadata: {
824
821
  id: string;
825
822
  name: string;
826
823
  accessToken: string;
827
824
  channelSecret?: string | undefined;
828
825
  additionalCredentials?: any;
829
- } | undefined;
830
- brandName?: string | undefined;
831
- platformId?: string | undefined;
832
- status?: boolean | undefined;
833
- isReloginRequired?: boolean | undefined;
834
- connectedUserName?: string | undefined;
835
- connectedUserId?: string | undefined;
836
- actor?: {
826
+ };
827
+ status: boolean;
828
+ createdAt: Date;
829
+ updatedAt: Date;
830
+ deletedAt: Date | null;
831
+ actor: {
837
832
  id: string;
838
833
  address: string | null;
839
834
  name: string;
@@ -876,28 +871,28 @@ export declare const viberContract: {
876
871
  extensionName: string;
877
872
  telephonySignature: string | null;
878
873
  };
879
- } | undefined;
874
+ };
875
+ brandName: string;
876
+ platformId: string;
877
+ isReloginRequired: boolean;
878
+ connectedUserName: string;
879
+ connectedUserId: string;
880
880
  }, {
881
- id?: string | undefined;
882
- createdAt?: Date | undefined;
883
- updatedAt?: Date | undefined;
884
- deletedAt?: Date | null | undefined;
885
- name?: string | undefined;
886
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
887
- metadata?: {
881
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
882
+ id: string;
883
+ name: string;
884
+ metadata: {
888
885
  id: string;
889
886
  name: string;
890
887
  accessToken: string;
891
888
  channelSecret?: string | undefined;
892
889
  additionalCredentials?: any;
893
- } | undefined;
894
- brandName?: string | undefined;
895
- platformId?: string | undefined;
896
- status?: boolean | undefined;
897
- isReloginRequired?: boolean | undefined;
898
- connectedUserName?: string | undefined;
899
- connectedUserId?: string | undefined;
900
- actor?: {
890
+ };
891
+ status: boolean;
892
+ createdAt: Date;
893
+ updatedAt: Date;
894
+ deletedAt: Date | null;
895
+ actor: {
901
896
  id: string;
902
897
  address: string | null;
903
898
  name: string;
@@ -940,31 +935,30 @@ export declare const viberContract: {
940
935
  extensionName: string;
941
936
  telephonySignature: string | null;
942
937
  };
943
- } | undefined;
944
- }>>;
938
+ };
939
+ brandName: string;
940
+ platformId: string;
941
+ isReloginRequired: boolean;
942
+ connectedUserName: string;
943
+ connectedUserId: string;
944
+ }>;
945
945
  }, "strip", z.ZodTypeAny, {
946
- requestId: string;
947
- channel?: {
948
- id?: string | undefined;
949
- createdAt?: Date | undefined;
950
- updatedAt?: Date | undefined;
951
- deletedAt?: Date | null | undefined;
952
- name?: string | undefined;
953
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
954
- metadata?: {
946
+ channel: {
947
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
948
+ id: string;
949
+ name: string;
950
+ metadata: {
955
951
  id: string;
956
952
  name: string;
957
953
  accessToken: string;
958
954
  channelSecret?: string | undefined;
959
955
  additionalCredentials?: any;
960
- } | undefined;
961
- brandName?: string | undefined;
962
- platformId?: string | undefined;
963
- status?: boolean | undefined;
964
- isReloginRequired?: boolean | undefined;
965
- connectedUserName?: string | undefined;
966
- connectedUserId?: string | undefined;
967
- actor?: {
956
+ };
957
+ status: boolean;
958
+ createdAt: Date;
959
+ updatedAt: Date;
960
+ deletedAt: Date | null;
961
+ actor: {
968
962
  id: string;
969
963
  address: string | null;
970
964
  name: string;
@@ -1007,31 +1001,31 @@ export declare const viberContract: {
1007
1001
  extensionName: string;
1008
1002
  telephonySignature: string | null;
1009
1003
  };
1010
- } | undefined;
1011
- } | undefined;
1012
- }, {
1004
+ };
1005
+ brandName: string;
1006
+ platformId: string;
1007
+ isReloginRequired: boolean;
1008
+ connectedUserName: string;
1009
+ connectedUserId: string;
1010
+ };
1013
1011
  requestId: string;
1014
- channel?: {
1015
- id?: string | undefined;
1016
- createdAt?: Date | undefined;
1017
- updatedAt?: Date | undefined;
1018
- deletedAt?: Date | null | undefined;
1019
- name?: string | undefined;
1020
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
1021
- metadata?: {
1012
+ }, {
1013
+ channel: {
1014
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1015
+ id: string;
1016
+ name: string;
1017
+ metadata: {
1022
1018
  id: string;
1023
1019
  name: string;
1024
1020
  accessToken: string;
1025
1021
  channelSecret?: string | undefined;
1026
1022
  additionalCredentials?: any;
1027
- } | undefined;
1028
- brandName?: string | undefined;
1029
- platformId?: string | undefined;
1030
- status?: boolean | undefined;
1031
- isReloginRequired?: boolean | undefined;
1032
- connectedUserName?: string | undefined;
1033
- connectedUserId?: string | undefined;
1034
- actor?: {
1023
+ };
1024
+ status: boolean;
1025
+ createdAt: Date;
1026
+ updatedAt: Date;
1027
+ deletedAt: Date | null;
1028
+ actor: {
1035
1029
  id: string;
1036
1030
  address: string | null;
1037
1031
  name: string;
@@ -1074,8 +1068,14 @@ export declare const viberContract: {
1074
1068
  extensionName: string;
1075
1069
  telephonySignature: string | null;
1076
1070
  };
1077
- } | undefined;
1078
- } | undefined;
1071
+ };
1072
+ brandName: string;
1073
+ platformId: string;
1074
+ isReloginRequired: boolean;
1075
+ connectedUserName: string;
1076
+ connectedUserId: string;
1077
+ };
1078
+ requestId: string;
1079
1079
  }>;
1080
1080
  400: z.ZodObject<{
1081
1081
  message: z.ZodString;
@@ -3036,14 +3036,14 @@ export declare const viberContract: {
3036
3036
  telephonySignature: string | null;
3037
3037
  };
3038
3038
  }>;
3039
- channel: z.ZodOptional<z.ZodObject<{
3040
- id: z.ZodOptional<z.ZodString>;
3041
- createdAt: z.ZodOptional<z.ZodDate>;
3042
- updatedAt: z.ZodOptional<z.ZodDate>;
3043
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3044
- name: z.ZodOptional<z.ZodString>;
3045
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
3046
- metadata: z.ZodOptional<z.ZodObject<{
3039
+ channel: z.ZodObject<{
3040
+ id: z.ZodString;
3041
+ createdAt: z.ZodDate;
3042
+ updatedAt: z.ZodDate;
3043
+ deletedAt: z.ZodNullable<z.ZodDate>;
3044
+ name: z.ZodString;
3045
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
3046
+ metadata: z.ZodObject<{
3047
3047
  id: z.ZodString;
3048
3048
  name: z.ZodString;
3049
3049
  accessToken: z.ZodString;
@@ -3061,14 +3061,14 @@ export declare const viberContract: {
3061
3061
  accessToken: string;
3062
3062
  channelSecret?: string | undefined;
3063
3063
  additionalCredentials?: any;
3064
- }>>;
3065
- brandName: z.ZodOptional<z.ZodString>;
3066
- platformId: z.ZodOptional<z.ZodString>;
3067
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
3068
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
3069
- connectedUserName: z.ZodOptional<z.ZodString>;
3070
- connectedUserId: z.ZodOptional<z.ZodString>;
3071
- actor: z.ZodOptional<z.ZodObject<{
3064
+ }>;
3065
+ brandName: z.ZodString;
3066
+ platformId: z.ZodString;
3067
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
3068
+ isReloginRequired: z.ZodBoolean;
3069
+ connectedUserName: z.ZodString;
3070
+ connectedUserId: z.ZodString;
3071
+ actor: z.ZodObject<{
3072
3072
  id: z.ZodString;
3073
3073
  createdAt: z.ZodDate;
3074
3074
  updatedAt: z.ZodDate;
@@ -3271,28 +3271,23 @@ export declare const viberContract: {
3271
3271
  extensionName: string;
3272
3272
  telephonySignature: string | null;
3273
3273
  };
3274
- }>>;
3274
+ }>;
3275
3275
  }, "strip", z.ZodTypeAny, {
3276
- id?: string | undefined;
3277
- createdAt?: Date | undefined;
3278
- updatedAt?: Date | undefined;
3279
- deletedAt?: Date | null | undefined;
3280
- name?: string | undefined;
3281
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3282
- metadata?: {
3276
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3277
+ id: string;
3278
+ name: string;
3279
+ metadata: {
3283
3280
  id: string;
3284
3281
  name: string;
3285
3282
  accessToken: string;
3286
3283
  channelSecret?: string | undefined;
3287
3284
  additionalCredentials?: any;
3288
- } | undefined;
3289
- brandName?: string | undefined;
3290
- platformId?: string | undefined;
3291
- status?: boolean | undefined;
3292
- isReloginRequired?: boolean | undefined;
3293
- connectedUserName?: string | undefined;
3294
- connectedUserId?: string | undefined;
3295
- actor?: {
3285
+ };
3286
+ status: boolean;
3287
+ createdAt: Date;
3288
+ updatedAt: Date;
3289
+ deletedAt: Date | null;
3290
+ actor: {
3296
3291
  id: string;
3297
3292
  address: string | null;
3298
3293
  name: string;
@@ -3335,28 +3330,28 @@ export declare const viberContract: {
3335
3330
  extensionName: string;
3336
3331
  telephonySignature: string | null;
3337
3332
  };
3338
- } | undefined;
3333
+ };
3334
+ brandName: string;
3335
+ platformId: string;
3336
+ isReloginRequired: boolean;
3337
+ connectedUserName: string;
3338
+ connectedUserId: string;
3339
3339
  }, {
3340
- id?: string | undefined;
3341
- createdAt?: Date | undefined;
3342
- updatedAt?: Date | undefined;
3343
- deletedAt?: Date | null | undefined;
3344
- name?: string | undefined;
3345
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3346
- metadata?: {
3340
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3341
+ id: string;
3342
+ name: string;
3343
+ metadata: {
3347
3344
  id: string;
3348
3345
  name: string;
3349
3346
  accessToken: string;
3350
3347
  channelSecret?: string | undefined;
3351
3348
  additionalCredentials?: any;
3352
- } | undefined;
3353
- brandName?: string | undefined;
3354
- platformId?: string | undefined;
3355
- status?: boolean | undefined;
3356
- isReloginRequired?: boolean | undefined;
3357
- connectedUserName?: string | undefined;
3358
- connectedUserId?: string | undefined;
3359
- actor?: {
3349
+ };
3350
+ status: boolean;
3351
+ createdAt: Date;
3352
+ updatedAt: Date;
3353
+ deletedAt: Date | null;
3354
+ actor: {
3360
3355
  id: string;
3361
3356
  address: string | null;
3362
3357
  name: string;
@@ -3399,8 +3394,13 @@ export declare const viberContract: {
3399
3394
  extensionName: string;
3400
3395
  telephonySignature: string | null;
3401
3396
  };
3402
- } | undefined;
3403
- }>>;
3397
+ };
3398
+ brandName: string;
3399
+ platformId: string;
3400
+ isReloginRequired: boolean;
3401
+ connectedUserName: string;
3402
+ connectedUserId: string;
3403
+ }>;
3404
3404
  cxlog: z.ZodObject<{
3405
3405
  id: z.ZodString;
3406
3406
  createdAt: z.ZodDate;
@@ -3547,31 +3547,34 @@ export declare const viberContract: {
3547
3547
  }>;
3548
3548
  }, "strip", z.ZodTypeAny, {
3549
3549
  id: string;
3550
- direction: "incoming" | "outgoing" | "system";
3551
- createdAt: Date;
3552
- updatedAt: Date;
3553
- deletedAt: Date | null;
3554
- actor: {
3550
+ channel: {
3551
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3555
3552
  id: string;
3556
- address: string | null;
3557
3553
  name: string;
3558
- email: string;
3554
+ metadata: {
3555
+ id: string;
3556
+ name: string;
3557
+ accessToken: string;
3558
+ channelSecret?: string | undefined;
3559
+ additionalCredentials?: any;
3560
+ };
3561
+ status: boolean;
3559
3562
  createdAt: Date;
3560
3563
  updatedAt: Date;
3561
3564
  deletedAt: Date | null;
3562
- emailVerifiedAt: Date | null;
3563
- password: string;
3564
- phone: string | null;
3565
- notificationCount: number | null;
3566
- roles: {
3565
+ actor: {
3567
3566
  id: string;
3568
- description: string | null;
3567
+ address: string | null;
3568
+ name: string;
3569
+ email: string;
3569
3570
  createdAt: Date;
3570
3571
  updatedAt: Date;
3571
3572
  deletedAt: Date | null;
3572
- systemName: string;
3573
- displayName: string;
3574
- permissions: {
3573
+ emailVerifiedAt: Date | null;
3574
+ password: string;
3575
+ phone: string | null;
3576
+ notificationCount: number | null;
3577
+ roles: {
3575
3578
  id: string;
3576
3579
  description: string | null;
3577
3580
  createdAt: Date;
@@ -3579,14 +3582,76 @@ export declare const viberContract: {
3579
3582
  deletedAt: Date | null;
3580
3583
  systemName: string;
3581
3584
  displayName: string;
3582
- }[];
3583
- }[];
3584
- extension: {
3585
- id: string;
3586
- createdAt: Date;
3587
- updatedAt: Date;
3588
- deletedAt: Date | null;
3589
- userId: string | null;
3585
+ permissions: {
3586
+ id: string;
3587
+ description: string | null;
3588
+ createdAt: Date;
3589
+ updatedAt: Date;
3590
+ deletedAt: Date | null;
3591
+ systemName: string;
3592
+ displayName: string;
3593
+ }[];
3594
+ }[];
3595
+ extension: {
3596
+ id: string;
3597
+ createdAt: Date;
3598
+ updatedAt: Date;
3599
+ deletedAt: Date | null;
3600
+ userId: string | null;
3601
+ sipServerUrl: string;
3602
+ sipUserName: string;
3603
+ webphoneLoginUser: string;
3604
+ extensionId: string | null;
3605
+ extensionName: string;
3606
+ telephonySignature: string | null;
3607
+ };
3608
+ };
3609
+ brandName: string;
3610
+ platformId: string;
3611
+ isReloginRequired: boolean;
3612
+ connectedUserName: string;
3613
+ connectedUserId: string;
3614
+ };
3615
+ direction: "incoming" | "outgoing" | "system";
3616
+ createdAt: Date;
3617
+ updatedAt: Date;
3618
+ deletedAt: Date | null;
3619
+ actor: {
3620
+ id: string;
3621
+ address: string | null;
3622
+ name: string;
3623
+ email: string;
3624
+ createdAt: Date;
3625
+ updatedAt: Date;
3626
+ deletedAt: Date | null;
3627
+ emailVerifiedAt: Date | null;
3628
+ password: string;
3629
+ phone: string | null;
3630
+ notificationCount: number | null;
3631
+ roles: {
3632
+ id: string;
3633
+ description: string | null;
3634
+ createdAt: Date;
3635
+ updatedAt: Date;
3636
+ deletedAt: Date | null;
3637
+ systemName: string;
3638
+ displayName: string;
3639
+ permissions: {
3640
+ id: string;
3641
+ description: string | null;
3642
+ createdAt: Date;
3643
+ updatedAt: Date;
3644
+ deletedAt: Date | null;
3645
+ systemName: string;
3646
+ displayName: string;
3647
+ }[];
3648
+ }[];
3649
+ extension: {
3650
+ id: string;
3651
+ createdAt: Date;
3652
+ updatedAt: Date;
3653
+ deletedAt: Date | null;
3654
+ userId: string | null;
3590
3655
  sipServerUrl: string;
3591
3656
  sipUserName: string;
3592
3657
  webphoneLoginUser: string;
@@ -3792,27 +3857,24 @@ export declare const viberContract: {
3792
3857
  callTo: string | null;
3793
3858
  } | null;
3794
3859
  };
3795
- channel?: {
3796
- id?: string | undefined;
3797
- createdAt?: Date | undefined;
3798
- updatedAt?: Date | undefined;
3799
- deletedAt?: Date | null | undefined;
3800
- name?: string | undefined;
3801
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3802
- metadata?: {
3860
+ }, {
3861
+ id: string;
3862
+ channel: {
3863
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3864
+ id: string;
3865
+ name: string;
3866
+ metadata: {
3803
3867
  id: string;
3804
3868
  name: string;
3805
3869
  accessToken: string;
3806
3870
  channelSecret?: string | undefined;
3807
3871
  additionalCredentials?: any;
3808
- } | undefined;
3809
- brandName?: string | undefined;
3810
- platformId?: string | undefined;
3811
- status?: boolean | undefined;
3812
- isReloginRequired?: boolean | undefined;
3813
- connectedUserName?: string | undefined;
3814
- connectedUserId?: string | undefined;
3815
- actor?: {
3872
+ };
3873
+ status: boolean;
3874
+ createdAt: Date;
3875
+ updatedAt: Date;
3876
+ deletedAt: Date | null;
3877
+ actor: {
3816
3878
  id: string;
3817
3879
  address: string | null;
3818
3880
  name: string;
@@ -3855,10 +3917,13 @@ export declare const viberContract: {
3855
3917
  extensionName: string;
3856
3918
  telephonySignature: string | null;
3857
3919
  };
3858
- } | undefined;
3859
- } | undefined;
3860
- }, {
3861
- id: string;
3920
+ };
3921
+ brandName: string;
3922
+ platformId: string;
3923
+ isReloginRequired: boolean;
3924
+ connectedUserName: string;
3925
+ connectedUserId: string;
3926
+ };
3862
3927
  direction: "incoming" | "outgoing" | "system";
3863
3928
  createdAt: Date;
3864
3929
  updatedAt: Date;
@@ -4104,71 +4169,6 @@ export declare const viberContract: {
4104
4169
  callTo: string | null;
4105
4170
  } | null;
4106
4171
  };
4107
- channel?: {
4108
- id?: string | undefined;
4109
- createdAt?: Date | undefined;
4110
- updatedAt?: Date | undefined;
4111
- deletedAt?: Date | null | undefined;
4112
- name?: string | undefined;
4113
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4114
- metadata?: {
4115
- id: string;
4116
- name: string;
4117
- accessToken: string;
4118
- channelSecret?: string | undefined;
4119
- additionalCredentials?: any;
4120
- } | undefined;
4121
- brandName?: string | undefined;
4122
- platformId?: string | undefined;
4123
- status?: boolean | undefined;
4124
- isReloginRequired?: boolean | undefined;
4125
- connectedUserName?: string | undefined;
4126
- connectedUserId?: string | undefined;
4127
- actor?: {
4128
- id: string;
4129
- address: string | null;
4130
- name: string;
4131
- email: string;
4132
- createdAt: Date;
4133
- updatedAt: Date;
4134
- deletedAt: Date | null;
4135
- emailVerifiedAt: Date | null;
4136
- password: string;
4137
- phone: string | null;
4138
- notificationCount: number | null;
4139
- roles: {
4140
- id: string;
4141
- description: string | null;
4142
- createdAt: Date;
4143
- updatedAt: Date;
4144
- deletedAt: Date | null;
4145
- systemName: string;
4146
- displayName: string;
4147
- permissions: {
4148
- id: string;
4149
- description: string | null;
4150
- createdAt: Date;
4151
- updatedAt: Date;
4152
- deletedAt: Date | null;
4153
- systemName: string;
4154
- displayName: string;
4155
- }[];
4156
- }[];
4157
- extension: {
4158
- id: string;
4159
- createdAt: Date;
4160
- updatedAt: Date;
4161
- deletedAt: Date | null;
4162
- userId: string | null;
4163
- sipServerUrl: string;
4164
- sipUserName: string;
4165
- webphoneLoginUser: string;
4166
- extensionId: string | null;
4167
- extensionName: string;
4168
- telephonySignature: string | null;
4169
- };
4170
- } | undefined;
4171
- } | undefined;
4172
4172
  }>;
4173
4173
  upload: z.ZodObject<{
4174
4174
  id: z.ZodString;
@@ -4922,6 +4922,71 @@ export declare const viberContract: {
4922
4922
  imageSetId: string;
4923
4923
  room: {
4924
4924
  id: string;
4925
+ channel: {
4926
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4927
+ id: string;
4928
+ name: string;
4929
+ metadata: {
4930
+ id: string;
4931
+ name: string;
4932
+ accessToken: string;
4933
+ channelSecret?: string | undefined;
4934
+ additionalCredentials?: any;
4935
+ };
4936
+ status: boolean;
4937
+ createdAt: Date;
4938
+ updatedAt: Date;
4939
+ deletedAt: Date | null;
4940
+ actor: {
4941
+ id: string;
4942
+ address: string | null;
4943
+ name: string;
4944
+ email: string;
4945
+ createdAt: Date;
4946
+ updatedAt: Date;
4947
+ deletedAt: Date | null;
4948
+ emailVerifiedAt: Date | null;
4949
+ password: string;
4950
+ phone: string | null;
4951
+ notificationCount: number | null;
4952
+ roles: {
4953
+ id: string;
4954
+ description: string | null;
4955
+ createdAt: Date;
4956
+ updatedAt: Date;
4957
+ deletedAt: Date | null;
4958
+ systemName: string;
4959
+ displayName: string;
4960
+ permissions: {
4961
+ id: string;
4962
+ description: string | null;
4963
+ createdAt: Date;
4964
+ updatedAt: Date;
4965
+ deletedAt: Date | null;
4966
+ systemName: string;
4967
+ displayName: string;
4968
+ }[];
4969
+ }[];
4970
+ extension: {
4971
+ id: string;
4972
+ createdAt: Date;
4973
+ updatedAt: Date;
4974
+ deletedAt: Date | null;
4975
+ userId: string | null;
4976
+ sipServerUrl: string;
4977
+ sipUserName: string;
4978
+ webphoneLoginUser: string;
4979
+ extensionId: string | null;
4980
+ extensionName: string;
4981
+ telephonySignature: string | null;
4982
+ };
4983
+ };
4984
+ brandName: string;
4985
+ platformId: string;
4986
+ isReloginRequired: boolean;
4987
+ connectedUserName: string;
4988
+ connectedUserId: string;
4989
+ };
4925
4990
  direction: "incoming" | "outgoing" | "system";
4926
4991
  createdAt: Date;
4927
4992
  updatedAt: Date;
@@ -5167,71 +5232,6 @@ export declare const viberContract: {
5167
5232
  callTo: string | null;
5168
5233
  } | null;
5169
5234
  };
5170
- channel?: {
5171
- id?: string | undefined;
5172
- createdAt?: Date | undefined;
5173
- updatedAt?: Date | undefined;
5174
- deletedAt?: Date | null | undefined;
5175
- name?: string | undefined;
5176
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5177
- metadata?: {
5178
- id: string;
5179
- name: string;
5180
- accessToken: string;
5181
- channelSecret?: string | undefined;
5182
- additionalCredentials?: any;
5183
- } | undefined;
5184
- brandName?: string | undefined;
5185
- platformId?: string | undefined;
5186
- status?: boolean | undefined;
5187
- isReloginRequired?: boolean | undefined;
5188
- connectedUserName?: string | undefined;
5189
- connectedUserId?: string | undefined;
5190
- actor?: {
5191
- id: string;
5192
- address: string | null;
5193
- name: string;
5194
- email: string;
5195
- createdAt: Date;
5196
- updatedAt: Date;
5197
- deletedAt: Date | null;
5198
- emailVerifiedAt: Date | null;
5199
- password: string;
5200
- phone: string | null;
5201
- notificationCount: number | null;
5202
- roles: {
5203
- id: string;
5204
- description: string | null;
5205
- createdAt: Date;
5206
- updatedAt: Date;
5207
- deletedAt: Date | null;
5208
- systemName: string;
5209
- displayName: string;
5210
- permissions: {
5211
- id: string;
5212
- description: string | null;
5213
- createdAt: Date;
5214
- updatedAt: Date;
5215
- deletedAt: Date | null;
5216
- systemName: string;
5217
- displayName: string;
5218
- }[];
5219
- }[];
5220
- extension: {
5221
- id: string;
5222
- createdAt: Date;
5223
- updatedAt: Date;
5224
- deletedAt: Date | null;
5225
- userId: string | null;
5226
- sipServerUrl: string;
5227
- sipUserName: string;
5228
- webphoneLoginUser: string;
5229
- extensionId: string | null;
5230
- extensionName: string;
5231
- telephonySignature: string | null;
5232
- };
5233
- } | undefined;
5234
- } | undefined;
5235
5235
  };
5236
5236
  upload: {
5237
5237
  id: string;
@@ -5397,30 +5397,95 @@ export declare const viberContract: {
5397
5397
  imageSetId: string;
5398
5398
  room: {
5399
5399
  id: string;
5400
- direction: "incoming" | "outgoing" | "system";
5401
- createdAt: Date;
5402
- updatedAt: Date;
5403
- deletedAt: Date | null;
5404
- actor: {
5400
+ channel: {
5401
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5405
5402
  id: string;
5406
- address: string | null;
5407
5403
  name: string;
5408
- email: string;
5404
+ metadata: {
5405
+ id: string;
5406
+ name: string;
5407
+ accessToken: string;
5408
+ channelSecret?: string | undefined;
5409
+ additionalCredentials?: any;
5410
+ };
5411
+ status: boolean;
5409
5412
  createdAt: Date;
5410
5413
  updatedAt: Date;
5411
5414
  deletedAt: Date | null;
5412
- emailVerifiedAt: Date | null;
5413
- password: string;
5414
- phone: string | null;
5415
- notificationCount: number | null;
5416
- roles: {
5415
+ actor: {
5417
5416
  id: string;
5418
- description: string | null;
5417
+ address: string | null;
5418
+ name: string;
5419
+ email: string;
5419
5420
  createdAt: Date;
5420
5421
  updatedAt: Date;
5421
5422
  deletedAt: Date | null;
5422
- systemName: string;
5423
- displayName: string;
5423
+ emailVerifiedAt: Date | null;
5424
+ password: string;
5425
+ phone: string | null;
5426
+ notificationCount: number | null;
5427
+ roles: {
5428
+ id: string;
5429
+ description: string | null;
5430
+ createdAt: Date;
5431
+ updatedAt: Date;
5432
+ deletedAt: Date | null;
5433
+ systemName: string;
5434
+ displayName: string;
5435
+ permissions: {
5436
+ id: string;
5437
+ description: string | null;
5438
+ createdAt: Date;
5439
+ updatedAt: Date;
5440
+ deletedAt: Date | null;
5441
+ systemName: string;
5442
+ displayName: string;
5443
+ }[];
5444
+ }[];
5445
+ extension: {
5446
+ id: string;
5447
+ createdAt: Date;
5448
+ updatedAt: Date;
5449
+ deletedAt: Date | null;
5450
+ userId: string | null;
5451
+ sipServerUrl: string;
5452
+ sipUserName: string;
5453
+ webphoneLoginUser: string;
5454
+ extensionId: string | null;
5455
+ extensionName: string;
5456
+ telephonySignature: string | null;
5457
+ };
5458
+ };
5459
+ brandName: string;
5460
+ platformId: string;
5461
+ isReloginRequired: boolean;
5462
+ connectedUserName: string;
5463
+ connectedUserId: string;
5464
+ };
5465
+ direction: "incoming" | "outgoing" | "system";
5466
+ createdAt: Date;
5467
+ updatedAt: Date;
5468
+ deletedAt: Date | null;
5469
+ actor: {
5470
+ id: string;
5471
+ address: string | null;
5472
+ name: string;
5473
+ email: string;
5474
+ createdAt: Date;
5475
+ updatedAt: Date;
5476
+ deletedAt: Date | null;
5477
+ emailVerifiedAt: Date | null;
5478
+ password: string;
5479
+ phone: string | null;
5480
+ notificationCount: number | null;
5481
+ roles: {
5482
+ id: string;
5483
+ description: string | null;
5484
+ createdAt: Date;
5485
+ updatedAt: Date;
5486
+ deletedAt: Date | null;
5487
+ systemName: string;
5488
+ displayName: string;
5424
5489
  permissions: {
5425
5490
  id: string;
5426
5491
  description: string | null;
@@ -5642,71 +5707,6 @@ export declare const viberContract: {
5642
5707
  callTo: string | null;
5643
5708
  } | null;
5644
5709
  };
5645
- channel?: {
5646
- id?: string | undefined;
5647
- createdAt?: Date | undefined;
5648
- updatedAt?: Date | undefined;
5649
- deletedAt?: Date | null | undefined;
5650
- name?: string | undefined;
5651
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5652
- metadata?: {
5653
- id: string;
5654
- name: string;
5655
- accessToken: string;
5656
- channelSecret?: string | undefined;
5657
- additionalCredentials?: any;
5658
- } | undefined;
5659
- brandName?: string | undefined;
5660
- platformId?: string | undefined;
5661
- status?: boolean | undefined;
5662
- isReloginRequired?: boolean | undefined;
5663
- connectedUserName?: string | undefined;
5664
- connectedUserId?: string | undefined;
5665
- actor?: {
5666
- id: string;
5667
- address: string | null;
5668
- name: string;
5669
- email: string;
5670
- createdAt: Date;
5671
- updatedAt: Date;
5672
- deletedAt: Date | null;
5673
- emailVerifiedAt: Date | null;
5674
- password: string;
5675
- phone: string | null;
5676
- notificationCount: number | null;
5677
- roles: {
5678
- id: string;
5679
- description: string | null;
5680
- createdAt: Date;
5681
- updatedAt: Date;
5682
- deletedAt: Date | null;
5683
- systemName: string;
5684
- displayName: string;
5685
- permissions: {
5686
- id: string;
5687
- description: string | null;
5688
- createdAt: Date;
5689
- updatedAt: Date;
5690
- deletedAt: Date | null;
5691
- systemName: string;
5692
- displayName: string;
5693
- }[];
5694
- }[];
5695
- extension: {
5696
- id: string;
5697
- createdAt: Date;
5698
- updatedAt: Date;
5699
- deletedAt: Date | null;
5700
- userId: string | null;
5701
- sipServerUrl: string;
5702
- sipUserName: string;
5703
- webphoneLoginUser: string;
5704
- extensionId: string | null;
5705
- extensionName: string;
5706
- telephonySignature: string | null;
5707
- };
5708
- } | undefined;
5709
- } | undefined;
5710
5710
  };
5711
5711
  upload: {
5712
5712
  id: string;
@@ -5874,6 +5874,71 @@ export declare const viberContract: {
5874
5874
  imageSetId: string;
5875
5875
  room: {
5876
5876
  id: string;
5877
+ channel: {
5878
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5879
+ id: string;
5880
+ name: string;
5881
+ metadata: {
5882
+ id: string;
5883
+ name: string;
5884
+ accessToken: string;
5885
+ channelSecret?: string | undefined;
5886
+ additionalCredentials?: any;
5887
+ };
5888
+ status: boolean;
5889
+ createdAt: Date;
5890
+ updatedAt: Date;
5891
+ deletedAt: Date | null;
5892
+ actor: {
5893
+ id: string;
5894
+ address: string | null;
5895
+ name: string;
5896
+ email: string;
5897
+ createdAt: Date;
5898
+ updatedAt: Date;
5899
+ deletedAt: Date | null;
5900
+ emailVerifiedAt: Date | null;
5901
+ password: string;
5902
+ phone: string | null;
5903
+ notificationCount: number | null;
5904
+ roles: {
5905
+ id: string;
5906
+ description: string | null;
5907
+ createdAt: Date;
5908
+ updatedAt: Date;
5909
+ deletedAt: Date | null;
5910
+ systemName: string;
5911
+ displayName: string;
5912
+ permissions: {
5913
+ id: string;
5914
+ description: string | null;
5915
+ createdAt: Date;
5916
+ updatedAt: Date;
5917
+ deletedAt: Date | null;
5918
+ systemName: string;
5919
+ displayName: string;
5920
+ }[];
5921
+ }[];
5922
+ extension: {
5923
+ id: string;
5924
+ createdAt: Date;
5925
+ updatedAt: Date;
5926
+ deletedAt: Date | null;
5927
+ userId: string | null;
5928
+ sipServerUrl: string;
5929
+ sipUserName: string;
5930
+ webphoneLoginUser: string;
5931
+ extensionId: string | null;
5932
+ extensionName: string;
5933
+ telephonySignature: string | null;
5934
+ };
5935
+ };
5936
+ brandName: string;
5937
+ platformId: string;
5938
+ isReloginRequired: boolean;
5939
+ connectedUserName: string;
5940
+ connectedUserId: string;
5941
+ };
5877
5942
  direction: "incoming" | "outgoing" | "system";
5878
5943
  createdAt: Date;
5879
5944
  updatedAt: Date;
@@ -6119,71 +6184,6 @@ export declare const viberContract: {
6119
6184
  callTo: string | null;
6120
6185
  } | null;
6121
6186
  };
6122
- channel?: {
6123
- id?: string | undefined;
6124
- createdAt?: Date | undefined;
6125
- updatedAt?: Date | undefined;
6126
- deletedAt?: Date | null | undefined;
6127
- name?: string | undefined;
6128
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6129
- metadata?: {
6130
- id: string;
6131
- name: string;
6132
- accessToken: string;
6133
- channelSecret?: string | undefined;
6134
- additionalCredentials?: any;
6135
- } | undefined;
6136
- brandName?: string | undefined;
6137
- platformId?: string | undefined;
6138
- status?: boolean | undefined;
6139
- isReloginRequired?: boolean | undefined;
6140
- connectedUserName?: string | undefined;
6141
- connectedUserId?: string | undefined;
6142
- actor?: {
6143
- id: string;
6144
- address: string | null;
6145
- name: string;
6146
- email: string;
6147
- createdAt: Date;
6148
- updatedAt: Date;
6149
- deletedAt: Date | null;
6150
- emailVerifiedAt: Date | null;
6151
- password: string;
6152
- phone: string | null;
6153
- notificationCount: number | null;
6154
- roles: {
6155
- id: string;
6156
- description: string | null;
6157
- createdAt: Date;
6158
- updatedAt: Date;
6159
- deletedAt: Date | null;
6160
- systemName: string;
6161
- displayName: string;
6162
- permissions: {
6163
- id: string;
6164
- description: string | null;
6165
- createdAt: Date;
6166
- updatedAt: Date;
6167
- deletedAt: Date | null;
6168
- systemName: string;
6169
- displayName: string;
6170
- }[];
6171
- }[];
6172
- extension: {
6173
- id: string;
6174
- createdAt: Date;
6175
- updatedAt: Date;
6176
- deletedAt: Date | null;
6177
- userId: string | null;
6178
- sipServerUrl: string;
6179
- sipUserName: string;
6180
- webphoneLoginUser: string;
6181
- extensionId: string | null;
6182
- extensionName: string;
6183
- telephonySignature: string | null;
6184
- };
6185
- } | undefined;
6186
- } | undefined;
6187
6187
  };
6188
6188
  upload: {
6189
6189
  id: string;
@@ -6352,6 +6352,71 @@ export declare const viberContract: {
6352
6352
  imageSetId: string;
6353
6353
  room: {
6354
6354
  id: string;
6355
+ channel: {
6356
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6357
+ id: string;
6358
+ name: string;
6359
+ metadata: {
6360
+ id: string;
6361
+ name: string;
6362
+ accessToken: string;
6363
+ channelSecret?: string | undefined;
6364
+ additionalCredentials?: any;
6365
+ };
6366
+ status: boolean;
6367
+ createdAt: Date;
6368
+ updatedAt: Date;
6369
+ deletedAt: Date | null;
6370
+ actor: {
6371
+ id: string;
6372
+ address: string | null;
6373
+ name: string;
6374
+ email: string;
6375
+ createdAt: Date;
6376
+ updatedAt: Date;
6377
+ deletedAt: Date | null;
6378
+ emailVerifiedAt: Date | null;
6379
+ password: string;
6380
+ phone: string | null;
6381
+ notificationCount: number | null;
6382
+ roles: {
6383
+ id: string;
6384
+ description: string | null;
6385
+ createdAt: Date;
6386
+ updatedAt: Date;
6387
+ deletedAt: Date | null;
6388
+ systemName: string;
6389
+ displayName: string;
6390
+ permissions: {
6391
+ id: string;
6392
+ description: string | null;
6393
+ createdAt: Date;
6394
+ updatedAt: Date;
6395
+ deletedAt: Date | null;
6396
+ systemName: string;
6397
+ displayName: string;
6398
+ }[];
6399
+ }[];
6400
+ extension: {
6401
+ id: string;
6402
+ createdAt: Date;
6403
+ updatedAt: Date;
6404
+ deletedAt: Date | null;
6405
+ userId: string | null;
6406
+ sipServerUrl: string;
6407
+ sipUserName: string;
6408
+ webphoneLoginUser: string;
6409
+ extensionId: string | null;
6410
+ extensionName: string;
6411
+ telephonySignature: string | null;
6412
+ };
6413
+ };
6414
+ brandName: string;
6415
+ platformId: string;
6416
+ isReloginRequired: boolean;
6417
+ connectedUserName: string;
6418
+ connectedUserId: string;
6419
+ };
6355
6420
  direction: "incoming" | "outgoing" | "system";
6356
6421
  createdAt: Date;
6357
6422
  updatedAt: Date;
@@ -6597,71 +6662,6 @@ export declare const viberContract: {
6597
6662
  callTo: string | null;
6598
6663
  } | null;
6599
6664
  };
6600
- channel?: {
6601
- id?: string | undefined;
6602
- createdAt?: Date | undefined;
6603
- updatedAt?: Date | undefined;
6604
- deletedAt?: Date | null | undefined;
6605
- name?: string | undefined;
6606
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6607
- metadata?: {
6608
- id: string;
6609
- name: string;
6610
- accessToken: string;
6611
- channelSecret?: string | undefined;
6612
- additionalCredentials?: any;
6613
- } | undefined;
6614
- brandName?: string | undefined;
6615
- platformId?: string | undefined;
6616
- status?: boolean | undefined;
6617
- isReloginRequired?: boolean | undefined;
6618
- connectedUserName?: string | undefined;
6619
- connectedUserId?: string | undefined;
6620
- actor?: {
6621
- id: string;
6622
- address: string | null;
6623
- name: string;
6624
- email: string;
6625
- createdAt: Date;
6626
- updatedAt: Date;
6627
- deletedAt: Date | null;
6628
- emailVerifiedAt: Date | null;
6629
- password: string;
6630
- phone: string | null;
6631
- notificationCount: number | null;
6632
- roles: {
6633
- id: string;
6634
- description: string | null;
6635
- createdAt: Date;
6636
- updatedAt: Date;
6637
- deletedAt: Date | null;
6638
- systemName: string;
6639
- displayName: string;
6640
- permissions: {
6641
- id: string;
6642
- description: string | null;
6643
- createdAt: Date;
6644
- updatedAt: Date;
6645
- deletedAt: Date | null;
6646
- systemName: string;
6647
- displayName: string;
6648
- }[];
6649
- }[];
6650
- extension: {
6651
- id: string;
6652
- createdAt: Date;
6653
- updatedAt: Date;
6654
- deletedAt: Date | null;
6655
- userId: string | null;
6656
- sipServerUrl: string;
6657
- sipUserName: string;
6658
- webphoneLoginUser: string;
6659
- extensionId: string | null;
6660
- extensionName: string;
6661
- telephonySignature: string | null;
6662
- };
6663
- } | undefined;
6664
- } | undefined;
6665
6665
  };
6666
6666
  upload: {
6667
6667
  id: string;