@kl1/contracts 1.0.61 → 1.0.63

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.
@@ -32523,6 +32523,1872 @@ export declare const apiContract: {
32523
32523
  }>>>;
32524
32524
  };
32525
32525
  };
32526
+ instagram: {
32527
+ getPages: {
32528
+ method: "GET";
32529
+ query: import("zod").ZodObject<{
32530
+ accessToken: import("zod").ZodString;
32531
+ userId: import("zod").ZodString;
32532
+ }, "strip", import("zod").ZodTypeAny, {
32533
+ userId: string;
32534
+ accessToken: string;
32535
+ }, {
32536
+ userId: string;
32537
+ accessToken: string;
32538
+ }>;
32539
+ responses: {
32540
+ 200: import("zod").ZodObject<{
32541
+ requestId: import("zod").ZodString;
32542
+ data: import("zod").ZodObject<{
32543
+ data: import("zod").ZodArray<import("zod").ZodObject<{
32544
+ access_token: import("zod").ZodString;
32545
+ category: import("zod").ZodString;
32546
+ category_list: import("zod").ZodArray<import("zod").ZodObject<{
32547
+ id: import("zod").ZodString;
32548
+ name: import("zod").ZodString;
32549
+ }, "strip", import("zod").ZodTypeAny, {
32550
+ id: string;
32551
+ name: string;
32552
+ }, {
32553
+ id: string;
32554
+ name: string;
32555
+ }>, "many">;
32556
+ id: import("zod").ZodString;
32557
+ name: import("zod").ZodString;
32558
+ tasks: import("zod").ZodArray<import("zod").ZodString, "many">;
32559
+ }, "strip", import("zod").ZodTypeAny, {
32560
+ id: string;
32561
+ name: string;
32562
+ category: string;
32563
+ access_token: string;
32564
+ category_list: {
32565
+ id: string;
32566
+ name: string;
32567
+ }[];
32568
+ tasks: string[];
32569
+ }, {
32570
+ id: string;
32571
+ name: string;
32572
+ category: string;
32573
+ access_token: string;
32574
+ category_list: {
32575
+ id: string;
32576
+ name: string;
32577
+ }[];
32578
+ tasks: string[];
32579
+ }>, "many">;
32580
+ paging: import("zod").ZodOptional<import("zod").ZodObject<{
32581
+ cursors: import("zod").ZodObject<{
32582
+ before: import("zod").ZodOptional<import("zod").ZodString>;
32583
+ after: import("zod").ZodOptional<import("zod").ZodString>;
32584
+ }, "strip", import("zod").ZodTypeAny, {
32585
+ before?: string | undefined;
32586
+ after?: string | undefined;
32587
+ }, {
32588
+ before?: string | undefined;
32589
+ after?: string | undefined;
32590
+ }>;
32591
+ }, "strip", import("zod").ZodTypeAny, {
32592
+ cursors: {
32593
+ before?: string | undefined;
32594
+ after?: string | undefined;
32595
+ };
32596
+ }, {
32597
+ cursors: {
32598
+ before?: string | undefined;
32599
+ after?: string | undefined;
32600
+ };
32601
+ }>>;
32602
+ }, "strip", import("zod").ZodTypeAny, {
32603
+ data: {
32604
+ id: string;
32605
+ name: string;
32606
+ category: string;
32607
+ access_token: string;
32608
+ category_list: {
32609
+ id: string;
32610
+ name: string;
32611
+ }[];
32612
+ tasks: string[];
32613
+ }[];
32614
+ paging?: {
32615
+ cursors: {
32616
+ before?: string | undefined;
32617
+ after?: string | undefined;
32618
+ };
32619
+ } | undefined;
32620
+ }, {
32621
+ data: {
32622
+ id: string;
32623
+ name: string;
32624
+ category: string;
32625
+ access_token: string;
32626
+ category_list: {
32627
+ id: string;
32628
+ name: string;
32629
+ }[];
32630
+ tasks: string[];
32631
+ }[];
32632
+ paging?: {
32633
+ cursors: {
32634
+ before?: string | undefined;
32635
+ after?: string | undefined;
32636
+ };
32637
+ } | undefined;
32638
+ }>;
32639
+ }, "strip", import("zod").ZodTypeAny, {
32640
+ data: {
32641
+ data: {
32642
+ id: string;
32643
+ name: string;
32644
+ category: string;
32645
+ access_token: string;
32646
+ category_list: {
32647
+ id: string;
32648
+ name: string;
32649
+ }[];
32650
+ tasks: string[];
32651
+ }[];
32652
+ paging?: {
32653
+ cursors: {
32654
+ before?: string | undefined;
32655
+ after?: string | undefined;
32656
+ };
32657
+ } | undefined;
32658
+ };
32659
+ requestId: string;
32660
+ }, {
32661
+ data: {
32662
+ data: {
32663
+ id: string;
32664
+ name: string;
32665
+ category: string;
32666
+ access_token: string;
32667
+ category_list: {
32668
+ id: string;
32669
+ name: string;
32670
+ }[];
32671
+ tasks: string[];
32672
+ }[];
32673
+ paging?: {
32674
+ cursors: {
32675
+ before?: string | undefined;
32676
+ after?: string | undefined;
32677
+ };
32678
+ } | undefined;
32679
+ };
32680
+ requestId: string;
32681
+ }>;
32682
+ 500: import("zod").ZodObject<{
32683
+ message: import("zod").ZodString;
32684
+ error: import("zod").ZodAny;
32685
+ }, "strip", import("zod").ZodTypeAny, {
32686
+ message: string;
32687
+ error?: any;
32688
+ }, {
32689
+ message: string;
32690
+ error?: any;
32691
+ }>;
32692
+ };
32693
+ path: "channel/instagram/pages";
32694
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
32695
+ 'x-tenant': import("zod").ZodString;
32696
+ authorization: import("zod").ZodString;
32697
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
32698
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
32699
+ }, "strip", import("zod").ZodTypeAny, {
32700
+ 'x-tenant': string;
32701
+ authorization: string;
32702
+ 'x-client-timezone': string;
32703
+ 'x-code'?: string | undefined;
32704
+ }, {
32705
+ 'x-tenant': string;
32706
+ authorization: string;
32707
+ 'x-code'?: string | undefined;
32708
+ 'x-client-timezone'?: string | undefined;
32709
+ }>>>;
32710
+ };
32711
+ connect: {
32712
+ body: import("zod").ZodObject<{
32713
+ name: import("zod").ZodString;
32714
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
32715
+ metadata: import("zod").ZodObject<{
32716
+ id: import("zod").ZodString;
32717
+ name: import("zod").ZodString;
32718
+ accessToken: import("zod").ZodString;
32719
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
32720
+ }, "strip", import("zod").ZodTypeAny, {
32721
+ id: string;
32722
+ name: string;
32723
+ accessToken: string;
32724
+ additionalCredentials?: any;
32725
+ }, {
32726
+ id: string;
32727
+ name: string;
32728
+ accessToken: string;
32729
+ additionalCredentials?: any;
32730
+ }>;
32731
+ platformId: import("zod").ZodString;
32732
+ connectedUserId: import("zod").ZodString;
32733
+ }, "strip", import("zod").ZodTypeAny, {
32734
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
32735
+ name: string;
32736
+ metadata: {
32737
+ id: string;
32738
+ name: string;
32739
+ accessToken: string;
32740
+ additionalCredentials?: any;
32741
+ };
32742
+ platformId: string;
32743
+ connectedUserId: string;
32744
+ }, {
32745
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
32746
+ name: string;
32747
+ metadata: {
32748
+ id: string;
32749
+ name: string;
32750
+ accessToken: string;
32751
+ additionalCredentials?: any;
32752
+ };
32753
+ platformId: string;
32754
+ connectedUserId: string;
32755
+ }>;
32756
+ summary: "Connect message channel";
32757
+ method: "POST";
32758
+ responses: {
32759
+ 200: import("zod").ZodObject<{
32760
+ requestId: import("zod").ZodString;
32761
+ channel: import("zod").ZodOptional<import("zod").ZodObject<{
32762
+ id: import("zod").ZodOptional<import("zod").ZodString>;
32763
+ createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
32764
+ updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
32765
+ deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
32766
+ name: import("zod").ZodOptional<import("zod").ZodString>;
32767
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
32768
+ metadata: import("zod").ZodOptional<import("zod").ZodObject<{
32769
+ id: import("zod").ZodString;
32770
+ name: import("zod").ZodString;
32771
+ accessToken: import("zod").ZodString;
32772
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
32773
+ }, "strip", import("zod").ZodTypeAny, {
32774
+ id: string;
32775
+ name: string;
32776
+ accessToken: string;
32777
+ additionalCredentials?: any;
32778
+ }, {
32779
+ id: string;
32780
+ name: string;
32781
+ accessToken: string;
32782
+ additionalCredentials?: any;
32783
+ }>>;
32784
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
32785
+ platformId: import("zod").ZodOptional<import("zod").ZodString>;
32786
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
32787
+ isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
32788
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
32789
+ connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
32790
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
32791
+ id: import("zod").ZodString;
32792
+ createdAt: import("zod").ZodDate;
32793
+ updatedAt: import("zod").ZodDate;
32794
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32795
+ name: import("zod").ZodString;
32796
+ email: import("zod").ZodString;
32797
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32798
+ password: import("zod").ZodString;
32799
+ address: import("zod").ZodNullable<import("zod").ZodString>;
32800
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
32801
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
32802
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
32803
+ id: import("zod").ZodString;
32804
+ createdAt: import("zod").ZodDate;
32805
+ updatedAt: import("zod").ZodDate;
32806
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32807
+ systemName: import("zod").ZodString;
32808
+ displayName: import("zod").ZodString;
32809
+ description: import("zod").ZodNullable<import("zod").ZodString>;
32810
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
32811
+ id: import("zod").ZodString;
32812
+ createdAt: import("zod").ZodDate;
32813
+ updatedAt: import("zod").ZodDate;
32814
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32815
+ systemName: import("zod").ZodString;
32816
+ displayName: import("zod").ZodString;
32817
+ description: import("zod").ZodNullable<import("zod").ZodString>;
32818
+ }, "strip", import("zod").ZodTypeAny, {
32819
+ id: string;
32820
+ description: string | null;
32821
+ createdAt: Date;
32822
+ updatedAt: Date;
32823
+ deletedAt: Date | null;
32824
+ systemName: string;
32825
+ displayName: string;
32826
+ }, {
32827
+ id: string;
32828
+ description: string | null;
32829
+ createdAt: Date;
32830
+ updatedAt: Date;
32831
+ deletedAt: Date | null;
32832
+ systemName: string;
32833
+ displayName: string;
32834
+ }>, "many">;
32835
+ }, "strip", import("zod").ZodTypeAny, {
32836
+ id: string;
32837
+ description: string | null;
32838
+ createdAt: Date;
32839
+ updatedAt: Date;
32840
+ deletedAt: Date | null;
32841
+ systemName: string;
32842
+ displayName: string;
32843
+ permissions: {
32844
+ id: string;
32845
+ description: string | null;
32846
+ createdAt: Date;
32847
+ updatedAt: Date;
32848
+ deletedAt: Date | null;
32849
+ systemName: string;
32850
+ displayName: string;
32851
+ }[];
32852
+ }, {
32853
+ id: string;
32854
+ description: string | null;
32855
+ createdAt: Date;
32856
+ updatedAt: Date;
32857
+ deletedAt: Date | null;
32858
+ systemName: string;
32859
+ displayName: string;
32860
+ permissions: {
32861
+ id: string;
32862
+ description: string | null;
32863
+ createdAt: Date;
32864
+ updatedAt: Date;
32865
+ deletedAt: Date | null;
32866
+ systemName: string;
32867
+ displayName: string;
32868
+ }[];
32869
+ }>, "many">;
32870
+ extension: import("zod").ZodObject<{
32871
+ id: import("zod").ZodString;
32872
+ createdAt: import("zod").ZodDate;
32873
+ updatedAt: import("zod").ZodDate;
32874
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32875
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
32876
+ sipServerUrl: import("zod").ZodString;
32877
+ sipUserName: import("zod").ZodString;
32878
+ webphoneLoginUser: import("zod").ZodString;
32879
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
32880
+ extensionName: import("zod").ZodString;
32881
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
32882
+ }, "strip", import("zod").ZodTypeAny, {
32883
+ id: string;
32884
+ createdAt: Date;
32885
+ updatedAt: Date;
32886
+ deletedAt: Date | null;
32887
+ userId: string | null;
32888
+ sipServerUrl: string;
32889
+ sipUserName: string;
32890
+ webphoneLoginUser: string;
32891
+ extensionId: string | null;
32892
+ extensionName: string;
32893
+ telephonySignature: string | null;
32894
+ }, {
32895
+ id: string;
32896
+ createdAt: Date;
32897
+ updatedAt: Date;
32898
+ deletedAt: Date | null;
32899
+ userId: string | null;
32900
+ sipServerUrl: string;
32901
+ sipUserName: string;
32902
+ webphoneLoginUser: string;
32903
+ extensionId: string | null;
32904
+ extensionName: string;
32905
+ telephonySignature: string | null;
32906
+ }>;
32907
+ }, "strip", import("zod").ZodTypeAny, {
32908
+ id: string;
32909
+ address: string | null;
32910
+ name: string;
32911
+ email: string;
32912
+ createdAt: Date;
32913
+ updatedAt: Date;
32914
+ deletedAt: Date | null;
32915
+ emailVerifiedAt: Date | null;
32916
+ password: string;
32917
+ phone: string | null;
32918
+ notificationCount: number | null;
32919
+ roles: {
32920
+ id: string;
32921
+ description: string | null;
32922
+ createdAt: Date;
32923
+ updatedAt: Date;
32924
+ deletedAt: Date | null;
32925
+ systemName: string;
32926
+ displayName: string;
32927
+ permissions: {
32928
+ id: string;
32929
+ description: string | null;
32930
+ createdAt: Date;
32931
+ updatedAt: Date;
32932
+ deletedAt: Date | null;
32933
+ systemName: string;
32934
+ displayName: string;
32935
+ }[];
32936
+ }[];
32937
+ extension: {
32938
+ id: string;
32939
+ createdAt: Date;
32940
+ updatedAt: Date;
32941
+ deletedAt: Date | null;
32942
+ userId: string | null;
32943
+ sipServerUrl: string;
32944
+ sipUserName: string;
32945
+ webphoneLoginUser: string;
32946
+ extensionId: string | null;
32947
+ extensionName: string;
32948
+ telephonySignature: string | null;
32949
+ };
32950
+ }, {
32951
+ id: string;
32952
+ address: string | null;
32953
+ name: string;
32954
+ email: string;
32955
+ createdAt: Date;
32956
+ updatedAt: Date;
32957
+ deletedAt: Date | null;
32958
+ emailVerifiedAt: Date | null;
32959
+ password: string;
32960
+ phone: string | null;
32961
+ notificationCount: number | null;
32962
+ roles: {
32963
+ id: string;
32964
+ description: string | null;
32965
+ createdAt: Date;
32966
+ updatedAt: Date;
32967
+ deletedAt: Date | null;
32968
+ systemName: string;
32969
+ displayName: string;
32970
+ permissions: {
32971
+ id: string;
32972
+ description: string | null;
32973
+ createdAt: Date;
32974
+ updatedAt: Date;
32975
+ deletedAt: Date | null;
32976
+ systemName: string;
32977
+ displayName: string;
32978
+ }[];
32979
+ }[];
32980
+ extension: {
32981
+ id: string;
32982
+ createdAt: Date;
32983
+ updatedAt: Date;
32984
+ deletedAt: Date | null;
32985
+ userId: string | null;
32986
+ sipServerUrl: string;
32987
+ sipUserName: string;
32988
+ webphoneLoginUser: string;
32989
+ extensionId: string | null;
32990
+ extensionName: string;
32991
+ telephonySignature: string | null;
32992
+ };
32993
+ }>>;
32994
+ }, "strip", import("zod").ZodTypeAny, {
32995
+ id?: string | undefined;
32996
+ createdAt?: Date | undefined;
32997
+ updatedAt?: Date | undefined;
32998
+ deletedAt?: Date | null | undefined;
32999
+ name?: string | undefined;
33000
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33001
+ metadata?: {
33002
+ id: string;
33003
+ name: string;
33004
+ accessToken: string;
33005
+ additionalCredentials?: any;
33006
+ } | undefined;
33007
+ brandName?: string | undefined;
33008
+ platformId?: string | undefined;
33009
+ status?: boolean | undefined;
33010
+ isReloginRequired?: boolean | undefined;
33011
+ connectedUserName?: string | undefined;
33012
+ connectedUserId?: string | undefined;
33013
+ actor?: {
33014
+ id: string;
33015
+ address: string | null;
33016
+ name: string;
33017
+ email: string;
33018
+ createdAt: Date;
33019
+ updatedAt: Date;
33020
+ deletedAt: Date | null;
33021
+ emailVerifiedAt: Date | null;
33022
+ password: string;
33023
+ phone: string | null;
33024
+ notificationCount: number | null;
33025
+ roles: {
33026
+ id: string;
33027
+ description: string | null;
33028
+ createdAt: Date;
33029
+ updatedAt: Date;
33030
+ deletedAt: Date | null;
33031
+ systemName: string;
33032
+ displayName: string;
33033
+ permissions: {
33034
+ id: string;
33035
+ description: string | null;
33036
+ createdAt: Date;
33037
+ updatedAt: Date;
33038
+ deletedAt: Date | null;
33039
+ systemName: string;
33040
+ displayName: string;
33041
+ }[];
33042
+ }[];
33043
+ extension: {
33044
+ id: string;
33045
+ createdAt: Date;
33046
+ updatedAt: Date;
33047
+ deletedAt: Date | null;
33048
+ userId: string | null;
33049
+ sipServerUrl: string;
33050
+ sipUserName: string;
33051
+ webphoneLoginUser: string;
33052
+ extensionId: string | null;
33053
+ extensionName: string;
33054
+ telephonySignature: string | null;
33055
+ };
33056
+ } | undefined;
33057
+ }, {
33058
+ id?: string | undefined;
33059
+ createdAt?: Date | undefined;
33060
+ updatedAt?: Date | undefined;
33061
+ deletedAt?: Date | null | undefined;
33062
+ name?: string | undefined;
33063
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33064
+ metadata?: {
33065
+ id: string;
33066
+ name: string;
33067
+ accessToken: string;
33068
+ additionalCredentials?: any;
33069
+ } | undefined;
33070
+ brandName?: string | undefined;
33071
+ platformId?: string | undefined;
33072
+ status?: boolean | undefined;
33073
+ isReloginRequired?: boolean | undefined;
33074
+ connectedUserName?: string | undefined;
33075
+ connectedUserId?: string | undefined;
33076
+ actor?: {
33077
+ id: string;
33078
+ address: string | null;
33079
+ name: string;
33080
+ email: string;
33081
+ createdAt: Date;
33082
+ updatedAt: Date;
33083
+ deletedAt: Date | null;
33084
+ emailVerifiedAt: Date | null;
33085
+ password: string;
33086
+ phone: string | null;
33087
+ notificationCount: number | null;
33088
+ roles: {
33089
+ id: string;
33090
+ description: string | null;
33091
+ createdAt: Date;
33092
+ updatedAt: Date;
33093
+ deletedAt: Date | null;
33094
+ systemName: string;
33095
+ displayName: string;
33096
+ permissions: {
33097
+ id: string;
33098
+ description: string | null;
33099
+ createdAt: Date;
33100
+ updatedAt: Date;
33101
+ deletedAt: Date | null;
33102
+ systemName: string;
33103
+ displayName: string;
33104
+ }[];
33105
+ }[];
33106
+ extension: {
33107
+ id: string;
33108
+ createdAt: Date;
33109
+ updatedAt: Date;
33110
+ deletedAt: Date | null;
33111
+ userId: string | null;
33112
+ sipServerUrl: string;
33113
+ sipUserName: string;
33114
+ webphoneLoginUser: string;
33115
+ extensionId: string | null;
33116
+ extensionName: string;
33117
+ telephonySignature: string | null;
33118
+ };
33119
+ } | undefined;
33120
+ }>>;
33121
+ }, "strip", import("zod").ZodTypeAny, {
33122
+ requestId: string;
33123
+ channel?: {
33124
+ id?: string | undefined;
33125
+ createdAt?: Date | undefined;
33126
+ updatedAt?: Date | undefined;
33127
+ deletedAt?: Date | null | undefined;
33128
+ name?: string | undefined;
33129
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33130
+ metadata?: {
33131
+ id: string;
33132
+ name: string;
33133
+ accessToken: string;
33134
+ additionalCredentials?: any;
33135
+ } | undefined;
33136
+ brandName?: string | undefined;
33137
+ platformId?: string | undefined;
33138
+ status?: boolean | undefined;
33139
+ isReloginRequired?: boolean | undefined;
33140
+ connectedUserName?: string | undefined;
33141
+ connectedUserId?: string | undefined;
33142
+ actor?: {
33143
+ id: string;
33144
+ address: string | null;
33145
+ name: string;
33146
+ email: string;
33147
+ createdAt: Date;
33148
+ updatedAt: Date;
33149
+ deletedAt: Date | null;
33150
+ emailVerifiedAt: Date | null;
33151
+ password: string;
33152
+ phone: string | null;
33153
+ notificationCount: number | null;
33154
+ roles: {
33155
+ id: string;
33156
+ description: string | null;
33157
+ createdAt: Date;
33158
+ updatedAt: Date;
33159
+ deletedAt: Date | null;
33160
+ systemName: string;
33161
+ displayName: string;
33162
+ permissions: {
33163
+ id: string;
33164
+ description: string | null;
33165
+ createdAt: Date;
33166
+ updatedAt: Date;
33167
+ deletedAt: Date | null;
33168
+ systemName: string;
33169
+ displayName: string;
33170
+ }[];
33171
+ }[];
33172
+ extension: {
33173
+ id: string;
33174
+ createdAt: Date;
33175
+ updatedAt: Date;
33176
+ deletedAt: Date | null;
33177
+ userId: string | null;
33178
+ sipServerUrl: string;
33179
+ sipUserName: string;
33180
+ webphoneLoginUser: string;
33181
+ extensionId: string | null;
33182
+ extensionName: string;
33183
+ telephonySignature: string | null;
33184
+ };
33185
+ } | undefined;
33186
+ } | undefined;
33187
+ }, {
33188
+ requestId: string;
33189
+ channel?: {
33190
+ id?: string | undefined;
33191
+ createdAt?: Date | undefined;
33192
+ updatedAt?: Date | undefined;
33193
+ deletedAt?: Date | null | undefined;
33194
+ name?: string | undefined;
33195
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33196
+ metadata?: {
33197
+ id: string;
33198
+ name: string;
33199
+ accessToken: string;
33200
+ additionalCredentials?: any;
33201
+ } | undefined;
33202
+ brandName?: string | undefined;
33203
+ platformId?: string | undefined;
33204
+ status?: boolean | undefined;
33205
+ isReloginRequired?: boolean | undefined;
33206
+ connectedUserName?: string | undefined;
33207
+ connectedUserId?: string | undefined;
33208
+ actor?: {
33209
+ id: string;
33210
+ address: string | null;
33211
+ name: string;
33212
+ email: string;
33213
+ createdAt: Date;
33214
+ updatedAt: Date;
33215
+ deletedAt: Date | null;
33216
+ emailVerifiedAt: Date | null;
33217
+ password: string;
33218
+ phone: string | null;
33219
+ notificationCount: number | null;
33220
+ roles: {
33221
+ id: string;
33222
+ description: string | null;
33223
+ createdAt: Date;
33224
+ updatedAt: Date;
33225
+ deletedAt: Date | null;
33226
+ systemName: string;
33227
+ displayName: string;
33228
+ permissions: {
33229
+ id: string;
33230
+ description: string | null;
33231
+ createdAt: Date;
33232
+ updatedAt: Date;
33233
+ deletedAt: Date | null;
33234
+ systemName: string;
33235
+ displayName: string;
33236
+ }[];
33237
+ }[];
33238
+ extension: {
33239
+ id: string;
33240
+ createdAt: Date;
33241
+ updatedAt: Date;
33242
+ deletedAt: Date | null;
33243
+ userId: string | null;
33244
+ sipServerUrl: string;
33245
+ sipUserName: string;
33246
+ webphoneLoginUser: string;
33247
+ extensionId: string | null;
33248
+ extensionName: string;
33249
+ telephonySignature: string | null;
33250
+ };
33251
+ } | undefined;
33252
+ } | undefined;
33253
+ }>;
33254
+ 408: import("zod").ZodObject<{
33255
+ message: import("zod").ZodString;
33256
+ error: import("zod").ZodAny;
33257
+ }, "strip", import("zod").ZodTypeAny, {
33258
+ message: string;
33259
+ error?: any;
33260
+ }, {
33261
+ message: string;
33262
+ error?: any;
33263
+ }>;
33264
+ };
33265
+ path: "channel/instagram/connect";
33266
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
33267
+ 'x-tenant': import("zod").ZodString;
33268
+ authorization: import("zod").ZodString;
33269
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
33270
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
33271
+ }, "strip", import("zod").ZodTypeAny, {
33272
+ 'x-tenant': string;
33273
+ authorization: string;
33274
+ 'x-client-timezone': string;
33275
+ 'x-code'?: string | undefined;
33276
+ }, {
33277
+ 'x-tenant': string;
33278
+ authorization: string;
33279
+ 'x-code'?: string | undefined;
33280
+ 'x-client-timezone'?: string | undefined;
33281
+ }>>>;
33282
+ };
33283
+ relogin: {
33284
+ body: import("zod").ZodObject<{
33285
+ name: import("zod").ZodString;
33286
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
33287
+ metadata: import("zod").ZodObject<{
33288
+ id: import("zod").ZodString;
33289
+ name: import("zod").ZodString;
33290
+ accessToken: import("zod").ZodString;
33291
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
33292
+ }, "strip", import("zod").ZodTypeAny, {
33293
+ id: string;
33294
+ name: string;
33295
+ accessToken: string;
33296
+ additionalCredentials?: any;
33297
+ }, {
33298
+ id: string;
33299
+ name: string;
33300
+ accessToken: string;
33301
+ additionalCredentials?: any;
33302
+ }>;
33303
+ platformId: import("zod").ZodString;
33304
+ connectedUserId: import("zod").ZodString;
33305
+ }, "strip", import("zod").ZodTypeAny, {
33306
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
33307
+ name: string;
33308
+ metadata: {
33309
+ id: string;
33310
+ name: string;
33311
+ accessToken: string;
33312
+ additionalCredentials?: any;
33313
+ };
33314
+ platformId: string;
33315
+ connectedUserId: string;
33316
+ }, {
33317
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
33318
+ name: string;
33319
+ metadata: {
33320
+ id: string;
33321
+ name: string;
33322
+ accessToken: string;
33323
+ additionalCredentials?: any;
33324
+ };
33325
+ platformId: string;
33326
+ connectedUserId: string;
33327
+ }>;
33328
+ summary: "Relogin message channel";
33329
+ method: "POST";
33330
+ responses: {
33331
+ 200: import("zod").ZodObject<{
33332
+ requestId: import("zod").ZodString;
33333
+ channel: import("zod").ZodOptional<import("zod").ZodObject<{
33334
+ id: import("zod").ZodOptional<import("zod").ZodString>;
33335
+ createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
33336
+ updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
33337
+ deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
33338
+ name: import("zod").ZodOptional<import("zod").ZodString>;
33339
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
33340
+ metadata: import("zod").ZodOptional<import("zod").ZodObject<{
33341
+ id: import("zod").ZodString;
33342
+ name: import("zod").ZodString;
33343
+ accessToken: import("zod").ZodString;
33344
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
33345
+ }, "strip", import("zod").ZodTypeAny, {
33346
+ id: string;
33347
+ name: string;
33348
+ accessToken: string;
33349
+ additionalCredentials?: any;
33350
+ }, {
33351
+ id: string;
33352
+ name: string;
33353
+ accessToken: string;
33354
+ additionalCredentials?: any;
33355
+ }>>;
33356
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
33357
+ platformId: import("zod").ZodOptional<import("zod").ZodString>;
33358
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
33359
+ isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
33360
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
33361
+ connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
33362
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
33363
+ id: import("zod").ZodString;
33364
+ createdAt: import("zod").ZodDate;
33365
+ updatedAt: import("zod").ZodDate;
33366
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33367
+ name: import("zod").ZodString;
33368
+ email: import("zod").ZodString;
33369
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33370
+ password: import("zod").ZodString;
33371
+ address: import("zod").ZodNullable<import("zod").ZodString>;
33372
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
33373
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
33374
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
33375
+ id: import("zod").ZodString;
33376
+ createdAt: import("zod").ZodDate;
33377
+ updatedAt: import("zod").ZodDate;
33378
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33379
+ systemName: import("zod").ZodString;
33380
+ displayName: import("zod").ZodString;
33381
+ description: import("zod").ZodNullable<import("zod").ZodString>;
33382
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
33383
+ id: import("zod").ZodString;
33384
+ createdAt: import("zod").ZodDate;
33385
+ updatedAt: import("zod").ZodDate;
33386
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33387
+ systemName: import("zod").ZodString;
33388
+ displayName: import("zod").ZodString;
33389
+ description: import("zod").ZodNullable<import("zod").ZodString>;
33390
+ }, "strip", import("zod").ZodTypeAny, {
33391
+ id: string;
33392
+ description: string | null;
33393
+ createdAt: Date;
33394
+ updatedAt: Date;
33395
+ deletedAt: Date | null;
33396
+ systemName: string;
33397
+ displayName: string;
33398
+ }, {
33399
+ id: string;
33400
+ description: string | null;
33401
+ createdAt: Date;
33402
+ updatedAt: Date;
33403
+ deletedAt: Date | null;
33404
+ systemName: string;
33405
+ displayName: string;
33406
+ }>, "many">;
33407
+ }, "strip", import("zod").ZodTypeAny, {
33408
+ id: string;
33409
+ description: string | null;
33410
+ createdAt: Date;
33411
+ updatedAt: Date;
33412
+ deletedAt: Date | null;
33413
+ systemName: string;
33414
+ displayName: string;
33415
+ permissions: {
33416
+ id: string;
33417
+ description: string | null;
33418
+ createdAt: Date;
33419
+ updatedAt: Date;
33420
+ deletedAt: Date | null;
33421
+ systemName: string;
33422
+ displayName: string;
33423
+ }[];
33424
+ }, {
33425
+ id: string;
33426
+ description: string | null;
33427
+ createdAt: Date;
33428
+ updatedAt: Date;
33429
+ deletedAt: Date | null;
33430
+ systemName: string;
33431
+ displayName: string;
33432
+ permissions: {
33433
+ id: string;
33434
+ description: string | null;
33435
+ createdAt: Date;
33436
+ updatedAt: Date;
33437
+ deletedAt: Date | null;
33438
+ systemName: string;
33439
+ displayName: string;
33440
+ }[];
33441
+ }>, "many">;
33442
+ extension: import("zod").ZodObject<{
33443
+ id: import("zod").ZodString;
33444
+ createdAt: import("zod").ZodDate;
33445
+ updatedAt: import("zod").ZodDate;
33446
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33447
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
33448
+ sipServerUrl: import("zod").ZodString;
33449
+ sipUserName: import("zod").ZodString;
33450
+ webphoneLoginUser: import("zod").ZodString;
33451
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
33452
+ extensionName: import("zod").ZodString;
33453
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
33454
+ }, "strip", import("zod").ZodTypeAny, {
33455
+ id: string;
33456
+ createdAt: Date;
33457
+ updatedAt: Date;
33458
+ deletedAt: Date | null;
33459
+ userId: string | null;
33460
+ sipServerUrl: string;
33461
+ sipUserName: string;
33462
+ webphoneLoginUser: string;
33463
+ extensionId: string | null;
33464
+ extensionName: string;
33465
+ telephonySignature: string | null;
33466
+ }, {
33467
+ id: string;
33468
+ createdAt: Date;
33469
+ updatedAt: Date;
33470
+ deletedAt: Date | null;
33471
+ userId: string | null;
33472
+ sipServerUrl: string;
33473
+ sipUserName: string;
33474
+ webphoneLoginUser: string;
33475
+ extensionId: string | null;
33476
+ extensionName: string;
33477
+ telephonySignature: string | null;
33478
+ }>;
33479
+ }, "strip", import("zod").ZodTypeAny, {
33480
+ id: string;
33481
+ address: string | null;
33482
+ name: string;
33483
+ email: string;
33484
+ createdAt: Date;
33485
+ updatedAt: Date;
33486
+ deletedAt: Date | null;
33487
+ emailVerifiedAt: Date | null;
33488
+ password: string;
33489
+ phone: string | null;
33490
+ notificationCount: number | null;
33491
+ roles: {
33492
+ id: string;
33493
+ description: string | null;
33494
+ createdAt: Date;
33495
+ updatedAt: Date;
33496
+ deletedAt: Date | null;
33497
+ systemName: string;
33498
+ displayName: string;
33499
+ permissions: {
33500
+ id: string;
33501
+ description: string | null;
33502
+ createdAt: Date;
33503
+ updatedAt: Date;
33504
+ deletedAt: Date | null;
33505
+ systemName: string;
33506
+ displayName: string;
33507
+ }[];
33508
+ }[];
33509
+ extension: {
33510
+ id: string;
33511
+ createdAt: Date;
33512
+ updatedAt: Date;
33513
+ deletedAt: Date | null;
33514
+ userId: string | null;
33515
+ sipServerUrl: string;
33516
+ sipUserName: string;
33517
+ webphoneLoginUser: string;
33518
+ extensionId: string | null;
33519
+ extensionName: string;
33520
+ telephonySignature: string | null;
33521
+ };
33522
+ }, {
33523
+ id: string;
33524
+ address: string | null;
33525
+ name: string;
33526
+ email: string;
33527
+ createdAt: Date;
33528
+ updatedAt: Date;
33529
+ deletedAt: Date | null;
33530
+ emailVerifiedAt: Date | null;
33531
+ password: string;
33532
+ phone: string | null;
33533
+ notificationCount: number | null;
33534
+ roles: {
33535
+ id: string;
33536
+ description: string | null;
33537
+ createdAt: Date;
33538
+ updatedAt: Date;
33539
+ deletedAt: Date | null;
33540
+ systemName: string;
33541
+ displayName: string;
33542
+ permissions: {
33543
+ id: string;
33544
+ description: string | null;
33545
+ createdAt: Date;
33546
+ updatedAt: Date;
33547
+ deletedAt: Date | null;
33548
+ systemName: string;
33549
+ displayName: string;
33550
+ }[];
33551
+ }[];
33552
+ extension: {
33553
+ id: string;
33554
+ createdAt: Date;
33555
+ updatedAt: Date;
33556
+ deletedAt: Date | null;
33557
+ userId: string | null;
33558
+ sipServerUrl: string;
33559
+ sipUserName: string;
33560
+ webphoneLoginUser: string;
33561
+ extensionId: string | null;
33562
+ extensionName: string;
33563
+ telephonySignature: string | null;
33564
+ };
33565
+ }>>;
33566
+ }, "strip", import("zod").ZodTypeAny, {
33567
+ id?: string | undefined;
33568
+ createdAt?: Date | undefined;
33569
+ updatedAt?: Date | undefined;
33570
+ deletedAt?: Date | null | undefined;
33571
+ name?: string | undefined;
33572
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33573
+ metadata?: {
33574
+ id: string;
33575
+ name: string;
33576
+ accessToken: string;
33577
+ additionalCredentials?: any;
33578
+ } | undefined;
33579
+ brandName?: string | undefined;
33580
+ platformId?: string | undefined;
33581
+ status?: boolean | undefined;
33582
+ isReloginRequired?: boolean | undefined;
33583
+ connectedUserName?: string | undefined;
33584
+ connectedUserId?: string | undefined;
33585
+ actor?: {
33586
+ id: string;
33587
+ address: string | null;
33588
+ name: string;
33589
+ email: string;
33590
+ createdAt: Date;
33591
+ updatedAt: Date;
33592
+ deletedAt: Date | null;
33593
+ emailVerifiedAt: Date | null;
33594
+ password: string;
33595
+ phone: string | null;
33596
+ notificationCount: number | null;
33597
+ roles: {
33598
+ id: string;
33599
+ description: string | null;
33600
+ createdAt: Date;
33601
+ updatedAt: Date;
33602
+ deletedAt: Date | null;
33603
+ systemName: string;
33604
+ displayName: string;
33605
+ permissions: {
33606
+ id: string;
33607
+ description: string | null;
33608
+ createdAt: Date;
33609
+ updatedAt: Date;
33610
+ deletedAt: Date | null;
33611
+ systemName: string;
33612
+ displayName: string;
33613
+ }[];
33614
+ }[];
33615
+ extension: {
33616
+ id: string;
33617
+ createdAt: Date;
33618
+ updatedAt: Date;
33619
+ deletedAt: Date | null;
33620
+ userId: string | null;
33621
+ sipServerUrl: string;
33622
+ sipUserName: string;
33623
+ webphoneLoginUser: string;
33624
+ extensionId: string | null;
33625
+ extensionName: string;
33626
+ telephonySignature: string | null;
33627
+ };
33628
+ } | undefined;
33629
+ }, {
33630
+ id?: string | undefined;
33631
+ createdAt?: Date | undefined;
33632
+ updatedAt?: Date | undefined;
33633
+ deletedAt?: Date | null | undefined;
33634
+ name?: string | undefined;
33635
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33636
+ metadata?: {
33637
+ id: string;
33638
+ name: string;
33639
+ accessToken: string;
33640
+ additionalCredentials?: any;
33641
+ } | undefined;
33642
+ brandName?: string | undefined;
33643
+ platformId?: string | undefined;
33644
+ status?: boolean | undefined;
33645
+ isReloginRequired?: boolean | undefined;
33646
+ connectedUserName?: string | undefined;
33647
+ connectedUserId?: string | undefined;
33648
+ actor?: {
33649
+ id: string;
33650
+ address: string | null;
33651
+ name: string;
33652
+ email: string;
33653
+ createdAt: Date;
33654
+ updatedAt: Date;
33655
+ deletedAt: Date | null;
33656
+ emailVerifiedAt: Date | null;
33657
+ password: string;
33658
+ phone: string | null;
33659
+ notificationCount: number | null;
33660
+ roles: {
33661
+ id: string;
33662
+ description: string | null;
33663
+ createdAt: Date;
33664
+ updatedAt: Date;
33665
+ deletedAt: Date | null;
33666
+ systemName: string;
33667
+ displayName: string;
33668
+ permissions: {
33669
+ id: string;
33670
+ description: string | null;
33671
+ createdAt: Date;
33672
+ updatedAt: Date;
33673
+ deletedAt: Date | null;
33674
+ systemName: string;
33675
+ displayName: string;
33676
+ }[];
33677
+ }[];
33678
+ extension: {
33679
+ id: string;
33680
+ createdAt: Date;
33681
+ updatedAt: Date;
33682
+ deletedAt: Date | null;
33683
+ userId: string | null;
33684
+ sipServerUrl: string;
33685
+ sipUserName: string;
33686
+ webphoneLoginUser: string;
33687
+ extensionId: string | null;
33688
+ extensionName: string;
33689
+ telephonySignature: string | null;
33690
+ };
33691
+ } | undefined;
33692
+ }>>;
33693
+ }, "strip", import("zod").ZodTypeAny, {
33694
+ requestId: string;
33695
+ channel?: {
33696
+ id?: string | undefined;
33697
+ createdAt?: Date | undefined;
33698
+ updatedAt?: Date | undefined;
33699
+ deletedAt?: Date | null | undefined;
33700
+ name?: string | undefined;
33701
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33702
+ metadata?: {
33703
+ id: string;
33704
+ name: string;
33705
+ accessToken: string;
33706
+ additionalCredentials?: any;
33707
+ } | undefined;
33708
+ brandName?: string | undefined;
33709
+ platformId?: string | undefined;
33710
+ status?: boolean | undefined;
33711
+ isReloginRequired?: boolean | undefined;
33712
+ connectedUserName?: string | undefined;
33713
+ connectedUserId?: string | undefined;
33714
+ actor?: {
33715
+ id: string;
33716
+ address: string | null;
33717
+ name: string;
33718
+ email: string;
33719
+ createdAt: Date;
33720
+ updatedAt: Date;
33721
+ deletedAt: Date | null;
33722
+ emailVerifiedAt: Date | null;
33723
+ password: string;
33724
+ phone: string | null;
33725
+ notificationCount: number | null;
33726
+ roles: {
33727
+ id: string;
33728
+ description: string | null;
33729
+ createdAt: Date;
33730
+ updatedAt: Date;
33731
+ deletedAt: Date | null;
33732
+ systemName: string;
33733
+ displayName: string;
33734
+ permissions: {
33735
+ id: string;
33736
+ description: string | null;
33737
+ createdAt: Date;
33738
+ updatedAt: Date;
33739
+ deletedAt: Date | null;
33740
+ systemName: string;
33741
+ displayName: string;
33742
+ }[];
33743
+ }[];
33744
+ extension: {
33745
+ id: string;
33746
+ createdAt: Date;
33747
+ updatedAt: Date;
33748
+ deletedAt: Date | null;
33749
+ userId: string | null;
33750
+ sipServerUrl: string;
33751
+ sipUserName: string;
33752
+ webphoneLoginUser: string;
33753
+ extensionId: string | null;
33754
+ extensionName: string;
33755
+ telephonySignature: string | null;
33756
+ };
33757
+ } | undefined;
33758
+ } | undefined;
33759
+ }, {
33760
+ requestId: string;
33761
+ channel?: {
33762
+ id?: string | undefined;
33763
+ createdAt?: Date | undefined;
33764
+ updatedAt?: Date | undefined;
33765
+ deletedAt?: Date | null | undefined;
33766
+ name?: string | undefined;
33767
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
33768
+ metadata?: {
33769
+ id: string;
33770
+ name: string;
33771
+ accessToken: string;
33772
+ additionalCredentials?: any;
33773
+ } | undefined;
33774
+ brandName?: string | undefined;
33775
+ platformId?: string | undefined;
33776
+ status?: boolean | undefined;
33777
+ isReloginRequired?: boolean | undefined;
33778
+ connectedUserName?: string | undefined;
33779
+ connectedUserId?: string | undefined;
33780
+ actor?: {
33781
+ id: string;
33782
+ address: string | null;
33783
+ name: string;
33784
+ email: string;
33785
+ createdAt: Date;
33786
+ updatedAt: Date;
33787
+ deletedAt: Date | null;
33788
+ emailVerifiedAt: Date | null;
33789
+ password: string;
33790
+ phone: string | null;
33791
+ notificationCount: number | null;
33792
+ roles: {
33793
+ id: string;
33794
+ description: string | null;
33795
+ createdAt: Date;
33796
+ updatedAt: Date;
33797
+ deletedAt: Date | null;
33798
+ systemName: string;
33799
+ displayName: string;
33800
+ permissions: {
33801
+ id: string;
33802
+ description: string | null;
33803
+ createdAt: Date;
33804
+ updatedAt: Date;
33805
+ deletedAt: Date | null;
33806
+ systemName: string;
33807
+ displayName: string;
33808
+ }[];
33809
+ }[];
33810
+ extension: {
33811
+ id: string;
33812
+ createdAt: Date;
33813
+ updatedAt: Date;
33814
+ deletedAt: Date | null;
33815
+ userId: string | null;
33816
+ sipServerUrl: string;
33817
+ sipUserName: string;
33818
+ webphoneLoginUser: string;
33819
+ extensionId: string | null;
33820
+ extensionName: string;
33821
+ telephonySignature: string | null;
33822
+ };
33823
+ } | undefined;
33824
+ } | undefined;
33825
+ }>;
33826
+ 408: import("zod").ZodObject<{
33827
+ message: import("zod").ZodString;
33828
+ error: import("zod").ZodAny;
33829
+ }, "strip", import("zod").ZodTypeAny, {
33830
+ message: string;
33831
+ error?: any;
33832
+ }, {
33833
+ message: string;
33834
+ error?: any;
33835
+ }>;
33836
+ };
33837
+ path: "channel/instagram/relogin";
33838
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
33839
+ 'x-tenant': import("zod").ZodString;
33840
+ authorization: import("zod").ZodString;
33841
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
33842
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
33843
+ }, "strip", import("zod").ZodTypeAny, {
33844
+ 'x-tenant': string;
33845
+ authorization: string;
33846
+ 'x-client-timezone': string;
33847
+ 'x-code'?: string | undefined;
33848
+ }, {
33849
+ 'x-tenant': string;
33850
+ authorization: string;
33851
+ 'x-code'?: string | undefined;
33852
+ 'x-client-timezone'?: string | undefined;
33853
+ }>>>;
33854
+ };
33855
+ disconnect: {
33856
+ body: null;
33857
+ summary: "Disconnect message channel";
33858
+ method: "POST";
33859
+ pathParams: import("zod").ZodObject<{
33860
+ channelId: import("zod").ZodString;
33861
+ }, "strip", import("zod").ZodTypeAny, {
33862
+ channelId: string;
33863
+ }, {
33864
+ channelId: string;
33865
+ }>;
33866
+ responses: {
33867
+ 200: import("zod").ZodObject<{
33868
+ requestId: import("zod").ZodString;
33869
+ channel: import("zod").ZodOptional<import("zod").ZodObject<{
33870
+ id: import("zod").ZodOptional<import("zod").ZodString>;
33871
+ createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
33872
+ updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
33873
+ deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
33874
+ name: import("zod").ZodOptional<import("zod").ZodString>;
33875
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
33876
+ metadata: import("zod").ZodOptional<import("zod").ZodObject<{
33877
+ id: import("zod").ZodString;
33878
+ name: import("zod").ZodString;
33879
+ accessToken: import("zod").ZodString;
33880
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
33881
+ }, "strip", import("zod").ZodTypeAny, {
33882
+ id: string;
33883
+ name: string;
33884
+ accessToken: string;
33885
+ additionalCredentials?: any;
33886
+ }, {
33887
+ id: string;
33888
+ name: string;
33889
+ accessToken: string;
33890
+ additionalCredentials?: any;
33891
+ }>>;
33892
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
33893
+ platformId: import("zod").ZodOptional<import("zod").ZodString>;
33894
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
33895
+ isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
33896
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
33897
+ connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
33898
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
33899
+ id: import("zod").ZodString;
33900
+ createdAt: import("zod").ZodDate;
33901
+ updatedAt: import("zod").ZodDate;
33902
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33903
+ name: import("zod").ZodString;
33904
+ email: import("zod").ZodString;
33905
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33906
+ password: import("zod").ZodString;
33907
+ address: import("zod").ZodNullable<import("zod").ZodString>;
33908
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
33909
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
33910
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
33911
+ id: import("zod").ZodString;
33912
+ createdAt: import("zod").ZodDate;
33913
+ updatedAt: import("zod").ZodDate;
33914
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33915
+ systemName: import("zod").ZodString;
33916
+ displayName: import("zod").ZodString;
33917
+ description: import("zod").ZodNullable<import("zod").ZodString>;
33918
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
33919
+ id: import("zod").ZodString;
33920
+ createdAt: import("zod").ZodDate;
33921
+ updatedAt: import("zod").ZodDate;
33922
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33923
+ systemName: import("zod").ZodString;
33924
+ displayName: import("zod").ZodString;
33925
+ description: import("zod").ZodNullable<import("zod").ZodString>;
33926
+ }, "strip", import("zod").ZodTypeAny, {
33927
+ id: string;
33928
+ description: string | null;
33929
+ createdAt: Date;
33930
+ updatedAt: Date;
33931
+ deletedAt: Date | null;
33932
+ systemName: string;
33933
+ displayName: string;
33934
+ }, {
33935
+ id: string;
33936
+ description: string | null;
33937
+ createdAt: Date;
33938
+ updatedAt: Date;
33939
+ deletedAt: Date | null;
33940
+ systemName: string;
33941
+ displayName: string;
33942
+ }>, "many">;
33943
+ }, "strip", import("zod").ZodTypeAny, {
33944
+ id: string;
33945
+ description: string | null;
33946
+ createdAt: Date;
33947
+ updatedAt: Date;
33948
+ deletedAt: Date | null;
33949
+ systemName: string;
33950
+ displayName: string;
33951
+ permissions: {
33952
+ id: string;
33953
+ description: string | null;
33954
+ createdAt: Date;
33955
+ updatedAt: Date;
33956
+ deletedAt: Date | null;
33957
+ systemName: string;
33958
+ displayName: string;
33959
+ }[];
33960
+ }, {
33961
+ id: string;
33962
+ description: string | null;
33963
+ createdAt: Date;
33964
+ updatedAt: Date;
33965
+ deletedAt: Date | null;
33966
+ systemName: string;
33967
+ displayName: string;
33968
+ permissions: {
33969
+ id: string;
33970
+ description: string | null;
33971
+ createdAt: Date;
33972
+ updatedAt: Date;
33973
+ deletedAt: Date | null;
33974
+ systemName: string;
33975
+ displayName: string;
33976
+ }[];
33977
+ }>, "many">;
33978
+ extension: import("zod").ZodObject<{
33979
+ id: import("zod").ZodString;
33980
+ createdAt: import("zod").ZodDate;
33981
+ updatedAt: import("zod").ZodDate;
33982
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33983
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
33984
+ sipServerUrl: import("zod").ZodString;
33985
+ sipUserName: import("zod").ZodString;
33986
+ webphoneLoginUser: import("zod").ZodString;
33987
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
33988
+ extensionName: import("zod").ZodString;
33989
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
33990
+ }, "strip", import("zod").ZodTypeAny, {
33991
+ id: string;
33992
+ createdAt: Date;
33993
+ updatedAt: Date;
33994
+ deletedAt: Date | null;
33995
+ userId: string | null;
33996
+ sipServerUrl: string;
33997
+ sipUserName: string;
33998
+ webphoneLoginUser: string;
33999
+ extensionId: string | null;
34000
+ extensionName: string;
34001
+ telephonySignature: string | null;
34002
+ }, {
34003
+ id: string;
34004
+ createdAt: Date;
34005
+ updatedAt: Date;
34006
+ deletedAt: Date | null;
34007
+ userId: string | null;
34008
+ sipServerUrl: string;
34009
+ sipUserName: string;
34010
+ webphoneLoginUser: string;
34011
+ extensionId: string | null;
34012
+ extensionName: string;
34013
+ telephonySignature: string | null;
34014
+ }>;
34015
+ }, "strip", import("zod").ZodTypeAny, {
34016
+ id: string;
34017
+ address: string | null;
34018
+ name: string;
34019
+ email: string;
34020
+ createdAt: Date;
34021
+ updatedAt: Date;
34022
+ deletedAt: Date | null;
34023
+ emailVerifiedAt: Date | null;
34024
+ password: string;
34025
+ phone: string | null;
34026
+ notificationCount: number | null;
34027
+ roles: {
34028
+ id: string;
34029
+ description: string | null;
34030
+ createdAt: Date;
34031
+ updatedAt: Date;
34032
+ deletedAt: Date | null;
34033
+ systemName: string;
34034
+ displayName: string;
34035
+ permissions: {
34036
+ id: string;
34037
+ description: string | null;
34038
+ createdAt: Date;
34039
+ updatedAt: Date;
34040
+ deletedAt: Date | null;
34041
+ systemName: string;
34042
+ displayName: string;
34043
+ }[];
34044
+ }[];
34045
+ extension: {
34046
+ id: string;
34047
+ createdAt: Date;
34048
+ updatedAt: Date;
34049
+ deletedAt: Date | null;
34050
+ userId: string | null;
34051
+ sipServerUrl: string;
34052
+ sipUserName: string;
34053
+ webphoneLoginUser: string;
34054
+ extensionId: string | null;
34055
+ extensionName: string;
34056
+ telephonySignature: string | null;
34057
+ };
34058
+ }, {
34059
+ id: string;
34060
+ address: string | null;
34061
+ name: string;
34062
+ email: string;
34063
+ createdAt: Date;
34064
+ updatedAt: Date;
34065
+ deletedAt: Date | null;
34066
+ emailVerifiedAt: Date | null;
34067
+ password: string;
34068
+ phone: string | null;
34069
+ notificationCount: number | null;
34070
+ roles: {
34071
+ id: string;
34072
+ description: string | null;
34073
+ createdAt: Date;
34074
+ updatedAt: Date;
34075
+ deletedAt: Date | null;
34076
+ systemName: string;
34077
+ displayName: string;
34078
+ permissions: {
34079
+ id: string;
34080
+ description: string | null;
34081
+ createdAt: Date;
34082
+ updatedAt: Date;
34083
+ deletedAt: Date | null;
34084
+ systemName: string;
34085
+ displayName: string;
34086
+ }[];
34087
+ }[];
34088
+ extension: {
34089
+ id: string;
34090
+ createdAt: Date;
34091
+ updatedAt: Date;
34092
+ deletedAt: Date | null;
34093
+ userId: string | null;
34094
+ sipServerUrl: string;
34095
+ sipUserName: string;
34096
+ webphoneLoginUser: string;
34097
+ extensionId: string | null;
34098
+ extensionName: string;
34099
+ telephonySignature: string | null;
34100
+ };
34101
+ }>>;
34102
+ }, "strip", import("zod").ZodTypeAny, {
34103
+ id?: string | undefined;
34104
+ createdAt?: Date | undefined;
34105
+ updatedAt?: Date | undefined;
34106
+ deletedAt?: Date | null | undefined;
34107
+ name?: string | undefined;
34108
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
34109
+ metadata?: {
34110
+ id: string;
34111
+ name: string;
34112
+ accessToken: string;
34113
+ additionalCredentials?: any;
34114
+ } | undefined;
34115
+ brandName?: string | undefined;
34116
+ platformId?: string | undefined;
34117
+ status?: boolean | undefined;
34118
+ isReloginRequired?: boolean | undefined;
34119
+ connectedUserName?: string | undefined;
34120
+ connectedUserId?: string | undefined;
34121
+ actor?: {
34122
+ id: string;
34123
+ address: string | null;
34124
+ name: string;
34125
+ email: string;
34126
+ createdAt: Date;
34127
+ updatedAt: Date;
34128
+ deletedAt: Date | null;
34129
+ emailVerifiedAt: Date | null;
34130
+ password: string;
34131
+ phone: string | null;
34132
+ notificationCount: number | null;
34133
+ roles: {
34134
+ id: string;
34135
+ description: string | null;
34136
+ createdAt: Date;
34137
+ updatedAt: Date;
34138
+ deletedAt: Date | null;
34139
+ systemName: string;
34140
+ displayName: string;
34141
+ permissions: {
34142
+ id: string;
34143
+ description: string | null;
34144
+ createdAt: Date;
34145
+ updatedAt: Date;
34146
+ deletedAt: Date | null;
34147
+ systemName: string;
34148
+ displayName: string;
34149
+ }[];
34150
+ }[];
34151
+ extension: {
34152
+ id: string;
34153
+ createdAt: Date;
34154
+ updatedAt: Date;
34155
+ deletedAt: Date | null;
34156
+ userId: string | null;
34157
+ sipServerUrl: string;
34158
+ sipUserName: string;
34159
+ webphoneLoginUser: string;
34160
+ extensionId: string | null;
34161
+ extensionName: string;
34162
+ telephonySignature: string | null;
34163
+ };
34164
+ } | undefined;
34165
+ }, {
34166
+ id?: string | undefined;
34167
+ createdAt?: Date | undefined;
34168
+ updatedAt?: Date | undefined;
34169
+ deletedAt?: Date | null | undefined;
34170
+ name?: string | undefined;
34171
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
34172
+ metadata?: {
34173
+ id: string;
34174
+ name: string;
34175
+ accessToken: string;
34176
+ additionalCredentials?: any;
34177
+ } | undefined;
34178
+ brandName?: string | undefined;
34179
+ platformId?: string | undefined;
34180
+ status?: boolean | undefined;
34181
+ isReloginRequired?: boolean | undefined;
34182
+ connectedUserName?: string | undefined;
34183
+ connectedUserId?: string | undefined;
34184
+ actor?: {
34185
+ id: string;
34186
+ address: string | null;
34187
+ name: string;
34188
+ email: string;
34189
+ createdAt: Date;
34190
+ updatedAt: Date;
34191
+ deletedAt: Date | null;
34192
+ emailVerifiedAt: Date | null;
34193
+ password: string;
34194
+ phone: string | null;
34195
+ notificationCount: number | null;
34196
+ roles: {
34197
+ id: string;
34198
+ description: string | null;
34199
+ createdAt: Date;
34200
+ updatedAt: Date;
34201
+ deletedAt: Date | null;
34202
+ systemName: string;
34203
+ displayName: string;
34204
+ permissions: {
34205
+ id: string;
34206
+ description: string | null;
34207
+ createdAt: Date;
34208
+ updatedAt: Date;
34209
+ deletedAt: Date | null;
34210
+ systemName: string;
34211
+ displayName: string;
34212
+ }[];
34213
+ }[];
34214
+ extension: {
34215
+ id: string;
34216
+ createdAt: Date;
34217
+ updatedAt: Date;
34218
+ deletedAt: Date | null;
34219
+ userId: string | null;
34220
+ sipServerUrl: string;
34221
+ sipUserName: string;
34222
+ webphoneLoginUser: string;
34223
+ extensionId: string | null;
34224
+ extensionName: string;
34225
+ telephonySignature: string | null;
34226
+ };
34227
+ } | undefined;
34228
+ }>>;
34229
+ }, "strip", import("zod").ZodTypeAny, {
34230
+ requestId: string;
34231
+ channel?: {
34232
+ id?: string | undefined;
34233
+ createdAt?: Date | undefined;
34234
+ updatedAt?: Date | undefined;
34235
+ deletedAt?: Date | null | undefined;
34236
+ name?: string | undefined;
34237
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
34238
+ metadata?: {
34239
+ id: string;
34240
+ name: string;
34241
+ accessToken: string;
34242
+ additionalCredentials?: any;
34243
+ } | undefined;
34244
+ brandName?: string | undefined;
34245
+ platformId?: string | undefined;
34246
+ status?: boolean | undefined;
34247
+ isReloginRequired?: boolean | undefined;
34248
+ connectedUserName?: string | undefined;
34249
+ connectedUserId?: string | undefined;
34250
+ actor?: {
34251
+ id: string;
34252
+ address: string | null;
34253
+ name: string;
34254
+ email: string;
34255
+ createdAt: Date;
34256
+ updatedAt: Date;
34257
+ deletedAt: Date | null;
34258
+ emailVerifiedAt: Date | null;
34259
+ password: string;
34260
+ phone: string | null;
34261
+ notificationCount: number | null;
34262
+ roles: {
34263
+ id: string;
34264
+ description: string | null;
34265
+ createdAt: Date;
34266
+ updatedAt: Date;
34267
+ deletedAt: Date | null;
34268
+ systemName: string;
34269
+ displayName: string;
34270
+ permissions: {
34271
+ id: string;
34272
+ description: string | null;
34273
+ createdAt: Date;
34274
+ updatedAt: Date;
34275
+ deletedAt: Date | null;
34276
+ systemName: string;
34277
+ displayName: string;
34278
+ }[];
34279
+ }[];
34280
+ extension: {
34281
+ id: string;
34282
+ createdAt: Date;
34283
+ updatedAt: Date;
34284
+ deletedAt: Date | null;
34285
+ userId: string | null;
34286
+ sipServerUrl: string;
34287
+ sipUserName: string;
34288
+ webphoneLoginUser: string;
34289
+ extensionId: string | null;
34290
+ extensionName: string;
34291
+ telephonySignature: string | null;
34292
+ };
34293
+ } | undefined;
34294
+ } | undefined;
34295
+ }, {
34296
+ requestId: string;
34297
+ channel?: {
34298
+ id?: string | undefined;
34299
+ createdAt?: Date | undefined;
34300
+ updatedAt?: Date | undefined;
34301
+ deletedAt?: Date | null | undefined;
34302
+ name?: string | undefined;
34303
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
34304
+ metadata?: {
34305
+ id: string;
34306
+ name: string;
34307
+ accessToken: string;
34308
+ additionalCredentials?: any;
34309
+ } | undefined;
34310
+ brandName?: string | undefined;
34311
+ platformId?: string | undefined;
34312
+ status?: boolean | undefined;
34313
+ isReloginRequired?: boolean | undefined;
34314
+ connectedUserName?: string | undefined;
34315
+ connectedUserId?: string | undefined;
34316
+ actor?: {
34317
+ id: string;
34318
+ address: string | null;
34319
+ name: string;
34320
+ email: string;
34321
+ createdAt: Date;
34322
+ updatedAt: Date;
34323
+ deletedAt: Date | null;
34324
+ emailVerifiedAt: Date | null;
34325
+ password: string;
34326
+ phone: string | null;
34327
+ notificationCount: number | null;
34328
+ roles: {
34329
+ id: string;
34330
+ description: string | null;
34331
+ createdAt: Date;
34332
+ updatedAt: Date;
34333
+ deletedAt: Date | null;
34334
+ systemName: string;
34335
+ displayName: string;
34336
+ permissions: {
34337
+ id: string;
34338
+ description: string | null;
34339
+ createdAt: Date;
34340
+ updatedAt: Date;
34341
+ deletedAt: Date | null;
34342
+ systemName: string;
34343
+ displayName: string;
34344
+ }[];
34345
+ }[];
34346
+ extension: {
34347
+ id: string;
34348
+ createdAt: Date;
34349
+ updatedAt: Date;
34350
+ deletedAt: Date | null;
34351
+ userId: string | null;
34352
+ sipServerUrl: string;
34353
+ sipUserName: string;
34354
+ webphoneLoginUser: string;
34355
+ extensionId: string | null;
34356
+ extensionName: string;
34357
+ telephonySignature: string | null;
34358
+ };
34359
+ } | undefined;
34360
+ } | undefined;
34361
+ }>;
34362
+ 408: import("zod").ZodObject<{
34363
+ message: import("zod").ZodString;
34364
+ error: import("zod").ZodAny;
34365
+ }, "strip", import("zod").ZodTypeAny, {
34366
+ message: string;
34367
+ error?: any;
34368
+ }, {
34369
+ message: string;
34370
+ error?: any;
34371
+ }>;
34372
+ };
34373
+ path: "channel/instagram/disconnect/:channelId";
34374
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
34375
+ 'x-tenant': import("zod").ZodString;
34376
+ authorization: import("zod").ZodString;
34377
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
34378
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
34379
+ }, "strip", import("zod").ZodTypeAny, {
34380
+ 'x-tenant': string;
34381
+ authorization: string;
34382
+ 'x-client-timezone': string;
34383
+ 'x-code'?: string | undefined;
34384
+ }, {
34385
+ 'x-tenant': string;
34386
+ authorization: string;
34387
+ 'x-code'?: string | undefined;
34388
+ 'x-client-timezone'?: string | undefined;
34389
+ }>>>;
34390
+ };
34391
+ };
32526
34392
  };
32527
34393
  aws: {
32528
34394
  generatePresignedUrl: {
@@ -40274,50 +42140,76 @@ export declare const apiContract: {
40274
42140
  };
40275
42141
  merge: {
40276
42142
  body: import("zod").ZodObject<{
40277
- primaryContactId: import("zod").ZodString;
40278
- emails: import("zod").ZodArray<import("zod").ZodObject<{
40279
- email: import("zod").ZodString;
40280
- isPrimary: import("zod").ZodBoolean;
40281
- }, "strip", import("zod").ZodTypeAny, {
40282
- isPrimary: boolean;
40283
- email: string;
40284
- }, {
40285
- isPrimary: boolean;
40286
- email: string;
40287
- }>, "many">;
40288
- phones: import("zod").ZodArray<import("zod").ZodObject<{
40289
- phone: import("zod").ZodString;
40290
- isPrimary: import("zod").ZodBoolean;
42143
+ primaryContact: import("zod").ZodObject<{
42144
+ id: import("zod").ZodString;
42145
+ emails: import("zod").ZodArray<import("zod").ZodObject<{
42146
+ email: import("zod").ZodString;
42147
+ isPrimary: import("zod").ZodBoolean;
42148
+ }, "strip", import("zod").ZodTypeAny, {
42149
+ isPrimary: boolean;
42150
+ email: string;
42151
+ }, {
42152
+ isPrimary: boolean;
42153
+ email: string;
42154
+ }>, "many">;
42155
+ phones: import("zod").ZodArray<import("zod").ZodObject<{
42156
+ phone: import("zod").ZodString;
42157
+ isPrimary: import("zod").ZodBoolean;
42158
+ }, "strip", import("zod").ZodTypeAny, {
42159
+ isPrimary: boolean;
42160
+ phone: string;
42161
+ }, {
42162
+ isPrimary: boolean;
42163
+ phone: string;
42164
+ }>, "many">;
40291
42165
  }, "strip", import("zod").ZodTypeAny, {
40292
- isPrimary: boolean;
40293
- phone: string;
42166
+ id: string;
42167
+ emails: {
42168
+ isPrimary: boolean;
42169
+ email: string;
42170
+ }[];
42171
+ phones: {
42172
+ isPrimary: boolean;
42173
+ phone: string;
42174
+ }[];
40294
42175
  }, {
40295
- isPrimary: boolean;
40296
- phone: string;
40297
- }>, "many">;
40298
- otherContacts: import("zod").ZodArray<import("zod").ZodString, "many">;
42176
+ id: string;
42177
+ emails: {
42178
+ isPrimary: boolean;
42179
+ email: string;
42180
+ }[];
42181
+ phones: {
42182
+ isPrimary: boolean;
42183
+ phone: string;
42184
+ }[];
42185
+ }>;
42186
+ secondaryContacts: import("zod").ZodArray<import("zod").ZodString, "many">;
40299
42187
  }, "strip", import("zod").ZodTypeAny, {
40300
- primaryContactId: string;
40301
- emails: {
40302
- isPrimary: boolean;
40303
- email: string;
40304
- }[];
40305
- phones: {
40306
- isPrimary: boolean;
40307
- phone: string;
40308
- }[];
40309
- otherContacts: string[];
42188
+ primaryContact: {
42189
+ id: string;
42190
+ emails: {
42191
+ isPrimary: boolean;
42192
+ email: string;
42193
+ }[];
42194
+ phones: {
42195
+ isPrimary: boolean;
42196
+ phone: string;
42197
+ }[];
42198
+ };
42199
+ secondaryContacts: string[];
40310
42200
  }, {
40311
- primaryContactId: string;
40312
- emails: {
40313
- isPrimary: boolean;
40314
- email: string;
40315
- }[];
40316
- phones: {
40317
- isPrimary: boolean;
40318
- phone: string;
40319
- }[];
40320
- otherContacts: string[];
42201
+ primaryContact: {
42202
+ id: string;
42203
+ emails: {
42204
+ isPrimary: boolean;
42205
+ email: string;
42206
+ }[];
42207
+ phones: {
42208
+ isPrimary: boolean;
42209
+ phone: string;
42210
+ }[];
42211
+ };
42212
+ secondaryContacts: string[];
40321
42213
  }>;
40322
42214
  summary: "Merge contacts into a single contact.";
40323
42215
  method: "POST";
@@ -63717,245 +65609,265 @@ export declare const ticketContract: {
63717
65609
  message: string;
63718
65610
  error?: any;
63719
65611
  }>;
63720
- };
63721
- path: "ticket/attachment";
63722
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
63723
- 'x-tenant': import("zod").ZodString;
63724
- authorization: import("zod").ZodString;
63725
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
63726
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
63727
- }, "strip", import("zod").ZodTypeAny, {
63728
- 'x-tenant': string;
63729
- authorization: string;
63730
- 'x-client-timezone': string;
63731
- 'x-code'?: string | undefined;
63732
- }, {
63733
- 'x-tenant': string;
63734
- authorization: string;
63735
- 'x-code'?: string | undefined;
63736
- 'x-client-timezone'?: string | undefined;
63737
- }>>>;
63738
- };
63739
- exportTicket: {
63740
- summary: "Export tickets";
63741
- method: "GET";
63742
- query: import("zod").ZodObject<{
63743
- agent: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63744
- selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
63745
- keyword: import("zod").ZodOptional<import("zod").ZodString>;
63746
- title: import("zod").ZodOptional<import("zod").ZodString>;
63747
- description: import("zod").ZodOptional<import("zod").ZodString>;
63748
- status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63749
- priority: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63750
- channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63751
- type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63752
- ticketType: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63753
- contact: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63754
- tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63755
- categories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
63756
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
63757
- attributeId: import("zod").ZodString;
63758
- type: import("zod").ZodString;
63759
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
63760
- }, "strip", import("zod").ZodTypeAny, {
63761
- type: string;
63762
- value: (string | string[]) & (string | string[] | undefined);
63763
- attributeId: string;
63764
- }, {
63765
- type: string;
63766
- value: (string | string[]) & (string | string[] | undefined);
63767
- attributeId: string;
63768
- }>, "many">>;
63769
- }, "strip", import("zod").ZodTypeAny, {
63770
- agent?: string[] | undefined;
63771
- selectedDate?: string | undefined;
63772
- keyword?: string | undefined;
63773
- title?: string | undefined;
63774
- description?: string | undefined;
63775
- status?: string[] | undefined;
63776
- priority?: string[] | undefined;
63777
- channel?: string[] | undefined;
63778
- type?: string[] | undefined;
63779
- ticketType?: string[] | undefined;
63780
- contact?: string[] | undefined;
63781
- tags?: string[] | undefined;
63782
- categories?: string[] | undefined;
63783
- customFields?: {
63784
- type: string;
63785
- value: (string | string[]) & (string | string[] | undefined);
63786
- attributeId: string;
63787
- }[] | undefined;
63788
- }, {
63789
- agent?: string[] | undefined;
63790
- selectedDate?: string | undefined;
63791
- keyword?: string | undefined;
63792
- title?: string | undefined;
63793
- description?: string | undefined;
63794
- status?: string[] | undefined;
63795
- priority?: string[] | undefined;
63796
- channel?: string[] | undefined;
63797
- type?: string[] | undefined;
63798
- ticketType?: string[] | undefined;
63799
- contact?: string[] | undefined;
63800
- tags?: string[] | undefined;
63801
- categories?: string[] | undefined;
63802
- customFields?: {
63803
- type: string;
63804
- value: (string | string[]) & (string | string[] | undefined);
63805
- attributeId: string;
63806
- }[] | undefined;
63807
- }>;
63808
- responses: {
63809
- 200: null;
63810
- 401: import("zod").ZodObject<{
63811
- message: import("zod").ZodString;
63812
- error: import("zod").ZodAny;
63813
- }, "strip", import("zod").ZodTypeAny, {
63814
- message: string;
63815
- error?: any;
63816
- }, {
63817
- message: string;
63818
- error?: any;
63819
- }>;
63820
- };
63821
- path: "ticket/export";
63822
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
63823
- 'x-tenant': import("zod").ZodString;
63824
- authorization: import("zod").ZodString;
63825
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
63826
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
63827
- }, "strip", import("zod").ZodTypeAny, {
63828
- 'x-tenant': string;
63829
- authorization: string;
63830
- 'x-client-timezone': string;
63831
- 'x-code'?: string | undefined;
63832
- }, {
63833
- 'x-tenant': string;
63834
- authorization: string;
63835
- 'x-code'?: string | undefined;
63836
- 'x-client-timezone'?: string | undefined;
63837
- }>>>;
63838
- };
63839
- };
63840
- };
63841
- export declare const extensionContract: {
63842
- extension: {
63843
- createExtension: {
63844
- body: import("zod").ZodObject<{
63845
- userId: import("zod").ZodNullable<import("zod").ZodString>;
63846
- sipUserName: import("zod").ZodString;
63847
- sipServerUrl: import("zod").ZodOptional<import("zod").ZodString>;
63848
- webphoneLoginUser: import("zod").ZodString;
63849
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
63850
- extensionName: import("zod").ZodNullable<import("zod").ZodString>;
63851
- telephonySignature: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
63852
- }, "strip", import("zod").ZodTypeAny, {
63853
- userId: string | null;
63854
- sipUserName: string;
63855
- webphoneLoginUser: string;
63856
- extensionId: string | null;
63857
- extensionName: string | null;
63858
- sipServerUrl?: string | undefined;
63859
- telephonySignature?: string | null | undefined;
63860
- }, {
63861
- userId: string | null;
63862
- sipUserName: string;
63863
- webphoneLoginUser: string;
63864
- extensionId: string | null;
63865
- extensionName: string | null;
63866
- sipServerUrl?: string | undefined;
63867
- telephonySignature?: string | null | undefined;
63868
- }>;
63869
- summary: "Create a extension.";
63870
- method: "POST";
63871
- responses: {
63872
- 201: import("zod").ZodObject<{
63873
- requestId: import("zod").ZodString;
63874
- extension: import("zod").ZodObject<{
63875
- id: import("zod").ZodString;
63876
- createdAt: import("zod").ZodDate;
63877
- updatedAt: import("zod").ZodDate;
63878
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
63879
- userId: import("zod").ZodNullable<import("zod").ZodString>;
63880
- sipServerUrl: import("zod").ZodString;
63881
- sipUserName: import("zod").ZodString;
63882
- webphoneLoginUser: import("zod").ZodString;
63883
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
63884
- extensionName: import("zod").ZodString;
63885
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
63886
- }, "strip", import("zod").ZodTypeAny, {
63887
- id: string;
63888
- createdAt: Date;
63889
- updatedAt: Date;
63890
- deletedAt: Date | null;
63891
- userId: string | null;
63892
- sipServerUrl: string;
63893
- sipUserName: string;
63894
- webphoneLoginUser: string;
63895
- extensionId: string | null;
63896
- extensionName: string;
63897
- telephonySignature: string | null;
63898
- }, {
63899
- id: string;
63900
- createdAt: Date;
63901
- updatedAt: Date;
63902
- deletedAt: Date | null;
63903
- userId: string | null;
63904
- sipServerUrl: string;
63905
- sipUserName: string;
63906
- webphoneLoginUser: string;
63907
- extensionId: string | null;
63908
- extensionName: string;
63909
- telephonySignature: string | null;
63910
- }>;
63911
- }, "strip", import("zod").ZodTypeAny, {
63912
- requestId: string;
63913
- extension: {
63914
- id: string;
63915
- createdAt: Date;
63916
- updatedAt: Date;
63917
- deletedAt: Date | null;
63918
- userId: string | null;
63919
- sipServerUrl: string;
63920
- sipUserName: string;
63921
- webphoneLoginUser: string;
63922
- extensionId: string | null;
63923
- extensionName: string;
63924
- telephonySignature: string | null;
63925
- };
63926
- }, {
63927
- requestId: string;
63928
- extension: {
63929
- id: string;
63930
- createdAt: Date;
63931
- updatedAt: Date;
63932
- deletedAt: Date | null;
63933
- userId: string | null;
63934
- sipServerUrl: string;
63935
- sipUserName: string;
63936
- webphoneLoginUser: string;
63937
- extensionId: string | null;
63938
- extensionName: string;
63939
- telephonySignature: string | null;
63940
- };
63941
- }>;
63942
- 400: import("zod").ZodObject<{
63943
- message: import("zod").ZodString;
63944
- }, "strip", import("zod").ZodTypeAny, {
63945
- message: string;
63946
- }, {
63947
- message: string;
63948
- }>;
63949
- 401: import("zod").ZodObject<{
63950
- message: import("zod").ZodString;
63951
- error: import("zod").ZodAny;
63952
- }, "strip", import("zod").ZodTypeAny, {
63953
- message: string;
63954
- error?: any;
63955
- }, {
63956
- message: string;
63957
- error?: any;
63958
- }>;
65612
+ };
65613
+ path: "ticket/attachment";
65614
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
65615
+ 'x-tenant': import("zod").ZodString;
65616
+ authorization: import("zod").ZodString;
65617
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
65618
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
65619
+ }, "strip", import("zod").ZodTypeAny, {
65620
+ 'x-tenant': string;
65621
+ authorization: string;
65622
+ 'x-client-timezone': string;
65623
+ 'x-code'?: string | undefined;
65624
+ }, {
65625
+ 'x-tenant': string;
65626
+ authorization: string;
65627
+ 'x-code'?: string | undefined;
65628
+ 'x-client-timezone'?: string | undefined;
65629
+ }>>>;
65630
+ };
65631
+ exportTicket: {
65632
+ summary: "Export tickets";
65633
+ method: "GET";
65634
+ query: import("zod").ZodObject<{
65635
+ agent: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65636
+ selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
65637
+ keyword: import("zod").ZodOptional<import("zod").ZodString>;
65638
+ title: import("zod").ZodOptional<import("zod").ZodString>;
65639
+ description: import("zod").ZodOptional<import("zod").ZodString>;
65640
+ status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65641
+ priority: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65642
+ channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65643
+ type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65644
+ ticketType: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65645
+ contact: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65646
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65647
+ categories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
65648
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
65649
+ attributeId: import("zod").ZodString;
65650
+ type: import("zod").ZodString;
65651
+ value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
65652
+ }, "strip", import("zod").ZodTypeAny, {
65653
+ type: string;
65654
+ value: (string | string[]) & (string | string[] | undefined);
65655
+ attributeId: string;
65656
+ }, {
65657
+ type: string;
65658
+ value: (string | string[]) & (string | string[] | undefined);
65659
+ attributeId: string;
65660
+ }>, "many">>;
65661
+ }, "strip", import("zod").ZodTypeAny, {
65662
+ agent?: string[] | undefined;
65663
+ selectedDate?: string | undefined;
65664
+ keyword?: string | undefined;
65665
+ title?: string | undefined;
65666
+ description?: string | undefined;
65667
+ status?: string[] | undefined;
65668
+ priority?: string[] | undefined;
65669
+ channel?: string[] | undefined;
65670
+ type?: string[] | undefined;
65671
+ ticketType?: string[] | undefined;
65672
+ contact?: string[] | undefined;
65673
+ tags?: string[] | undefined;
65674
+ categories?: string[] | undefined;
65675
+ customFields?: {
65676
+ type: string;
65677
+ value: (string | string[]) & (string | string[] | undefined);
65678
+ attributeId: string;
65679
+ }[] | undefined;
65680
+ }, {
65681
+ agent?: string[] | undefined;
65682
+ selectedDate?: string | undefined;
65683
+ keyword?: string | undefined;
65684
+ title?: string | undefined;
65685
+ description?: string | undefined;
65686
+ status?: string[] | undefined;
65687
+ priority?: string[] | undefined;
65688
+ channel?: string[] | undefined;
65689
+ type?: string[] | undefined;
65690
+ ticketType?: string[] | undefined;
65691
+ contact?: string[] | undefined;
65692
+ tags?: string[] | undefined;
65693
+ categories?: string[] | undefined;
65694
+ customFields?: {
65695
+ type: string;
65696
+ value: (string | string[]) & (string | string[] | undefined);
65697
+ attributeId: string;
65698
+ }[] | undefined;
65699
+ }>;
65700
+ responses: {
65701
+ 200: null;
65702
+ 401: import("zod").ZodObject<{
65703
+ message: import("zod").ZodString;
65704
+ error: import("zod").ZodAny;
65705
+ }, "strip", import("zod").ZodTypeAny, {
65706
+ message: string;
65707
+ error?: any;
65708
+ }, {
65709
+ message: string;
65710
+ error?: any;
65711
+ }>;
65712
+ };
65713
+ path: "ticket/export";
65714
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
65715
+ 'x-tenant': import("zod").ZodString;
65716
+ authorization: import("zod").ZodString;
65717
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
65718
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
65719
+ }, "strip", import("zod").ZodTypeAny, {
65720
+ 'x-tenant': string;
65721
+ authorization: string;
65722
+ 'x-client-timezone': string;
65723
+ 'x-code'?: string | undefined;
65724
+ }, {
65725
+ 'x-tenant': string;
65726
+ authorization: string;
65727
+ 'x-code'?: string | undefined;
65728
+ 'x-client-timezone'?: string | undefined;
65729
+ }>>>;
65730
+ };
65731
+ };
65732
+ };
65733
+ export declare const extensionContract: {
65734
+ extension: {
65735
+ createExtension: {
65736
+ body: import("zod").ZodObject<{
65737
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
65738
+ sipUserName: import("zod").ZodString;
65739
+ sipServerUrl: import("zod").ZodOptional<import("zod").ZodString>;
65740
+ webphoneLoginUser: import("zod").ZodString;
65741
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
65742
+ extensionName: import("zod").ZodNullable<import("zod").ZodString>;
65743
+ telephonySignature: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
65744
+ }, "strip", import("zod").ZodTypeAny, {
65745
+ userId: string | null;
65746
+ sipUserName: string;
65747
+ webphoneLoginUser: string;
65748
+ extensionId: string | null;
65749
+ extensionName: string | null;
65750
+ sipServerUrl?: string | undefined;
65751
+ telephonySignature?: string | null | undefined;
65752
+ }, {
65753
+ userId: string | null;
65754
+ sipUserName: string;
65755
+ webphoneLoginUser: string;
65756
+ extensionId: string | null;
65757
+ extensionName: string | null;
65758
+ sipServerUrl?: string | undefined;
65759
+ telephonySignature?: string | null | undefined;
65760
+ }>;
65761
+ summary: "Create a extension.";
65762
+ method: "POST";
65763
+ responses: {
65764
+ 201: import("zod").ZodObject<{
65765
+ requestId: import("zod").ZodString;
65766
+ extension: import("zod").ZodObject<{
65767
+ id: import("zod").ZodString;
65768
+ createdAt: import("zod").ZodDate;
65769
+ updatedAt: import("zod").ZodDate;
65770
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
65771
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
65772
+ sipServerUrl: import("zod").ZodString;
65773
+ sipUserName: import("zod").ZodString;
65774
+ webphoneLoginUser: import("zod").ZodString;
65775
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
65776
+ extensionName: import("zod").ZodString;
65777
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
65778
+ }, "strip", import("zod").ZodTypeAny, {
65779
+ id: string;
65780
+ createdAt: Date;
65781
+ updatedAt: Date;
65782
+ deletedAt: Date | null;
65783
+ userId: string | null;
65784
+ sipServerUrl: string;
65785
+ sipUserName: string;
65786
+ webphoneLoginUser: string;
65787
+ extensionId: string | null;
65788
+ extensionName: string;
65789
+ telephonySignature: string | null;
65790
+ }, {
65791
+ id: string;
65792
+ createdAt: Date;
65793
+ updatedAt: Date;
65794
+ deletedAt: Date | null;
65795
+ userId: string | null;
65796
+ sipServerUrl: string;
65797
+ sipUserName: string;
65798
+ webphoneLoginUser: string;
65799
+ extensionId: string | null;
65800
+ extensionName: string;
65801
+ telephonySignature: string | null;
65802
+ }>;
65803
+ }, "strip", import("zod").ZodTypeAny, {
65804
+ requestId: string;
65805
+ extension: {
65806
+ id: string;
65807
+ createdAt: Date;
65808
+ updatedAt: Date;
65809
+ deletedAt: Date | null;
65810
+ userId: string | null;
65811
+ sipServerUrl: string;
65812
+ sipUserName: string;
65813
+ webphoneLoginUser: string;
65814
+ extensionId: string | null;
65815
+ extensionName: string;
65816
+ telephonySignature: string | null;
65817
+ };
65818
+ }, {
65819
+ requestId: string;
65820
+ extension: {
65821
+ id: string;
65822
+ createdAt: Date;
65823
+ updatedAt: Date;
65824
+ deletedAt: Date | null;
65825
+ userId: string | null;
65826
+ sipServerUrl: string;
65827
+ sipUserName: string;
65828
+ webphoneLoginUser: string;
65829
+ extensionId: string | null;
65830
+ extensionName: string;
65831
+ telephonySignature: string | null;
65832
+ };
65833
+ }>;
65834
+ 400: import("zod").ZodObject<{
65835
+ message: import("zod").ZodString;
65836
+ }, "strip", import("zod").ZodTypeAny, {
65837
+ message: string;
65838
+ }, {
65839
+ message: string;
65840
+ }>;
65841
+ 401: import("zod").ZodObject<{
65842
+ message: import("zod").ZodString;
65843
+ error: import("zod").ZodAny;
65844
+ }, "strip", import("zod").ZodTypeAny, {
65845
+ message: string;
65846
+ error?: any;
65847
+ }, {
65848
+ message: string;
65849
+ error?: any;
65850
+ }>;
65851
+ 404: import("zod").ZodObject<{
65852
+ message: import("zod").ZodString;
65853
+ error: import("zod").ZodAny;
65854
+ }, "strip", import("zod").ZodTypeAny, {
65855
+ message: string;
65856
+ error?: any;
65857
+ }, {
65858
+ message: string;
65859
+ error?: any;
65860
+ }>;
65861
+ 422: import("zod").ZodObject<{
65862
+ message: import("zod").ZodString;
65863
+ error: import("zod").ZodAny;
65864
+ }, "strip", import("zod").ZodTypeAny, {
65865
+ message: string;
65866
+ error?: any;
65867
+ }, {
65868
+ message: string;
65869
+ error?: any;
65870
+ }>;
63959
65871
  500: import("zod").ZodObject<{
63960
65872
  message: import("zod").ZodString;
63961
65873
  error: import("zod").ZodAny;
@@ -64138,6 +66050,26 @@ export declare const extensionContract: {
64138
66050
  message: string;
64139
66051
  error?: any;
64140
66052
  }>;
66053
+ 404: import("zod").ZodObject<{
66054
+ message: import("zod").ZodString;
66055
+ error: import("zod").ZodAny;
66056
+ }, "strip", import("zod").ZodTypeAny, {
66057
+ message: string;
66058
+ error?: any;
66059
+ }, {
66060
+ message: string;
66061
+ error?: any;
66062
+ }>;
66063
+ 422: import("zod").ZodObject<{
66064
+ message: import("zod").ZodString;
66065
+ error: import("zod").ZodAny;
66066
+ }, "strip", import("zod").ZodTypeAny, {
66067
+ message: string;
66068
+ error?: any;
66069
+ }, {
66070
+ message: string;
66071
+ error?: any;
66072
+ }>;
64141
66073
  500: import("zod").ZodObject<{
64142
66074
  message: import("zod").ZodString;
64143
66075
  error: import("zod").ZodAny;
@@ -64232,6 +66164,26 @@ export declare const extensionContract: {
64232
66164
  message: string;
64233
66165
  error?: any;
64234
66166
  }>;
66167
+ 404: import("zod").ZodObject<{
66168
+ message: import("zod").ZodString;
66169
+ error: import("zod").ZodAny;
66170
+ }, "strip", import("zod").ZodTypeAny, {
66171
+ message: string;
66172
+ error?: any;
66173
+ }, {
66174
+ message: string;
66175
+ error?: any;
66176
+ }>;
66177
+ 422: import("zod").ZodObject<{
66178
+ message: import("zod").ZodString;
66179
+ error: import("zod").ZodAny;
66180
+ }, "strip", import("zod").ZodTypeAny, {
66181
+ message: string;
66182
+ error?: any;
66183
+ }, {
66184
+ message: string;
66185
+ error?: any;
66186
+ }>;
64235
66187
  500: import("zod").ZodObject<{
64236
66188
  message: import("zod").ZodString;
64237
66189
  error: import("zod").ZodAny;
@@ -64345,7 +66297,14 @@ export declare const extensionContract: {
64345
66297
  pageSize?: number | undefined;
64346
66298
  lastPage?: number | null | undefined;
64347
66299
  }>;
64348
- 500: import("zod").ZodObject<{
66300
+ 400: import("zod").ZodObject<{
66301
+ message: import("zod").ZodString;
66302
+ }, "strip", import("zod").ZodTypeAny, {
66303
+ message: string;
66304
+ }, {
66305
+ message: string;
66306
+ }>;
66307
+ 401: import("zod").ZodObject<{
64349
66308
  message: import("zod").ZodString;
64350
66309
  error: import("zod").ZodAny;
64351
66310
  }, "strip", import("zod").ZodTypeAny, {
@@ -64355,14 +66314,27 @@ export declare const extensionContract: {
64355
66314
  message: string;
64356
66315
  error?: any;
64357
66316
  }>;
64358
- 400: import("zod").ZodObject<{
66317
+ 404: import("zod").ZodObject<{
64359
66318
  message: import("zod").ZodString;
66319
+ error: import("zod").ZodAny;
64360
66320
  }, "strip", import("zod").ZodTypeAny, {
64361
66321
  message: string;
66322
+ error?: any;
64362
66323
  }, {
64363
66324
  message: string;
66325
+ error?: any;
64364
66326
  }>;
64365
- 401: import("zod").ZodObject<{
66327
+ 422: import("zod").ZodObject<{
66328
+ message: import("zod").ZodString;
66329
+ error: import("zod").ZodAny;
66330
+ }, "strip", import("zod").ZodTypeAny, {
66331
+ message: string;
66332
+ error?: any;
66333
+ }, {
66334
+ message: string;
66335
+ error?: any;
66336
+ }>;
66337
+ 500: import("zod").ZodObject<{
64366
66338
  message: import("zod").ZodString;
64367
66339
  error: import("zod").ZodAny;
64368
66340
  }, "strip", import("zod").ZodTypeAny, {
@@ -64497,6 +66469,43 @@ export declare const extensionContract: {
64497
66469
  telephonySignature: string | null;
64498
66470
  };
64499
66471
  }>;
66472
+ 400: import("zod").ZodObject<{
66473
+ message: import("zod").ZodString;
66474
+ }, "strip", import("zod").ZodTypeAny, {
66475
+ message: string;
66476
+ }, {
66477
+ message: string;
66478
+ }>;
66479
+ 401: import("zod").ZodObject<{
66480
+ message: import("zod").ZodString;
66481
+ error: import("zod").ZodAny;
66482
+ }, "strip", import("zod").ZodTypeAny, {
66483
+ message: string;
66484
+ error?: any;
66485
+ }, {
66486
+ message: string;
66487
+ error?: any;
66488
+ }>;
66489
+ 404: import("zod").ZodObject<{
66490
+ message: import("zod").ZodString;
66491
+ error: import("zod").ZodAny;
66492
+ }, "strip", import("zod").ZodTypeAny, {
66493
+ message: string;
66494
+ error?: any;
66495
+ }, {
66496
+ message: string;
66497
+ error?: any;
66498
+ }>;
66499
+ 422: import("zod").ZodObject<{
66500
+ message: import("zod").ZodString;
66501
+ error: import("zod").ZodAny;
66502
+ }, "strip", import("zod").ZodTypeAny, {
66503
+ message: string;
66504
+ error?: any;
66505
+ }, {
66506
+ message: string;
66507
+ error?: any;
66508
+ }>;
64500
66509
  500: import("zod").ZodObject<{
64501
66510
  message: import("zod").ZodString;
64502
66511
  error: import("zod").ZodAny;
@@ -64548,6 +66557,43 @@ export declare const extensionContract: {
64548
66557
  message: string;
64549
66558
  requestId: string;
64550
66559
  }>;
66560
+ 400: import("zod").ZodObject<{
66561
+ message: import("zod").ZodString;
66562
+ }, "strip", import("zod").ZodTypeAny, {
66563
+ message: string;
66564
+ }, {
66565
+ message: string;
66566
+ }>;
66567
+ 401: import("zod").ZodObject<{
66568
+ message: import("zod").ZodString;
66569
+ error: import("zod").ZodAny;
66570
+ }, "strip", import("zod").ZodTypeAny, {
66571
+ message: string;
66572
+ error?: any;
66573
+ }, {
66574
+ message: string;
66575
+ error?: any;
66576
+ }>;
66577
+ 404: import("zod").ZodObject<{
66578
+ message: import("zod").ZodString;
66579
+ error: import("zod").ZodAny;
66580
+ }, "strip", import("zod").ZodTypeAny, {
66581
+ message: string;
66582
+ error?: any;
66583
+ }, {
66584
+ message: string;
66585
+ error?: any;
66586
+ }>;
66587
+ 422: import("zod").ZodObject<{
66588
+ message: import("zod").ZodString;
66589
+ error: import("zod").ZodAny;
66590
+ }, "strip", import("zod").ZodTypeAny, {
66591
+ message: string;
66592
+ error?: any;
66593
+ }, {
66594
+ message: string;
66595
+ error?: any;
66596
+ }>;
64551
66597
  500: import("zod").ZodObject<{
64552
66598
  message: import("zod").ZodString;
64553
66599
  error: import("zod").ZodAny;