@replit/connectors 0.11.0 → 0.12.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.
@@ -91,6 +91,7 @@ export interface Integration {
91
91
  | 'confluence'
92
92
  | 'custom-mcp'
93
93
  | 'databricks'
94
+ | 'databricks-m2m'
94
95
  | 'discord'
95
96
  | 'dropbox'
96
97
  | 'figma'
@@ -232,6 +233,7 @@ export type CreateConnectionResponse =
232
233
  | CreateConnectionResponse.ConnectorZoomDiscriminatedConnectionData
233
234
  | CreateConnectionResponse.ConnectorApolloDiscriminatedConnectionData
234
235
  | CreateConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionData
236
+ | CreateConnectionResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
235
237
  | CreateConnectionResponse.ConnectorPlaidDiscriminatedConnectionData
236
238
  | CreateConnectionResponse.ConnectorPostgresDiscriminatedConnectionData
237
239
  | CreateConnectionResponse.ConnectorResendDiscriminatedConnectionData
@@ -5307,6 +5309,91 @@ export namespace CreateConnectionResponse {
5307
5309
  }
5308
5310
  }
5309
5311
 
5312
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
5313
+ connector_name: 'databricks-m2m';
5314
+
5315
+ id?: string;
5316
+
5317
+ connector?: TopLevelAPI.Connector;
5318
+
5319
+ connector_config_id?: string | null;
5320
+
5321
+ created_at?: string;
5322
+
5323
+ customer_id?: string | null;
5324
+
5325
+ disabled?: boolean | null;
5326
+
5327
+ display_name?: string | null;
5328
+
5329
+ environment?: 'production' | 'development';
5330
+
5331
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
5332
+
5333
+ integration?: TopLevelAPI.Integration;
5334
+
5335
+ integration_id?: string | null;
5336
+
5337
+ /**
5338
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
5339
+ * separate 1-1 table just for simple key values in your application. During
5340
+ * updates this object will be shallowly merged
5341
+ */
5342
+ metadata?: { [key: string]: unknown } | null;
5343
+
5344
+ public_settings?: unknown;
5345
+
5346
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
5347
+
5348
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
5349
+
5350
+ status_message?: string | null;
5351
+
5352
+ updated_at?: string;
5353
+
5354
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
5355
+
5356
+ webhook_configured_at?: string | null;
5357
+
5358
+ webhook_identifier?: string | null;
5359
+ }
5360
+
5361
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
5362
+ export interface HealthCheckResult {
5363
+ checked_at: string;
5364
+
5365
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
5366
+ }
5367
+
5368
+ export namespace HealthCheckResult {
5369
+ export interface FieldValidations {
5370
+ status: 'valid' | 'invalid';
5371
+
5372
+ error?: string;
5373
+ }
5374
+ }
5375
+
5376
+ export interface Settings {
5377
+ /**
5378
+ * Access token for Databricks API
5379
+ */
5380
+ access_token: string;
5381
+
5382
+ /**
5383
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
5384
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
5385
+ */
5386
+ http_path: string;
5387
+
5388
+ /**
5389
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
5390
+ * warehouse in Databricks and click the "Connection details" button. Copy the
5391
+ * Server hostname value.
5392
+ */
5393
+ server_hostname: string;
5394
+ }
5395
+ }
5396
+
5310
5397
  export interface ConnectorPlaidDiscriminatedConnectionData {
5311
5398
  connector_name: 'plaid';
5312
5399
 
@@ -6330,6 +6417,7 @@ export type CreateConnnectorConfigResponse =
6330
6417
  | CreateConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
6331
6418
  | CreateConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
6332
6419
  | CreateConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
6420
+ | CreateConnnectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
6333
6421
  | CreateConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
6334
6422
  | CreateConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
6335
6423
  | CreateConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -8528,6 +8616,45 @@ export namespace CreateConnnectorConfigResponse {
8528
8616
  updated_at?: string;
8529
8617
  }
8530
8618
 
8619
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8620
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
8621
+
8622
+ connector_name: 'databricks-m2m';
8623
+
8624
+ id?: string;
8625
+
8626
+ created_at?: string;
8627
+
8628
+ disabled?: boolean | null;
8629
+
8630
+ display_name?: string | null;
8631
+
8632
+ /**
8633
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
8634
+ * separate 1-1 table just for simple key values in your application. During
8635
+ * updates this object will be shallowly merged
8636
+ */
8637
+ metadata?: { [key: string]: unknown } | null;
8638
+
8639
+ org_id?: string;
8640
+
8641
+ updated_at?: string;
8642
+ }
8643
+
8644
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8645
+ export interface Config {
8646
+ /**
8647
+ * OAuth2 client ID for Databricks
8648
+ */
8649
+ client_id: string;
8650
+
8651
+ /**
8652
+ * OAuth2 client secret for Databricks
8653
+ */
8654
+ client_secret: string;
8655
+ }
8656
+ }
8657
+
8531
8658
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
8532
8659
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
8533
8660
 
@@ -9024,6 +9151,7 @@ export type GetConectorConfigResponse =
9024
9151
  | GetConectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
9025
9152
  | GetConectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
9026
9153
  | GetConectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
9154
+ | GetConectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
9027
9155
  | GetConectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
9028
9156
  | GetConectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
9029
9157
  | GetConectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -11486,6 +11614,51 @@ export namespace GetConectorConfigResponse {
11486
11614
  updated_at?: string;
11487
11615
  }
11488
11616
 
11617
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
11618
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
11619
+
11620
+ connector_name: 'databricks-m2m';
11621
+
11622
+ id?: string;
11623
+
11624
+ connection_count?: number;
11625
+
11626
+ connector?: TopLevelAPI.Connector;
11627
+
11628
+ created_at?: string;
11629
+
11630
+ disabled?: boolean | null;
11631
+
11632
+ display_name?: string | null;
11633
+
11634
+ integrations?: { [key: string]: TopLevelAPI.Integration };
11635
+
11636
+ /**
11637
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
11638
+ * separate 1-1 table just for simple key values in your application. During
11639
+ * updates this object will be shallowly merged
11640
+ */
11641
+ metadata?: { [key: string]: unknown } | null;
11642
+
11643
+ org_id?: string;
11644
+
11645
+ updated_at?: string;
11646
+ }
11647
+
11648
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
11649
+ export interface Config {
11650
+ /**
11651
+ * OAuth2 client ID for Databricks
11652
+ */
11653
+ client_id: string;
11654
+
11655
+ /**
11656
+ * OAuth2 client secret for Databricks
11657
+ */
11658
+ client_secret: string;
11659
+ }
11660
+ }
11661
+
11489
11662
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
11490
11663
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
11491
11664
 
@@ -12000,6 +12173,7 @@ export type GetConnectionResponse =
12000
12173
  | GetConnectionResponse.ConnectorZoomDiscriminatedConnectionData
12001
12174
  | GetConnectionResponse.ConnectorApolloDiscriminatedConnectionData
12002
12175
  | GetConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionData
12176
+ | GetConnectionResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
12003
12177
  | GetConnectionResponse.ConnectorPlaidDiscriminatedConnectionData
12004
12178
  | GetConnectionResponse.ConnectorPostgresDiscriminatedConnectionData
12005
12179
  | GetConnectionResponse.ConnectorResendDiscriminatedConnectionData
@@ -17075,6 +17249,91 @@ export namespace GetConnectionResponse {
17075
17249
  }
17076
17250
  }
17077
17251
 
17252
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
17253
+ connector_name: 'databricks-m2m';
17254
+
17255
+ id?: string;
17256
+
17257
+ connector?: TopLevelAPI.Connector;
17258
+
17259
+ connector_config_id?: string | null;
17260
+
17261
+ created_at?: string;
17262
+
17263
+ customer_id?: string | null;
17264
+
17265
+ disabled?: boolean | null;
17266
+
17267
+ display_name?: string | null;
17268
+
17269
+ environment?: 'production' | 'development';
17270
+
17271
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
17272
+
17273
+ integration?: TopLevelAPI.Integration;
17274
+
17275
+ integration_id?: string | null;
17276
+
17277
+ /**
17278
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
17279
+ * separate 1-1 table just for simple key values in your application. During
17280
+ * updates this object will be shallowly merged
17281
+ */
17282
+ metadata?: { [key: string]: unknown } | null;
17283
+
17284
+ public_settings?: unknown;
17285
+
17286
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
17287
+
17288
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17289
+
17290
+ status_message?: string | null;
17291
+
17292
+ updated_at?: string;
17293
+
17294
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17295
+
17296
+ webhook_configured_at?: string | null;
17297
+
17298
+ webhook_identifier?: string | null;
17299
+ }
17300
+
17301
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
17302
+ export interface HealthCheckResult {
17303
+ checked_at: string;
17304
+
17305
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
17306
+ }
17307
+
17308
+ export namespace HealthCheckResult {
17309
+ export interface FieldValidations {
17310
+ status: 'valid' | 'invalid';
17311
+
17312
+ error?: string;
17313
+ }
17314
+ }
17315
+
17316
+ export interface Settings {
17317
+ /**
17318
+ * Access token for Databricks API
17319
+ */
17320
+ access_token: string;
17321
+
17322
+ /**
17323
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
17324
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
17325
+ */
17326
+ http_path: string;
17327
+
17328
+ /**
17329
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
17330
+ * warehouse in Databricks and click the "Connection details" button. Copy the
17331
+ * Server hostname value.
17332
+ */
17333
+ server_hostname: string;
17334
+ }
17335
+ }
17336
+
17078
17337
  export interface ConnectorPlaidDiscriminatedConnectionData {
17079
17338
  connector_name: 'plaid';
17080
17339
 
@@ -18124,6 +18383,7 @@ export type ListConnectionsResponse =
18124
18383
  | ListConnectionsResponse.ConnectorZoomDiscriminatedConnectionData
18125
18384
  | ListConnectionsResponse.ConnectorApolloDiscriminatedConnectionData
18126
18385
  | ListConnectionsResponse.ConnectorCustomMcpDiscriminatedConnectionData
18386
+ | ListConnectionsResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
18127
18387
  | ListConnectionsResponse.ConnectorPlaidDiscriminatedConnectionData
18128
18388
  | ListConnectionsResponse.ConnectorPostgresDiscriminatedConnectionData
18129
18389
  | ListConnectionsResponse.ConnectorResendDiscriminatedConnectionData
@@ -23199,6 +23459,91 @@ export namespace ListConnectionsResponse {
23199
23459
  }
23200
23460
  }
23201
23461
 
23462
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
23463
+ connector_name: 'databricks-m2m';
23464
+
23465
+ id?: string;
23466
+
23467
+ connector?: TopLevelAPI.Connector;
23468
+
23469
+ connector_config_id?: string | null;
23470
+
23471
+ created_at?: string;
23472
+
23473
+ customer_id?: string | null;
23474
+
23475
+ disabled?: boolean | null;
23476
+
23477
+ display_name?: string | null;
23478
+
23479
+ environment?: 'production' | 'development';
23480
+
23481
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
23482
+
23483
+ integration?: TopLevelAPI.Integration;
23484
+
23485
+ integration_id?: string | null;
23486
+
23487
+ /**
23488
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
23489
+ * separate 1-1 table just for simple key values in your application. During
23490
+ * updates this object will be shallowly merged
23491
+ */
23492
+ metadata?: { [key: string]: unknown } | null;
23493
+
23494
+ public_settings?: unknown;
23495
+
23496
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
23497
+
23498
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
23499
+
23500
+ status_message?: string | null;
23501
+
23502
+ updated_at?: string;
23503
+
23504
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
23505
+
23506
+ webhook_configured_at?: string | null;
23507
+
23508
+ webhook_identifier?: string | null;
23509
+ }
23510
+
23511
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
23512
+ export interface HealthCheckResult {
23513
+ checked_at: string;
23514
+
23515
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
23516
+ }
23517
+
23518
+ export namespace HealthCheckResult {
23519
+ export interface FieldValidations {
23520
+ status: 'valid' | 'invalid';
23521
+
23522
+ error?: string;
23523
+ }
23524
+ }
23525
+
23526
+ export interface Settings {
23527
+ /**
23528
+ * Access token for Databricks API
23529
+ */
23530
+ access_token: string;
23531
+
23532
+ /**
23533
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
23534
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
23535
+ */
23536
+ http_path: string;
23537
+
23538
+ /**
23539
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
23540
+ * warehouse in Databricks and click the "Connection details" button. Copy the
23541
+ * Server hostname value.
23542
+ */
23543
+ server_hostname: string;
23544
+ }
23545
+ }
23546
+
23202
23547
  export interface ConnectorPlaidDiscriminatedConnectionData {
23203
23548
  connector_name: 'plaid';
23204
23549
 
@@ -24222,6 +24567,7 @@ export type ListConnectorConfigsResponse =
24222
24567
  | ListConnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
24223
24568
  | ListConnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
24224
24569
  | ListConnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
24570
+ | ListConnectorConfigsResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
24225
24571
  | ListConnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
24226
24572
  | ListConnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
24227
24573
  | ListConnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -26684,6 +27030,51 @@ export namespace ListConnectorConfigsResponse {
26684
27030
  updated_at?: string;
26685
27031
  }
26686
27032
 
27033
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
27034
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
27035
+
27036
+ connector_name: 'databricks-m2m';
27037
+
27038
+ id?: string;
27039
+
27040
+ connection_count?: number;
27041
+
27042
+ connector?: TopLevelAPI.Connector;
27043
+
27044
+ created_at?: string;
27045
+
27046
+ disabled?: boolean | null;
27047
+
27048
+ display_name?: string | null;
27049
+
27050
+ integrations?: { [key: string]: TopLevelAPI.Integration };
27051
+
27052
+ /**
27053
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
27054
+ * separate 1-1 table just for simple key values in your application. During
27055
+ * updates this object will be shallowly merged
27056
+ */
27057
+ metadata?: { [key: string]: unknown } | null;
27058
+
27059
+ org_id?: string;
27060
+
27061
+ updated_at?: string;
27062
+ }
27063
+
27064
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
27065
+ export interface Config {
27066
+ /**
27067
+ * OAuth2 client ID for Databricks
27068
+ */
27069
+ client_id: string;
27070
+
27071
+ /**
27072
+ * OAuth2 client secret for Databricks
27073
+ */
27074
+ client_secret: string;
27075
+ }
27076
+ }
27077
+
26687
27078
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
26688
27079
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
26689
27080
 
@@ -27199,6 +27590,7 @@ export type ListConnnectorConfigsResponse =
27199
27590
  | ListConnnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
27200
27591
  | ListConnnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
27201
27592
  | ListConnnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
27593
+ | ListConnnectorConfigsResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
27202
27594
  | ListConnnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
27203
27595
  | ListConnnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
27204
27596
  | ListConnnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -29224,7 +29616,65 @@ export namespace ListConnnectorConfigsResponse {
29224
29616
  updated_at?: string;
29225
29617
  }
29226
29618
 
29227
- export namespace ConnectorSlackDiscriminatedConnectorConfig {
29619
+ export namespace ConnectorSlackDiscriminatedConnectorConfig {
29620
+ export interface Config {
29621
+ /**
29622
+ * Base oauth configuration for the connector
29623
+ */
29624
+ oauth?: Config.OAuth | null;
29625
+ }
29626
+
29627
+ export namespace Config {
29628
+ /**
29629
+ * Base oauth configuration for the connector
29630
+ */
29631
+ export interface OAuth {
29632
+ client_id?: string | null;
29633
+
29634
+ client_secret?: string | null;
29635
+
29636
+ /**
29637
+ * Custom redirect URI
29638
+ */
29639
+ redirect_uri?: string | null;
29640
+
29641
+ scopes?: Array<string> | null;
29642
+ }
29643
+ }
29644
+ }
29645
+
29646
+ export interface ConnectorSnowflakeDiscriminatedConnectorConfig {
29647
+ config: ConnectorSnowflakeDiscriminatedConnectorConfig.Config;
29648
+
29649
+ connector_name: 'snowflake';
29650
+
29651
+ id?: string;
29652
+
29653
+ connection_count?: number;
29654
+
29655
+ connector?: TopLevelAPI.Connector;
29656
+
29657
+ created_at?: string;
29658
+
29659
+ disabled?: boolean | null;
29660
+
29661
+ display_name?: string | null;
29662
+
29663
+ integrations?: { [key: string]: TopLevelAPI.Integration };
29664
+
29665
+ /**
29666
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
29667
+ * separate 1-1 table just for simple key values in your application. During
29668
+ * updates this object will be shallowly merged
29669
+ */
29670
+ metadata?: { [key: string]: unknown } | null;
29671
+
29672
+ org_id?: string;
29673
+
29674
+ updated_at?: string;
29675
+ }
29676
+
29677
+ export namespace ConnectorSnowflakeDiscriminatedConnectorConfig {
29228
29678
  export interface Config {
29229
29679
  /**
29230
29680
  * Base oauth configuration for the connector
@@ -29251,10 +29701,10 @@ export namespace ListConnnectorConfigsResponse {
29251
29701
  }
29252
29702
  }
29253
29703
 
29254
- export interface ConnectorSnowflakeDiscriminatedConnectorConfig {
29255
- config: ConnectorSnowflakeDiscriminatedConnectorConfig.Config;
29704
+ export interface ConnectorSpotifyDiscriminatedConnectorConfig {
29705
+ config: ConnectorSpotifyDiscriminatedConnectorConfig.Config;
29256
29706
 
29257
- connector_name: 'snowflake';
29707
+ connector_name: 'spotify';
29258
29708
 
29259
29709
  id?: string;
29260
29710
 
@@ -29282,7 +29732,7 @@ export namespace ListConnnectorConfigsResponse {
29282
29732
  updated_at?: string;
29283
29733
  }
29284
29734
 
29285
- export namespace ConnectorSnowflakeDiscriminatedConnectorConfig {
29735
+ export namespace ConnectorSpotifyDiscriminatedConnectorConfig {
29286
29736
  export interface Config {
29287
29737
  /**
29288
29738
  * Base oauth configuration for the connector
@@ -29309,10 +29759,10 @@ export namespace ListConnnectorConfigsResponse {
29309
29759
  }
29310
29760
  }
29311
29761
 
29312
- export interface ConnectorSpotifyDiscriminatedConnectorConfig {
29313
- config: ConnectorSpotifyDiscriminatedConnectorConfig.Config;
29762
+ export interface ConnectorTodoistDiscriminatedConnectorConfig {
29763
+ config: ConnectorTodoistDiscriminatedConnectorConfig.Config;
29314
29764
 
29315
- connector_name: 'spotify';
29765
+ connector_name: 'todoist';
29316
29766
 
29317
29767
  id?: string;
29318
29768
 
@@ -29340,7 +29790,7 @@ export namespace ListConnnectorConfigsResponse {
29340
29790
  updated_at?: string;
29341
29791
  }
29342
29792
 
29343
- export namespace ConnectorSpotifyDiscriminatedConnectorConfig {
29793
+ export namespace ConnectorTodoistDiscriminatedConnectorConfig {
29344
29794
  export interface Config {
29345
29795
  /**
29346
29796
  * Base oauth configuration for the connector
@@ -29367,10 +29817,10 @@ export namespace ListConnnectorConfigsResponse {
29367
29817
  }
29368
29818
  }
29369
29819
 
29370
- export interface ConnectorTodoistDiscriminatedConnectorConfig {
29371
- config: ConnectorTodoistDiscriminatedConnectorConfig.Config;
29820
+ export interface ConnectorYoutubeDiscriminatedConnectorConfig {
29821
+ config: ConnectorYoutubeDiscriminatedConnectorConfig.Config;
29372
29822
 
29373
- connector_name: 'todoist';
29823
+ connector_name: 'youtube';
29374
29824
 
29375
29825
  id?: string;
29376
29826
 
@@ -29398,7 +29848,7 @@ export namespace ListConnnectorConfigsResponse {
29398
29848
  updated_at?: string;
29399
29849
  }
29400
29850
 
29401
- export namespace ConnectorTodoistDiscriminatedConnectorConfig {
29851
+ export namespace ConnectorYoutubeDiscriminatedConnectorConfig {
29402
29852
  export interface Config {
29403
29853
  /**
29404
29854
  * Base oauth configuration for the connector
@@ -29425,10 +29875,10 @@ export namespace ListConnnectorConfigsResponse {
29425
29875
  }
29426
29876
  }
29427
29877
 
29428
- export interface ConnectorYoutubeDiscriminatedConnectorConfig {
29429
- config: ConnectorYoutubeDiscriminatedConnectorConfig.Config;
29878
+ export interface ConnectorZendeskDiscriminatedConnectorConfig {
29879
+ config: ConnectorZendeskDiscriminatedConnectorConfig.Config;
29430
29880
 
29431
- connector_name: 'youtube';
29881
+ connector_name: 'zendesk';
29432
29882
 
29433
29883
  id?: string;
29434
29884
 
@@ -29456,7 +29906,7 @@ export namespace ListConnnectorConfigsResponse {
29456
29906
  updated_at?: string;
29457
29907
  }
29458
29908
 
29459
- export namespace ConnectorYoutubeDiscriminatedConnectorConfig {
29909
+ export namespace ConnectorZendeskDiscriminatedConnectorConfig {
29460
29910
  export interface Config {
29461
29911
  /**
29462
29912
  * Base oauth configuration for the connector
@@ -29483,10 +29933,10 @@ export namespace ListConnnectorConfigsResponse {
29483
29933
  }
29484
29934
  }
29485
29935
 
29486
- export interface ConnectorZendeskDiscriminatedConnectorConfig {
29487
- config: ConnectorZendeskDiscriminatedConnectorConfig.Config;
29936
+ export interface ConnectorZoomDiscriminatedConnectorConfig {
29937
+ config: ConnectorZoomDiscriminatedConnectorConfig.Config;
29488
29938
 
29489
- connector_name: 'zendesk';
29939
+ connector_name: 'zoom';
29490
29940
 
29491
29941
  id?: string;
29492
29942
 
@@ -29514,7 +29964,7 @@ export namespace ListConnnectorConfigsResponse {
29514
29964
  updated_at?: string;
29515
29965
  }
29516
29966
 
29517
- export namespace ConnectorZendeskDiscriminatedConnectorConfig {
29967
+ export namespace ConnectorZoomDiscriminatedConnectorConfig {
29518
29968
  export interface Config {
29519
29969
  /**
29520
29970
  * Base oauth configuration for the connector
@@ -29541,10 +29991,10 @@ export namespace ListConnnectorConfigsResponse {
29541
29991
  }
29542
29992
  }
29543
29993
 
29544
- export interface ConnectorZoomDiscriminatedConnectorConfig {
29545
- config: ConnectorZoomDiscriminatedConnectorConfig.Config;
29994
+ export interface ConnectorApolloDiscriminatedConnectorConfig {
29995
+ config: unknown;
29546
29996
 
29547
- connector_name: 'zoom';
29997
+ connector_name: 'apollo';
29548
29998
 
29549
29999
  id?: string;
29550
30000
 
@@ -29572,37 +30022,10 @@ export namespace ListConnnectorConfigsResponse {
29572
30022
  updated_at?: string;
29573
30023
  }
29574
30024
 
29575
- export namespace ConnectorZoomDiscriminatedConnectorConfig {
29576
- export interface Config {
29577
- /**
29578
- * Base oauth configuration for the connector
29579
- */
29580
- oauth?: Config.OAuth | null;
29581
- }
29582
-
29583
- export namespace Config {
29584
- /**
29585
- * Base oauth configuration for the connector
29586
- */
29587
- export interface OAuth {
29588
- client_id?: string | null;
29589
-
29590
- client_secret?: string | null;
29591
-
29592
- /**
29593
- * Custom redirect URI
29594
- */
29595
- redirect_uri?: string | null;
29596
-
29597
- scopes?: Array<string> | null;
29598
- }
29599
- }
29600
- }
29601
-
29602
- export interface ConnectorApolloDiscriminatedConnectorConfig {
30025
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
29603
30026
  config: unknown;
29604
30027
 
29605
- connector_name: 'apollo';
30028
+ connector_name: 'custom-mcp';
29606
30029
 
29607
30030
  id?: string;
29608
30031
 
@@ -29630,10 +30053,10 @@ export namespace ListConnnectorConfigsResponse {
29630
30053
  updated_at?: string;
29631
30054
  }
29632
30055
 
29633
- export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
29634
- config: unknown;
30056
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30057
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
29635
30058
 
29636
- connector_name: 'custom-mcp';
30059
+ connector_name: 'databricks-m2m';
29637
30060
 
29638
30061
  id?: string;
29639
30062
 
@@ -29661,6 +30084,20 @@ export namespace ListConnnectorConfigsResponse {
29661
30084
  updated_at?: string;
29662
30085
  }
29663
30086
 
30087
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30088
+ export interface Config {
30089
+ /**
30090
+ * OAuth2 client ID for Databricks
30091
+ */
30092
+ client_id: string;
30093
+
30094
+ /**
30095
+ * OAuth2 client secret for Databricks
30096
+ */
30097
+ client_secret: string;
30098
+ }
30099
+ }
30100
+
29664
30101
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
29665
30102
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
29666
30103
 
@@ -30926,6 +31363,7 @@ export type PostConnectResponse =
30926
31363
  | PostConnectResponse.ConnectorZoomDiscriminatedConnectionData
30927
31364
  | PostConnectResponse.ConnectorApolloDiscriminatedConnectionData
30928
31365
  | PostConnectResponse.ConnectorCustomMcpDiscriminatedConnectionData
31366
+ | PostConnectResponse.ConnectorDatabricksM2mDiscriminatedConnectionData
30929
31367
  | PostConnectResponse.ConnectorPlaidDiscriminatedConnectionData
30930
31368
  | PostConnectResponse.ConnectorPostgresDiscriminatedConnectionData
30931
31369
  | PostConnectResponse.ConnectorResendDiscriminatedConnectionData
@@ -35825,6 +36263,87 @@ export namespace PostConnectResponse {
35825
36263
  }
35826
36264
  }
35827
36265
 
36266
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionData {
36267
+ connector_name: 'databricks-m2m';
36268
+
36269
+ id?: string;
36270
+
36271
+ connector_config_id?: string | null;
36272
+
36273
+ created_at?: string;
36274
+
36275
+ customer_id?: string | null;
36276
+
36277
+ disabled?: boolean | null;
36278
+
36279
+ display_name?: string | null;
36280
+
36281
+ environment?: 'production' | 'development';
36282
+
36283
+ health_check_result?: ConnectorDatabricksM2mDiscriminatedConnectionData.HealthCheckResult | null;
36284
+
36285
+ integration_id?: string | null;
36286
+
36287
+ /**
36288
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
36289
+ * separate 1-1 table just for simple key values in your application. During
36290
+ * updates this object will be shallowly merged
36291
+ */
36292
+ metadata?: { [key: string]: unknown } | null;
36293
+
36294
+ public_settings?: unknown;
36295
+
36296
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionData.Settings;
36297
+
36298
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
36299
+
36300
+ status_message?: string | null;
36301
+
36302
+ updated_at?: string;
36303
+
36304
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
36305
+
36306
+ webhook_configured_at?: string | null;
36307
+
36308
+ webhook_identifier?: string | null;
36309
+ }
36310
+
36311
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionData {
36312
+ export interface HealthCheckResult {
36313
+ checked_at: string;
36314
+
36315
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
36316
+ }
36317
+
36318
+ export namespace HealthCheckResult {
36319
+ export interface FieldValidations {
36320
+ status: 'valid' | 'invalid';
36321
+
36322
+ error?: string;
36323
+ }
36324
+ }
36325
+
36326
+ export interface Settings {
36327
+ /**
36328
+ * Access token for Databricks API
36329
+ */
36330
+ access_token: string;
36331
+
36332
+ /**
36333
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
36334
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
36335
+ */
36336
+ http_path: string;
36337
+
36338
+ /**
36339
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
36340
+ * warehouse in Databricks and click the "Connection details" button. Copy the
36341
+ * Server hostname value.
36342
+ */
36343
+ server_hostname: string;
36344
+ }
36345
+ }
36346
+
35828
36347
  export interface ConnectorPlaidDiscriminatedConnectionData {
35829
36348
  connector_name: 'plaid';
35830
36349
 
@@ -36810,6 +37329,7 @@ export type PreConnectResponse =
36810
37329
  | PreConnectResponse.ConnectorZoomDiscriminatedConnectInput
36811
37330
  | PreConnectResponse.ConnectorApolloDiscriminatedConnectInput
36812
37331
  | PreConnectResponse.ConnectorCustomMcpDiscriminatedConnectInput
37332
+ | PreConnectResponse.ConnectorDatabricksM2mDiscriminatedConnectInput
36813
37333
  | PreConnectResponse.ConnectorPlaidDiscriminatedConnectInput
36814
37334
  | PreConnectResponse.ConnectorPostgresDiscriminatedConnectInput
36815
37335
  | PreConnectResponse.ConnectorResendDiscriminatedConnectInput
@@ -37674,6 +38194,18 @@ export namespace PreConnectResponse {
37674
38194
  }
37675
38195
  }
37676
38196
 
38197
+ export interface ConnectorDatabricksM2mDiscriminatedConnectInput {
38198
+ connect_input: ConnectorDatabricksM2mDiscriminatedConnectInput.ConnectInput;
38199
+
38200
+ connector_name: 'databricks-m2m';
38201
+ }
38202
+
38203
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectInput {
38204
+ export interface ConnectInput {
38205
+ authorization_url: string;
38206
+ }
38207
+ }
38208
+
37677
38209
  export interface ConnectorPlaidDiscriminatedConnectInput {
37678
38210
  connect_input:
37679
38211
  | ConnectorPlaidDiscriminatedConnectInput.LinkToken
@@ -37883,6 +38415,7 @@ export type UpsertConnnectorConfigResponse =
37883
38415
  | UpsertConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
37884
38416
  | UpsertConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
37885
38417
  | UpsertConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
38418
+ | UpsertConnnectorConfigResponse.ConnectorDatabricksM2mDiscriminatedConnectorConfig
37886
38419
  | UpsertConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
37887
38420
  | UpsertConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
37888
38421
  | UpsertConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -40081,6 +40614,45 @@ export namespace UpsertConnnectorConfigResponse {
40081
40614
  updated_at?: string;
40082
40615
  }
40083
40616
 
40617
+ export interface ConnectorDatabricksM2mDiscriminatedConnectorConfig {
40618
+ config: ConnectorDatabricksM2mDiscriminatedConnectorConfig.Config;
40619
+
40620
+ connector_name: 'databricks-m2m';
40621
+
40622
+ id?: string;
40623
+
40624
+ created_at?: string;
40625
+
40626
+ disabled?: boolean | null;
40627
+
40628
+ display_name?: string | null;
40629
+
40630
+ /**
40631
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
40632
+ * separate 1-1 table just for simple key values in your application. During
40633
+ * updates this object will be shallowly merged
40634
+ */
40635
+ metadata?: { [key: string]: unknown } | null;
40636
+
40637
+ org_id?: string;
40638
+
40639
+ updated_at?: string;
40640
+ }
40641
+
40642
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
40643
+ export interface Config {
40644
+ /**
40645
+ * OAuth2 client ID for Databricks
40646
+ */
40647
+ client_id: string;
40648
+
40649
+ /**
40650
+ * OAuth2 client secret for Databricks
40651
+ */
40652
+ client_secret: string;
40653
+ }
40654
+ }
40655
+
40084
40656
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
40085
40657
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
40086
40658
 
@@ -40515,6 +41087,11 @@ export interface AssignConnectionParams {
40515
41087
  */
40516
41088
  id: string;
40517
41089
 
41090
+ /**
41091
+ * Body param: Automatically subscribe to webhook events for this connection
41092
+ */
41093
+ auto_subscribe_webhooks?: boolean;
41094
+
40518
41095
  /**
40519
41096
  * Body param: The webhook URL to call when this connection changes
40520
41097
  */
@@ -40587,6 +41164,7 @@ export interface CreateConnectionParams {
40587
41164
  | CreateConnectionParams.ConnectorZoomDiscriminatedConnectionSettings
40588
41165
  | CreateConnectionParams.ConnectorApolloDiscriminatedConnectionSettings
40589
41166
  | CreateConnectionParams.ConnectorCustomMcpDiscriminatedConnectionSettings
41167
+ | CreateConnectionParams.ConnectorDatabricksM2mDiscriminatedConnectionSettings
40590
41168
  | CreateConnectionParams.ConnectorPlaidDiscriminatedConnectionSettings
40591
41169
  | CreateConnectionParams.ConnectorPostgresDiscriminatedConnectionSettings
40592
41170
  | CreateConnectionParams.ConnectorResendDiscriminatedConnectionSettings
@@ -43178,6 +43756,34 @@ export namespace CreateConnectionParams {
43178
43756
  }
43179
43757
  }
43180
43758
 
43759
+ export interface ConnectorDatabricksM2mDiscriminatedConnectionSettings {
43760
+ connector_name: 'databricks-m2m';
43761
+
43762
+ settings?: ConnectorDatabricksM2mDiscriminatedConnectionSettings.Settings;
43763
+ }
43764
+
43765
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectionSettings {
43766
+ export interface Settings {
43767
+ /**
43768
+ * Access token for Databricks API
43769
+ */
43770
+ access_token: string;
43771
+
43772
+ /**
43773
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
43774
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
43775
+ */
43776
+ http_path: string;
43777
+
43778
+ /**
43779
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
43780
+ * warehouse in Databricks and click the "Connection details" button. Copy the
43781
+ * Server hostname value.
43782
+ */
43783
+ server_hostname: string;
43784
+ }
43785
+ }
43786
+
43181
43787
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
43182
43788
  connector_name: 'plaid';
43183
43789
 
@@ -43623,6 +44229,7 @@ export namespace CreateTokenParams {
43623
44229
  | 'confluence'
43624
44230
  | 'custom-mcp'
43625
44231
  | 'databricks'
44232
+ | 'databricks-m2m'
43626
44233
  | 'discord'
43627
44234
  | 'dropbox'
43628
44235
  | 'figma'
@@ -43683,6 +44290,7 @@ export namespace CreateTokenParams {
43683
44290
  | 'confluence'
43684
44291
  | 'custom-mcp'
43685
44292
  | 'databricks'
44293
+ | 'databricks-m2m'
43686
44294
  | 'discord'
43687
44295
  | 'dropbox'
43688
44296
  | 'figma'
@@ -43808,6 +44416,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
43808
44416
  | 'confluence'
43809
44417
  | 'custom-mcp'
43810
44418
  | 'databricks'
44419
+ | 'databricks-m2m'
43811
44420
  | 'discord'
43812
44421
  | 'dropbox'
43813
44422
  | 'figma'
@@ -43903,6 +44512,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
43903
44512
  | 'confluence'
43904
44513
  | 'custom-mcp'
43905
44514
  | 'databricks'
44515
+ | 'databricks-m2m'
43906
44516
  | 'discord'
43907
44517
  | 'dropbox'
43908
44518
  | 'figma'
@@ -43988,6 +44598,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
43988
44598
  | 'confluence'
43989
44599
  | 'custom-mcp'
43990
44600
  | 'databricks'
44601
+ | 'databricks-m2m'
43991
44602
  | 'discord'
43992
44603
  | 'dropbox'
43993
44604
  | 'figma'
@@ -44127,6 +44738,7 @@ export interface PostConnectParams {
44127
44738
  | PostConnectParams.ConnectorZoomDiscriminatedConnectOutput
44128
44739
  | PostConnectParams.ConnectorApolloDiscriminatedConnectOutput
44129
44740
  | PostConnectParams.ConnectorCustomMcpDiscriminatedConnectOutput
44741
+ | PostConnectParams.ConnectorDatabricksM2mDiscriminatedConnectOutput
44130
44742
  | PostConnectParams.ConnectorPlaidDiscriminatedConnectOutput
44131
44743
  | PostConnectParams.ConnectorPostgresDiscriminatedConnectOutput
44132
44744
  | PostConnectParams.ConnectorResendDiscriminatedConnectOutput
@@ -45612,6 +46224,18 @@ export namespace PostConnectParams {
45612
46224
  }
45613
46225
  }
45614
46226
 
46227
+ export interface ConnectorDatabricksM2mDiscriminatedConnectOutput {
46228
+ connect_output: ConnectorDatabricksM2mDiscriminatedConnectOutput.ConnectOutput;
46229
+
46230
+ connector_name: 'databricks-m2m';
46231
+ }
46232
+
46233
+ export namespace ConnectorDatabricksM2mDiscriminatedConnectOutput {
46234
+ export interface ConnectOutput {
46235
+ connection_id: string;
46236
+ }
46237
+ }
46238
+
45615
46239
  export interface ConnectorPlaidDiscriminatedConnectOutput {
45616
46240
  connect_output: ConnectorPlaidDiscriminatedConnectOutput.ConnectOutput;
45617
46241
 
@@ -45914,6 +46538,7 @@ export interface PreConfigureConnectorParams {
45914
46538
  | 'confluence'
45915
46539
  | 'custom-mcp'
45916
46540
  | 'databricks'
46541
+ | 'databricks-m2m'
45917
46542
  | 'discord'
45918
46543
  | 'dropbox'
45919
46544
  | 'figma'
@@ -46009,6 +46634,7 @@ export interface PreConnectParams {
46009
46634
  | PreConnectParams.ConnectorZoomDiscriminatedPreConnectInput
46010
46635
  | PreConnectParams.ConnectorApolloDiscriminatedPreConnectInput
46011
46636
  | PreConnectParams.ConnectorCustomMcpDiscriminatedPreConnectInput
46637
+ | PreConnectParams.ConnectorDatabricksM2mDiscriminatedPreConnectInput
46012
46638
  | PreConnectParams.ConnectorPlaidDiscriminatedPreConnectInput
46013
46639
  | PreConnectParams.ConnectorPostgresDiscriminatedPreConnectInput
46014
46640
  | PreConnectParams.ConnectorResendDiscriminatedPreConnectInput
@@ -46355,6 +46981,29 @@ export namespace PreConnectParams {
46355
46981
  pre_connect_input: unknown;
46356
46982
  }
46357
46983
 
46984
+ export interface ConnectorDatabricksM2mDiscriminatedPreConnectInput {
46985
+ connector_name: 'databricks-m2m';
46986
+
46987
+ pre_connect_input: ConnectorDatabricksM2mDiscriminatedPreConnectInput.PreConnectInput;
46988
+ }
46989
+
46990
+ export namespace ConnectorDatabricksM2mDiscriminatedPreConnectInput {
46991
+ export interface PreConnectInput {
46992
+ /**
46993
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
46994
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
46995
+ */
46996
+ http_path: string;
46997
+
46998
+ /**
46999
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
47000
+ * warehouse in Databricks and click the "Connection details" button. Copy the
47001
+ * Server hostname value.
47002
+ */
47003
+ server_hostname: string;
47004
+ }
47005
+ }
47006
+
46358
47007
  export interface ConnectorPlaidDiscriminatedPreConnectInput {
46359
47008
  connector_name: 'plaid';
46360
47009