@replit/connectors 0.12.0 → 0.13.0

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.
@@ -9,6 +9,7 @@ export type ListEventsResponsesOffsetPagination = OffsetPagination<ListEventsRes
9
9
  export interface Connector {
10
10
  name: string;
11
11
  auth_type?: 'BASIC' | 'OAUTH1' | 'OAUTH2' | 'OAUTH2CC' | 'API_KEY' | 'CUSTOM';
12
+ connect_ui?: Connector.ConnectUi;
12
13
  display_name?: string;
13
14
  has_openint_credentials?: boolean;
14
15
  logo_url?: string;
@@ -22,6 +23,10 @@ export interface Connector {
22
23
  webhook_registration_input?: unknown;
23
24
  }
24
25
  export declare namespace Connector {
26
+ interface ConnectUi {
27
+ flow?: string;
28
+ pre_connect_input?: string;
29
+ }
25
30
  interface Schemas {
26
31
  connect_input?: unknown;
27
32
  connect_output?: unknown;
@@ -93,6 +98,7 @@ export declare namespace CreateConnectionResponse {
93
98
  connector?: TopLevelAPI.Connector;
94
99
  connector_config_id?: string | null;
95
100
  created_at?: string;
101
+ credentials_last_fetched?: string | null;
96
102
  customer_id?: string | null;
97
103
  disabled?: boolean | null;
98
104
  display_name?: string | null;
@@ -142,6 +148,7 @@ export declare namespace CreateConnectionResponse {
142
148
  connector?: TopLevelAPI.Connector;
143
149
  connector_config_id?: string | null;
144
150
  created_at?: string;
151
+ credentials_last_fetched?: string | null;
145
152
  customer_id?: string | null;
146
153
  disabled?: boolean | null;
147
154
  display_name?: string | null;
@@ -230,6 +237,7 @@ export declare namespace CreateConnectionResponse {
230
237
  connector?: TopLevelAPI.Connector;
231
238
  connector_config_id?: string | null;
232
239
  created_at?: string;
240
+ credentials_last_fetched?: string | null;
233
241
  customer_id?: string | null;
234
242
  disabled?: boolean | null;
235
243
  display_name?: string | null;
@@ -279,6 +287,7 @@ export declare namespace CreateConnectionResponse {
279
287
  connector?: TopLevelAPI.Connector;
280
288
  connector_config_id?: string | null;
281
289
  created_at?: string;
290
+ credentials_last_fetched?: string | null;
282
291
  customer_id?: string | null;
283
292
  disabled?: boolean | null;
284
293
  display_name?: string | null;
@@ -367,6 +376,7 @@ export declare namespace CreateConnectionResponse {
367
376
  connector?: TopLevelAPI.Connector;
368
377
  connector_config_id?: string | null;
369
378
  created_at?: string;
379
+ credentials_last_fetched?: string | null;
370
380
  customer_id?: string | null;
371
381
  disabled?: boolean | null;
372
382
  display_name?: string | null;
@@ -460,6 +470,7 @@ export declare namespace CreateConnectionResponse {
460
470
  connector?: TopLevelAPI.Connector;
461
471
  connector_config_id?: string | null;
462
472
  created_at?: string;
473
+ credentials_last_fetched?: string | null;
463
474
  customer_id?: string | null;
464
475
  disabled?: boolean | null;
465
476
  display_name?: string | null;
@@ -548,6 +559,7 @@ export declare namespace CreateConnectionResponse {
548
559
  connector?: TopLevelAPI.Connector;
549
560
  connector_config_id?: string | null;
550
561
  created_at?: string;
562
+ credentials_last_fetched?: string | null;
551
563
  customer_id?: string | null;
552
564
  disabled?: boolean | null;
553
565
  display_name?: string | null;
@@ -636,6 +648,7 @@ export declare namespace CreateConnectionResponse {
636
648
  connector?: TopLevelAPI.Connector;
637
649
  connector_config_id?: string | null;
638
650
  created_at?: string;
651
+ credentials_last_fetched?: string | null;
639
652
  customer_id?: string | null;
640
653
  disabled?: boolean | null;
641
654
  display_name?: string | null;
@@ -724,6 +737,7 @@ export declare namespace CreateConnectionResponse {
724
737
  connector?: TopLevelAPI.Connector;
725
738
  connector_config_id?: string | null;
726
739
  created_at?: string;
740
+ credentials_last_fetched?: string | null;
727
741
  customer_id?: string | null;
728
742
  disabled?: boolean | null;
729
743
  display_name?: string | null;
@@ -812,6 +826,7 @@ export declare namespace CreateConnectionResponse {
812
826
  connector?: TopLevelAPI.Connector;
813
827
  connector_config_id?: string | null;
814
828
  created_at?: string;
829
+ credentials_last_fetched?: string | null;
815
830
  customer_id?: string | null;
816
831
  disabled?: boolean | null;
817
832
  display_name?: string | null;
@@ -900,6 +915,7 @@ export declare namespace CreateConnectionResponse {
900
915
  connector?: TopLevelAPI.Connector;
901
916
  connector_config_id?: string | null;
902
917
  created_at?: string;
918
+ credentials_last_fetched?: string | null;
903
919
  customer_id?: string | null;
904
920
  disabled?: boolean | null;
905
921
  display_name?: string | null;
@@ -992,6 +1008,7 @@ export declare namespace CreateConnectionResponse {
992
1008
  connector?: TopLevelAPI.Connector;
993
1009
  connector_config_id?: string | null;
994
1010
  created_at?: string;
1011
+ credentials_last_fetched?: string | null;
995
1012
  customer_id?: string | null;
996
1013
  disabled?: boolean | null;
997
1014
  display_name?: string | null;
@@ -1091,6 +1108,7 @@ export declare namespace CreateConnectionResponse {
1091
1108
  connector?: TopLevelAPI.Connector;
1092
1109
  connector_config_id?: string | null;
1093
1110
  created_at?: string;
1111
+ credentials_last_fetched?: string | null;
1094
1112
  customer_id?: string | null;
1095
1113
  disabled?: boolean | null;
1096
1114
  display_name?: string | null;
@@ -1179,6 +1197,7 @@ export declare namespace CreateConnectionResponse {
1179
1197
  connector?: TopLevelAPI.Connector;
1180
1198
  connector_config_id?: string | null;
1181
1199
  created_at?: string;
1200
+ credentials_last_fetched?: string | null;
1182
1201
  customer_id?: string | null;
1183
1202
  disabled?: boolean | null;
1184
1203
  display_name?: string | null;
@@ -1267,6 +1286,7 @@ export declare namespace CreateConnectionResponse {
1267
1286
  connector?: TopLevelAPI.Connector;
1268
1287
  connector_config_id?: string | null;
1269
1288
  created_at?: string;
1289
+ credentials_last_fetched?: string | null;
1270
1290
  customer_id?: string | null;
1271
1291
  disabled?: boolean | null;
1272
1292
  display_name?: string | null;
@@ -1355,6 +1375,7 @@ export declare namespace CreateConnectionResponse {
1355
1375
  connector?: TopLevelAPI.Connector;
1356
1376
  connector_config_id?: string | null;
1357
1377
  created_at?: string;
1378
+ credentials_last_fetched?: string | null;
1358
1379
  customer_id?: string | null;
1359
1380
  disabled?: boolean | null;
1360
1381
  display_name?: string | null;
@@ -1443,6 +1464,7 @@ export declare namespace CreateConnectionResponse {
1443
1464
  connector?: TopLevelAPI.Connector;
1444
1465
  connector_config_id?: string | null;
1445
1466
  created_at?: string;
1467
+ credentials_last_fetched?: string | null;
1446
1468
  customer_id?: string | null;
1447
1469
  disabled?: boolean | null;
1448
1470
  display_name?: string | null;
@@ -1531,6 +1553,7 @@ export declare namespace CreateConnectionResponse {
1531
1553
  connector?: TopLevelAPI.Connector;
1532
1554
  connector_config_id?: string | null;
1533
1555
  created_at?: string;
1556
+ credentials_last_fetched?: string | null;
1534
1557
  customer_id?: string | null;
1535
1558
  disabled?: boolean | null;
1536
1559
  display_name?: string | null;
@@ -1619,6 +1642,7 @@ export declare namespace CreateConnectionResponse {
1619
1642
  connector?: TopLevelAPI.Connector;
1620
1643
  connector_config_id?: string | null;
1621
1644
  created_at?: string;
1645
+ credentials_last_fetched?: string | null;
1622
1646
  customer_id?: string | null;
1623
1647
  disabled?: boolean | null;
1624
1648
  display_name?: string | null;
@@ -1707,6 +1731,7 @@ export declare namespace CreateConnectionResponse {
1707
1731
  connector?: TopLevelAPI.Connector;
1708
1732
  connector_config_id?: string | null;
1709
1733
  created_at?: string;
1734
+ credentials_last_fetched?: string | null;
1710
1735
  customer_id?: string | null;
1711
1736
  disabled?: boolean | null;
1712
1737
  display_name?: string | null;
@@ -1795,6 +1820,7 @@ export declare namespace CreateConnectionResponse {
1795
1820
  connector?: TopLevelAPI.Connector;
1796
1821
  connector_config_id?: string | null;
1797
1822
  created_at?: string;
1823
+ credentials_last_fetched?: string | null;
1798
1824
  customer_id?: string | null;
1799
1825
  disabled?: boolean | null;
1800
1826
  display_name?: string | null;
@@ -1883,6 +1909,7 @@ export declare namespace CreateConnectionResponse {
1883
1909
  connector?: TopLevelAPI.Connector;
1884
1910
  connector_config_id?: string | null;
1885
1911
  created_at?: string;
1912
+ credentials_last_fetched?: string | null;
1886
1913
  customer_id?: string | null;
1887
1914
  disabled?: boolean | null;
1888
1915
  display_name?: string | null;
@@ -1971,6 +1998,7 @@ export declare namespace CreateConnectionResponse {
1971
1998
  connector?: TopLevelAPI.Connector;
1972
1999
  connector_config_id?: string | null;
1973
2000
  created_at?: string;
2001
+ credentials_last_fetched?: string | null;
1974
2002
  customer_id?: string | null;
1975
2003
  disabled?: boolean | null;
1976
2004
  display_name?: string | null;
@@ -2059,6 +2087,7 @@ export declare namespace CreateConnectionResponse {
2059
2087
  connector?: TopLevelAPI.Connector;
2060
2088
  connector_config_id?: string | null;
2061
2089
  created_at?: string;
2090
+ credentials_last_fetched?: string | null;
2062
2091
  customer_id?: string | null;
2063
2092
  disabled?: boolean | null;
2064
2093
  display_name?: string | null;
@@ -2147,6 +2176,7 @@ export declare namespace CreateConnectionResponse {
2147
2176
  connector?: TopLevelAPI.Connector;
2148
2177
  connector_config_id?: string | null;
2149
2178
  created_at?: string;
2179
+ credentials_last_fetched?: string | null;
2150
2180
  customer_id?: string | null;
2151
2181
  disabled?: boolean | null;
2152
2182
  display_name?: string | null;
@@ -2193,6 +2223,14 @@ export declare namespace CreateConnectionResponse {
2193
2223
  * for backward compatibility until we remove the oauth field
2194
2224
  */
2195
2225
  access_token?: string;
2226
+ /**
2227
+ * Your HubSpot App ID (automatically fetched from access token)
2228
+ */
2229
+ app_id?: number;
2230
+ /**
2231
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
2232
+ */
2233
+ hub_id?: number;
2196
2234
  }
2197
2235
  namespace Settings {
2198
2236
  interface OAuth {
@@ -2235,6 +2273,7 @@ export declare namespace CreateConnectionResponse {
2235
2273
  connector?: TopLevelAPI.Connector;
2236
2274
  connector_config_id?: string | null;
2237
2275
  created_at?: string;
2276
+ credentials_last_fetched?: string | null;
2238
2277
  customer_id?: string | null;
2239
2278
  disabled?: boolean | null;
2240
2279
  display_name?: string | null;
@@ -2323,6 +2362,7 @@ export declare namespace CreateConnectionResponse {
2323
2362
  connector?: TopLevelAPI.Connector;
2324
2363
  connector_config_id?: string | null;
2325
2364
  created_at?: string;
2365
+ credentials_last_fetched?: string | null;
2326
2366
  customer_id?: string | null;
2327
2367
  disabled?: boolean | null;
2328
2368
  display_name?: string | null;
@@ -2415,6 +2455,7 @@ export declare namespace CreateConnectionResponse {
2415
2455
  connector?: TopLevelAPI.Connector;
2416
2456
  connector_config_id?: string | null;
2417
2457
  created_at?: string;
2458
+ credentials_last_fetched?: string | null;
2418
2459
  customer_id?: string | null;
2419
2460
  disabled?: boolean | null;
2420
2461
  display_name?: string | null;
@@ -2503,6 +2544,7 @@ export declare namespace CreateConnectionResponse {
2503
2544
  connector?: TopLevelAPI.Connector;
2504
2545
  connector_config_id?: string | null;
2505
2546
  created_at?: string;
2547
+ credentials_last_fetched?: string | null;
2506
2548
  customer_id?: string | null;
2507
2549
  disabled?: boolean | null;
2508
2550
  display_name?: string | null;
@@ -2591,6 +2633,7 @@ export declare namespace CreateConnectionResponse {
2591
2633
  connector?: TopLevelAPI.Connector;
2592
2634
  connector_config_id?: string | null;
2593
2635
  created_at?: string;
2636
+ credentials_last_fetched?: string | null;
2594
2637
  customer_id?: string | null;
2595
2638
  disabled?: boolean | null;
2596
2639
  display_name?: string | null;
@@ -2679,6 +2722,7 @@ export declare namespace CreateConnectionResponse {
2679
2722
  connector?: TopLevelAPI.Connector;
2680
2723
  connector_config_id?: string | null;
2681
2724
  created_at?: string;
2725
+ credentials_last_fetched?: string | null;
2682
2726
  customer_id?: string | null;
2683
2727
  disabled?: boolean | null;
2684
2728
  display_name?: string | null;
@@ -2767,6 +2811,7 @@ export declare namespace CreateConnectionResponse {
2767
2811
  connector?: TopLevelAPI.Connector;
2768
2812
  connector_config_id?: string | null;
2769
2813
  created_at?: string;
2814
+ credentials_last_fetched?: string | null;
2770
2815
  customer_id?: string | null;
2771
2816
  disabled?: boolean | null;
2772
2817
  display_name?: string | null;
@@ -2855,6 +2900,7 @@ export declare namespace CreateConnectionResponse {
2855
2900
  connector?: TopLevelAPI.Connector;
2856
2901
  connector_config_id?: string | null;
2857
2902
  created_at?: string;
2903
+ credentials_last_fetched?: string | null;
2858
2904
  customer_id?: string | null;
2859
2905
  disabled?: boolean | null;
2860
2906
  display_name?: string | null;
@@ -2947,6 +2993,7 @@ export declare namespace CreateConnectionResponse {
2947
2993
  connector?: TopLevelAPI.Connector;
2948
2994
  connector_config_id?: string | null;
2949
2995
  created_at?: string;
2996
+ credentials_last_fetched?: string | null;
2950
2997
  customer_id?: string | null;
2951
2998
  disabled?: boolean | null;
2952
2999
  display_name?: string | null;
@@ -3035,6 +3082,7 @@ export declare namespace CreateConnectionResponse {
3035
3082
  connector?: TopLevelAPI.Connector;
3036
3083
  connector_config_id?: string | null;
3037
3084
  created_at?: string;
3085
+ credentials_last_fetched?: string | null;
3038
3086
  customer_id?: string | null;
3039
3087
  disabled?: boolean | null;
3040
3088
  display_name?: string | null;
@@ -3123,6 +3171,7 @@ export declare namespace CreateConnectionResponse {
3123
3171
  connector?: TopLevelAPI.Connector;
3124
3172
  connector_config_id?: string | null;
3125
3173
  created_at?: string;
3174
+ credentials_last_fetched?: string | null;
3126
3175
  customer_id?: string | null;
3127
3176
  disabled?: boolean | null;
3128
3177
  display_name?: string | null;
@@ -3211,6 +3260,7 @@ export declare namespace CreateConnectionResponse {
3211
3260
  connector?: TopLevelAPI.Connector;
3212
3261
  connector_config_id?: string | null;
3213
3262
  created_at?: string;
3263
+ credentials_last_fetched?: string | null;
3214
3264
  customer_id?: string | null;
3215
3265
  disabled?: boolean | null;
3216
3266
  display_name?: string | null;
@@ -3304,6 +3354,7 @@ export declare namespace CreateConnectionResponse {
3304
3354
  connector?: TopLevelAPI.Connector;
3305
3355
  connector_config_id?: string | null;
3306
3356
  created_at?: string;
3357
+ credentials_last_fetched?: string | null;
3307
3358
  customer_id?: string | null;
3308
3359
  disabled?: boolean | null;
3309
3360
  display_name?: string | null;
@@ -3392,6 +3443,7 @@ export declare namespace CreateConnectionResponse {
3392
3443
  connector?: TopLevelAPI.Connector;
3393
3444
  connector_config_id?: string | null;
3394
3445
  created_at?: string;
3446
+ credentials_last_fetched?: string | null;
3395
3447
  customer_id?: string | null;
3396
3448
  disabled?: boolean | null;
3397
3449
  display_name?: string | null;
@@ -3480,6 +3532,7 @@ export declare namespace CreateConnectionResponse {
3480
3532
  connector?: TopLevelAPI.Connector;
3481
3533
  connector_config_id?: string | null;
3482
3534
  created_at?: string;
3535
+ credentials_last_fetched?: string | null;
3483
3536
  customer_id?: string | null;
3484
3537
  disabled?: boolean | null;
3485
3538
  display_name?: string | null;
@@ -3568,6 +3621,7 @@ export declare namespace CreateConnectionResponse {
3568
3621
  connector?: TopLevelAPI.Connector;
3569
3622
  connector_config_id?: string | null;
3570
3623
  created_at?: string;
3624
+ credentials_last_fetched?: string | null;
3571
3625
  customer_id?: string | null;
3572
3626
  disabled?: boolean | null;
3573
3627
  display_name?: string | null;
@@ -3660,6 +3714,7 @@ export declare namespace CreateConnectionResponse {
3660
3714
  connector?: TopLevelAPI.Connector;
3661
3715
  connector_config_id?: string | null;
3662
3716
  created_at?: string;
3717
+ credentials_last_fetched?: string | null;
3663
3718
  customer_id?: string | null;
3664
3719
  disabled?: boolean | null;
3665
3720
  display_name?: string | null;
@@ -3748,6 +3803,7 @@ export declare namespace CreateConnectionResponse {
3748
3803
  connector?: TopLevelAPI.Connector;
3749
3804
  connector_config_id?: string | null;
3750
3805
  created_at?: string;
3806
+ credentials_last_fetched?: string | null;
3751
3807
  customer_id?: string | null;
3752
3808
  disabled?: boolean | null;
3753
3809
  display_name?: string | null;
@@ -3797,6 +3853,7 @@ export declare namespace CreateConnectionResponse {
3797
3853
  connector?: TopLevelAPI.Connector;
3798
3854
  connector_config_id?: string | null;
3799
3855
  created_at?: string;
3856
+ credentials_last_fetched?: string | null;
3800
3857
  customer_id?: string | null;
3801
3858
  disabled?: boolean | null;
3802
3859
  display_name?: string | null;
@@ -3812,7 +3869,7 @@ export declare namespace CreateConnectionResponse {
3812
3869
  metadata?: {
3813
3870
  [key: string]: unknown;
3814
3871
  } | null;
3815
- public_settings?: unknown;
3872
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
3816
3873
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
3817
3874
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3818
3875
  status_message?: string | null;
@@ -3836,6 +3893,12 @@ export declare namespace CreateConnectionResponse {
3836
3893
  error?: string;
3837
3894
  }
3838
3895
  }
3896
+ interface PublicSettings {
3897
+ /**
3898
+ * MCP transport type detected during connection
3899
+ */
3900
+ transport_type?: 'streamable-http' | 'sse';
3901
+ }
3839
3902
  interface Settings {
3840
3903
  /**
3841
3904
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -3844,7 +3907,11 @@ export declare namespace CreateConnectionResponse {
3844
3907
  /**
3845
3908
  * Custom headers to include with every request
3846
3909
  */
3847
- headers: Array<Settings.Header>;
3910
+ headers?: Array<Settings.Header>;
3911
+ /**
3912
+ * OAuth authentication credentials
3913
+ */
3914
+ oauth?: Settings.OAuth;
3848
3915
  }
3849
3916
  namespace Settings {
3850
3917
  interface Header {
@@ -3857,6 +3924,50 @@ export declare namespace CreateConnectionResponse {
3857
3924
  */
3858
3925
  value: string;
3859
3926
  }
3927
+ /**
3928
+ * OAuth authentication credentials
3929
+ */
3930
+ interface OAuth {
3931
+ client: OAuth.Client;
3932
+ credentials: OAuth.Credentials;
3933
+ metadata: OAuth.Metadata;
3934
+ }
3935
+ namespace OAuth {
3936
+ interface Client {
3937
+ client_id: string;
3938
+ redirect_uris: Array<string>;
3939
+ client_secret?: string;
3940
+ }
3941
+ interface Credentials {
3942
+ access_token: string;
3943
+ token_type: string;
3944
+ expires_at?: string;
3945
+ expires_in?: number;
3946
+ refresh_token?: string;
3947
+ scope?: string;
3948
+ }
3949
+ interface Metadata {
3950
+ authorization_endpoint: string;
3951
+ issuer: string;
3952
+ response_types_supported: Array<string>;
3953
+ token_endpoint: string;
3954
+ code_challenge_methods_supported?: Array<string>;
3955
+ grant_types_supported?: Array<string>;
3956
+ introspection_endpoint?: string;
3957
+ introspection_endpoint_auth_methods_supported?: Array<string>;
3958
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
3959
+ registration_endpoint?: string;
3960
+ response_modes_supported?: Array<string>;
3961
+ revocation_endpoint?: string;
3962
+ revocation_endpoint_auth_methods_supported?: Array<string>;
3963
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
3964
+ scopes_supported?: Array<string>;
3965
+ service_documentation?: string;
3966
+ token_endpoint_auth_methods_supported?: Array<string>;
3967
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
3968
+ [k: string]: unknown;
3969
+ }
3970
+ }
3860
3971
  }
3861
3972
  }
3862
3973
  interface ConnectorDatabricksM2mDiscriminatedConnectionData {
@@ -3865,6 +3976,7 @@ export declare namespace CreateConnectionResponse {
3865
3976
  connector?: TopLevelAPI.Connector;
3866
3977
  connector_config_id?: string | null;
3867
3978
  created_at?: string;
3979
+ credentials_last_fetched?: string | null;
3868
3980
  customer_id?: string | null;
3869
3981
  disabled?: boolean | null;
3870
3982
  display_name?: string | null;
@@ -3920,6 +4032,26 @@ export declare namespace CreateConnectionResponse {
3920
4032
  * Server hostname value.
3921
4033
  */
3922
4034
  server_hostname: string;
4035
+ oauth?: Settings.OAuth;
4036
+ }
4037
+ namespace Settings {
4038
+ interface OAuth {
4039
+ credentials?: OAuth.Credentials;
4040
+ }
4041
+ namespace OAuth {
4042
+ interface Credentials {
4043
+ access_token: string;
4044
+ client_id: string;
4045
+ expires_at?: string;
4046
+ expires_in?: number;
4047
+ raw?: {
4048
+ [key: string]: unknown;
4049
+ };
4050
+ refresh_token?: string;
4051
+ scope?: string;
4052
+ token_type?: string;
4053
+ }
4054
+ }
3923
4055
  }
3924
4056
  }
3925
4057
  interface ConnectorPlaidDiscriminatedConnectionData {
@@ -3928,6 +4060,7 @@ export declare namespace CreateConnectionResponse {
3928
4060
  connector?: TopLevelAPI.Connector;
3929
4061
  connector_config_id?: string | null;
3930
4062
  created_at?: string;
4063
+ credentials_last_fetched?: string | null;
3931
4064
  customer_id?: string | null;
3932
4065
  disabled?: boolean | null;
3933
4066
  display_name?: string | null;
@@ -3982,6 +4115,7 @@ export declare namespace CreateConnectionResponse {
3982
4115
  connector?: TopLevelAPI.Connector;
3983
4116
  connector_config_id?: string | null;
3984
4117
  created_at?: string;
4118
+ credentials_last_fetched?: string | null;
3985
4119
  customer_id?: string | null;
3986
4120
  disabled?: boolean | null;
3987
4121
  display_name?: string | null;
@@ -4031,6 +4165,7 @@ export declare namespace CreateConnectionResponse {
4031
4165
  connector?: TopLevelAPI.Connector;
4032
4166
  connector_config_id?: string | null;
4033
4167
  created_at?: string;
4168
+ credentials_last_fetched?: string | null;
4034
4169
  customer_id?: string | null;
4035
4170
  disabled?: boolean | null;
4036
4171
  display_name?: string | null;
@@ -4084,6 +4219,7 @@ export declare namespace CreateConnectionResponse {
4084
4219
  connector?: TopLevelAPI.Connector;
4085
4220
  connector_config_id?: string | null;
4086
4221
  created_at?: string;
4222
+ credentials_last_fetched?: string | null;
4087
4223
  customer_id?: string | null;
4088
4224
  disabled?: boolean | null;
4089
4225
  display_name?: string | null;
@@ -4137,6 +4273,7 @@ export declare namespace CreateConnectionResponse {
4137
4273
  connector?: TopLevelAPI.Connector;
4138
4274
  connector_config_id?: string | null;
4139
4275
  created_at?: string;
4276
+ credentials_last_fetched?: string | null;
4140
4277
  customer_id?: string | null;
4141
4278
  disabled?: boolean | null;
4142
4279
  display_name?: string | null;
@@ -4189,6 +4326,7 @@ export declare namespace CreateConnectionResponse {
4189
4326
  connector?: TopLevelAPI.Connector;
4190
4327
  connector_config_id?: string | null;
4191
4328
  created_at?: string;
4329
+ credentials_last_fetched?: string | null;
4192
4330
  customer_id?: string | null;
4193
4331
  disabled?: boolean | null;
4194
4332
  display_name?: string | null;
@@ -4352,6 +4490,7 @@ export declare namespace CreateConnectionResponse {
4352
4490
  connector?: TopLevelAPI.Connector;
4353
4491
  connector_config_id?: string | null;
4354
4492
  created_at?: string;
4493
+ credentials_last_fetched?: string | null;
4355
4494
  customer_id?: string | null;
4356
4495
  disabled?: boolean | null;
4357
4496
  display_name?: string | null;
@@ -4450,6 +4589,7 @@ export declare namespace CreateConnectionResponse {
4450
4589
  connector?: TopLevelAPI.Connector;
4451
4590
  connector_config_id?: string | null;
4452
4591
  created_at?: string;
4592
+ credentials_last_fetched?: string | null;
4453
4593
  customer_id?: string | null;
4454
4594
  disabled?: boolean | null;
4455
4595
  display_name?: string | null;
@@ -4538,6 +4678,7 @@ export declare namespace CreateConnectionResponse {
4538
4678
  connector?: TopLevelAPI.Connector;
4539
4679
  connector_config_id?: string | null;
4540
4680
  created_at?: string;
4681
+ credentials_last_fetched?: string | null;
4541
4682
  customer_id?: string | null;
4542
4683
  disabled?: boolean | null;
4543
4684
  display_name?: string | null;
@@ -4593,6 +4734,7 @@ export declare namespace CreateConnectionResponse {
4593
4734
  connector?: TopLevelAPI.Connector;
4594
4735
  connector_config_id?: string | null;
4595
4736
  created_at?: string;
4737
+ credentials_last_fetched?: string | null;
4596
4738
  customer_id?: string | null;
4597
4739
  disabled?: boolean | null;
4598
4740
  display_name?: string | null;
@@ -6339,14 +6481,19 @@ export declare namespace CreateConnnectorConfigResponse {
6339
6481
  }
6340
6482
  namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
6341
6483
  interface Config {
6342
- /**
6343
- * OAuth2 client ID for Databricks
6344
- */
6345
- client_id: string;
6346
- /**
6347
- * OAuth2 client secret for Databricks
6348
- */
6349
- client_secret: string;
6484
+ oauth: Config.OAuth;
6485
+ }
6486
+ namespace Config {
6487
+ interface OAuth {
6488
+ /**
6489
+ * OAuth2 client ID for Databricks
6490
+ */
6491
+ client_id: string;
6492
+ /**
6493
+ * OAuth2 client secret for Databricks
6494
+ */
6495
+ client_secret: string;
6496
+ }
6350
6497
  }
6351
6498
  }
6352
6499
  interface ConnectorPlaidDiscriminatedConnectorConfig {
@@ -8588,14 +8735,19 @@ export declare namespace GetConectorConfigResponse {
8588
8735
  }
8589
8736
  namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8590
8737
  interface Config {
8591
- /**
8592
- * OAuth2 client ID for Databricks
8593
- */
8594
- client_id: string;
8595
- /**
8596
- * OAuth2 client secret for Databricks
8597
- */
8598
- client_secret: string;
8738
+ oauth: Config.OAuth;
8739
+ }
8740
+ namespace Config {
8741
+ interface OAuth {
8742
+ /**
8743
+ * OAuth2 client ID for Databricks
8744
+ */
8745
+ client_id: string;
8746
+ /**
8747
+ * OAuth2 client secret for Databricks
8748
+ */
8749
+ client_secret: string;
8750
+ }
8599
8751
  }
8600
8752
  }
8601
8753
  interface ConnectorPlaidDiscriminatedConnectorConfig {
@@ -8935,6 +9087,7 @@ export declare namespace GetConnectionResponse {
8935
9087
  connector?: TopLevelAPI.Connector;
8936
9088
  connector_config_id?: string | null;
8937
9089
  created_at?: string;
9090
+ credentials_last_fetched?: string | null;
8938
9091
  customer_id?: string | null;
8939
9092
  disabled?: boolean | null;
8940
9093
  display_name?: string | null;
@@ -8984,6 +9137,7 @@ export declare namespace GetConnectionResponse {
8984
9137
  connector?: TopLevelAPI.Connector;
8985
9138
  connector_config_id?: string | null;
8986
9139
  created_at?: string;
9140
+ credentials_last_fetched?: string | null;
8987
9141
  customer_id?: string | null;
8988
9142
  disabled?: boolean | null;
8989
9143
  display_name?: string | null;
@@ -9072,6 +9226,7 @@ export declare namespace GetConnectionResponse {
9072
9226
  connector?: TopLevelAPI.Connector;
9073
9227
  connector_config_id?: string | null;
9074
9228
  created_at?: string;
9229
+ credentials_last_fetched?: string | null;
9075
9230
  customer_id?: string | null;
9076
9231
  disabled?: boolean | null;
9077
9232
  display_name?: string | null;
@@ -9121,6 +9276,7 @@ export declare namespace GetConnectionResponse {
9121
9276
  connector?: TopLevelAPI.Connector;
9122
9277
  connector_config_id?: string | null;
9123
9278
  created_at?: string;
9279
+ credentials_last_fetched?: string | null;
9124
9280
  customer_id?: string | null;
9125
9281
  disabled?: boolean | null;
9126
9282
  display_name?: string | null;
@@ -9209,6 +9365,7 @@ export declare namespace GetConnectionResponse {
9209
9365
  connector?: TopLevelAPI.Connector;
9210
9366
  connector_config_id?: string | null;
9211
9367
  created_at?: string;
9368
+ credentials_last_fetched?: string | null;
9212
9369
  customer_id?: string | null;
9213
9370
  disabled?: boolean | null;
9214
9371
  display_name?: string | null;
@@ -9302,6 +9459,7 @@ export declare namespace GetConnectionResponse {
9302
9459
  connector?: TopLevelAPI.Connector;
9303
9460
  connector_config_id?: string | null;
9304
9461
  created_at?: string;
9462
+ credentials_last_fetched?: string | null;
9305
9463
  customer_id?: string | null;
9306
9464
  disabled?: boolean | null;
9307
9465
  display_name?: string | null;
@@ -9390,6 +9548,7 @@ export declare namespace GetConnectionResponse {
9390
9548
  connector?: TopLevelAPI.Connector;
9391
9549
  connector_config_id?: string | null;
9392
9550
  created_at?: string;
9551
+ credentials_last_fetched?: string | null;
9393
9552
  customer_id?: string | null;
9394
9553
  disabled?: boolean | null;
9395
9554
  display_name?: string | null;
@@ -9478,6 +9637,7 @@ export declare namespace GetConnectionResponse {
9478
9637
  connector?: TopLevelAPI.Connector;
9479
9638
  connector_config_id?: string | null;
9480
9639
  created_at?: string;
9640
+ credentials_last_fetched?: string | null;
9481
9641
  customer_id?: string | null;
9482
9642
  disabled?: boolean | null;
9483
9643
  display_name?: string | null;
@@ -9566,6 +9726,7 @@ export declare namespace GetConnectionResponse {
9566
9726
  connector?: TopLevelAPI.Connector;
9567
9727
  connector_config_id?: string | null;
9568
9728
  created_at?: string;
9729
+ credentials_last_fetched?: string | null;
9569
9730
  customer_id?: string | null;
9570
9731
  disabled?: boolean | null;
9571
9732
  display_name?: string | null;
@@ -9654,6 +9815,7 @@ export declare namespace GetConnectionResponse {
9654
9815
  connector?: TopLevelAPI.Connector;
9655
9816
  connector_config_id?: string | null;
9656
9817
  created_at?: string;
9818
+ credentials_last_fetched?: string | null;
9657
9819
  customer_id?: string | null;
9658
9820
  disabled?: boolean | null;
9659
9821
  display_name?: string | null;
@@ -9742,6 +9904,7 @@ export declare namespace GetConnectionResponse {
9742
9904
  connector?: TopLevelAPI.Connector;
9743
9905
  connector_config_id?: string | null;
9744
9906
  created_at?: string;
9907
+ credentials_last_fetched?: string | null;
9745
9908
  customer_id?: string | null;
9746
9909
  disabled?: boolean | null;
9747
9910
  display_name?: string | null;
@@ -9834,6 +9997,7 @@ export declare namespace GetConnectionResponse {
9834
9997
  connector?: TopLevelAPI.Connector;
9835
9998
  connector_config_id?: string | null;
9836
9999
  created_at?: string;
10000
+ credentials_last_fetched?: string | null;
9837
10001
  customer_id?: string | null;
9838
10002
  disabled?: boolean | null;
9839
10003
  display_name?: string | null;
@@ -9933,6 +10097,7 @@ export declare namespace GetConnectionResponse {
9933
10097
  connector?: TopLevelAPI.Connector;
9934
10098
  connector_config_id?: string | null;
9935
10099
  created_at?: string;
10100
+ credentials_last_fetched?: string | null;
9936
10101
  customer_id?: string | null;
9937
10102
  disabled?: boolean | null;
9938
10103
  display_name?: string | null;
@@ -10021,6 +10186,7 @@ export declare namespace GetConnectionResponse {
10021
10186
  connector?: TopLevelAPI.Connector;
10022
10187
  connector_config_id?: string | null;
10023
10188
  created_at?: string;
10189
+ credentials_last_fetched?: string | null;
10024
10190
  customer_id?: string | null;
10025
10191
  disabled?: boolean | null;
10026
10192
  display_name?: string | null;
@@ -10109,6 +10275,7 @@ export declare namespace GetConnectionResponse {
10109
10275
  connector?: TopLevelAPI.Connector;
10110
10276
  connector_config_id?: string | null;
10111
10277
  created_at?: string;
10278
+ credentials_last_fetched?: string | null;
10112
10279
  customer_id?: string | null;
10113
10280
  disabled?: boolean | null;
10114
10281
  display_name?: string | null;
@@ -10197,6 +10364,7 @@ export declare namespace GetConnectionResponse {
10197
10364
  connector?: TopLevelAPI.Connector;
10198
10365
  connector_config_id?: string | null;
10199
10366
  created_at?: string;
10367
+ credentials_last_fetched?: string | null;
10200
10368
  customer_id?: string | null;
10201
10369
  disabled?: boolean | null;
10202
10370
  display_name?: string | null;
@@ -10285,6 +10453,7 @@ export declare namespace GetConnectionResponse {
10285
10453
  connector?: TopLevelAPI.Connector;
10286
10454
  connector_config_id?: string | null;
10287
10455
  created_at?: string;
10456
+ credentials_last_fetched?: string | null;
10288
10457
  customer_id?: string | null;
10289
10458
  disabled?: boolean | null;
10290
10459
  display_name?: string | null;
@@ -10373,6 +10542,7 @@ export declare namespace GetConnectionResponse {
10373
10542
  connector?: TopLevelAPI.Connector;
10374
10543
  connector_config_id?: string | null;
10375
10544
  created_at?: string;
10545
+ credentials_last_fetched?: string | null;
10376
10546
  customer_id?: string | null;
10377
10547
  disabled?: boolean | null;
10378
10548
  display_name?: string | null;
@@ -10461,6 +10631,7 @@ export declare namespace GetConnectionResponse {
10461
10631
  connector?: TopLevelAPI.Connector;
10462
10632
  connector_config_id?: string | null;
10463
10633
  created_at?: string;
10634
+ credentials_last_fetched?: string | null;
10464
10635
  customer_id?: string | null;
10465
10636
  disabled?: boolean | null;
10466
10637
  display_name?: string | null;
@@ -10549,6 +10720,7 @@ export declare namespace GetConnectionResponse {
10549
10720
  connector?: TopLevelAPI.Connector;
10550
10721
  connector_config_id?: string | null;
10551
10722
  created_at?: string;
10723
+ credentials_last_fetched?: string | null;
10552
10724
  customer_id?: string | null;
10553
10725
  disabled?: boolean | null;
10554
10726
  display_name?: string | null;
@@ -10637,6 +10809,7 @@ export declare namespace GetConnectionResponse {
10637
10809
  connector?: TopLevelAPI.Connector;
10638
10810
  connector_config_id?: string | null;
10639
10811
  created_at?: string;
10812
+ credentials_last_fetched?: string | null;
10640
10813
  customer_id?: string | null;
10641
10814
  disabled?: boolean | null;
10642
10815
  display_name?: string | null;
@@ -10725,6 +10898,7 @@ export declare namespace GetConnectionResponse {
10725
10898
  connector?: TopLevelAPI.Connector;
10726
10899
  connector_config_id?: string | null;
10727
10900
  created_at?: string;
10901
+ credentials_last_fetched?: string | null;
10728
10902
  customer_id?: string | null;
10729
10903
  disabled?: boolean | null;
10730
10904
  display_name?: string | null;
@@ -10813,6 +10987,7 @@ export declare namespace GetConnectionResponse {
10813
10987
  connector?: TopLevelAPI.Connector;
10814
10988
  connector_config_id?: string | null;
10815
10989
  created_at?: string;
10990
+ credentials_last_fetched?: string | null;
10816
10991
  customer_id?: string | null;
10817
10992
  disabled?: boolean | null;
10818
10993
  display_name?: string | null;
@@ -10901,6 +11076,7 @@ export declare namespace GetConnectionResponse {
10901
11076
  connector?: TopLevelAPI.Connector;
10902
11077
  connector_config_id?: string | null;
10903
11078
  created_at?: string;
11079
+ credentials_last_fetched?: string | null;
10904
11080
  customer_id?: string | null;
10905
11081
  disabled?: boolean | null;
10906
11082
  display_name?: string | null;
@@ -10989,6 +11165,7 @@ export declare namespace GetConnectionResponse {
10989
11165
  connector?: TopLevelAPI.Connector;
10990
11166
  connector_config_id?: string | null;
10991
11167
  created_at?: string;
11168
+ credentials_last_fetched?: string | null;
10992
11169
  customer_id?: string | null;
10993
11170
  disabled?: boolean | null;
10994
11171
  display_name?: string | null;
@@ -11035,6 +11212,14 @@ export declare namespace GetConnectionResponse {
11035
11212
  * for backward compatibility until we remove the oauth field
11036
11213
  */
11037
11214
  access_token?: string;
11215
+ /**
11216
+ * Your HubSpot App ID (automatically fetched from access token)
11217
+ */
11218
+ app_id?: number;
11219
+ /**
11220
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
11221
+ */
11222
+ hub_id?: number;
11038
11223
  }
11039
11224
  namespace Settings {
11040
11225
  interface OAuth {
@@ -11077,6 +11262,7 @@ export declare namespace GetConnectionResponse {
11077
11262
  connector?: TopLevelAPI.Connector;
11078
11263
  connector_config_id?: string | null;
11079
11264
  created_at?: string;
11265
+ credentials_last_fetched?: string | null;
11080
11266
  customer_id?: string | null;
11081
11267
  disabled?: boolean | null;
11082
11268
  display_name?: string | null;
@@ -11165,6 +11351,7 @@ export declare namespace GetConnectionResponse {
11165
11351
  connector?: TopLevelAPI.Connector;
11166
11352
  connector_config_id?: string | null;
11167
11353
  created_at?: string;
11354
+ credentials_last_fetched?: string | null;
11168
11355
  customer_id?: string | null;
11169
11356
  disabled?: boolean | null;
11170
11357
  display_name?: string | null;
@@ -11257,6 +11444,7 @@ export declare namespace GetConnectionResponse {
11257
11444
  connector?: TopLevelAPI.Connector;
11258
11445
  connector_config_id?: string | null;
11259
11446
  created_at?: string;
11447
+ credentials_last_fetched?: string | null;
11260
11448
  customer_id?: string | null;
11261
11449
  disabled?: boolean | null;
11262
11450
  display_name?: string | null;
@@ -11345,6 +11533,7 @@ export declare namespace GetConnectionResponse {
11345
11533
  connector?: TopLevelAPI.Connector;
11346
11534
  connector_config_id?: string | null;
11347
11535
  created_at?: string;
11536
+ credentials_last_fetched?: string | null;
11348
11537
  customer_id?: string | null;
11349
11538
  disabled?: boolean | null;
11350
11539
  display_name?: string | null;
@@ -11433,6 +11622,7 @@ export declare namespace GetConnectionResponse {
11433
11622
  connector?: TopLevelAPI.Connector;
11434
11623
  connector_config_id?: string | null;
11435
11624
  created_at?: string;
11625
+ credentials_last_fetched?: string | null;
11436
11626
  customer_id?: string | null;
11437
11627
  disabled?: boolean | null;
11438
11628
  display_name?: string | null;
@@ -11521,6 +11711,7 @@ export declare namespace GetConnectionResponse {
11521
11711
  connector?: TopLevelAPI.Connector;
11522
11712
  connector_config_id?: string | null;
11523
11713
  created_at?: string;
11714
+ credentials_last_fetched?: string | null;
11524
11715
  customer_id?: string | null;
11525
11716
  disabled?: boolean | null;
11526
11717
  display_name?: string | null;
@@ -11609,6 +11800,7 @@ export declare namespace GetConnectionResponse {
11609
11800
  connector?: TopLevelAPI.Connector;
11610
11801
  connector_config_id?: string | null;
11611
11802
  created_at?: string;
11803
+ credentials_last_fetched?: string | null;
11612
11804
  customer_id?: string | null;
11613
11805
  disabled?: boolean | null;
11614
11806
  display_name?: string | null;
@@ -11697,6 +11889,7 @@ export declare namespace GetConnectionResponse {
11697
11889
  connector?: TopLevelAPI.Connector;
11698
11890
  connector_config_id?: string | null;
11699
11891
  created_at?: string;
11892
+ credentials_last_fetched?: string | null;
11700
11893
  customer_id?: string | null;
11701
11894
  disabled?: boolean | null;
11702
11895
  display_name?: string | null;
@@ -11789,6 +11982,7 @@ export declare namespace GetConnectionResponse {
11789
11982
  connector?: TopLevelAPI.Connector;
11790
11983
  connector_config_id?: string | null;
11791
11984
  created_at?: string;
11985
+ credentials_last_fetched?: string | null;
11792
11986
  customer_id?: string | null;
11793
11987
  disabled?: boolean | null;
11794
11988
  display_name?: string | null;
@@ -11877,6 +12071,7 @@ export declare namespace GetConnectionResponse {
11877
12071
  connector?: TopLevelAPI.Connector;
11878
12072
  connector_config_id?: string | null;
11879
12073
  created_at?: string;
12074
+ credentials_last_fetched?: string | null;
11880
12075
  customer_id?: string | null;
11881
12076
  disabled?: boolean | null;
11882
12077
  display_name?: string | null;
@@ -11965,6 +12160,7 @@ export declare namespace GetConnectionResponse {
11965
12160
  connector?: TopLevelAPI.Connector;
11966
12161
  connector_config_id?: string | null;
11967
12162
  created_at?: string;
12163
+ credentials_last_fetched?: string | null;
11968
12164
  customer_id?: string | null;
11969
12165
  disabled?: boolean | null;
11970
12166
  display_name?: string | null;
@@ -12053,6 +12249,7 @@ export declare namespace GetConnectionResponse {
12053
12249
  connector?: TopLevelAPI.Connector;
12054
12250
  connector_config_id?: string | null;
12055
12251
  created_at?: string;
12252
+ credentials_last_fetched?: string | null;
12056
12253
  customer_id?: string | null;
12057
12254
  disabled?: boolean | null;
12058
12255
  display_name?: string | null;
@@ -12146,6 +12343,7 @@ export declare namespace GetConnectionResponse {
12146
12343
  connector?: TopLevelAPI.Connector;
12147
12344
  connector_config_id?: string | null;
12148
12345
  created_at?: string;
12346
+ credentials_last_fetched?: string | null;
12149
12347
  customer_id?: string | null;
12150
12348
  disabled?: boolean | null;
12151
12349
  display_name?: string | null;
@@ -12234,6 +12432,7 @@ export declare namespace GetConnectionResponse {
12234
12432
  connector?: TopLevelAPI.Connector;
12235
12433
  connector_config_id?: string | null;
12236
12434
  created_at?: string;
12435
+ credentials_last_fetched?: string | null;
12237
12436
  customer_id?: string | null;
12238
12437
  disabled?: boolean | null;
12239
12438
  display_name?: string | null;
@@ -12322,6 +12521,7 @@ export declare namespace GetConnectionResponse {
12322
12521
  connector?: TopLevelAPI.Connector;
12323
12522
  connector_config_id?: string | null;
12324
12523
  created_at?: string;
12524
+ credentials_last_fetched?: string | null;
12325
12525
  customer_id?: string | null;
12326
12526
  disabled?: boolean | null;
12327
12527
  display_name?: string | null;
@@ -12410,6 +12610,7 @@ export declare namespace GetConnectionResponse {
12410
12610
  connector?: TopLevelAPI.Connector;
12411
12611
  connector_config_id?: string | null;
12412
12612
  created_at?: string;
12613
+ credentials_last_fetched?: string | null;
12413
12614
  customer_id?: string | null;
12414
12615
  disabled?: boolean | null;
12415
12616
  display_name?: string | null;
@@ -12502,6 +12703,7 @@ export declare namespace GetConnectionResponse {
12502
12703
  connector?: TopLevelAPI.Connector;
12503
12704
  connector_config_id?: string | null;
12504
12705
  created_at?: string;
12706
+ credentials_last_fetched?: string | null;
12505
12707
  customer_id?: string | null;
12506
12708
  disabled?: boolean | null;
12507
12709
  display_name?: string | null;
@@ -12590,6 +12792,7 @@ export declare namespace GetConnectionResponse {
12590
12792
  connector?: TopLevelAPI.Connector;
12591
12793
  connector_config_id?: string | null;
12592
12794
  created_at?: string;
12795
+ credentials_last_fetched?: string | null;
12593
12796
  customer_id?: string | null;
12594
12797
  disabled?: boolean | null;
12595
12798
  display_name?: string | null;
@@ -12639,6 +12842,7 @@ export declare namespace GetConnectionResponse {
12639
12842
  connector?: TopLevelAPI.Connector;
12640
12843
  connector_config_id?: string | null;
12641
12844
  created_at?: string;
12845
+ credentials_last_fetched?: string | null;
12642
12846
  customer_id?: string | null;
12643
12847
  disabled?: boolean | null;
12644
12848
  display_name?: string | null;
@@ -12654,7 +12858,7 @@ export declare namespace GetConnectionResponse {
12654
12858
  metadata?: {
12655
12859
  [key: string]: unknown;
12656
12860
  } | null;
12657
- public_settings?: unknown;
12861
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
12658
12862
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
12659
12863
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
12660
12864
  status_message?: string | null;
@@ -12678,6 +12882,12 @@ export declare namespace GetConnectionResponse {
12678
12882
  error?: string;
12679
12883
  }
12680
12884
  }
12885
+ interface PublicSettings {
12886
+ /**
12887
+ * MCP transport type detected during connection
12888
+ */
12889
+ transport_type?: 'streamable-http' | 'sse';
12890
+ }
12681
12891
  interface Settings {
12682
12892
  /**
12683
12893
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -12686,7 +12896,11 @@ export declare namespace GetConnectionResponse {
12686
12896
  /**
12687
12897
  * Custom headers to include with every request
12688
12898
  */
12689
- headers: Array<Settings.Header>;
12899
+ headers?: Array<Settings.Header>;
12900
+ /**
12901
+ * OAuth authentication credentials
12902
+ */
12903
+ oauth?: Settings.OAuth;
12690
12904
  }
12691
12905
  namespace Settings {
12692
12906
  interface Header {
@@ -12699,6 +12913,50 @@ export declare namespace GetConnectionResponse {
12699
12913
  */
12700
12914
  value: string;
12701
12915
  }
12916
+ /**
12917
+ * OAuth authentication credentials
12918
+ */
12919
+ interface OAuth {
12920
+ client: OAuth.Client;
12921
+ credentials: OAuth.Credentials;
12922
+ metadata: OAuth.Metadata;
12923
+ }
12924
+ namespace OAuth {
12925
+ interface Client {
12926
+ client_id: string;
12927
+ redirect_uris: Array<string>;
12928
+ client_secret?: string;
12929
+ }
12930
+ interface Credentials {
12931
+ access_token: string;
12932
+ token_type: string;
12933
+ expires_at?: string;
12934
+ expires_in?: number;
12935
+ refresh_token?: string;
12936
+ scope?: string;
12937
+ }
12938
+ interface Metadata {
12939
+ authorization_endpoint: string;
12940
+ issuer: string;
12941
+ response_types_supported: Array<string>;
12942
+ token_endpoint: string;
12943
+ code_challenge_methods_supported?: Array<string>;
12944
+ grant_types_supported?: Array<string>;
12945
+ introspection_endpoint?: string;
12946
+ introspection_endpoint_auth_methods_supported?: Array<string>;
12947
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
12948
+ registration_endpoint?: string;
12949
+ response_modes_supported?: Array<string>;
12950
+ revocation_endpoint?: string;
12951
+ revocation_endpoint_auth_methods_supported?: Array<string>;
12952
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
12953
+ scopes_supported?: Array<string>;
12954
+ service_documentation?: string;
12955
+ token_endpoint_auth_methods_supported?: Array<string>;
12956
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
12957
+ [k: string]: unknown;
12958
+ }
12959
+ }
12702
12960
  }
12703
12961
  }
12704
12962
  interface ConnectorDatabricksM2mDiscriminatedConnectionData {
@@ -12707,6 +12965,7 @@ export declare namespace GetConnectionResponse {
12707
12965
  connector?: TopLevelAPI.Connector;
12708
12966
  connector_config_id?: string | null;
12709
12967
  created_at?: string;
12968
+ credentials_last_fetched?: string | null;
12710
12969
  customer_id?: string | null;
12711
12970
  disabled?: boolean | null;
12712
12971
  display_name?: string | null;
@@ -12762,6 +13021,26 @@ export declare namespace GetConnectionResponse {
12762
13021
  * Server hostname value.
12763
13022
  */
12764
13023
  server_hostname: string;
13024
+ oauth?: Settings.OAuth;
13025
+ }
13026
+ namespace Settings {
13027
+ interface OAuth {
13028
+ credentials?: OAuth.Credentials;
13029
+ }
13030
+ namespace OAuth {
13031
+ interface Credentials {
13032
+ access_token: string;
13033
+ client_id: string;
13034
+ expires_at?: string;
13035
+ expires_in?: number;
13036
+ raw?: {
13037
+ [key: string]: unknown;
13038
+ };
13039
+ refresh_token?: string;
13040
+ scope?: string;
13041
+ token_type?: string;
13042
+ }
13043
+ }
12765
13044
  }
12766
13045
  }
12767
13046
  interface ConnectorPlaidDiscriminatedConnectionData {
@@ -12770,6 +13049,7 @@ export declare namespace GetConnectionResponse {
12770
13049
  connector?: TopLevelAPI.Connector;
12771
13050
  connector_config_id?: string | null;
12772
13051
  created_at?: string;
13052
+ credentials_last_fetched?: string | null;
12773
13053
  customer_id?: string | null;
12774
13054
  disabled?: boolean | null;
12775
13055
  display_name?: string | null;
@@ -12824,6 +13104,7 @@ export declare namespace GetConnectionResponse {
12824
13104
  connector?: TopLevelAPI.Connector;
12825
13105
  connector_config_id?: string | null;
12826
13106
  created_at?: string;
13107
+ credentials_last_fetched?: string | null;
12827
13108
  customer_id?: string | null;
12828
13109
  disabled?: boolean | null;
12829
13110
  display_name?: string | null;
@@ -12873,6 +13154,7 @@ export declare namespace GetConnectionResponse {
12873
13154
  connector?: TopLevelAPI.Connector;
12874
13155
  connector_config_id?: string | null;
12875
13156
  created_at?: string;
13157
+ credentials_last_fetched?: string | null;
12876
13158
  customer_id?: string | null;
12877
13159
  disabled?: boolean | null;
12878
13160
  display_name?: string | null;
@@ -12926,6 +13208,7 @@ export declare namespace GetConnectionResponse {
12926
13208
  connector?: TopLevelAPI.Connector;
12927
13209
  connector_config_id?: string | null;
12928
13210
  created_at?: string;
13211
+ credentials_last_fetched?: string | null;
12929
13212
  customer_id?: string | null;
12930
13213
  disabled?: boolean | null;
12931
13214
  display_name?: string | null;
@@ -12979,6 +13262,7 @@ export declare namespace GetConnectionResponse {
12979
13262
  connector?: TopLevelAPI.Connector;
12980
13263
  connector_config_id?: string | null;
12981
13264
  created_at?: string;
13265
+ credentials_last_fetched?: string | null;
12982
13266
  customer_id?: string | null;
12983
13267
  disabled?: boolean | null;
12984
13268
  display_name?: string | null;
@@ -13031,6 +13315,7 @@ export declare namespace GetConnectionResponse {
13031
13315
  connector?: TopLevelAPI.Connector;
13032
13316
  connector_config_id?: string | null;
13033
13317
  created_at?: string;
13318
+ credentials_last_fetched?: string | null;
13034
13319
  customer_id?: string | null;
13035
13320
  disabled?: boolean | null;
13036
13321
  display_name?: string | null;
@@ -13194,6 +13479,7 @@ export declare namespace GetConnectionResponse {
13194
13479
  connector?: TopLevelAPI.Connector;
13195
13480
  connector_config_id?: string | null;
13196
13481
  created_at?: string;
13482
+ credentials_last_fetched?: string | null;
13197
13483
  customer_id?: string | null;
13198
13484
  disabled?: boolean | null;
13199
13485
  display_name?: string | null;
@@ -13292,6 +13578,7 @@ export declare namespace GetConnectionResponse {
13292
13578
  connector?: TopLevelAPI.Connector;
13293
13579
  connector_config_id?: string | null;
13294
13580
  created_at?: string;
13581
+ credentials_last_fetched?: string | null;
13295
13582
  customer_id?: string | null;
13296
13583
  disabled?: boolean | null;
13297
13584
  display_name?: string | null;
@@ -13380,6 +13667,7 @@ export declare namespace GetConnectionResponse {
13380
13667
  connector?: TopLevelAPI.Connector;
13381
13668
  connector_config_id?: string | null;
13382
13669
  created_at?: string;
13670
+ credentials_last_fetched?: string | null;
13383
13671
  customer_id?: string | null;
13384
13672
  disabled?: boolean | null;
13385
13673
  display_name?: string | null;
@@ -13435,6 +13723,7 @@ export declare namespace GetConnectionResponse {
13435
13723
  connector?: TopLevelAPI.Connector;
13436
13724
  connector_config_id?: string | null;
13437
13725
  created_at?: string;
13726
+ credentials_last_fetched?: string | null;
13438
13727
  customer_id?: string | null;
13439
13728
  disabled?: boolean | null;
13440
13729
  display_name?: string | null;
@@ -13509,6 +13798,7 @@ export declare namespace ListConnectionsResponse {
13509
13798
  connector?: TopLevelAPI.Connector;
13510
13799
  connector_config_id?: string | null;
13511
13800
  created_at?: string;
13801
+ credentials_last_fetched?: string | null;
13512
13802
  customer_id?: string | null;
13513
13803
  disabled?: boolean | null;
13514
13804
  display_name?: string | null;
@@ -13558,6 +13848,7 @@ export declare namespace ListConnectionsResponse {
13558
13848
  connector?: TopLevelAPI.Connector;
13559
13849
  connector_config_id?: string | null;
13560
13850
  created_at?: string;
13851
+ credentials_last_fetched?: string | null;
13561
13852
  customer_id?: string | null;
13562
13853
  disabled?: boolean | null;
13563
13854
  display_name?: string | null;
@@ -13646,6 +13937,7 @@ export declare namespace ListConnectionsResponse {
13646
13937
  connector?: TopLevelAPI.Connector;
13647
13938
  connector_config_id?: string | null;
13648
13939
  created_at?: string;
13940
+ credentials_last_fetched?: string | null;
13649
13941
  customer_id?: string | null;
13650
13942
  disabled?: boolean | null;
13651
13943
  display_name?: string | null;
@@ -13695,6 +13987,7 @@ export declare namespace ListConnectionsResponse {
13695
13987
  connector?: TopLevelAPI.Connector;
13696
13988
  connector_config_id?: string | null;
13697
13989
  created_at?: string;
13990
+ credentials_last_fetched?: string | null;
13698
13991
  customer_id?: string | null;
13699
13992
  disabled?: boolean | null;
13700
13993
  display_name?: string | null;
@@ -13783,6 +14076,7 @@ export declare namespace ListConnectionsResponse {
13783
14076
  connector?: TopLevelAPI.Connector;
13784
14077
  connector_config_id?: string | null;
13785
14078
  created_at?: string;
14079
+ credentials_last_fetched?: string | null;
13786
14080
  customer_id?: string | null;
13787
14081
  disabled?: boolean | null;
13788
14082
  display_name?: string | null;
@@ -13876,6 +14170,7 @@ export declare namespace ListConnectionsResponse {
13876
14170
  connector?: TopLevelAPI.Connector;
13877
14171
  connector_config_id?: string | null;
13878
14172
  created_at?: string;
14173
+ credentials_last_fetched?: string | null;
13879
14174
  customer_id?: string | null;
13880
14175
  disabled?: boolean | null;
13881
14176
  display_name?: string | null;
@@ -13964,6 +14259,7 @@ export declare namespace ListConnectionsResponse {
13964
14259
  connector?: TopLevelAPI.Connector;
13965
14260
  connector_config_id?: string | null;
13966
14261
  created_at?: string;
14262
+ credentials_last_fetched?: string | null;
13967
14263
  customer_id?: string | null;
13968
14264
  disabled?: boolean | null;
13969
14265
  display_name?: string | null;
@@ -14052,6 +14348,7 @@ export declare namespace ListConnectionsResponse {
14052
14348
  connector?: TopLevelAPI.Connector;
14053
14349
  connector_config_id?: string | null;
14054
14350
  created_at?: string;
14351
+ credentials_last_fetched?: string | null;
14055
14352
  customer_id?: string | null;
14056
14353
  disabled?: boolean | null;
14057
14354
  display_name?: string | null;
@@ -14140,6 +14437,7 @@ export declare namespace ListConnectionsResponse {
14140
14437
  connector?: TopLevelAPI.Connector;
14141
14438
  connector_config_id?: string | null;
14142
14439
  created_at?: string;
14440
+ credentials_last_fetched?: string | null;
14143
14441
  customer_id?: string | null;
14144
14442
  disabled?: boolean | null;
14145
14443
  display_name?: string | null;
@@ -14228,6 +14526,7 @@ export declare namespace ListConnectionsResponse {
14228
14526
  connector?: TopLevelAPI.Connector;
14229
14527
  connector_config_id?: string | null;
14230
14528
  created_at?: string;
14529
+ credentials_last_fetched?: string | null;
14231
14530
  customer_id?: string | null;
14232
14531
  disabled?: boolean | null;
14233
14532
  display_name?: string | null;
@@ -14316,6 +14615,7 @@ export declare namespace ListConnectionsResponse {
14316
14615
  connector?: TopLevelAPI.Connector;
14317
14616
  connector_config_id?: string | null;
14318
14617
  created_at?: string;
14618
+ credentials_last_fetched?: string | null;
14319
14619
  customer_id?: string | null;
14320
14620
  disabled?: boolean | null;
14321
14621
  display_name?: string | null;
@@ -14408,6 +14708,7 @@ export declare namespace ListConnectionsResponse {
14408
14708
  connector?: TopLevelAPI.Connector;
14409
14709
  connector_config_id?: string | null;
14410
14710
  created_at?: string;
14711
+ credentials_last_fetched?: string | null;
14411
14712
  customer_id?: string | null;
14412
14713
  disabled?: boolean | null;
14413
14714
  display_name?: string | null;
@@ -14507,6 +14808,7 @@ export declare namespace ListConnectionsResponse {
14507
14808
  connector?: TopLevelAPI.Connector;
14508
14809
  connector_config_id?: string | null;
14509
14810
  created_at?: string;
14811
+ credentials_last_fetched?: string | null;
14510
14812
  customer_id?: string | null;
14511
14813
  disabled?: boolean | null;
14512
14814
  display_name?: string | null;
@@ -14595,6 +14897,7 @@ export declare namespace ListConnectionsResponse {
14595
14897
  connector?: TopLevelAPI.Connector;
14596
14898
  connector_config_id?: string | null;
14597
14899
  created_at?: string;
14900
+ credentials_last_fetched?: string | null;
14598
14901
  customer_id?: string | null;
14599
14902
  disabled?: boolean | null;
14600
14903
  display_name?: string | null;
@@ -14683,6 +14986,7 @@ export declare namespace ListConnectionsResponse {
14683
14986
  connector?: TopLevelAPI.Connector;
14684
14987
  connector_config_id?: string | null;
14685
14988
  created_at?: string;
14989
+ credentials_last_fetched?: string | null;
14686
14990
  customer_id?: string | null;
14687
14991
  disabled?: boolean | null;
14688
14992
  display_name?: string | null;
@@ -14771,6 +15075,7 @@ export declare namespace ListConnectionsResponse {
14771
15075
  connector?: TopLevelAPI.Connector;
14772
15076
  connector_config_id?: string | null;
14773
15077
  created_at?: string;
15078
+ credentials_last_fetched?: string | null;
14774
15079
  customer_id?: string | null;
14775
15080
  disabled?: boolean | null;
14776
15081
  display_name?: string | null;
@@ -14859,6 +15164,7 @@ export declare namespace ListConnectionsResponse {
14859
15164
  connector?: TopLevelAPI.Connector;
14860
15165
  connector_config_id?: string | null;
14861
15166
  created_at?: string;
15167
+ credentials_last_fetched?: string | null;
14862
15168
  customer_id?: string | null;
14863
15169
  disabled?: boolean | null;
14864
15170
  display_name?: string | null;
@@ -14947,6 +15253,7 @@ export declare namespace ListConnectionsResponse {
14947
15253
  connector?: TopLevelAPI.Connector;
14948
15254
  connector_config_id?: string | null;
14949
15255
  created_at?: string;
15256
+ credentials_last_fetched?: string | null;
14950
15257
  customer_id?: string | null;
14951
15258
  disabled?: boolean | null;
14952
15259
  display_name?: string | null;
@@ -15035,6 +15342,7 @@ export declare namespace ListConnectionsResponse {
15035
15342
  connector?: TopLevelAPI.Connector;
15036
15343
  connector_config_id?: string | null;
15037
15344
  created_at?: string;
15345
+ credentials_last_fetched?: string | null;
15038
15346
  customer_id?: string | null;
15039
15347
  disabled?: boolean | null;
15040
15348
  display_name?: string | null;
@@ -15123,6 +15431,7 @@ export declare namespace ListConnectionsResponse {
15123
15431
  connector?: TopLevelAPI.Connector;
15124
15432
  connector_config_id?: string | null;
15125
15433
  created_at?: string;
15434
+ credentials_last_fetched?: string | null;
15126
15435
  customer_id?: string | null;
15127
15436
  disabled?: boolean | null;
15128
15437
  display_name?: string | null;
@@ -15211,6 +15520,7 @@ export declare namespace ListConnectionsResponse {
15211
15520
  connector?: TopLevelAPI.Connector;
15212
15521
  connector_config_id?: string | null;
15213
15522
  created_at?: string;
15523
+ credentials_last_fetched?: string | null;
15214
15524
  customer_id?: string | null;
15215
15525
  disabled?: boolean | null;
15216
15526
  display_name?: string | null;
@@ -15299,6 +15609,7 @@ export declare namespace ListConnectionsResponse {
15299
15609
  connector?: TopLevelAPI.Connector;
15300
15610
  connector_config_id?: string | null;
15301
15611
  created_at?: string;
15612
+ credentials_last_fetched?: string | null;
15302
15613
  customer_id?: string | null;
15303
15614
  disabled?: boolean | null;
15304
15615
  display_name?: string | null;
@@ -15387,6 +15698,7 @@ export declare namespace ListConnectionsResponse {
15387
15698
  connector?: TopLevelAPI.Connector;
15388
15699
  connector_config_id?: string | null;
15389
15700
  created_at?: string;
15701
+ credentials_last_fetched?: string | null;
15390
15702
  customer_id?: string | null;
15391
15703
  disabled?: boolean | null;
15392
15704
  display_name?: string | null;
@@ -15475,6 +15787,7 @@ export declare namespace ListConnectionsResponse {
15475
15787
  connector?: TopLevelAPI.Connector;
15476
15788
  connector_config_id?: string | null;
15477
15789
  created_at?: string;
15790
+ credentials_last_fetched?: string | null;
15478
15791
  customer_id?: string | null;
15479
15792
  disabled?: boolean | null;
15480
15793
  display_name?: string | null;
@@ -15563,6 +15876,7 @@ export declare namespace ListConnectionsResponse {
15563
15876
  connector?: TopLevelAPI.Connector;
15564
15877
  connector_config_id?: string | null;
15565
15878
  created_at?: string;
15879
+ credentials_last_fetched?: string | null;
15566
15880
  customer_id?: string | null;
15567
15881
  disabled?: boolean | null;
15568
15882
  display_name?: string | null;
@@ -15609,6 +15923,14 @@ export declare namespace ListConnectionsResponse {
15609
15923
  * for backward compatibility until we remove the oauth field
15610
15924
  */
15611
15925
  access_token?: string;
15926
+ /**
15927
+ * Your HubSpot App ID (automatically fetched from access token)
15928
+ */
15929
+ app_id?: number;
15930
+ /**
15931
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
15932
+ */
15933
+ hub_id?: number;
15612
15934
  }
15613
15935
  namespace Settings {
15614
15936
  interface OAuth {
@@ -15651,6 +15973,7 @@ export declare namespace ListConnectionsResponse {
15651
15973
  connector?: TopLevelAPI.Connector;
15652
15974
  connector_config_id?: string | null;
15653
15975
  created_at?: string;
15976
+ credentials_last_fetched?: string | null;
15654
15977
  customer_id?: string | null;
15655
15978
  disabled?: boolean | null;
15656
15979
  display_name?: string | null;
@@ -15739,6 +16062,7 @@ export declare namespace ListConnectionsResponse {
15739
16062
  connector?: TopLevelAPI.Connector;
15740
16063
  connector_config_id?: string | null;
15741
16064
  created_at?: string;
16065
+ credentials_last_fetched?: string | null;
15742
16066
  customer_id?: string | null;
15743
16067
  disabled?: boolean | null;
15744
16068
  display_name?: string | null;
@@ -15831,6 +16155,7 @@ export declare namespace ListConnectionsResponse {
15831
16155
  connector?: TopLevelAPI.Connector;
15832
16156
  connector_config_id?: string | null;
15833
16157
  created_at?: string;
16158
+ credentials_last_fetched?: string | null;
15834
16159
  customer_id?: string | null;
15835
16160
  disabled?: boolean | null;
15836
16161
  display_name?: string | null;
@@ -15919,6 +16244,7 @@ export declare namespace ListConnectionsResponse {
15919
16244
  connector?: TopLevelAPI.Connector;
15920
16245
  connector_config_id?: string | null;
15921
16246
  created_at?: string;
16247
+ credentials_last_fetched?: string | null;
15922
16248
  customer_id?: string | null;
15923
16249
  disabled?: boolean | null;
15924
16250
  display_name?: string | null;
@@ -16007,6 +16333,7 @@ export declare namespace ListConnectionsResponse {
16007
16333
  connector?: TopLevelAPI.Connector;
16008
16334
  connector_config_id?: string | null;
16009
16335
  created_at?: string;
16336
+ credentials_last_fetched?: string | null;
16010
16337
  customer_id?: string | null;
16011
16338
  disabled?: boolean | null;
16012
16339
  display_name?: string | null;
@@ -16095,6 +16422,7 @@ export declare namespace ListConnectionsResponse {
16095
16422
  connector?: TopLevelAPI.Connector;
16096
16423
  connector_config_id?: string | null;
16097
16424
  created_at?: string;
16425
+ credentials_last_fetched?: string | null;
16098
16426
  customer_id?: string | null;
16099
16427
  disabled?: boolean | null;
16100
16428
  display_name?: string | null;
@@ -16183,6 +16511,7 @@ export declare namespace ListConnectionsResponse {
16183
16511
  connector?: TopLevelAPI.Connector;
16184
16512
  connector_config_id?: string | null;
16185
16513
  created_at?: string;
16514
+ credentials_last_fetched?: string | null;
16186
16515
  customer_id?: string | null;
16187
16516
  disabled?: boolean | null;
16188
16517
  display_name?: string | null;
@@ -16271,6 +16600,7 @@ export declare namespace ListConnectionsResponse {
16271
16600
  connector?: TopLevelAPI.Connector;
16272
16601
  connector_config_id?: string | null;
16273
16602
  created_at?: string;
16603
+ credentials_last_fetched?: string | null;
16274
16604
  customer_id?: string | null;
16275
16605
  disabled?: boolean | null;
16276
16606
  display_name?: string | null;
@@ -16363,6 +16693,7 @@ export declare namespace ListConnectionsResponse {
16363
16693
  connector?: TopLevelAPI.Connector;
16364
16694
  connector_config_id?: string | null;
16365
16695
  created_at?: string;
16696
+ credentials_last_fetched?: string | null;
16366
16697
  customer_id?: string | null;
16367
16698
  disabled?: boolean | null;
16368
16699
  display_name?: string | null;
@@ -16451,6 +16782,7 @@ export declare namespace ListConnectionsResponse {
16451
16782
  connector?: TopLevelAPI.Connector;
16452
16783
  connector_config_id?: string | null;
16453
16784
  created_at?: string;
16785
+ credentials_last_fetched?: string | null;
16454
16786
  customer_id?: string | null;
16455
16787
  disabled?: boolean | null;
16456
16788
  display_name?: string | null;
@@ -16539,6 +16871,7 @@ export declare namespace ListConnectionsResponse {
16539
16871
  connector?: TopLevelAPI.Connector;
16540
16872
  connector_config_id?: string | null;
16541
16873
  created_at?: string;
16874
+ credentials_last_fetched?: string | null;
16542
16875
  customer_id?: string | null;
16543
16876
  disabled?: boolean | null;
16544
16877
  display_name?: string | null;
@@ -16627,6 +16960,7 @@ export declare namespace ListConnectionsResponse {
16627
16960
  connector?: TopLevelAPI.Connector;
16628
16961
  connector_config_id?: string | null;
16629
16962
  created_at?: string;
16963
+ credentials_last_fetched?: string | null;
16630
16964
  customer_id?: string | null;
16631
16965
  disabled?: boolean | null;
16632
16966
  display_name?: string | null;
@@ -16720,6 +17054,7 @@ export declare namespace ListConnectionsResponse {
16720
17054
  connector?: TopLevelAPI.Connector;
16721
17055
  connector_config_id?: string | null;
16722
17056
  created_at?: string;
17057
+ credentials_last_fetched?: string | null;
16723
17058
  customer_id?: string | null;
16724
17059
  disabled?: boolean | null;
16725
17060
  display_name?: string | null;
@@ -16808,6 +17143,7 @@ export declare namespace ListConnectionsResponse {
16808
17143
  connector?: TopLevelAPI.Connector;
16809
17144
  connector_config_id?: string | null;
16810
17145
  created_at?: string;
17146
+ credentials_last_fetched?: string | null;
16811
17147
  customer_id?: string | null;
16812
17148
  disabled?: boolean | null;
16813
17149
  display_name?: string | null;
@@ -16896,6 +17232,7 @@ export declare namespace ListConnectionsResponse {
16896
17232
  connector?: TopLevelAPI.Connector;
16897
17233
  connector_config_id?: string | null;
16898
17234
  created_at?: string;
17235
+ credentials_last_fetched?: string | null;
16899
17236
  customer_id?: string | null;
16900
17237
  disabled?: boolean | null;
16901
17238
  display_name?: string | null;
@@ -16984,6 +17321,7 @@ export declare namespace ListConnectionsResponse {
16984
17321
  connector?: TopLevelAPI.Connector;
16985
17322
  connector_config_id?: string | null;
16986
17323
  created_at?: string;
17324
+ credentials_last_fetched?: string | null;
16987
17325
  customer_id?: string | null;
16988
17326
  disabled?: boolean | null;
16989
17327
  display_name?: string | null;
@@ -17076,6 +17414,7 @@ export declare namespace ListConnectionsResponse {
17076
17414
  connector?: TopLevelAPI.Connector;
17077
17415
  connector_config_id?: string | null;
17078
17416
  created_at?: string;
17417
+ credentials_last_fetched?: string | null;
17079
17418
  customer_id?: string | null;
17080
17419
  disabled?: boolean | null;
17081
17420
  display_name?: string | null;
@@ -17164,6 +17503,7 @@ export declare namespace ListConnectionsResponse {
17164
17503
  connector?: TopLevelAPI.Connector;
17165
17504
  connector_config_id?: string | null;
17166
17505
  created_at?: string;
17506
+ credentials_last_fetched?: string | null;
17167
17507
  customer_id?: string | null;
17168
17508
  disabled?: boolean | null;
17169
17509
  display_name?: string | null;
@@ -17213,6 +17553,7 @@ export declare namespace ListConnectionsResponse {
17213
17553
  connector?: TopLevelAPI.Connector;
17214
17554
  connector_config_id?: string | null;
17215
17555
  created_at?: string;
17556
+ credentials_last_fetched?: string | null;
17216
17557
  customer_id?: string | null;
17217
17558
  disabled?: boolean | null;
17218
17559
  display_name?: string | null;
@@ -17228,7 +17569,7 @@ export declare namespace ListConnectionsResponse {
17228
17569
  metadata?: {
17229
17570
  [key: string]: unknown;
17230
17571
  } | null;
17231
- public_settings?: unknown;
17572
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
17232
17573
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
17233
17574
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17234
17575
  status_message?: string | null;
@@ -17252,6 +17593,12 @@ export declare namespace ListConnectionsResponse {
17252
17593
  error?: string;
17253
17594
  }
17254
17595
  }
17596
+ interface PublicSettings {
17597
+ /**
17598
+ * MCP transport type detected during connection
17599
+ */
17600
+ transport_type?: 'streamable-http' | 'sse';
17601
+ }
17255
17602
  interface Settings {
17256
17603
  /**
17257
17604
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -17260,7 +17607,11 @@ export declare namespace ListConnectionsResponse {
17260
17607
  /**
17261
17608
  * Custom headers to include with every request
17262
17609
  */
17263
- headers: Array<Settings.Header>;
17610
+ headers?: Array<Settings.Header>;
17611
+ /**
17612
+ * OAuth authentication credentials
17613
+ */
17614
+ oauth?: Settings.OAuth;
17264
17615
  }
17265
17616
  namespace Settings {
17266
17617
  interface Header {
@@ -17273,6 +17624,50 @@ export declare namespace ListConnectionsResponse {
17273
17624
  */
17274
17625
  value: string;
17275
17626
  }
17627
+ /**
17628
+ * OAuth authentication credentials
17629
+ */
17630
+ interface OAuth {
17631
+ client: OAuth.Client;
17632
+ credentials: OAuth.Credentials;
17633
+ metadata: OAuth.Metadata;
17634
+ }
17635
+ namespace OAuth {
17636
+ interface Client {
17637
+ client_id: string;
17638
+ redirect_uris: Array<string>;
17639
+ client_secret?: string;
17640
+ }
17641
+ interface Credentials {
17642
+ access_token: string;
17643
+ token_type: string;
17644
+ expires_at?: string;
17645
+ expires_in?: number;
17646
+ refresh_token?: string;
17647
+ scope?: string;
17648
+ }
17649
+ interface Metadata {
17650
+ authorization_endpoint: string;
17651
+ issuer: string;
17652
+ response_types_supported: Array<string>;
17653
+ token_endpoint: string;
17654
+ code_challenge_methods_supported?: Array<string>;
17655
+ grant_types_supported?: Array<string>;
17656
+ introspection_endpoint?: string;
17657
+ introspection_endpoint_auth_methods_supported?: Array<string>;
17658
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
17659
+ registration_endpoint?: string;
17660
+ response_modes_supported?: Array<string>;
17661
+ revocation_endpoint?: string;
17662
+ revocation_endpoint_auth_methods_supported?: Array<string>;
17663
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
17664
+ scopes_supported?: Array<string>;
17665
+ service_documentation?: string;
17666
+ token_endpoint_auth_methods_supported?: Array<string>;
17667
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
17668
+ [k: string]: unknown;
17669
+ }
17670
+ }
17276
17671
  }
17277
17672
  }
17278
17673
  interface ConnectorDatabricksM2mDiscriminatedConnectionData {
@@ -17281,6 +17676,7 @@ export declare namespace ListConnectionsResponse {
17281
17676
  connector?: TopLevelAPI.Connector;
17282
17677
  connector_config_id?: string | null;
17283
17678
  created_at?: string;
17679
+ credentials_last_fetched?: string | null;
17284
17680
  customer_id?: string | null;
17285
17681
  disabled?: boolean | null;
17286
17682
  display_name?: string | null;
@@ -17336,6 +17732,26 @@ export declare namespace ListConnectionsResponse {
17336
17732
  * Server hostname value.
17337
17733
  */
17338
17734
  server_hostname: string;
17735
+ oauth?: Settings.OAuth;
17736
+ }
17737
+ namespace Settings {
17738
+ interface OAuth {
17739
+ credentials?: OAuth.Credentials;
17740
+ }
17741
+ namespace OAuth {
17742
+ interface Credentials {
17743
+ access_token: string;
17744
+ client_id: string;
17745
+ expires_at?: string;
17746
+ expires_in?: number;
17747
+ raw?: {
17748
+ [key: string]: unknown;
17749
+ };
17750
+ refresh_token?: string;
17751
+ scope?: string;
17752
+ token_type?: string;
17753
+ }
17754
+ }
17339
17755
  }
17340
17756
  }
17341
17757
  interface ConnectorPlaidDiscriminatedConnectionData {
@@ -17344,6 +17760,7 @@ export declare namespace ListConnectionsResponse {
17344
17760
  connector?: TopLevelAPI.Connector;
17345
17761
  connector_config_id?: string | null;
17346
17762
  created_at?: string;
17763
+ credentials_last_fetched?: string | null;
17347
17764
  customer_id?: string | null;
17348
17765
  disabled?: boolean | null;
17349
17766
  display_name?: string | null;
@@ -17398,6 +17815,7 @@ export declare namespace ListConnectionsResponse {
17398
17815
  connector?: TopLevelAPI.Connector;
17399
17816
  connector_config_id?: string | null;
17400
17817
  created_at?: string;
17818
+ credentials_last_fetched?: string | null;
17401
17819
  customer_id?: string | null;
17402
17820
  disabled?: boolean | null;
17403
17821
  display_name?: string | null;
@@ -17447,6 +17865,7 @@ export declare namespace ListConnectionsResponse {
17447
17865
  connector?: TopLevelAPI.Connector;
17448
17866
  connector_config_id?: string | null;
17449
17867
  created_at?: string;
17868
+ credentials_last_fetched?: string | null;
17450
17869
  customer_id?: string | null;
17451
17870
  disabled?: boolean | null;
17452
17871
  display_name?: string | null;
@@ -17500,6 +17919,7 @@ export declare namespace ListConnectionsResponse {
17500
17919
  connector?: TopLevelAPI.Connector;
17501
17920
  connector_config_id?: string | null;
17502
17921
  created_at?: string;
17922
+ credentials_last_fetched?: string | null;
17503
17923
  customer_id?: string | null;
17504
17924
  disabled?: boolean | null;
17505
17925
  display_name?: string | null;
@@ -17553,6 +17973,7 @@ export declare namespace ListConnectionsResponse {
17553
17973
  connector?: TopLevelAPI.Connector;
17554
17974
  connector_config_id?: string | null;
17555
17975
  created_at?: string;
17976
+ credentials_last_fetched?: string | null;
17556
17977
  customer_id?: string | null;
17557
17978
  disabled?: boolean | null;
17558
17979
  display_name?: string | null;
@@ -17605,6 +18026,7 @@ export declare namespace ListConnectionsResponse {
17605
18026
  connector?: TopLevelAPI.Connector;
17606
18027
  connector_config_id?: string | null;
17607
18028
  created_at?: string;
18029
+ credentials_last_fetched?: string | null;
17608
18030
  customer_id?: string | null;
17609
18031
  disabled?: boolean | null;
17610
18032
  display_name?: string | null;
@@ -17768,6 +18190,7 @@ export declare namespace ListConnectionsResponse {
17768
18190
  connector?: TopLevelAPI.Connector;
17769
18191
  connector_config_id?: string | null;
17770
18192
  created_at?: string;
18193
+ credentials_last_fetched?: string | null;
17771
18194
  customer_id?: string | null;
17772
18195
  disabled?: boolean | null;
17773
18196
  display_name?: string | null;
@@ -17866,6 +18289,7 @@ export declare namespace ListConnectionsResponse {
17866
18289
  connector?: TopLevelAPI.Connector;
17867
18290
  connector_config_id?: string | null;
17868
18291
  created_at?: string;
18292
+ credentials_last_fetched?: string | null;
17869
18293
  customer_id?: string | null;
17870
18294
  disabled?: boolean | null;
17871
18295
  display_name?: string | null;
@@ -17954,6 +18378,7 @@ export declare namespace ListConnectionsResponse {
17954
18378
  connector?: TopLevelAPI.Connector;
17955
18379
  connector_config_id?: string | null;
17956
18380
  created_at?: string;
18381
+ credentials_last_fetched?: string | null;
17957
18382
  customer_id?: string | null;
17958
18383
  disabled?: boolean | null;
17959
18384
  display_name?: string | null;
@@ -18009,6 +18434,7 @@ export declare namespace ListConnectionsResponse {
18009
18434
  connector?: TopLevelAPI.Connector;
18010
18435
  connector_config_id?: string | null;
18011
18436
  created_at?: string;
18437
+ credentials_last_fetched?: string | null;
18012
18438
  customer_id?: string | null;
18013
18439
  disabled?: boolean | null;
18014
18440
  display_name?: string | null;
@@ -19980,14 +20406,19 @@ export declare namespace ListConnectorConfigsResponse {
19980
20406
  }
19981
20407
  namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
19982
20408
  interface Config {
19983
- /**
19984
- * OAuth2 client ID for Databricks
19985
- */
19986
- client_id: string;
19987
- /**
19988
- * OAuth2 client secret for Databricks
19989
- */
19990
- client_secret: string;
20409
+ oauth: Config.OAuth;
20410
+ }
20411
+ namespace Config {
20412
+ interface OAuth {
20413
+ /**
20414
+ * OAuth2 client ID for Databricks
20415
+ */
20416
+ client_id: string;
20417
+ /**
20418
+ * OAuth2 client secret for Databricks
20419
+ */
20420
+ client_secret: string;
20421
+ }
19991
20422
  }
19992
20423
  }
19993
20424
  interface ConnectorPlaidDiscriminatedConnectorConfig {
@@ -22244,14 +22675,19 @@ export declare namespace ListConnnectorConfigsResponse {
22244
22675
  }
22245
22676
  namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
22246
22677
  interface Config {
22247
- /**
22248
- * OAuth2 client ID for Databricks
22249
- */
22250
- client_id: string;
22251
- /**
22252
- * OAuth2 client secret for Databricks
22253
- */
22254
- client_secret: string;
22678
+ oauth: Config.OAuth;
22679
+ }
22680
+ namespace Config {
22681
+ interface OAuth {
22682
+ /**
22683
+ * OAuth2 client ID for Databricks
22684
+ */
22685
+ client_id: string;
22686
+ /**
22687
+ * OAuth2 client secret for Databricks
22688
+ */
22689
+ client_secret: string;
22690
+ }
22255
22691
  }
22256
22692
  }
22257
22693
  interface ConnectorPlaidDiscriminatedConnectorConfig {
@@ -23060,6 +23496,7 @@ export declare namespace PostConnectResponse {
23060
23496
  id?: string;
23061
23497
  connector_config_id?: string | null;
23062
23498
  created_at?: string;
23499
+ credentials_last_fetched?: string | null;
23063
23500
  customer_id?: string | null;
23064
23501
  disabled?: boolean | null;
23065
23502
  display_name?: string | null;
@@ -23107,6 +23544,7 @@ export declare namespace PostConnectResponse {
23107
23544
  id?: string;
23108
23545
  connector_config_id?: string | null;
23109
23546
  created_at?: string;
23547
+ credentials_last_fetched?: string | null;
23110
23548
  customer_id?: string | null;
23111
23549
  disabled?: boolean | null;
23112
23550
  display_name?: string | null;
@@ -23193,6 +23631,7 @@ export declare namespace PostConnectResponse {
23193
23631
  id?: string;
23194
23632
  connector_config_id?: string | null;
23195
23633
  created_at?: string;
23634
+ credentials_last_fetched?: string | null;
23196
23635
  customer_id?: string | null;
23197
23636
  disabled?: boolean | null;
23198
23637
  display_name?: string | null;
@@ -23240,6 +23679,7 @@ export declare namespace PostConnectResponse {
23240
23679
  id?: string;
23241
23680
  connector_config_id?: string | null;
23242
23681
  created_at?: string;
23682
+ credentials_last_fetched?: string | null;
23243
23683
  customer_id?: string | null;
23244
23684
  disabled?: boolean | null;
23245
23685
  display_name?: string | null;
@@ -23326,6 +23766,7 @@ export declare namespace PostConnectResponse {
23326
23766
  id?: string;
23327
23767
  connector_config_id?: string | null;
23328
23768
  created_at?: string;
23769
+ credentials_last_fetched?: string | null;
23329
23770
  customer_id?: string | null;
23330
23771
  disabled?: boolean | null;
23331
23772
  display_name?: string | null;
@@ -23417,6 +23858,7 @@ export declare namespace PostConnectResponse {
23417
23858
  id?: string;
23418
23859
  connector_config_id?: string | null;
23419
23860
  created_at?: string;
23861
+ credentials_last_fetched?: string | null;
23420
23862
  customer_id?: string | null;
23421
23863
  disabled?: boolean | null;
23422
23864
  display_name?: string | null;
@@ -23503,6 +23945,7 @@ export declare namespace PostConnectResponse {
23503
23945
  id?: string;
23504
23946
  connector_config_id?: string | null;
23505
23947
  created_at?: string;
23948
+ credentials_last_fetched?: string | null;
23506
23949
  customer_id?: string | null;
23507
23950
  disabled?: boolean | null;
23508
23951
  display_name?: string | null;
@@ -23589,6 +24032,7 @@ export declare namespace PostConnectResponse {
23589
24032
  id?: string;
23590
24033
  connector_config_id?: string | null;
23591
24034
  created_at?: string;
24035
+ credentials_last_fetched?: string | null;
23592
24036
  customer_id?: string | null;
23593
24037
  disabled?: boolean | null;
23594
24038
  display_name?: string | null;
@@ -23675,6 +24119,7 @@ export declare namespace PostConnectResponse {
23675
24119
  id?: string;
23676
24120
  connector_config_id?: string | null;
23677
24121
  created_at?: string;
24122
+ credentials_last_fetched?: string | null;
23678
24123
  customer_id?: string | null;
23679
24124
  disabled?: boolean | null;
23680
24125
  display_name?: string | null;
@@ -23761,6 +24206,7 @@ export declare namespace PostConnectResponse {
23761
24206
  id?: string;
23762
24207
  connector_config_id?: string | null;
23763
24208
  created_at?: string;
24209
+ credentials_last_fetched?: string | null;
23764
24210
  customer_id?: string | null;
23765
24211
  disabled?: boolean | null;
23766
24212
  display_name?: string | null;
@@ -23847,6 +24293,7 @@ export declare namespace PostConnectResponse {
23847
24293
  id?: string;
23848
24294
  connector_config_id?: string | null;
23849
24295
  created_at?: string;
24296
+ credentials_last_fetched?: string | null;
23850
24297
  customer_id?: string | null;
23851
24298
  disabled?: boolean | null;
23852
24299
  display_name?: string | null;
@@ -23937,6 +24384,7 @@ export declare namespace PostConnectResponse {
23937
24384
  id?: string;
23938
24385
  connector_config_id?: string | null;
23939
24386
  created_at?: string;
24387
+ credentials_last_fetched?: string | null;
23940
24388
  customer_id?: string | null;
23941
24389
  disabled?: boolean | null;
23942
24390
  display_name?: string | null;
@@ -24034,6 +24482,7 @@ export declare namespace PostConnectResponse {
24034
24482
  id?: string;
24035
24483
  connector_config_id?: string | null;
24036
24484
  created_at?: string;
24485
+ credentials_last_fetched?: string | null;
24037
24486
  customer_id?: string | null;
24038
24487
  disabled?: boolean | null;
24039
24488
  display_name?: string | null;
@@ -24120,6 +24569,7 @@ export declare namespace PostConnectResponse {
24120
24569
  id?: string;
24121
24570
  connector_config_id?: string | null;
24122
24571
  created_at?: string;
24572
+ credentials_last_fetched?: string | null;
24123
24573
  customer_id?: string | null;
24124
24574
  disabled?: boolean | null;
24125
24575
  display_name?: string | null;
@@ -24206,6 +24656,7 @@ export declare namespace PostConnectResponse {
24206
24656
  id?: string;
24207
24657
  connector_config_id?: string | null;
24208
24658
  created_at?: string;
24659
+ credentials_last_fetched?: string | null;
24209
24660
  customer_id?: string | null;
24210
24661
  disabled?: boolean | null;
24211
24662
  display_name?: string | null;
@@ -24292,6 +24743,7 @@ export declare namespace PostConnectResponse {
24292
24743
  id?: string;
24293
24744
  connector_config_id?: string | null;
24294
24745
  created_at?: string;
24746
+ credentials_last_fetched?: string | null;
24295
24747
  customer_id?: string | null;
24296
24748
  disabled?: boolean | null;
24297
24749
  display_name?: string | null;
@@ -24378,6 +24830,7 @@ export declare namespace PostConnectResponse {
24378
24830
  id?: string;
24379
24831
  connector_config_id?: string | null;
24380
24832
  created_at?: string;
24833
+ credentials_last_fetched?: string | null;
24381
24834
  customer_id?: string | null;
24382
24835
  disabled?: boolean | null;
24383
24836
  display_name?: string | null;
@@ -24464,6 +24917,7 @@ export declare namespace PostConnectResponse {
24464
24917
  id?: string;
24465
24918
  connector_config_id?: string | null;
24466
24919
  created_at?: string;
24920
+ credentials_last_fetched?: string | null;
24467
24921
  customer_id?: string | null;
24468
24922
  disabled?: boolean | null;
24469
24923
  display_name?: string | null;
@@ -24550,6 +25004,7 @@ export declare namespace PostConnectResponse {
24550
25004
  id?: string;
24551
25005
  connector_config_id?: string | null;
24552
25006
  created_at?: string;
25007
+ credentials_last_fetched?: string | null;
24553
25008
  customer_id?: string | null;
24554
25009
  disabled?: boolean | null;
24555
25010
  display_name?: string | null;
@@ -24636,6 +25091,7 @@ export declare namespace PostConnectResponse {
24636
25091
  id?: string;
24637
25092
  connector_config_id?: string | null;
24638
25093
  created_at?: string;
25094
+ credentials_last_fetched?: string | null;
24639
25095
  customer_id?: string | null;
24640
25096
  disabled?: boolean | null;
24641
25097
  display_name?: string | null;
@@ -24722,6 +25178,7 @@ export declare namespace PostConnectResponse {
24722
25178
  id?: string;
24723
25179
  connector_config_id?: string | null;
24724
25180
  created_at?: string;
25181
+ credentials_last_fetched?: string | null;
24725
25182
  customer_id?: string | null;
24726
25183
  disabled?: boolean | null;
24727
25184
  display_name?: string | null;
@@ -24808,6 +25265,7 @@ export declare namespace PostConnectResponse {
24808
25265
  id?: string;
24809
25266
  connector_config_id?: string | null;
24810
25267
  created_at?: string;
25268
+ credentials_last_fetched?: string | null;
24811
25269
  customer_id?: string | null;
24812
25270
  disabled?: boolean | null;
24813
25271
  display_name?: string | null;
@@ -24894,6 +25352,7 @@ export declare namespace PostConnectResponse {
24894
25352
  id?: string;
24895
25353
  connector_config_id?: string | null;
24896
25354
  created_at?: string;
25355
+ credentials_last_fetched?: string | null;
24897
25356
  customer_id?: string | null;
24898
25357
  disabled?: boolean | null;
24899
25358
  display_name?: string | null;
@@ -24980,6 +25439,7 @@ export declare namespace PostConnectResponse {
24980
25439
  id?: string;
24981
25440
  connector_config_id?: string | null;
24982
25441
  created_at?: string;
25442
+ credentials_last_fetched?: string | null;
24983
25443
  customer_id?: string | null;
24984
25444
  disabled?: boolean | null;
24985
25445
  display_name?: string | null;
@@ -25066,6 +25526,7 @@ export declare namespace PostConnectResponse {
25066
25526
  id?: string;
25067
25527
  connector_config_id?: string | null;
25068
25528
  created_at?: string;
25529
+ credentials_last_fetched?: string | null;
25069
25530
  customer_id?: string | null;
25070
25531
  disabled?: boolean | null;
25071
25532
  display_name?: string | null;
@@ -25111,6 +25572,14 @@ export declare namespace PostConnectResponse {
25111
25572
  * for backward compatibility until we remove the oauth field
25112
25573
  */
25113
25574
  access_token?: string;
25575
+ /**
25576
+ * Your HubSpot App ID (automatically fetched from access token)
25577
+ */
25578
+ app_id?: number;
25579
+ /**
25580
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
25581
+ */
25582
+ hub_id?: number;
25114
25583
  }
25115
25584
  namespace Settings {
25116
25585
  interface OAuth {
@@ -25152,6 +25621,7 @@ export declare namespace PostConnectResponse {
25152
25621
  id?: string;
25153
25622
  connector_config_id?: string | null;
25154
25623
  created_at?: string;
25624
+ credentials_last_fetched?: string | null;
25155
25625
  customer_id?: string | null;
25156
25626
  disabled?: boolean | null;
25157
25627
  display_name?: string | null;
@@ -25238,6 +25708,7 @@ export declare namespace PostConnectResponse {
25238
25708
  id?: string;
25239
25709
  connector_config_id?: string | null;
25240
25710
  created_at?: string;
25711
+ credentials_last_fetched?: string | null;
25241
25712
  customer_id?: string | null;
25242
25713
  disabled?: boolean | null;
25243
25714
  display_name?: string | null;
@@ -25328,6 +25799,7 @@ export declare namespace PostConnectResponse {
25328
25799
  id?: string;
25329
25800
  connector_config_id?: string | null;
25330
25801
  created_at?: string;
25802
+ credentials_last_fetched?: string | null;
25331
25803
  customer_id?: string | null;
25332
25804
  disabled?: boolean | null;
25333
25805
  display_name?: string | null;
@@ -25414,6 +25886,7 @@ export declare namespace PostConnectResponse {
25414
25886
  id?: string;
25415
25887
  connector_config_id?: string | null;
25416
25888
  created_at?: string;
25889
+ credentials_last_fetched?: string | null;
25417
25890
  customer_id?: string | null;
25418
25891
  disabled?: boolean | null;
25419
25892
  display_name?: string | null;
@@ -25500,6 +25973,7 @@ export declare namespace PostConnectResponse {
25500
25973
  id?: string;
25501
25974
  connector_config_id?: string | null;
25502
25975
  created_at?: string;
25976
+ credentials_last_fetched?: string | null;
25503
25977
  customer_id?: string | null;
25504
25978
  disabled?: boolean | null;
25505
25979
  display_name?: string | null;
@@ -25586,6 +26060,7 @@ export declare namespace PostConnectResponse {
25586
26060
  id?: string;
25587
26061
  connector_config_id?: string | null;
25588
26062
  created_at?: string;
26063
+ credentials_last_fetched?: string | null;
25589
26064
  customer_id?: string | null;
25590
26065
  disabled?: boolean | null;
25591
26066
  display_name?: string | null;
@@ -25672,6 +26147,7 @@ export declare namespace PostConnectResponse {
25672
26147
  id?: string;
25673
26148
  connector_config_id?: string | null;
25674
26149
  created_at?: string;
26150
+ credentials_last_fetched?: string | null;
25675
26151
  customer_id?: string | null;
25676
26152
  disabled?: boolean | null;
25677
26153
  display_name?: string | null;
@@ -25758,6 +26234,7 @@ export declare namespace PostConnectResponse {
25758
26234
  id?: string;
25759
26235
  connector_config_id?: string | null;
25760
26236
  created_at?: string;
26237
+ credentials_last_fetched?: string | null;
25761
26238
  customer_id?: string | null;
25762
26239
  disabled?: boolean | null;
25763
26240
  display_name?: string | null;
@@ -25848,6 +26325,7 @@ export declare namespace PostConnectResponse {
25848
26325
  id?: string;
25849
26326
  connector_config_id?: string | null;
25850
26327
  created_at?: string;
26328
+ credentials_last_fetched?: string | null;
25851
26329
  customer_id?: string | null;
25852
26330
  disabled?: boolean | null;
25853
26331
  display_name?: string | null;
@@ -25934,6 +26412,7 @@ export declare namespace PostConnectResponse {
25934
26412
  id?: string;
25935
26413
  connector_config_id?: string | null;
25936
26414
  created_at?: string;
26415
+ credentials_last_fetched?: string | null;
25937
26416
  customer_id?: string | null;
25938
26417
  disabled?: boolean | null;
25939
26418
  display_name?: string | null;
@@ -26020,6 +26499,7 @@ export declare namespace PostConnectResponse {
26020
26499
  id?: string;
26021
26500
  connector_config_id?: string | null;
26022
26501
  created_at?: string;
26502
+ credentials_last_fetched?: string | null;
26023
26503
  customer_id?: string | null;
26024
26504
  disabled?: boolean | null;
26025
26505
  display_name?: string | null;
@@ -26106,6 +26586,7 @@ export declare namespace PostConnectResponse {
26106
26586
  id?: string;
26107
26587
  connector_config_id?: string | null;
26108
26588
  created_at?: string;
26589
+ credentials_last_fetched?: string | null;
26109
26590
  customer_id?: string | null;
26110
26591
  disabled?: boolean | null;
26111
26592
  display_name?: string | null;
@@ -26197,6 +26678,7 @@ export declare namespace PostConnectResponse {
26197
26678
  id?: string;
26198
26679
  connector_config_id?: string | null;
26199
26680
  created_at?: string;
26681
+ credentials_last_fetched?: string | null;
26200
26682
  customer_id?: string | null;
26201
26683
  disabled?: boolean | null;
26202
26684
  display_name?: string | null;
@@ -26283,6 +26765,7 @@ export declare namespace PostConnectResponse {
26283
26765
  id?: string;
26284
26766
  connector_config_id?: string | null;
26285
26767
  created_at?: string;
26768
+ credentials_last_fetched?: string | null;
26286
26769
  customer_id?: string | null;
26287
26770
  disabled?: boolean | null;
26288
26771
  display_name?: string | null;
@@ -26369,6 +26852,7 @@ export declare namespace PostConnectResponse {
26369
26852
  id?: string;
26370
26853
  connector_config_id?: string | null;
26371
26854
  created_at?: string;
26855
+ credentials_last_fetched?: string | null;
26372
26856
  customer_id?: string | null;
26373
26857
  disabled?: boolean | null;
26374
26858
  display_name?: string | null;
@@ -26455,6 +26939,7 @@ export declare namespace PostConnectResponse {
26455
26939
  id?: string;
26456
26940
  connector_config_id?: string | null;
26457
26941
  created_at?: string;
26942
+ credentials_last_fetched?: string | null;
26458
26943
  customer_id?: string | null;
26459
26944
  disabled?: boolean | null;
26460
26945
  display_name?: string | null;
@@ -26545,6 +27030,7 @@ export declare namespace PostConnectResponse {
26545
27030
  id?: string;
26546
27031
  connector_config_id?: string | null;
26547
27032
  created_at?: string;
27033
+ credentials_last_fetched?: string | null;
26548
27034
  customer_id?: string | null;
26549
27035
  disabled?: boolean | null;
26550
27036
  display_name?: string | null;
@@ -26631,6 +27117,7 @@ export declare namespace PostConnectResponse {
26631
27117
  id?: string;
26632
27118
  connector_config_id?: string | null;
26633
27119
  created_at?: string;
27120
+ credentials_last_fetched?: string | null;
26634
27121
  customer_id?: string | null;
26635
27122
  disabled?: boolean | null;
26636
27123
  display_name?: string | null;
@@ -26678,6 +27165,7 @@ export declare namespace PostConnectResponse {
26678
27165
  id?: string;
26679
27166
  connector_config_id?: string | null;
26680
27167
  created_at?: string;
27168
+ credentials_last_fetched?: string | null;
26681
27169
  customer_id?: string | null;
26682
27170
  disabled?: boolean | null;
26683
27171
  display_name?: string | null;
@@ -26692,7 +27180,7 @@ export declare namespace PostConnectResponse {
26692
27180
  metadata?: {
26693
27181
  [key: string]: unknown;
26694
27182
  } | null;
26695
- public_settings?: unknown;
27183
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
26696
27184
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
26697
27185
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26698
27186
  status_message?: string | null;
@@ -26716,6 +27204,12 @@ export declare namespace PostConnectResponse {
26716
27204
  error?: string;
26717
27205
  }
26718
27206
  }
27207
+ interface PublicSettings {
27208
+ /**
27209
+ * MCP transport type detected during connection
27210
+ */
27211
+ transport_type?: 'streamable-http' | 'sse';
27212
+ }
26719
27213
  interface Settings {
26720
27214
  /**
26721
27215
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -26724,7 +27218,11 @@ export declare namespace PostConnectResponse {
26724
27218
  /**
26725
27219
  * Custom headers to include with every request
26726
27220
  */
26727
- headers: Array<Settings.Header>;
27221
+ headers?: Array<Settings.Header>;
27222
+ /**
27223
+ * OAuth authentication credentials
27224
+ */
27225
+ oauth?: Settings.OAuth;
26728
27226
  }
26729
27227
  namespace Settings {
26730
27228
  interface Header {
@@ -26737,6 +27235,50 @@ export declare namespace PostConnectResponse {
26737
27235
  */
26738
27236
  value: string;
26739
27237
  }
27238
+ /**
27239
+ * OAuth authentication credentials
27240
+ */
27241
+ interface OAuth {
27242
+ client: OAuth.Client;
27243
+ credentials: OAuth.Credentials;
27244
+ metadata: OAuth.Metadata;
27245
+ }
27246
+ namespace OAuth {
27247
+ interface Client {
27248
+ client_id: string;
27249
+ redirect_uris: Array<string>;
27250
+ client_secret?: string;
27251
+ }
27252
+ interface Credentials {
27253
+ access_token: string;
27254
+ token_type: string;
27255
+ expires_at?: string;
27256
+ expires_in?: number;
27257
+ refresh_token?: string;
27258
+ scope?: string;
27259
+ }
27260
+ interface Metadata {
27261
+ authorization_endpoint: string;
27262
+ issuer: string;
27263
+ response_types_supported: Array<string>;
27264
+ token_endpoint: string;
27265
+ code_challenge_methods_supported?: Array<string>;
27266
+ grant_types_supported?: Array<string>;
27267
+ introspection_endpoint?: string;
27268
+ introspection_endpoint_auth_methods_supported?: Array<string>;
27269
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
27270
+ registration_endpoint?: string;
27271
+ response_modes_supported?: Array<string>;
27272
+ revocation_endpoint?: string;
27273
+ revocation_endpoint_auth_methods_supported?: Array<string>;
27274
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
27275
+ scopes_supported?: Array<string>;
27276
+ service_documentation?: string;
27277
+ token_endpoint_auth_methods_supported?: Array<string>;
27278
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
27279
+ [k: string]: unknown;
27280
+ }
27281
+ }
26740
27282
  }
26741
27283
  }
26742
27284
  interface ConnectorDatabricksM2mDiscriminatedConnectionData {
@@ -26744,6 +27286,7 @@ export declare namespace PostConnectResponse {
26744
27286
  id?: string;
26745
27287
  connector_config_id?: string | null;
26746
27288
  created_at?: string;
27289
+ credentials_last_fetched?: string | null;
26747
27290
  customer_id?: string | null;
26748
27291
  disabled?: boolean | null;
26749
27292
  display_name?: string | null;
@@ -26798,6 +27341,26 @@ export declare namespace PostConnectResponse {
26798
27341
  * Server hostname value.
26799
27342
  */
26800
27343
  server_hostname: string;
27344
+ oauth?: Settings.OAuth;
27345
+ }
27346
+ namespace Settings {
27347
+ interface OAuth {
27348
+ credentials?: OAuth.Credentials;
27349
+ }
27350
+ namespace OAuth {
27351
+ interface Credentials {
27352
+ access_token: string;
27353
+ client_id: string;
27354
+ expires_at?: string;
27355
+ expires_in?: number;
27356
+ raw?: {
27357
+ [key: string]: unknown;
27358
+ };
27359
+ refresh_token?: string;
27360
+ scope?: string;
27361
+ token_type?: string;
27362
+ }
27363
+ }
26801
27364
  }
26802
27365
  }
26803
27366
  interface ConnectorPlaidDiscriminatedConnectionData {
@@ -26805,6 +27368,7 @@ export declare namespace PostConnectResponse {
26805
27368
  id?: string;
26806
27369
  connector_config_id?: string | null;
26807
27370
  created_at?: string;
27371
+ credentials_last_fetched?: string | null;
26808
27372
  customer_id?: string | null;
26809
27373
  disabled?: boolean | null;
26810
27374
  display_name?: string | null;
@@ -26857,6 +27421,7 @@ export declare namespace PostConnectResponse {
26857
27421
  id?: string;
26858
27422
  connector_config_id?: string | null;
26859
27423
  created_at?: string;
27424
+ credentials_last_fetched?: string | null;
26860
27425
  customer_id?: string | null;
26861
27426
  disabled?: boolean | null;
26862
27427
  display_name?: string | null;
@@ -26904,6 +27469,7 @@ export declare namespace PostConnectResponse {
26904
27469
  id?: string;
26905
27470
  connector_config_id?: string | null;
26906
27471
  created_at?: string;
27472
+ credentials_last_fetched?: string | null;
26907
27473
  customer_id?: string | null;
26908
27474
  disabled?: boolean | null;
26909
27475
  display_name?: string | null;
@@ -26955,6 +27521,7 @@ export declare namespace PostConnectResponse {
26955
27521
  id?: string;
26956
27522
  connector_config_id?: string | null;
26957
27523
  created_at?: string;
27524
+ credentials_last_fetched?: string | null;
26958
27525
  customer_id?: string | null;
26959
27526
  disabled?: boolean | null;
26960
27527
  display_name?: string | null;
@@ -27006,6 +27573,7 @@ export declare namespace PostConnectResponse {
27006
27573
  id?: string;
27007
27574
  connector_config_id?: string | null;
27008
27575
  created_at?: string;
27576
+ credentials_last_fetched?: string | null;
27009
27577
  customer_id?: string | null;
27010
27578
  disabled?: boolean | null;
27011
27579
  display_name?: string | null;
@@ -27056,6 +27624,7 @@ export declare namespace PostConnectResponse {
27056
27624
  id?: string;
27057
27625
  connector_config_id?: string | null;
27058
27626
  created_at?: string;
27627
+ credentials_last_fetched?: string | null;
27059
27628
  customer_id?: string | null;
27060
27629
  disabled?: boolean | null;
27061
27630
  display_name?: string | null;
@@ -27217,6 +27786,7 @@ export declare namespace PostConnectResponse {
27217
27786
  id?: string;
27218
27787
  connector_config_id?: string | null;
27219
27788
  created_at?: string;
27789
+ credentials_last_fetched?: string | null;
27220
27790
  customer_id?: string | null;
27221
27791
  disabled?: boolean | null;
27222
27792
  display_name?: string | null;
@@ -27313,6 +27883,7 @@ export declare namespace PostConnectResponse {
27313
27883
  id?: string;
27314
27884
  connector_config_id?: string | null;
27315
27885
  created_at?: string;
27886
+ credentials_last_fetched?: string | null;
27316
27887
  customer_id?: string | null;
27317
27888
  disabled?: boolean | null;
27318
27889
  display_name?: string | null;
@@ -27399,6 +27970,7 @@ export declare namespace PostConnectResponse {
27399
27970
  id?: string;
27400
27971
  connector_config_id?: string | null;
27401
27972
  created_at?: string;
27973
+ credentials_last_fetched?: string | null;
27402
27974
  customer_id?: string | null;
27403
27975
  disabled?: boolean | null;
27404
27976
  display_name?: string | null;
@@ -27452,6 +28024,7 @@ export declare namespace PostConnectResponse {
27452
28024
  id?: string;
27453
28025
  connector_config_id?: string | null;
27454
28026
  created_at?: string;
28027
+ credentials_last_fetched?: string | null;
27455
28028
  customer_id?: string | null;
27456
28029
  disabled?: boolean | null;
27457
28030
  display_name?: string | null;
@@ -28155,32 +28728,42 @@ export declare namespace PreConnectResponse {
28155
28728
  connector_name: 'apollo';
28156
28729
  }
28157
28730
  interface ConnectorCustomMcpDiscriminatedConnectInput {
28158
- connect_input: ConnectorCustomMcpDiscriminatedConnectInput.ConnectInput;
28731
+ connect_input: ConnectorCustomMcpDiscriminatedConnectInput.UnionMember0 | ConnectorCustomMcpDiscriminatedConnectInput.UnionMember1;
28159
28732
  connector_name: 'custom-mcp';
28160
28733
  }
28161
28734
  namespace ConnectorCustomMcpDiscriminatedConnectInput {
28162
- interface ConnectInput {
28163
- /**
28164
- * Base URL of the MCP server (e.g., https://mcp.example.com)
28165
- */
28166
- base_url: string;
28167
- /**
28168
- * Custom headers to include with every request
28169
- */
28170
- headers: Array<ConnectInput.Header>;
28735
+ interface UnionMember0 {
28736
+ flow: 'manual';
28737
+ validated: UnionMember0.Validated;
28171
28738
  }
28172
- namespace ConnectInput {
28173
- interface Header {
28739
+ namespace UnionMember0 {
28740
+ interface Validated {
28174
28741
  /**
28175
- * Header name (e.g., Authorization, X-API-Key)
28742
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
28176
28743
  */
28177
- key: string;
28178
- /**
28179
- * Header value (securely stored)
28180
- */
28181
- value: string;
28744
+ base_url: string;
28745
+ display_name: string;
28746
+ headers: Array<Validated.Header>;
28747
+ }
28748
+ namespace Validated {
28749
+ interface Header {
28750
+ /**
28751
+ * Header name (e.g., Authorization, X-API-Key)
28752
+ */
28753
+ key: string;
28754
+ /**
28755
+ * Header value (securely stored)
28756
+ */
28757
+ value: string;
28758
+ }
28182
28759
  }
28183
28760
  }
28761
+ interface UnionMember1 {
28762
+ authorization_url: string;
28763
+ flow: 'oauth';
28764
+ message: string;
28765
+ state: string;
28766
+ }
28184
28767
  }
28185
28768
  interface ConnectorDatabricksM2mDiscriminatedConnectInput {
28186
28769
  connect_input: ConnectorDatabricksM2mDiscriminatedConnectInput.ConnectInput;
@@ -30016,14 +30599,19 @@ export declare namespace UpsertConnnectorConfigResponse {
30016
30599
  }
30017
30600
  namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30018
30601
  interface Config {
30019
- /**
30020
- * OAuth2 client ID for Databricks
30021
- */
30022
- client_id: string;
30023
- /**
30024
- * OAuth2 client secret for Databricks
30025
- */
30026
- client_secret: string;
30602
+ oauth: Config.OAuth;
30603
+ }
30604
+ namespace Config {
30605
+ interface OAuth {
30606
+ /**
30607
+ * OAuth2 client ID for Databricks
30608
+ */
30609
+ client_id: string;
30610
+ /**
30611
+ * OAuth2 client secret for Databricks
30612
+ */
30613
+ client_secret: string;
30614
+ }
30027
30615
  }
30028
30616
  }
30029
30617
  interface ConnectorPlaidDiscriminatedConnectorConfig {
@@ -31480,6 +32068,14 @@ export declare namespace CreateConnectionParams {
31480
32068
  * for backward compatibility until we remove the oauth field
31481
32069
  */
31482
32070
  access_token?: string;
32071
+ /**
32072
+ * Your HubSpot App ID (automatically fetched from access token)
32073
+ */
32074
+ app_id?: number;
32075
+ /**
32076
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
32077
+ */
32078
+ hub_id?: number;
31483
32079
  }
31484
32080
  namespace Settings {
31485
32081
  interface OAuth {
@@ -32372,6 +32968,10 @@ export declare namespace CreateConnectionParams {
32372
32968
  * Custom headers to include with every request
32373
32969
  */
32374
32970
  headers?: Array<Settings.Header>;
32971
+ /**
32972
+ * OAuth authentication credentials
32973
+ */
32974
+ oauth?: Settings.OAuth;
32375
32975
  }
32376
32976
  namespace Settings {
32377
32977
  interface Header {
@@ -32384,6 +32984,50 @@ export declare namespace CreateConnectionParams {
32384
32984
  */
32385
32985
  value: string;
32386
32986
  }
32987
+ /**
32988
+ * OAuth authentication credentials
32989
+ */
32990
+ interface OAuth {
32991
+ client: OAuth.Client;
32992
+ credentials: OAuth.Credentials;
32993
+ metadata: OAuth.Metadata;
32994
+ }
32995
+ namespace OAuth {
32996
+ interface Client {
32997
+ client_id: string;
32998
+ redirect_uris: Array<string>;
32999
+ client_secret?: string;
33000
+ }
33001
+ interface Credentials {
33002
+ access_token: string;
33003
+ expires_at?: string;
33004
+ expires_in?: number;
33005
+ refresh_token?: string;
33006
+ scope?: string;
33007
+ token_type?: string;
33008
+ }
33009
+ interface Metadata {
33010
+ authorization_endpoint: string;
33011
+ issuer: string;
33012
+ response_types_supported: Array<string>;
33013
+ token_endpoint: string;
33014
+ code_challenge_methods_supported?: Array<string>;
33015
+ grant_types_supported?: Array<string>;
33016
+ introspection_endpoint?: string;
33017
+ introspection_endpoint_auth_methods_supported?: Array<string>;
33018
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
33019
+ registration_endpoint?: string;
33020
+ response_modes_supported?: Array<string>;
33021
+ revocation_endpoint?: string;
33022
+ revocation_endpoint_auth_methods_supported?: Array<string>;
33023
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
33024
+ scopes_supported?: Array<string>;
33025
+ service_documentation?: string;
33026
+ token_endpoint_auth_methods_supported?: Array<string>;
33027
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
33028
+ [k: string]: unknown;
33029
+ }
33030
+ }
32387
33031
  }
32388
33032
  }
32389
33033
  interface ConnectorDatabricksM2mDiscriminatedConnectionSettings {
@@ -32407,6 +33051,26 @@ export declare namespace CreateConnectionParams {
32407
33051
  * Server hostname value.
32408
33052
  */
32409
33053
  server_hostname: string;
33054
+ oauth?: Settings.OAuth;
33055
+ }
33056
+ namespace Settings {
33057
+ interface OAuth {
33058
+ credentials?: OAuth.Credentials;
33059
+ }
33060
+ namespace OAuth {
33061
+ interface Credentials {
33062
+ access_token: string;
33063
+ client_id: string;
33064
+ expires_at?: string;
33065
+ expires_in?: number;
33066
+ raw?: {
33067
+ [key: string]: unknown;
33068
+ };
33069
+ refresh_token?: string;
33070
+ scope?: string;
33071
+ token_type?: string;
33072
+ }
33073
+ }
32410
33074
  }
32411
33075
  }
32412
33076
  interface ConnectorPlaidDiscriminatedConnectionSettings {
@@ -32747,6 +33411,10 @@ export declare namespace CreateTokenParams {
32747
33411
  * loads. Only works when view is "add" and the connector is available.
32748
33412
  */
32749
33413
  auto_connect?: 'acme-apikey' | 'acme-oauth2' | 'agentmail' | 'apollo' | 'asana' | 'bigquery' | 'bitbucket' | 'bitbucket-source-control' | 'box' | 'calendly' | 'clickup' | 'confluence' | 'custom-mcp' | 'databricks' | 'databricks-m2m' | 'discord' | 'dropbox' | 'figma' | 'github' | 'github-source-control' | 'gitlab-source-control' | 'google-calendar' | 'google-docs' | 'google-drive' | 'google-mail' | 'google-sheet' | 'google-slides' | 'hubspot' | 'instagram' | 'jira' | 'linear' | 'monday' | 'notion' | 'onedrive' | 'outlook' | 'plaid' | 'postgres' | 'resend' | 'salesforce' | 'sendgrid' | 'sharepoint' | 'slack' | 'slack-agent' | 'slack-agent-builder' | 'slack-deployed-agent' | 'snowflake' | 'spotify' | 'stripe' | 'stripe-agent-sandbox' | 'todoist' | 'twilio' | 'workato' | 'youtube' | 'zendesk' | 'zoom';
33414
+ /**
33415
+ * Optional external ID for reconnecting to an existing connection
33416
+ */
33417
+ connection_external_id?: string;
32750
33418
  /**
32751
33419
  * The names of the connectors to show in the connect page. If not provided, all
32752
33420
  * connectors will be shown
@@ -32766,6 +33434,16 @@ export declare namespace CreateTokenParams {
32766
33434
  * context for the end user (customer) on the organization
32767
33435
  */
32768
33436
  is_embedded?: boolean;
33437
+ /**
33438
+ * JSON encoded payload used to optionally prefill connector flows.
33439
+ */
33440
+ prefill?: string;
33441
+ /**
33442
+ * Optional Repl ID to assign the newly created connection to. If provided, the
33443
+ * connection will be automatically assigned to this repl after successful
33444
+ * authentication.
33445
+ */
33446
+ repl_id?: string;
32769
33447
  /**
32770
33448
  * Optional URL to return customers after adding a connection or if they press the
32771
33449
  * Return To Organization button
@@ -34057,25 +34735,32 @@ export declare namespace PostConnectParams {
34057
34735
  }
34058
34736
  namespace ConnectorCustomMcpDiscriminatedConnectOutput {
34059
34737
  interface ConnectOutput {
34060
- /**
34061
- * Base URL of the MCP server (e.g., https://mcp.example.com)
34062
- */
34063
- base_url: string;
34064
- /**
34065
- * Custom headers to include with every request
34066
- */
34067
- headers?: Array<ConnectOutput.Header>;
34738
+ code?: string;
34739
+ code_verifier?: string;
34740
+ mode?: 'manual' | 'oauth';
34741
+ settings?: ConnectOutput.Settings;
34742
+ state?: string;
34068
34743
  }
34069
34744
  namespace ConnectOutput {
34070
- interface Header {
34745
+ interface Settings {
34071
34746
  /**
34072
- * Header name (e.g., Authorization, X-API-Key)
34747
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
34073
34748
  */
34074
- key: string;
34075
- /**
34076
- * Header value (securely stored)
34077
- */
34078
- value: string;
34749
+ base_url: string;
34750
+ display_name: string;
34751
+ headers?: Array<Settings.Header>;
34752
+ }
34753
+ namespace Settings {
34754
+ interface Header {
34755
+ /**
34756
+ * Header name (e.g., Authorization, X-API-Key)
34757
+ */
34758
+ key: string;
34759
+ /**
34760
+ * Header value (securely stored)
34761
+ */
34762
+ value: string;
34763
+ }
34079
34764
  }
34080
34765
  }
34081
34766
  }
@@ -34300,13 +34985,61 @@ export declare namespace PostConnectParams {
34300
34985
  }
34301
34986
  }
34302
34987
  interface Options {
34303
- connectionExternalId?: string | number | null;
34304
- integrationExternalId?: string | number | null;
34305
34988
  /**
34306
- * Must start with 'int\_'
34989
+ * Automatically trigger connection flow for the specified connector when the page
34990
+ * loads. Only works when view is "add" and the connector is available.
34307
34991
  */
34308
- integrationId?: string | null;
34309
- syncInBand?: boolean | null;
34992
+ auto_connect?: 'acme-apikey' | 'acme-oauth2' | 'agentmail' | 'apollo' | 'asana' | 'bigquery' | 'bitbucket' | 'bitbucket-source-control' | 'box' | 'calendly' | 'clickup' | 'confluence' | 'custom-mcp' | 'databricks' | 'databricks-m2m' | 'discord' | 'dropbox' | 'figma' | 'github' | 'github-source-control' | 'gitlab-source-control' | 'google-calendar' | 'google-docs' | 'google-drive' | 'google-mail' | 'google-sheet' | 'google-slides' | 'hubspot' | 'instagram' | 'jira' | 'linear' | 'monday' | 'notion' | 'onedrive' | 'outlook' | 'plaid' | 'postgres' | 'resend' | 'salesforce' | 'sendgrid' | 'sharepoint' | 'slack' | 'slack-agent' | 'slack-agent-builder' | 'slack-deployed-agent' | 'snowflake' | 'spotify' | 'stripe' | 'stripe-agent-sandbox' | 'todoist' | 'twilio' | 'workato' | 'youtube' | 'zendesk' | 'zoom';
34993
+ /**
34994
+ * Optional external ID for reconnecting to an existing connection
34995
+ */
34996
+ connection_external_id?: string;
34997
+ /**
34998
+ * The names of the connectors to show in the connect page. If not provided, all
34999
+ * connectors will be shown
35000
+ */
35001
+ connector_names?: Array<'acme-apikey' | 'acme-oauth2' | 'agentmail' | 'apollo' | 'asana' | 'bigquery' | 'bitbucket' | 'bitbucket-source-control' | 'box' | 'calendly' | 'clickup' | 'confluence' | 'custom-mcp' | 'databricks' | 'databricks-m2m' | 'discord' | 'dropbox' | 'figma' | 'github' | 'github-source-control' | 'gitlab-source-control' | 'google-calendar' | 'google-docs' | 'google-drive' | 'google-mail' | 'google-sheet' | 'google-slides' | 'hubspot' | 'instagram' | 'jira' | 'linear' | 'monday' | 'notion' | 'onedrive' | 'outlook' | 'plaid' | 'postgres' | 'resend' | 'salesforce' | 'sendgrid' | 'sharepoint' | 'slack' | 'slack-agent' | 'slack-agent-builder' | 'slack-deployed-agent' | 'snowflake' | 'spotify' | 'stripe' | 'stripe-agent-sandbox' | 'todoist' | 'twilio' | 'workato' | 'youtube' | 'zendesk' | 'zoom'>;
35002
+ /**
35003
+ * Whether to enable debug mode
35004
+ */
35005
+ debug?: boolean;
35006
+ /**
35007
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
35008
+ * particular view.
35009
+ */
35010
+ hide_navigation?: boolean;
35011
+ integration_id?: string;
35012
+ /**
35013
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
35014
+ * context for the end user (customer) on the organization
35015
+ */
35016
+ is_embedded?: boolean;
35017
+ /**
35018
+ * JSON encoded payload used to optionally prefill connector flows.
35019
+ */
35020
+ prefill?: string;
35021
+ /**
35022
+ * Optional Repl ID to assign the newly created connection to. If provided, the
35023
+ * connection will be automatically assigned to this repl after successful
35024
+ * authentication.
35025
+ */
35026
+ repl_id?: string;
35027
+ /**
35028
+ * Optional URL to return customers after adding a connection or if they press the
35029
+ * Return To Organization button
35030
+ */
35031
+ return_url?: string;
35032
+ sync_in_band?: boolean;
35033
+ /**
35034
+ * The theme to use for the connect page. Defaults to light if not specified.
35035
+ */
35036
+ theme?: 'light' | 'dark';
35037
+ /**
35038
+ * The default view to show when the magic link is opened. If omitted, by default
35039
+ * it will smartly load the right view based on whether the user has connections or
35040
+ * not
35041
+ */
35042
+ view?: 'add' | 'manage';
34310
35043
  }
34311
35044
  }
34312
35045
  export interface PreConfigureConnectorParams {
@@ -34374,16 +35107,7 @@ export declare namespace PreConnectParams {
34374
35107
  }
34375
35108
  interface ConnectorConfluenceDiscriminatedPreConnectInput {
34376
35109
  connector_name: 'confluence';
34377
- pre_connect_input: ConnectorConfluenceDiscriminatedPreConnectInput.PreConnectInput;
34378
- }
34379
- namespace ConnectorConfluenceDiscriminatedPreConnectInput {
34380
- interface PreConnectInput {
34381
- /**
34382
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
34383
- * this in your browser when logged into Confluence.
34384
- */
34385
- site_url: string;
34386
- }
35110
+ pre_connect_input: unknown;
34387
35111
  }
34388
35112
  interface ConnectorDatabricksDiscriminatedPreConnectInput {
34389
35113
  connector_name: 'databricks';
@@ -34462,16 +35186,7 @@ export declare namespace PreConnectParams {
34462
35186
  }
34463
35187
  interface ConnectorJiraDiscriminatedPreConnectInput {
34464
35188
  connector_name: 'jira';
34465
- pre_connect_input: ConnectorJiraDiscriminatedPreConnectInput.PreConnectInput;
34466
- }
34467
- namespace ConnectorJiraDiscriminatedPreConnectInput {
34468
- interface PreConnectInput {
34469
- /**
34470
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
34471
- * this in your browser when logged into Jira.
34472
- */
34473
- site_url: string;
34474
- }
35189
+ pre_connect_input: unknown;
34475
35190
  }
34476
35191
  interface ConnectorLinearDiscriminatedPreConnectInput {
34477
35192
  connector_name: 'linear';
@@ -34557,7 +35272,29 @@ export declare namespace PreConnectParams {
34557
35272
  }
34558
35273
  interface ConnectorCustomMcpDiscriminatedPreConnectInput {
34559
35274
  connector_name: 'custom-mcp';
34560
- pre_connect_input: unknown;
35275
+ pre_connect_input: ConnectorCustomMcpDiscriminatedPreConnectInput.PreConnectInput;
35276
+ }
35277
+ namespace ConnectorCustomMcpDiscriminatedPreConnectInput {
35278
+ interface PreConnectInput {
35279
+ /**
35280
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
35281
+ */
35282
+ base_url: string;
35283
+ display_name: string;
35284
+ headers?: Array<PreConnectInput.Header>;
35285
+ }
35286
+ namespace PreConnectInput {
35287
+ interface Header {
35288
+ /**
35289
+ * Header name (e.g., Authorization, X-API-Key)
35290
+ */
35291
+ key: string;
35292
+ /**
35293
+ * Header value (securely stored)
35294
+ */
35295
+ value: string;
35296
+ }
35297
+ }
34561
35298
  }
34562
35299
  interface ConnectorDatabricksM2mDiscriminatedPreConnectInput {
34563
35300
  connector_name: 'databricks-m2m';
@@ -34657,8 +35394,59 @@ export declare namespace PreConnectParams {
34657
35394
  pre_connect_input: unknown;
34658
35395
  }
34659
35396
  interface Options {
34660
- connectionExternalId?: string | number | null;
34661
- integrationExternalId?: string | number | null;
35397
+ /**
35398
+ * Automatically trigger connection flow for the specified connector when the page
35399
+ * loads. Only works when view is "add" and the connector is available.
35400
+ */
35401
+ auto_connect?: 'acme-apikey' | 'acme-oauth2' | 'agentmail' | 'apollo' | 'asana' | 'bigquery' | 'bitbucket' | 'bitbucket-source-control' | 'box' | 'calendly' | 'clickup' | 'confluence' | 'custom-mcp' | 'databricks' | 'databricks-m2m' | 'discord' | 'dropbox' | 'figma' | 'github' | 'github-source-control' | 'gitlab-source-control' | 'google-calendar' | 'google-docs' | 'google-drive' | 'google-mail' | 'google-sheet' | 'google-slides' | 'hubspot' | 'instagram' | 'jira' | 'linear' | 'monday' | 'notion' | 'onedrive' | 'outlook' | 'plaid' | 'postgres' | 'resend' | 'salesforce' | 'sendgrid' | 'sharepoint' | 'slack' | 'slack-agent' | 'slack-agent-builder' | 'slack-deployed-agent' | 'snowflake' | 'spotify' | 'stripe' | 'stripe-agent-sandbox' | 'todoist' | 'twilio' | 'workato' | 'youtube' | 'zendesk' | 'zoom';
35402
+ /**
35403
+ * Optional external ID for reconnecting to an existing connection
35404
+ */
35405
+ connection_external_id?: string;
35406
+ /**
35407
+ * The names of the connectors to show in the connect page. If not provided, all
35408
+ * connectors will be shown
35409
+ */
35410
+ connector_names?: Array<'acme-apikey' | 'acme-oauth2' | 'agentmail' | 'apollo' | 'asana' | 'bigquery' | 'bitbucket' | 'bitbucket-source-control' | 'box' | 'calendly' | 'clickup' | 'confluence' | 'custom-mcp' | 'databricks' | 'databricks-m2m' | 'discord' | 'dropbox' | 'figma' | 'github' | 'github-source-control' | 'gitlab-source-control' | 'google-calendar' | 'google-docs' | 'google-drive' | 'google-mail' | 'google-sheet' | 'google-slides' | 'hubspot' | 'instagram' | 'jira' | 'linear' | 'monday' | 'notion' | 'onedrive' | 'outlook' | 'plaid' | 'postgres' | 'resend' | 'salesforce' | 'sendgrid' | 'sharepoint' | 'slack' | 'slack-agent' | 'slack-agent-builder' | 'slack-deployed-agent' | 'snowflake' | 'spotify' | 'stripe' | 'stripe-agent-sandbox' | 'todoist' | 'twilio' | 'workato' | 'youtube' | 'zendesk' | 'zoom'>;
35411
+ /**
35412
+ * Whether to enable debug mode
35413
+ */
35414
+ debug?: boolean;
35415
+ /**
35416
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
35417
+ * particular view.
35418
+ */
35419
+ hide_navigation?: boolean;
35420
+ /**
35421
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
35422
+ * context for the end user (customer) on the organization
35423
+ */
35424
+ is_embedded?: boolean;
35425
+ /**
35426
+ * JSON encoded payload used to optionally prefill connector flows.
35427
+ */
35428
+ prefill?: string;
35429
+ /**
35430
+ * Optional Repl ID to assign the newly created connection to. If provided, the
35431
+ * connection will be automatically assigned to this repl after successful
35432
+ * authentication.
35433
+ */
35434
+ repl_id?: string;
35435
+ /**
35436
+ * Optional URL to return customers after adding a connection or if they press the
35437
+ * Return To Organization button
35438
+ */
35439
+ return_url?: string;
35440
+ /**
35441
+ * The theme to use for the connect page. Defaults to light if not specified.
35442
+ */
35443
+ theme?: 'light' | 'dark';
35444
+ /**
35445
+ * The default view to show when the magic link is opened. If omitted, by default
35446
+ * it will smartly load the right view based on whether the user has connections or
35447
+ * not
35448
+ */
35449
+ view?: 'add' | 'manage';
34662
35450
  }
34663
35451
  }
34664
35452
  export interface UpsertConnnectorConfigParams {