@kl1/contracts 1.2.14-uat → 1.2.15-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -24822,6 +24822,250 @@ export declare const apiContract: {
24822
24822
  'x-client-timezone'?: string | undefined;
24823
24823
  }>>>;
24824
24824
  };
24825
+ getFacebookBusinesses: {
24826
+ method: "GET";
24827
+ query: import("zod").ZodObject<{
24828
+ userId: import("zod").ZodString;
24829
+ userAccessToken: import("zod").ZodString;
24830
+ }, "strip", import("zod").ZodTypeAny, {
24831
+ userId: string;
24832
+ userAccessToken: string;
24833
+ }, {
24834
+ userId: string;
24835
+ userAccessToken: string;
24836
+ }>;
24837
+ responses: {
24838
+ 200: import("zod").ZodObject<{
24839
+ requestId: import("zod").ZodString;
24840
+ data: import("zod").ZodArray<import("zod").ZodObject<{
24841
+ id: import("zod").ZodString;
24842
+ name: import("zod").ZodString;
24843
+ }, "strip", import("zod").ZodTypeAny, {
24844
+ id: string;
24845
+ name: string;
24846
+ }, {
24847
+ id: string;
24848
+ name: string;
24849
+ }>, "many">;
24850
+ }, "strip", import("zod").ZodTypeAny, {
24851
+ data: {
24852
+ id: string;
24853
+ name: string;
24854
+ }[];
24855
+ requestId: string;
24856
+ }, {
24857
+ data: {
24858
+ id: string;
24859
+ name: string;
24860
+ }[];
24861
+ requestId: string;
24862
+ }>;
24863
+ 500: import("zod").ZodObject<{
24864
+ message: import("zod").ZodString;
24865
+ error: import("zod").ZodAny;
24866
+ }, "strip", import("zod").ZodTypeAny, {
24867
+ message: string;
24868
+ error?: any;
24869
+ }, {
24870
+ message: string;
24871
+ error?: any;
24872
+ }>;
24873
+ };
24874
+ path: "channel/messenger/facebook-businesses";
24875
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24876
+ 'x-tenant': import("zod").ZodString;
24877
+ authorization: import("zod").ZodString;
24878
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
24879
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
24880
+ }, "strip", import("zod").ZodTypeAny, {
24881
+ 'x-tenant': string;
24882
+ authorization: string;
24883
+ 'x-client-timezone': string;
24884
+ 'x-code'?: string | undefined;
24885
+ }, {
24886
+ 'x-tenant': string;
24887
+ authorization: string;
24888
+ 'x-code'?: string | undefined;
24889
+ 'x-client-timezone'?: string | undefined;
24890
+ }>>>;
24891
+ };
24892
+ getFacebookBusinessPages: {
24893
+ method: "GET";
24894
+ query: import("zod").ZodObject<{
24895
+ businessId: import("zod").ZodString;
24896
+ userAccessToken: import("zod").ZodString;
24897
+ }, "strip", import("zod").ZodTypeAny, {
24898
+ userAccessToken: string;
24899
+ businessId: string;
24900
+ }, {
24901
+ userAccessToken: string;
24902
+ businessId: string;
24903
+ }>;
24904
+ responses: {
24905
+ 200: import("zod").ZodObject<{
24906
+ requestId: import("zod").ZodString;
24907
+ data: import("zod").ZodObject<{
24908
+ id: import("zod").ZodString;
24909
+ name: import("zod").ZodString;
24910
+ owned_pages: import("zod").ZodObject<{
24911
+ data: import("zod").ZodArray<import("zod").ZodObject<{
24912
+ id: import("zod").ZodString;
24913
+ name: import("zod").ZodString;
24914
+ access_token: import("zod").ZodString;
24915
+ }, "strip", import("zod").ZodTypeAny, {
24916
+ id: string;
24917
+ name: string;
24918
+ access_token: string;
24919
+ }, {
24920
+ id: string;
24921
+ name: string;
24922
+ access_token: string;
24923
+ }>, "many">;
24924
+ }, "strip", import("zod").ZodTypeAny, {
24925
+ data: {
24926
+ id: string;
24927
+ name: string;
24928
+ access_token: string;
24929
+ }[];
24930
+ }, {
24931
+ data: {
24932
+ id: string;
24933
+ name: string;
24934
+ access_token: string;
24935
+ }[];
24936
+ }>;
24937
+ client_pages: import("zod").ZodObject<{
24938
+ data: import("zod").ZodArray<import("zod").ZodObject<{
24939
+ id: import("zod").ZodString;
24940
+ name: import("zod").ZodString;
24941
+ access_token: import("zod").ZodString;
24942
+ }, "strip", import("zod").ZodTypeAny, {
24943
+ id: string;
24944
+ name: string;
24945
+ access_token: string;
24946
+ }, {
24947
+ id: string;
24948
+ name: string;
24949
+ access_token: string;
24950
+ }>, "many">;
24951
+ }, "strip", import("zod").ZodTypeAny, {
24952
+ data: {
24953
+ id: string;
24954
+ name: string;
24955
+ access_token: string;
24956
+ }[];
24957
+ }, {
24958
+ data: {
24959
+ id: string;
24960
+ name: string;
24961
+ access_token: string;
24962
+ }[];
24963
+ }>;
24964
+ }, "strip", import("zod").ZodTypeAny, {
24965
+ id: string;
24966
+ name: string;
24967
+ owned_pages: {
24968
+ data: {
24969
+ id: string;
24970
+ name: string;
24971
+ access_token: string;
24972
+ }[];
24973
+ };
24974
+ client_pages: {
24975
+ data: {
24976
+ id: string;
24977
+ name: string;
24978
+ access_token: string;
24979
+ }[];
24980
+ };
24981
+ }, {
24982
+ id: string;
24983
+ name: string;
24984
+ owned_pages: {
24985
+ data: {
24986
+ id: string;
24987
+ name: string;
24988
+ access_token: string;
24989
+ }[];
24990
+ };
24991
+ client_pages: {
24992
+ data: {
24993
+ id: string;
24994
+ name: string;
24995
+ access_token: string;
24996
+ }[];
24997
+ };
24998
+ }>;
24999
+ }, "strip", import("zod").ZodTypeAny, {
25000
+ data: {
25001
+ id: string;
25002
+ name: string;
25003
+ owned_pages: {
25004
+ data: {
25005
+ id: string;
25006
+ name: string;
25007
+ access_token: string;
25008
+ }[];
25009
+ };
25010
+ client_pages: {
25011
+ data: {
25012
+ id: string;
25013
+ name: string;
25014
+ access_token: string;
25015
+ }[];
25016
+ };
25017
+ };
25018
+ requestId: string;
25019
+ }, {
25020
+ data: {
25021
+ id: string;
25022
+ name: string;
25023
+ owned_pages: {
25024
+ data: {
25025
+ id: string;
25026
+ name: string;
25027
+ access_token: string;
25028
+ }[];
25029
+ };
25030
+ client_pages: {
25031
+ data: {
25032
+ id: string;
25033
+ name: string;
25034
+ access_token: string;
25035
+ }[];
25036
+ };
25037
+ };
25038
+ requestId: string;
25039
+ }>;
25040
+ 500: import("zod").ZodObject<{
25041
+ message: import("zod").ZodString;
25042
+ error: import("zod").ZodAny;
25043
+ }, "strip", import("zod").ZodTypeAny, {
25044
+ message: string;
25045
+ error?: any;
25046
+ }, {
25047
+ message: string;
25048
+ error?: any;
25049
+ }>;
25050
+ };
25051
+ path: "channel/messenger/facebook-business-pages";
25052
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
25053
+ 'x-tenant': import("zod").ZodString;
25054
+ authorization: import("zod").ZodString;
25055
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
25056
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
25057
+ }, "strip", import("zod").ZodTypeAny, {
25058
+ 'x-tenant': string;
25059
+ authorization: string;
25060
+ 'x-client-timezone': string;
25061
+ 'x-code'?: string | undefined;
25062
+ }, {
25063
+ 'x-tenant': string;
25064
+ authorization: string;
25065
+ 'x-code'?: string | undefined;
25066
+ 'x-client-timezone'?: string | undefined;
25067
+ }>>>;
25068
+ };
24825
25069
  connect: {
24826
25070
  body: import("zod").ZodObject<{
24827
25071
  name: import("zod").ZodString;
@@ -161627,6 +161871,72 @@ export declare const platformMessengerContract: {
161627
161871
  };
161628
161872
  path: "/pages";
161629
161873
  };
161874
+ getFacebookBusinesses: {
161875
+ method: "GET";
161876
+ query: import("zod").ZodObject<{
161877
+ userId: import("zod").ZodString;
161878
+ userAccessToken: import("zod").ZodString;
161879
+ }, "strip", import("zod").ZodTypeAny, {
161880
+ userId: string;
161881
+ userAccessToken: string;
161882
+ }, {
161883
+ userId: string;
161884
+ userAccessToken: string;
161885
+ }>;
161886
+ responses: {
161887
+ 200: import("zod").ZodObject<{
161888
+ requestId: import("zod").ZodString;
161889
+ }, "strip", import("zod").ZodTypeAny, {
161890
+ requestId: string;
161891
+ }, {
161892
+ requestId: string;
161893
+ }>;
161894
+ 500: import("zod").ZodObject<{
161895
+ message: import("zod").ZodString;
161896
+ error: import("zod").ZodAny;
161897
+ }, "strip", import("zod").ZodTypeAny, {
161898
+ message: string;
161899
+ error?: any;
161900
+ }, {
161901
+ message: string;
161902
+ error?: any;
161903
+ }>;
161904
+ };
161905
+ path: "/facebook-businesses";
161906
+ };
161907
+ getFacebookBusinessPages: {
161908
+ method: "GET";
161909
+ query: import("zod").ZodObject<{
161910
+ businessId: import("zod").ZodString;
161911
+ userAccessToken: import("zod").ZodString;
161912
+ }, "strip", import("zod").ZodTypeAny, {
161913
+ userAccessToken: string;
161914
+ businessId: string;
161915
+ }, {
161916
+ userAccessToken: string;
161917
+ businessId: string;
161918
+ }>;
161919
+ responses: {
161920
+ 200: import("zod").ZodObject<{
161921
+ requestId: import("zod").ZodString;
161922
+ }, "strip", import("zod").ZodTypeAny, {
161923
+ requestId: string;
161924
+ }, {
161925
+ requestId: string;
161926
+ }>;
161927
+ 500: import("zod").ZodObject<{
161928
+ message: import("zod").ZodString;
161929
+ error: import("zod").ZodAny;
161930
+ }, "strip", import("zod").ZodTypeAny, {
161931
+ message: string;
161932
+ error?: any;
161933
+ }, {
161934
+ message: string;
161935
+ error?: any;
161936
+ }>;
161937
+ };
161938
+ path: "/facebook-business-pages";
161939
+ };
161630
161940
  setBotPersistentMenu: {
161631
161941
  body: import("zod").ZodObject<{
161632
161942
  pageAccessToken: import("zod").ZodString;
@@ -264281,6 +264591,250 @@ export declare const channelSettingContract: {
264281
264591
  'x-client-timezone'?: string | undefined;
264282
264592
  }>>>;
264283
264593
  };
264594
+ getFacebookBusinesses: {
264595
+ method: "GET";
264596
+ query: import("zod").ZodObject<{
264597
+ userId: import("zod").ZodString;
264598
+ userAccessToken: import("zod").ZodString;
264599
+ }, "strip", import("zod").ZodTypeAny, {
264600
+ userId: string;
264601
+ userAccessToken: string;
264602
+ }, {
264603
+ userId: string;
264604
+ userAccessToken: string;
264605
+ }>;
264606
+ responses: {
264607
+ 200: import("zod").ZodObject<{
264608
+ requestId: import("zod").ZodString;
264609
+ data: import("zod").ZodArray<import("zod").ZodObject<{
264610
+ id: import("zod").ZodString;
264611
+ name: import("zod").ZodString;
264612
+ }, "strip", import("zod").ZodTypeAny, {
264613
+ id: string;
264614
+ name: string;
264615
+ }, {
264616
+ id: string;
264617
+ name: string;
264618
+ }>, "many">;
264619
+ }, "strip", import("zod").ZodTypeAny, {
264620
+ data: {
264621
+ id: string;
264622
+ name: string;
264623
+ }[];
264624
+ requestId: string;
264625
+ }, {
264626
+ data: {
264627
+ id: string;
264628
+ name: string;
264629
+ }[];
264630
+ requestId: string;
264631
+ }>;
264632
+ 500: import("zod").ZodObject<{
264633
+ message: import("zod").ZodString;
264634
+ error: import("zod").ZodAny;
264635
+ }, "strip", import("zod").ZodTypeAny, {
264636
+ message: string;
264637
+ error?: any;
264638
+ }, {
264639
+ message: string;
264640
+ error?: any;
264641
+ }>;
264642
+ };
264643
+ path: "settings/channel/messenger/facebook-businesses";
264644
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
264645
+ 'x-tenant': import("zod").ZodString;
264646
+ authorization: import("zod").ZodString;
264647
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
264648
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
264649
+ }, "strip", import("zod").ZodTypeAny, {
264650
+ 'x-tenant': string;
264651
+ authorization: string;
264652
+ 'x-client-timezone': string;
264653
+ 'x-code'?: string | undefined;
264654
+ }, {
264655
+ 'x-tenant': string;
264656
+ authorization: string;
264657
+ 'x-code'?: string | undefined;
264658
+ 'x-client-timezone'?: string | undefined;
264659
+ }>>>;
264660
+ };
264661
+ getFacebookBusinessPages: {
264662
+ method: "GET";
264663
+ query: import("zod").ZodObject<{
264664
+ businessId: import("zod").ZodString;
264665
+ userAccessToken: import("zod").ZodString;
264666
+ }, "strip", import("zod").ZodTypeAny, {
264667
+ userAccessToken: string;
264668
+ businessId: string;
264669
+ }, {
264670
+ userAccessToken: string;
264671
+ businessId: string;
264672
+ }>;
264673
+ responses: {
264674
+ 200: import("zod").ZodObject<{
264675
+ requestId: import("zod").ZodString;
264676
+ data: import("zod").ZodObject<{
264677
+ id: import("zod").ZodString;
264678
+ name: import("zod").ZodString;
264679
+ owned_pages: import("zod").ZodObject<{
264680
+ data: import("zod").ZodArray<import("zod").ZodObject<{
264681
+ id: import("zod").ZodString;
264682
+ name: import("zod").ZodString;
264683
+ access_token: import("zod").ZodString;
264684
+ }, "strip", import("zod").ZodTypeAny, {
264685
+ id: string;
264686
+ name: string;
264687
+ access_token: string;
264688
+ }, {
264689
+ id: string;
264690
+ name: string;
264691
+ access_token: string;
264692
+ }>, "many">;
264693
+ }, "strip", import("zod").ZodTypeAny, {
264694
+ data: {
264695
+ id: string;
264696
+ name: string;
264697
+ access_token: string;
264698
+ }[];
264699
+ }, {
264700
+ data: {
264701
+ id: string;
264702
+ name: string;
264703
+ access_token: string;
264704
+ }[];
264705
+ }>;
264706
+ client_pages: import("zod").ZodObject<{
264707
+ data: import("zod").ZodArray<import("zod").ZodObject<{
264708
+ id: import("zod").ZodString;
264709
+ name: import("zod").ZodString;
264710
+ access_token: import("zod").ZodString;
264711
+ }, "strip", import("zod").ZodTypeAny, {
264712
+ id: string;
264713
+ name: string;
264714
+ access_token: string;
264715
+ }, {
264716
+ id: string;
264717
+ name: string;
264718
+ access_token: string;
264719
+ }>, "many">;
264720
+ }, "strip", import("zod").ZodTypeAny, {
264721
+ data: {
264722
+ id: string;
264723
+ name: string;
264724
+ access_token: string;
264725
+ }[];
264726
+ }, {
264727
+ data: {
264728
+ id: string;
264729
+ name: string;
264730
+ access_token: string;
264731
+ }[];
264732
+ }>;
264733
+ }, "strip", import("zod").ZodTypeAny, {
264734
+ id: string;
264735
+ name: string;
264736
+ owned_pages: {
264737
+ data: {
264738
+ id: string;
264739
+ name: string;
264740
+ access_token: string;
264741
+ }[];
264742
+ };
264743
+ client_pages: {
264744
+ data: {
264745
+ id: string;
264746
+ name: string;
264747
+ access_token: string;
264748
+ }[];
264749
+ };
264750
+ }, {
264751
+ id: string;
264752
+ name: string;
264753
+ owned_pages: {
264754
+ data: {
264755
+ id: string;
264756
+ name: string;
264757
+ access_token: string;
264758
+ }[];
264759
+ };
264760
+ client_pages: {
264761
+ data: {
264762
+ id: string;
264763
+ name: string;
264764
+ access_token: string;
264765
+ }[];
264766
+ };
264767
+ }>;
264768
+ }, "strip", import("zod").ZodTypeAny, {
264769
+ data: {
264770
+ id: string;
264771
+ name: string;
264772
+ owned_pages: {
264773
+ data: {
264774
+ id: string;
264775
+ name: string;
264776
+ access_token: string;
264777
+ }[];
264778
+ };
264779
+ client_pages: {
264780
+ data: {
264781
+ id: string;
264782
+ name: string;
264783
+ access_token: string;
264784
+ }[];
264785
+ };
264786
+ };
264787
+ requestId: string;
264788
+ }, {
264789
+ data: {
264790
+ id: string;
264791
+ name: string;
264792
+ owned_pages: {
264793
+ data: {
264794
+ id: string;
264795
+ name: string;
264796
+ access_token: string;
264797
+ }[];
264798
+ };
264799
+ client_pages: {
264800
+ data: {
264801
+ id: string;
264802
+ name: string;
264803
+ access_token: string;
264804
+ }[];
264805
+ };
264806
+ };
264807
+ requestId: string;
264808
+ }>;
264809
+ 500: import("zod").ZodObject<{
264810
+ message: import("zod").ZodString;
264811
+ error: import("zod").ZodAny;
264812
+ }, "strip", import("zod").ZodTypeAny, {
264813
+ message: string;
264814
+ error?: any;
264815
+ }, {
264816
+ message: string;
264817
+ error?: any;
264818
+ }>;
264819
+ };
264820
+ path: "settings/channel/messenger/facebook-business-pages";
264821
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
264822
+ 'x-tenant': import("zod").ZodString;
264823
+ authorization: import("zod").ZodString;
264824
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
264825
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
264826
+ }, "strip", import("zod").ZodTypeAny, {
264827
+ 'x-tenant': string;
264828
+ authorization: string;
264829
+ 'x-client-timezone': string;
264830
+ 'x-code'?: string | undefined;
264831
+ }, {
264832
+ 'x-tenant': string;
264833
+ authorization: string;
264834
+ 'x-code'?: string | undefined;
264835
+ 'x-client-timezone'?: string | undefined;
264836
+ }>>>;
264837
+ };
264284
264838
  connect: {
264285
264839
  body: import("zod").ZodObject<{
264286
264840
  name: import("zod").ZodString;