@kl1/contracts 1.4.55 → 1.4.56

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.
@@ -304505,13 +304505,19 @@ export declare const workflowContract: {
304505
304505
  };
304506
304506
  tagContact: {
304507
304507
  body: import("zod").ZodObject<{
304508
+ workflowId: import("zod").ZodString;
304509
+ roomId: import("zod").ZodString;
304508
304510
  contactId: import("zod").ZodString;
304509
304511
  tagId: import("zod").ZodString;
304510
304512
  }, "strip", import("zod").ZodTypeAny, {
304511
304513
  contactId: string;
304514
+ roomId: string;
304515
+ workflowId: string;
304512
304516
  tagId: string;
304513
304517
  }, {
304514
304518
  contactId: string;
304519
+ roomId: string;
304520
+ workflowId: string;
304515
304521
  tagId: string;
304516
304522
  }>;
304517
304523
  summary: "Attach Tag to Contact";
@@ -353636,9 +353642,858 @@ export declare const platformKlinkChatContract: {
353636
353642
  };
353637
353643
  path: "/message";
353638
353644
  };
353645
+ disconnect: {
353646
+ body: import("zod").ZodObject<{
353647
+ id: import("zod").ZodString;
353648
+ }, "strip", import("zod").ZodTypeAny, {
353649
+ id: string;
353650
+ }, {
353651
+ id: string;
353652
+ }>;
353653
+ summary: "Disconnect klink chat channel";
353654
+ method: "POST";
353655
+ responses: {
353656
+ 200: import("zod").ZodObject<{
353657
+ requestId: import("zod").ZodString;
353658
+ data: import("zod").ZodObject<{
353659
+ id: import("zod").ZodString;
353660
+ name: import("zod").ZodString;
353661
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
353662
+ metadata: import("zod").ZodObject<{
353663
+ id: import("zod").ZodString;
353664
+ name: import("zod").ZodString;
353665
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
353666
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
353667
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
353668
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
353669
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
353670
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353671
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353672
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353673
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353674
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353675
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353676
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353677
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353678
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
353679
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
353680
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
353681
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
353682
+ }, "strip", import("zod").ZodTypeAny, {
353683
+ wabaBusinessId?: string | null | undefined;
353684
+ wabaExternalId?: string | null | undefined;
353685
+ phoneNumberId?: string | null | undefined;
353686
+ email?: string | null | undefined;
353687
+ clientId?: string | null | undefined;
353688
+ channelId?: string | null | undefined;
353689
+ waapiInstanceId?: string | null | undefined;
353690
+ qr?: string | null | undefined;
353691
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353692
+ apiKey?: string | undefined;
353693
+ tier?: "basic" | "regular" | "premium" | undefined;
353694
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353695
+ }, {
353696
+ wabaBusinessId?: string | null | undefined;
353697
+ wabaExternalId?: string | null | undefined;
353698
+ phoneNumberId?: string | null | undefined;
353699
+ email?: string | null | undefined;
353700
+ clientId?: string | null | undefined;
353701
+ channelId?: string | null | undefined;
353702
+ waapiInstanceId?: string | null | undefined;
353703
+ qr?: string | null | undefined;
353704
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353705
+ apiKey?: string | undefined;
353706
+ tier?: "basic" | "regular" | "premium" | undefined;
353707
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353708
+ }>>;
353709
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
353710
+ mobileNumber: import("zod").ZodString;
353711
+ apiKey: import("zod").ZodString;
353712
+ apiSecret: import("zod").ZodString;
353713
+ }, "strip", import("zod").ZodTypeAny, {
353714
+ apiKey: string;
353715
+ mobileNumber: string;
353716
+ apiSecret: string;
353717
+ }, {
353718
+ apiKey: string;
353719
+ mobileNumber: string;
353720
+ apiSecret: string;
353721
+ }>>;
353722
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
353723
+ channelId: import("zod").ZodString;
353724
+ channelSecret: import("zod").ZodString;
353725
+ }, "strip", import("zod").ZodTypeAny, {
353726
+ channelId: string;
353727
+ channelSecret: string;
353728
+ }, {
353729
+ channelId: string;
353730
+ channelSecret: string;
353731
+ }>>;
353732
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353733
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
353734
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
353735
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
353736
+ }, "strip", import("zod").ZodTypeAny, {
353737
+ name: string;
353738
+ id: string;
353739
+ accessToken?: string | undefined;
353740
+ channelSecret?: string | undefined;
353741
+ additionalCredentials?: any;
353742
+ senderId?: string | undefined;
353743
+ whatsapp?: {
353744
+ wabaBusinessId?: string | null | undefined;
353745
+ wabaExternalId?: string | null | undefined;
353746
+ phoneNumberId?: string | null | undefined;
353747
+ email?: string | null | undefined;
353748
+ clientId?: string | null | undefined;
353749
+ channelId?: string | null | undefined;
353750
+ waapiInstanceId?: string | null | undefined;
353751
+ qr?: string | null | undefined;
353752
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353753
+ apiKey?: string | undefined;
353754
+ tier?: "basic" | "regular" | "premium" | undefined;
353755
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353756
+ } | undefined;
353757
+ vonageCredentials?: {
353758
+ apiKey: string;
353759
+ mobileNumber: string;
353760
+ apiSecret: string;
353761
+ } | undefined;
353762
+ line?: {
353763
+ channelId: string;
353764
+ channelSecret: string;
353765
+ } | undefined;
353766
+ lineRichMenuId?: string | null | undefined;
353767
+ messengerIntegrationType?: "own" | "business" | undefined;
353768
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
353769
+ isCSATEnabled?: boolean | undefined;
353770
+ }, {
353771
+ name: string;
353772
+ id: string;
353773
+ accessToken?: string | undefined;
353774
+ channelSecret?: string | undefined;
353775
+ additionalCredentials?: any;
353776
+ senderId?: string | undefined;
353777
+ whatsapp?: {
353778
+ wabaBusinessId?: string | null | undefined;
353779
+ wabaExternalId?: string | null | undefined;
353780
+ phoneNumberId?: string | null | undefined;
353781
+ email?: string | null | undefined;
353782
+ clientId?: string | null | undefined;
353783
+ channelId?: string | null | undefined;
353784
+ waapiInstanceId?: string | null | undefined;
353785
+ qr?: string | null | undefined;
353786
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353787
+ apiKey?: string | undefined;
353788
+ tier?: "basic" | "regular" | "premium" | undefined;
353789
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353790
+ } | undefined;
353791
+ vonageCredentials?: {
353792
+ apiKey: string;
353793
+ mobileNumber: string;
353794
+ apiSecret: string;
353795
+ } | undefined;
353796
+ line?: {
353797
+ channelId: string;
353798
+ channelSecret: string;
353799
+ } | undefined;
353800
+ lineRichMenuId?: string | null | undefined;
353801
+ messengerIntegrationType?: "own" | "business" | undefined;
353802
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
353803
+ isCSATEnabled?: boolean | undefined;
353804
+ }>;
353805
+ platformId: import("zod").ZodString;
353806
+ brandName: import("zod").ZodString;
353807
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
353808
+ connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353809
+ connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353810
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
353811
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
353812
+ id: import("zod").ZodString;
353813
+ name: import("zod").ZodString;
353814
+ email: import("zod").ZodString;
353815
+ address: import("zod").ZodNullable<import("zod").ZodString>;
353816
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
353817
+ }, "strip", import("zod").ZodTypeAny, {
353818
+ name: string;
353819
+ id: string;
353820
+ address: string | null;
353821
+ email: string;
353822
+ phone: string | null;
353823
+ }, {
353824
+ name: string;
353825
+ id: string;
353826
+ address: string | null;
353827
+ email: string;
353828
+ phone: string | null;
353829
+ }>>;
353830
+ }, "strip", import("zod").ZodTypeAny, {
353831
+ name: string;
353832
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
353833
+ id: string;
353834
+ metadata: {
353835
+ name: string;
353836
+ id: string;
353837
+ accessToken?: string | undefined;
353838
+ channelSecret?: string | undefined;
353839
+ additionalCredentials?: any;
353840
+ senderId?: string | undefined;
353841
+ whatsapp?: {
353842
+ wabaBusinessId?: string | null | undefined;
353843
+ wabaExternalId?: string | null | undefined;
353844
+ phoneNumberId?: string | null | undefined;
353845
+ email?: string | null | undefined;
353846
+ clientId?: string | null | undefined;
353847
+ channelId?: string | null | undefined;
353848
+ waapiInstanceId?: string | null | undefined;
353849
+ qr?: string | null | undefined;
353850
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353851
+ apiKey?: string | undefined;
353852
+ tier?: "basic" | "regular" | "premium" | undefined;
353853
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353854
+ } | undefined;
353855
+ vonageCredentials?: {
353856
+ apiKey: string;
353857
+ mobileNumber: string;
353858
+ apiSecret: string;
353859
+ } | undefined;
353860
+ line?: {
353861
+ channelId: string;
353862
+ channelSecret: string;
353863
+ } | undefined;
353864
+ lineRichMenuId?: string | null | undefined;
353865
+ messengerIntegrationType?: "own" | "business" | undefined;
353866
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
353867
+ isCSATEnabled?: boolean | undefined;
353868
+ };
353869
+ status: boolean;
353870
+ brandName: string;
353871
+ platformId: string;
353872
+ connectedUserName?: string | null | undefined;
353873
+ connectedUserId?: string | null | undefined;
353874
+ lineRichMenuId?: string | null | undefined;
353875
+ actor?: {
353876
+ name: string;
353877
+ id: string;
353878
+ address: string | null;
353879
+ email: string;
353880
+ phone: string | null;
353881
+ } | undefined;
353882
+ }, {
353883
+ name: string;
353884
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
353885
+ id: string;
353886
+ metadata: {
353887
+ name: string;
353888
+ id: string;
353889
+ accessToken?: string | undefined;
353890
+ channelSecret?: string | undefined;
353891
+ additionalCredentials?: any;
353892
+ senderId?: string | undefined;
353893
+ whatsapp?: {
353894
+ wabaBusinessId?: string | null | undefined;
353895
+ wabaExternalId?: string | null | undefined;
353896
+ phoneNumberId?: string | null | undefined;
353897
+ email?: string | null | undefined;
353898
+ clientId?: string | null | undefined;
353899
+ channelId?: string | null | undefined;
353900
+ waapiInstanceId?: string | null | undefined;
353901
+ qr?: string | null | undefined;
353902
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353903
+ apiKey?: string | undefined;
353904
+ tier?: "basic" | "regular" | "premium" | undefined;
353905
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353906
+ } | undefined;
353907
+ vonageCredentials?: {
353908
+ apiKey: string;
353909
+ mobileNumber: string;
353910
+ apiSecret: string;
353911
+ } | undefined;
353912
+ line?: {
353913
+ channelId: string;
353914
+ channelSecret: string;
353915
+ } | undefined;
353916
+ lineRichMenuId?: string | null | undefined;
353917
+ messengerIntegrationType?: "own" | "business" | undefined;
353918
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
353919
+ isCSATEnabled?: boolean | undefined;
353920
+ };
353921
+ status: boolean;
353922
+ brandName: string;
353923
+ platformId: string;
353924
+ connectedUserName?: string | null | undefined;
353925
+ connectedUserId?: string | null | undefined;
353926
+ lineRichMenuId?: string | null | undefined;
353927
+ actor?: {
353928
+ name: string;
353929
+ id: string;
353930
+ address: string | null;
353931
+ email: string;
353932
+ phone: string | null;
353933
+ } | undefined;
353934
+ }>;
353935
+ }, "strip", import("zod").ZodTypeAny, {
353936
+ data: {
353937
+ name: string;
353938
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
353939
+ id: string;
353940
+ metadata: {
353941
+ name: string;
353942
+ id: string;
353943
+ accessToken?: string | undefined;
353944
+ channelSecret?: string | undefined;
353945
+ additionalCredentials?: any;
353946
+ senderId?: string | undefined;
353947
+ whatsapp?: {
353948
+ wabaBusinessId?: string | null | undefined;
353949
+ wabaExternalId?: string | null | undefined;
353950
+ phoneNumberId?: string | null | undefined;
353951
+ email?: string | null | undefined;
353952
+ clientId?: string | null | undefined;
353953
+ channelId?: string | null | undefined;
353954
+ waapiInstanceId?: string | null | undefined;
353955
+ qr?: string | null | undefined;
353956
+ status?: "active" | "pending" | "waapi-qr" | undefined;
353957
+ apiKey?: string | undefined;
353958
+ tier?: "basic" | "regular" | "premium" | undefined;
353959
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
353960
+ } | undefined;
353961
+ vonageCredentials?: {
353962
+ apiKey: string;
353963
+ mobileNumber: string;
353964
+ apiSecret: string;
353965
+ } | undefined;
353966
+ line?: {
353967
+ channelId: string;
353968
+ channelSecret: string;
353969
+ } | undefined;
353970
+ lineRichMenuId?: string | null | undefined;
353971
+ messengerIntegrationType?: "own" | "business" | undefined;
353972
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
353973
+ isCSATEnabled?: boolean | undefined;
353974
+ };
353975
+ status: boolean;
353976
+ brandName: string;
353977
+ platformId: string;
353978
+ connectedUserName?: string | null | undefined;
353979
+ connectedUserId?: string | null | undefined;
353980
+ lineRichMenuId?: string | null | undefined;
353981
+ actor?: {
353982
+ name: string;
353983
+ id: string;
353984
+ address: string | null;
353985
+ email: string;
353986
+ phone: string | null;
353987
+ } | undefined;
353988
+ };
353989
+ requestId: string;
353990
+ }, {
353991
+ data: {
353992
+ name: string;
353993
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
353994
+ id: string;
353995
+ metadata: {
353996
+ name: string;
353997
+ id: string;
353998
+ accessToken?: string | undefined;
353999
+ channelSecret?: string | undefined;
354000
+ additionalCredentials?: any;
354001
+ senderId?: string | undefined;
354002
+ whatsapp?: {
354003
+ wabaBusinessId?: string | null | undefined;
354004
+ wabaExternalId?: string | null | undefined;
354005
+ phoneNumberId?: string | null | undefined;
354006
+ email?: string | null | undefined;
354007
+ clientId?: string | null | undefined;
354008
+ channelId?: string | null | undefined;
354009
+ waapiInstanceId?: string | null | undefined;
354010
+ qr?: string | null | undefined;
354011
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354012
+ apiKey?: string | undefined;
354013
+ tier?: "basic" | "regular" | "premium" | undefined;
354014
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354015
+ } | undefined;
354016
+ vonageCredentials?: {
354017
+ apiKey: string;
354018
+ mobileNumber: string;
354019
+ apiSecret: string;
354020
+ } | undefined;
354021
+ line?: {
354022
+ channelId: string;
354023
+ channelSecret: string;
354024
+ } | undefined;
354025
+ lineRichMenuId?: string | null | undefined;
354026
+ messengerIntegrationType?: "own" | "business" | undefined;
354027
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354028
+ isCSATEnabled?: boolean | undefined;
354029
+ };
354030
+ status: boolean;
354031
+ brandName: string;
354032
+ platformId: string;
354033
+ connectedUserName?: string | null | undefined;
354034
+ connectedUserId?: string | null | undefined;
354035
+ lineRichMenuId?: string | null | undefined;
354036
+ actor?: {
354037
+ name: string;
354038
+ id: string;
354039
+ address: string | null;
354040
+ email: string;
354041
+ phone: string | null;
354042
+ } | undefined;
354043
+ };
354044
+ requestId: string;
354045
+ }>;
354046
+ 500: import("zod").ZodObject<{
354047
+ message: import("zod").ZodString;
354048
+ error: import("zod").ZodAny;
354049
+ }, "strip", import("zod").ZodTypeAny, {
354050
+ message: string;
354051
+ error?: any;
354052
+ }, {
354053
+ message: string;
354054
+ error?: any;
354055
+ }>;
354056
+ 400: import("zod").ZodObject<{
354057
+ message: import("zod").ZodString;
354058
+ error: import("zod").ZodAny;
354059
+ }, "strip", import("zod").ZodTypeAny, {
354060
+ message: string;
354061
+ error?: any;
354062
+ }, {
354063
+ message: string;
354064
+ error?: any;
354065
+ }>;
354066
+ };
354067
+ path: "/disconnect";
354068
+ };
354069
+ reconnect: {
354070
+ body: null;
354071
+ summary: "Reconnect klink chat channel";
354072
+ method: "POST";
354073
+ pathParams: import("zod").ZodObject<{
354074
+ channelId: import("zod").ZodString;
354075
+ }, "strip", import("zod").ZodTypeAny, {
354076
+ channelId: string;
354077
+ }, {
354078
+ channelId: string;
354079
+ }>;
354080
+ responses: {
354081
+ 200: import("zod").ZodObject<{
354082
+ requestId: import("zod").ZodString;
354083
+ data: import("zod").ZodObject<{
354084
+ id: import("zod").ZodString;
354085
+ name: import("zod").ZodString;
354086
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
354087
+ metadata: import("zod").ZodObject<{
354088
+ id: import("zod").ZodString;
354089
+ name: import("zod").ZodString;
354090
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
354091
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
354092
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
354093
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
354094
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
354095
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354096
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354097
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354098
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354099
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354100
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354101
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354102
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354103
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
354104
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
354105
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
354106
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
354107
+ }, "strip", import("zod").ZodTypeAny, {
354108
+ wabaBusinessId?: string | null | undefined;
354109
+ wabaExternalId?: string | null | undefined;
354110
+ phoneNumberId?: string | null | undefined;
354111
+ email?: string | null | undefined;
354112
+ clientId?: string | null | undefined;
354113
+ channelId?: string | null | undefined;
354114
+ waapiInstanceId?: string | null | undefined;
354115
+ qr?: string | null | undefined;
354116
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354117
+ apiKey?: string | undefined;
354118
+ tier?: "basic" | "regular" | "premium" | undefined;
354119
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354120
+ }, {
354121
+ wabaBusinessId?: string | null | undefined;
354122
+ wabaExternalId?: string | null | undefined;
354123
+ phoneNumberId?: string | null | undefined;
354124
+ email?: string | null | undefined;
354125
+ clientId?: string | null | undefined;
354126
+ channelId?: string | null | undefined;
354127
+ waapiInstanceId?: string | null | undefined;
354128
+ qr?: string | null | undefined;
354129
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354130
+ apiKey?: string | undefined;
354131
+ tier?: "basic" | "regular" | "premium" | undefined;
354132
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354133
+ }>>;
354134
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
354135
+ mobileNumber: import("zod").ZodString;
354136
+ apiKey: import("zod").ZodString;
354137
+ apiSecret: import("zod").ZodString;
354138
+ }, "strip", import("zod").ZodTypeAny, {
354139
+ apiKey: string;
354140
+ mobileNumber: string;
354141
+ apiSecret: string;
354142
+ }, {
354143
+ apiKey: string;
354144
+ mobileNumber: string;
354145
+ apiSecret: string;
354146
+ }>>;
354147
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
354148
+ channelId: import("zod").ZodString;
354149
+ channelSecret: import("zod").ZodString;
354150
+ }, "strip", import("zod").ZodTypeAny, {
354151
+ channelId: string;
354152
+ channelSecret: string;
354153
+ }, {
354154
+ channelId: string;
354155
+ channelSecret: string;
354156
+ }>>;
354157
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354158
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
354159
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
354160
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
354161
+ }, "strip", import("zod").ZodTypeAny, {
354162
+ name: string;
354163
+ id: string;
354164
+ accessToken?: string | undefined;
354165
+ channelSecret?: string | undefined;
354166
+ additionalCredentials?: any;
354167
+ senderId?: string | undefined;
354168
+ whatsapp?: {
354169
+ wabaBusinessId?: string | null | undefined;
354170
+ wabaExternalId?: string | null | undefined;
354171
+ phoneNumberId?: string | null | undefined;
354172
+ email?: string | null | undefined;
354173
+ clientId?: string | null | undefined;
354174
+ channelId?: string | null | undefined;
354175
+ waapiInstanceId?: string | null | undefined;
354176
+ qr?: string | null | undefined;
354177
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354178
+ apiKey?: string | undefined;
354179
+ tier?: "basic" | "regular" | "premium" | undefined;
354180
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354181
+ } | undefined;
354182
+ vonageCredentials?: {
354183
+ apiKey: string;
354184
+ mobileNumber: string;
354185
+ apiSecret: string;
354186
+ } | undefined;
354187
+ line?: {
354188
+ channelId: string;
354189
+ channelSecret: string;
354190
+ } | undefined;
354191
+ lineRichMenuId?: string | null | undefined;
354192
+ messengerIntegrationType?: "own" | "business" | undefined;
354193
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354194
+ isCSATEnabled?: boolean | undefined;
354195
+ }, {
354196
+ name: string;
354197
+ id: string;
354198
+ accessToken?: string | undefined;
354199
+ channelSecret?: string | undefined;
354200
+ additionalCredentials?: any;
354201
+ senderId?: string | undefined;
354202
+ whatsapp?: {
354203
+ wabaBusinessId?: string | null | undefined;
354204
+ wabaExternalId?: string | null | undefined;
354205
+ phoneNumberId?: string | null | undefined;
354206
+ email?: string | null | undefined;
354207
+ clientId?: string | null | undefined;
354208
+ channelId?: string | null | undefined;
354209
+ waapiInstanceId?: string | null | undefined;
354210
+ qr?: string | null | undefined;
354211
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354212
+ apiKey?: string | undefined;
354213
+ tier?: "basic" | "regular" | "premium" | undefined;
354214
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354215
+ } | undefined;
354216
+ vonageCredentials?: {
354217
+ apiKey: string;
354218
+ mobileNumber: string;
354219
+ apiSecret: string;
354220
+ } | undefined;
354221
+ line?: {
354222
+ channelId: string;
354223
+ channelSecret: string;
354224
+ } | undefined;
354225
+ lineRichMenuId?: string | null | undefined;
354226
+ messengerIntegrationType?: "own" | "business" | undefined;
354227
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354228
+ isCSATEnabled?: boolean | undefined;
354229
+ }>;
354230
+ platformId: import("zod").ZodString;
354231
+ brandName: import("zod").ZodString;
354232
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
354233
+ connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354234
+ connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354235
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
354236
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
354237
+ id: import("zod").ZodString;
354238
+ name: import("zod").ZodString;
354239
+ email: import("zod").ZodString;
354240
+ address: import("zod").ZodNullable<import("zod").ZodString>;
354241
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
354242
+ }, "strip", import("zod").ZodTypeAny, {
354243
+ name: string;
354244
+ id: string;
354245
+ address: string | null;
354246
+ email: string;
354247
+ phone: string | null;
354248
+ }, {
354249
+ name: string;
354250
+ id: string;
354251
+ address: string | null;
354252
+ email: string;
354253
+ phone: string | null;
354254
+ }>>;
354255
+ }, "strip", import("zod").ZodTypeAny, {
354256
+ name: string;
354257
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
354258
+ id: string;
354259
+ metadata: {
354260
+ name: string;
354261
+ id: string;
354262
+ accessToken?: string | undefined;
354263
+ channelSecret?: string | undefined;
354264
+ additionalCredentials?: any;
354265
+ senderId?: string | undefined;
354266
+ whatsapp?: {
354267
+ wabaBusinessId?: string | null | undefined;
354268
+ wabaExternalId?: string | null | undefined;
354269
+ phoneNumberId?: string | null | undefined;
354270
+ email?: string | null | undefined;
354271
+ clientId?: string | null | undefined;
354272
+ channelId?: string | null | undefined;
354273
+ waapiInstanceId?: string | null | undefined;
354274
+ qr?: string | null | undefined;
354275
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354276
+ apiKey?: string | undefined;
354277
+ tier?: "basic" | "regular" | "premium" | undefined;
354278
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354279
+ } | undefined;
354280
+ vonageCredentials?: {
354281
+ apiKey: string;
354282
+ mobileNumber: string;
354283
+ apiSecret: string;
354284
+ } | undefined;
354285
+ line?: {
354286
+ channelId: string;
354287
+ channelSecret: string;
354288
+ } | undefined;
354289
+ lineRichMenuId?: string | null | undefined;
354290
+ messengerIntegrationType?: "own" | "business" | undefined;
354291
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354292
+ isCSATEnabled?: boolean | undefined;
354293
+ };
354294
+ status: boolean;
354295
+ brandName: string;
354296
+ platformId: string;
354297
+ connectedUserName?: string | null | undefined;
354298
+ connectedUserId?: string | null | undefined;
354299
+ lineRichMenuId?: string | null | undefined;
354300
+ actor?: {
354301
+ name: string;
354302
+ id: string;
354303
+ address: string | null;
354304
+ email: string;
354305
+ phone: string | null;
354306
+ } | undefined;
354307
+ }, {
354308
+ name: string;
354309
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
354310
+ id: string;
354311
+ metadata: {
354312
+ name: string;
354313
+ id: string;
354314
+ accessToken?: string | undefined;
354315
+ channelSecret?: string | undefined;
354316
+ additionalCredentials?: any;
354317
+ senderId?: string | undefined;
354318
+ whatsapp?: {
354319
+ wabaBusinessId?: string | null | undefined;
354320
+ wabaExternalId?: string | null | undefined;
354321
+ phoneNumberId?: string | null | undefined;
354322
+ email?: string | null | undefined;
354323
+ clientId?: string | null | undefined;
354324
+ channelId?: string | null | undefined;
354325
+ waapiInstanceId?: string | null | undefined;
354326
+ qr?: string | null | undefined;
354327
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354328
+ apiKey?: string | undefined;
354329
+ tier?: "basic" | "regular" | "premium" | undefined;
354330
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354331
+ } | undefined;
354332
+ vonageCredentials?: {
354333
+ apiKey: string;
354334
+ mobileNumber: string;
354335
+ apiSecret: string;
354336
+ } | undefined;
354337
+ line?: {
354338
+ channelId: string;
354339
+ channelSecret: string;
354340
+ } | undefined;
354341
+ lineRichMenuId?: string | null | undefined;
354342
+ messengerIntegrationType?: "own" | "business" | undefined;
354343
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354344
+ isCSATEnabled?: boolean | undefined;
354345
+ };
354346
+ status: boolean;
354347
+ brandName: string;
354348
+ platformId: string;
354349
+ connectedUserName?: string | null | undefined;
354350
+ connectedUserId?: string | null | undefined;
354351
+ lineRichMenuId?: string | null | undefined;
354352
+ actor?: {
354353
+ name: string;
354354
+ id: string;
354355
+ address: string | null;
354356
+ email: string;
354357
+ phone: string | null;
354358
+ } | undefined;
354359
+ }>;
354360
+ }, "strip", import("zod").ZodTypeAny, {
354361
+ data: {
354362
+ name: string;
354363
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
354364
+ id: string;
354365
+ metadata: {
354366
+ name: string;
354367
+ id: string;
354368
+ accessToken?: string | undefined;
354369
+ channelSecret?: string | undefined;
354370
+ additionalCredentials?: any;
354371
+ senderId?: string | undefined;
354372
+ whatsapp?: {
354373
+ wabaBusinessId?: string | null | undefined;
354374
+ wabaExternalId?: string | null | undefined;
354375
+ phoneNumberId?: string | null | undefined;
354376
+ email?: string | null | undefined;
354377
+ clientId?: string | null | undefined;
354378
+ channelId?: string | null | undefined;
354379
+ waapiInstanceId?: string | null | undefined;
354380
+ qr?: string | null | undefined;
354381
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354382
+ apiKey?: string | undefined;
354383
+ tier?: "basic" | "regular" | "premium" | undefined;
354384
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354385
+ } | undefined;
354386
+ vonageCredentials?: {
354387
+ apiKey: string;
354388
+ mobileNumber: string;
354389
+ apiSecret: string;
354390
+ } | undefined;
354391
+ line?: {
354392
+ channelId: string;
354393
+ channelSecret: string;
354394
+ } | undefined;
354395
+ lineRichMenuId?: string | null | undefined;
354396
+ messengerIntegrationType?: "own" | "business" | undefined;
354397
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354398
+ isCSATEnabled?: boolean | undefined;
354399
+ };
354400
+ status: boolean;
354401
+ brandName: string;
354402
+ platformId: string;
354403
+ connectedUserName?: string | null | undefined;
354404
+ connectedUserId?: string | null | undefined;
354405
+ lineRichMenuId?: string | null | undefined;
354406
+ actor?: {
354407
+ name: string;
354408
+ id: string;
354409
+ address: string | null;
354410
+ email: string;
354411
+ phone: string | null;
354412
+ } | undefined;
354413
+ };
354414
+ requestId: string;
354415
+ }, {
354416
+ data: {
354417
+ name: string;
354418
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
354419
+ id: string;
354420
+ metadata: {
354421
+ name: string;
354422
+ id: string;
354423
+ accessToken?: string | undefined;
354424
+ channelSecret?: string | undefined;
354425
+ additionalCredentials?: any;
354426
+ senderId?: string | undefined;
354427
+ whatsapp?: {
354428
+ wabaBusinessId?: string | null | undefined;
354429
+ wabaExternalId?: string | null | undefined;
354430
+ phoneNumberId?: string | null | undefined;
354431
+ email?: string | null | undefined;
354432
+ clientId?: string | null | undefined;
354433
+ channelId?: string | null | undefined;
354434
+ waapiInstanceId?: string | null | undefined;
354435
+ qr?: string | null | undefined;
354436
+ status?: "active" | "pending" | "waapi-qr" | undefined;
354437
+ apiKey?: string | undefined;
354438
+ tier?: "basic" | "regular" | "premium" | undefined;
354439
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
354440
+ } | undefined;
354441
+ vonageCredentials?: {
354442
+ apiKey: string;
354443
+ mobileNumber: string;
354444
+ apiSecret: string;
354445
+ } | undefined;
354446
+ line?: {
354447
+ channelId: string;
354448
+ channelSecret: string;
354449
+ } | undefined;
354450
+ lineRichMenuId?: string | null | undefined;
354451
+ messengerIntegrationType?: "own" | "business" | undefined;
354452
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
354453
+ isCSATEnabled?: boolean | undefined;
354454
+ };
354455
+ status: boolean;
354456
+ brandName: string;
354457
+ platformId: string;
354458
+ connectedUserName?: string | null | undefined;
354459
+ connectedUserId?: string | null | undefined;
354460
+ lineRichMenuId?: string | null | undefined;
354461
+ actor?: {
354462
+ name: string;
354463
+ id: string;
354464
+ address: string | null;
354465
+ email: string;
354466
+ phone: string | null;
354467
+ } | undefined;
354468
+ };
354469
+ requestId: string;
354470
+ }>;
354471
+ 500: import("zod").ZodObject<{
354472
+ message: import("zod").ZodString;
354473
+ error: import("zod").ZodAny;
354474
+ }, "strip", import("zod").ZodTypeAny, {
354475
+ message: string;
354476
+ error?: any;
354477
+ }, {
354478
+ message: string;
354479
+ error?: any;
354480
+ }>;
354481
+ 400: import("zod").ZodObject<{
354482
+ message: import("zod").ZodString;
354483
+ error: import("zod").ZodAny;
354484
+ }, "strip", import("zod").ZodTypeAny, {
354485
+ message: string;
354486
+ error?: any;
354487
+ }, {
354488
+ message: string;
354489
+ error?: any;
354490
+ }>;
354491
+ };
354492
+ path: "/reconnect/:channelId";
354493
+ };
353639
354494
  delete: {
353640
354495
  body: null;
353641
- summary: "Delete telegram channel";
354496
+ summary: "Delete klink chat channel";
353642
354497
  method: "DELETE";
353643
354498
  pathParams: import("zod").ZodObject<{
353644
354499
  channelId: import("zod").ZodString;