@replit/connectors 0.6.0 → 0.8.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.
@@ -87,12 +87,14 @@ export interface Integration {
87
87
  | 'calendly'
88
88
  | 'clickup'
89
89
  | 'confluence'
90
+ | 'custom-mcp'
90
91
  | 'databricks'
91
92
  | 'discord'
92
93
  | 'dropbox'
93
94
  | 'figma'
94
95
  | 'github'
95
96
  | 'github-source-control'
97
+ | 'gitlab-source-control'
96
98
  | 'google-calendar'
97
99
  | 'google-docs'
98
100
  | 'google-drive'
@@ -170,6 +172,8 @@ export namespace AssignConnectionResponse {
170
172
  export interface CheckConnectionResponse {
171
173
  id: string;
172
174
 
175
+ health_check_result?: { [key: string]: unknown } | null;
176
+
173
177
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
174
178
 
175
179
  status_message?: string | null;
@@ -198,6 +202,7 @@ export type CreateConnectionResponse =
198
202
  | CreateConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
199
203
  | CreateConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
200
204
  | CreateConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
205
+ | CreateConnectionResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
201
206
  | CreateConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
202
207
  | CreateConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
203
208
  | CreateConnectionResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -222,6 +227,7 @@ export type CreateConnectionResponse =
222
227
  | CreateConnectionResponse.ConnectorZendeskDiscriminatedConnectionSettings
223
228
  | CreateConnectionResponse.ConnectorZoomDiscriminatedConnectionSettings
224
229
  | CreateConnectionResponse.ConnectorApolloDiscriminatedConnectionSettings
230
+ | CreateConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
225
231
  | CreateConnectionResponse.ConnectorPlaidDiscriminatedConnectionSettings
226
232
  | CreateConnectionResponse.ConnectorPostgresDiscriminatedConnectionSettings
227
233
  | CreateConnectionResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -1860,6 +1866,106 @@ export namespace CreateConnectionResponse {
1860
1866
  }
1861
1867
  }
1862
1868
 
1869
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
1870
+ connector_name: 'gitlab-source-control';
1871
+
1872
+ id?: string;
1873
+
1874
+ connector?: TopLevelAPI.Connector;
1875
+
1876
+ connector_config_id?: string | null;
1877
+
1878
+ created_at?: string;
1879
+
1880
+ customer_id?: string | null;
1881
+
1882
+ disabled?: boolean | null;
1883
+
1884
+ display_name?: string | null;
1885
+
1886
+ environment?: 'production' | 'development';
1887
+
1888
+ integration?: TopLevelAPI.Integration;
1889
+
1890
+ integration_id?: string | null;
1891
+
1892
+ /**
1893
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
1894
+ * separate 1-1 table just for simple key values in your application. During
1895
+ * updates this object will be shallowly merged
1896
+ */
1897
+ metadata?: { [key: string]: unknown } | null;
1898
+
1899
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
1900
+
1901
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1902
+
1903
+ status_message?: string | null;
1904
+
1905
+ updated_at?: string;
1906
+
1907
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1908
+
1909
+ webhook_configured_at?: string | null;
1910
+
1911
+ webhook_identifier?: string | null;
1912
+ }
1913
+
1914
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
1915
+ export interface Settings {
1916
+ oauth: Settings.OAuth;
1917
+
1918
+ /**
1919
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
1920
+ * for backward compatibility until we remove the oauth field
1921
+ */
1922
+ access_token?: string;
1923
+ }
1924
+
1925
+ export namespace Settings {
1926
+ export interface OAuth {
1927
+ created_at?: string;
1928
+
1929
+ /**
1930
+ * Output of the postConnect hook for oauth2 connectors
1931
+ */
1932
+ credentials?: OAuth.Credentials;
1933
+
1934
+ last_fetched_at?: string;
1935
+
1936
+ metadata?: { [key: string]: unknown } | null;
1937
+
1938
+ updated_at?: string;
1939
+ }
1940
+
1941
+ export namespace OAuth {
1942
+ /**
1943
+ * Output of the postConnect hook for oauth2 connectors
1944
+ */
1945
+ export interface Credentials {
1946
+ access_token: string;
1947
+
1948
+ /**
1949
+ * Client ID used for the connection
1950
+ */
1951
+ client_id?: string;
1952
+
1953
+ expires_at?: string;
1954
+
1955
+ expires_in?: number;
1956
+
1957
+ raw?: { [key: string]: unknown };
1958
+
1959
+ refresh_token?: string;
1960
+
1961
+ scope?: string;
1962
+
1963
+ token_type?: string;
1964
+ }
1965
+ }
1966
+ }
1967
+ }
1968
+
1863
1969
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1864
1970
  connector_name: 'google-calendar';
1865
1971
 
@@ -4232,8 +4338,8 @@ export namespace CreateConnectionResponse {
4232
4338
  }
4233
4339
  }
4234
4340
 
4235
- export interface ConnectorPlaidDiscriminatedConnectionSettings {
4236
- connector_name: 'plaid';
4341
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
4342
+ connector_name: 'custom-mcp';
4237
4343
 
4238
4344
  id?: string;
4239
4345
 
@@ -4262,7 +4368,7 @@ export namespace CreateConnectionResponse {
4262
4368
  */
4263
4369
  metadata?: { [key: string]: unknown } | null;
4264
4370
 
4265
- settings?: ConnectorPlaidDiscriminatedConnectionSettings.Settings;
4371
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
4266
4372
 
4267
4373
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4268
4374
 
@@ -4277,75 +4383,36 @@ export namespace CreateConnectionResponse {
4277
4383
  webhook_identifier?: string | null;
4278
4384
  }
4279
4385
 
4280
- export namespace ConnectorPlaidDiscriminatedConnectionSettings {
4386
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
4281
4387
  export interface Settings {
4282
- accessToken: string;
4283
-
4284
- institution?: unknown;
4285
-
4286
- item?: unknown;
4287
-
4288
- itemId?: string | null;
4289
-
4290
- status?: unknown;
4388
+ /**
4389
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
4390
+ */
4391
+ base_url: string;
4291
4392
 
4292
- webhookItemError?: null;
4393
+ /**
4394
+ * Custom headers to include with every request
4395
+ */
4396
+ headers: Array<Settings.Header>;
4293
4397
  }
4294
- }
4295
-
4296
- export interface ConnectorPostgresDiscriminatedConnectionSettings {
4297
- connector_name: 'postgres';
4298
-
4299
- id?: string;
4300
-
4301
- connector?: TopLevelAPI.Connector;
4302
-
4303
- connector_config_id?: string | null;
4304
-
4305
- created_at?: string;
4306
-
4307
- customer_id?: string | null;
4308
4398
 
4309
- disabled?: boolean | null;
4310
-
4311
- display_name?: string | null;
4312
-
4313
- environment?: 'production' | 'development';
4314
-
4315
- integration?: TopLevelAPI.Integration;
4316
-
4317
- integration_id?: string | null;
4318
-
4319
- /**
4320
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
4321
- * separate 1-1 table just for simple key values in your application. During
4322
- * updates this object will be shallowly merged
4323
- */
4324
- metadata?: { [key: string]: unknown } | null;
4325
-
4326
- settings?: ConnectorPostgresDiscriminatedConnectionSettings.Settings;
4327
-
4328
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4329
-
4330
- status_message?: string | null;
4331
-
4332
- updated_at?: string;
4333
-
4334
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4335
-
4336
- webhook_configured_at?: string | null;
4337
-
4338
- webhook_identifier?: string | null;
4339
- }
4399
+ export namespace Settings {
4400
+ export interface Header {
4401
+ /**
4402
+ * Header name (e.g., Authorization, X-API-Key)
4403
+ */
4404
+ key: string;
4340
4405
 
4341
- export namespace ConnectorPostgresDiscriminatedConnectionSettings {
4342
- export interface Settings {
4343
- database_url?: string;
4406
+ /**
4407
+ * Header value (securely stored)
4408
+ */
4409
+ value: string;
4410
+ }
4344
4411
  }
4345
4412
  }
4346
4413
 
4347
- export interface ConnectorResendDiscriminatedConnectionSettings {
4348
- connector_name: 'resend';
4414
+ export interface ConnectorPlaidDiscriminatedConnectionSettings {
4415
+ connector_name: 'plaid';
4349
4416
 
4350
4417
  id?: string;
4351
4418
 
@@ -4374,7 +4441,7 @@ export namespace CreateConnectionResponse {
4374
4441
  */
4375
4442
  metadata?: { [key: string]: unknown } | null;
4376
4443
 
4377
- settings?: ConnectorResendDiscriminatedConnectionSettings.Settings;
4444
+ settings?: ConnectorPlaidDiscriminatedConnectionSettings.Settings;
4378
4445
 
4379
4446
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4380
4447
 
@@ -4389,75 +4456,24 @@ export namespace CreateConnectionResponse {
4389
4456
  webhook_identifier?: string | null;
4390
4457
  }
4391
4458
 
4392
- export namespace ConnectorResendDiscriminatedConnectionSettings {
4459
+ export namespace ConnectorPlaidDiscriminatedConnectionSettings {
4393
4460
  export interface Settings {
4394
- api_key: string;
4395
-
4396
- /**
4397
- * Email address to use as sender
4398
- */
4399
- from_email: string;
4400
- }
4401
- }
4402
-
4403
- export interface ConnectorSendgridDiscriminatedConnectionSettings {
4404
- connector_name: 'sendgrid';
4405
-
4406
- id?: string;
4407
-
4408
- connector?: TopLevelAPI.Connector;
4409
-
4410
- connector_config_id?: string | null;
4411
-
4412
- created_at?: string;
4413
-
4414
- customer_id?: string | null;
4415
-
4416
- disabled?: boolean | null;
4417
-
4418
- display_name?: string | null;
4419
-
4420
- environment?: 'production' | 'development';
4421
-
4422
- integration?: TopLevelAPI.Integration;
4423
-
4424
- integration_id?: string | null;
4425
-
4426
- /**
4427
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
4428
- * separate 1-1 table just for simple key values in your application. During
4429
- * updates this object will be shallowly merged
4430
- */
4431
- metadata?: { [key: string]: unknown } | null;
4432
-
4433
- settings?: ConnectorSendgridDiscriminatedConnectionSettings.Settings;
4434
-
4435
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4436
-
4437
- status_message?: string | null;
4438
-
4439
- updated_at?: string;
4461
+ accessToken: string;
4440
4462
 
4441
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4463
+ institution?: unknown;
4442
4464
 
4443
- webhook_configured_at?: string | null;
4465
+ item?: unknown;
4444
4466
 
4445
- webhook_identifier?: string | null;
4446
- }
4467
+ itemId?: string | null;
4447
4468
 
4448
- export namespace ConnectorSendgridDiscriminatedConnectionSettings {
4449
- export interface Settings {
4450
- api_key: string;
4469
+ status?: unknown;
4451
4470
 
4452
- /**
4453
- * Email address to use as sender
4454
- */
4455
- from_email: string;
4471
+ webhookItemError?: null;
4456
4472
  }
4457
4473
  }
4458
4474
 
4459
- export interface ConnectorSlackAgentDiscriminatedConnectionSettings {
4460
- connector_name: 'slack-agent';
4475
+ export interface ConnectorPostgresDiscriminatedConnectionSettings {
4476
+ connector_name: 'postgres';
4461
4477
 
4462
4478
  id?: string;
4463
4479
 
@@ -4486,7 +4502,7 @@ export namespace CreateConnectionResponse {
4486
4502
  */
4487
4503
  metadata?: { [key: string]: unknown } | null;
4488
4504
 
4489
- settings?: ConnectorSlackAgentDiscriminatedConnectionSettings.Settings;
4505
+ settings?: ConnectorPostgresDiscriminatedConnectionSettings.Settings;
4490
4506
 
4491
4507
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4492
4508
 
@@ -4501,17 +4517,180 @@ export namespace CreateConnectionResponse {
4501
4517
  webhook_identifier?: string | null;
4502
4518
  }
4503
4519
 
4504
- export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
4520
+ export namespace ConnectorPostgresDiscriminatedConnectionSettings {
4505
4521
  export interface Settings {
4506
- /**
4507
- * Bot OAuth token - xoxb-...
4508
- */
4509
- access_token: string;
4522
+ database_url?: string;
4510
4523
  }
4511
4524
  }
4512
4525
 
4513
- export interface ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
4514
- connector_name: 'slack-agent-builder';
4526
+ export interface ConnectorResendDiscriminatedConnectionSettings {
4527
+ connector_name: 'resend';
4528
+
4529
+ id?: string;
4530
+
4531
+ connector?: TopLevelAPI.Connector;
4532
+
4533
+ connector_config_id?: string | null;
4534
+
4535
+ created_at?: string;
4536
+
4537
+ customer_id?: string | null;
4538
+
4539
+ disabled?: boolean | null;
4540
+
4541
+ display_name?: string | null;
4542
+
4543
+ environment?: 'production' | 'development';
4544
+
4545
+ integration?: TopLevelAPI.Integration;
4546
+
4547
+ integration_id?: string | null;
4548
+
4549
+ /**
4550
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
4551
+ * separate 1-1 table just for simple key values in your application. During
4552
+ * updates this object will be shallowly merged
4553
+ */
4554
+ metadata?: { [key: string]: unknown } | null;
4555
+
4556
+ settings?: ConnectorResendDiscriminatedConnectionSettings.Settings;
4557
+
4558
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4559
+
4560
+ status_message?: string | null;
4561
+
4562
+ updated_at?: string;
4563
+
4564
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4565
+
4566
+ webhook_configured_at?: string | null;
4567
+
4568
+ webhook_identifier?: string | null;
4569
+ }
4570
+
4571
+ export namespace ConnectorResendDiscriminatedConnectionSettings {
4572
+ export interface Settings {
4573
+ api_key: string;
4574
+
4575
+ /**
4576
+ * Email address to use as sender
4577
+ */
4578
+ from_email: string;
4579
+ }
4580
+ }
4581
+
4582
+ export interface ConnectorSendgridDiscriminatedConnectionSettings {
4583
+ connector_name: 'sendgrid';
4584
+
4585
+ id?: string;
4586
+
4587
+ connector?: TopLevelAPI.Connector;
4588
+
4589
+ connector_config_id?: string | null;
4590
+
4591
+ created_at?: string;
4592
+
4593
+ customer_id?: string | null;
4594
+
4595
+ disabled?: boolean | null;
4596
+
4597
+ display_name?: string | null;
4598
+
4599
+ environment?: 'production' | 'development';
4600
+
4601
+ integration?: TopLevelAPI.Integration;
4602
+
4603
+ integration_id?: string | null;
4604
+
4605
+ /**
4606
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
4607
+ * separate 1-1 table just for simple key values in your application. During
4608
+ * updates this object will be shallowly merged
4609
+ */
4610
+ metadata?: { [key: string]: unknown } | null;
4611
+
4612
+ settings?: ConnectorSendgridDiscriminatedConnectionSettings.Settings;
4613
+
4614
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4615
+
4616
+ status_message?: string | null;
4617
+
4618
+ updated_at?: string;
4619
+
4620
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4621
+
4622
+ webhook_configured_at?: string | null;
4623
+
4624
+ webhook_identifier?: string | null;
4625
+ }
4626
+
4627
+ export namespace ConnectorSendgridDiscriminatedConnectionSettings {
4628
+ export interface Settings {
4629
+ api_key: string;
4630
+
4631
+ /**
4632
+ * Email address to use as sender
4633
+ */
4634
+ from_email: string;
4635
+ }
4636
+ }
4637
+
4638
+ export interface ConnectorSlackAgentDiscriminatedConnectionSettings {
4639
+ connector_name: 'slack-agent';
4640
+
4641
+ id?: string;
4642
+
4643
+ connector?: TopLevelAPI.Connector;
4644
+
4645
+ connector_config_id?: string | null;
4646
+
4647
+ created_at?: string;
4648
+
4649
+ customer_id?: string | null;
4650
+
4651
+ disabled?: boolean | null;
4652
+
4653
+ display_name?: string | null;
4654
+
4655
+ environment?: 'production' | 'development';
4656
+
4657
+ integration?: TopLevelAPI.Integration;
4658
+
4659
+ integration_id?: string | null;
4660
+
4661
+ /**
4662
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
4663
+ * separate 1-1 table just for simple key values in your application. During
4664
+ * updates this object will be shallowly merged
4665
+ */
4666
+ metadata?: { [key: string]: unknown } | null;
4667
+
4668
+ settings?: ConnectorSlackAgentDiscriminatedConnectionSettings.Settings;
4669
+
4670
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4671
+
4672
+ status_message?: string | null;
4673
+
4674
+ updated_at?: string;
4675
+
4676
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4677
+
4678
+ webhook_configured_at?: string | null;
4679
+
4680
+ webhook_identifier?: string | null;
4681
+ }
4682
+
4683
+ export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
4684
+ export interface Settings {
4685
+ /**
4686
+ * Bot OAuth token - xoxb-...
4687
+ */
4688
+ access_token: string;
4689
+ }
4690
+ }
4691
+
4692
+ export interface ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
4693
+ connector_name: 'slack-agent-builder';
4515
4694
 
4516
4695
  id?: string;
4517
4696
 
@@ -5036,6 +5215,7 @@ export type CreateConnnectorConfigResponse =
5036
5215
  | CreateConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
5037
5216
  | CreateConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
5038
5217
  | CreateConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
5218
+ | CreateConnnectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
5039
5219
  | CreateConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
5040
5220
  | CreateConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
5041
5221
  | CreateConnnectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -5060,6 +5240,7 @@ export type CreateConnnectorConfigResponse =
5060
5240
  | CreateConnnectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
5061
5241
  | CreateConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
5062
5242
  | CreateConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
5243
+ | CreateConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
5063
5244
  | CreateConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
5064
5245
  | CreateConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
5065
5246
  | CreateConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -5908,6 +6089,58 @@ export namespace CreateConnnectorConfigResponse {
5908
6089
  }
5909
6090
  }
5910
6091
 
6092
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
6093
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
6094
+
6095
+ connector_name: 'gitlab-source-control';
6096
+
6097
+ id?: string;
6098
+
6099
+ created_at?: string;
6100
+
6101
+ disabled?: boolean | null;
6102
+
6103
+ display_name?: string | null;
6104
+
6105
+ /**
6106
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
6107
+ * separate 1-1 table just for simple key values in your application. During
6108
+ * updates this object will be shallowly merged
6109
+ */
6110
+ metadata?: { [key: string]: unknown } | null;
6111
+
6112
+ org_id?: string;
6113
+
6114
+ updated_at?: string;
6115
+ }
6116
+
6117
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
6118
+ export interface Config {
6119
+ /**
6120
+ * Base oauth configuration for the connector
6121
+ */
6122
+ oauth?: Config.OAuth | null;
6123
+ }
6124
+
6125
+ export namespace Config {
6126
+ /**
6127
+ * Base oauth configuration for the connector
6128
+ */
6129
+ export interface OAuth {
6130
+ client_id?: string | null;
6131
+
6132
+ client_secret?: string | null;
6133
+
6134
+ /**
6135
+ * Custom redirect URI
6136
+ */
6137
+ redirect_uri?: string | null;
6138
+
6139
+ scopes?: Array<string> | null;
6140
+ }
6141
+ }
6142
+ }
6143
+
5911
6144
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5912
6145
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
5913
6146
 
@@ -7129,6 +7362,31 @@ export namespace CreateConnnectorConfigResponse {
7129
7362
  updated_at?: string;
7130
7363
  }
7131
7364
 
7365
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
7366
+ config: unknown;
7367
+
7368
+ connector_name: 'custom-mcp';
7369
+
7370
+ id?: string;
7371
+
7372
+ created_at?: string;
7373
+
7374
+ disabled?: boolean | null;
7375
+
7376
+ display_name?: string | null;
7377
+
7378
+ /**
7379
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
7380
+ * separate 1-1 table just for simple key values in your application. During
7381
+ * updates this object will be shallowly merged
7382
+ */
7383
+ metadata?: { [key: string]: unknown } | null;
7384
+
7385
+ org_id?: string;
7386
+
7387
+ updated_at?: string;
7388
+ }
7389
+
7132
7390
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
7133
7391
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
7134
7392
 
@@ -7598,6 +7856,7 @@ export type GetConectorConfigResponse =
7598
7856
  | GetConectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
7599
7857
  | GetConectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
7600
7858
  | GetConectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
7859
+ | GetConectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
7601
7860
  | GetConectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
7602
7861
  | GetConectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
7603
7862
  | GetConectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -7622,6 +7881,7 @@ export type GetConectorConfigResponse =
7622
7881
  | GetConectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
7623
7882
  | GetConectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
7624
7883
  | GetConectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
7884
+ | GetConectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
7625
7885
  | GetConectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
7626
7886
  | GetConectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
7627
7887
  | GetConectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -8572,10 +8832,10 @@ export namespace GetConectorConfigResponse {
8572
8832
  }
8573
8833
  }
8574
8834
 
8575
- export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8576
- config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
8835
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
8836
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
8577
8837
 
8578
- connector_name: 'google-calendar';
8838
+ connector_name: 'gitlab-source-control';
8579
8839
 
8580
8840
  id?: string;
8581
8841
 
@@ -8603,7 +8863,7 @@ export namespace GetConectorConfigResponse {
8603
8863
  updated_at?: string;
8604
8864
  }
8605
8865
 
8606
- export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8866
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
8607
8867
  export interface Config {
8608
8868
  /**
8609
8869
  * Base oauth configuration for the connector
@@ -8630,10 +8890,10 @@ export namespace GetConectorConfigResponse {
8630
8890
  }
8631
8891
  }
8632
8892
 
8633
- export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
8634
- config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
8893
+ export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8894
+ config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
8635
8895
 
8636
- connector_name: 'google-docs';
8896
+ connector_name: 'google-calendar';
8637
8897
 
8638
8898
  id?: string;
8639
8899
 
@@ -8661,7 +8921,7 @@ export namespace GetConectorConfigResponse {
8661
8921
  updated_at?: string;
8662
8922
  }
8663
8923
 
8664
- export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
8924
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8665
8925
  export interface Config {
8666
8926
  /**
8667
8927
  * Base oauth configuration for the connector
@@ -8688,10 +8948,10 @@ export namespace GetConectorConfigResponse {
8688
8948
  }
8689
8949
  }
8690
8950
 
8691
- export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
8692
- config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
8951
+ export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
8952
+ config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
8693
8953
 
8694
- connector_name: 'google-drive';
8954
+ connector_name: 'google-docs';
8695
8955
 
8696
8956
  id?: string;
8697
8957
 
@@ -8719,7 +8979,65 @@ export namespace GetConectorConfigResponse {
8719
8979
  updated_at?: string;
8720
8980
  }
8721
8981
 
8722
- export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
8982
+ export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
8983
+ export interface Config {
8984
+ /**
8985
+ * Base oauth configuration for the connector
8986
+ */
8987
+ oauth?: Config.OAuth | null;
8988
+ }
8989
+
8990
+ export namespace Config {
8991
+ /**
8992
+ * Base oauth configuration for the connector
8993
+ */
8994
+ export interface OAuth {
8995
+ client_id?: string | null;
8996
+
8997
+ client_secret?: string | null;
8998
+
8999
+ /**
9000
+ * Custom redirect URI
9001
+ */
9002
+ redirect_uri?: string | null;
9003
+
9004
+ scopes?: Array<string> | null;
9005
+ }
9006
+ }
9007
+ }
9008
+
9009
+ export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
9010
+ config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
9011
+
9012
+ connector_name: 'google-drive';
9013
+
9014
+ id?: string;
9015
+
9016
+ connection_count?: number;
9017
+
9018
+ connector?: TopLevelAPI.Connector;
9019
+
9020
+ created_at?: string;
9021
+
9022
+ disabled?: boolean | null;
9023
+
9024
+ display_name?: string | null;
9025
+
9026
+ integrations?: { [key: string]: TopLevelAPI.Integration };
9027
+
9028
+ /**
9029
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
9030
+ * separate 1-1 table just for simple key values in your application. During
9031
+ * updates this object will be shallowly merged
9032
+ */
9033
+ metadata?: { [key: string]: unknown } | null;
9034
+
9035
+ org_id?: string;
9036
+
9037
+ updated_at?: string;
9038
+ }
9039
+
9040
+ export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
8723
9041
  export interface Config {
8724
9042
  /**
8725
9043
  * Base oauth configuration for the connector
@@ -9937,6 +10255,37 @@ export namespace GetConectorConfigResponse {
9937
10255
  updated_at?: string;
9938
10256
  }
9939
10257
 
10258
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
10259
+ config: unknown;
10260
+
10261
+ connector_name: 'custom-mcp';
10262
+
10263
+ id?: string;
10264
+
10265
+ connection_count?: number;
10266
+
10267
+ connector?: TopLevelAPI.Connector;
10268
+
10269
+ created_at?: string;
10270
+
10271
+ disabled?: boolean | null;
10272
+
10273
+ display_name?: string | null;
10274
+
10275
+ integrations?: { [key: string]: TopLevelAPI.Integration };
10276
+
10277
+ /**
10278
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
10279
+ * separate 1-1 table just for simple key values in your application. During
10280
+ * updates this object will be shallowly merged
10281
+ */
10282
+ metadata?: { [key: string]: unknown } | null;
10283
+
10284
+ org_id?: string;
10285
+
10286
+ updated_at?: string;
10287
+ }
10288
+
9940
10289
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
9941
10290
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
9942
10291
 
@@ -10424,6 +10773,7 @@ export type GetConnectionResponse =
10424
10773
  | GetConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
10425
10774
  | GetConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
10426
10775
  | GetConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
10776
+ | GetConnectionResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
10427
10777
  | GetConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
10428
10778
  | GetConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
10429
10779
  | GetConnectionResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -10448,6 +10798,7 @@ export type GetConnectionResponse =
10448
10798
  | GetConnectionResponse.ConnectorZendeskDiscriminatedConnectionSettings
10449
10799
  | GetConnectionResponse.ConnectorZoomDiscriminatedConnectionSettings
10450
10800
  | GetConnectionResponse.ConnectorApolloDiscriminatedConnectionSettings
10801
+ | GetConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
10451
10802
  | GetConnectionResponse.ConnectorPlaidDiscriminatedConnectionSettings
10452
10803
  | GetConnectionResponse.ConnectorPostgresDiscriminatedConnectionSettings
10453
10804
  | GetConnectionResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -12086,6 +12437,106 @@ export namespace GetConnectionResponse {
12086
12437
  }
12087
12438
  }
12088
12439
 
12440
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
12441
+ connector_name: 'gitlab-source-control';
12442
+
12443
+ id?: string;
12444
+
12445
+ connector?: TopLevelAPI.Connector;
12446
+
12447
+ connector_config_id?: string | null;
12448
+
12449
+ created_at?: string;
12450
+
12451
+ customer_id?: string | null;
12452
+
12453
+ disabled?: boolean | null;
12454
+
12455
+ display_name?: string | null;
12456
+
12457
+ environment?: 'production' | 'development';
12458
+
12459
+ integration?: TopLevelAPI.Integration;
12460
+
12461
+ integration_id?: string | null;
12462
+
12463
+ /**
12464
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
12465
+ * separate 1-1 table just for simple key values in your application. During
12466
+ * updates this object will be shallowly merged
12467
+ */
12468
+ metadata?: { [key: string]: unknown } | null;
12469
+
12470
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
12471
+
12472
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
12473
+
12474
+ status_message?: string | null;
12475
+
12476
+ updated_at?: string;
12477
+
12478
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12479
+
12480
+ webhook_configured_at?: string | null;
12481
+
12482
+ webhook_identifier?: string | null;
12483
+ }
12484
+
12485
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
12486
+ export interface Settings {
12487
+ oauth: Settings.OAuth;
12488
+
12489
+ /**
12490
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
12491
+ * for backward compatibility until we remove the oauth field
12492
+ */
12493
+ access_token?: string;
12494
+ }
12495
+
12496
+ export namespace Settings {
12497
+ export interface OAuth {
12498
+ created_at?: string;
12499
+
12500
+ /**
12501
+ * Output of the postConnect hook for oauth2 connectors
12502
+ */
12503
+ credentials?: OAuth.Credentials;
12504
+
12505
+ last_fetched_at?: string;
12506
+
12507
+ metadata?: { [key: string]: unknown } | null;
12508
+
12509
+ updated_at?: string;
12510
+ }
12511
+
12512
+ export namespace OAuth {
12513
+ /**
12514
+ * Output of the postConnect hook for oauth2 connectors
12515
+ */
12516
+ export interface Credentials {
12517
+ access_token: string;
12518
+
12519
+ /**
12520
+ * Client ID used for the connection
12521
+ */
12522
+ client_id?: string;
12523
+
12524
+ expires_at?: string;
12525
+
12526
+ expires_in?: number;
12527
+
12528
+ raw?: { [key: string]: unknown };
12529
+
12530
+ refresh_token?: string;
12531
+
12532
+ scope?: string;
12533
+
12534
+ token_type?: string;
12535
+ }
12536
+ }
12537
+ }
12538
+ }
12539
+
12089
12540
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
12090
12541
  connector_name: 'google-calendar';
12091
12542
 
@@ -14458,6 +14909,79 @@ export namespace GetConnectionResponse {
14458
14909
  }
14459
14910
  }
14460
14911
 
14912
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
14913
+ connector_name: 'custom-mcp';
14914
+
14915
+ id?: string;
14916
+
14917
+ connector?: TopLevelAPI.Connector;
14918
+
14919
+ connector_config_id?: string | null;
14920
+
14921
+ created_at?: string;
14922
+
14923
+ customer_id?: string | null;
14924
+
14925
+ disabled?: boolean | null;
14926
+
14927
+ display_name?: string | null;
14928
+
14929
+ environment?: 'production' | 'development';
14930
+
14931
+ integration?: TopLevelAPI.Integration;
14932
+
14933
+ integration_id?: string | null;
14934
+
14935
+ /**
14936
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
14937
+ * separate 1-1 table just for simple key values in your application. During
14938
+ * updates this object will be shallowly merged
14939
+ */
14940
+ metadata?: { [key: string]: unknown } | null;
14941
+
14942
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
14943
+
14944
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
14945
+
14946
+ status_message?: string | null;
14947
+
14948
+ updated_at?: string;
14949
+
14950
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14951
+
14952
+ webhook_configured_at?: string | null;
14953
+
14954
+ webhook_identifier?: string | null;
14955
+ }
14956
+
14957
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
14958
+ export interface Settings {
14959
+ /**
14960
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
14961
+ */
14962
+ base_url: string;
14963
+
14964
+ /**
14965
+ * Custom headers to include with every request
14966
+ */
14967
+ headers: Array<Settings.Header>;
14968
+ }
14969
+
14970
+ export namespace Settings {
14971
+ export interface Header {
14972
+ /**
14973
+ * Header name (e.g., Authorization, X-API-Key)
14974
+ */
14975
+ key: string;
14976
+
14977
+ /**
14978
+ * Header value (securely stored)
14979
+ */
14980
+ value: string;
14981
+ }
14982
+ }
14983
+ }
14984
+
14461
14985
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
14462
14986
  connector_name: 'plaid';
14463
14987
 
@@ -15288,6 +15812,7 @@ export type ListConnectionsResponse =
15288
15812
  | ListConnectionsResponse.ConnectorFigmaDiscriminatedConnectionSettings
15289
15813
  | ListConnectionsResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
15290
15814
  | ListConnectionsResponse.ConnectorGitHubDiscriminatedConnectionSettings
15815
+ | ListConnectionsResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
15291
15816
  | ListConnectionsResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
15292
15817
  | ListConnectionsResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
15293
15818
  | ListConnectionsResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -15312,6 +15837,7 @@ export type ListConnectionsResponse =
15312
15837
  | ListConnectionsResponse.ConnectorZendeskDiscriminatedConnectionSettings
15313
15838
  | ListConnectionsResponse.ConnectorZoomDiscriminatedConnectionSettings
15314
15839
  | ListConnectionsResponse.ConnectorApolloDiscriminatedConnectionSettings
15840
+ | ListConnectionsResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
15315
15841
  | ListConnectionsResponse.ConnectorPlaidDiscriminatedConnectionSettings
15316
15842
  | ListConnectionsResponse.ConnectorPostgresDiscriminatedConnectionSettings
15317
15843
  | ListConnectionsResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -16950,8 +17476,8 @@ export namespace ListConnectionsResponse {
16950
17476
  }
16951
17477
  }
16952
17478
 
16953
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
16954
- connector_name: 'google-calendar';
17479
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
17480
+ connector_name: 'gitlab-source-control';
16955
17481
 
16956
17482
  id?: string;
16957
17483
 
@@ -16980,7 +17506,7 @@ export namespace ListConnectionsResponse {
16980
17506
  */
16981
17507
  metadata?: { [key: string]: unknown } | null;
16982
17508
 
16983
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
17509
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
16984
17510
 
16985
17511
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
16986
17512
 
@@ -16995,7 +17521,7 @@ export namespace ListConnectionsResponse {
16995
17521
  webhook_identifier?: string | null;
16996
17522
  }
16997
17523
 
16998
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17524
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
16999
17525
  export interface Settings {
17000
17526
  oauth: Settings.OAuth;
17001
17527
 
@@ -17050,8 +17576,8 @@ export namespace ListConnectionsResponse {
17050
17576
  }
17051
17577
  }
17052
17578
 
17053
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
17054
- connector_name: 'google-docs';
17579
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17580
+ connector_name: 'google-calendar';
17055
17581
 
17056
17582
  id?: string;
17057
17583
 
@@ -17080,7 +17606,7 @@ export namespace ListConnectionsResponse {
17080
17606
  */
17081
17607
  metadata?: { [key: string]: unknown } | null;
17082
17608
 
17083
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
17609
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
17084
17610
 
17085
17611
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17086
17612
 
@@ -17095,7 +17621,7 @@ export namespace ListConnectionsResponse {
17095
17621
  webhook_identifier?: string | null;
17096
17622
  }
17097
17623
 
17098
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
17624
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17099
17625
  export interface Settings {
17100
17626
  oauth: Settings.OAuth;
17101
17627
 
@@ -17150,8 +17676,108 @@ export namespace ListConnectionsResponse {
17150
17676
  }
17151
17677
  }
17152
17678
 
17153
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
17154
- connector_name: 'google-drive';
17679
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
17680
+ connector_name: 'google-docs';
17681
+
17682
+ id?: string;
17683
+
17684
+ connector?: TopLevelAPI.Connector;
17685
+
17686
+ connector_config_id?: string | null;
17687
+
17688
+ created_at?: string;
17689
+
17690
+ customer_id?: string | null;
17691
+
17692
+ disabled?: boolean | null;
17693
+
17694
+ display_name?: string | null;
17695
+
17696
+ environment?: 'production' | 'development';
17697
+
17698
+ integration?: TopLevelAPI.Integration;
17699
+
17700
+ integration_id?: string | null;
17701
+
17702
+ /**
17703
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
17704
+ * separate 1-1 table just for simple key values in your application. During
17705
+ * updates this object will be shallowly merged
17706
+ */
17707
+ metadata?: { [key: string]: unknown } | null;
17708
+
17709
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
17710
+
17711
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17712
+
17713
+ status_message?: string | null;
17714
+
17715
+ updated_at?: string;
17716
+
17717
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17718
+
17719
+ webhook_configured_at?: string | null;
17720
+
17721
+ webhook_identifier?: string | null;
17722
+ }
17723
+
17724
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
17725
+ export interface Settings {
17726
+ oauth: Settings.OAuth;
17727
+
17728
+ /**
17729
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
17730
+ * for backward compatibility until we remove the oauth field
17731
+ */
17732
+ access_token?: string;
17733
+ }
17734
+
17735
+ export namespace Settings {
17736
+ export interface OAuth {
17737
+ created_at?: string;
17738
+
17739
+ /**
17740
+ * Output of the postConnect hook for oauth2 connectors
17741
+ */
17742
+ credentials?: OAuth.Credentials;
17743
+
17744
+ last_fetched_at?: string;
17745
+
17746
+ metadata?: { [key: string]: unknown } | null;
17747
+
17748
+ updated_at?: string;
17749
+ }
17750
+
17751
+ export namespace OAuth {
17752
+ /**
17753
+ * Output of the postConnect hook for oauth2 connectors
17754
+ */
17755
+ export interface Credentials {
17756
+ access_token: string;
17757
+
17758
+ /**
17759
+ * Client ID used for the connection
17760
+ */
17761
+ client_id?: string;
17762
+
17763
+ expires_at?: string;
17764
+
17765
+ expires_in?: number;
17766
+
17767
+ raw?: { [key: string]: unknown };
17768
+
17769
+ refresh_token?: string;
17770
+
17771
+ scope?: string;
17772
+
17773
+ token_type?: string;
17774
+ }
17775
+ }
17776
+ }
17777
+ }
17778
+
17779
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
17780
+ connector_name: 'google-drive';
17155
17781
 
17156
17782
  id?: string;
17157
17783
 
@@ -19322,6 +19948,79 @@ export namespace ListConnectionsResponse {
19322
19948
  }
19323
19949
  }
19324
19950
 
19951
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
19952
+ connector_name: 'custom-mcp';
19953
+
19954
+ id?: string;
19955
+
19956
+ connector?: TopLevelAPI.Connector;
19957
+
19958
+ connector_config_id?: string | null;
19959
+
19960
+ created_at?: string;
19961
+
19962
+ customer_id?: string | null;
19963
+
19964
+ disabled?: boolean | null;
19965
+
19966
+ display_name?: string | null;
19967
+
19968
+ environment?: 'production' | 'development';
19969
+
19970
+ integration?: TopLevelAPI.Integration;
19971
+
19972
+ integration_id?: string | null;
19973
+
19974
+ /**
19975
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
19976
+ * separate 1-1 table just for simple key values in your application. During
19977
+ * updates this object will be shallowly merged
19978
+ */
19979
+ metadata?: { [key: string]: unknown } | null;
19980
+
19981
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
19982
+
19983
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
19984
+
19985
+ status_message?: string | null;
19986
+
19987
+ updated_at?: string;
19988
+
19989
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19990
+
19991
+ webhook_configured_at?: string | null;
19992
+
19993
+ webhook_identifier?: string | null;
19994
+ }
19995
+
19996
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
19997
+ export interface Settings {
19998
+ /**
19999
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
20000
+ */
20001
+ base_url: string;
20002
+
20003
+ /**
20004
+ * Custom headers to include with every request
20005
+ */
20006
+ headers: Array<Settings.Header>;
20007
+ }
20008
+
20009
+ export namespace Settings {
20010
+ export interface Header {
20011
+ /**
20012
+ * Header name (e.g., Authorization, X-API-Key)
20013
+ */
20014
+ key: string;
20015
+
20016
+ /**
20017
+ * Header value (securely stored)
20018
+ */
20019
+ value: string;
20020
+ }
20021
+ }
20022
+ }
20023
+
19325
20024
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
19326
20025
  connector_name: 'plaid';
19327
20026
 
@@ -20126,6 +20825,7 @@ export type ListConnectorConfigsResponse =
20126
20825
  | ListConnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
20127
20826
  | ListConnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
20128
20827
  | ListConnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
20828
+ | ListConnectorConfigsResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
20129
20829
  | ListConnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
20130
20830
  | ListConnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
20131
20831
  | ListConnectorConfigsResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -20150,6 +20850,7 @@ export type ListConnectorConfigsResponse =
20150
20850
  | ListConnectorConfigsResponse.ConnectorZendeskDiscriminatedConnectorConfig
20151
20851
  | ListConnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
20152
20852
  | ListConnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
20853
+ | ListConnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
20153
20854
  | ListConnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
20154
20855
  | ListConnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
20155
20856
  | ListConnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -21100,10 +21801,10 @@ export namespace ListConnectorConfigsResponse {
21100
21801
  }
21101
21802
  }
21102
21803
 
21103
- export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
21104
- config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
21804
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
21805
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
21105
21806
 
21106
- connector_name: 'google-calendar';
21807
+ connector_name: 'gitlab-source-control';
21107
21808
 
21108
21809
  id?: string;
21109
21810
 
@@ -21131,7 +21832,7 @@ export namespace ListConnectorConfigsResponse {
21131
21832
  updated_at?: string;
21132
21833
  }
21133
21834
 
21134
- export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
21835
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
21135
21836
  export interface Config {
21136
21837
  /**
21137
21838
  * Base oauth configuration for the connector
@@ -21158,10 +21859,10 @@ export namespace ListConnectorConfigsResponse {
21158
21859
  }
21159
21860
  }
21160
21861
 
21161
- export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
21162
- config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
21862
+ export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
21863
+ config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
21163
21864
 
21164
- connector_name: 'google-docs';
21865
+ connector_name: 'google-calendar';
21165
21866
 
21166
21867
  id?: string;
21167
21868
 
@@ -21189,7 +21890,7 @@ export namespace ListConnectorConfigsResponse {
21189
21890
  updated_at?: string;
21190
21891
  }
21191
21892
 
21192
- export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
21893
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
21193
21894
  export interface Config {
21194
21895
  /**
21195
21896
  * Base oauth configuration for the connector
@@ -21216,10 +21917,10 @@ export namespace ListConnectorConfigsResponse {
21216
21917
  }
21217
21918
  }
21218
21919
 
21219
- export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
21220
- config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
21920
+ export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
21921
+ config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
21221
21922
 
21222
- connector_name: 'google-drive';
21923
+ connector_name: 'google-docs';
21223
21924
 
21224
21925
  id?: string;
21225
21926
 
@@ -21247,7 +21948,7 @@ export namespace ListConnectorConfigsResponse {
21247
21948
  updated_at?: string;
21248
21949
  }
21249
21950
 
21250
- export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
21951
+ export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
21251
21952
  export interface Config {
21252
21953
  /**
21253
21954
  * Base oauth configuration for the connector
@@ -21274,10 +21975,10 @@ export namespace ListConnectorConfigsResponse {
21274
21975
  }
21275
21976
  }
21276
21977
 
21277
- export interface ConnectorGoogleMailDiscriminatedConnectorConfig {
21278
- config: ConnectorGoogleMailDiscriminatedConnectorConfig.Config;
21978
+ export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
21979
+ config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
21279
21980
 
21280
- connector_name: 'google-mail';
21981
+ connector_name: 'google-drive';
21281
21982
 
21282
21983
  id?: string;
21283
21984
 
@@ -21305,7 +22006,7 @@ export namespace ListConnectorConfigsResponse {
21305
22006
  updated_at?: string;
21306
22007
  }
21307
22008
 
21308
- export namespace ConnectorGoogleMailDiscriminatedConnectorConfig {
22009
+ export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
21309
22010
  export interface Config {
21310
22011
  /**
21311
22012
  * Base oauth configuration for the connector
@@ -21332,10 +22033,10 @@ export namespace ListConnectorConfigsResponse {
21332
22033
  }
21333
22034
  }
21334
22035
 
21335
- export interface ConnectorGoogleSheetDiscriminatedConnectorConfig {
21336
- config: ConnectorGoogleSheetDiscriminatedConnectorConfig.Config;
22036
+ export interface ConnectorGoogleMailDiscriminatedConnectorConfig {
22037
+ config: ConnectorGoogleMailDiscriminatedConnectorConfig.Config;
21337
22038
 
21338
- connector_name: 'google-sheet';
22039
+ connector_name: 'google-mail';
21339
22040
 
21340
22041
  id?: string;
21341
22042
 
@@ -21363,7 +22064,7 @@ export namespace ListConnectorConfigsResponse {
21363
22064
  updated_at?: string;
21364
22065
  }
21365
22066
 
21366
- export namespace ConnectorGoogleSheetDiscriminatedConnectorConfig {
22067
+ export namespace ConnectorGoogleMailDiscriminatedConnectorConfig {
21367
22068
  export interface Config {
21368
22069
  /**
21369
22070
  * Base oauth configuration for the connector
@@ -21390,10 +22091,10 @@ export namespace ListConnectorConfigsResponse {
21390
22091
  }
21391
22092
  }
21392
22093
 
21393
- export interface ConnectorGoogleSlidesDiscriminatedConnectorConfig {
21394
- config: ConnectorGoogleSlidesDiscriminatedConnectorConfig.Config;
22094
+ export interface ConnectorGoogleSheetDiscriminatedConnectorConfig {
22095
+ config: ConnectorGoogleSheetDiscriminatedConnectorConfig.Config;
21395
22096
 
21396
- connector_name: 'google-slides';
22097
+ connector_name: 'google-sheet';
21397
22098
 
21398
22099
  id?: string;
21399
22100
 
@@ -21421,7 +22122,7 @@ export namespace ListConnectorConfigsResponse {
21421
22122
  updated_at?: string;
21422
22123
  }
21423
22124
 
21424
- export namespace ConnectorGoogleSlidesDiscriminatedConnectorConfig {
22125
+ export namespace ConnectorGoogleSheetDiscriminatedConnectorConfig {
21425
22126
  export interface Config {
21426
22127
  /**
21427
22128
  * Base oauth configuration for the connector
@@ -21448,10 +22149,10 @@ export namespace ListConnectorConfigsResponse {
21448
22149
  }
21449
22150
  }
21450
22151
 
21451
- export interface ConnectorHubspotDiscriminatedConnectorConfig {
21452
- config: ConnectorHubspotDiscriminatedConnectorConfig.Config;
22152
+ export interface ConnectorGoogleSlidesDiscriminatedConnectorConfig {
22153
+ config: ConnectorGoogleSlidesDiscriminatedConnectorConfig.Config;
21453
22154
 
21454
- connector_name: 'hubspot';
22155
+ connector_name: 'google-slides';
21455
22156
 
21456
22157
  id?: string;
21457
22158
 
@@ -21479,7 +22180,7 @@ export namespace ListConnectorConfigsResponse {
21479
22180
  updated_at?: string;
21480
22181
  }
21481
22182
 
21482
- export namespace ConnectorHubspotDiscriminatedConnectorConfig {
22183
+ export namespace ConnectorGoogleSlidesDiscriminatedConnectorConfig {
21483
22184
  export interface Config {
21484
22185
  /**
21485
22186
  * Base oauth configuration for the connector
@@ -21506,10 +22207,10 @@ export namespace ListConnectorConfigsResponse {
21506
22207
  }
21507
22208
  }
21508
22209
 
21509
- export interface ConnectorInstagramDiscriminatedConnectorConfig {
21510
- config: ConnectorInstagramDiscriminatedConnectorConfig.Config;
22210
+ export interface ConnectorHubspotDiscriminatedConnectorConfig {
22211
+ config: ConnectorHubspotDiscriminatedConnectorConfig.Config;
21511
22212
 
21512
- connector_name: 'instagram';
22213
+ connector_name: 'hubspot';
21513
22214
 
21514
22215
  id?: string;
21515
22216
 
@@ -21537,7 +22238,7 @@ export namespace ListConnectorConfigsResponse {
21537
22238
  updated_at?: string;
21538
22239
  }
21539
22240
 
21540
- export namespace ConnectorInstagramDiscriminatedConnectorConfig {
22241
+ export namespace ConnectorHubspotDiscriminatedConnectorConfig {
21541
22242
  export interface Config {
21542
22243
  /**
21543
22244
  * Base oauth configuration for the connector
@@ -21564,10 +22265,10 @@ export namespace ListConnectorConfigsResponse {
21564
22265
  }
21565
22266
  }
21566
22267
 
21567
- export interface ConnectorJiraDiscriminatedConnectorConfig {
21568
- config: ConnectorJiraDiscriminatedConnectorConfig.Config;
22268
+ export interface ConnectorInstagramDiscriminatedConnectorConfig {
22269
+ config: ConnectorInstagramDiscriminatedConnectorConfig.Config;
21569
22270
 
21570
- connector_name: 'jira';
22271
+ connector_name: 'instagram';
21571
22272
 
21572
22273
  id?: string;
21573
22274
 
@@ -21595,7 +22296,7 @@ export namespace ListConnectorConfigsResponse {
21595
22296
  updated_at?: string;
21596
22297
  }
21597
22298
 
21598
- export namespace ConnectorJiraDiscriminatedConnectorConfig {
22299
+ export namespace ConnectorInstagramDiscriminatedConnectorConfig {
21599
22300
  export interface Config {
21600
22301
  /**
21601
22302
  * Base oauth configuration for the connector
@@ -21622,10 +22323,10 @@ export namespace ListConnectorConfigsResponse {
21622
22323
  }
21623
22324
  }
21624
22325
 
21625
- export interface ConnectorLinearDiscriminatedConnectorConfig {
21626
- config: ConnectorLinearDiscriminatedConnectorConfig.Config;
22326
+ export interface ConnectorJiraDiscriminatedConnectorConfig {
22327
+ config: ConnectorJiraDiscriminatedConnectorConfig.Config;
21627
22328
 
21628
- connector_name: 'linear';
22329
+ connector_name: 'jira';
21629
22330
 
21630
22331
  id?: string;
21631
22332
 
@@ -21653,7 +22354,7 @@ export namespace ListConnectorConfigsResponse {
21653
22354
  updated_at?: string;
21654
22355
  }
21655
22356
 
21656
- export namespace ConnectorLinearDiscriminatedConnectorConfig {
22357
+ export namespace ConnectorJiraDiscriminatedConnectorConfig {
21657
22358
  export interface Config {
21658
22359
  /**
21659
22360
  * Base oauth configuration for the connector
@@ -21680,10 +22381,10 @@ export namespace ListConnectorConfigsResponse {
21680
22381
  }
21681
22382
  }
21682
22383
 
21683
- export interface ConnectorMondayDiscriminatedConnectorConfig {
21684
- config: ConnectorMondayDiscriminatedConnectorConfig.Config;
22384
+ export interface ConnectorLinearDiscriminatedConnectorConfig {
22385
+ config: ConnectorLinearDiscriminatedConnectorConfig.Config;
21685
22386
 
21686
- connector_name: 'monday';
22387
+ connector_name: 'linear';
21687
22388
 
21688
22389
  id?: string;
21689
22390
 
@@ -21711,7 +22412,7 @@ export namespace ListConnectorConfigsResponse {
21711
22412
  updated_at?: string;
21712
22413
  }
21713
22414
 
21714
- export namespace ConnectorMondayDiscriminatedConnectorConfig {
22415
+ export namespace ConnectorLinearDiscriminatedConnectorConfig {
21715
22416
  export interface Config {
21716
22417
  /**
21717
22418
  * Base oauth configuration for the connector
@@ -21738,10 +22439,10 @@ export namespace ListConnectorConfigsResponse {
21738
22439
  }
21739
22440
  }
21740
22441
 
21741
- export interface ConnectorNotionDiscriminatedConnectorConfig {
21742
- config: ConnectorNotionDiscriminatedConnectorConfig.Config;
22442
+ export interface ConnectorMondayDiscriminatedConnectorConfig {
22443
+ config: ConnectorMondayDiscriminatedConnectorConfig.Config;
21743
22444
 
21744
- connector_name: 'notion';
22445
+ connector_name: 'monday';
21745
22446
 
21746
22447
  id?: string;
21747
22448
 
@@ -21769,7 +22470,7 @@ export namespace ListConnectorConfigsResponse {
21769
22470
  updated_at?: string;
21770
22471
  }
21771
22472
 
21772
- export namespace ConnectorNotionDiscriminatedConnectorConfig {
22473
+ export namespace ConnectorMondayDiscriminatedConnectorConfig {
21773
22474
  export interface Config {
21774
22475
  /**
21775
22476
  * Base oauth configuration for the connector
@@ -21796,10 +22497,68 @@ export namespace ListConnectorConfigsResponse {
21796
22497
  }
21797
22498
  }
21798
22499
 
21799
- export interface ConnectorOnedriveDiscriminatedConnectorConfig {
21800
- config: ConnectorOnedriveDiscriminatedConnectorConfig.Config;
22500
+ export interface ConnectorNotionDiscriminatedConnectorConfig {
22501
+ config: ConnectorNotionDiscriminatedConnectorConfig.Config;
21801
22502
 
21802
- connector_name: 'onedrive';
22503
+ connector_name: 'notion';
22504
+
22505
+ id?: string;
22506
+
22507
+ connection_count?: number;
22508
+
22509
+ connector?: TopLevelAPI.Connector;
22510
+
22511
+ created_at?: string;
22512
+
22513
+ disabled?: boolean | null;
22514
+
22515
+ display_name?: string | null;
22516
+
22517
+ integrations?: { [key: string]: TopLevelAPI.Integration };
22518
+
22519
+ /**
22520
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
22521
+ * separate 1-1 table just for simple key values in your application. During
22522
+ * updates this object will be shallowly merged
22523
+ */
22524
+ metadata?: { [key: string]: unknown } | null;
22525
+
22526
+ org_id?: string;
22527
+
22528
+ updated_at?: string;
22529
+ }
22530
+
22531
+ export namespace ConnectorNotionDiscriminatedConnectorConfig {
22532
+ export interface Config {
22533
+ /**
22534
+ * Base oauth configuration for the connector
22535
+ */
22536
+ oauth?: Config.OAuth | null;
22537
+ }
22538
+
22539
+ export namespace Config {
22540
+ /**
22541
+ * Base oauth configuration for the connector
22542
+ */
22543
+ export interface OAuth {
22544
+ client_id?: string | null;
22545
+
22546
+ client_secret?: string | null;
22547
+
22548
+ /**
22549
+ * Custom redirect URI
22550
+ */
22551
+ redirect_uri?: string | null;
22552
+
22553
+ scopes?: Array<string> | null;
22554
+ }
22555
+ }
22556
+ }
22557
+
22558
+ export interface ConnectorOnedriveDiscriminatedConnectorConfig {
22559
+ config: ConnectorOnedriveDiscriminatedConnectorConfig.Config;
22560
+
22561
+ connector_name: 'onedrive';
21803
22562
 
21804
22563
  id?: string;
21805
22564
 
@@ -22465,6 +23224,37 @@ export namespace ListConnectorConfigsResponse {
22465
23224
  updated_at?: string;
22466
23225
  }
22467
23226
 
23227
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
23228
+ config: unknown;
23229
+
23230
+ connector_name: 'custom-mcp';
23231
+
23232
+ id?: string;
23233
+
23234
+ connection_count?: number;
23235
+
23236
+ connector?: TopLevelAPI.Connector;
23237
+
23238
+ created_at?: string;
23239
+
23240
+ disabled?: boolean | null;
23241
+
23242
+ display_name?: string | null;
23243
+
23244
+ integrations?: { [key: string]: TopLevelAPI.Integration };
23245
+
23246
+ /**
23247
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
23248
+ * separate 1-1 table just for simple key values in your application. During
23249
+ * updates this object will be shallowly merged
23250
+ */
23251
+ metadata?: { [key: string]: unknown } | null;
23252
+
23253
+ org_id?: string;
23254
+
23255
+ updated_at?: string;
23256
+ }
23257
+
22468
23258
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
22469
23259
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
22470
23260
 
@@ -22953,6 +23743,7 @@ export type ListConnnectorConfigsResponse =
22953
23743
  | ListConnnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
22954
23744
  | ListConnnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
22955
23745
  | ListConnnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
23746
+ | ListConnnectorConfigsResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
22956
23747
  | ListConnnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
22957
23748
  | ListConnnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
22958
23749
  | ListConnnectorConfigsResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -22977,6 +23768,7 @@ export type ListConnnectorConfigsResponse =
22977
23768
  | ListConnnectorConfigsResponse.ConnectorZendeskDiscriminatedConnectorConfig
22978
23769
  | ListConnnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
22979
23770
  | ListConnnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
23771
+ | ListConnnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
22980
23772
  | ListConnnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
22981
23773
  | ListConnnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
22982
23774
  | ListConnnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -23927,6 +24719,64 @@ export namespace ListConnnectorConfigsResponse {
23927
24719
  }
23928
24720
  }
23929
24721
 
24722
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
24723
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
24724
+
24725
+ connector_name: 'gitlab-source-control';
24726
+
24727
+ id?: string;
24728
+
24729
+ connection_count?: number;
24730
+
24731
+ connector?: TopLevelAPI.Connector;
24732
+
24733
+ created_at?: string;
24734
+
24735
+ disabled?: boolean | null;
24736
+
24737
+ display_name?: string | null;
24738
+
24739
+ integrations?: { [key: string]: TopLevelAPI.Integration };
24740
+
24741
+ /**
24742
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
24743
+ * separate 1-1 table just for simple key values in your application. During
24744
+ * updates this object will be shallowly merged
24745
+ */
24746
+ metadata?: { [key: string]: unknown } | null;
24747
+
24748
+ org_id?: string;
24749
+
24750
+ updated_at?: string;
24751
+ }
24752
+
24753
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
24754
+ export interface Config {
24755
+ /**
24756
+ * Base oauth configuration for the connector
24757
+ */
24758
+ oauth?: Config.OAuth | null;
24759
+ }
24760
+
24761
+ export namespace Config {
24762
+ /**
24763
+ * Base oauth configuration for the connector
24764
+ */
24765
+ export interface OAuth {
24766
+ client_id?: string | null;
24767
+
24768
+ client_secret?: string | null;
24769
+
24770
+ /**
24771
+ * Custom redirect URI
24772
+ */
24773
+ redirect_uri?: string | null;
24774
+
24775
+ scopes?: Array<string> | null;
24776
+ }
24777
+ }
24778
+ }
24779
+
23930
24780
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
23931
24781
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
23932
24782
 
@@ -25292,6 +26142,37 @@ export namespace ListConnnectorConfigsResponse {
25292
26142
  updated_at?: string;
25293
26143
  }
25294
26144
 
26145
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
26146
+ config: unknown;
26147
+
26148
+ connector_name: 'custom-mcp';
26149
+
26150
+ id?: string;
26151
+
26152
+ connection_count?: number;
26153
+
26154
+ connector?: TopLevelAPI.Connector;
26155
+
26156
+ created_at?: string;
26157
+
26158
+ disabled?: boolean | null;
26159
+
26160
+ display_name?: string | null;
26161
+
26162
+ integrations?: { [key: string]: TopLevelAPI.Integration };
26163
+
26164
+ /**
26165
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
26166
+ * separate 1-1 table just for simple key values in your application. During
26167
+ * updates this object will be shallowly merged
26168
+ */
26169
+ metadata?: { [key: string]: unknown } | null;
26170
+
26171
+ org_id?: string;
26172
+
26173
+ updated_at?: string;
26174
+ }
26175
+
25295
26176
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
25296
26177
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
25297
26178
 
@@ -25808,6 +26689,10 @@ export namespace ListEventsResponse {
25808
26689
 
25809
26690
  id?: string;
25810
26691
 
26692
+ connection_id?: string | null;
26693
+
26694
+ connector_name?: string | null;
26695
+
25811
26696
  customer_id?: string | null;
25812
26697
 
25813
26698
  org_id?: string | null;
@@ -25821,6 +26706,8 @@ export namespace ListEventsResponse {
25821
26706
  user_id?: string | null;
25822
26707
 
25823
26708
  v?: string | null;
26709
+
26710
+ webhook_name?: string | null;
25824
26711
  }
25825
26712
 
25826
26713
  export interface UnionMember1 {
@@ -25830,6 +26717,10 @@ export namespace ListEventsResponse {
25830
26717
 
25831
26718
  id?: string;
25832
26719
 
26720
+ connection_id?: string | null;
26721
+
26722
+ connector_name?: string | null;
26723
+
25833
26724
  customer_id?: string | null;
25834
26725
 
25835
26726
  org_id?: string | null;
@@ -25843,10 +26734,21 @@ export namespace ListEventsResponse {
25843
26734
  user_id?: string | null;
25844
26735
 
25845
26736
  v?: string | null;
26737
+
26738
+ webhook_name?: string | null;
25846
26739
  }
25847
26740
 
25848
26741
  export namespace UnionMember1 {
25849
26742
  export interface Data {
26743
+ /**
26744
+ * Must start with 'conn\_'
26745
+ */
26746
+ connection_id: string;
26747
+
26748
+ event_model: string;
26749
+
26750
+ event_name: string;
26751
+
25850
26752
  headers: { [key: string]: unknown };
25851
26753
 
25852
26754
  payload: { [key: string]: unknown };
@@ -25862,6 +26764,10 @@ export namespace ListEventsResponse {
25862
26764
 
25863
26765
  id?: string;
25864
26766
 
26767
+ connection_id?: string | null;
26768
+
26769
+ connector_name?: string | null;
26770
+
25865
26771
  customer_id?: string | null;
25866
26772
 
25867
26773
  org_id?: string | null;
@@ -25875,6 +26781,8 @@ export namespace ListEventsResponse {
25875
26781
  user_id?: string | null;
25876
26782
 
25877
26783
  v?: string | null;
26784
+
26785
+ webhook_name?: string | null;
25878
26786
  }
25879
26787
 
25880
26788
  export interface UnionMember3 {
@@ -25884,6 +26792,10 @@ export namespace ListEventsResponse {
25884
26792
 
25885
26793
  id?: string;
25886
26794
 
26795
+ connection_id?: string | null;
26796
+
26797
+ connector_name?: string | null;
26798
+
25887
26799
  customer_id?: string | null;
25888
26800
 
25889
26801
  org_id?: string | null;
@@ -25897,6 +26809,8 @@ export namespace ListEventsResponse {
25897
26809
  user_id?: string | null;
25898
26810
 
25899
26811
  v?: string | null;
26812
+
26813
+ webhook_name?: string | null;
25900
26814
  }
25901
26815
 
25902
26816
  export interface UnionMember4 {
@@ -25906,6 +26820,10 @@ export namespace ListEventsResponse {
25906
26820
 
25907
26821
  id?: string;
25908
26822
 
26823
+ connection_id?: string | null;
26824
+
26825
+ connector_name?: string | null;
26826
+
25909
26827
  customer_id?: string | null;
25910
26828
 
25911
26829
  org_id?: string | null;
@@ -25919,6 +26837,8 @@ export namespace ListEventsResponse {
25919
26837
  user_id?: string | null;
25920
26838
 
25921
26839
  v?: string | null;
26840
+
26841
+ webhook_name?: string | null;
25922
26842
  }
25923
26843
 
25924
26844
  export namespace UnionMember4 {
@@ -25937,6 +26857,10 @@ export namespace ListEventsResponse {
25937
26857
 
25938
26858
  id?: string;
25939
26859
 
26860
+ connection_id?: string | null;
26861
+
26862
+ connector_name?: string | null;
26863
+
25940
26864
  customer_id?: string | null;
25941
26865
 
25942
26866
  org_id?: string | null;
@@ -25950,6 +26874,8 @@ export namespace ListEventsResponse {
25950
26874
  user_id?: string | null;
25951
26875
 
25952
26876
  v?: string | null;
26877
+
26878
+ webhook_name?: string | null;
25953
26879
  }
25954
26880
 
25955
26881
  export namespace UnionMember5 {
@@ -25968,6 +26894,10 @@ export namespace ListEventsResponse {
25968
26894
 
25969
26895
  id?: string;
25970
26896
 
26897
+ connection_id?: string | null;
26898
+
26899
+ connector_name?: string | null;
26900
+
25971
26901
  customer_id?: string | null;
25972
26902
 
25973
26903
  org_id?: string | null;
@@ -25981,6 +26911,8 @@ export namespace ListEventsResponse {
25981
26911
  user_id?: string | null;
25982
26912
 
25983
26913
  v?: string | null;
26914
+
26915
+ webhook_name?: string | null;
25984
26916
  }
25985
26917
 
25986
26918
  export interface UnionMember7 {
@@ -25990,6 +26922,10 @@ export namespace ListEventsResponse {
25990
26922
 
25991
26923
  id?: string;
25992
26924
 
26925
+ connection_id?: string | null;
26926
+
26927
+ connector_name?: string | null;
26928
+
25993
26929
  customer_id?: string | null;
25994
26930
 
25995
26931
  org_id?: string | null;
@@ -26003,6 +26939,8 @@ export namespace ListEventsResponse {
26003
26939
  user_id?: string | null;
26004
26940
 
26005
26941
  v?: string | null;
26942
+
26943
+ webhook_name?: string | null;
26006
26944
  }
26007
26945
 
26008
26946
  export interface UnionMember8 {
@@ -26012,6 +26950,10 @@ export namespace ListEventsResponse {
26012
26950
 
26013
26951
  id?: string;
26014
26952
 
26953
+ connection_id?: string | null;
26954
+
26955
+ connector_name?: string | null;
26956
+
26015
26957
  customer_id?: string | null;
26016
26958
 
26017
26959
  org_id?: string | null;
@@ -26025,6 +26967,8 @@ export namespace ListEventsResponse {
26025
26967
  user_id?: string | null;
26026
26968
 
26027
26969
  v?: string | null;
26970
+
26971
+ webhook_name?: string | null;
26028
26972
  }
26029
26973
 
26030
26974
  export namespace UnionMember8 {
@@ -26042,6 +26986,10 @@ export namespace ListEventsResponse {
26042
26986
 
26043
26987
  id?: string;
26044
26988
 
26989
+ connection_id?: string | null;
26990
+
26991
+ connector_name?: string | null;
26992
+
26045
26993
  customer_id?: string | null;
26046
26994
 
26047
26995
  org_id?: string | null;
@@ -26055,6 +27003,8 @@ export namespace ListEventsResponse {
26055
27003
  user_id?: string | null;
26056
27004
 
26057
27005
  v?: string | null;
27006
+
27007
+ webhook_name?: string | null;
26058
27008
  }
26059
27009
 
26060
27010
  export namespace UnionMember9 {
@@ -26072,6 +27022,10 @@ export namespace ListEventsResponse {
26072
27022
 
26073
27023
  id?: string;
26074
27024
 
27025
+ connection_id?: string | null;
27026
+
27027
+ connector_name?: string | null;
27028
+
26075
27029
  customer_id?: string | null;
26076
27030
 
26077
27031
  org_id?: string | null;
@@ -26085,6 +27039,8 @@ export namespace ListEventsResponse {
26085
27039
  user_id?: string | null;
26086
27040
 
26087
27041
  v?: string | null;
27042
+
27043
+ webhook_name?: string | null;
26088
27044
  }
26089
27045
 
26090
27046
  export namespace UnionMember10 {
@@ -26102,6 +27058,10 @@ export namespace ListEventsResponse {
26102
27058
 
26103
27059
  id?: string;
26104
27060
 
27061
+ connection_id?: string | null;
27062
+
27063
+ connector_name?: string | null;
27064
+
26105
27065
  customer_id?: string | null;
26106
27066
 
26107
27067
  org_id?: string | null;
@@ -26115,6 +27075,8 @@ export namespace ListEventsResponse {
26115
27075
  user_id?: string | null;
26116
27076
 
26117
27077
  v?: string | null;
27078
+
27079
+ webhook_name?: string | null;
26118
27080
  }
26119
27081
 
26120
27082
  export namespace UnionMember11 {
@@ -26132,6 +27094,10 @@ export namespace ListEventsResponse {
26132
27094
 
26133
27095
  id?: string;
26134
27096
 
27097
+ connection_id?: string | null;
27098
+
27099
+ connector_name?: string | null;
27100
+
26135
27101
  customer_id?: string | null;
26136
27102
 
26137
27103
  org_id?: string | null;
@@ -26145,6 +27111,8 @@ export namespace ListEventsResponse {
26145
27111
  user_id?: string | null;
26146
27112
 
26147
27113
  v?: string | null;
27114
+
27115
+ webhook_name?: string | null;
26148
27116
  }
26149
27117
 
26150
27118
  export interface UnionMember13 {
@@ -26154,6 +27122,10 @@ export namespace ListEventsResponse {
26154
27122
 
26155
27123
  id?: string;
26156
27124
 
27125
+ connection_id?: string | null;
27126
+
27127
+ connector_name?: string | null;
27128
+
26157
27129
  customer_id?: string | null;
26158
27130
 
26159
27131
  org_id?: string | null;
@@ -26167,6 +27139,8 @@ export namespace ListEventsResponse {
26167
27139
  user_id?: string | null;
26168
27140
 
26169
27141
  v?: string | null;
27142
+
27143
+ webhook_name?: string | null;
26170
27144
  }
26171
27145
 
26172
27146
  export namespace UnionMember13 {
@@ -26184,6 +27158,10 @@ export namespace ListEventsResponse {
26184
27158
 
26185
27159
  id?: string;
26186
27160
 
27161
+ connection_id?: string | null;
27162
+
27163
+ connector_name?: string | null;
27164
+
26187
27165
  customer_id?: string | null;
26188
27166
 
26189
27167
  org_id?: string | null;
@@ -26197,6 +27175,8 @@ export namespace ListEventsResponse {
26197
27175
  user_id?: string | null;
26198
27176
 
26199
27177
  v?: string | null;
27178
+
27179
+ webhook_name?: string | null;
26200
27180
  }
26201
27181
 
26202
27182
  export namespace UnionMember14 {
@@ -26217,6 +27197,10 @@ export namespace ListEventsResponse {
26217
27197
 
26218
27198
  id?: string;
26219
27199
 
27200
+ connection_id?: string | null;
27201
+
27202
+ connector_name?: string | null;
27203
+
26220
27204
  customer_id?: string | null;
26221
27205
 
26222
27206
  org_id?: string | null;
@@ -26230,6 +27214,8 @@ export namespace ListEventsResponse {
26230
27214
  user_id?: string | null;
26231
27215
 
26232
27216
  v?: string | null;
27217
+
27218
+ webhook_name?: string | null;
26233
27219
  }
26234
27220
 
26235
27221
  export namespace UnionMember15 {
@@ -26250,6 +27236,10 @@ export namespace ListEventsResponse {
26250
27236
 
26251
27237
  id?: string;
26252
27238
 
27239
+ connection_id?: string | null;
27240
+
27241
+ connector_name?: string | null;
27242
+
26253
27243
  customer_id?: string | null;
26254
27244
 
26255
27245
  org_id?: string | null;
@@ -26263,6 +27253,8 @@ export namespace ListEventsResponse {
26263
27253
  user_id?: string | null;
26264
27254
 
26265
27255
  v?: string | null;
27256
+
27257
+ webhook_name?: string | null;
26266
27258
  }
26267
27259
 
26268
27260
  export namespace UnionMember16 {
@@ -26287,6 +27279,10 @@ export namespace ListEventsResponse {
26287
27279
 
26288
27280
  id?: string;
26289
27281
 
27282
+ connection_id?: string | null;
27283
+
27284
+ connector_name?: string | null;
27285
+
26290
27286
  customer_id?: string | null;
26291
27287
 
26292
27288
  org_id?: string | null;
@@ -26300,6 +27296,8 @@ export namespace ListEventsResponse {
26300
27296
  user_id?: string | null;
26301
27297
 
26302
27298
  v?: string | null;
27299
+
27300
+ webhook_name?: string | null;
26303
27301
  }
26304
27302
 
26305
27303
  export interface UnionMember18 {
@@ -26309,6 +27307,10 @@ export namespace ListEventsResponse {
26309
27307
 
26310
27308
  id?: string;
26311
27309
 
27310
+ connection_id?: string | null;
27311
+
27312
+ connector_name?: string | null;
27313
+
26312
27314
  customer_id?: string | null;
26313
27315
 
26314
27316
  org_id?: string | null;
@@ -26322,6 +27324,8 @@ export namespace ListEventsResponse {
26322
27324
  user_id?: string | null;
26323
27325
 
26324
27326
  v?: string | null;
27327
+
27328
+ webhook_name?: string | null;
26325
27329
  }
26326
27330
 
26327
27331
  export interface UnionMember19 {
@@ -26331,6 +27335,10 @@ export namespace ListEventsResponse {
26331
27335
 
26332
27336
  id?: string;
26333
27337
 
27338
+ connection_id?: string | null;
27339
+
27340
+ connector_name?: string | null;
27341
+
26334
27342
  customer_id?: string | null;
26335
27343
 
26336
27344
  org_id?: string | null;
@@ -26344,6 +27352,8 @@ export namespace ListEventsResponse {
26344
27352
  user_id?: string | null;
26345
27353
 
26346
27354
  v?: string | null;
27355
+
27356
+ webhook_name?: string | null;
26347
27357
  }
26348
27358
 
26349
27359
  export interface UnionMember20 {
@@ -26353,6 +27363,10 @@ export namespace ListEventsResponse {
26353
27363
 
26354
27364
  id?: string;
26355
27365
 
27366
+ connection_id?: string | null;
27367
+
27368
+ connector_name?: string | null;
27369
+
26356
27370
  customer_id?: string | null;
26357
27371
 
26358
27372
  org_id?: string | null;
@@ -26366,6 +27380,8 @@ export namespace ListEventsResponse {
26366
27380
  user_id?: string | null;
26367
27381
 
26368
27382
  v?: string | null;
27383
+
27384
+ webhook_name?: string | null;
26369
27385
  }
26370
27386
 
26371
27387
  export namespace UnionMember20 {
@@ -26395,6 +27411,7 @@ export type PostConnectResponse =
26395
27411
  | PostConnectResponse.ConnectorFigmaDiscriminatedConnectionSettings
26396
27412
  | PostConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
26397
27413
  | PostConnectResponse.ConnectorGitHubDiscriminatedConnectionSettings
27414
+ | PostConnectResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
26398
27415
  | PostConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
26399
27416
  | PostConnectResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
26400
27417
  | PostConnectResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -26419,6 +27436,7 @@ export type PostConnectResponse =
26419
27436
  | PostConnectResponse.ConnectorZendeskDiscriminatedConnectionSettings
26420
27437
  | PostConnectResponse.ConnectorZoomDiscriminatedConnectionSettings
26421
27438
  | PostConnectResponse.ConnectorApolloDiscriminatedConnectionSettings
27439
+ | PostConnectResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
26422
27440
  | PostConnectResponse.ConnectorPlaidDiscriminatedConnectionSettings
26423
27441
  | PostConnectResponse.ConnectorPostgresDiscriminatedConnectionSettings
26424
27442
  | PostConnectResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -27989,8 +29007,8 @@ export namespace PostConnectResponse {
27989
29007
  }
27990
29008
  }
27991
29009
 
27992
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
27993
- connector_name: 'google-calendar';
29010
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
29011
+ connector_name: 'gitlab-source-control';
27994
29012
 
27995
29013
  id?: string;
27996
29014
 
@@ -28015,7 +29033,7 @@ export namespace PostConnectResponse {
28015
29033
  */
28016
29034
  metadata?: { [key: string]: unknown } | null;
28017
29035
 
28018
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
29036
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
28019
29037
 
28020
29038
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
28021
29039
 
@@ -28030,7 +29048,7 @@ export namespace PostConnectResponse {
28030
29048
  webhook_identifier?: string | null;
28031
29049
  }
28032
29050
 
28033
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
29051
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
28034
29052
  export interface Settings {
28035
29053
  oauth: Settings.OAuth;
28036
29054
 
@@ -28085,8 +29103,8 @@ export namespace PostConnectResponse {
28085
29103
  }
28086
29104
  }
28087
29105
 
28088
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
28089
- connector_name: 'google-docs';
29106
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
29107
+ connector_name: 'google-calendar';
28090
29108
 
28091
29109
  id?: string;
28092
29110
 
@@ -28111,7 +29129,7 @@ export namespace PostConnectResponse {
28111
29129
  */
28112
29130
  metadata?: { [key: string]: unknown } | null;
28113
29131
 
28114
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
29132
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
28115
29133
 
28116
29134
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
28117
29135
 
@@ -28126,7 +29144,7 @@ export namespace PostConnectResponse {
28126
29144
  webhook_identifier?: string | null;
28127
29145
  }
28128
29146
 
28129
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
29147
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
28130
29148
  export interface Settings {
28131
29149
  oauth: Settings.OAuth;
28132
29150
 
@@ -28181,8 +29199,8 @@ export namespace PostConnectResponse {
28181
29199
  }
28182
29200
  }
28183
29201
 
28184
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
28185
- connector_name: 'google-drive';
29202
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
29203
+ connector_name: 'google-docs';
28186
29204
 
28187
29205
  id?: string;
28188
29206
 
@@ -28207,7 +29225,7 @@ export namespace PostConnectResponse {
28207
29225
  */
28208
29226
  metadata?: { [key: string]: unknown } | null;
28209
29227
 
28210
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
29228
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
28211
29229
 
28212
29230
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
28213
29231
 
@@ -28222,7 +29240,103 @@ export namespace PostConnectResponse {
28222
29240
  webhook_identifier?: string | null;
28223
29241
  }
28224
29242
 
28225
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
29243
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
29244
+ export interface Settings {
29245
+ oauth: Settings.OAuth;
29246
+
29247
+ /**
29248
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
29249
+ * for backward compatibility until we remove the oauth field
29250
+ */
29251
+ access_token?: string;
29252
+ }
29253
+
29254
+ export namespace Settings {
29255
+ export interface OAuth {
29256
+ created_at?: string;
29257
+
29258
+ /**
29259
+ * Output of the postConnect hook for oauth2 connectors
29260
+ */
29261
+ credentials?: OAuth.Credentials;
29262
+
29263
+ last_fetched_at?: string;
29264
+
29265
+ metadata?: { [key: string]: unknown } | null;
29266
+
29267
+ updated_at?: string;
29268
+ }
29269
+
29270
+ export namespace OAuth {
29271
+ /**
29272
+ * Output of the postConnect hook for oauth2 connectors
29273
+ */
29274
+ export interface Credentials {
29275
+ access_token: string;
29276
+
29277
+ /**
29278
+ * Client ID used for the connection
29279
+ */
29280
+ client_id?: string;
29281
+
29282
+ expires_at?: string;
29283
+
29284
+ expires_in?: number;
29285
+
29286
+ raw?: { [key: string]: unknown };
29287
+
29288
+ refresh_token?: string;
29289
+
29290
+ scope?: string;
29291
+
29292
+ token_type?: string;
29293
+ }
29294
+ }
29295
+ }
29296
+ }
29297
+
29298
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
29299
+ connector_name: 'google-drive';
29300
+
29301
+ id?: string;
29302
+
29303
+ connector_config_id?: string | null;
29304
+
29305
+ created_at?: string;
29306
+
29307
+ customer_id?: string | null;
29308
+
29309
+ disabled?: boolean | null;
29310
+
29311
+ display_name?: string | null;
29312
+
29313
+ environment?: 'production' | 'development';
29314
+
29315
+ integration_id?: string | null;
29316
+
29317
+ /**
29318
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
29319
+ * separate 1-1 table just for simple key values in your application. During
29320
+ * updates this object will be shallowly merged
29321
+ */
29322
+ metadata?: { [key: string]: unknown } | null;
29323
+
29324
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
29325
+
29326
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
29327
+
29328
+ status_message?: string | null;
29329
+
29330
+ updated_at?: string;
29331
+
29332
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29333
+
29334
+ webhook_configured_at?: string | null;
29335
+
29336
+ webhook_identifier?: string | null;
29337
+ }
29338
+
29339
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
28226
29340
  export interface Settings {
28227
29341
  oauth: Settings.OAuth;
28228
29342
 
@@ -30265,6 +31379,75 @@ export namespace PostConnectResponse {
30265
31379
  }
30266
31380
  }
30267
31381
 
31382
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
31383
+ connector_name: 'custom-mcp';
31384
+
31385
+ id?: string;
31386
+
31387
+ connector_config_id?: string | null;
31388
+
31389
+ created_at?: string;
31390
+
31391
+ customer_id?: string | null;
31392
+
31393
+ disabled?: boolean | null;
31394
+
31395
+ display_name?: string | null;
31396
+
31397
+ environment?: 'production' | 'development';
31398
+
31399
+ integration_id?: string | null;
31400
+
31401
+ /**
31402
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
31403
+ * separate 1-1 table just for simple key values in your application. During
31404
+ * updates this object will be shallowly merged
31405
+ */
31406
+ metadata?: { [key: string]: unknown } | null;
31407
+
31408
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
31409
+
31410
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
31411
+
31412
+ status_message?: string | null;
31413
+
31414
+ updated_at?: string;
31415
+
31416
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
31417
+
31418
+ webhook_configured_at?: string | null;
31419
+
31420
+ webhook_identifier?: string | null;
31421
+ }
31422
+
31423
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
31424
+ export interface Settings {
31425
+ /**
31426
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
31427
+ */
31428
+ base_url: string;
31429
+
31430
+ /**
31431
+ * Custom headers to include with every request
31432
+ */
31433
+ headers: Array<Settings.Header>;
31434
+ }
31435
+
31436
+ export namespace Settings {
31437
+ export interface Header {
31438
+ /**
31439
+ * Header name (e.g., Authorization, X-API-Key)
31440
+ */
31441
+ key: string;
31442
+
31443
+ /**
31444
+ * Header value (securely stored)
31445
+ */
31446
+ value: string;
31447
+ }
31448
+ }
31449
+ }
31450
+
30268
31451
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
30269
31452
  connector_name: 'plaid';
30270
31453
 
@@ -31031,6 +32214,7 @@ export type PreConnectResponse =
31031
32214
  | PreConnectResponse.ConnectorFigmaDiscriminatedConnectInput
31032
32215
  | PreConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectInput
31033
32216
  | PreConnectResponse.ConnectorGitHubDiscriminatedConnectInput
32217
+ | PreConnectResponse.ConnectorGitlabSourceControlDiscriminatedConnectInput
31034
32218
  | PreConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectInput
31035
32219
  | PreConnectResponse.ConnectorGoogleDocsDiscriminatedConnectInput
31036
32220
  | PreConnectResponse.ConnectorGoogleDriveDiscriminatedConnectInput
@@ -31055,6 +32239,7 @@ export type PreConnectResponse =
31055
32239
  | PreConnectResponse.ConnectorZendeskDiscriminatedConnectInput
31056
32240
  | PreConnectResponse.ConnectorZoomDiscriminatedConnectInput
31057
32241
  | PreConnectResponse.ConnectorApolloDiscriminatedConnectInput
32242
+ | PreConnectResponse.ConnectorCustomMcpDiscriminatedConnectInput
31058
32243
  | PreConnectResponse.ConnectorPlaidDiscriminatedConnectInput
31059
32244
  | PreConnectResponse.ConnectorPostgresDiscriminatedConnectInput
31060
32245
  | PreConnectResponse.ConnectorResendDiscriminatedConnectInput
@@ -31379,6 +32564,26 @@ export namespace PreConnectResponse {
31379
32564
  }
31380
32565
  }
31381
32566
 
32567
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectInput {
32568
+ connect_input: ConnectorGitlabSourceControlDiscriminatedConnectInput.ConnectInput;
32569
+
32570
+ connector_name: 'gitlab-source-control';
32571
+ }
32572
+
32573
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectInput {
32574
+ export interface ConnectInput {
32575
+ /**
32576
+ * URL to take user to for approval
32577
+ */
32578
+ authorization_url: string;
32579
+
32580
+ /**
32581
+ * Code verifier for PKCE
32582
+ */
32583
+ code_verifier?: string;
32584
+ }
32585
+ }
32586
+
31382
32587
  export interface ConnectorGoogleCalendarDiscriminatedConnectInput {
31383
32588
  connect_input: ConnectorGoogleCalendarDiscriminatedConnectInput.ConnectInput;
31384
32589
 
@@ -31845,6 +33050,40 @@ export namespace PreConnectResponse {
31845
33050
  connector_name: 'apollo';
31846
33051
  }
31847
33052
 
33053
+ export interface ConnectorCustomMcpDiscriminatedConnectInput {
33054
+ connect_input: ConnectorCustomMcpDiscriminatedConnectInput.ConnectInput;
33055
+
33056
+ connector_name: 'custom-mcp';
33057
+ }
33058
+
33059
+ export namespace ConnectorCustomMcpDiscriminatedConnectInput {
33060
+ export interface ConnectInput {
33061
+ /**
33062
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
33063
+ */
33064
+ base_url: string;
33065
+
33066
+ /**
33067
+ * Custom headers to include with every request
33068
+ */
33069
+ headers: Array<ConnectInput.Header>;
33070
+ }
33071
+
33072
+ export namespace ConnectInput {
33073
+ export interface Header {
33074
+ /**
33075
+ * Header name (e.g., Authorization, X-API-Key)
33076
+ */
33077
+ key: string;
33078
+
33079
+ /**
33080
+ * Header value (securely stored)
33081
+ */
33082
+ value: string;
33083
+ }
33084
+ }
33085
+ }
33086
+
31848
33087
  export interface ConnectorPlaidDiscriminatedConnectInput {
31849
33088
  connect_input:
31850
33089
  | ConnectorPlaidDiscriminatedConnectInput.LinkToken
@@ -32017,6 +33256,7 @@ export type UpsertConnnectorConfigResponse =
32017
33256
  | UpsertConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
32018
33257
  | UpsertConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
32019
33258
  | UpsertConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
33259
+ | UpsertConnnectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
32020
33260
  | UpsertConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
32021
33261
  | UpsertConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
32022
33262
  | UpsertConnnectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -32041,6 +33281,7 @@ export type UpsertConnnectorConfigResponse =
32041
33281
  | UpsertConnnectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
32042
33282
  | UpsertConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
32043
33283
  | UpsertConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
33284
+ | UpsertConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
32044
33285
  | UpsertConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
32045
33286
  | UpsertConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
32046
33287
  | UpsertConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -32889,6 +34130,58 @@ export namespace UpsertConnnectorConfigResponse {
32889
34130
  }
32890
34131
  }
32891
34132
 
34133
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
34134
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
34135
+
34136
+ connector_name: 'gitlab-source-control';
34137
+
34138
+ id?: string;
34139
+
34140
+ created_at?: string;
34141
+
34142
+ disabled?: boolean | null;
34143
+
34144
+ display_name?: string | null;
34145
+
34146
+ /**
34147
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
34148
+ * separate 1-1 table just for simple key values in your application. During
34149
+ * updates this object will be shallowly merged
34150
+ */
34151
+ metadata?: { [key: string]: unknown } | null;
34152
+
34153
+ org_id?: string;
34154
+
34155
+ updated_at?: string;
34156
+ }
34157
+
34158
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
34159
+ export interface Config {
34160
+ /**
34161
+ * Base oauth configuration for the connector
34162
+ */
34163
+ oauth?: Config.OAuth | null;
34164
+ }
34165
+
34166
+ export namespace Config {
34167
+ /**
34168
+ * Base oauth configuration for the connector
34169
+ */
34170
+ export interface OAuth {
34171
+ client_id?: string | null;
34172
+
34173
+ client_secret?: string | null;
34174
+
34175
+ /**
34176
+ * Custom redirect URI
34177
+ */
34178
+ redirect_uri?: string | null;
34179
+
34180
+ scopes?: Array<string> | null;
34181
+ }
34182
+ }
34183
+ }
34184
+
32892
34185
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
32893
34186
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
32894
34187
 
@@ -34110,6 +35403,31 @@ export namespace UpsertConnnectorConfigResponse {
34110
35403
  updated_at?: string;
34111
35404
  }
34112
35405
 
35406
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
35407
+ config: unknown;
35408
+
35409
+ connector_name: 'custom-mcp';
35410
+
35411
+ id?: string;
35412
+
35413
+ created_at?: string;
35414
+
35415
+ disabled?: boolean | null;
35416
+
35417
+ display_name?: string | null;
35418
+
35419
+ /**
35420
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
35421
+ * separate 1-1 table just for simple key values in your application. During
35422
+ * updates this object will be shallowly merged
35423
+ */
35424
+ metadata?: { [key: string]: unknown } | null;
35425
+
35426
+ org_id?: string;
35427
+
35428
+ updated_at?: string;
35429
+ }
35430
+
34113
35431
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
34114
35432
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
34115
35433
 
@@ -34589,6 +35907,7 @@ export interface CreateConnectionParams {
34589
35907
  | CreateConnectionParams.ConnectorFigmaDiscriminatedConnectionSettings
34590
35908
  | CreateConnectionParams.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
34591
35909
  | CreateConnectionParams.ConnectorGitHubDiscriminatedConnectionSettings
35910
+ | CreateConnectionParams.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
34592
35911
  | CreateConnectionParams.ConnectorGoogleCalendarDiscriminatedConnectionSettings
34593
35912
  | CreateConnectionParams.ConnectorGoogleDocsDiscriminatedConnectionSettings
34594
35913
  | CreateConnectionParams.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -34613,6 +35932,7 @@ export interface CreateConnectionParams {
34613
35932
  | CreateConnectionParams.ConnectorZendeskDiscriminatedConnectionSettings
34614
35933
  | CreateConnectionParams.ConnectorZoomDiscriminatedConnectionSettings
34615
35934
  | CreateConnectionParams.ConnectorApolloDiscriminatedConnectionSettings
35935
+ | CreateConnectionParams.ConnectorCustomMcpDiscriminatedConnectionSettings
34616
35936
  | CreateConnectionParams.ConnectorPlaidDiscriminatedConnectionSettings
34617
35937
  | CreateConnectionParams.ConnectorPostgresDiscriminatedConnectionSettings
34618
35938
  | CreateConnectionParams.ConnectorResendDiscriminatedConnectionSettings
@@ -34635,6 +35955,11 @@ export interface CreateConnectionParams {
34635
35955
  */
34636
35956
  customer_id?: string;
34637
35957
 
35958
+ /**
35959
+ * Custom display name for the connection
35960
+ */
35961
+ display_name?: string;
35962
+
34638
35963
  /**
34639
35964
  * Environment for the connection
34640
35965
  */
@@ -35607,6 +36932,67 @@ export namespace CreateConnectionParams {
35607
36932
  }
35608
36933
  }
35609
36934
 
36935
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
36936
+ connector_name: 'gitlab-source-control';
36937
+
36938
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
36939
+ }
36940
+
36941
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
36942
+ export interface Settings {
36943
+ oauth: Settings.OAuth;
36944
+
36945
+ /**
36946
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
36947
+ * for backward compatibility until we remove the oauth field
36948
+ */
36949
+ access_token?: string;
36950
+ }
36951
+
36952
+ export namespace Settings {
36953
+ export interface OAuth {
36954
+ created_at?: string;
36955
+
36956
+ /**
36957
+ * Output of the postConnect hook for oauth2 connectors
36958
+ */
36959
+ credentials?: OAuth.Credentials;
36960
+
36961
+ last_fetched_at?: string;
36962
+
36963
+ metadata?: { [key: string]: unknown } | null;
36964
+
36965
+ updated_at?: string;
36966
+ }
36967
+
36968
+ export namespace OAuth {
36969
+ /**
36970
+ * Output of the postConnect hook for oauth2 connectors
36971
+ */
36972
+ export interface Credentials {
36973
+ access_token: string;
36974
+
36975
+ /**
36976
+ * Client ID used for the connection
36977
+ */
36978
+ client_id?: string;
36979
+
36980
+ expires_at?: string;
36981
+
36982
+ expires_in?: number;
36983
+
36984
+ raw?: { [key: string]: unknown };
36985
+
36986
+ refresh_token?: string;
36987
+
36988
+ scope?: string;
36989
+
36990
+ token_type?: string;
36991
+ }
36992
+ }
36993
+ }
36994
+ }
36995
+
35610
36996
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
35611
36997
  connector_name: 'google-calendar';
35612
36998
 
@@ -37043,6 +38429,40 @@ export namespace CreateConnectionParams {
37043
38429
  }
37044
38430
  }
37045
38431
 
38432
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
38433
+ connector_name: 'custom-mcp';
38434
+
38435
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
38436
+ }
38437
+
38438
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
38439
+ export interface Settings {
38440
+ /**
38441
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
38442
+ */
38443
+ base_url: string;
38444
+
38445
+ /**
38446
+ * Custom headers to include with every request
38447
+ */
38448
+ headers: Array<Settings.Header>;
38449
+ }
38450
+
38451
+ export namespace Settings {
38452
+ export interface Header {
38453
+ /**
38454
+ * Header name (e.g., Authorization, X-API-Key)
38455
+ */
38456
+ key: string;
38457
+
38458
+ /**
38459
+ * Header value (securely stored)
38460
+ */
38461
+ value: string;
38462
+ }
38463
+ }
38464
+ }
38465
+
37046
38466
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
37047
38467
  connector_name: 'plaid';
37048
38468
 
@@ -37481,12 +38901,14 @@ export namespace CreateTokenParams {
37481
38901
  | 'calendly'
37482
38902
  | 'clickup'
37483
38903
  | 'confluence'
38904
+ | 'custom-mcp'
37484
38905
  | 'databricks'
37485
38906
  | 'discord'
37486
38907
  | 'dropbox'
37487
38908
  | 'figma'
37488
38909
  | 'github'
37489
38910
  | 'github-source-control'
38911
+ | 'gitlab-source-control'
37490
38912
  | 'google-calendar'
37491
38913
  | 'google-docs'
37492
38914
  | 'google-drive'
@@ -37538,12 +38960,14 @@ export namespace CreateTokenParams {
37538
38960
  | 'calendly'
37539
38961
  | 'clickup'
37540
38962
  | 'confluence'
38963
+ | 'custom-mcp'
37541
38964
  | 'databricks'
37542
38965
  | 'discord'
37543
38966
  | 'dropbox'
37544
38967
  | 'figma'
37545
38968
  | 'github'
37546
38969
  | 'github-source-control'
38970
+ | 'gitlab-source-control'
37547
38971
  | 'google-calendar'
37548
38972
  | 'google-docs'
37549
38973
  | 'google-drive'
@@ -37660,12 +39084,14 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
37660
39084
  | 'calendly'
37661
39085
  | 'clickup'
37662
39086
  | 'confluence'
39087
+ | 'custom-mcp'
37663
39088
  | 'databricks'
37664
39089
  | 'discord'
37665
39090
  | 'dropbox'
37666
39091
  | 'figma'
37667
39092
  | 'github'
37668
39093
  | 'github-source-control'
39094
+ | 'gitlab-source-control'
37669
39095
  | 'google-calendar'
37670
39096
  | 'google-docs'
37671
39097
  | 'google-drive'
@@ -37746,12 +39172,14 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
37746
39172
  | 'calendly'
37747
39173
  | 'clickup'
37748
39174
  | 'confluence'
39175
+ | 'custom-mcp'
37749
39176
  | 'databricks'
37750
39177
  | 'discord'
37751
39178
  | 'dropbox'
37752
39179
  | 'figma'
37753
39180
  | 'github'
37754
39181
  | 'github-source-control'
39182
+ | 'gitlab-source-control'
37755
39183
  | 'google-calendar'
37756
39184
  | 'google-docs'
37757
39185
  | 'google-drive'
@@ -37828,12 +39256,14 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
37828
39256
  | 'calendly'
37829
39257
  | 'clickup'
37830
39258
  | 'confluence'
39259
+ | 'custom-mcp'
37831
39260
  | 'databricks'
37832
39261
  | 'discord'
37833
39262
  | 'dropbox'
37834
39263
  | 'figma'
37835
39264
  | 'github'
37836
39265
  | 'github-source-control'
39266
+ | 'gitlab-source-control'
37837
39267
  | 'google-calendar'
37838
39268
  | 'google-docs'
37839
39269
  | 'google-drive'
@@ -37895,6 +39325,10 @@ export interface ListCustomersParams extends OffsetPaginationParams {
37895
39325
  }
37896
39326
 
37897
39327
  export interface ListEventsParams extends OffsetPaginationParams {
39328
+ connection_id?: string;
39329
+
39330
+ connector_name?: string;
39331
+
37898
39332
  include_prompt?: boolean;
37899
39333
 
37900
39334
  /**
@@ -37905,6 +39339,8 @@ export interface ListEventsParams extends OffsetPaginationParams {
37905
39339
  search_query?: string;
37906
39340
 
37907
39341
  since?: string;
39342
+
39343
+ webhook_name?: string;
37908
39344
  }
37909
39345
 
37910
39346
  export interface PostConnectParams {
@@ -37933,6 +39369,7 @@ export interface PostConnectParams {
37933
39369
  | PostConnectParams.ConnectorFigmaDiscriminatedConnectOutput
37934
39370
  | PostConnectParams.ConnectorGitHubSourceControlDiscriminatedConnectOutput
37935
39371
  | PostConnectParams.ConnectorGitHubDiscriminatedConnectOutput
39372
+ | PostConnectParams.ConnectorGitlabSourceControlDiscriminatedConnectOutput
37936
39373
  | PostConnectParams.ConnectorGoogleCalendarDiscriminatedConnectOutput
37937
39374
  | PostConnectParams.ConnectorGoogleDocsDiscriminatedConnectOutput
37938
39375
  | PostConnectParams.ConnectorGoogleDriveDiscriminatedConnectOutput
@@ -37957,6 +39394,7 @@ export interface PostConnectParams {
37957
39394
  | PostConnectParams.ConnectorZendeskDiscriminatedConnectOutput
37958
39395
  | PostConnectParams.ConnectorZoomDiscriminatedConnectOutput
37959
39396
  | PostConnectParams.ConnectorApolloDiscriminatedConnectOutput
39397
+ | PostConnectParams.ConnectorCustomMcpDiscriminatedConnectOutput
37960
39398
  | PostConnectParams.ConnectorPlaidDiscriminatedConnectOutput
37961
39399
  | PostConnectParams.ConnectorPostgresDiscriminatedConnectOutput
37962
39400
  | PostConnectParams.ConnectorResendDiscriminatedConnectOutput
@@ -38521,6 +39959,41 @@ export namespace PostConnectParams {
38521
39959
  }
38522
39960
  }
38523
39961
 
39962
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectOutput {
39963
+ connect_output: ConnectorGitlabSourceControlDiscriminatedConnectOutput.ConnectOutput;
39964
+
39965
+ connector_name: 'gitlab-source-control';
39966
+ }
39967
+
39968
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectOutput {
39969
+ export interface ConnectOutput {
39970
+ /**
39971
+ * OAuth2 authorization code used for token exchange
39972
+ */
39973
+ code: string;
39974
+
39975
+ /**
39976
+ * OAuth2 state
39977
+ */
39978
+ state: string;
39979
+
39980
+ /**
39981
+ * Custom client ID to use for token exchange
39982
+ */
39983
+ client_id?: string;
39984
+
39985
+ /**
39986
+ * Custom client secret to use for token exchange
39987
+ */
39988
+ client_secret?: string;
39989
+
39990
+ /**
39991
+ * Code verifier for PKCE from the connect input
39992
+ */
39993
+ code_verifier?: string;
39994
+ }
39995
+ }
39996
+
38524
39997
  export interface ConnectorGoogleCalendarDiscriminatedConnectOutput {
38525
39998
  connect_output: ConnectorGoogleCalendarDiscriminatedConnectOutput.ConnectOutput;
38526
39999
 
@@ -39338,6 +40811,40 @@ export namespace PostConnectParams {
39338
40811
  }
39339
40812
  }
39340
40813
 
40814
+ export interface ConnectorCustomMcpDiscriminatedConnectOutput {
40815
+ connect_output: ConnectorCustomMcpDiscriminatedConnectOutput.ConnectOutput;
40816
+
40817
+ connector_name: 'custom-mcp';
40818
+ }
40819
+
40820
+ export namespace ConnectorCustomMcpDiscriminatedConnectOutput {
40821
+ export interface ConnectOutput {
40822
+ /**
40823
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
40824
+ */
40825
+ base_url: string;
40826
+
40827
+ /**
40828
+ * Custom headers to include with every request
40829
+ */
40830
+ headers?: Array<ConnectOutput.Header>;
40831
+ }
40832
+
40833
+ export namespace ConnectOutput {
40834
+ export interface Header {
40835
+ /**
40836
+ * Header name (e.g., Authorization, X-API-Key)
40837
+ */
40838
+ key: string;
40839
+
40840
+ /**
40841
+ * Header value (securely stored)
40842
+ */
40843
+ value: string;
40844
+ }
40845
+ }
40846
+ }
40847
+
39341
40848
  export interface ConnectorPlaidDiscriminatedConnectOutput {
39342
40849
  connect_output: ConnectorPlaidDiscriminatedConnectOutput.ConnectOutput;
39343
40850
 
@@ -39633,12 +41140,14 @@ export interface PreConfigureConnectorParams {
39633
41140
  | 'calendly'
39634
41141
  | 'clickup'
39635
41142
  | 'confluence'
41143
+ | 'custom-mcp'
39636
41144
  | 'databricks'
39637
41145
  | 'discord'
39638
41146
  | 'dropbox'
39639
41147
  | 'figma'
39640
41148
  | 'github'
39641
41149
  | 'github-source-control'
41150
+ | 'gitlab-source-control'
39642
41151
  | 'google-calendar'
39643
41152
  | 'google-docs'
39644
41153
  | 'google-drive'
@@ -39700,6 +41209,7 @@ export interface PreConnectParams {
39700
41209
  | PreConnectParams.ConnectorFigmaDiscriminatedPreConnectInput
39701
41210
  | PreConnectParams.ConnectorGitHubSourceControlDiscriminatedPreConnectInput
39702
41211
  | PreConnectParams.ConnectorGitHubDiscriminatedPreConnectInput
41212
+ | PreConnectParams.ConnectorGitlabSourceControlDiscriminatedPreConnectInput
39703
41213
  | PreConnectParams.ConnectorGoogleCalendarDiscriminatedPreConnectInput
39704
41214
  | PreConnectParams.ConnectorGoogleDocsDiscriminatedPreConnectInput
39705
41215
  | PreConnectParams.ConnectorGoogleDriveDiscriminatedPreConnectInput
@@ -39724,6 +41234,7 @@ export interface PreConnectParams {
39724
41234
  | PreConnectParams.ConnectorZendeskDiscriminatedPreConnectInput
39725
41235
  | PreConnectParams.ConnectorZoomDiscriminatedPreConnectInput
39726
41236
  | PreConnectParams.ConnectorApolloDiscriminatedPreConnectInput
41237
+ | PreConnectParams.ConnectorCustomMcpDiscriminatedPreConnectInput
39727
41238
  | PreConnectParams.ConnectorPlaidDiscriminatedPreConnectInput
39728
41239
  | PreConnectParams.ConnectorPostgresDiscriminatedPreConnectInput
39729
41240
  | PreConnectParams.ConnectorResendDiscriminatedPreConnectInput
@@ -39878,6 +41389,12 @@ export namespace PreConnectParams {
39878
41389
  pre_connect_input: unknown;
39879
41390
  }
39880
41391
 
41392
+ export interface ConnectorGitlabSourceControlDiscriminatedPreConnectInput {
41393
+ connector_name: 'gitlab-source-control';
41394
+
41395
+ pre_connect_input: unknown;
41396
+ }
41397
+
39881
41398
  export interface ConnectorGoogleCalendarDiscriminatedPreConnectInput {
39882
41399
  connector_name: 'google-calendar';
39883
41400
 
@@ -40052,6 +41569,12 @@ export namespace PreConnectParams {
40052
41569
  pre_connect_input: unknown;
40053
41570
  }
40054
41571
 
41572
+ export interface ConnectorCustomMcpDiscriminatedPreConnectInput {
41573
+ connector_name: 'custom-mcp';
41574
+
41575
+ pre_connect_input: unknown;
41576
+ }
41577
+
40055
41578
  export interface ConnectorPlaidDiscriminatedPreConnectInput {
40056
41579
  connector_name: 'plaid';
40057
41580