@deepnote/database-integrations 1.3.4 → 1.4.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.
package/dist/index.d.ts CHANGED
@@ -32,9 +32,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
32
32
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
33
33
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
34
34
  }, "strip", z$1.ZodTypeAny, {
35
- password: string;
36
35
  host: string;
37
36
  user: string;
37
+ password: string;
38
38
  database: string;
39
39
  sshEnabled?: boolean | undefined;
40
40
  sshHost?: string | undefined;
@@ -45,9 +45,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
45
45
  caCertificateName?: string | undefined;
46
46
  caCertificateText?: string | undefined;
47
47
  }, {
48
- password: string;
49
48
  host: string;
50
49
  user: string;
50
+ password: string;
51
51
  database: string;
52
52
  sshEnabled?: boolean | undefined;
53
53
  sshHost?: string | undefined;
@@ -64,9 +64,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
64
64
  id: string;
65
65
  name: string;
66
66
  metadata: {
67
- password: string;
68
67
  host: string;
69
68
  user: string;
69
+ password: string;
70
70
  database: string;
71
71
  sshEnabled?: boolean | undefined;
72
72
  sshHost?: string | undefined;
@@ -83,9 +83,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
83
83
  id: string;
84
84
  name: string;
85
85
  metadata: {
86
- password: string;
87
86
  host: string;
88
87
  user: string;
88
+ password: string;
89
89
  database: string;
90
90
  sshEnabled?: boolean | undefined;
91
91
  sshHost?: string | undefined;
@@ -447,9 +447,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
447
447
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
448
448
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
449
449
  }, "strip", z$1.ZodTypeAny, {
450
- password: string;
451
450
  host: string;
452
451
  user: string;
452
+ password: string;
453
453
  database: string;
454
454
  sshEnabled?: boolean | undefined;
455
455
  sshHost?: string | undefined;
@@ -460,9 +460,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
460
460
  caCertificateName?: string | undefined;
461
461
  caCertificateText?: string | undefined;
462
462
  }, {
463
- password: string;
464
463
  host: string;
465
464
  user: string;
465
+ password: string;
466
466
  database: string;
467
467
  sshEnabled?: boolean | undefined;
468
468
  sshHost?: string | undefined;
@@ -479,9 +479,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
479
479
  id: string;
480
480
  name: string;
481
481
  metadata: {
482
- password: string;
483
482
  host: string;
484
483
  user: string;
484
+ password: string;
485
485
  database: string;
486
486
  sshEnabled?: boolean | undefined;
487
487
  sshHost?: string | undefined;
@@ -498,9 +498,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
498
498
  id: string;
499
499
  name: string;
500
500
  metadata: {
501
- password: string;
502
501
  host: string;
503
502
  user: string;
503
+ password: string;
504
504
  database: string;
505
505
  sshEnabled?: boolean | undefined;
506
506
  sshHost?: string | undefined;
@@ -534,9 +534,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
534
534
  } & {
535
535
  cluster: z$1.ZodString;
536
536
  }, "strip", z$1.ZodTypeAny, {
537
- password: string;
538
537
  host: string;
539
538
  user: string;
539
+ password: string;
540
540
  database: string;
541
541
  cluster: string;
542
542
  sshEnabled?: boolean | undefined;
@@ -548,9 +548,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
548
548
  caCertificateName?: string | undefined;
549
549
  caCertificateText?: string | undefined;
550
550
  }, {
551
- password: string;
552
551
  host: string;
553
552
  user: string;
553
+ password: string;
554
554
  database: string;
555
555
  cluster: string;
556
556
  sshEnabled?: boolean | undefined;
@@ -568,9 +568,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
568
568
  id: string;
569
569
  name: string;
570
570
  metadata: {
571
- password: string;
572
571
  host: string;
573
572
  user: string;
573
+ password: string;
574
574
  database: string;
575
575
  cluster: string;
576
576
  sshEnabled?: boolean | undefined;
@@ -588,9 +588,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
588
588
  id: string;
589
589
  name: string;
590
590
  metadata: {
591
- password: string;
592
591
  host: string;
593
592
  user: string;
593
+ password: string;
594
594
  database: string;
595
595
  cluster: string;
596
596
  sshEnabled?: boolean | undefined;
@@ -623,9 +623,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
623
623
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
624
624
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
625
625
  }, "strip", z$1.ZodTypeAny, {
626
- password: string;
627
626
  host: string;
628
627
  user: string;
628
+ password: string;
629
629
  database: string;
630
630
  sshEnabled?: boolean | undefined;
631
631
  sshHost?: string | undefined;
@@ -636,9 +636,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
636
636
  caCertificateName?: string | undefined;
637
637
  caCertificateText?: string | undefined;
638
638
  }, {
639
- password: string;
640
639
  host: string;
641
640
  user: string;
641
+ password: string;
642
642
  database: string;
643
643
  sshEnabled?: boolean | undefined;
644
644
  sshHost?: string | undefined;
@@ -655,9 +655,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
655
655
  id: string;
656
656
  name: string;
657
657
  metadata: {
658
- password: string;
659
658
  host: string;
660
659
  user: string;
660
+ password: string;
661
661
  database: string;
662
662
  sshEnabled?: boolean | undefined;
663
663
  sshHost?: string | undefined;
@@ -674,9 +674,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
674
674
  id: string;
675
675
  name: string;
676
676
  metadata: {
677
- password: string;
678
677
  host: string;
679
678
  user: string;
679
+ password: string;
680
680
  database: string;
681
681
  sshEnabled?: boolean | undefined;
682
682
  sshHost?: string | undefined;
@@ -712,15 +712,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
712
712
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
713
713
  }, "strip", z$1.ZodTypeAny, {
714
714
  connection_string: string;
715
- password?: string | undefined;
716
- options?: string | undefined;
717
715
  host?: string | undefined;
718
716
  user?: string | undefined;
717
+ password?: string | undefined;
719
718
  database?: string | undefined;
720
719
  sshEnabled?: boolean | undefined;
721
720
  sshHost?: string | undefined;
722
721
  sshPort?: string | undefined;
723
722
  sshUser?: string | undefined;
723
+ options?: string | undefined;
724
724
  port?: string | undefined;
725
725
  sslEnabled?: boolean | undefined;
726
726
  caCertificateName?: string | undefined;
@@ -729,15 +729,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
729
729
  prefix?: string | undefined;
730
730
  }, {
731
731
  connection_string: string;
732
- password?: string | undefined;
733
- options?: string | undefined;
734
732
  host?: string | undefined;
735
733
  user?: string | undefined;
734
+ password?: string | undefined;
736
735
  database?: string | undefined;
737
736
  sshEnabled?: boolean | undefined;
738
737
  sshHost?: string | undefined;
739
738
  sshPort?: string | undefined;
740
739
  sshUser?: string | undefined;
740
+ options?: string | undefined;
741
741
  port?: string | undefined;
742
742
  sslEnabled?: boolean | undefined;
743
743
  caCertificateName?: string | undefined;
@@ -752,15 +752,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
752
752
  name: string;
753
753
  metadata: {
754
754
  connection_string: string;
755
- password?: string | undefined;
756
- options?: string | undefined;
757
755
  host?: string | undefined;
758
756
  user?: string | undefined;
757
+ password?: string | undefined;
759
758
  database?: string | undefined;
760
759
  sshEnabled?: boolean | undefined;
761
760
  sshHost?: string | undefined;
762
761
  sshPort?: string | undefined;
763
762
  sshUser?: string | undefined;
763
+ options?: string | undefined;
764
764
  port?: string | undefined;
765
765
  sslEnabled?: boolean | undefined;
766
766
  caCertificateName?: string | undefined;
@@ -775,15 +775,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
775
775
  name: string;
776
776
  metadata: {
777
777
  connection_string: string;
778
- password?: string | undefined;
779
- options?: string | undefined;
780
778
  host?: string | undefined;
781
779
  user?: string | undefined;
780
+ password?: string | undefined;
782
781
  database?: string | undefined;
783
782
  sshEnabled?: boolean | undefined;
784
783
  sshHost?: string | undefined;
785
784
  sshPort?: string | undefined;
786
785
  sshUser?: string | undefined;
786
+ options?: string | undefined;
787
787
  port?: string | undefined;
788
788
  sslEnabled?: boolean | undefined;
789
789
  caCertificateName?: string | undefined;
@@ -812,9 +812,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
812
812
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
813
813
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
814
814
  }, "strip", z$1.ZodTypeAny, {
815
- password: string;
816
815
  host: string;
817
816
  user: string;
817
+ password: string;
818
818
  database: string;
819
819
  sshEnabled?: boolean | undefined;
820
820
  sshHost?: string | undefined;
@@ -825,9 +825,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
825
825
  caCertificateName?: string | undefined;
826
826
  caCertificateText?: string | undefined;
827
827
  }, {
828
- password: string;
829
828
  host: string;
830
829
  user: string;
830
+ password: string;
831
831
  database: string;
832
832
  sshEnabled?: boolean | undefined;
833
833
  sshHost?: string | undefined;
@@ -844,9 +844,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
844
844
  id: string;
845
845
  name: string;
846
846
  metadata: {
847
- password: string;
848
847
  host: string;
849
848
  user: string;
849
+ password: string;
850
850
  database: string;
851
851
  sshEnabled?: boolean | undefined;
852
852
  sshHost?: string | undefined;
@@ -863,9 +863,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
863
863
  id: string;
864
864
  name: string;
865
865
  metadata: {
866
- password: string;
867
866
  host: string;
868
867
  user: string;
868
+ password: string;
869
869
  database: string;
870
870
  sshEnabled?: boolean | undefined;
871
871
  sshHost?: string | undefined;
@@ -916,9 +916,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
916
916
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
917
917
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
918
918
  }, "strip", z$1.ZodTypeAny, {
919
- password: string;
920
919
  host: string;
921
920
  user: string;
921
+ password: string;
922
922
  database: string;
923
923
  sshEnabled?: boolean | undefined;
924
924
  sshHost?: string | undefined;
@@ -929,9 +929,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
929
929
  caCertificateName?: string | undefined;
930
930
  caCertificateText?: string | undefined;
931
931
  }, {
932
- password: string;
933
932
  host: string;
934
933
  user: string;
934
+ password: string;
935
935
  database: string;
936
936
  sshEnabled?: boolean | undefined;
937
937
  sshHost?: string | undefined;
@@ -948,9 +948,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
948
948
  id: string;
949
949
  name: string;
950
950
  metadata: {
951
- password: string;
952
951
  host: string;
953
952
  user: string;
953
+ password: string;
954
954
  database: string;
955
955
  sshEnabled?: boolean | undefined;
956
956
  sshHost?: string | undefined;
@@ -967,9 +967,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
967
967
  id: string;
968
968
  name: string;
969
969
  metadata: {
970
- password: string;
971
970
  host: string;
972
971
  user: string;
972
+ password: string;
973
973
  database: string;
974
974
  sshEnabled?: boolean | undefined;
975
975
  sshHost?: string | undefined;
@@ -1002,9 +1002,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1002
1002
  user: z$1.ZodString;
1003
1003
  password: z$1.ZodString;
1004
1004
  }, "strip", z$1.ZodTypeAny, {
1005
- password: string;
1006
1005
  host: string;
1007
1006
  user: string;
1007
+ password: string;
1008
1008
  database: string;
1009
1009
  sshEnabled?: boolean | undefined;
1010
1010
  sshHost?: string | undefined;
@@ -1016,9 +1016,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1016
1016
  caCertificateText?: string | undefined;
1017
1017
  authMethod?: "username-and-password" | undefined;
1018
1018
  }, {
1019
- password: string;
1020
1019
  host: string;
1021
1020
  user: string;
1021
+ password: string;
1022
1022
  database: string;
1023
1023
  sshEnabled?: boolean | undefined;
1024
1024
  sshHost?: string | undefined;
@@ -1113,9 +1113,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1113
1113
  caCertificateName?: string | undefined;
1114
1114
  caCertificateText?: string | undefined;
1115
1115
  }>]>, {
1116
- password: string;
1117
1116
  host: string;
1118
1117
  user: string;
1118
+ password: string;
1119
1119
  database: string;
1120
1120
  sshEnabled?: boolean | undefined;
1121
1121
  sshHost?: string | undefined;
@@ -1160,9 +1160,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1160
1160
  id: string;
1161
1161
  name: string;
1162
1162
  metadata: {
1163
- password: string;
1164
1163
  host: string;
1165
1164
  user: string;
1165
+ password: string;
1166
1166
  database: string;
1167
1167
  sshEnabled?: boolean | undefined;
1168
1168
  sshHost?: string | undefined;
@@ -1201,48 +1201,64 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1201
1201
  caCertificateName?: string | undefined;
1202
1202
  caCertificateText?: string | undefined;
1203
1203
  };
1204
- federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1204
+ federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1205
1205
  }, {
1206
1206
  type: "redshift";
1207
1207
  id: string;
1208
1208
  name: string;
1209
1209
  metadata?: unknown;
1210
- federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1210
+ federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1211
1211
  }>, z$1.ZodObject<{
1212
1212
  id: z$1.ZodString;
1213
1213
  name: z$1.ZodString;
1214
1214
  } & {
1215
1215
  type: z$1.ZodLiteral<"snowflake">;
1216
- metadata: z$1.ZodDiscriminatedUnion<"authMethod", [z$1.ZodObject<{
1216
+ metadata: z$1.ZodEffects<z$1.ZodDiscriminatedUnion<"authMethod", [z$1.ZodObject<{
1217
1217
  accountName: z$1.ZodString;
1218
1218
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1219
1219
  database: z$1.ZodOptional<z$1.ZodString>;
1220
1220
  role: z$1.ZodOptional<z$1.ZodString>;
1221
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1222
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1223
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1224
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1221
1225
  } & {
1222
- authMethod: z$1.ZodLiteral<"password">;
1226
+ authMethod: z$1.ZodOptional<z$1.ZodLiteral<"password">>;
1223
1227
  username: z$1.ZodString;
1224
1228
  password: z$1.ZodString;
1225
1229
  }, "strip", z$1.ZodTypeAny, {
1226
1230
  password: string;
1227
- authMethod: "password";
1228
1231
  accountName: string;
1229
1232
  username: string;
1230
1233
  database?: string | undefined;
1234
+ authMethod?: "password" | undefined;
1231
1235
  warehouse?: string | undefined;
1232
1236
  role?: string | undefined;
1237
+ dbt?: boolean | undefined;
1238
+ dbtServiceToken?: string | undefined;
1239
+ dbtPrimaryJobId?: string | undefined;
1240
+ dbtProxyServerUrl?: string | undefined;
1233
1241
  }, {
1234
1242
  password: string;
1235
- authMethod: "password";
1236
1243
  accountName: string;
1237
1244
  username: string;
1238
1245
  database?: string | undefined;
1246
+ authMethod?: "password" | undefined;
1239
1247
  warehouse?: string | undefined;
1240
1248
  role?: string | undefined;
1249
+ dbt?: boolean | undefined;
1250
+ dbtServiceToken?: string | undefined;
1251
+ dbtPrimaryJobId?: string | undefined;
1252
+ dbtProxyServerUrl?: string | undefined;
1241
1253
  }>, z$1.ZodObject<{
1242
1254
  accountName: z$1.ZodString;
1243
1255
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1244
1256
  database: z$1.ZodOptional<z$1.ZodString>;
1245
1257
  role: z$1.ZodOptional<z$1.ZodString>;
1258
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1259
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1260
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1261
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1246
1262
  } & {
1247
1263
  authMethod: z$1.ZodLiteral<"okta">;
1248
1264
  clientId: z$1.ZodString;
@@ -1261,6 +1277,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1261
1277
  database?: string | undefined;
1262
1278
  warehouse?: string | undefined;
1263
1279
  role?: string | undefined;
1280
+ dbt?: boolean | undefined;
1281
+ dbtServiceToken?: string | undefined;
1282
+ dbtPrimaryJobId?: string | undefined;
1283
+ dbtProxyServerUrl?: string | undefined;
1264
1284
  }, {
1265
1285
  authMethod: "okta";
1266
1286
  clientId: string;
@@ -1272,11 +1292,19 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1272
1292
  database?: string | undefined;
1273
1293
  warehouse?: string | undefined;
1274
1294
  role?: string | undefined;
1295
+ dbt?: boolean | undefined;
1296
+ dbtServiceToken?: string | undefined;
1297
+ dbtPrimaryJobId?: string | undefined;
1298
+ dbtProxyServerUrl?: string | undefined;
1275
1299
  }>, z$1.ZodObject<{
1276
1300
  accountName: z$1.ZodString;
1277
1301
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1278
1302
  database: z$1.ZodOptional<z$1.ZodString>;
1279
1303
  role: z$1.ZodOptional<z$1.ZodString>;
1304
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1305
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1306
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1307
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1280
1308
  } & {
1281
1309
  authMethod: z$1.ZodLiteral<"snowflake">;
1282
1310
  clientId: z$1.ZodString;
@@ -1289,6 +1317,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1289
1317
  database?: string | undefined;
1290
1318
  warehouse?: string | undefined;
1291
1319
  role?: string | undefined;
1320
+ dbt?: boolean | undefined;
1321
+ dbtServiceToken?: string | undefined;
1322
+ dbtPrimaryJobId?: string | undefined;
1323
+ dbtProxyServerUrl?: string | undefined;
1292
1324
  }, {
1293
1325
  authMethod: "snowflake";
1294
1326
  clientId: string;
@@ -1297,11 +1329,19 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1297
1329
  database?: string | undefined;
1298
1330
  warehouse?: string | undefined;
1299
1331
  role?: string | undefined;
1332
+ dbt?: boolean | undefined;
1333
+ dbtServiceToken?: string | undefined;
1334
+ dbtPrimaryJobId?: string | undefined;
1335
+ dbtProxyServerUrl?: string | undefined;
1300
1336
  }>, z$1.ZodObject<{
1301
1337
  accountName: z$1.ZodString;
1302
1338
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1303
1339
  database: z$1.ZodOptional<z$1.ZodString>;
1304
1340
  role: z$1.ZodOptional<z$1.ZodString>;
1341
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1342
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1343
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1344
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1305
1345
  } & {
1306
1346
  authMethod: z$1.ZodLiteral<"azure">;
1307
1347
  clientId: z$1.ZodString;
@@ -1318,6 +1358,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1318
1358
  database?: string | undefined;
1319
1359
  warehouse?: string | undefined;
1320
1360
  role?: string | undefined;
1361
+ dbt?: boolean | undefined;
1362
+ dbtServiceToken?: string | undefined;
1363
+ dbtPrimaryJobId?: string | undefined;
1364
+ dbtProxyServerUrl?: string | undefined;
1321
1365
  }, {
1322
1366
  authMethod: "azure";
1323
1367
  clientId: string;
@@ -1328,11 +1372,19 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1328
1372
  database?: string | undefined;
1329
1373
  warehouse?: string | undefined;
1330
1374
  role?: string | undefined;
1375
+ dbt?: boolean | undefined;
1376
+ dbtServiceToken?: string | undefined;
1377
+ dbtPrimaryJobId?: string | undefined;
1378
+ dbtProxyServerUrl?: string | undefined;
1331
1379
  }>, z$1.ZodObject<{
1332
1380
  accountName: z$1.ZodString;
1333
1381
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1334
1382
  database: z$1.ZodOptional<z$1.ZodString>;
1335
1383
  role: z$1.ZodOptional<z$1.ZodString>;
1384
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1385
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1386
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1387
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1336
1388
  } & {
1337
1389
  authMethod: z$1.ZodLiteral<"key-pair">;
1338
1390
  }, "strip", z$1.ZodTypeAny, {
@@ -1341,17 +1393,29 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1341
1393
  database?: string | undefined;
1342
1394
  warehouse?: string | undefined;
1343
1395
  role?: string | undefined;
1396
+ dbt?: boolean | undefined;
1397
+ dbtServiceToken?: string | undefined;
1398
+ dbtPrimaryJobId?: string | undefined;
1399
+ dbtProxyServerUrl?: string | undefined;
1344
1400
  }, {
1345
1401
  authMethod: "key-pair";
1346
1402
  accountName: string;
1347
1403
  database?: string | undefined;
1348
1404
  warehouse?: string | undefined;
1349
1405
  role?: string | undefined;
1406
+ dbt?: boolean | undefined;
1407
+ dbtServiceToken?: string | undefined;
1408
+ dbtPrimaryJobId?: string | undefined;
1409
+ dbtProxyServerUrl?: string | undefined;
1350
1410
  }>, z$1.ZodObject<{
1351
1411
  accountName: z$1.ZodString;
1352
1412
  warehouse: z$1.ZodOptional<z$1.ZodString>;
1353
1413
  database: z$1.ZodOptional<z$1.ZodString>;
1354
1414
  role: z$1.ZodOptional<z$1.ZodString>;
1415
+ dbt: z$1.ZodOptional<z$1.ZodBoolean>;
1416
+ dbtServiceToken: z$1.ZodOptional<z$1.ZodString>;
1417
+ dbtPrimaryJobId: z$1.ZodOptional<z$1.ZodString>;
1418
+ dbtProxyServerUrl: z$1.ZodOptional<z$1.ZodString>;
1355
1419
  } & {
1356
1420
  authMethod: z$1.ZodLiteral<"service-account-key-pair">;
1357
1421
  username: z$1.ZodString;
@@ -1365,6 +1429,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1365
1429
  database?: string | undefined;
1366
1430
  warehouse?: string | undefined;
1367
1431
  role?: string | undefined;
1432
+ dbt?: boolean | undefined;
1433
+ dbtServiceToken?: string | undefined;
1434
+ dbtPrimaryJobId?: string | undefined;
1435
+ dbtProxyServerUrl?: string | undefined;
1368
1436
  privateKeyPassphrase?: string | undefined;
1369
1437
  }, {
1370
1438
  authMethod: "service-account-key-pair";
@@ -1374,21 +1442,23 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1374
1442
  database?: string | undefined;
1375
1443
  warehouse?: string | undefined;
1376
1444
  role?: string | undefined;
1445
+ dbt?: boolean | undefined;
1446
+ dbtServiceToken?: string | undefined;
1447
+ dbtPrimaryJobId?: string | undefined;
1448
+ dbtProxyServerUrl?: string | undefined;
1377
1449
  privateKeyPassphrase?: string | undefined;
1378
- }>]>;
1379
- federated_auth_method: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodEnum<["okta", "snowflake", "azure", "key-pair", "password", "service-account-key-pair"]>>>;
1380
- }, "strip", z$1.ZodTypeAny, {
1381
- type: "snowflake";
1382
- id: string;
1383
- name: string;
1384
- metadata: {
1450
+ }>]>, {
1385
1451
  password: string;
1386
- authMethod: "password";
1387
1452
  accountName: string;
1388
1453
  username: string;
1389
1454
  database?: string | undefined;
1455
+ authMethod?: "password" | undefined;
1390
1456
  warehouse?: string | undefined;
1391
1457
  role?: string | undefined;
1458
+ dbt?: boolean | undefined;
1459
+ dbtServiceToken?: string | undefined;
1460
+ dbtPrimaryJobId?: string | undefined;
1461
+ dbtProxyServerUrl?: string | undefined;
1392
1462
  } | {
1393
1463
  authMethod: "okta";
1394
1464
  clientId: string;
@@ -1400,6 +1470,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1400
1470
  database?: string | undefined;
1401
1471
  warehouse?: string | undefined;
1402
1472
  role?: string | undefined;
1473
+ dbt?: boolean | undefined;
1474
+ dbtServiceToken?: string | undefined;
1475
+ dbtPrimaryJobId?: string | undefined;
1476
+ dbtProxyServerUrl?: string | undefined;
1403
1477
  } | {
1404
1478
  authMethod: "snowflake";
1405
1479
  clientId: string;
@@ -1408,6 +1482,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1408
1482
  database?: string | undefined;
1409
1483
  warehouse?: string | undefined;
1410
1484
  role?: string | undefined;
1485
+ dbt?: boolean | undefined;
1486
+ dbtServiceToken?: string | undefined;
1487
+ dbtPrimaryJobId?: string | undefined;
1488
+ dbtProxyServerUrl?: string | undefined;
1411
1489
  } | {
1412
1490
  authMethod: "azure";
1413
1491
  clientId: string;
@@ -1418,12 +1496,20 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1418
1496
  database?: string | undefined;
1419
1497
  warehouse?: string | undefined;
1420
1498
  role?: string | undefined;
1499
+ dbt?: boolean | undefined;
1500
+ dbtServiceToken?: string | undefined;
1501
+ dbtPrimaryJobId?: string | undefined;
1502
+ dbtProxyServerUrl?: string | undefined;
1421
1503
  } | {
1422
1504
  authMethod: "key-pair";
1423
1505
  accountName: string;
1424
1506
  database?: string | undefined;
1425
1507
  warehouse?: string | undefined;
1426
1508
  role?: string | undefined;
1509
+ dbt?: boolean | undefined;
1510
+ dbtServiceToken?: string | undefined;
1511
+ dbtPrimaryJobId?: string | undefined;
1512
+ dbtProxyServerUrl?: string | undefined;
1427
1513
  } | {
1428
1514
  authMethod: "service-account-key-pair";
1429
1515
  accountName: string;
@@ -1432,21 +1518,29 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1432
1518
  database?: string | undefined;
1433
1519
  warehouse?: string | undefined;
1434
1520
  role?: string | undefined;
1521
+ dbt?: boolean | undefined;
1522
+ dbtServiceToken?: string | undefined;
1523
+ dbtPrimaryJobId?: string | undefined;
1524
+ dbtProxyServerUrl?: string | undefined;
1435
1525
  privateKeyPassphrase?: string | undefined;
1436
- };
1437
- federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1438
- }, {
1526
+ }, unknown>;
1527
+ federated_auth_method: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodEnum<["okta", "snowflake", "azure", "key-pair", "password", "service-account-key-pair"]>>>;
1528
+ }, "strip", z$1.ZodTypeAny, {
1439
1529
  type: "snowflake";
1440
1530
  id: string;
1441
1531
  name: string;
1442
1532
  metadata: {
1443
1533
  password: string;
1444
- authMethod: "password";
1445
1534
  accountName: string;
1446
1535
  username: string;
1447
1536
  database?: string | undefined;
1537
+ authMethod?: "password" | undefined;
1448
1538
  warehouse?: string | undefined;
1449
1539
  role?: string | undefined;
1540
+ dbt?: boolean | undefined;
1541
+ dbtServiceToken?: string | undefined;
1542
+ dbtPrimaryJobId?: string | undefined;
1543
+ dbtProxyServerUrl?: string | undefined;
1450
1544
  } | {
1451
1545
  authMethod: "okta";
1452
1546
  clientId: string;
@@ -1458,6 +1552,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1458
1552
  database?: string | undefined;
1459
1553
  warehouse?: string | undefined;
1460
1554
  role?: string | undefined;
1555
+ dbt?: boolean | undefined;
1556
+ dbtServiceToken?: string | undefined;
1557
+ dbtPrimaryJobId?: string | undefined;
1558
+ dbtProxyServerUrl?: string | undefined;
1461
1559
  } | {
1462
1560
  authMethod: "snowflake";
1463
1561
  clientId: string;
@@ -1466,6 +1564,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1466
1564
  database?: string | undefined;
1467
1565
  warehouse?: string | undefined;
1468
1566
  role?: string | undefined;
1567
+ dbt?: boolean | undefined;
1568
+ dbtServiceToken?: string | undefined;
1569
+ dbtPrimaryJobId?: string | undefined;
1570
+ dbtProxyServerUrl?: string | undefined;
1469
1571
  } | {
1470
1572
  authMethod: "azure";
1471
1573
  clientId: string;
@@ -1476,12 +1578,20 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1476
1578
  database?: string | undefined;
1477
1579
  warehouse?: string | undefined;
1478
1580
  role?: string | undefined;
1581
+ dbt?: boolean | undefined;
1582
+ dbtServiceToken?: string | undefined;
1583
+ dbtPrimaryJobId?: string | undefined;
1584
+ dbtProxyServerUrl?: string | undefined;
1479
1585
  } | {
1480
1586
  authMethod: "key-pair";
1481
1587
  accountName: string;
1482
1588
  database?: string | undefined;
1483
1589
  warehouse?: string | undefined;
1484
1590
  role?: string | undefined;
1591
+ dbt?: boolean | undefined;
1592
+ dbtServiceToken?: string | undefined;
1593
+ dbtPrimaryJobId?: string | undefined;
1594
+ dbtProxyServerUrl?: string | undefined;
1485
1595
  } | {
1486
1596
  authMethod: "service-account-key-pair";
1487
1597
  accountName: string;
@@ -1490,9 +1600,19 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1490
1600
  database?: string | undefined;
1491
1601
  warehouse?: string | undefined;
1492
1602
  role?: string | undefined;
1603
+ dbt?: boolean | undefined;
1604
+ dbtServiceToken?: string | undefined;
1605
+ dbtPrimaryJobId?: string | undefined;
1606
+ dbtProxyServerUrl?: string | undefined;
1493
1607
  privateKeyPassphrase?: string | undefined;
1494
1608
  };
1495
- federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1609
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1610
+ }, {
1611
+ type: "snowflake";
1612
+ id: string;
1613
+ name: string;
1614
+ metadata?: unknown;
1615
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1496
1616
  }>, z$1.ZodObject<{
1497
1617
  id: z$1.ZodString;
1498
1618
  name: z$1.ZodString;
@@ -1554,9 +1674,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1554
1674
  } & {
1555
1675
  port: z$1.ZodString;
1556
1676
  }, "strip", z$1.ZodTypeAny, {
1557
- password: string;
1558
1677
  host: string;
1559
1678
  user: string;
1679
+ password: string;
1560
1680
  database: string;
1561
1681
  port: string;
1562
1682
  sshEnabled?: boolean | undefined;
@@ -1564,9 +1684,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1564
1684
  sshPort?: string | undefined;
1565
1685
  sshUser?: string | undefined;
1566
1686
  }, {
1567
- password: string;
1568
1687
  host: string;
1569
1688
  user: string;
1689
+ password: string;
1570
1690
  database: string;
1571
1691
  port: string;
1572
1692
  sshEnabled?: boolean | undefined;
@@ -1580,9 +1700,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1580
1700
  id: string;
1581
1701
  name: string;
1582
1702
  metadata: {
1583
- password: string;
1584
1703
  host: string;
1585
1704
  user: string;
1705
+ password: string;
1586
1706
  database: string;
1587
1707
  port: string;
1588
1708
  sshEnabled?: boolean | undefined;
@@ -1596,9 +1716,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1596
1716
  id: string;
1597
1717
  name: string;
1598
1718
  metadata: {
1599
- password: string;
1600
1719
  host: string;
1601
1720
  user: string;
1721
+ password: string;
1602
1722
  database: string;
1603
1723
  port: string;
1604
1724
  sshEnabled?: boolean | undefined;
@@ -1624,60 +1744,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1624
1744
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1625
1745
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1626
1746
  } & {
1747
+ authMethod: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodLiteral<"password">>>;
1627
1748
  user: z$1.ZodString;
1628
1749
  password: z$1.ZodString;
1629
- } & {
1630
- authMethod: z$1.ZodLiteral<null>;
1631
1750
  }, "strip", z$1.ZodTypeAny, {
1632
- password: string;
1633
1751
  host: string;
1634
1752
  user: string;
1635
- database: string;
1636
- authMethod: null;
1637
- sshEnabled?: boolean | undefined;
1638
- sshHost?: string | undefined;
1639
- sshPort?: string | undefined;
1640
- sshUser?: string | undefined;
1641
- port?: string | undefined;
1642
- sslEnabled?: boolean | undefined;
1643
- caCertificateName?: string | undefined;
1644
- caCertificateText?: string | undefined;
1645
- }, {
1646
1753
  password: string;
1647
- host: string;
1648
- user: string;
1649
1754
  database: string;
1650
- authMethod: null;
1651
- sshEnabled?: boolean | undefined;
1652
- sshHost?: string | undefined;
1653
- sshPort?: string | undefined;
1654
- sshUser?: string | undefined;
1655
- port?: string | undefined;
1656
- sslEnabled?: boolean | undefined;
1657
- caCertificateName?: string | undefined;
1658
- caCertificateText?: string | undefined;
1659
- }>, z$1.ZodObject<{
1660
- host: z$1.ZodString;
1661
- port: z$1.ZodOptional<z$1.ZodString>;
1662
- database: z$1.ZodString;
1663
- sshEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1664
- sshHost: z$1.ZodOptional<z$1.ZodString>;
1665
- sshPort: z$1.ZodOptional<z$1.ZodString>;
1666
- sshUser: z$1.ZodOptional<z$1.ZodString>;
1667
- sslEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1668
- caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1669
- caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1670
- } & {
1671
- user: z$1.ZodString;
1672
- password: z$1.ZodString;
1673
- } & {
1674
- authMethod: z$1.ZodLiteral<"password">;
1675
- }, "strip", z$1.ZodTypeAny, {
1676
- password: string;
1677
- host: string;
1678
- user: string;
1679
- database: string;
1680
- authMethod: "password";
1681
1755
  sshEnabled?: boolean | undefined;
1682
1756
  sshHost?: string | undefined;
1683
1757
  sshPort?: string | undefined;
@@ -1686,12 +1760,12 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1686
1760
  sslEnabled?: boolean | undefined;
1687
1761
  caCertificateName?: string | undefined;
1688
1762
  caCertificateText?: string | undefined;
1763
+ authMethod?: "password" | null | undefined;
1689
1764
  }, {
1690
- password: string;
1691
1765
  host: string;
1692
1766
  user: string;
1767
+ password: string;
1693
1768
  database: string;
1694
- authMethod: "password";
1695
1769
  sshEnabled?: boolean | undefined;
1696
1770
  sshHost?: string | undefined;
1697
1771
  sshPort?: string | undefined;
@@ -1700,6 +1774,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1700
1774
  sslEnabled?: boolean | undefined;
1701
1775
  caCertificateName?: string | undefined;
1702
1776
  caCertificateText?: string | undefined;
1777
+ authMethod?: "password" | null | undefined;
1703
1778
  }>, z$1.ZodObject<{
1704
1779
  host: z$1.ZodString;
1705
1780
  port: z$1.ZodOptional<z$1.ZodString>;
@@ -1712,7 +1787,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1712
1787
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1713
1788
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1714
1789
  } & {
1715
- authMethod: z$1.ZodLiteral<"oauth">;
1790
+ authMethod: z$1.ZodLiteral<"trino-oauth">;
1716
1791
  clientId: z$1.ZodString;
1717
1792
  clientSecret: z$1.ZodString;
1718
1793
  authUrl: z$1.ZodString;
@@ -1720,7 +1795,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1720
1795
  }, "strip", z$1.ZodTypeAny, {
1721
1796
  host: string;
1722
1797
  database: string;
1723
- authMethod: "oauth";
1798
+ authMethod: "trino-oauth";
1724
1799
  clientId: string;
1725
1800
  clientSecret: string;
1726
1801
  authUrl: string;
@@ -1736,7 +1811,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1736
1811
  }, {
1737
1812
  host: string;
1738
1813
  database: string;
1739
- authMethod: "oauth";
1814
+ authMethod: "trino-oauth";
1740
1815
  clientId: string;
1741
1816
  clientSecret: string;
1742
1817
  authUrl: string;
@@ -1756,25 +1831,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1756
1831
  id: string;
1757
1832
  name: string;
1758
1833
  metadata: {
1759
- password: string;
1760
1834
  host: string;
1761
1835
  user: string;
1762
- database: string;
1763
- authMethod: null;
1764
- sshEnabled?: boolean | undefined;
1765
- sshHost?: string | undefined;
1766
- sshPort?: string | undefined;
1767
- sshUser?: string | undefined;
1768
- port?: string | undefined;
1769
- sslEnabled?: boolean | undefined;
1770
- caCertificateName?: string | undefined;
1771
- caCertificateText?: string | undefined;
1772
- } | {
1773
1836
  password: string;
1774
- host: string;
1775
- user: string;
1776
1837
  database: string;
1777
- authMethod: "password";
1778
1838
  sshEnabled?: boolean | undefined;
1779
1839
  sshHost?: string | undefined;
1780
1840
  sshPort?: string | undefined;
@@ -1783,10 +1843,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1783
1843
  sslEnabled?: boolean | undefined;
1784
1844
  caCertificateName?: string | undefined;
1785
1845
  caCertificateText?: string | undefined;
1846
+ authMethod?: "password" | null | undefined;
1786
1847
  } | {
1787
1848
  host: string;
1788
1849
  database: string;
1789
- authMethod: "oauth";
1850
+ authMethod: "trino-oauth";
1790
1851
  clientId: string;
1791
1852
  clientSecret: string;
1792
1853
  authUrl: string;
@@ -1806,25 +1867,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1806
1867
  id: string;
1807
1868
  name: string;
1808
1869
  metadata: {
1809
- password: string;
1810
1870
  host: string;
1811
1871
  user: string;
1812
- database: string;
1813
- authMethod: null;
1814
- sshEnabled?: boolean | undefined;
1815
- sshHost?: string | undefined;
1816
- sshPort?: string | undefined;
1817
- sshUser?: string | undefined;
1818
- port?: string | undefined;
1819
- sslEnabled?: boolean | undefined;
1820
- caCertificateName?: string | undefined;
1821
- caCertificateText?: string | undefined;
1822
- } | {
1823
1872
  password: string;
1824
- host: string;
1825
- user: string;
1826
1873
  database: string;
1827
- authMethod: "password";
1828
1874
  sshEnabled?: boolean | undefined;
1829
1875
  sshHost?: string | undefined;
1830
1876
  sshPort?: string | undefined;
@@ -1833,10 +1879,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1833
1879
  sslEnabled?: boolean | undefined;
1834
1880
  caCertificateName?: string | undefined;
1835
1881
  caCertificateText?: string | undefined;
1882
+ authMethod?: "password" | null | undefined;
1836
1883
  } | {
1837
1884
  host: string;
1838
1885
  database: string;
1839
- authMethod: "oauth";
1886
+ authMethod: "trino-oauth";
1840
1887
  clientId: string;
1841
1888
  clientSecret: string;
1842
1889
  authUrl: string;
@@ -1874,9 +1921,9 @@ declare const databaseMetadataSchemasByType: {
1874
1921
  caCertificateName: z.ZodOptional<z.ZodString>;
1875
1922
  caCertificateText: z.ZodOptional<z.ZodString>;
1876
1923
  }, "strip", z.ZodTypeAny, {
1877
- password: string;
1878
1924
  host: string;
1879
1925
  user: string;
1926
+ password: string;
1880
1927
  database: string;
1881
1928
  sshEnabled?: boolean | undefined;
1882
1929
  sshHost?: string | undefined;
@@ -1887,9 +1934,9 @@ declare const databaseMetadataSchemasByType: {
1887
1934
  caCertificateName?: string | undefined;
1888
1935
  caCertificateText?: string | undefined;
1889
1936
  }, {
1890
- password: string;
1891
1937
  host: string;
1892
1938
  user: string;
1939
+ password: string;
1893
1940
  database: string;
1894
1941
  sshEnabled?: boolean | undefined;
1895
1942
  sshHost?: string | undefined;
@@ -2061,9 +2108,9 @@ declare const databaseMetadataSchemasByType: {
2061
2108
  caCertificateName: z.ZodOptional<z.ZodString>;
2062
2109
  caCertificateText: z.ZodOptional<z.ZodString>;
2063
2110
  }, "strip", z.ZodTypeAny, {
2064
- password: string;
2065
2111
  host: string;
2066
2112
  user: string;
2113
+ password: string;
2067
2114
  database: string;
2068
2115
  sshEnabled?: boolean | undefined;
2069
2116
  sshHost?: string | undefined;
@@ -2074,9 +2121,9 @@ declare const databaseMetadataSchemasByType: {
2074
2121
  caCertificateName?: string | undefined;
2075
2122
  caCertificateText?: string | undefined;
2076
2123
  }, {
2077
- password: string;
2078
2124
  host: string;
2079
2125
  user: string;
2126
+ password: string;
2080
2127
  database: string;
2081
2128
  sshEnabled?: boolean | undefined;
2082
2129
  sshHost?: string | undefined;
@@ -2104,9 +2151,9 @@ declare const databaseMetadataSchemasByType: {
2104
2151
  } & {
2105
2152
  cluster: z.ZodString;
2106
2153
  }, "strip", z.ZodTypeAny, {
2107
- password: string;
2108
2154
  host: string;
2109
2155
  user: string;
2156
+ password: string;
2110
2157
  database: string;
2111
2158
  cluster: string;
2112
2159
  sshEnabled?: boolean | undefined;
@@ -2118,9 +2165,9 @@ declare const databaseMetadataSchemasByType: {
2118
2165
  caCertificateName?: string | undefined;
2119
2166
  caCertificateText?: string | undefined;
2120
2167
  }, {
2121
- password: string;
2122
2168
  host: string;
2123
2169
  user: string;
2170
+ password: string;
2124
2171
  database: string;
2125
2172
  cluster: string;
2126
2173
  sshEnabled?: boolean | undefined;
@@ -2147,9 +2194,9 @@ declare const databaseMetadataSchemasByType: {
2147
2194
  caCertificateName: z.ZodOptional<z.ZodString>;
2148
2195
  caCertificateText: z.ZodOptional<z.ZodString>;
2149
2196
  }, "strip", z.ZodTypeAny, {
2150
- password: string;
2151
2197
  host: string;
2152
2198
  user: string;
2199
+ password: string;
2153
2200
  database: string;
2154
2201
  sshEnabled?: boolean | undefined;
2155
2202
  sshHost?: string | undefined;
@@ -2160,9 +2207,9 @@ declare const databaseMetadataSchemasByType: {
2160
2207
  caCertificateName?: string | undefined;
2161
2208
  caCertificateText?: string | undefined;
2162
2209
  }, {
2163
- password: string;
2164
2210
  host: string;
2165
2211
  user: string;
2212
+ password: string;
2166
2213
  database: string;
2167
2214
  sshEnabled?: boolean | undefined;
2168
2215
  sshHost?: string | undefined;
@@ -2192,15 +2239,15 @@ declare const databaseMetadataSchemasByType: {
2192
2239
  caCertificateText: z.ZodOptional<z.ZodString>;
2193
2240
  }, "strip", z.ZodTypeAny, {
2194
2241
  connection_string: string;
2195
- password?: string | undefined;
2196
- options?: string | undefined;
2197
2242
  host?: string | undefined;
2198
2243
  user?: string | undefined;
2244
+ password?: string | undefined;
2199
2245
  database?: string | undefined;
2200
2246
  sshEnabled?: boolean | undefined;
2201
2247
  sshHost?: string | undefined;
2202
2248
  sshPort?: string | undefined;
2203
2249
  sshUser?: string | undefined;
2250
+ options?: string | undefined;
2204
2251
  port?: string | undefined;
2205
2252
  sslEnabled?: boolean | undefined;
2206
2253
  caCertificateName?: string | undefined;
@@ -2209,15 +2256,15 @@ declare const databaseMetadataSchemasByType: {
2209
2256
  prefix?: string | undefined;
2210
2257
  }, {
2211
2258
  connection_string: string;
2212
- password?: string | undefined;
2213
- options?: string | undefined;
2214
2259
  host?: string | undefined;
2215
2260
  user?: string | undefined;
2261
+ password?: string | undefined;
2216
2262
  database?: string | undefined;
2217
2263
  sshEnabled?: boolean | undefined;
2218
2264
  sshHost?: string | undefined;
2219
2265
  sshPort?: string | undefined;
2220
2266
  sshUser?: string | undefined;
2267
+ options?: string | undefined;
2221
2268
  port?: string | undefined;
2222
2269
  sslEnabled?: boolean | undefined;
2223
2270
  caCertificateName?: string | undefined;
@@ -2240,9 +2287,9 @@ declare const databaseMetadataSchemasByType: {
2240
2287
  caCertificateName: z.ZodOptional<z.ZodString>;
2241
2288
  caCertificateText: z.ZodOptional<z.ZodString>;
2242
2289
  }, "strip", z.ZodTypeAny, {
2243
- password: string;
2244
2290
  host: string;
2245
2291
  user: string;
2292
+ password: string;
2246
2293
  database: string;
2247
2294
  sshEnabled?: boolean | undefined;
2248
2295
  sshHost?: string | undefined;
@@ -2253,9 +2300,9 @@ declare const databaseMetadataSchemasByType: {
2253
2300
  caCertificateName?: string | undefined;
2254
2301
  caCertificateText?: string | undefined;
2255
2302
  }, {
2256
- password: string;
2257
2303
  host: string;
2258
2304
  user: string;
2305
+ password: string;
2259
2306
  database: string;
2260
2307
  sshEnabled?: boolean | undefined;
2261
2308
  sshHost?: string | undefined;
@@ -2282,9 +2329,9 @@ declare const databaseMetadataSchemasByType: {
2282
2329
  caCertificateName: z.ZodOptional<z.ZodString>;
2283
2330
  caCertificateText: z.ZodOptional<z.ZodString>;
2284
2331
  }, "strip", z.ZodTypeAny, {
2285
- password: string;
2286
2332
  host: string;
2287
2333
  user: string;
2334
+ password: string;
2288
2335
  database: string;
2289
2336
  sshEnabled?: boolean | undefined;
2290
2337
  sshHost?: string | undefined;
@@ -2295,9 +2342,9 @@ declare const databaseMetadataSchemasByType: {
2295
2342
  caCertificateName?: string | undefined;
2296
2343
  caCertificateText?: string | undefined;
2297
2344
  }, {
2298
- password: string;
2299
2345
  host: string;
2300
2346
  user: string;
2347
+ password: string;
2301
2348
  database: string;
2302
2349
  sshEnabled?: boolean | undefined;
2303
2350
  sshHost?: string | undefined;
@@ -2324,9 +2371,9 @@ declare const databaseMetadataSchemasByType: {
2324
2371
  user: z.ZodString;
2325
2372
  password: z.ZodString;
2326
2373
  }, "strip", z.ZodTypeAny, {
2327
- password: string;
2328
2374
  host: string;
2329
2375
  user: string;
2376
+ password: string;
2330
2377
  database: string;
2331
2378
  sshEnabled?: boolean | undefined;
2332
2379
  sshHost?: string | undefined;
@@ -2338,9 +2385,9 @@ declare const databaseMetadataSchemasByType: {
2338
2385
  caCertificateText?: string | undefined;
2339
2386
  authMethod?: "username-and-password" | undefined;
2340
2387
  }, {
2341
- password: string;
2342
2388
  host: string;
2343
2389
  user: string;
2390
+ password: string;
2344
2391
  database: string;
2345
2392
  sshEnabled?: boolean | undefined;
2346
2393
  sshHost?: string | undefined;
@@ -2435,9 +2482,9 @@ declare const databaseMetadataSchemasByType: {
2435
2482
  caCertificateName?: string | undefined;
2436
2483
  caCertificateText?: string | undefined;
2437
2484
  }>]>, {
2438
- password: string;
2439
2485
  host: string;
2440
2486
  user: string;
2487
+ password: string;
2441
2488
  database: string;
2442
2489
  sshEnabled?: boolean | undefined;
2443
2490
  sshHost?: string | undefined;
@@ -2476,36 +2523,52 @@ declare const databaseMetadataSchemasByType: {
2476
2523
  caCertificateName?: string | undefined;
2477
2524
  caCertificateText?: string | undefined;
2478
2525
  }, unknown>;
2479
- readonly snowflake: z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
2526
+ readonly snowflake: z.ZodEffects<z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
2480
2527
  accountName: z.ZodString;
2481
2528
  warehouse: z.ZodOptional<z.ZodString>;
2482
2529
  database: z.ZodOptional<z.ZodString>;
2483
2530
  role: z.ZodOptional<z.ZodString>;
2531
+ dbt: z.ZodOptional<z.ZodBoolean>;
2532
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2533
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2534
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2484
2535
  } & {
2485
- authMethod: z.ZodLiteral<"password">;
2536
+ authMethod: z.ZodOptional<z.ZodLiteral<"password">>;
2486
2537
  username: z.ZodString;
2487
2538
  password: z.ZodString;
2488
2539
  }, "strip", z.ZodTypeAny, {
2489
2540
  password: string;
2490
- authMethod: "password";
2491
2541
  accountName: string;
2492
2542
  username: string;
2493
2543
  database?: string | undefined;
2544
+ authMethod?: "password" | undefined;
2494
2545
  warehouse?: string | undefined;
2495
2546
  role?: string | undefined;
2547
+ dbt?: boolean | undefined;
2548
+ dbtServiceToken?: string | undefined;
2549
+ dbtPrimaryJobId?: string | undefined;
2550
+ dbtProxyServerUrl?: string | undefined;
2496
2551
  }, {
2497
2552
  password: string;
2498
- authMethod: "password";
2499
2553
  accountName: string;
2500
2554
  username: string;
2501
2555
  database?: string | undefined;
2556
+ authMethod?: "password" | undefined;
2502
2557
  warehouse?: string | undefined;
2503
2558
  role?: string | undefined;
2559
+ dbt?: boolean | undefined;
2560
+ dbtServiceToken?: string | undefined;
2561
+ dbtPrimaryJobId?: string | undefined;
2562
+ dbtProxyServerUrl?: string | undefined;
2504
2563
  }>, z.ZodObject<{
2505
2564
  accountName: z.ZodString;
2506
2565
  warehouse: z.ZodOptional<z.ZodString>;
2507
2566
  database: z.ZodOptional<z.ZodString>;
2508
2567
  role: z.ZodOptional<z.ZodString>;
2568
+ dbt: z.ZodOptional<z.ZodBoolean>;
2569
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2570
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2571
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2509
2572
  } & {
2510
2573
  authMethod: z.ZodLiteral<"okta">;
2511
2574
  clientId: z.ZodString;
@@ -2524,6 +2587,10 @@ declare const databaseMetadataSchemasByType: {
2524
2587
  database?: string | undefined;
2525
2588
  warehouse?: string | undefined;
2526
2589
  role?: string | undefined;
2590
+ dbt?: boolean | undefined;
2591
+ dbtServiceToken?: string | undefined;
2592
+ dbtPrimaryJobId?: string | undefined;
2593
+ dbtProxyServerUrl?: string | undefined;
2527
2594
  }, {
2528
2595
  authMethod: "okta";
2529
2596
  clientId: string;
@@ -2535,11 +2602,19 @@ declare const databaseMetadataSchemasByType: {
2535
2602
  database?: string | undefined;
2536
2603
  warehouse?: string | undefined;
2537
2604
  role?: string | undefined;
2605
+ dbt?: boolean | undefined;
2606
+ dbtServiceToken?: string | undefined;
2607
+ dbtPrimaryJobId?: string | undefined;
2608
+ dbtProxyServerUrl?: string | undefined;
2538
2609
  }>, z.ZodObject<{
2539
2610
  accountName: z.ZodString;
2540
2611
  warehouse: z.ZodOptional<z.ZodString>;
2541
2612
  database: z.ZodOptional<z.ZodString>;
2542
2613
  role: z.ZodOptional<z.ZodString>;
2614
+ dbt: z.ZodOptional<z.ZodBoolean>;
2615
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2616
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2617
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2543
2618
  } & {
2544
2619
  authMethod: z.ZodLiteral<"snowflake">;
2545
2620
  clientId: z.ZodString;
@@ -2552,6 +2627,10 @@ declare const databaseMetadataSchemasByType: {
2552
2627
  database?: string | undefined;
2553
2628
  warehouse?: string | undefined;
2554
2629
  role?: string | undefined;
2630
+ dbt?: boolean | undefined;
2631
+ dbtServiceToken?: string | undefined;
2632
+ dbtPrimaryJobId?: string | undefined;
2633
+ dbtProxyServerUrl?: string | undefined;
2555
2634
  }, {
2556
2635
  authMethod: "snowflake";
2557
2636
  clientId: string;
@@ -2560,11 +2639,19 @@ declare const databaseMetadataSchemasByType: {
2560
2639
  database?: string | undefined;
2561
2640
  warehouse?: string | undefined;
2562
2641
  role?: string | undefined;
2642
+ dbt?: boolean | undefined;
2643
+ dbtServiceToken?: string | undefined;
2644
+ dbtPrimaryJobId?: string | undefined;
2645
+ dbtProxyServerUrl?: string | undefined;
2563
2646
  }>, z.ZodObject<{
2564
2647
  accountName: z.ZodString;
2565
2648
  warehouse: z.ZodOptional<z.ZodString>;
2566
2649
  database: z.ZodOptional<z.ZodString>;
2567
2650
  role: z.ZodOptional<z.ZodString>;
2651
+ dbt: z.ZodOptional<z.ZodBoolean>;
2652
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2653
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2654
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2568
2655
  } & {
2569
2656
  authMethod: z.ZodLiteral<"azure">;
2570
2657
  clientId: z.ZodString;
@@ -2581,6 +2668,10 @@ declare const databaseMetadataSchemasByType: {
2581
2668
  database?: string | undefined;
2582
2669
  warehouse?: string | undefined;
2583
2670
  role?: string | undefined;
2671
+ dbt?: boolean | undefined;
2672
+ dbtServiceToken?: string | undefined;
2673
+ dbtPrimaryJobId?: string | undefined;
2674
+ dbtProxyServerUrl?: string | undefined;
2584
2675
  }, {
2585
2676
  authMethod: "azure";
2586
2677
  clientId: string;
@@ -2591,11 +2682,19 @@ declare const databaseMetadataSchemasByType: {
2591
2682
  database?: string | undefined;
2592
2683
  warehouse?: string | undefined;
2593
2684
  role?: string | undefined;
2685
+ dbt?: boolean | undefined;
2686
+ dbtServiceToken?: string | undefined;
2687
+ dbtPrimaryJobId?: string | undefined;
2688
+ dbtProxyServerUrl?: string | undefined;
2594
2689
  }>, z.ZodObject<{
2595
2690
  accountName: z.ZodString;
2596
2691
  warehouse: z.ZodOptional<z.ZodString>;
2597
2692
  database: z.ZodOptional<z.ZodString>;
2598
2693
  role: z.ZodOptional<z.ZodString>;
2694
+ dbt: z.ZodOptional<z.ZodBoolean>;
2695
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2696
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2697
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2599
2698
  } & {
2600
2699
  authMethod: z.ZodLiteral<"key-pair">;
2601
2700
  }, "strip", z.ZodTypeAny, {
@@ -2604,17 +2703,29 @@ declare const databaseMetadataSchemasByType: {
2604
2703
  database?: string | undefined;
2605
2704
  warehouse?: string | undefined;
2606
2705
  role?: string | undefined;
2706
+ dbt?: boolean | undefined;
2707
+ dbtServiceToken?: string | undefined;
2708
+ dbtPrimaryJobId?: string | undefined;
2709
+ dbtProxyServerUrl?: string | undefined;
2607
2710
  }, {
2608
2711
  authMethod: "key-pair";
2609
2712
  accountName: string;
2610
2713
  database?: string | undefined;
2611
2714
  warehouse?: string | undefined;
2612
2715
  role?: string | undefined;
2716
+ dbt?: boolean | undefined;
2717
+ dbtServiceToken?: string | undefined;
2718
+ dbtPrimaryJobId?: string | undefined;
2719
+ dbtProxyServerUrl?: string | undefined;
2613
2720
  }>, z.ZodObject<{
2614
2721
  accountName: z.ZodString;
2615
2722
  warehouse: z.ZodOptional<z.ZodString>;
2616
2723
  database: z.ZodOptional<z.ZodString>;
2617
2724
  role: z.ZodOptional<z.ZodString>;
2725
+ dbt: z.ZodOptional<z.ZodBoolean>;
2726
+ dbtServiceToken: z.ZodOptional<z.ZodString>;
2727
+ dbtPrimaryJobId: z.ZodOptional<z.ZodString>;
2728
+ dbtProxyServerUrl: z.ZodOptional<z.ZodString>;
2618
2729
  } & {
2619
2730
  authMethod: z.ZodLiteral<"service-account-key-pair">;
2620
2731
  username: z.ZodString;
@@ -2628,6 +2739,10 @@ declare const databaseMetadataSchemasByType: {
2628
2739
  database?: string | undefined;
2629
2740
  warehouse?: string | undefined;
2630
2741
  role?: string | undefined;
2742
+ dbt?: boolean | undefined;
2743
+ dbtServiceToken?: string | undefined;
2744
+ dbtPrimaryJobId?: string | undefined;
2745
+ dbtProxyServerUrl?: string | undefined;
2631
2746
  privateKeyPassphrase?: string | undefined;
2632
2747
  }, {
2633
2748
  authMethod: "service-account-key-pair";
@@ -2637,8 +2752,88 @@ declare const databaseMetadataSchemasByType: {
2637
2752
  database?: string | undefined;
2638
2753
  warehouse?: string | undefined;
2639
2754
  role?: string | undefined;
2755
+ dbt?: boolean | undefined;
2756
+ dbtServiceToken?: string | undefined;
2757
+ dbtPrimaryJobId?: string | undefined;
2758
+ dbtProxyServerUrl?: string | undefined;
2640
2759
  privateKeyPassphrase?: string | undefined;
2641
- }>]>;
2760
+ }>]>, {
2761
+ password: string;
2762
+ accountName: string;
2763
+ username: string;
2764
+ database?: string | undefined;
2765
+ authMethod?: "password" | undefined;
2766
+ warehouse?: string | undefined;
2767
+ role?: string | undefined;
2768
+ dbt?: boolean | undefined;
2769
+ dbtServiceToken?: string | undefined;
2770
+ dbtPrimaryJobId?: string | undefined;
2771
+ dbtProxyServerUrl?: string | undefined;
2772
+ } | {
2773
+ authMethod: "okta";
2774
+ clientId: string;
2775
+ clientSecret: string;
2776
+ accountName: string;
2777
+ oktaSubdomain: string;
2778
+ identityProvider: string;
2779
+ authorizationServer: string;
2780
+ database?: string | undefined;
2781
+ warehouse?: string | undefined;
2782
+ role?: string | undefined;
2783
+ dbt?: boolean | undefined;
2784
+ dbtServiceToken?: string | undefined;
2785
+ dbtPrimaryJobId?: string | undefined;
2786
+ dbtProxyServerUrl?: string | undefined;
2787
+ } | {
2788
+ authMethod: "snowflake";
2789
+ clientId: string;
2790
+ clientSecret: string;
2791
+ accountName: string;
2792
+ database?: string | undefined;
2793
+ warehouse?: string | undefined;
2794
+ role?: string | undefined;
2795
+ dbt?: boolean | undefined;
2796
+ dbtServiceToken?: string | undefined;
2797
+ dbtPrimaryJobId?: string | undefined;
2798
+ dbtProxyServerUrl?: string | undefined;
2799
+ } | {
2800
+ authMethod: "azure";
2801
+ clientId: string;
2802
+ clientSecret: string;
2803
+ accountName: string;
2804
+ resource: string;
2805
+ tenant: string;
2806
+ database?: string | undefined;
2807
+ warehouse?: string | undefined;
2808
+ role?: string | undefined;
2809
+ dbt?: boolean | undefined;
2810
+ dbtServiceToken?: string | undefined;
2811
+ dbtPrimaryJobId?: string | undefined;
2812
+ dbtProxyServerUrl?: string | undefined;
2813
+ } | {
2814
+ authMethod: "key-pair";
2815
+ accountName: string;
2816
+ database?: string | undefined;
2817
+ warehouse?: string | undefined;
2818
+ role?: string | undefined;
2819
+ dbt?: boolean | undefined;
2820
+ dbtServiceToken?: string | undefined;
2821
+ dbtPrimaryJobId?: string | undefined;
2822
+ dbtProxyServerUrl?: string | undefined;
2823
+ } | {
2824
+ authMethod: "service-account-key-pair";
2825
+ accountName: string;
2826
+ username: string;
2827
+ privateKey: string;
2828
+ database?: string | undefined;
2829
+ warehouse?: string | undefined;
2830
+ role?: string | undefined;
2831
+ dbt?: boolean | undefined;
2832
+ dbtServiceToken?: string | undefined;
2833
+ dbtPrimaryJobId?: string | undefined;
2834
+ dbtProxyServerUrl?: string | undefined;
2835
+ privateKeyPassphrase?: string | undefined;
2836
+ }, unknown>;
2642
2837
  readonly spanner: z.ZodObject<{
2643
2838
  service_account: z.ZodString;
2644
2839
  dataBoostEnabled: z.ZodBoolean;
@@ -2667,9 +2862,9 @@ declare const databaseMetadataSchemasByType: {
2667
2862
  } & {
2668
2863
  port: z.ZodString;
2669
2864
  }, "strip", z.ZodTypeAny, {
2670
- password: string;
2671
2865
  host: string;
2672
2866
  user: string;
2867
+ password: string;
2673
2868
  database: string;
2674
2869
  port: string;
2675
2870
  sshEnabled?: boolean | undefined;
@@ -2677,9 +2872,9 @@ declare const databaseMetadataSchemasByType: {
2677
2872
  sshPort?: string | undefined;
2678
2873
  sshUser?: string | undefined;
2679
2874
  }, {
2680
- password: string;
2681
2875
  host: string;
2682
2876
  user: string;
2877
+ password: string;
2683
2878
  database: string;
2684
2879
  port: string;
2685
2880
  sshEnabled?: boolean | undefined;
@@ -2699,60 +2894,14 @@ declare const databaseMetadataSchemasByType: {
2699
2894
  caCertificateName: z.ZodOptional<z.ZodString>;
2700
2895
  caCertificateText: z.ZodOptional<z.ZodString>;
2701
2896
  } & {
2897
+ authMethod: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"password">>>;
2702
2898
  user: z.ZodString;
2703
2899
  password: z.ZodString;
2704
- } & {
2705
- authMethod: z.ZodLiteral<null>;
2706
2900
  }, "strip", z.ZodTypeAny, {
2707
- password: string;
2708
2901
  host: string;
2709
2902
  user: string;
2710
- database: string;
2711
- authMethod: null;
2712
- sshEnabled?: boolean | undefined;
2713
- sshHost?: string | undefined;
2714
- sshPort?: string | undefined;
2715
- sshUser?: string | undefined;
2716
- port?: string | undefined;
2717
- sslEnabled?: boolean | undefined;
2718
- caCertificateName?: string | undefined;
2719
- caCertificateText?: string | undefined;
2720
- }, {
2721
- password: string;
2722
- host: string;
2723
- user: string;
2724
- database: string;
2725
- authMethod: null;
2726
- sshEnabled?: boolean | undefined;
2727
- sshHost?: string | undefined;
2728
- sshPort?: string | undefined;
2729
- sshUser?: string | undefined;
2730
- port?: string | undefined;
2731
- sslEnabled?: boolean | undefined;
2732
- caCertificateName?: string | undefined;
2733
- caCertificateText?: string | undefined;
2734
- }>, z.ZodObject<{
2735
- host: z.ZodString;
2736
- port: z.ZodOptional<z.ZodString>;
2737
- database: z.ZodString;
2738
- sshEnabled: z.ZodOptional<z.ZodBoolean>;
2739
- sshHost: z.ZodOptional<z.ZodString>;
2740
- sshPort: z.ZodOptional<z.ZodString>;
2741
- sshUser: z.ZodOptional<z.ZodString>;
2742
- sslEnabled: z.ZodOptional<z.ZodBoolean>;
2743
- caCertificateName: z.ZodOptional<z.ZodString>;
2744
- caCertificateText: z.ZodOptional<z.ZodString>;
2745
- } & {
2746
- user: z.ZodString;
2747
- password: z.ZodString;
2748
- } & {
2749
- authMethod: z.ZodLiteral<"password">;
2750
- }, "strip", z.ZodTypeAny, {
2751
2903
  password: string;
2752
- host: string;
2753
- user: string;
2754
2904
  database: string;
2755
- authMethod: "password";
2756
2905
  sshEnabled?: boolean | undefined;
2757
2906
  sshHost?: string | undefined;
2758
2907
  sshPort?: string | undefined;
@@ -2761,12 +2910,12 @@ declare const databaseMetadataSchemasByType: {
2761
2910
  sslEnabled?: boolean | undefined;
2762
2911
  caCertificateName?: string | undefined;
2763
2912
  caCertificateText?: string | undefined;
2913
+ authMethod?: "password" | null | undefined;
2764
2914
  }, {
2765
- password: string;
2766
2915
  host: string;
2767
2916
  user: string;
2917
+ password: string;
2768
2918
  database: string;
2769
- authMethod: "password";
2770
2919
  sshEnabled?: boolean | undefined;
2771
2920
  sshHost?: string | undefined;
2772
2921
  sshPort?: string | undefined;
@@ -2775,6 +2924,7 @@ declare const databaseMetadataSchemasByType: {
2775
2924
  sslEnabled?: boolean | undefined;
2776
2925
  caCertificateName?: string | undefined;
2777
2926
  caCertificateText?: string | undefined;
2927
+ authMethod?: "password" | null | undefined;
2778
2928
  }>, z.ZodObject<{
2779
2929
  host: z.ZodString;
2780
2930
  port: z.ZodOptional<z.ZodString>;
@@ -2787,7 +2937,7 @@ declare const databaseMetadataSchemasByType: {
2787
2937
  caCertificateName: z.ZodOptional<z.ZodString>;
2788
2938
  caCertificateText: z.ZodOptional<z.ZodString>;
2789
2939
  } & {
2790
- authMethod: z.ZodLiteral<"oauth">;
2940
+ authMethod: z.ZodLiteral<"trino-oauth">;
2791
2941
  clientId: z.ZodString;
2792
2942
  clientSecret: z.ZodString;
2793
2943
  authUrl: z.ZodString;
@@ -2795,7 +2945,7 @@ declare const databaseMetadataSchemasByType: {
2795
2945
  }, "strip", z.ZodTypeAny, {
2796
2946
  host: string;
2797
2947
  database: string;
2798
- authMethod: "oauth";
2948
+ authMethod: "trino-oauth";
2799
2949
  clientId: string;
2800
2950
  clientSecret: string;
2801
2951
  authUrl: string;
@@ -2811,7 +2961,7 @@ declare const databaseMetadataSchemasByType: {
2811
2961
  }, {
2812
2962
  host: string;
2813
2963
  database: string;
2814
- authMethod: "oauth";
2964
+ authMethod: "trino-oauth";
2815
2965
  clientId: string;
2816
2966
  clientSecret: string;
2817
2967
  authUrl: string;
@@ -2912,7 +3062,7 @@ declare const BigQueryAuthMethods: {
2912
3062
  type BigQueryAuthMethod = (typeof BigQueryAuthMethods)[keyof typeof BigQueryAuthMethods];
2913
3063
  declare const TrinoAuthMethods: {
2914
3064
  readonly Password: "password";
2915
- readonly Oauth: "oauth";
3065
+ readonly Oauth: "trino-oauth";
2916
3066
  };
2917
3067
  type TrinoAuthMethod = (typeof TrinoAuthMethods)[keyof typeof TrinoAuthMethods];
2918
3068
  declare const DatabaseAuthMethods: {
@@ -2920,7 +3070,7 @@ declare const DatabaseAuthMethods: {
2920
3070
  readonly IndividualCredentials: "individual-credentials";
2921
3071
  };
2922
3072
  type DatabaseAuthMethod = (typeof DatabaseAuthMethods)[keyof typeof DatabaseAuthMethods];
2923
- declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials", "oauth"];
3073
+ declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials", "trino-oauth"];
2924
3074
  type FederatedAuthMethod = (typeof federatedAuthMethods)[number];
2925
3075
  declare function isFederatedAuthMethod(authMethod: string): authMethod is FederatedAuthMethod;
2926
3076
  declare function isFederatedAuthMetadata<M extends {