@replit/connectors 0.11.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.
@@ -20,6 +20,8 @@ export interface Connector {
20
20
 
21
21
  auth_type?: 'BASIC' | 'OAUTH1' | 'OAUTH2' | 'OAUTH2CC' | 'API_KEY' | 'CUSTOM';
22
22
 
23
+ connect_ui?: Connector.ConnectUi;
24
+
23
25
  display_name?: string;
24
26
 
25
27
  has_openint_credentials?: boolean;
@@ -44,6 +46,12 @@ export interface Connector {
44
46
  }
45
47
 
46
48
  export namespace Connector {
49
+ export interface ConnectUi {
50
+ flow?: string;
51
+
52
+ pre_connect_input?: string;
53
+ }
54
+
47
55
  export interface Schemas {
48
56
  connect_input?: unknown;
49
57
 
@@ -91,6 +99,7 @@ export interface Integration {
91
99
  | 'confluence'
92
100
  | 'custom-mcp'
93
101
  | 'databricks'
102
+ | 'databricks-m2m'
94
103
  | 'discord'
95
104
  | 'dropbox'
96
105
  | 'figma'
@@ -232,6 +241,7 @@ export type CreateConnectionResponse =
232
241
  | CreateConnectionResponse.ConnectorZoomDiscriminatedConnectionData
233
242
  | CreateConnectionResponse.ConnectorApolloDiscriminatedConnectionData
234
243
  | CreateConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionData
244
+ | CreateConnectionResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
235
245
  | CreateConnectionResponse.ConnectorPlaidDiscriminatedConnectionData
236
246
  | CreateConnectionResponse.ConnectorPostgresDiscriminatedConnectionData
237
247
  | CreateConnectionResponse.ConnectorResendDiscriminatedConnectionData
@@ -255,6 +265,8 @@ export namespace CreateConnectionResponse {
255
265
 
256
266
  created_at?: string;
257
267
 
268
+ credentials_last_fetched?: string | null;
269
+
258
270
  customer_id?: string | null;
259
271
 
260
272
  disabled?: boolean | null;
@@ -324,6 +336,8 @@ export namespace CreateConnectionResponse {
324
336
 
325
337
  created_at?: string;
326
338
 
339
+ credentials_last_fetched?: string | null;
340
+
327
341
  customer_id?: string | null;
328
342
 
329
343
  disabled?: boolean | null;
@@ -442,6 +456,8 @@ export namespace CreateConnectionResponse {
442
456
 
443
457
  created_at?: string;
444
458
 
459
+ credentials_last_fetched?: string | null;
460
+
445
461
  customer_id?: string | null;
446
462
 
447
463
  disabled?: boolean | null;
@@ -511,6 +527,8 @@ export namespace CreateConnectionResponse {
511
527
 
512
528
  created_at?: string;
513
529
 
530
+ credentials_last_fetched?: string | null;
531
+
514
532
  customer_id?: string | null;
515
533
 
516
534
  disabled?: boolean | null;
@@ -629,6 +647,8 @@ export namespace CreateConnectionResponse {
629
647
 
630
648
  created_at?: string;
631
649
 
650
+ credentials_last_fetched?: string | null;
651
+
632
652
  customer_id?: string | null;
633
653
 
634
654
  disabled?: boolean | null;
@@ -753,6 +773,8 @@ export namespace CreateConnectionResponse {
753
773
 
754
774
  created_at?: string;
755
775
 
776
+ credentials_last_fetched?: string | null;
777
+
756
778
  customer_id?: string | null;
757
779
 
758
780
  disabled?: boolean | null;
@@ -871,6 +893,8 @@ export namespace CreateConnectionResponse {
871
893
 
872
894
  created_at?: string;
873
895
 
896
+ credentials_last_fetched?: string | null;
897
+
874
898
  customer_id?: string | null;
875
899
 
876
900
  disabled?: boolean | null;
@@ -989,6 +1013,8 @@ export namespace CreateConnectionResponse {
989
1013
 
990
1014
  created_at?: string;
991
1015
 
1016
+ credentials_last_fetched?: string | null;
1017
+
992
1018
  customer_id?: string | null;
993
1019
 
994
1020
  disabled?: boolean | null;
@@ -1107,6 +1133,8 @@ export namespace CreateConnectionResponse {
1107
1133
 
1108
1134
  created_at?: string;
1109
1135
 
1136
+ credentials_last_fetched?: string | null;
1137
+
1110
1138
  customer_id?: string | null;
1111
1139
 
1112
1140
  disabled?: boolean | null;
@@ -1225,6 +1253,8 @@ export namespace CreateConnectionResponse {
1225
1253
 
1226
1254
  created_at?: string;
1227
1255
 
1256
+ credentials_last_fetched?: string | null;
1257
+
1228
1258
  customer_id?: string | null;
1229
1259
 
1230
1260
  disabled?: boolean | null;
@@ -1343,6 +1373,8 @@ export namespace CreateConnectionResponse {
1343
1373
 
1344
1374
  created_at?: string;
1345
1375
 
1376
+ credentials_last_fetched?: string | null;
1377
+
1346
1378
  customer_id?: string | null;
1347
1379
 
1348
1380
  disabled?: boolean | null;
@@ -1466,6 +1498,8 @@ export namespace CreateConnectionResponse {
1466
1498
 
1467
1499
  created_at?: string;
1468
1500
 
1501
+ credentials_last_fetched?: string | null;
1502
+
1469
1503
  customer_id?: string | null;
1470
1504
 
1471
1505
  disabled?: boolean | null;
@@ -1597,6 +1631,8 @@ export namespace CreateConnectionResponse {
1597
1631
 
1598
1632
  created_at?: string;
1599
1633
 
1634
+ credentials_last_fetched?: string | null;
1635
+
1600
1636
  customer_id?: string | null;
1601
1637
 
1602
1638
  disabled?: boolean | null;
@@ -1715,6 +1751,8 @@ export namespace CreateConnectionResponse {
1715
1751
 
1716
1752
  created_at?: string;
1717
1753
 
1754
+ credentials_last_fetched?: string | null;
1755
+
1718
1756
  customer_id?: string | null;
1719
1757
 
1720
1758
  disabled?: boolean | null;
@@ -1833,6 +1871,8 @@ export namespace CreateConnectionResponse {
1833
1871
 
1834
1872
  created_at?: string;
1835
1873
 
1874
+ credentials_last_fetched?: string | null;
1875
+
1836
1876
  customer_id?: string | null;
1837
1877
 
1838
1878
  disabled?: boolean | null;
@@ -1951,6 +1991,8 @@ export namespace CreateConnectionResponse {
1951
1991
 
1952
1992
  created_at?: string;
1953
1993
 
1994
+ credentials_last_fetched?: string | null;
1995
+
1954
1996
  customer_id?: string | null;
1955
1997
 
1956
1998
  disabled?: boolean | null;
@@ -2069,6 +2111,8 @@ export namespace CreateConnectionResponse {
2069
2111
 
2070
2112
  created_at?: string;
2071
2113
 
2114
+ credentials_last_fetched?: string | null;
2115
+
2072
2116
  customer_id?: string | null;
2073
2117
 
2074
2118
  disabled?: boolean | null;
@@ -2187,6 +2231,8 @@ export namespace CreateConnectionResponse {
2187
2231
 
2188
2232
  created_at?: string;
2189
2233
 
2234
+ credentials_last_fetched?: string | null;
2235
+
2190
2236
  customer_id?: string | null;
2191
2237
 
2192
2238
  disabled?: boolean | null;
@@ -2305,6 +2351,8 @@ export namespace CreateConnectionResponse {
2305
2351
 
2306
2352
  created_at?: string;
2307
2353
 
2354
+ credentials_last_fetched?: string | null;
2355
+
2308
2356
  customer_id?: string | null;
2309
2357
 
2310
2358
  disabled?: boolean | null;
@@ -2423,6 +2471,8 @@ export namespace CreateConnectionResponse {
2423
2471
 
2424
2472
  created_at?: string;
2425
2473
 
2474
+ credentials_last_fetched?: string | null;
2475
+
2426
2476
  customer_id?: string | null;
2427
2477
 
2428
2478
  disabled?: boolean | null;
@@ -2541,6 +2591,8 @@ export namespace CreateConnectionResponse {
2541
2591
 
2542
2592
  created_at?: string;
2543
2593
 
2594
+ credentials_last_fetched?: string | null;
2595
+
2544
2596
  customer_id?: string | null;
2545
2597
 
2546
2598
  disabled?: boolean | null;
@@ -2659,6 +2711,8 @@ export namespace CreateConnectionResponse {
2659
2711
 
2660
2712
  created_at?: string;
2661
2713
 
2714
+ credentials_last_fetched?: string | null;
2715
+
2662
2716
  customer_id?: string | null;
2663
2717
 
2664
2718
  disabled?: boolean | null;
@@ -2777,6 +2831,8 @@ export namespace CreateConnectionResponse {
2777
2831
 
2778
2832
  created_at?: string;
2779
2833
 
2834
+ credentials_last_fetched?: string | null;
2835
+
2780
2836
  customer_id?: string | null;
2781
2837
 
2782
2838
  disabled?: boolean | null;
@@ -2895,6 +2951,8 @@ export namespace CreateConnectionResponse {
2895
2951
 
2896
2952
  created_at?: string;
2897
2953
 
2954
+ credentials_last_fetched?: string | null;
2955
+
2898
2956
  customer_id?: string | null;
2899
2957
 
2900
2958
  disabled?: boolean | null;
@@ -3013,6 +3071,8 @@ export namespace CreateConnectionResponse {
3013
3071
 
3014
3072
  created_at?: string;
3015
3073
 
3074
+ credentials_last_fetched?: string | null;
3075
+
3016
3076
  customer_id?: string | null;
3017
3077
 
3018
3078
  disabled?: boolean | null;
@@ -3074,6 +3134,16 @@ export namespace CreateConnectionResponse {
3074
3134
  * for backward compatibility until we remove the oauth field
3075
3135
  */
3076
3136
  access_token?: string;
3137
+
3138
+ /**
3139
+ * Your HubSpot App ID (automatically fetched from access token)
3140
+ */
3141
+ app_id?: number;
3142
+
3143
+ /**
3144
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
3145
+ */
3146
+ hub_id?: number;
3077
3147
  }
3078
3148
 
3079
3149
  export namespace Settings {
@@ -3131,6 +3201,8 @@ export namespace CreateConnectionResponse {
3131
3201
 
3132
3202
  created_at?: string;
3133
3203
 
3204
+ credentials_last_fetched?: string | null;
3205
+
3134
3206
  customer_id?: string | null;
3135
3207
 
3136
3208
  disabled?: boolean | null;
@@ -3249,6 +3321,8 @@ export namespace CreateConnectionResponse {
3249
3321
 
3250
3322
  created_at?: string;
3251
3323
 
3324
+ credentials_last_fetched?: string | null;
3325
+
3252
3326
  customer_id?: string | null;
3253
3327
 
3254
3328
  disabled?: boolean | null;
@@ -3372,6 +3446,8 @@ export namespace CreateConnectionResponse {
3372
3446
 
3373
3447
  created_at?: string;
3374
3448
 
3449
+ credentials_last_fetched?: string | null;
3450
+
3375
3451
  customer_id?: string | null;
3376
3452
 
3377
3453
  disabled?: boolean | null;
@@ -3490,6 +3566,8 @@ export namespace CreateConnectionResponse {
3490
3566
 
3491
3567
  created_at?: string;
3492
3568
 
3569
+ credentials_last_fetched?: string | null;
3570
+
3493
3571
  customer_id?: string | null;
3494
3572
 
3495
3573
  disabled?: boolean | null;
@@ -3608,6 +3686,8 @@ export namespace CreateConnectionResponse {
3608
3686
 
3609
3687
  created_at?: string;
3610
3688
 
3689
+ credentials_last_fetched?: string | null;
3690
+
3611
3691
  customer_id?: string | null;
3612
3692
 
3613
3693
  disabled?: boolean | null;
@@ -3726,6 +3806,8 @@ export namespace CreateConnectionResponse {
3726
3806
 
3727
3807
  created_at?: string;
3728
3808
 
3809
+ credentials_last_fetched?: string | null;
3810
+
3729
3811
  customer_id?: string | null;
3730
3812
 
3731
3813
  disabled?: boolean | null;
@@ -3844,6 +3926,8 @@ export namespace CreateConnectionResponse {
3844
3926
 
3845
3927
  created_at?: string;
3846
3928
 
3929
+ credentials_last_fetched?: string | null;
3930
+
3847
3931
  customer_id?: string | null;
3848
3932
 
3849
3933
  disabled?: boolean | null;
@@ -3962,6 +4046,8 @@ export namespace CreateConnectionResponse {
3962
4046
 
3963
4047
  created_at?: string;
3964
4048
 
4049
+ credentials_last_fetched?: string | null;
4050
+
3965
4051
  customer_id?: string | null;
3966
4052
 
3967
4053
  disabled?: boolean | null;
@@ -4085,6 +4171,8 @@ export namespace CreateConnectionResponse {
4085
4171
 
4086
4172
  created_at?: string;
4087
4173
 
4174
+ credentials_last_fetched?: string | null;
4175
+
4088
4176
  customer_id?: string | null;
4089
4177
 
4090
4178
  disabled?: boolean | null;
@@ -4203,6 +4291,8 @@ export namespace CreateConnectionResponse {
4203
4291
 
4204
4292
  created_at?: string;
4205
4293
 
4294
+ credentials_last_fetched?: string | null;
4295
+
4206
4296
  customer_id?: string | null;
4207
4297
 
4208
4298
  disabled?: boolean | null;
@@ -4321,6 +4411,8 @@ export namespace CreateConnectionResponse {
4321
4411
 
4322
4412
  created_at?: string;
4323
4413
 
4414
+ credentials_last_fetched?: string | null;
4415
+
4324
4416
  customer_id?: string | null;
4325
4417
 
4326
4418
  disabled?: boolean | null;
@@ -4439,6 +4531,8 @@ export namespace CreateConnectionResponse {
4439
4531
 
4440
4532
  created_at?: string;
4441
4533
 
4534
+ credentials_last_fetched?: string | null;
4535
+
4442
4536
  customer_id?: string | null;
4443
4537
 
4444
4538
  disabled?: boolean | null;
@@ -4563,6 +4657,8 @@ export namespace CreateConnectionResponse {
4563
4657
 
4564
4658
  created_at?: string;
4565
4659
 
4660
+ credentials_last_fetched?: string | null;
4661
+
4566
4662
  customer_id?: string | null;
4567
4663
 
4568
4664
  disabled?: boolean | null;
@@ -4681,6 +4777,8 @@ export namespace CreateConnectionResponse {
4681
4777
 
4682
4778
  created_at?: string;
4683
4779
 
4780
+ credentials_last_fetched?: string | null;
4781
+
4684
4782
  customer_id?: string | null;
4685
4783
 
4686
4784
  disabled?: boolean | null;
@@ -4799,6 +4897,8 @@ export namespace CreateConnectionResponse {
4799
4897
 
4800
4898
  created_at?: string;
4801
4899
 
4900
+ credentials_last_fetched?: string | null;
4901
+
4802
4902
  customer_id?: string | null;
4803
4903
 
4804
4904
  disabled?: boolean | null;
@@ -4917,6 +5017,8 @@ export namespace CreateConnectionResponse {
4917
5017
 
4918
5018
  created_at?: string;
4919
5019
 
5020
+ credentials_last_fetched?: string | null;
5021
+
4920
5022
  customer_id?: string | null;
4921
5023
 
4922
5024
  disabled?: boolean | null;
@@ -5040,6 +5142,8 @@ export namespace CreateConnectionResponse {
5040
5142
 
5041
5143
  created_at?: string;
5042
5144
 
5145
+ credentials_last_fetched?: string | null;
5146
+
5043
5147
  customer_id?: string | null;
5044
5148
 
5045
5149
  disabled?: boolean | null;
@@ -5158,6 +5262,8 @@ export namespace CreateConnectionResponse {
5158
5262
 
5159
5263
  created_at?: string;
5160
5264
 
5265
+ credentials_last_fetched?: string | null;
5266
+
5161
5267
  customer_id?: string | null;
5162
5268
 
5163
5269
  disabled?: boolean | null;
@@ -5227,6 +5333,8 @@ export namespace CreateConnectionResponse {
5227
5333
 
5228
5334
  created_at?: string;
5229
5335
 
5336
+ credentials_last_fetched?: string | null;
5337
+
5230
5338
  customer_id?: string | null;
5231
5339
 
5232
5340
  disabled?: boolean | null;
@@ -5248,7 +5356,7 @@ export namespace CreateConnectionResponse {
5248
5356
  */
5249
5357
  metadata?: { [key: string]: unknown } | null;
5250
5358
 
5251
- public_settings?: unknown;
5359
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
5252
5360
 
5253
5361
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
5254
5362
 
@@ -5280,6 +5388,13 @@ export namespace CreateConnectionResponse {
5280
5388
  }
5281
5389
  }
5282
5390
 
5391
+ export interface PublicSettings {
5392
+ /**
5393
+ * MCP transport type detected during connection
5394
+ */
5395
+ transport_type?: 'streamable-http' | 'sse';
5396
+ }
5397
+
5283
5398
  export interface Settings {
5284
5399
  /**
5285
5400
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -5289,7 +5404,12 @@ export namespace CreateConnectionResponse {
5289
5404
  /**
5290
5405
  * Custom headers to include with every request
5291
5406
  */
5292
- headers: Array<Settings.Header>;
5407
+ headers?: Array<Settings.Header>;
5408
+
5409
+ /**
5410
+ * OAuth authentication credentials
5411
+ */
5412
+ oauth?: Settings.OAuth;
5293
5413
  }
5294
5414
 
5295
5415
  export namespace Settings {
@@ -5304,6 +5424,196 @@ export namespace CreateConnectionResponse {
5304
5424
  */
5305
5425
  value: string;
5306
5426
  }
5427
+
5428
+ /**
5429
+ * OAuth authentication credentials
5430
+ */
5431
+ export interface OAuth {
5432
+ client: OAuth.Client;
5433
+
5434
+ credentials: OAuth.Credentials;
5435
+
5436
+ metadata: OAuth.Metadata;
5437
+ }
5438
+
5439
+ export namespace OAuth {
5440
+ export interface Client {
5441
+ client_id: string;
5442
+
5443
+ redirect_uris: Array<string>;
5444
+
5445
+ client_secret?: string;
5446
+ }
5447
+
5448
+ export interface Credentials {
5449
+ access_token: string;
5450
+
5451
+ token_type: string;
5452
+
5453
+ expires_at?: string;
5454
+
5455
+ expires_in?: number;
5456
+
5457
+ refresh_token?: string;
5458
+
5459
+ scope?: string;
5460
+ }
5461
+
5462
+ export interface Metadata {
5463
+ authorization_endpoint: string;
5464
+
5465
+ issuer: string;
5466
+
5467
+ response_types_supported: Array<string>;
5468
+
5469
+ token_endpoint: string;
5470
+
5471
+ code_challenge_methods_supported?: Array<string>;
5472
+
5473
+ grant_types_supported?: Array<string>;
5474
+
5475
+ introspection_endpoint?: string;
5476
+
5477
+ introspection_endpoint_auth_methods_supported?: Array<string>;
5478
+
5479
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
5480
+
5481
+ registration_endpoint?: string;
5482
+
5483
+ response_modes_supported?: Array<string>;
5484
+
5485
+ revocation_endpoint?: string;
5486
+
5487
+ revocation_endpoint_auth_methods_supported?: Array<string>;
5488
+
5489
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
5490
+
5491
+ scopes_supported?: Array<string>;
5492
+
5493
+ service_documentation?: string;
5494
+
5495
+ token_endpoint_auth_methods_supported?: Array<string>;
5496
+
5497
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
5498
+
5499
+ [k: string]: unknown;
5500
+ }
5501
+ }
5502
+ }
5503
+ }
5504
+
5505
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
5506
+ connector_name: 'databricks-m2m';
5507
+
5508
+ id?: string;
5509
+
5510
+ connector?: TopLevelAPI.Connector;
5511
+
5512
+ connector_config_id?: string | null;
5513
+
5514
+ created_at?: string;
5515
+
5516
+ credentials_last_fetched?: string | null;
5517
+
5518
+ customer_id?: string | null;
5519
+
5520
+ disabled?: boolean | null;
5521
+
5522
+ display_name?: string | null;
5523
+
5524
+ environment?: 'production' | 'development';
5525
+
5526
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
5527
+
5528
+ integration?: TopLevelAPI.Integration;
5529
+
5530
+ integration_id?: string | null;
5531
+
5532
+ /**
5533
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
5534
+ * separate 1-1 table just for simple key values in your application. During
5535
+ * updates this object will be shallowly merged
5536
+ */
5537
+ metadata?: { [key: string]: unknown } | null;
5538
+
5539
+ public_settings?: unknown;
5540
+
5541
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
5542
+
5543
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
5544
+
5545
+ status_message?: string | null;
5546
+
5547
+ updated_at?: string;
5548
+
5549
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
5550
+
5551
+ webhook_configured_at?: string | null;
5552
+
5553
+ webhook_identifier?: string | null;
5554
+ }
5555
+
5556
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
5557
+ export interface HealthCheckResult {
5558
+ checked_at: string;
5559
+
5560
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
5561
+ }
5562
+
5563
+ export namespace HealthCheckResult {
5564
+ export interface FieldValidations {
5565
+ status: 'valid' | 'invalid';
5566
+
5567
+ error?: string;
5568
+ }
5569
+ }
5570
+
5571
+ export interface Settings {
5572
+ /**
5573
+ * Access token for Databricks API
5574
+ */
5575
+ access_token: string;
5576
+
5577
+ /**
5578
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
5579
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
5580
+ */
5581
+ http_path: string;
5582
+
5583
+ /**
5584
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
5585
+ * warehouse in Databricks and click the "Connection details" button. Copy the
5586
+ * Server hostname value.
5587
+ */
5588
+ server_hostname: string;
5589
+
5590
+ oauth?: Settings.OAuth;
5591
+ }
5592
+
5593
+ export namespace Settings {
5594
+ export interface OAuth {
5595
+ credentials?: OAuth.Credentials;
5596
+ }
5597
+
5598
+ export namespace OAuth {
5599
+ export interface Credentials {
5600
+ access_token: string;
5601
+
5602
+ client_id: string;
5603
+
5604
+ expires_at?: string;
5605
+
5606
+ expires_in?: number;
5607
+
5608
+ raw?: { [key: string]: unknown };
5609
+
5610
+ refresh_token?: string;
5611
+
5612
+ scope?: string;
5613
+
5614
+ token_type?: string;
5615
+ }
5616
+ }
5307
5617
  }
5308
5618
  }
5309
5619
 
@@ -5318,6 +5628,8 @@ export namespace CreateConnectionResponse {
5318
5628
 
5319
5629
  created_at?: string;
5320
5630
 
5631
+ credentials_last_fetched?: string | null;
5632
+
5321
5633
  customer_id?: string | null;
5322
5634
 
5323
5635
  disabled?: boolean | null;
@@ -5397,6 +5709,8 @@ export namespace CreateConnectionResponse {
5397
5709
 
5398
5710
  created_at?: string;
5399
5711
 
5712
+ credentials_last_fetched?: string | null;
5713
+
5400
5714
  customer_id?: string | null;
5401
5715
 
5402
5716
  disabled?: boolean | null;
@@ -5466,6 +5780,8 @@ export namespace CreateConnectionResponse {
5466
5780
 
5467
5781
  created_at?: string;
5468
5782
 
5783
+ credentials_last_fetched?: string | null;
5784
+
5469
5785
  customer_id?: string | null;
5470
5786
 
5471
5787
  disabled?: boolean | null;
@@ -5540,6 +5856,8 @@ export namespace CreateConnectionResponse {
5540
5856
 
5541
5857
  created_at?: string;
5542
5858
 
5859
+ credentials_last_fetched?: string | null;
5860
+
5543
5861
  customer_id?: string | null;
5544
5862
 
5545
5863
  disabled?: boolean | null;
@@ -5614,6 +5932,8 @@ export namespace CreateConnectionResponse {
5614
5932
 
5615
5933
  created_at?: string;
5616
5934
 
5935
+ credentials_last_fetched?: string | null;
5936
+
5617
5937
  customer_id?: string | null;
5618
5938
 
5619
5939
  disabled?: boolean | null;
@@ -5686,6 +6006,8 @@ export namespace CreateConnectionResponse {
5686
6006
 
5687
6007
  created_at?: string;
5688
6008
 
6009
+ credentials_last_fetched?: string | null;
6010
+
5689
6011
  customer_id?: string | null;
5690
6012
 
5691
6013
  disabled?: boolean | null;
@@ -5898,6 +6220,8 @@ export namespace CreateConnectionResponse {
5898
6220
 
5899
6221
  created_at?: string;
5900
6222
 
6223
+ credentials_last_fetched?: string | null;
6224
+
5901
6225
  customer_id?: string | null;
5902
6226
 
5903
6227
  disabled?: boolean | null;
@@ -6027,6 +6351,8 @@ export namespace CreateConnectionResponse {
6027
6351
 
6028
6352
  created_at?: string;
6029
6353
 
6354
+ credentials_last_fetched?: string | null;
6355
+
6030
6356
  customer_id?: string | null;
6031
6357
 
6032
6358
  disabled?: boolean | null;
@@ -6144,6 +6470,8 @@ export namespace CreateConnectionResponse {
6144
6470
 
6145
6471
  created_at?: string;
6146
6472
 
6473
+ credentials_last_fetched?: string | null;
6474
+
6147
6475
  customer_id?: string | null;
6148
6476
 
6149
6477
  disabled?: boolean | null;
@@ -6222,6 +6550,8 @@ export namespace CreateConnectionResponse {
6222
6550
 
6223
6551
  created_at?: string;
6224
6552
 
6553
+ credentials_last_fetched?: string | null;
6554
+
6225
6555
  customer_id?: string | null;
6226
6556
 
6227
6557
  disabled?: boolean | null;
@@ -6330,6 +6660,7 @@ export type CreateConnnectorConfigResponse =
6330
6660
  | CreateConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
6331
6661
  | CreateConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
6332
6662
  | CreateConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
6663
+ | CreateConnnectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
6333
6664
  | CreateConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
6334
6665
  | CreateConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
6335
6666
  | CreateConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -8528,6 +8859,51 @@ export namespace CreateConnnectorConfigResponse {
8528
8859
  updated_at?: string;
8529
8860
  }
8530
8861
 
8862
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8863
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
8864
+
8865
+ connector_name: 'databricks-m2m';
8866
+
8867
+ id?: string;
8868
+
8869
+ created_at?: string;
8870
+
8871
+ disabled?: boolean | null;
8872
+
8873
+ display_name?: string | null;
8874
+
8875
+ /**
8876
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
8877
+ * separate 1-1 table just for simple key values in your application. During
8878
+ * updates this object will be shallowly merged
8879
+ */
8880
+ metadata?: { [key: string]: unknown } | null;
8881
+
8882
+ org_id?: string;
8883
+
8884
+ updated_at?: string;
8885
+ }
8886
+
8887
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8888
+ export interface Config {
8889
+ oauth: Config.OAuth;
8890
+ }
8891
+
8892
+ export namespace Config {
8893
+ export interface OAuth {
8894
+ /**
8895
+ * OAuth2 client ID for Databricks
8896
+ */
8897
+ client_id: string;
8898
+
8899
+ /**
8900
+ * OAuth2 client secret for Databricks
8901
+ */
8902
+ client_secret: string;
8903
+ }
8904
+ }
8905
+ }
8906
+
8531
8907
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
8532
8908
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
8533
8909
 
@@ -9024,6 +9400,7 @@ export type GetConectorConfigResponse =
9024
9400
  | GetConectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
9025
9401
  | GetConectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
9026
9402
  | GetConectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
9403
+ | GetConectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
9027
9404
  | GetConectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
9028
9405
  | GetConectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
9029
9406
  | GetConectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -11486,6 +11863,57 @@ export namespace GetConectorConfigResponse {
11486
11863
  updated_at?: string;
11487
11864
  }
11488
11865
 
11866
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
11867
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
11868
+
11869
+ connector_name: 'databricks-m2m';
11870
+
11871
+ id?: string;
11872
+
11873
+ connection_count?: number;
11874
+
11875
+ connector?: TopLevelAPI.Connector;
11876
+
11877
+ created_at?: string;
11878
+
11879
+ disabled?: boolean | null;
11880
+
11881
+ display_name?: string | null;
11882
+
11883
+ integrations?: { [key: string]: TopLevelAPI.Integration };
11884
+
11885
+ /**
11886
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
11887
+ * separate 1-1 table just for simple key values in your application. During
11888
+ * updates this object will be shallowly merged
11889
+ */
11890
+ metadata?: { [key: string]: unknown } | null;
11891
+
11892
+ org_id?: string;
11893
+
11894
+ updated_at?: string;
11895
+ }
11896
+
11897
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
11898
+ export interface Config {
11899
+ oauth: Config.OAuth;
11900
+ }
11901
+
11902
+ export namespace Config {
11903
+ export interface OAuth {
11904
+ /**
11905
+ * OAuth2 client ID for Databricks
11906
+ */
11907
+ client_id: string;
11908
+
11909
+ /**
11910
+ * OAuth2 client secret for Databricks
11911
+ */
11912
+ client_secret: string;
11913
+ }
11914
+ }
11915
+ }
11916
+
11489
11917
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
11490
11918
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
11491
11919
 
@@ -12000,6 +12428,7 @@ export type GetConnectionResponse =
12000
12428
  | GetConnectionResponse.ConnectorZoomDiscriminatedConnectionData
12001
12429
  | GetConnectionResponse.ConnectorApolloDiscriminatedConnectionData
12002
12430
  | GetConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionData
12431
+ | GetConnectionResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
12003
12432
  | GetConnectionResponse.ConnectorPlaidDiscriminatedConnectionData
12004
12433
  | GetConnectionResponse.ConnectorPostgresDiscriminatedConnectionData
12005
12434
  | GetConnectionResponse.ConnectorResendDiscriminatedConnectionData
@@ -12023,6 +12452,8 @@ export namespace GetConnectionResponse {
12023
12452
 
12024
12453
  created_at?: string;
12025
12454
 
12455
+ credentials_last_fetched?: string | null;
12456
+
12026
12457
  customer_id?: string | null;
12027
12458
 
12028
12459
  disabled?: boolean | null;
@@ -12092,6 +12523,8 @@ export namespace GetConnectionResponse {
12092
12523
 
12093
12524
  created_at?: string;
12094
12525
 
12526
+ credentials_last_fetched?: string | null;
12527
+
12095
12528
  customer_id?: string | null;
12096
12529
 
12097
12530
  disabled?: boolean | null;
@@ -12210,6 +12643,8 @@ export namespace GetConnectionResponse {
12210
12643
 
12211
12644
  created_at?: string;
12212
12645
 
12646
+ credentials_last_fetched?: string | null;
12647
+
12213
12648
  customer_id?: string | null;
12214
12649
 
12215
12650
  disabled?: boolean | null;
@@ -12279,6 +12714,8 @@ export namespace GetConnectionResponse {
12279
12714
 
12280
12715
  created_at?: string;
12281
12716
 
12717
+ credentials_last_fetched?: string | null;
12718
+
12282
12719
  customer_id?: string | null;
12283
12720
 
12284
12721
  disabled?: boolean | null;
@@ -12397,6 +12834,8 @@ export namespace GetConnectionResponse {
12397
12834
 
12398
12835
  created_at?: string;
12399
12836
 
12837
+ credentials_last_fetched?: string | null;
12838
+
12400
12839
  customer_id?: string | null;
12401
12840
 
12402
12841
  disabled?: boolean | null;
@@ -12521,6 +12960,8 @@ export namespace GetConnectionResponse {
12521
12960
 
12522
12961
  created_at?: string;
12523
12962
 
12963
+ credentials_last_fetched?: string | null;
12964
+
12524
12965
  customer_id?: string | null;
12525
12966
 
12526
12967
  disabled?: boolean | null;
@@ -12639,6 +13080,8 @@ export namespace GetConnectionResponse {
12639
13080
 
12640
13081
  created_at?: string;
12641
13082
 
13083
+ credentials_last_fetched?: string | null;
13084
+
12642
13085
  customer_id?: string | null;
12643
13086
 
12644
13087
  disabled?: boolean | null;
@@ -12757,6 +13200,8 @@ export namespace GetConnectionResponse {
12757
13200
 
12758
13201
  created_at?: string;
12759
13202
 
13203
+ credentials_last_fetched?: string | null;
13204
+
12760
13205
  customer_id?: string | null;
12761
13206
 
12762
13207
  disabled?: boolean | null;
@@ -12875,6 +13320,8 @@ export namespace GetConnectionResponse {
12875
13320
 
12876
13321
  created_at?: string;
12877
13322
 
13323
+ credentials_last_fetched?: string | null;
13324
+
12878
13325
  customer_id?: string | null;
12879
13326
 
12880
13327
  disabled?: boolean | null;
@@ -12993,6 +13440,8 @@ export namespace GetConnectionResponse {
12993
13440
 
12994
13441
  created_at?: string;
12995
13442
 
13443
+ credentials_last_fetched?: string | null;
13444
+
12996
13445
  customer_id?: string | null;
12997
13446
 
12998
13447
  disabled?: boolean | null;
@@ -13111,6 +13560,8 @@ export namespace GetConnectionResponse {
13111
13560
 
13112
13561
  created_at?: string;
13113
13562
 
13563
+ credentials_last_fetched?: string | null;
13564
+
13114
13565
  customer_id?: string | null;
13115
13566
 
13116
13567
  disabled?: boolean | null;
@@ -13234,6 +13685,8 @@ export namespace GetConnectionResponse {
13234
13685
 
13235
13686
  created_at?: string;
13236
13687
 
13688
+ credentials_last_fetched?: string | null;
13689
+
13237
13690
  customer_id?: string | null;
13238
13691
 
13239
13692
  disabled?: boolean | null;
@@ -13365,6 +13818,8 @@ export namespace GetConnectionResponse {
13365
13818
 
13366
13819
  created_at?: string;
13367
13820
 
13821
+ credentials_last_fetched?: string | null;
13822
+
13368
13823
  customer_id?: string | null;
13369
13824
 
13370
13825
  disabled?: boolean | null;
@@ -13483,6 +13938,8 @@ export namespace GetConnectionResponse {
13483
13938
 
13484
13939
  created_at?: string;
13485
13940
 
13941
+ credentials_last_fetched?: string | null;
13942
+
13486
13943
  customer_id?: string | null;
13487
13944
 
13488
13945
  disabled?: boolean | null;
@@ -13601,6 +14058,8 @@ export namespace GetConnectionResponse {
13601
14058
 
13602
14059
  created_at?: string;
13603
14060
 
14061
+ credentials_last_fetched?: string | null;
14062
+
13604
14063
  customer_id?: string | null;
13605
14064
 
13606
14065
  disabled?: boolean | null;
@@ -13719,6 +14178,8 @@ export namespace GetConnectionResponse {
13719
14178
 
13720
14179
  created_at?: string;
13721
14180
 
14181
+ credentials_last_fetched?: string | null;
14182
+
13722
14183
  customer_id?: string | null;
13723
14184
 
13724
14185
  disabled?: boolean | null;
@@ -13837,6 +14298,8 @@ export namespace GetConnectionResponse {
13837
14298
 
13838
14299
  created_at?: string;
13839
14300
 
14301
+ credentials_last_fetched?: string | null;
14302
+
13840
14303
  customer_id?: string | null;
13841
14304
 
13842
14305
  disabled?: boolean | null;
@@ -13955,6 +14418,8 @@ export namespace GetConnectionResponse {
13955
14418
 
13956
14419
  created_at?: string;
13957
14420
 
14421
+ credentials_last_fetched?: string | null;
14422
+
13958
14423
  customer_id?: string | null;
13959
14424
 
13960
14425
  disabled?: boolean | null;
@@ -14073,6 +14538,8 @@ export namespace GetConnectionResponse {
14073
14538
 
14074
14539
  created_at?: string;
14075
14540
 
14541
+ credentials_last_fetched?: string | null;
14542
+
14076
14543
  customer_id?: string | null;
14077
14544
 
14078
14545
  disabled?: boolean | null;
@@ -14191,6 +14658,8 @@ export namespace GetConnectionResponse {
14191
14658
 
14192
14659
  created_at?: string;
14193
14660
 
14661
+ credentials_last_fetched?: string | null;
14662
+
14194
14663
  customer_id?: string | null;
14195
14664
 
14196
14665
  disabled?: boolean | null;
@@ -14309,6 +14778,8 @@ export namespace GetConnectionResponse {
14309
14778
 
14310
14779
  created_at?: string;
14311
14780
 
14781
+ credentials_last_fetched?: string | null;
14782
+
14312
14783
  customer_id?: string | null;
14313
14784
 
14314
14785
  disabled?: boolean | null;
@@ -14427,6 +14898,8 @@ export namespace GetConnectionResponse {
14427
14898
 
14428
14899
  created_at?: string;
14429
14900
 
14901
+ credentials_last_fetched?: string | null;
14902
+
14430
14903
  customer_id?: string | null;
14431
14904
 
14432
14905
  disabled?: boolean | null;
@@ -14545,6 +15018,8 @@ export namespace GetConnectionResponse {
14545
15018
 
14546
15019
  created_at?: string;
14547
15020
 
15021
+ credentials_last_fetched?: string | null;
15022
+
14548
15023
  customer_id?: string | null;
14549
15024
 
14550
15025
  disabled?: boolean | null;
@@ -14663,6 +15138,8 @@ export namespace GetConnectionResponse {
14663
15138
 
14664
15139
  created_at?: string;
14665
15140
 
15141
+ credentials_last_fetched?: string | null;
15142
+
14666
15143
  customer_id?: string | null;
14667
15144
 
14668
15145
  disabled?: boolean | null;
@@ -14781,6 +15258,8 @@ export namespace GetConnectionResponse {
14781
15258
 
14782
15259
  created_at?: string;
14783
15260
 
15261
+ credentials_last_fetched?: string | null;
15262
+
14784
15263
  customer_id?: string | null;
14785
15264
 
14786
15265
  disabled?: boolean | null;
@@ -14842,6 +15321,16 @@ export namespace GetConnectionResponse {
14842
15321
  * for backward compatibility until we remove the oauth field
14843
15322
  */
14844
15323
  access_token?: string;
15324
+
15325
+ /**
15326
+ * Your HubSpot App ID (automatically fetched from access token)
15327
+ */
15328
+ app_id?: number;
15329
+
15330
+ /**
15331
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
15332
+ */
15333
+ hub_id?: number;
14845
15334
  }
14846
15335
 
14847
15336
  export namespace Settings {
@@ -14899,6 +15388,8 @@ export namespace GetConnectionResponse {
14899
15388
 
14900
15389
  created_at?: string;
14901
15390
 
15391
+ credentials_last_fetched?: string | null;
15392
+
14902
15393
  customer_id?: string | null;
14903
15394
 
14904
15395
  disabled?: boolean | null;
@@ -15017,6 +15508,8 @@ export namespace GetConnectionResponse {
15017
15508
 
15018
15509
  created_at?: string;
15019
15510
 
15511
+ credentials_last_fetched?: string | null;
15512
+
15020
15513
  customer_id?: string | null;
15021
15514
 
15022
15515
  disabled?: boolean | null;
@@ -15140,6 +15633,8 @@ export namespace GetConnectionResponse {
15140
15633
 
15141
15634
  created_at?: string;
15142
15635
 
15636
+ credentials_last_fetched?: string | null;
15637
+
15143
15638
  customer_id?: string | null;
15144
15639
 
15145
15640
  disabled?: boolean | null;
@@ -15258,6 +15753,8 @@ export namespace GetConnectionResponse {
15258
15753
 
15259
15754
  created_at?: string;
15260
15755
 
15756
+ credentials_last_fetched?: string | null;
15757
+
15261
15758
  customer_id?: string | null;
15262
15759
 
15263
15760
  disabled?: boolean | null;
@@ -15376,6 +15873,8 @@ export namespace GetConnectionResponse {
15376
15873
 
15377
15874
  created_at?: string;
15378
15875
 
15876
+ credentials_last_fetched?: string | null;
15877
+
15379
15878
  customer_id?: string | null;
15380
15879
 
15381
15880
  disabled?: boolean | null;
@@ -15494,6 +15993,8 @@ export namespace GetConnectionResponse {
15494
15993
 
15495
15994
  created_at?: string;
15496
15995
 
15996
+ credentials_last_fetched?: string | null;
15997
+
15497
15998
  customer_id?: string | null;
15498
15999
 
15499
16000
  disabled?: boolean | null;
@@ -15612,6 +16113,8 @@ export namespace GetConnectionResponse {
15612
16113
 
15613
16114
  created_at?: string;
15614
16115
 
16116
+ credentials_last_fetched?: string | null;
16117
+
15615
16118
  customer_id?: string | null;
15616
16119
 
15617
16120
  disabled?: boolean | null;
@@ -15730,6 +16233,8 @@ export namespace GetConnectionResponse {
15730
16233
 
15731
16234
  created_at?: string;
15732
16235
 
16236
+ credentials_last_fetched?: string | null;
16237
+
15733
16238
  customer_id?: string | null;
15734
16239
 
15735
16240
  disabled?: boolean | null;
@@ -15853,6 +16358,8 @@ export namespace GetConnectionResponse {
15853
16358
 
15854
16359
  created_at?: string;
15855
16360
 
16361
+ credentials_last_fetched?: string | null;
16362
+
15856
16363
  customer_id?: string | null;
15857
16364
 
15858
16365
  disabled?: boolean | null;
@@ -15971,6 +16478,8 @@ export namespace GetConnectionResponse {
15971
16478
 
15972
16479
  created_at?: string;
15973
16480
 
16481
+ credentials_last_fetched?: string | null;
16482
+
15974
16483
  customer_id?: string | null;
15975
16484
 
15976
16485
  disabled?: boolean | null;
@@ -16089,6 +16598,8 @@ export namespace GetConnectionResponse {
16089
16598
 
16090
16599
  created_at?: string;
16091
16600
 
16601
+ credentials_last_fetched?: string | null;
16602
+
16092
16603
  customer_id?: string | null;
16093
16604
 
16094
16605
  disabled?: boolean | null;
@@ -16207,6 +16718,8 @@ export namespace GetConnectionResponse {
16207
16718
 
16208
16719
  created_at?: string;
16209
16720
 
16721
+ credentials_last_fetched?: string | null;
16722
+
16210
16723
  customer_id?: string | null;
16211
16724
 
16212
16725
  disabled?: boolean | null;
@@ -16331,6 +16844,8 @@ export namespace GetConnectionResponse {
16331
16844
 
16332
16845
  created_at?: string;
16333
16846
 
16847
+ credentials_last_fetched?: string | null;
16848
+
16334
16849
  customer_id?: string | null;
16335
16850
 
16336
16851
  disabled?: boolean | null;
@@ -16449,6 +16964,8 @@ export namespace GetConnectionResponse {
16449
16964
 
16450
16965
  created_at?: string;
16451
16966
 
16967
+ credentials_last_fetched?: string | null;
16968
+
16452
16969
  customer_id?: string | null;
16453
16970
 
16454
16971
  disabled?: boolean | null;
@@ -16567,6 +17084,8 @@ export namespace GetConnectionResponse {
16567
17084
 
16568
17085
  created_at?: string;
16569
17086
 
17087
+ credentials_last_fetched?: string | null;
17088
+
16570
17089
  customer_id?: string | null;
16571
17090
 
16572
17091
  disabled?: boolean | null;
@@ -16685,6 +17204,8 @@ export namespace GetConnectionResponse {
16685
17204
 
16686
17205
  created_at?: string;
16687
17206
 
17207
+ credentials_last_fetched?: string | null;
17208
+
16688
17209
  customer_id?: string | null;
16689
17210
 
16690
17211
  disabled?: boolean | null;
@@ -16808,6 +17329,8 @@ export namespace GetConnectionResponse {
16808
17329
 
16809
17330
  created_at?: string;
16810
17331
 
17332
+ credentials_last_fetched?: string | null;
17333
+
16811
17334
  customer_id?: string | null;
16812
17335
 
16813
17336
  disabled?: boolean | null;
@@ -16926,6 +17449,8 @@ export namespace GetConnectionResponse {
16926
17449
 
16927
17450
  created_at?: string;
16928
17451
 
17452
+ credentials_last_fetched?: string | null;
17453
+
16929
17454
  customer_id?: string | null;
16930
17455
 
16931
17456
  disabled?: boolean | null;
@@ -16995,6 +17520,8 @@ export namespace GetConnectionResponse {
16995
17520
 
16996
17521
  created_at?: string;
16997
17522
 
17523
+ credentials_last_fetched?: string | null;
17524
+
16998
17525
  customer_id?: string | null;
16999
17526
 
17000
17527
  disabled?: boolean | null;
@@ -17016,7 +17543,7 @@ export namespace GetConnectionResponse {
17016
17543
  */
17017
17544
  metadata?: { [key: string]: unknown } | null;
17018
17545
 
17019
- public_settings?: unknown;
17546
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
17020
17547
 
17021
17548
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
17022
17549
 
@@ -17048,6 +17575,13 @@ export namespace GetConnectionResponse {
17048
17575
  }
17049
17576
  }
17050
17577
 
17578
+ export interface PublicSettings {
17579
+ /**
17580
+ * MCP transport type detected during connection
17581
+ */
17582
+ transport_type?: 'streamable-http' | 'sse';
17583
+ }
17584
+
17051
17585
  export interface Settings {
17052
17586
  /**
17053
17587
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -17057,7 +17591,12 @@ export namespace GetConnectionResponse {
17057
17591
  /**
17058
17592
  * Custom headers to include with every request
17059
17593
  */
17060
- headers: Array<Settings.Header>;
17594
+ headers?: Array<Settings.Header>;
17595
+
17596
+ /**
17597
+ * OAuth authentication credentials
17598
+ */
17599
+ oauth?: Settings.OAuth;
17061
17600
  }
17062
17601
 
17063
17602
  export namespace Settings {
@@ -17072,6 +17611,196 @@ export namespace GetConnectionResponse {
17072
17611
  */
17073
17612
  value: string;
17074
17613
  }
17614
+
17615
+ /**
17616
+ * OAuth authentication credentials
17617
+ */
17618
+ export interface OAuth {
17619
+ client: OAuth.Client;
17620
+
17621
+ credentials: OAuth.Credentials;
17622
+
17623
+ metadata: OAuth.Metadata;
17624
+ }
17625
+
17626
+ export namespace OAuth {
17627
+ export interface Client {
17628
+ client_id: string;
17629
+
17630
+ redirect_uris: Array<string>;
17631
+
17632
+ client_secret?: string;
17633
+ }
17634
+
17635
+ export interface Credentials {
17636
+ access_token: string;
17637
+
17638
+ token_type: string;
17639
+
17640
+ expires_at?: string;
17641
+
17642
+ expires_in?: number;
17643
+
17644
+ refresh_token?: string;
17645
+
17646
+ scope?: string;
17647
+ }
17648
+
17649
+ export interface Metadata {
17650
+ authorization_endpoint: string;
17651
+
17652
+ issuer: string;
17653
+
17654
+ response_types_supported: Array<string>;
17655
+
17656
+ token_endpoint: string;
17657
+
17658
+ code_challenge_methods_supported?: Array<string>;
17659
+
17660
+ grant_types_supported?: Array<string>;
17661
+
17662
+ introspection_endpoint?: string;
17663
+
17664
+ introspection_endpoint_auth_methods_supported?: Array<string>;
17665
+
17666
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
17667
+
17668
+ registration_endpoint?: string;
17669
+
17670
+ response_modes_supported?: Array<string>;
17671
+
17672
+ revocation_endpoint?: string;
17673
+
17674
+ revocation_endpoint_auth_methods_supported?: Array<string>;
17675
+
17676
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
17677
+
17678
+ scopes_supported?: Array<string>;
17679
+
17680
+ service_documentation?: string;
17681
+
17682
+ token_endpoint_auth_methods_supported?: Array<string>;
17683
+
17684
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
17685
+
17686
+ [k: string]: unknown;
17687
+ }
17688
+ }
17689
+ }
17690
+ }
17691
+
17692
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
17693
+ connector_name: 'databricks-m2m';
17694
+
17695
+ id?: string;
17696
+
17697
+ connector?: TopLevelAPI.Connector;
17698
+
17699
+ connector_config_id?: string | null;
17700
+
17701
+ created_at?: string;
17702
+
17703
+ credentials_last_fetched?: string | null;
17704
+
17705
+ customer_id?: string | null;
17706
+
17707
+ disabled?: boolean | null;
17708
+
17709
+ display_name?: string | null;
17710
+
17711
+ environment?: 'production' | 'development';
17712
+
17713
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
17714
+
17715
+ integration?: TopLevelAPI.Integration;
17716
+
17717
+ integration_id?: string | null;
17718
+
17719
+ /**
17720
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
17721
+ * separate 1-1 table just for simple key values in your application. During
17722
+ * updates this object will be shallowly merged
17723
+ */
17724
+ metadata?: { [key: string]: unknown } | null;
17725
+
17726
+ public_settings?: unknown;
17727
+
17728
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
17729
+
17730
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17731
+
17732
+ status_message?: string | null;
17733
+
17734
+ updated_at?: string;
17735
+
17736
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17737
+
17738
+ webhook_configured_at?: string | null;
17739
+
17740
+ webhook_identifier?: string | null;
17741
+ }
17742
+
17743
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
17744
+ export interface HealthCheckResult {
17745
+ checked_at: string;
17746
+
17747
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
17748
+ }
17749
+
17750
+ export namespace HealthCheckResult {
17751
+ export interface FieldValidations {
17752
+ status: 'valid' | 'invalid';
17753
+
17754
+ error?: string;
17755
+ }
17756
+ }
17757
+
17758
+ export interface Settings {
17759
+ /**
17760
+ * Access token for Databricks API
17761
+ */
17762
+ access_token: string;
17763
+
17764
+ /**
17765
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
17766
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
17767
+ */
17768
+ http_path: string;
17769
+
17770
+ /**
17771
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
17772
+ * warehouse in Databricks and click the "Connection details" button. Copy the
17773
+ * Server hostname value.
17774
+ */
17775
+ server_hostname: string;
17776
+
17777
+ oauth?: Settings.OAuth;
17778
+ }
17779
+
17780
+ export namespace Settings {
17781
+ export interface OAuth {
17782
+ credentials?: OAuth.Credentials;
17783
+ }
17784
+
17785
+ export namespace OAuth {
17786
+ export interface Credentials {
17787
+ access_token: string;
17788
+
17789
+ client_id: string;
17790
+
17791
+ expires_at?: string;
17792
+
17793
+ expires_in?: number;
17794
+
17795
+ raw?: { [key: string]: unknown };
17796
+
17797
+ refresh_token?: string;
17798
+
17799
+ scope?: string;
17800
+
17801
+ token_type?: string;
17802
+ }
17803
+ }
17075
17804
  }
17076
17805
  }
17077
17806
 
@@ -17086,6 +17815,8 @@ export namespace GetConnectionResponse {
17086
17815
 
17087
17816
  created_at?: string;
17088
17817
 
17818
+ credentials_last_fetched?: string | null;
17819
+
17089
17820
  customer_id?: string | null;
17090
17821
 
17091
17822
  disabled?: boolean | null;
@@ -17165,6 +17896,8 @@ export namespace GetConnectionResponse {
17165
17896
 
17166
17897
  created_at?: string;
17167
17898
 
17899
+ credentials_last_fetched?: string | null;
17900
+
17168
17901
  customer_id?: string | null;
17169
17902
 
17170
17903
  disabled?: boolean | null;
@@ -17234,6 +17967,8 @@ export namespace GetConnectionResponse {
17234
17967
 
17235
17968
  created_at?: string;
17236
17969
 
17970
+ credentials_last_fetched?: string | null;
17971
+
17237
17972
  customer_id?: string | null;
17238
17973
 
17239
17974
  disabled?: boolean | null;
@@ -17308,6 +18043,8 @@ export namespace GetConnectionResponse {
17308
18043
 
17309
18044
  created_at?: string;
17310
18045
 
18046
+ credentials_last_fetched?: string | null;
18047
+
17311
18048
  customer_id?: string | null;
17312
18049
 
17313
18050
  disabled?: boolean | null;
@@ -17382,6 +18119,8 @@ export namespace GetConnectionResponse {
17382
18119
 
17383
18120
  created_at?: string;
17384
18121
 
18122
+ credentials_last_fetched?: string | null;
18123
+
17385
18124
  customer_id?: string | null;
17386
18125
 
17387
18126
  disabled?: boolean | null;
@@ -17454,6 +18193,8 @@ export namespace GetConnectionResponse {
17454
18193
 
17455
18194
  created_at?: string;
17456
18195
 
18196
+ credentials_last_fetched?: string | null;
18197
+
17457
18198
  customer_id?: string | null;
17458
18199
 
17459
18200
  disabled?: boolean | null;
@@ -17666,6 +18407,8 @@ export namespace GetConnectionResponse {
17666
18407
 
17667
18408
  created_at?: string;
17668
18409
 
18410
+ credentials_last_fetched?: string | null;
18411
+
17669
18412
  customer_id?: string | null;
17670
18413
 
17671
18414
  disabled?: boolean | null;
@@ -17795,6 +18538,8 @@ export namespace GetConnectionResponse {
17795
18538
 
17796
18539
  created_at?: string;
17797
18540
 
18541
+ credentials_last_fetched?: string | null;
18542
+
17798
18543
  customer_id?: string | null;
17799
18544
 
17800
18545
  disabled?: boolean | null;
@@ -17912,6 +18657,8 @@ export namespace GetConnectionResponse {
17912
18657
 
17913
18658
  created_at?: string;
17914
18659
 
18660
+ credentials_last_fetched?: string | null;
18661
+
17915
18662
  customer_id?: string | null;
17916
18663
 
17917
18664
  disabled?: boolean | null;
@@ -17990,6 +18737,8 @@ export namespace GetConnectionResponse {
17990
18737
 
17991
18738
  created_at?: string;
17992
18739
 
18740
+ credentials_last_fetched?: string | null;
18741
+
17993
18742
  customer_id?: string | null;
17994
18743
 
17995
18744
  disabled?: boolean | null;
@@ -18124,6 +18873,7 @@ export type ListConnectionsResponse =
18124
18873
  | ListConnectionsResponse.ConnectorZoomDiscriminatedConnectionData
18125
18874
  | ListConnectionsResponse.ConnectorApolloDiscriminatedConnectionData
18126
18875
  | ListConnectionsResponse.ConnectorCustomMcpDiscriminatedConnectionData
18876
+ | ListConnectionsResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
18127
18877
  | ListConnectionsResponse.ConnectorPlaidDiscriminatedConnectionData
18128
18878
  | ListConnectionsResponse.ConnectorPostgresDiscriminatedConnectionData
18129
18879
  | ListConnectionsResponse.ConnectorResendDiscriminatedConnectionData
@@ -18147,6 +18897,8 @@ export namespace ListConnectionsResponse {
18147
18897
 
18148
18898
  created_at?: string;
18149
18899
 
18900
+ credentials_last_fetched?: string | null;
18901
+
18150
18902
  customer_id?: string | null;
18151
18903
 
18152
18904
  disabled?: boolean | null;
@@ -18216,6 +18968,8 @@ export namespace ListConnectionsResponse {
18216
18968
 
18217
18969
  created_at?: string;
18218
18970
 
18971
+ credentials_last_fetched?: string | null;
18972
+
18219
18973
  customer_id?: string | null;
18220
18974
 
18221
18975
  disabled?: boolean | null;
@@ -18334,6 +19088,8 @@ export namespace ListConnectionsResponse {
18334
19088
 
18335
19089
  created_at?: string;
18336
19090
 
19091
+ credentials_last_fetched?: string | null;
19092
+
18337
19093
  customer_id?: string | null;
18338
19094
 
18339
19095
  disabled?: boolean | null;
@@ -18403,6 +19159,8 @@ export namespace ListConnectionsResponse {
18403
19159
 
18404
19160
  created_at?: string;
18405
19161
 
19162
+ credentials_last_fetched?: string | null;
19163
+
18406
19164
  customer_id?: string | null;
18407
19165
 
18408
19166
  disabled?: boolean | null;
@@ -18521,6 +19279,8 @@ export namespace ListConnectionsResponse {
18521
19279
 
18522
19280
  created_at?: string;
18523
19281
 
19282
+ credentials_last_fetched?: string | null;
19283
+
18524
19284
  customer_id?: string | null;
18525
19285
 
18526
19286
  disabled?: boolean | null;
@@ -18645,6 +19405,8 @@ export namespace ListConnectionsResponse {
18645
19405
 
18646
19406
  created_at?: string;
18647
19407
 
19408
+ credentials_last_fetched?: string | null;
19409
+
18648
19410
  customer_id?: string | null;
18649
19411
 
18650
19412
  disabled?: boolean | null;
@@ -18763,6 +19525,8 @@ export namespace ListConnectionsResponse {
18763
19525
 
18764
19526
  created_at?: string;
18765
19527
 
19528
+ credentials_last_fetched?: string | null;
19529
+
18766
19530
  customer_id?: string | null;
18767
19531
 
18768
19532
  disabled?: boolean | null;
@@ -18881,6 +19645,8 @@ export namespace ListConnectionsResponse {
18881
19645
 
18882
19646
  created_at?: string;
18883
19647
 
19648
+ credentials_last_fetched?: string | null;
19649
+
18884
19650
  customer_id?: string | null;
18885
19651
 
18886
19652
  disabled?: boolean | null;
@@ -18999,6 +19765,8 @@ export namespace ListConnectionsResponse {
18999
19765
 
19000
19766
  created_at?: string;
19001
19767
 
19768
+ credentials_last_fetched?: string | null;
19769
+
19002
19770
  customer_id?: string | null;
19003
19771
 
19004
19772
  disabled?: boolean | null;
@@ -19117,6 +19885,8 @@ export namespace ListConnectionsResponse {
19117
19885
 
19118
19886
  created_at?: string;
19119
19887
 
19888
+ credentials_last_fetched?: string | null;
19889
+
19120
19890
  customer_id?: string | null;
19121
19891
 
19122
19892
  disabled?: boolean | null;
@@ -19235,6 +20005,8 @@ export namespace ListConnectionsResponse {
19235
20005
 
19236
20006
  created_at?: string;
19237
20007
 
20008
+ credentials_last_fetched?: string | null;
20009
+
19238
20010
  customer_id?: string | null;
19239
20011
 
19240
20012
  disabled?: boolean | null;
@@ -19358,6 +20130,8 @@ export namespace ListConnectionsResponse {
19358
20130
 
19359
20131
  created_at?: string;
19360
20132
 
20133
+ credentials_last_fetched?: string | null;
20134
+
19361
20135
  customer_id?: string | null;
19362
20136
 
19363
20137
  disabled?: boolean | null;
@@ -19489,6 +20263,8 @@ export namespace ListConnectionsResponse {
19489
20263
 
19490
20264
  created_at?: string;
19491
20265
 
20266
+ credentials_last_fetched?: string | null;
20267
+
19492
20268
  customer_id?: string | null;
19493
20269
 
19494
20270
  disabled?: boolean | null;
@@ -19607,6 +20383,8 @@ export namespace ListConnectionsResponse {
19607
20383
 
19608
20384
  created_at?: string;
19609
20385
 
20386
+ credentials_last_fetched?: string | null;
20387
+
19610
20388
  customer_id?: string | null;
19611
20389
 
19612
20390
  disabled?: boolean | null;
@@ -19725,6 +20503,8 @@ export namespace ListConnectionsResponse {
19725
20503
 
19726
20504
  created_at?: string;
19727
20505
 
20506
+ credentials_last_fetched?: string | null;
20507
+
19728
20508
  customer_id?: string | null;
19729
20509
 
19730
20510
  disabled?: boolean | null;
@@ -19843,6 +20623,8 @@ export namespace ListConnectionsResponse {
19843
20623
 
19844
20624
  created_at?: string;
19845
20625
 
20626
+ credentials_last_fetched?: string | null;
20627
+
19846
20628
  customer_id?: string | null;
19847
20629
 
19848
20630
  disabled?: boolean | null;
@@ -19961,6 +20743,8 @@ export namespace ListConnectionsResponse {
19961
20743
 
19962
20744
  created_at?: string;
19963
20745
 
20746
+ credentials_last_fetched?: string | null;
20747
+
19964
20748
  customer_id?: string | null;
19965
20749
 
19966
20750
  disabled?: boolean | null;
@@ -20079,6 +20863,8 @@ export namespace ListConnectionsResponse {
20079
20863
 
20080
20864
  created_at?: string;
20081
20865
 
20866
+ credentials_last_fetched?: string | null;
20867
+
20082
20868
  customer_id?: string | null;
20083
20869
 
20084
20870
  disabled?: boolean | null;
@@ -20197,6 +20983,8 @@ export namespace ListConnectionsResponse {
20197
20983
 
20198
20984
  created_at?: string;
20199
20985
 
20986
+ credentials_last_fetched?: string | null;
20987
+
20200
20988
  customer_id?: string | null;
20201
20989
 
20202
20990
  disabled?: boolean | null;
@@ -20315,6 +21103,8 @@ export namespace ListConnectionsResponse {
20315
21103
 
20316
21104
  created_at?: string;
20317
21105
 
21106
+ credentials_last_fetched?: string | null;
21107
+
20318
21108
  customer_id?: string | null;
20319
21109
 
20320
21110
  disabled?: boolean | null;
@@ -20433,6 +21223,8 @@ export namespace ListConnectionsResponse {
20433
21223
 
20434
21224
  created_at?: string;
20435
21225
 
21226
+ credentials_last_fetched?: string | null;
21227
+
20436
21228
  customer_id?: string | null;
20437
21229
 
20438
21230
  disabled?: boolean | null;
@@ -20551,6 +21343,8 @@ export namespace ListConnectionsResponse {
20551
21343
 
20552
21344
  created_at?: string;
20553
21345
 
21346
+ credentials_last_fetched?: string | null;
21347
+
20554
21348
  customer_id?: string | null;
20555
21349
 
20556
21350
  disabled?: boolean | null;
@@ -20669,6 +21463,8 @@ export namespace ListConnectionsResponse {
20669
21463
 
20670
21464
  created_at?: string;
20671
21465
 
21466
+ credentials_last_fetched?: string | null;
21467
+
20672
21468
  customer_id?: string | null;
20673
21469
 
20674
21470
  disabled?: boolean | null;
@@ -20787,6 +21583,8 @@ export namespace ListConnectionsResponse {
20787
21583
 
20788
21584
  created_at?: string;
20789
21585
 
21586
+ credentials_last_fetched?: string | null;
21587
+
20790
21588
  customer_id?: string | null;
20791
21589
 
20792
21590
  disabled?: boolean | null;
@@ -20905,6 +21703,8 @@ export namespace ListConnectionsResponse {
20905
21703
 
20906
21704
  created_at?: string;
20907
21705
 
21706
+ credentials_last_fetched?: string | null;
21707
+
20908
21708
  customer_id?: string | null;
20909
21709
 
20910
21710
  disabled?: boolean | null;
@@ -20966,247 +21766,261 @@ export namespace ListConnectionsResponse {
20966
21766
  * for backward compatibility until we remove the oauth field
20967
21767
  */
20968
21768
  access_token?: string;
20969
- }
20970
-
20971
- export namespace Settings {
20972
- export interface OAuth {
20973
- created_at?: string;
20974
-
20975
- /**
20976
- * Output of the postConnect hook for oauth2 connectors
20977
- */
20978
- credentials?: OAuth.Credentials;
20979
-
20980
- last_fetched_at?: string;
20981
-
20982
- metadata?: { [key: string]: unknown } | null;
20983
-
20984
- updated_at?: string;
20985
- }
20986
-
20987
- export namespace OAuth {
20988
- /**
20989
- * Output of the postConnect hook for oauth2 connectors
20990
- */
20991
- export interface Credentials {
20992
- access_token: string;
20993
-
20994
- /**
20995
- * Client ID used for the connection
20996
- */
20997
- client_id?: string;
20998
-
20999
- expires_at?: string;
21000
-
21001
- expires_in?: number;
21002
-
21003
- raw?: { [key: string]: unknown };
21004
-
21005
- refresh_token?: string;
21006
-
21007
- scope?: string;
21008
-
21009
- token_type?: string;
21010
- }
21011
- }
21012
- }
21013
- }
21014
-
21015
- export interface ConnectorInstagramDiscriminatedConnectionData {
21016
- connector_name: 'instagram';
21017
-
21018
- id?: string;
21019
-
21020
- connector?: TopLevelAPI.Connector;
21021
-
21022
- connector_config_id?: string | null;
21023
-
21024
- created_at?: string;
21025
-
21026
- customer_id?: string | null;
21027
-
21028
- disabled?: boolean | null;
21029
-
21030
- display_name?: string | null;
21031
-
21032
- environment?: 'production' | 'development';
21033
-
21034
- health_check_result?: ConnectorInstagramDiscriminatedConnectionData.HealthCheckResult | null;
21035
-
21036
- integration?: TopLevelAPI.Integration;
21037
-
21038
- integration_id?: string | null;
21039
-
21040
- /**
21041
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
21042
- * separate 1-1 table just for simple key values in your application. During
21043
- * updates this object will be shallowly merged
21044
- */
21045
- metadata?: { [key: string]: unknown } | null;
21046
-
21047
- public_settings?: unknown;
21048
-
21049
- settings?: ConnectorInstagramDiscriminatedConnectionData.Settings;
21050
-
21051
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
21052
-
21053
- status_message?: string | null;
21054
-
21055
- updated_at?: string;
21056
-
21057
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
21058
-
21059
- webhook_configured_at?: string | null;
21060
-
21061
- webhook_identifier?: string | null;
21062
- }
21063
-
21064
- export namespace ConnectorInstagramDiscriminatedConnectionData {
21065
- export interface HealthCheckResult {
21066
- checked_at: string;
21067
-
21068
- field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
21069
- }
21070
-
21071
- export namespace HealthCheckResult {
21072
- export interface FieldValidations {
21073
- status: 'valid' | 'invalid';
21074
-
21075
- error?: string;
21076
- }
21077
- }
21078
-
21079
- export interface Settings {
21080
- oauth: Settings.OAuth;
21081
-
21082
- /**
21083
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
21084
- * for backward compatibility until we remove the oauth field
21085
- */
21086
- access_token?: string;
21087
- }
21088
-
21089
- export namespace Settings {
21090
- export interface OAuth {
21091
- created_at?: string;
21092
-
21093
- /**
21094
- * Output of the postConnect hook for oauth2 connectors
21095
- */
21096
- credentials?: OAuth.Credentials;
21097
-
21098
- last_fetched_at?: string;
21099
-
21100
- metadata?: { [key: string]: unknown } | null;
21101
-
21102
- updated_at?: string;
21103
- }
21104
-
21105
- export namespace OAuth {
21106
- /**
21107
- * Output of the postConnect hook for oauth2 connectors
21108
- */
21109
- export interface Credentials {
21110
- access_token: string;
21111
-
21112
- /**
21113
- * Client ID used for the connection
21114
- */
21115
- client_id?: string;
21116
-
21117
- expires_at?: string;
21118
-
21119
- expires_in?: number;
21120
-
21121
- raw?: { [key: string]: unknown };
21122
-
21123
- refresh_token?: string;
21124
-
21125
- scope?: string;
21126
-
21127
- token_type?: string;
21128
- }
21129
- }
21130
- }
21131
- }
21132
-
21133
- export interface ConnectorJiraDiscriminatedConnectionData {
21134
- connector_name: 'jira';
21135
-
21136
- id?: string;
21137
-
21138
- connector?: TopLevelAPI.Connector;
21139
-
21140
- connector_config_id?: string | null;
21141
-
21142
- created_at?: string;
21143
-
21144
- customer_id?: string | null;
21145
-
21146
- disabled?: boolean | null;
21147
-
21148
- display_name?: string | null;
21149
-
21150
- environment?: 'production' | 'development';
21151
-
21152
- health_check_result?: ConnectorJiraDiscriminatedConnectionData.HealthCheckResult | null;
21153
-
21154
- integration?: TopLevelAPI.Integration;
21155
-
21156
- integration_id?: string | null;
21157
-
21158
- /**
21159
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
21160
- * separate 1-1 table just for simple key values in your application. During
21161
- * updates this object will be shallowly merged
21162
- */
21163
- metadata?: { [key: string]: unknown } | null;
21164
-
21165
- public_settings?: unknown;
21166
-
21167
- settings?: ConnectorJiraDiscriminatedConnectionData.Settings;
21168
-
21169
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
21170
-
21171
- status_message?: string | null;
21172
-
21173
- updated_at?: string;
21174
-
21175
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
21176
-
21177
- webhook_configured_at?: string | null;
21178
-
21179
- webhook_identifier?: string | null;
21180
- }
21181
-
21182
- export namespace ConnectorJiraDiscriminatedConnectionData {
21183
- export interface HealthCheckResult {
21184
- checked_at: string;
21185
-
21186
- field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
21187
- }
21188
-
21189
- export namespace HealthCheckResult {
21190
- export interface FieldValidations {
21191
- status: 'valid' | 'invalid';
21192
-
21193
- error?: string;
21194
- }
21195
- }
21196
-
21197
- export interface Settings {
21198
- oauth: Settings.OAuth;
21199
21769
 
21200
21770
  /**
21201
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
21771
+ * Your HubSpot App ID (automatically fetched from access token)
21202
21772
  */
21203
- site_url: string;
21773
+ app_id?: number;
21204
21774
 
21205
21775
  /**
21206
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
21207
- * for backward compatibility until we remove the oauth field
21776
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
21208
21777
  */
21209
- access_token?: string;
21778
+ hub_id?: number;
21779
+ }
21780
+
21781
+ export namespace Settings {
21782
+ export interface OAuth {
21783
+ created_at?: string;
21784
+
21785
+ /**
21786
+ * Output of the postConnect hook for oauth2 connectors
21787
+ */
21788
+ credentials?: OAuth.Credentials;
21789
+
21790
+ last_fetched_at?: string;
21791
+
21792
+ metadata?: { [key: string]: unknown } | null;
21793
+
21794
+ updated_at?: string;
21795
+ }
21796
+
21797
+ export namespace OAuth {
21798
+ /**
21799
+ * Output of the postConnect hook for oauth2 connectors
21800
+ */
21801
+ export interface Credentials {
21802
+ access_token: string;
21803
+
21804
+ /**
21805
+ * Client ID used for the connection
21806
+ */
21807
+ client_id?: string;
21808
+
21809
+ expires_at?: string;
21810
+
21811
+ expires_in?: number;
21812
+
21813
+ raw?: { [key: string]: unknown };
21814
+
21815
+ refresh_token?: string;
21816
+
21817
+ scope?: string;
21818
+
21819
+ token_type?: string;
21820
+ }
21821
+ }
21822
+ }
21823
+ }
21824
+
21825
+ export interface ConnectorInstagramDiscriminatedConnectionData {
21826
+ connector_name: 'instagram';
21827
+
21828
+ id?: string;
21829
+
21830
+ connector?: TopLevelAPI.Connector;
21831
+
21832
+ connector_config_id?: string | null;
21833
+
21834
+ created_at?: string;
21835
+
21836
+ credentials_last_fetched?: string | null;
21837
+
21838
+ customer_id?: string | null;
21839
+
21840
+ disabled?: boolean | null;
21841
+
21842
+ display_name?: string | null;
21843
+
21844
+ environment?: 'production' | 'development';
21845
+
21846
+ health_check_result?: ConnectorInstagramDiscriminatedConnectionData.HealthCheckResult | null;
21847
+
21848
+ integration?: TopLevelAPI.Integration;
21849
+
21850
+ integration_id?: string | null;
21851
+
21852
+ /**
21853
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
21854
+ * separate 1-1 table just for simple key values in your application. During
21855
+ * updates this object will be shallowly merged
21856
+ */
21857
+ metadata?: { [key: string]: unknown } | null;
21858
+
21859
+ public_settings?: unknown;
21860
+
21861
+ settings?: ConnectorInstagramDiscriminatedConnectionData.Settings;
21862
+
21863
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
21864
+
21865
+ status_message?: string | null;
21866
+
21867
+ updated_at?: string;
21868
+
21869
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
21870
+
21871
+ webhook_configured_at?: string | null;
21872
+
21873
+ webhook_identifier?: string | null;
21874
+ }
21875
+
21876
+ export namespace ConnectorInstagramDiscriminatedConnectionData {
21877
+ export interface HealthCheckResult {
21878
+ checked_at: string;
21879
+
21880
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
21881
+ }
21882
+
21883
+ export namespace HealthCheckResult {
21884
+ export interface FieldValidations {
21885
+ status: 'valid' | 'invalid';
21886
+
21887
+ error?: string;
21888
+ }
21889
+ }
21890
+
21891
+ export interface Settings {
21892
+ oauth: Settings.OAuth;
21893
+
21894
+ /**
21895
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
21896
+ * for backward compatibility until we remove the oauth field
21897
+ */
21898
+ access_token?: string;
21899
+ }
21900
+
21901
+ export namespace Settings {
21902
+ export interface OAuth {
21903
+ created_at?: string;
21904
+
21905
+ /**
21906
+ * Output of the postConnect hook for oauth2 connectors
21907
+ */
21908
+ credentials?: OAuth.Credentials;
21909
+
21910
+ last_fetched_at?: string;
21911
+
21912
+ metadata?: { [key: string]: unknown } | null;
21913
+
21914
+ updated_at?: string;
21915
+ }
21916
+
21917
+ export namespace OAuth {
21918
+ /**
21919
+ * Output of the postConnect hook for oauth2 connectors
21920
+ */
21921
+ export interface Credentials {
21922
+ access_token: string;
21923
+
21924
+ /**
21925
+ * Client ID used for the connection
21926
+ */
21927
+ client_id?: string;
21928
+
21929
+ expires_at?: string;
21930
+
21931
+ expires_in?: number;
21932
+
21933
+ raw?: { [key: string]: unknown };
21934
+
21935
+ refresh_token?: string;
21936
+
21937
+ scope?: string;
21938
+
21939
+ token_type?: string;
21940
+ }
21941
+ }
21942
+ }
21943
+ }
21944
+
21945
+ export interface ConnectorJiraDiscriminatedConnectionData {
21946
+ connector_name: 'jira';
21947
+
21948
+ id?: string;
21949
+
21950
+ connector?: TopLevelAPI.Connector;
21951
+
21952
+ connector_config_id?: string | null;
21953
+
21954
+ created_at?: string;
21955
+
21956
+ credentials_last_fetched?: string | null;
21957
+
21958
+ customer_id?: string | null;
21959
+
21960
+ disabled?: boolean | null;
21961
+
21962
+ display_name?: string | null;
21963
+
21964
+ environment?: 'production' | 'development';
21965
+
21966
+ health_check_result?: ConnectorJiraDiscriminatedConnectionData.HealthCheckResult | null;
21967
+
21968
+ integration?: TopLevelAPI.Integration;
21969
+
21970
+ integration_id?: string | null;
21971
+
21972
+ /**
21973
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
21974
+ * separate 1-1 table just for simple key values in your application. During
21975
+ * updates this object will be shallowly merged
21976
+ */
21977
+ metadata?: { [key: string]: unknown } | null;
21978
+
21979
+ public_settings?: unknown;
21980
+
21981
+ settings?: ConnectorJiraDiscriminatedConnectionData.Settings;
21982
+
21983
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
21984
+
21985
+ status_message?: string | null;
21986
+
21987
+ updated_at?: string;
21988
+
21989
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
21990
+
21991
+ webhook_configured_at?: string | null;
21992
+
21993
+ webhook_identifier?: string | null;
21994
+ }
21995
+
21996
+ export namespace ConnectorJiraDiscriminatedConnectionData {
21997
+ export interface HealthCheckResult {
21998
+ checked_at: string;
21999
+
22000
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
22001
+ }
22002
+
22003
+ export namespace HealthCheckResult {
22004
+ export interface FieldValidations {
22005
+ status: 'valid' | 'invalid';
22006
+
22007
+ error?: string;
22008
+ }
22009
+ }
22010
+
22011
+ export interface Settings {
22012
+ oauth: Settings.OAuth;
22013
+
22014
+ /**
22015
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
22016
+ */
22017
+ site_url: string;
22018
+
22019
+ /**
22020
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
22021
+ * for backward compatibility until we remove the oauth field
22022
+ */
22023
+ access_token?: string;
21210
22024
  }
21211
22025
 
21212
22026
  export namespace Settings {
@@ -21264,6 +22078,8 @@ export namespace ListConnectionsResponse {
21264
22078
 
21265
22079
  created_at?: string;
21266
22080
 
22081
+ credentials_last_fetched?: string | null;
22082
+
21267
22083
  customer_id?: string | null;
21268
22084
 
21269
22085
  disabled?: boolean | null;
@@ -21382,6 +22198,8 @@ export namespace ListConnectionsResponse {
21382
22198
 
21383
22199
  created_at?: string;
21384
22200
 
22201
+ credentials_last_fetched?: string | null;
22202
+
21385
22203
  customer_id?: string | null;
21386
22204
 
21387
22205
  disabled?: boolean | null;
@@ -21500,6 +22318,8 @@ export namespace ListConnectionsResponse {
21500
22318
 
21501
22319
  created_at?: string;
21502
22320
 
22321
+ credentials_last_fetched?: string | null;
22322
+
21503
22323
  customer_id?: string | null;
21504
22324
 
21505
22325
  disabled?: boolean | null;
@@ -21618,6 +22438,8 @@ export namespace ListConnectionsResponse {
21618
22438
 
21619
22439
  created_at?: string;
21620
22440
 
22441
+ credentials_last_fetched?: string | null;
22442
+
21621
22443
  customer_id?: string | null;
21622
22444
 
21623
22445
  disabled?: boolean | null;
@@ -21736,6 +22558,8 @@ export namespace ListConnectionsResponse {
21736
22558
 
21737
22559
  created_at?: string;
21738
22560
 
22561
+ credentials_last_fetched?: string | null;
22562
+
21739
22563
  customer_id?: string | null;
21740
22564
 
21741
22565
  disabled?: boolean | null;
@@ -21854,6 +22678,8 @@ export namespace ListConnectionsResponse {
21854
22678
 
21855
22679
  created_at?: string;
21856
22680
 
22681
+ credentials_last_fetched?: string | null;
22682
+
21857
22683
  customer_id?: string | null;
21858
22684
 
21859
22685
  disabled?: boolean | null;
@@ -21977,6 +22803,8 @@ export namespace ListConnectionsResponse {
21977
22803
 
21978
22804
  created_at?: string;
21979
22805
 
22806
+ credentials_last_fetched?: string | null;
22807
+
21980
22808
  customer_id?: string | null;
21981
22809
 
21982
22810
  disabled?: boolean | null;
@@ -22095,6 +22923,8 @@ export namespace ListConnectionsResponse {
22095
22923
 
22096
22924
  created_at?: string;
22097
22925
 
22926
+ credentials_last_fetched?: string | null;
22927
+
22098
22928
  customer_id?: string | null;
22099
22929
 
22100
22930
  disabled?: boolean | null;
@@ -22213,6 +23043,8 @@ export namespace ListConnectionsResponse {
22213
23043
 
22214
23044
  created_at?: string;
22215
23045
 
23046
+ credentials_last_fetched?: string | null;
23047
+
22216
23048
  customer_id?: string | null;
22217
23049
 
22218
23050
  disabled?: boolean | null;
@@ -22331,6 +23163,8 @@ export namespace ListConnectionsResponse {
22331
23163
 
22332
23164
  created_at?: string;
22333
23165
 
23166
+ credentials_last_fetched?: string | null;
23167
+
22334
23168
  customer_id?: string | null;
22335
23169
 
22336
23170
  disabled?: boolean | null;
@@ -22455,6 +23289,8 @@ export namespace ListConnectionsResponse {
22455
23289
 
22456
23290
  created_at?: string;
22457
23291
 
23292
+ credentials_last_fetched?: string | null;
23293
+
22458
23294
  customer_id?: string | null;
22459
23295
 
22460
23296
  disabled?: boolean | null;
@@ -22573,6 +23409,8 @@ export namespace ListConnectionsResponse {
22573
23409
 
22574
23410
  created_at?: string;
22575
23411
 
23412
+ credentials_last_fetched?: string | null;
23413
+
22576
23414
  customer_id?: string | null;
22577
23415
 
22578
23416
  disabled?: boolean | null;
@@ -22691,6 +23529,8 @@ export namespace ListConnectionsResponse {
22691
23529
 
22692
23530
  created_at?: string;
22693
23531
 
23532
+ credentials_last_fetched?: string | null;
23533
+
22694
23534
  customer_id?: string | null;
22695
23535
 
22696
23536
  disabled?: boolean | null;
@@ -22809,6 +23649,8 @@ export namespace ListConnectionsResponse {
22809
23649
 
22810
23650
  created_at?: string;
22811
23651
 
23652
+ credentials_last_fetched?: string | null;
23653
+
22812
23654
  customer_id?: string | null;
22813
23655
 
22814
23656
  disabled?: boolean | null;
@@ -22932,6 +23774,8 @@ export namespace ListConnectionsResponse {
22932
23774
 
22933
23775
  created_at?: string;
22934
23776
 
23777
+ credentials_last_fetched?: string | null;
23778
+
22935
23779
  customer_id?: string | null;
22936
23780
 
22937
23781
  disabled?: boolean | null;
@@ -23050,6 +23894,8 @@ export namespace ListConnectionsResponse {
23050
23894
 
23051
23895
  created_at?: string;
23052
23896
 
23897
+ credentials_last_fetched?: string | null;
23898
+
23053
23899
  customer_id?: string | null;
23054
23900
 
23055
23901
  disabled?: boolean | null;
@@ -23119,6 +23965,8 @@ export namespace ListConnectionsResponse {
23119
23965
 
23120
23966
  created_at?: string;
23121
23967
 
23968
+ credentials_last_fetched?: string | null;
23969
+
23122
23970
  customer_id?: string | null;
23123
23971
 
23124
23972
  disabled?: boolean | null;
@@ -23140,7 +23988,7 @@ export namespace ListConnectionsResponse {
23140
23988
  */
23141
23989
  metadata?: { [key: string]: unknown } | null;
23142
23990
 
23143
- public_settings?: unknown;
23991
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
23144
23992
 
23145
23993
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
23146
23994
 
@@ -23172,6 +24020,13 @@ export namespace ListConnectionsResponse {
23172
24020
  }
23173
24021
  }
23174
24022
 
24023
+ export interface PublicSettings {
24024
+ /**
24025
+ * MCP transport type detected during connection
24026
+ */
24027
+ transport_type?: 'streamable-http' | 'sse';
24028
+ }
24029
+
23175
24030
  export interface Settings {
23176
24031
  /**
23177
24032
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -23181,7 +24036,12 @@ export namespace ListConnectionsResponse {
23181
24036
  /**
23182
24037
  * Custom headers to include with every request
23183
24038
  */
23184
- headers: Array<Settings.Header>;
24039
+ headers?: Array<Settings.Header>;
24040
+
24041
+ /**
24042
+ * OAuth authentication credentials
24043
+ */
24044
+ oauth?: Settings.OAuth;
23185
24045
  }
23186
24046
 
23187
24047
  export namespace Settings {
@@ -23196,6 +24056,196 @@ export namespace ListConnectionsResponse {
23196
24056
  */
23197
24057
  value: string;
23198
24058
  }
24059
+
24060
+ /**
24061
+ * OAuth authentication credentials
24062
+ */
24063
+ export interface OAuth {
24064
+ client: OAuth.Client;
24065
+
24066
+ credentials: OAuth.Credentials;
24067
+
24068
+ metadata: OAuth.Metadata;
24069
+ }
24070
+
24071
+ export namespace OAuth {
24072
+ export interface Client {
24073
+ client_id: string;
24074
+
24075
+ redirect_uris: Array<string>;
24076
+
24077
+ client_secret?: string;
24078
+ }
24079
+
24080
+ export interface Credentials {
24081
+ access_token: string;
24082
+
24083
+ token_type: string;
24084
+
24085
+ expires_at?: string;
24086
+
24087
+ expires_in?: number;
24088
+
24089
+ refresh_token?: string;
24090
+
24091
+ scope?: string;
24092
+ }
24093
+
24094
+ export interface Metadata {
24095
+ authorization_endpoint: string;
24096
+
24097
+ issuer: string;
24098
+
24099
+ response_types_supported: Array<string>;
24100
+
24101
+ token_endpoint: string;
24102
+
24103
+ code_challenge_methods_supported?: Array<string>;
24104
+
24105
+ grant_types_supported?: Array<string>;
24106
+
24107
+ introspection_endpoint?: string;
24108
+
24109
+ introspection_endpoint_auth_methods_supported?: Array<string>;
24110
+
24111
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
24112
+
24113
+ registration_endpoint?: string;
24114
+
24115
+ response_modes_supported?: Array<string>;
24116
+
24117
+ revocation_endpoint?: string;
24118
+
24119
+ revocation_endpoint_auth_methods_supported?: Array<string>;
24120
+
24121
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
24122
+
24123
+ scopes_supported?: Array<string>;
24124
+
24125
+ service_documentation?: string;
24126
+
24127
+ token_endpoint_auth_methods_supported?: Array<string>;
24128
+
24129
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
24130
+
24131
+ [k: string]: unknown;
24132
+ }
24133
+ }
24134
+ }
24135
+ }
24136
+
24137
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
24138
+ connector_name: 'databricks-m2m';
24139
+
24140
+ id?: string;
24141
+
24142
+ connector?: TopLevelAPI.Connector;
24143
+
24144
+ connector_config_id?: string | null;
24145
+
24146
+ created_at?: string;
24147
+
24148
+ credentials_last_fetched?: string | null;
24149
+
24150
+ customer_id?: string | null;
24151
+
24152
+ disabled?: boolean | null;
24153
+
24154
+ display_name?: string | null;
24155
+
24156
+ environment?: 'production' | 'development';
24157
+
24158
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
24159
+
24160
+ integration?: TopLevelAPI.Integration;
24161
+
24162
+ integration_id?: string | null;
24163
+
24164
+ /**
24165
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
24166
+ * separate 1-1 table just for simple key values in your application. During
24167
+ * updates this object will be shallowly merged
24168
+ */
24169
+ metadata?: { [key: string]: unknown } | null;
24170
+
24171
+ public_settings?: unknown;
24172
+
24173
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
24174
+
24175
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
24176
+
24177
+ status_message?: string | null;
24178
+
24179
+ updated_at?: string;
24180
+
24181
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
24182
+
24183
+ webhook_configured_at?: string | null;
24184
+
24185
+ webhook_identifier?: string | null;
24186
+ }
24187
+
24188
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
24189
+ export interface HealthCheckResult {
24190
+ checked_at: string;
24191
+
24192
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
24193
+ }
24194
+
24195
+ export namespace HealthCheckResult {
24196
+ export interface FieldValidations {
24197
+ status: 'valid' | 'invalid';
24198
+
24199
+ error?: string;
24200
+ }
24201
+ }
24202
+
24203
+ export interface Settings {
24204
+ /**
24205
+ * Access token for Databricks API
24206
+ */
24207
+ access_token: string;
24208
+
24209
+ /**
24210
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
24211
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
24212
+ */
24213
+ http_path: string;
24214
+
24215
+ /**
24216
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
24217
+ * warehouse in Databricks and click the "Connection details" button. Copy the
24218
+ * Server hostname value.
24219
+ */
24220
+ server_hostname: string;
24221
+
24222
+ oauth?: Settings.OAuth;
24223
+ }
24224
+
24225
+ export namespace Settings {
24226
+ export interface OAuth {
24227
+ credentials?: OAuth.Credentials;
24228
+ }
24229
+
24230
+ export namespace OAuth {
24231
+ export interface Credentials {
24232
+ access_token: string;
24233
+
24234
+ client_id: string;
24235
+
24236
+ expires_at?: string;
24237
+
24238
+ expires_in?: number;
24239
+
24240
+ raw?: { [key: string]: unknown };
24241
+
24242
+ refresh_token?: string;
24243
+
24244
+ scope?: string;
24245
+
24246
+ token_type?: string;
24247
+ }
24248
+ }
23199
24249
  }
23200
24250
  }
23201
24251
 
@@ -23210,6 +24260,8 @@ export namespace ListConnectionsResponse {
23210
24260
 
23211
24261
  created_at?: string;
23212
24262
 
24263
+ credentials_last_fetched?: string | null;
24264
+
23213
24265
  customer_id?: string | null;
23214
24266
 
23215
24267
  disabled?: boolean | null;
@@ -23289,6 +24341,8 @@ export namespace ListConnectionsResponse {
23289
24341
 
23290
24342
  created_at?: string;
23291
24343
 
24344
+ credentials_last_fetched?: string | null;
24345
+
23292
24346
  customer_id?: string | null;
23293
24347
 
23294
24348
  disabled?: boolean | null;
@@ -23358,6 +24412,8 @@ export namespace ListConnectionsResponse {
23358
24412
 
23359
24413
  created_at?: string;
23360
24414
 
24415
+ credentials_last_fetched?: string | null;
24416
+
23361
24417
  customer_id?: string | null;
23362
24418
 
23363
24419
  disabled?: boolean | null;
@@ -23432,6 +24488,8 @@ export namespace ListConnectionsResponse {
23432
24488
 
23433
24489
  created_at?: string;
23434
24490
 
24491
+ credentials_last_fetched?: string | null;
24492
+
23435
24493
  customer_id?: string | null;
23436
24494
 
23437
24495
  disabled?: boolean | null;
@@ -23506,6 +24564,8 @@ export namespace ListConnectionsResponse {
23506
24564
 
23507
24565
  created_at?: string;
23508
24566
 
24567
+ credentials_last_fetched?: string | null;
24568
+
23509
24569
  customer_id?: string | null;
23510
24570
 
23511
24571
  disabled?: boolean | null;
@@ -23578,6 +24638,8 @@ export namespace ListConnectionsResponse {
23578
24638
 
23579
24639
  created_at?: string;
23580
24640
 
24641
+ credentials_last_fetched?: string | null;
24642
+
23581
24643
  customer_id?: string | null;
23582
24644
 
23583
24645
  disabled?: boolean | null;
@@ -23790,6 +24852,8 @@ export namespace ListConnectionsResponse {
23790
24852
 
23791
24853
  created_at?: string;
23792
24854
 
24855
+ credentials_last_fetched?: string | null;
24856
+
23793
24857
  customer_id?: string | null;
23794
24858
 
23795
24859
  disabled?: boolean | null;
@@ -23919,6 +24983,8 @@ export namespace ListConnectionsResponse {
23919
24983
 
23920
24984
  created_at?: string;
23921
24985
 
24986
+ credentials_last_fetched?: string | null;
24987
+
23922
24988
  customer_id?: string | null;
23923
24989
 
23924
24990
  disabled?: boolean | null;
@@ -24036,6 +25102,8 @@ export namespace ListConnectionsResponse {
24036
25102
 
24037
25103
  created_at?: string;
24038
25104
 
25105
+ credentials_last_fetched?: string | null;
25106
+
24039
25107
  customer_id?: string | null;
24040
25108
 
24041
25109
  disabled?: boolean | null;
@@ -24114,6 +25182,8 @@ export namespace ListConnectionsResponse {
24114
25182
 
24115
25183
  created_at?: string;
24116
25184
 
25185
+ credentials_last_fetched?: string | null;
25186
+
24117
25187
  customer_id?: string | null;
24118
25188
 
24119
25189
  disabled?: boolean | null;
@@ -24222,6 +25292,7 @@ export type ListConnectorConfigsResponse =
24222
25292
  | ListConnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
24223
25293
  | ListConnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
24224
25294
  | ListConnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
25295
+ | ListConnectorConfigsResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
24225
25296
  | ListConnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
24226
25297
  | ListConnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
24227
25298
  | ListConnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -26684,6 +27755,57 @@ export namespace ListConnectorConfigsResponse {
26684
27755
  updated_at?: string;
26685
27756
  }
26686
27757
 
27758
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
27759
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
27760
+
27761
+ connector_name: 'databricks-m2m';
27762
+
27763
+ id?: string;
27764
+
27765
+ connection_count?: number;
27766
+
27767
+ connector?: TopLevelAPI.Connector;
27768
+
27769
+ created_at?: string;
27770
+
27771
+ disabled?: boolean | null;
27772
+
27773
+ display_name?: string | null;
27774
+
27775
+ integrations?: { [key: string]: TopLevelAPI.Integration };
27776
+
27777
+ /**
27778
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
27779
+ * separate 1-1 table just for simple key values in your application. During
27780
+ * updates this object will be shallowly merged
27781
+ */
27782
+ metadata?: { [key: string]: unknown } | null;
27783
+
27784
+ org_id?: string;
27785
+
27786
+ updated_at?: string;
27787
+ }
27788
+
27789
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
27790
+ export interface Config {
27791
+ oauth: Config.OAuth;
27792
+ }
27793
+
27794
+ export namespace Config {
27795
+ export interface OAuth {
27796
+ /**
27797
+ * OAuth2 client ID for Databricks
27798
+ */
27799
+ client_id: string;
27800
+
27801
+ /**
27802
+ * OAuth2 client secret for Databricks
27803
+ */
27804
+ client_secret: string;
27805
+ }
27806
+ }
27807
+ }
27808
+
26687
27809
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
26688
27810
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
26689
27811
 
@@ -27199,6 +28321,7 @@ export type ListConnnectorConfigsResponse =
27199
28321
  | ListConnnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
27200
28322
  | ListConnnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
27201
28323
  | ListConnnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
28324
+ | ListConnnectorConfigsResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
27202
28325
  | ListConnnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
27203
28326
  | ListConnnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
27204
28327
  | ListConnnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -29661,6 +30784,57 @@ export namespace ListConnnectorConfigsResponse {
29661
30784
  updated_at?: string;
29662
30785
  }
29663
30786
 
30787
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30788
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
30789
+
30790
+ connector_name: 'databricks-m2m';
30791
+
30792
+ id?: string;
30793
+
30794
+ connection_count?: number;
30795
+
30796
+ connector?: TopLevelAPI.Connector;
30797
+
30798
+ created_at?: string;
30799
+
30800
+ disabled?: boolean | null;
30801
+
30802
+ display_name?: string | null;
30803
+
30804
+ integrations?: { [key: string]: TopLevelAPI.Integration };
30805
+
30806
+ /**
30807
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
30808
+ * separate 1-1 table just for simple key values in your application. During
30809
+ * updates this object will be shallowly merged
30810
+ */
30811
+ metadata?: { [key: string]: unknown } | null;
30812
+
30813
+ org_id?: string;
30814
+
30815
+ updated_at?: string;
30816
+ }
30817
+
30818
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30819
+ export interface Config {
30820
+ oauth: Config.OAuth;
30821
+ }
30822
+
30823
+ export namespace Config {
30824
+ export interface OAuth {
30825
+ /**
30826
+ * OAuth2 client ID for Databricks
30827
+ */
30828
+ client_id: string;
30829
+
30830
+ /**
30831
+ * OAuth2 client secret for Databricks
30832
+ */
30833
+ client_secret: string;
30834
+ }
30835
+ }
30836
+ }
30837
+
29664
30838
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
29665
30839
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
29666
30840
 
@@ -30926,6 +32100,7 @@ export type PostConnectResponse =
30926
32100
  | PostConnectResponse.ConnectorZoomDiscriminatedConnectionData
30927
32101
  | PostConnectResponse.ConnectorApolloDiscriminatedConnectionData
30928
32102
  | PostConnectResponse.ConnectorCustomMcpDiscriminatedConnectionData
32103
+ | PostConnectResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
30929
32104
  | PostConnectResponse.ConnectorPlaidDiscriminatedConnectionData
30930
32105
  | PostConnectResponse.ConnectorPostgresDiscriminatedConnectionData
30931
32106
  | PostConnectResponse.ConnectorResendDiscriminatedConnectionData
@@ -30947,6 +32122,8 @@ export namespace PostConnectResponse {
30947
32122
 
30948
32123
  created_at?: string;
30949
32124
 
32125
+ credentials_last_fetched?: string | null;
32126
+
30950
32127
  customer_id?: string | null;
30951
32128
 
30952
32129
  disabled?: boolean | null;
@@ -31012,6 +32189,8 @@ export namespace PostConnectResponse {
31012
32189
 
31013
32190
  created_at?: string;
31014
32191
 
32192
+ credentials_last_fetched?: string | null;
32193
+
31015
32194
  customer_id?: string | null;
31016
32195
 
31017
32196
  disabled?: boolean | null;
@@ -31126,6 +32305,8 @@ export namespace PostConnectResponse {
31126
32305
 
31127
32306
  created_at?: string;
31128
32307
 
32308
+ credentials_last_fetched?: string | null;
32309
+
31129
32310
  customer_id?: string | null;
31130
32311
 
31131
32312
  disabled?: boolean | null;
@@ -31191,6 +32372,8 @@ export namespace PostConnectResponse {
31191
32372
 
31192
32373
  created_at?: string;
31193
32374
 
32375
+ credentials_last_fetched?: string | null;
32376
+
31194
32377
  customer_id?: string | null;
31195
32378
 
31196
32379
  disabled?: boolean | null;
@@ -31305,6 +32488,8 @@ export namespace PostConnectResponse {
31305
32488
 
31306
32489
  created_at?: string;
31307
32490
 
32491
+ credentials_last_fetched?: string | null;
32492
+
31308
32493
  customer_id?: string | null;
31309
32494
 
31310
32495
  disabled?: boolean | null;
@@ -31425,6 +32610,8 @@ export namespace PostConnectResponse {
31425
32610
 
31426
32611
  created_at?: string;
31427
32612
 
32613
+ credentials_last_fetched?: string | null;
32614
+
31428
32615
  customer_id?: string | null;
31429
32616
 
31430
32617
  disabled?: boolean | null;
@@ -31539,6 +32726,8 @@ export namespace PostConnectResponse {
31539
32726
 
31540
32727
  created_at?: string;
31541
32728
 
32729
+ credentials_last_fetched?: string | null;
32730
+
31542
32731
  customer_id?: string | null;
31543
32732
 
31544
32733
  disabled?: boolean | null;
@@ -31653,6 +32842,8 @@ export namespace PostConnectResponse {
31653
32842
 
31654
32843
  created_at?: string;
31655
32844
 
32845
+ credentials_last_fetched?: string | null;
32846
+
31656
32847
  customer_id?: string | null;
31657
32848
 
31658
32849
  disabled?: boolean | null;
@@ -31767,6 +32958,8 @@ export namespace PostConnectResponse {
31767
32958
 
31768
32959
  created_at?: string;
31769
32960
 
32961
+ credentials_last_fetched?: string | null;
32962
+
31770
32963
  customer_id?: string | null;
31771
32964
 
31772
32965
  disabled?: boolean | null;
@@ -31881,6 +33074,8 @@ export namespace PostConnectResponse {
31881
33074
 
31882
33075
  created_at?: string;
31883
33076
 
33077
+ credentials_last_fetched?: string | null;
33078
+
31884
33079
  customer_id?: string | null;
31885
33080
 
31886
33081
  disabled?: boolean | null;
@@ -31995,6 +33190,8 @@ export namespace PostConnectResponse {
31995
33190
 
31996
33191
  created_at?: string;
31997
33192
 
33193
+ credentials_last_fetched?: string | null;
33194
+
31998
33195
  customer_id?: string | null;
31999
33196
 
32000
33197
  disabled?: boolean | null;
@@ -32114,6 +33311,8 @@ export namespace PostConnectResponse {
32114
33311
 
32115
33312
  created_at?: string;
32116
33313
 
33314
+ credentials_last_fetched?: string | null;
33315
+
32117
33316
  customer_id?: string | null;
32118
33317
 
32119
33318
  disabled?: boolean | null;
@@ -32241,6 +33440,8 @@ export namespace PostConnectResponse {
32241
33440
 
32242
33441
  created_at?: string;
32243
33442
 
33443
+ credentials_last_fetched?: string | null;
33444
+
32244
33445
  customer_id?: string | null;
32245
33446
 
32246
33447
  disabled?: boolean | null;
@@ -32355,6 +33556,8 @@ export namespace PostConnectResponse {
32355
33556
 
32356
33557
  created_at?: string;
32357
33558
 
33559
+ credentials_last_fetched?: string | null;
33560
+
32358
33561
  customer_id?: string | null;
32359
33562
 
32360
33563
  disabled?: boolean | null;
@@ -32469,6 +33672,8 @@ export namespace PostConnectResponse {
32469
33672
 
32470
33673
  created_at?: string;
32471
33674
 
33675
+ credentials_last_fetched?: string | null;
33676
+
32472
33677
  customer_id?: string | null;
32473
33678
 
32474
33679
  disabled?: boolean | null;
@@ -32583,6 +33788,8 @@ export namespace PostConnectResponse {
32583
33788
 
32584
33789
  created_at?: string;
32585
33790
 
33791
+ credentials_last_fetched?: string | null;
33792
+
32586
33793
  customer_id?: string | null;
32587
33794
 
32588
33795
  disabled?: boolean | null;
@@ -32697,6 +33904,8 @@ export namespace PostConnectResponse {
32697
33904
 
32698
33905
  created_at?: string;
32699
33906
 
33907
+ credentials_last_fetched?: string | null;
33908
+
32700
33909
  customer_id?: string | null;
32701
33910
 
32702
33911
  disabled?: boolean | null;
@@ -32811,6 +34020,8 @@ export namespace PostConnectResponse {
32811
34020
 
32812
34021
  created_at?: string;
32813
34022
 
34023
+ credentials_last_fetched?: string | null;
34024
+
32814
34025
  customer_id?: string | null;
32815
34026
 
32816
34027
  disabled?: boolean | null;
@@ -32925,6 +34136,8 @@ export namespace PostConnectResponse {
32925
34136
 
32926
34137
  created_at?: string;
32927
34138
 
34139
+ credentials_last_fetched?: string | null;
34140
+
32928
34141
  customer_id?: string | null;
32929
34142
 
32930
34143
  disabled?: boolean | null;
@@ -33039,6 +34252,8 @@ export namespace PostConnectResponse {
33039
34252
 
33040
34253
  created_at?: string;
33041
34254
 
34255
+ credentials_last_fetched?: string | null;
34256
+
33042
34257
  customer_id?: string | null;
33043
34258
 
33044
34259
  disabled?: boolean | null;
@@ -33153,6 +34368,8 @@ export namespace PostConnectResponse {
33153
34368
 
33154
34369
  created_at?: string;
33155
34370
 
34371
+ credentials_last_fetched?: string | null;
34372
+
33156
34373
  customer_id?: string | null;
33157
34374
 
33158
34375
  disabled?: boolean | null;
@@ -33267,6 +34484,8 @@ export namespace PostConnectResponse {
33267
34484
 
33268
34485
  created_at?: string;
33269
34486
 
34487
+ credentials_last_fetched?: string | null;
34488
+
33270
34489
  customer_id?: string | null;
33271
34490
 
33272
34491
  disabled?: boolean | null;
@@ -33381,6 +34600,8 @@ export namespace PostConnectResponse {
33381
34600
 
33382
34601
  created_at?: string;
33383
34602
 
34603
+ credentials_last_fetched?: string | null;
34604
+
33384
34605
  customer_id?: string | null;
33385
34606
 
33386
34607
  disabled?: boolean | null;
@@ -33495,6 +34716,8 @@ export namespace PostConnectResponse {
33495
34716
 
33496
34717
  created_at?: string;
33497
34718
 
34719
+ credentials_last_fetched?: string | null;
34720
+
33498
34721
  customer_id?: string | null;
33499
34722
 
33500
34723
  disabled?: boolean | null;
@@ -33609,6 +34832,8 @@ export namespace PostConnectResponse {
33609
34832
 
33610
34833
  created_at?: string;
33611
34834
 
34835
+ credentials_last_fetched?: string | null;
34836
+
33612
34837
  customer_id?: string | null;
33613
34838
 
33614
34839
  disabled?: boolean | null;
@@ -33668,6 +34893,16 @@ export namespace PostConnectResponse {
33668
34893
  * for backward compatibility until we remove the oauth field
33669
34894
  */
33670
34895
  access_token?: string;
34896
+
34897
+ /**
34898
+ * Your HubSpot App ID (automatically fetched from access token)
34899
+ */
34900
+ app_id?: number;
34901
+
34902
+ /**
34903
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
34904
+ */
34905
+ hub_id?: number;
33671
34906
  }
33672
34907
 
33673
34908
  export namespace Settings {
@@ -33723,6 +34958,8 @@ export namespace PostConnectResponse {
33723
34958
 
33724
34959
  created_at?: string;
33725
34960
 
34961
+ credentials_last_fetched?: string | null;
34962
+
33726
34963
  customer_id?: string | null;
33727
34964
 
33728
34965
  disabled?: boolean | null;
@@ -33837,6 +35074,8 @@ export namespace PostConnectResponse {
33837
35074
 
33838
35075
  created_at?: string;
33839
35076
 
35077
+ credentials_last_fetched?: string | null;
35078
+
33840
35079
  customer_id?: string | null;
33841
35080
 
33842
35081
  disabled?: boolean | null;
@@ -33956,6 +35195,8 @@ export namespace PostConnectResponse {
33956
35195
 
33957
35196
  created_at?: string;
33958
35197
 
35198
+ credentials_last_fetched?: string | null;
35199
+
33959
35200
  customer_id?: string | null;
33960
35201
 
33961
35202
  disabled?: boolean | null;
@@ -34070,6 +35311,8 @@ export namespace PostConnectResponse {
34070
35311
 
34071
35312
  created_at?: string;
34072
35313
 
35314
+ credentials_last_fetched?: string | null;
35315
+
34073
35316
  customer_id?: string | null;
34074
35317
 
34075
35318
  disabled?: boolean | null;
@@ -34184,6 +35427,8 @@ export namespace PostConnectResponse {
34184
35427
 
34185
35428
  created_at?: string;
34186
35429
 
35430
+ credentials_last_fetched?: string | null;
35431
+
34187
35432
  customer_id?: string | null;
34188
35433
 
34189
35434
  disabled?: boolean | null;
@@ -34298,6 +35543,8 @@ export namespace PostConnectResponse {
34298
35543
 
34299
35544
  created_at?: string;
34300
35545
 
35546
+ credentials_last_fetched?: string | null;
35547
+
34301
35548
  customer_id?: string | null;
34302
35549
 
34303
35550
  disabled?: boolean | null;
@@ -34412,6 +35659,8 @@ export namespace PostConnectResponse {
34412
35659
 
34413
35660
  created_at?: string;
34414
35661
 
35662
+ credentials_last_fetched?: string | null;
35663
+
34415
35664
  customer_id?: string | null;
34416
35665
 
34417
35666
  disabled?: boolean | null;
@@ -34526,6 +35775,8 @@ export namespace PostConnectResponse {
34526
35775
 
34527
35776
  created_at?: string;
34528
35777
 
35778
+ credentials_last_fetched?: string | null;
35779
+
34529
35780
  customer_id?: string | null;
34530
35781
 
34531
35782
  disabled?: boolean | null;
@@ -34645,6 +35896,8 @@ export namespace PostConnectResponse {
34645
35896
 
34646
35897
  created_at?: string;
34647
35898
 
35899
+ credentials_last_fetched?: string | null;
35900
+
34648
35901
  customer_id?: string | null;
34649
35902
 
34650
35903
  disabled?: boolean | null;
@@ -34759,6 +36012,8 @@ export namespace PostConnectResponse {
34759
36012
 
34760
36013
  created_at?: string;
34761
36014
 
36015
+ credentials_last_fetched?: string | null;
36016
+
34762
36017
  customer_id?: string | null;
34763
36018
 
34764
36019
  disabled?: boolean | null;
@@ -34873,6 +36128,8 @@ export namespace PostConnectResponse {
34873
36128
 
34874
36129
  created_at?: string;
34875
36130
 
36131
+ credentials_last_fetched?: string | null;
36132
+
34876
36133
  customer_id?: string | null;
34877
36134
 
34878
36135
  disabled?: boolean | null;
@@ -34987,6 +36244,8 @@ export namespace PostConnectResponse {
34987
36244
 
34988
36245
  created_at?: string;
34989
36246
 
36247
+ credentials_last_fetched?: string | null;
36248
+
34990
36249
  customer_id?: string | null;
34991
36250
 
34992
36251
  disabled?: boolean | null;
@@ -35107,6 +36366,8 @@ export namespace PostConnectResponse {
35107
36366
 
35108
36367
  created_at?: string;
35109
36368
 
36369
+ credentials_last_fetched?: string | null;
36370
+
35110
36371
  customer_id?: string | null;
35111
36372
 
35112
36373
  disabled?: boolean | null;
@@ -35221,6 +36482,8 @@ export namespace PostConnectResponse {
35221
36482
 
35222
36483
  created_at?: string;
35223
36484
 
36485
+ credentials_last_fetched?: string | null;
36486
+
35224
36487
  customer_id?: string | null;
35225
36488
 
35226
36489
  disabled?: boolean | null;
@@ -35335,6 +36598,8 @@ export namespace PostConnectResponse {
35335
36598
 
35336
36599
  created_at?: string;
35337
36600
 
36601
+ credentials_last_fetched?: string | null;
36602
+
35338
36603
  customer_id?: string | null;
35339
36604
 
35340
36605
  disabled?: boolean | null;
@@ -35449,6 +36714,8 @@ export namespace PostConnectResponse {
35449
36714
 
35450
36715
  created_at?: string;
35451
36716
 
36717
+ credentials_last_fetched?: string | null;
36718
+
35452
36719
  customer_id?: string | null;
35453
36720
 
35454
36721
  disabled?: boolean | null;
@@ -35568,6 +36835,8 @@ export namespace PostConnectResponse {
35568
36835
 
35569
36836
  created_at?: string;
35570
36837
 
36838
+ credentials_last_fetched?: string | null;
36839
+
35571
36840
  customer_id?: string | null;
35572
36841
 
35573
36842
  disabled?: boolean | null;
@@ -35682,6 +36951,8 @@ export namespace PostConnectResponse {
35682
36951
 
35683
36952
  created_at?: string;
35684
36953
 
36954
+ credentials_last_fetched?: string | null;
36955
+
35685
36956
  customer_id?: string | null;
35686
36957
 
35687
36958
  disabled?: boolean | null;
@@ -35747,6 +37018,8 @@ export namespace PostConnectResponse {
35747
37018
 
35748
37019
  created_at?: string;
35749
37020
 
37021
+ credentials_last_fetched?: string | null;
37022
+
35750
37023
  customer_id?: string | null;
35751
37024
 
35752
37025
  disabled?: boolean | null;
@@ -35766,7 +37039,7 @@ export namespace PostConnectResponse {
35766
37039
  */
35767
37040
  metadata?: { [key: string]: unknown } | null;
35768
37041
 
35769
- public_settings?: unknown;
37042
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
35770
37043
 
35771
37044
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
35772
37045
 
@@ -35798,6 +37071,13 @@ export namespace PostConnectResponse {
35798
37071
  }
35799
37072
  }
35800
37073
 
37074
+ export interface PublicSettings {
37075
+ /**
37076
+ * MCP transport type detected during connection
37077
+ */
37078
+ transport_type?: 'streamable-http' | 'sse';
37079
+ }
37080
+
35801
37081
  export interface Settings {
35802
37082
  /**
35803
37083
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -35807,7 +37087,12 @@ export namespace PostConnectResponse {
35807
37087
  /**
35808
37088
  * Custom headers to include with every request
35809
37089
  */
35810
- headers: Array<Settings.Header>;
37090
+ headers?: Array<Settings.Header>;
37091
+
37092
+ /**
37093
+ * OAuth authentication credentials
37094
+ */
37095
+ oauth?: Settings.OAuth;
35811
37096
  }
35812
37097
 
35813
37098
  export namespace Settings {
@@ -35822,6 +37107,192 @@ export namespace PostConnectResponse {
35822
37107
  */
35823
37108
  value: string;
35824
37109
  }
37110
+
37111
+ /**
37112
+ * OAuth authentication credentials
37113
+ */
37114
+ export interface OAuth {
37115
+ client: OAuth.Client;
37116
+
37117
+ credentials: OAuth.Credentials;
37118
+
37119
+ metadata: OAuth.Metadata;
37120
+ }
37121
+
37122
+ export namespace OAuth {
37123
+ export interface Client {
37124
+ client_id: string;
37125
+
37126
+ redirect_uris: Array<string>;
37127
+
37128
+ client_secret?: string;
37129
+ }
37130
+
37131
+ export interface Credentials {
37132
+ access_token: string;
37133
+
37134
+ token_type: string;
37135
+
37136
+ expires_at?: string;
37137
+
37138
+ expires_in?: number;
37139
+
37140
+ refresh_token?: string;
37141
+
37142
+ scope?: string;
37143
+ }
37144
+
37145
+ export interface Metadata {
37146
+ authorization_endpoint: string;
37147
+
37148
+ issuer: string;
37149
+
37150
+ response_types_supported: Array<string>;
37151
+
37152
+ token_endpoint: string;
37153
+
37154
+ code_challenge_methods_supported?: Array<string>;
37155
+
37156
+ grant_types_supported?: Array<string>;
37157
+
37158
+ introspection_endpoint?: string;
37159
+
37160
+ introspection_endpoint_auth_methods_supported?: Array<string>;
37161
+
37162
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
37163
+
37164
+ registration_endpoint?: string;
37165
+
37166
+ response_modes_supported?: Array<string>;
37167
+
37168
+ revocation_endpoint?: string;
37169
+
37170
+ revocation_endpoint_auth_methods_supported?: Array<string>;
37171
+
37172
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
37173
+
37174
+ scopes_supported?: Array<string>;
37175
+
37176
+ service_documentation?: string;
37177
+
37178
+ token_endpoint_auth_methods_supported?: Array<string>;
37179
+
37180
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
37181
+
37182
+ [k: string]: unknown;
37183
+ }
37184
+ }
37185
+ }
37186
+ }
37187
+
37188
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
37189
+ connector_name: 'databricks-m2m';
37190
+
37191
+ id?: string;
37192
+
37193
+ connector_config_id?: string | null;
37194
+
37195
+ created_at?: string;
37196
+
37197
+ credentials_last_fetched?: string | null;
37198
+
37199
+ customer_id?: string | null;
37200
+
37201
+ disabled?: boolean | null;
37202
+
37203
+ display_name?: string | null;
37204
+
37205
+ environment?: 'production' | 'development';
37206
+
37207
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
37208
+
37209
+ integration_id?: string | null;
37210
+
37211
+ /**
37212
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
37213
+ * separate 1-1 table just for simple key values in your application. During
37214
+ * updates this object will be shallowly merged
37215
+ */
37216
+ metadata?: { [key: string]: unknown } | null;
37217
+
37218
+ public_settings?: unknown;
37219
+
37220
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
37221
+
37222
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
37223
+
37224
+ status_message?: string | null;
37225
+
37226
+ updated_at?: string;
37227
+
37228
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
37229
+
37230
+ webhook_configured_at?: string | null;
37231
+
37232
+ webhook_identifier?: string | null;
37233
+ }
37234
+
37235
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
37236
+ export interface HealthCheckResult {
37237
+ checked_at: string;
37238
+
37239
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
37240
+ }
37241
+
37242
+ export namespace HealthCheckResult {
37243
+ export interface FieldValidations {
37244
+ status: 'valid' | 'invalid';
37245
+
37246
+ error?: string;
37247
+ }
37248
+ }
37249
+
37250
+ export interface Settings {
37251
+ /**
37252
+ * Access token for Databricks API
37253
+ */
37254
+ access_token: string;
37255
+
37256
+ /**
37257
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
37258
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
37259
+ */
37260
+ http_path: string;
37261
+
37262
+ /**
37263
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
37264
+ * warehouse in Databricks and click the "Connection details" button. Copy the
37265
+ * Server hostname value.
37266
+ */
37267
+ server_hostname: string;
37268
+
37269
+ oauth?: Settings.OAuth;
37270
+ }
37271
+
37272
+ export namespace Settings {
37273
+ export interface OAuth {
37274
+ credentials?: OAuth.Credentials;
37275
+ }
37276
+
37277
+ export namespace OAuth {
37278
+ export interface Credentials {
37279
+ access_token: string;
37280
+
37281
+ client_id: string;
37282
+
37283
+ expires_at?: string;
37284
+
37285
+ expires_in?: number;
37286
+
37287
+ raw?: { [key: string]: unknown };
37288
+
37289
+ refresh_token?: string;
37290
+
37291
+ scope?: string;
37292
+
37293
+ token_type?: string;
37294
+ }
37295
+ }
35825
37296
  }
35826
37297
  }
35827
37298
 
@@ -35834,6 +37305,8 @@ export namespace PostConnectResponse {
35834
37305
 
35835
37306
  created_at?: string;
35836
37307
 
37308
+ credentials_last_fetched?: string | null;
37309
+
35837
37310
  customer_id?: string | null;
35838
37311
 
35839
37312
  disabled?: boolean | null;
@@ -35909,6 +37382,8 @@ export namespace PostConnectResponse {
35909
37382
 
35910
37383
  created_at?: string;
35911
37384
 
37385
+ credentials_last_fetched?: string | null;
37386
+
35912
37387
  customer_id?: string | null;
35913
37388
 
35914
37389
  disabled?: boolean | null;
@@ -35974,6 +37449,8 @@ export namespace PostConnectResponse {
35974
37449
 
35975
37450
  created_at?: string;
35976
37451
 
37452
+ credentials_last_fetched?: string | null;
37453
+
35977
37454
  customer_id?: string | null;
35978
37455
 
35979
37456
  disabled?: boolean | null;
@@ -36044,6 +37521,8 @@ export namespace PostConnectResponse {
36044
37521
 
36045
37522
  created_at?: string;
36046
37523
 
37524
+ credentials_last_fetched?: string | null;
37525
+
36047
37526
  customer_id?: string | null;
36048
37527
 
36049
37528
  disabled?: boolean | null;
@@ -36114,6 +37593,8 @@ export namespace PostConnectResponse {
36114
37593
 
36115
37594
  created_at?: string;
36116
37595
 
37596
+ credentials_last_fetched?: string | null;
37597
+
36117
37598
  customer_id?: string | null;
36118
37599
 
36119
37600
  disabled?: boolean | null;
@@ -36182,6 +37663,8 @@ export namespace PostConnectResponse {
36182
37663
 
36183
37664
  created_at?: string;
36184
37665
 
37666
+ credentials_last_fetched?: string | null;
37667
+
36185
37668
  customer_id?: string | null;
36186
37669
 
36187
37670
  disabled?: boolean | null;
@@ -36390,6 +37873,8 @@ export namespace PostConnectResponse {
36390
37873
 
36391
37874
  created_at?: string;
36392
37875
 
37876
+ credentials_last_fetched?: string | null;
37877
+
36393
37878
  customer_id?: string | null;
36394
37879
 
36395
37880
  disabled?: boolean | null;
@@ -36515,6 +38000,8 @@ export namespace PostConnectResponse {
36515
38000
 
36516
38001
  created_at?: string;
36517
38002
 
38003
+ credentials_last_fetched?: string | null;
38004
+
36518
38005
  customer_id?: string | null;
36519
38006
 
36520
38007
  disabled?: boolean | null;
@@ -36628,6 +38115,8 @@ export namespace PostConnectResponse {
36628
38115
 
36629
38116
  created_at?: string;
36630
38117
 
38118
+ credentials_last_fetched?: string | null;
38119
+
36631
38120
  customer_id?: string | null;
36632
38121
 
36633
38122
  disabled?: boolean | null;
@@ -36702,6 +38191,8 @@ export namespace PostConnectResponse {
36702
38191
 
36703
38192
  created_at?: string;
36704
38193
 
38194
+ credentials_last_fetched?: string | null;
38195
+
36705
38196
  customer_id?: string | null;
36706
38197
 
36707
38198
  disabled?: boolean | null;
@@ -36810,6 +38301,7 @@ export type PreConnectResponse =
36810
38301
  | PreConnectResponse.ConnectorZoomDiscriminatedConnectInput
36811
38302
  | PreConnectResponse.ConnectorApolloDiscriminatedConnectInput
36812
38303
  | PreConnectResponse.ConnectorCustomMcpDiscriminatedConnectInput
38304
+ | PreConnectResponse.ConnectorDatabricksM2mDiscriminatedConnectInput
36813
38305
  | PreConnectResponse.ConnectorPlaidDiscriminatedConnectInput
36814
38306
  | PreConnectResponse.ConnectorPostgresDiscriminatedConnectInput
36815
38307
  | PreConnectResponse.ConnectorResendDiscriminatedConnectInput
@@ -37641,37 +39133,68 @@ export namespace PreConnectResponse {
37641
39133
  }
37642
39134
 
37643
39135
  export interface ConnectorCustomMcpDiscriminatedConnectInput {
37644
- connect_input: ConnectorCustomMcpDiscriminatedConnectInput.ConnectInput;
39136
+ connect_input:
39137
+ | ConnectorCustomMcpDiscriminatedConnectInput.UnionMember0
39138
+ | ConnectorCustomMcpDiscriminatedConnectInput.UnionMember1;
37645
39139
 
37646
39140
  connector_name: 'custom-mcp';
37647
39141
  }
37648
39142
 
37649
39143
  export namespace ConnectorCustomMcpDiscriminatedConnectInput {
37650
- export interface ConnectInput {
37651
- /**
37652
- * Base URL of the MCP server (e.g., https://mcp.example.com)
37653
- */
37654
- base_url: string;
39144
+ export interface UnionMember0 {
39145
+ flow: 'manual';
37655
39146
 
37656
- /**
37657
- * Custom headers to include with every request
37658
- */
37659
- headers: Array<ConnectInput.Header>;
39147
+ validated: UnionMember0.Validated;
37660
39148
  }
37661
39149
 
37662
- export namespace ConnectInput {
37663
- export interface Header {
39150
+ export namespace UnionMember0 {
39151
+ export interface Validated {
37664
39152
  /**
37665
- * Header name (e.g., Authorization, X-API-Key)
39153
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
37666
39154
  */
37667
- key: string;
39155
+ base_url: string;
37668
39156
 
37669
- /**
37670
- * Header value (securely stored)
37671
- */
37672
- value: string;
39157
+ display_name: string;
39158
+
39159
+ headers: Array<Validated.Header>;
39160
+ }
39161
+
39162
+ export namespace Validated {
39163
+ export interface Header {
39164
+ /**
39165
+ * Header name (e.g., Authorization, X-API-Key)
39166
+ */
39167
+ key: string;
39168
+
39169
+ /**
39170
+ * Header value (securely stored)
39171
+ */
39172
+ value: string;
39173
+ }
37673
39174
  }
37674
39175
  }
39176
+
39177
+ export interface UnionMember1 {
39178
+ authorization_url: string;
39179
+
39180
+ flow: 'oauth';
39181
+
39182
+ message: string;
39183
+
39184
+ state: string;
39185
+ }
39186
+ }
39187
+
39188
+ export interface ConnectorDatabricksM2mDiscriminatedConnectInput {
39189
+ connect_input: ConnectorDatabricksM2mDiscriminatedConnectInput.ConnectInput;
39190
+
39191
+ connector_name: 'databricks-m2m';
39192
+ }
39193
+
39194
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectInput {
39195
+ export interface ConnectInput {
39196
+ authorization_url: string;
39197
+ }
37675
39198
  }
37676
39199
 
37677
39200
  export interface ConnectorPlaidDiscriminatedConnectInput {
@@ -37883,6 +39406,7 @@ export type UpsertConnnectorConfigResponse =
37883
39406
  | UpsertConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
37884
39407
  | UpsertConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
37885
39408
  | UpsertConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
39409
+ | UpsertConnnectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
37886
39410
  | UpsertConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
37887
39411
  | UpsertConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
37888
39412
  | UpsertConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -40081,6 +41605,51 @@ export namespace UpsertConnnectorConfigResponse {
40081
41605
  updated_at?: string;
40082
41606
  }
40083
41607
 
41608
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
41609
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
41610
+
41611
+ connector_name: 'databricks-m2m';
41612
+
41613
+ id?: string;
41614
+
41615
+ created_at?: string;
41616
+
41617
+ disabled?: boolean | null;
41618
+
41619
+ display_name?: string | null;
41620
+
41621
+ /**
41622
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
41623
+ * separate 1-1 table just for simple key values in your application. During
41624
+ * updates this object will be shallowly merged
41625
+ */
41626
+ metadata?: { [key: string]: unknown } | null;
41627
+
41628
+ org_id?: string;
41629
+
41630
+ updated_at?: string;
41631
+ }
41632
+
41633
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
41634
+ export interface Config {
41635
+ oauth: Config.OAuth;
41636
+ }
41637
+
41638
+ export namespace Config {
41639
+ export interface OAuth {
41640
+ /**
41641
+ * OAuth2 client ID for Databricks
41642
+ */
41643
+ client_id: string;
41644
+
41645
+ /**
41646
+ * OAuth2 client secret for Databricks
41647
+ */
41648
+ client_secret: string;
41649
+ }
41650
+ }
41651
+ }
41652
+
40084
41653
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
40085
41654
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
40086
41655
 
@@ -40515,6 +42084,11 @@ export interface AssignConnectionParams {
40515
42084
  */
40516
42085
  id: string;
40517
42086
 
42087
+ /**
42088
+ * Body param: Automatically subscribe to webhook events for this connection
42089
+ */
42090
+ auto_subscribe_webhooks?: boolean;
42091
+
40518
42092
  /**
40519
42093
  * Body param: The webhook URL to call when this connection changes
40520
42094
  */
@@ -40587,6 +42161,7 @@ export interface CreateConnectionParams {
40587
42161
  | CreateConnectionParams.ConnectorZoomDiscriminatedConnectionSettings
40588
42162
  | CreateConnectionParams.ConnectorApolloDiscriminatedConnectionSettings
40589
42163
  | CreateConnectionParams.ConnectorCustomMcpDiscriminatedConnectionSettings
42164
+ | CreateConnectionParams.ConnectorDatabricksM2mDiscriminatedConnectionSettings
40590
42165
  | CreateConnectionParams.ConnectorPlaidDiscriminatedConnectionSettings
40591
42166
  | CreateConnectionParams.ConnectorPostgresDiscriminatedConnectionSettings
40592
42167
  | CreateConnectionParams.ConnectorResendDiscriminatedConnectionSettings
@@ -42028,6 +43603,16 @@ export namespace CreateConnectionParams {
42028
43603
  * for backward compatibility until we remove the oauth field
42029
43604
  */
42030
43605
  access_token?: string;
43606
+
43607
+ /**
43608
+ * Your HubSpot App ID (automatically fetched from access token)
43609
+ */
43610
+ app_id?: number;
43611
+
43612
+ /**
43613
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
43614
+ */
43615
+ hub_id?: number;
42031
43616
  }
42032
43617
 
42033
43618
  export namespace Settings {
@@ -43161,6 +44746,11 @@ export namespace CreateConnectionParams {
43161
44746
  * Custom headers to include with every request
43162
44747
  */
43163
44748
  headers?: Array<Settings.Header>;
44749
+
44750
+ /**
44751
+ * OAuth authentication credentials
44752
+ */
44753
+ oauth?: Settings.OAuth;
43164
44754
  }
43165
44755
 
43166
44756
  export namespace Settings {
@@ -43175,6 +44765,137 @@ export namespace CreateConnectionParams {
43175
44765
  */
43176
44766
  value: string;
43177
44767
  }
44768
+
44769
+ /**
44770
+ * OAuth authentication credentials
44771
+ */
44772
+ export interface OAuth {
44773
+ client: OAuth.Client;
44774
+
44775
+ credentials: OAuth.Credentials;
44776
+
44777
+ metadata: OAuth.Metadata;
44778
+ }
44779
+
44780
+ export namespace OAuth {
44781
+ export interface Client {
44782
+ client_id: string;
44783
+
44784
+ redirect_uris: Array<string>;
44785
+
44786
+ client_secret?: string;
44787
+ }
44788
+
44789
+ export interface Credentials {
44790
+ access_token: string;
44791
+
44792
+ expires_at?: string;
44793
+
44794
+ expires_in?: number;
44795
+
44796
+ refresh_token?: string;
44797
+
44798
+ scope?: string;
44799
+
44800
+ token_type?: string;
44801
+ }
44802
+
44803
+ export interface Metadata {
44804
+ authorization_endpoint: string;
44805
+
44806
+ issuer: string;
44807
+
44808
+ response_types_supported: Array<string>;
44809
+
44810
+ token_endpoint: string;
44811
+
44812
+ code_challenge_methods_supported?: Array<string>;
44813
+
44814
+ grant_types_supported?: Array<string>;
44815
+
44816
+ introspection_endpoint?: string;
44817
+
44818
+ introspection_endpoint_auth_methods_supported?: Array<string>;
44819
+
44820
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
44821
+
44822
+ registration_endpoint?: string;
44823
+
44824
+ response_modes_supported?: Array<string>;
44825
+
44826
+ revocation_endpoint?: string;
44827
+
44828
+ revocation_endpoint_auth_methods_supported?: Array<string>;
44829
+
44830
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
44831
+
44832
+ scopes_supported?: Array<string>;
44833
+
44834
+ service_documentation?: string;
44835
+
44836
+ token_endpoint_auth_methods_supported?: Array<string>;
44837
+
44838
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
44839
+
44840
+ [k: string]: unknown;
44841
+ }
44842
+ }
44843
+ }
44844
+ }
44845
+
44846
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionSettings {
44847
+ connector_name: 'databricks-m2m';
44848
+
44849
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionSettings.Settings;
44850
+ }
44851
+
44852
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionSettings {
44853
+ export interface Settings {
44854
+ /**
44855
+ * Access token for Databricks API
44856
+ */
44857
+ access_token: string;
44858
+
44859
+ /**
44860
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
44861
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
44862
+ */
44863
+ http_path: string;
44864
+
44865
+ /**
44866
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
44867
+ * warehouse in Databricks and click the "Connection details" button. Copy the
44868
+ * Server hostname value.
44869
+ */
44870
+ server_hostname: string;
44871
+
44872
+ oauth?: Settings.OAuth;
44873
+ }
44874
+
44875
+ export namespace Settings {
44876
+ export interface OAuth {
44877
+ credentials?: OAuth.Credentials;
44878
+ }
44879
+
44880
+ export namespace OAuth {
44881
+ export interface Credentials {
44882
+ access_token: string;
44883
+
44884
+ client_id: string;
44885
+
44886
+ expires_at?: string;
44887
+
44888
+ expires_in?: number;
44889
+
44890
+ raw?: { [key: string]: unknown };
44891
+
44892
+ refresh_token?: string;
44893
+
44894
+ scope?: string;
44895
+
44896
+ token_type?: string;
44897
+ }
44898
+ }
43178
44899
  }
43179
44900
  }
43180
44901
 
@@ -43623,6 +45344,7 @@ export namespace CreateTokenParams {
43623
45344
  | 'confluence'
43624
45345
  | 'custom-mcp'
43625
45346
  | 'databricks'
45347
+ | 'databricks-m2m'
43626
45348
  | 'discord'
43627
45349
  | 'dropbox'
43628
45350
  | 'figma'
@@ -43664,6 +45386,11 @@ export namespace CreateTokenParams {
43664
45386
  | 'zendesk'
43665
45387
  | 'zoom';
43666
45388
 
45389
+ /**
45390
+ * Optional external ID for reconnecting to an existing connection
45391
+ */
45392
+ connection_external_id?: string;
45393
+
43667
45394
  /**
43668
45395
  * The names of the connectors to show in the connect page. If not provided, all
43669
45396
  * connectors will be shown
@@ -43683,6 +45410,7 @@ export namespace CreateTokenParams {
43683
45410
  | 'confluence'
43684
45411
  | 'custom-mcp'
43685
45412
  | 'databricks'
45413
+ | 'databricks-m2m'
43686
45414
  | 'discord'
43687
45415
  | 'dropbox'
43688
45416
  | 'figma'
@@ -43742,6 +45470,18 @@ export namespace CreateTokenParams {
43742
45470
  */
43743
45471
  is_embedded?: boolean;
43744
45472
 
45473
+ /**
45474
+ * JSON encoded payload used to optionally prefill connector flows.
45475
+ */
45476
+ prefill?: string;
45477
+
45478
+ /**
45479
+ * Optional Repl ID to assign the newly created connection to. If provided, the
45480
+ * connection will be automatically assigned to this repl after successful
45481
+ * authentication.
45482
+ */
45483
+ repl_id?: string;
45484
+
43745
45485
  /**
43746
45486
  * Optional URL to return customers after adding a connection or if they press the
43747
45487
  * Return To Organization button
@@ -43808,6 +45548,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
43808
45548
  | 'confluence'
43809
45549
  | 'custom-mcp'
43810
45550
  | 'databricks'
45551
+ | 'databricks-m2m'
43811
45552
  | 'discord'
43812
45553
  | 'dropbox'
43813
45554
  | 'figma'
@@ -43903,6 +45644,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
43903
45644
  | 'confluence'
43904
45645
  | 'custom-mcp'
43905
45646
  | 'databricks'
45647
+ | 'databricks-m2m'
43906
45648
  | 'discord'
43907
45649
  | 'dropbox'
43908
45650
  | 'figma'
@@ -43988,6 +45730,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
43988
45730
  | 'confluence'
43989
45731
  | 'custom-mcp'
43990
45732
  | 'databricks'
45733
+ | 'databricks-m2m'
43991
45734
  | 'discord'
43992
45735
  | 'dropbox'
43993
45736
  | 'figma'
@@ -44127,6 +45870,7 @@ export interface PostConnectParams {
44127
45870
  | PostConnectParams.ConnectorZoomDiscriminatedConnectOutput
44128
45871
  | PostConnectParams.ConnectorApolloDiscriminatedConnectOutput
44129
45872
  | PostConnectParams.ConnectorCustomMcpDiscriminatedConnectOutput
45873
+ | PostConnectParams.ConnectorDatabricksM2mDiscriminatedConnectOutput
44130
45874
  | PostConnectParams.ConnectorPlaidDiscriminatedConnectOutput
44131
45875
  | PostConnectParams.ConnectorPostgresDiscriminatedConnectOutput
44132
45876
  | PostConnectParams.ConnectorResendDiscriminatedConnectOutput
@@ -45586,32 +47330,57 @@ export namespace PostConnectParams {
45586
47330
 
45587
47331
  export namespace ConnectorCustomMcpDiscriminatedConnectOutput {
45588
47332
  export interface ConnectOutput {
45589
- /**
45590
- * Base URL of the MCP server (e.g., https://mcp.example.com)
45591
- */
45592
- base_url: string;
47333
+ code?: string;
45593
47334
 
45594
- /**
45595
- * Custom headers to include with every request
45596
- */
45597
- headers?: Array<ConnectOutput.Header>;
47335
+ code_verifier?: string;
47336
+
47337
+ mode?: 'manual' | 'oauth';
47338
+
47339
+ settings?: ConnectOutput.Settings;
47340
+
47341
+ state?: string;
45598
47342
  }
45599
47343
 
45600
47344
  export namespace ConnectOutput {
45601
- export interface Header {
47345
+ export interface Settings {
45602
47346
  /**
45603
- * Header name (e.g., Authorization, X-API-Key)
47347
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
45604
47348
  */
45605
- key: string;
47349
+ base_url: string;
45606
47350
 
45607
- /**
45608
- * Header value (securely stored)
45609
- */
45610
- value: string;
47351
+ display_name: string;
47352
+
47353
+ headers?: Array<Settings.Header>;
47354
+ }
47355
+
47356
+ export namespace Settings {
47357
+ export interface Header {
47358
+ /**
47359
+ * Header name (e.g., Authorization, X-API-Key)
47360
+ */
47361
+ key: string;
47362
+
47363
+ /**
47364
+ * Header value (securely stored)
47365
+ */
47366
+ value: string;
47367
+ }
45611
47368
  }
45612
47369
  }
45613
47370
  }
45614
47371
 
47372
+ export interface ConnectorDatabricksM2mDiscriminatedConnectOutput {
47373
+ connect_output: ConnectorDatabricksM2mDiscriminatedConnectOutput.ConnectOutput;
47374
+
47375
+ connector_name: 'databricks-m2m';
47376
+ }
47377
+
47378
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectOutput {
47379
+ export interface ConnectOutput {
47380
+ connection_id: string;
47381
+ }
47382
+ }
47383
+
45615
47384
  export interface ConnectorPlaidDiscriminatedConnectOutput {
45616
47385
  connect_output: ConnectorPlaidDiscriminatedConnectOutput.ConnectOutput;
45617
47386
 
@@ -45885,16 +47654,184 @@ export namespace PostConnectParams {
45885
47654
  }
45886
47655
 
45887
47656
  export interface Options {
45888
- connectionExternalId?: string | number | null;
47657
+ /**
47658
+ * Automatically trigger connection flow for the specified connector when the page
47659
+ * loads. Only works when view is "add" and the connector is available.
47660
+ */
47661
+ auto_connect?:
47662
+ | 'acme-apikey'
47663
+ | 'acme-oauth2'
47664
+ | 'agentmail'
47665
+ | 'apollo'
47666
+ | 'asana'
47667
+ | 'bigquery'
47668
+ | 'bitbucket'
47669
+ | 'bitbucket-source-control'
47670
+ | 'box'
47671
+ | 'calendly'
47672
+ | 'clickup'
47673
+ | 'confluence'
47674
+ | 'custom-mcp'
47675
+ | 'databricks'
47676
+ | 'databricks-m2m'
47677
+ | 'discord'
47678
+ | 'dropbox'
47679
+ | 'figma'
47680
+ | 'github'
47681
+ | 'github-source-control'
47682
+ | 'gitlab-source-control'
47683
+ | 'google-calendar'
47684
+ | 'google-docs'
47685
+ | 'google-drive'
47686
+ | 'google-mail'
47687
+ | 'google-sheet'
47688
+ | 'google-slides'
47689
+ | 'hubspot'
47690
+ | 'instagram'
47691
+ | 'jira'
47692
+ | 'linear'
47693
+ | 'monday'
47694
+ | 'notion'
47695
+ | 'onedrive'
47696
+ | 'outlook'
47697
+ | 'plaid'
47698
+ | 'postgres'
47699
+ | 'resend'
47700
+ | 'salesforce'
47701
+ | 'sendgrid'
47702
+ | 'sharepoint'
47703
+ | 'slack'
47704
+ | 'slack-agent'
47705
+ | 'slack-agent-builder'
47706
+ | 'slack-deployed-agent'
47707
+ | 'snowflake'
47708
+ | 'spotify'
47709
+ | 'stripe'
47710
+ | 'stripe-agent-sandbox'
47711
+ | 'todoist'
47712
+ | 'twilio'
47713
+ | 'workato'
47714
+ | 'youtube'
47715
+ | 'zendesk'
47716
+ | 'zoom';
45889
47717
 
45890
- integrationExternalId?: string | number | null;
47718
+ /**
47719
+ * Optional external ID for reconnecting to an existing connection
47720
+ */
47721
+ connection_external_id?: string;
45891
47722
 
45892
47723
  /**
45893
- * Must start with 'int\_'
47724
+ * The names of the connectors to show in the connect page. If not provided, all
47725
+ * connectors will be shown
45894
47726
  */
45895
- integrationId?: string | null;
47727
+ connector_names?: Array<
47728
+ | 'acme-apikey'
47729
+ | 'acme-oauth2'
47730
+ | 'agentmail'
47731
+ | 'apollo'
47732
+ | 'asana'
47733
+ | 'bigquery'
47734
+ | 'bitbucket'
47735
+ | 'bitbucket-source-control'
47736
+ | 'box'
47737
+ | 'calendly'
47738
+ | 'clickup'
47739
+ | 'confluence'
47740
+ | 'custom-mcp'
47741
+ | 'databricks'
47742
+ | 'databricks-m2m'
47743
+ | 'discord'
47744
+ | 'dropbox'
47745
+ | 'figma'
47746
+ | 'github'
47747
+ | 'github-source-control'
47748
+ | 'gitlab-source-control'
47749
+ | 'google-calendar'
47750
+ | 'google-docs'
47751
+ | 'google-drive'
47752
+ | 'google-mail'
47753
+ | 'google-sheet'
47754
+ | 'google-slides'
47755
+ | 'hubspot'
47756
+ | 'instagram'
47757
+ | 'jira'
47758
+ | 'linear'
47759
+ | 'monday'
47760
+ | 'notion'
47761
+ | 'onedrive'
47762
+ | 'outlook'
47763
+ | 'plaid'
47764
+ | 'postgres'
47765
+ | 'resend'
47766
+ | 'salesforce'
47767
+ | 'sendgrid'
47768
+ | 'sharepoint'
47769
+ | 'slack'
47770
+ | 'slack-agent'
47771
+ | 'slack-agent-builder'
47772
+ | 'slack-deployed-agent'
47773
+ | 'snowflake'
47774
+ | 'spotify'
47775
+ | 'stripe'
47776
+ | 'stripe-agent-sandbox'
47777
+ | 'todoist'
47778
+ | 'twilio'
47779
+ | 'workato'
47780
+ | 'youtube'
47781
+ | 'zendesk'
47782
+ | 'zoom'
47783
+ >;
47784
+
47785
+ /**
47786
+ * Whether to enable debug mode
47787
+ */
47788
+ debug?: boolean;
47789
+
47790
+ /**
47791
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
47792
+ * particular view.
47793
+ */
47794
+ hide_navigation?: boolean;
47795
+
47796
+ integration_id?: string;
47797
+
47798
+ /**
47799
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
47800
+ * context for the end user (customer) on the organization
47801
+ */
47802
+ is_embedded?: boolean;
47803
+
47804
+ /**
47805
+ * JSON encoded payload used to optionally prefill connector flows.
47806
+ */
47807
+ prefill?: string;
47808
+
47809
+ /**
47810
+ * Optional Repl ID to assign the newly created connection to. If provided, the
47811
+ * connection will be automatically assigned to this repl after successful
47812
+ * authentication.
47813
+ */
47814
+ repl_id?: string;
47815
+
47816
+ /**
47817
+ * Optional URL to return customers after adding a connection or if they press the
47818
+ * Return To Organization button
47819
+ */
47820
+ return_url?: string;
47821
+
47822
+ sync_in_band?: boolean;
47823
+
47824
+ /**
47825
+ * The theme to use for the connect page. Defaults to light if not specified.
47826
+ */
47827
+ theme?: 'light' | 'dark';
45896
47828
 
45897
- syncInBand?: boolean | null;
47829
+ /**
47830
+ * The default view to show when the magic link is opened. If omitted, by default
47831
+ * it will smartly load the right view based on whether the user has connections or
47832
+ * not
47833
+ */
47834
+ view?: 'add' | 'manage';
45898
47835
  }
45899
47836
  }
45900
47837
 
@@ -45914,6 +47851,7 @@ export interface PreConfigureConnectorParams {
45914
47851
  | 'confluence'
45915
47852
  | 'custom-mcp'
45916
47853
  | 'databricks'
47854
+ | 'databricks-m2m'
45917
47855
  | 'discord'
45918
47856
  | 'dropbox'
45919
47857
  | 'figma'
@@ -46009,6 +47947,7 @@ export interface PreConnectParams {
46009
47947
  | PreConnectParams.ConnectorZoomDiscriminatedPreConnectInput
46010
47948
  | PreConnectParams.ConnectorApolloDiscriminatedPreConnectInput
46011
47949
  | PreConnectParams.ConnectorCustomMcpDiscriminatedPreConnectInput
47950
+ | PreConnectParams.ConnectorDatabricksM2mDiscriminatedPreConnectInput
46012
47951
  | PreConnectParams.ConnectorPlaidDiscriminatedPreConnectInput
46013
47952
  | PreConnectParams.ConnectorPostgresDiscriminatedPreConnectInput
46014
47953
  | PreConnectParams.ConnectorResendDiscriminatedPreConnectInput
@@ -46097,17 +48036,7 @@ export namespace PreConnectParams {
46097
48036
  export interface ConnectorConfluenceDiscriminatedPreConnectInput {
46098
48037
  connector_name: 'confluence';
46099
48038
 
46100
- pre_connect_input: ConnectorConfluenceDiscriminatedPreConnectInput.PreConnectInput;
46101
- }
46102
-
46103
- export namespace ConnectorConfluenceDiscriminatedPreConnectInput {
46104
- export interface PreConnectInput {
46105
- /**
46106
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
46107
- * this in your browser when logged into Confluence.
46108
- */
46109
- site_url: string;
46110
- }
48039
+ pre_connect_input: unknown;
46111
48040
  }
46112
48041
 
46113
48042
  export interface ConnectorDatabricksDiscriminatedPreConnectInput {
@@ -46220,17 +48149,7 @@ export namespace PreConnectParams {
46220
48149
  export interface ConnectorJiraDiscriminatedPreConnectInput {
46221
48150
  connector_name: 'jira';
46222
48151
 
46223
- pre_connect_input: ConnectorJiraDiscriminatedPreConnectInput.PreConnectInput;
46224
- }
46225
-
46226
- export namespace ConnectorJiraDiscriminatedPreConnectInput {
46227
- export interface PreConnectInput {
46228
- /**
46229
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
46230
- * this in your browser when logged into Jira.
46231
- */
46232
- site_url: string;
46233
- }
48152
+ pre_connect_input: unknown;
46234
48153
  }
46235
48154
 
46236
48155
  export interface ConnectorLinearDiscriminatedPreConnectInput {
@@ -46352,7 +48271,57 @@ export namespace PreConnectParams {
46352
48271
  export interface ConnectorCustomMcpDiscriminatedPreConnectInput {
46353
48272
  connector_name: 'custom-mcp';
46354
48273
 
46355
- pre_connect_input: unknown;
48274
+ pre_connect_input: ConnectorCustomMcpDiscriminatedPreConnectInput.PreConnectInput;
48275
+ }
48276
+
48277
+ export namespace ConnectorCustomMcpDiscriminatedPreConnectInput {
48278
+ export interface PreConnectInput {
48279
+ /**
48280
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
48281
+ */
48282
+ base_url: string;
48283
+
48284
+ display_name: string;
48285
+
48286
+ headers?: Array<PreConnectInput.Header>;
48287
+ }
48288
+
48289
+ export namespace PreConnectInput {
48290
+ export interface Header {
48291
+ /**
48292
+ * Header name (e.g., Authorization, X-API-Key)
48293
+ */
48294
+ key: string;
48295
+
48296
+ /**
48297
+ * Header value (securely stored)
48298
+ */
48299
+ value: string;
48300
+ }
48301
+ }
48302
+ }
48303
+
48304
+ export interface ConnectorDatabricksM2mDiscriminatedPreConnectInput {
48305
+ connector_name: 'databricks-m2m';
48306
+
48307
+ pre_connect_input: ConnectorDatabricksM2mDiscriminatedPreConnectInput.PreConnectInput;
48308
+ }
48309
+
48310
+ export namespace ConnectorDatabricksM2mDiscriminatedPreConnectInput {
48311
+ export interface PreConnectInput {
48312
+ /**
48313
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
48314
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
48315
+ */
48316
+ http_path: string;
48317
+
48318
+ /**
48319
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
48320
+ * warehouse in Databricks and click the "Connection details" button. Copy the
48321
+ * Server hostname value.
48322
+ */
48323
+ server_hostname: string;
48324
+ }
46356
48325
  }
46357
48326
 
46358
48327
  export interface ConnectorPlaidDiscriminatedPreConnectInput {
@@ -46462,9 +48431,180 @@ export namespace PreConnectParams {
46462
48431
  }
46463
48432
 
46464
48433
  export interface Options {
46465
- connectionExternalId?: string | number | null;
48434
+ /**
48435
+ * Automatically trigger connection flow for the specified connector when the page
48436
+ * loads. Only works when view is "add" and the connector is available.
48437
+ */
48438
+ auto_connect?:
48439
+ | 'acme-apikey'
48440
+ | 'acme-oauth2'
48441
+ | 'agentmail'
48442
+ | 'apollo'
48443
+ | 'asana'
48444
+ | 'bigquery'
48445
+ | 'bitbucket'
48446
+ | 'bitbucket-source-control'
48447
+ | 'box'
48448
+ | 'calendly'
48449
+ | 'clickup'
48450
+ | 'confluence'
48451
+ | 'custom-mcp'
48452
+ | 'databricks'
48453
+ | 'databricks-m2m'
48454
+ | 'discord'
48455
+ | 'dropbox'
48456
+ | 'figma'
48457
+ | 'github'
48458
+ | 'github-source-control'
48459
+ | 'gitlab-source-control'
48460
+ | 'google-calendar'
48461
+ | 'google-docs'
48462
+ | 'google-drive'
48463
+ | 'google-mail'
48464
+ | 'google-sheet'
48465
+ | 'google-slides'
48466
+ | 'hubspot'
48467
+ | 'instagram'
48468
+ | 'jira'
48469
+ | 'linear'
48470
+ | 'monday'
48471
+ | 'notion'
48472
+ | 'onedrive'
48473
+ | 'outlook'
48474
+ | 'plaid'
48475
+ | 'postgres'
48476
+ | 'resend'
48477
+ | 'salesforce'
48478
+ | 'sendgrid'
48479
+ | 'sharepoint'
48480
+ | 'slack'
48481
+ | 'slack-agent'
48482
+ | 'slack-agent-builder'
48483
+ | 'slack-deployed-agent'
48484
+ | 'snowflake'
48485
+ | 'spotify'
48486
+ | 'stripe'
48487
+ | 'stripe-agent-sandbox'
48488
+ | 'todoist'
48489
+ | 'twilio'
48490
+ | 'workato'
48491
+ | 'youtube'
48492
+ | 'zendesk'
48493
+ | 'zoom';
46466
48494
 
46467
- integrationExternalId?: string | number | null;
48495
+ /**
48496
+ * Optional external ID for reconnecting to an existing connection
48497
+ */
48498
+ connection_external_id?: string;
48499
+
48500
+ /**
48501
+ * The names of the connectors to show in the connect page. If not provided, all
48502
+ * connectors will be shown
48503
+ */
48504
+ connector_names?: Array<
48505
+ | 'acme-apikey'
48506
+ | 'acme-oauth2'
48507
+ | 'agentmail'
48508
+ | 'apollo'
48509
+ | 'asana'
48510
+ | 'bigquery'
48511
+ | 'bitbucket'
48512
+ | 'bitbucket-source-control'
48513
+ | 'box'
48514
+ | 'calendly'
48515
+ | 'clickup'
48516
+ | 'confluence'
48517
+ | 'custom-mcp'
48518
+ | 'databricks'
48519
+ | 'databricks-m2m'
48520
+ | 'discord'
48521
+ | 'dropbox'
48522
+ | 'figma'
48523
+ | 'github'
48524
+ | 'github-source-control'
48525
+ | 'gitlab-source-control'
48526
+ | 'google-calendar'
48527
+ | 'google-docs'
48528
+ | 'google-drive'
48529
+ | 'google-mail'
48530
+ | 'google-sheet'
48531
+ | 'google-slides'
48532
+ | 'hubspot'
48533
+ | 'instagram'
48534
+ | 'jira'
48535
+ | 'linear'
48536
+ | 'monday'
48537
+ | 'notion'
48538
+ | 'onedrive'
48539
+ | 'outlook'
48540
+ | 'plaid'
48541
+ | 'postgres'
48542
+ | 'resend'
48543
+ | 'salesforce'
48544
+ | 'sendgrid'
48545
+ | 'sharepoint'
48546
+ | 'slack'
48547
+ | 'slack-agent'
48548
+ | 'slack-agent-builder'
48549
+ | 'slack-deployed-agent'
48550
+ | 'snowflake'
48551
+ | 'spotify'
48552
+ | 'stripe'
48553
+ | 'stripe-agent-sandbox'
48554
+ | 'todoist'
48555
+ | 'twilio'
48556
+ | 'workato'
48557
+ | 'youtube'
48558
+ | 'zendesk'
48559
+ | 'zoom'
48560
+ >;
48561
+
48562
+ /**
48563
+ * Whether to enable debug mode
48564
+ */
48565
+ debug?: boolean;
48566
+
48567
+ /**
48568
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
48569
+ * particular view.
48570
+ */
48571
+ hide_navigation?: boolean;
48572
+
48573
+ /**
48574
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
48575
+ * context for the end user (customer) on the organization
48576
+ */
48577
+ is_embedded?: boolean;
48578
+
48579
+ /**
48580
+ * JSON encoded payload used to optionally prefill connector flows.
48581
+ */
48582
+ prefill?: string;
48583
+
48584
+ /**
48585
+ * Optional Repl ID to assign the newly created connection to. If provided, the
48586
+ * connection will be automatically assigned to this repl after successful
48587
+ * authentication.
48588
+ */
48589
+ repl_id?: string;
48590
+
48591
+ /**
48592
+ * Optional URL to return customers after adding a connection or if they press the
48593
+ * Return To Organization button
48594
+ */
48595
+ return_url?: string;
48596
+
48597
+ /**
48598
+ * The theme to use for the connect page. Defaults to light if not specified.
48599
+ */
48600
+ theme?: 'light' | 'dark';
48601
+
48602
+ /**
48603
+ * The default view to show when the magic link is opened. If omitted, by default
48604
+ * it will smartly load the right view based on whether the user has connections or
48605
+ * not
48606
+ */
48607
+ view?: 'add' | 'manage';
46468
48608
  }
46469
48609
  }
46470
48610