@deepnote/database-integrations 1.3.0 → 1.3.2

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;
35
36
  host: string;
36
37
  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;
48
49
  host: string;
49
50
  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;
67
68
  host: string;
68
69
  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;
86
87
  host: string;
87
88
  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;
450
451
  host: string;
451
452
  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;
463
464
  host: string;
464
465
  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;
482
483
  host: string;
483
484
  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;
501
502
  host: string;
502
503
  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;
537
538
  host: string;
538
539
  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;
551
552
  host: string;
552
553
  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;
571
572
  host: string;
572
573
  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;
591
592
  host: string;
592
593
  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;
626
627
  host: string;
627
628
  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;
639
640
  host: string;
640
641
  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;
658
659
  host: string;
659
660
  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;
677
678
  host: string;
678
679
  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;
715
717
  host?: string | undefined;
716
718
  user?: string | undefined;
717
- password?: string | undefined;
718
719
  database?: string | undefined;
719
720
  sshEnabled?: boolean | undefined;
720
721
  sshHost?: string | undefined;
721
722
  sshPort?: string | undefined;
722
723
  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;
732
734
  host?: string | undefined;
733
735
  user?: string | undefined;
734
- password?: string | undefined;
735
736
  database?: string | undefined;
736
737
  sshEnabled?: boolean | undefined;
737
738
  sshHost?: string | undefined;
738
739
  sshPort?: string | undefined;
739
740
  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;
755
757
  host?: string | undefined;
756
758
  user?: string | undefined;
757
- password?: string | undefined;
758
759
  database?: string | undefined;
759
760
  sshEnabled?: boolean | undefined;
760
761
  sshHost?: string | undefined;
761
762
  sshPort?: string | undefined;
762
763
  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;
778
780
  host?: string | undefined;
779
781
  user?: string | undefined;
780
- password?: string | undefined;
781
782
  database?: string | undefined;
782
783
  sshEnabled?: boolean | undefined;
783
784
  sshHost?: string | undefined;
784
785
  sshPort?: string | undefined;
785
786
  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;
815
816
  host: string;
816
817
  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;
828
829
  host: string;
829
830
  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;
847
848
  host: string;
848
849
  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;
866
867
  host: string;
867
868
  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;
919
920
  host: string;
920
921
  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;
932
933
  host: string;
933
934
  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;
951
952
  host: string;
952
953
  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;
970
971
  host: string;
971
972
  user: string;
972
- password: string;
973
973
  database: string;
974
974
  sshEnabled?: boolean | undefined;
975
975
  sshHost?: string | undefined;
@@ -986,7 +986,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
986
986
  name: z$1.ZodString;
987
987
  } & {
988
988
  type: z$1.ZodLiteral<"redshift">;
989
- metadata: z$1.ZodDiscriminatedUnion<"authMethod", [z$1.ZodObject<{
989
+ metadata: z$1.ZodEffects<z$1.ZodUnion<[z$1.ZodObject<{
990
990
  database: z$1.ZodString;
991
991
  host: z$1.ZodString;
992
992
  port: z$1.ZodOptional<z$1.ZodString>;
@@ -998,15 +998,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
998
998
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
999
999
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1000
1000
  } & {
1001
- authMethod: z$1.ZodLiteral<"username-and-password">;
1001
+ authMethod: z$1.ZodOptional<z$1.ZodLiteral<"username-and-password">>;
1002
1002
  user: z$1.ZodString;
1003
1003
  password: z$1.ZodString;
1004
1004
  }, "strip", z$1.ZodTypeAny, {
1005
+ password: string;
1005
1006
  host: string;
1006
1007
  user: string;
1007
- password: string;
1008
1008
  database: string;
1009
- authMethod: "username-and-password";
1010
1009
  sshEnabled?: boolean | undefined;
1011
1010
  sshHost?: string | undefined;
1012
1011
  sshPort?: string | undefined;
@@ -1015,12 +1014,12 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1015
1014
  sslEnabled?: boolean | undefined;
1016
1015
  caCertificateName?: string | undefined;
1017
1016
  caCertificateText?: string | undefined;
1017
+ authMethod?: "username-and-password" | undefined;
1018
1018
  }, {
1019
+ password: string;
1019
1020
  host: string;
1020
1021
  user: string;
1021
- password: string;
1022
1022
  database: string;
1023
- authMethod: "username-and-password";
1024
1023
  sshEnabled?: boolean | undefined;
1025
1024
  sshHost?: string | undefined;
1026
1025
  sshPort?: string | undefined;
@@ -1029,6 +1028,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1029
1028
  sslEnabled?: boolean | undefined;
1030
1029
  caCertificateName?: string | undefined;
1031
1030
  caCertificateText?: string | undefined;
1031
+ authMethod?: "username-and-password" | undefined;
1032
1032
  }>, z$1.ZodObject<{
1033
1033
  database: z$1.ZodString;
1034
1034
  host: z$1.ZodString;
@@ -1112,18 +1112,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1112
1112
  sslEnabled?: boolean | undefined;
1113
1113
  caCertificateName?: string | undefined;
1114
1114
  caCertificateText?: string | undefined;
1115
- }>]>;
1116
- federated_auth_method: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodEnum<["username-and-password", "iam-role", "individual-credentials"]>>>;
1117
- }, "strip", z$1.ZodTypeAny, {
1118
- type: "redshift";
1119
- id: string;
1120
- name: string;
1121
- metadata: {
1115
+ }>]>, {
1116
+ password: string;
1122
1117
  host: string;
1123
1118
  user: string;
1124
- password: string;
1125
1119
  database: string;
1126
- authMethod: "username-and-password";
1127
1120
  sshEnabled?: boolean | undefined;
1128
1121
  sshHost?: string | undefined;
1129
1122
  sshPort?: string | undefined;
@@ -1132,6 +1125,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1132
1125
  sslEnabled?: boolean | undefined;
1133
1126
  caCertificateName?: string | undefined;
1134
1127
  caCertificateText?: string | undefined;
1128
+ authMethod?: "username-and-password" | undefined;
1135
1129
  } | {
1136
1130
  host: string;
1137
1131
  database: string;
@@ -1159,18 +1153,17 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1159
1153
  sslEnabled?: boolean | undefined;
1160
1154
  caCertificateName?: string | undefined;
1161
1155
  caCertificateText?: string | undefined;
1162
- };
1163
- federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1164
- }, {
1156
+ }, unknown>;
1157
+ federated_auth_method: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodEnum<["username-and-password", "iam-role", "individual-credentials"]>>>;
1158
+ }, "strip", z$1.ZodTypeAny, {
1165
1159
  type: "redshift";
1166
1160
  id: string;
1167
1161
  name: string;
1168
1162
  metadata: {
1163
+ password: string;
1169
1164
  host: string;
1170
1165
  user: string;
1171
- password: string;
1172
1166
  database: string;
1173
- authMethod: "username-and-password";
1174
1167
  sshEnabled?: boolean | undefined;
1175
1168
  sshHost?: string | undefined;
1176
1169
  sshPort?: string | undefined;
@@ -1179,6 +1172,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1179
1172
  sslEnabled?: boolean | undefined;
1180
1173
  caCertificateName?: string | undefined;
1181
1174
  caCertificateText?: string | undefined;
1175
+ authMethod?: "username-and-password" | undefined;
1182
1176
  } | {
1183
1177
  host: string;
1184
1178
  database: string;
@@ -1207,7 +1201,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1207
1201
  caCertificateName?: string | undefined;
1208
1202
  caCertificateText?: string | undefined;
1209
1203
  };
1210
- federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1204
+ federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1205
+ }, {
1206
+ type: "redshift";
1207
+ id: string;
1208
+ name: string;
1209
+ metadata?: unknown;
1210
+ federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1211
1211
  }>, z$1.ZodObject<{
1212
1212
  id: z$1.ZodString;
1213
1213
  name: z$1.ZodString;
@@ -1434,7 +1434,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1434
1434
  role?: string | undefined;
1435
1435
  privateKeyPassphrase?: string | undefined;
1436
1436
  };
1437
- federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1437
+ federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1438
1438
  }, {
1439
1439
  type: "snowflake";
1440
1440
  id: string;
@@ -1492,7 +1492,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1492
1492
  role?: string | undefined;
1493
1493
  privateKeyPassphrase?: string | undefined;
1494
1494
  };
1495
- federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1495
+ federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1496
1496
  }>, z$1.ZodObject<{
1497
1497
  id: z$1.ZodString;
1498
1498
  name: z$1.ZodString;
@@ -1554,9 +1554,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1554
1554
  } & {
1555
1555
  port: z$1.ZodString;
1556
1556
  }, "strip", z$1.ZodTypeAny, {
1557
+ password: string;
1557
1558
  host: string;
1558
1559
  user: string;
1559
- password: string;
1560
1560
  database: string;
1561
1561
  port: string;
1562
1562
  sshEnabled?: boolean | undefined;
@@ -1564,9 +1564,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1564
1564
  sshPort?: string | undefined;
1565
1565
  sshUser?: string | undefined;
1566
1566
  }, {
1567
+ password: string;
1567
1568
  host: string;
1568
1569
  user: string;
1569
- password: string;
1570
1570
  database: string;
1571
1571
  port: string;
1572
1572
  sshEnabled?: boolean | undefined;
@@ -1580,9 +1580,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1580
1580
  id: string;
1581
1581
  name: string;
1582
1582
  metadata: {
1583
+ password: string;
1583
1584
  host: string;
1584
1585
  user: string;
1585
- password: string;
1586
1586
  database: string;
1587
1587
  port: string;
1588
1588
  sshEnabled?: boolean | undefined;
@@ -1596,9 +1596,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1596
1596
  id: string;
1597
1597
  name: string;
1598
1598
  metadata: {
1599
+ password: string;
1599
1600
  host: string;
1600
1601
  user: string;
1601
- password: string;
1602
1602
  database: string;
1603
1603
  port: string;
1604
1604
  sshEnabled?: boolean | undefined;
@@ -1626,9 +1626,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1626
1626
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1627
1627
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1628
1628
  }, "strip", z$1.ZodTypeAny, {
1629
+ password: string;
1629
1630
  host: string;
1630
1631
  user: string;
1631
- password: string;
1632
1632
  database: string;
1633
1633
  port: string;
1634
1634
  sshEnabled?: boolean | undefined;
@@ -1639,9 +1639,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1639
1639
  caCertificateName?: string | undefined;
1640
1640
  caCertificateText?: string | undefined;
1641
1641
  }, {
1642
+ password: string;
1642
1643
  host: string;
1643
1644
  user: string;
1644
- password: string;
1645
1645
  database: string;
1646
1646
  port: string;
1647
1647
  sshEnabled?: boolean | undefined;
@@ -1658,9 +1658,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1658
1658
  id: string;
1659
1659
  name: string;
1660
1660
  metadata: {
1661
+ password: string;
1661
1662
  host: string;
1662
1663
  user: string;
1663
- password: string;
1664
1664
  database: string;
1665
1665
  port: string;
1666
1666
  sshEnabled?: boolean | undefined;
@@ -1677,9 +1677,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1677
1677
  id: string;
1678
1678
  name: string;
1679
1679
  metadata: {
1680
+ password: string;
1680
1681
  host: string;
1681
1682
  user: string;
1682
- password: string;
1683
1683
  database: string;
1684
1684
  port: string;
1685
1685
  sshEnabled?: boolean | undefined;
@@ -1714,9 +1714,9 @@ declare const databaseMetadataSchemasByType: {
1714
1714
  caCertificateName: z.ZodOptional<z.ZodString>;
1715
1715
  caCertificateText: z.ZodOptional<z.ZodString>;
1716
1716
  }, "strip", z.ZodTypeAny, {
1717
+ password: string;
1717
1718
  host: string;
1718
1719
  user: string;
1719
- password: string;
1720
1720
  database: string;
1721
1721
  sshEnabled?: boolean | undefined;
1722
1722
  sshHost?: string | undefined;
@@ -1727,9 +1727,9 @@ declare const databaseMetadataSchemasByType: {
1727
1727
  caCertificateName?: string | undefined;
1728
1728
  caCertificateText?: string | undefined;
1729
1729
  }, {
1730
+ password: string;
1730
1731
  host: string;
1731
1732
  user: string;
1732
- password: string;
1733
1733
  database: string;
1734
1734
  sshEnabled?: boolean | undefined;
1735
1735
  sshHost?: string | undefined;
@@ -1901,9 +1901,9 @@ declare const databaseMetadataSchemasByType: {
1901
1901
  caCertificateName: z.ZodOptional<z.ZodString>;
1902
1902
  caCertificateText: z.ZodOptional<z.ZodString>;
1903
1903
  }, "strip", z.ZodTypeAny, {
1904
+ password: string;
1904
1905
  host: string;
1905
1906
  user: string;
1906
- password: string;
1907
1907
  database: string;
1908
1908
  sshEnabled?: boolean | undefined;
1909
1909
  sshHost?: string | undefined;
@@ -1914,9 +1914,9 @@ declare const databaseMetadataSchemasByType: {
1914
1914
  caCertificateName?: string | undefined;
1915
1915
  caCertificateText?: string | undefined;
1916
1916
  }, {
1917
+ password: string;
1917
1918
  host: string;
1918
1919
  user: string;
1919
- password: string;
1920
1920
  database: string;
1921
1921
  sshEnabled?: boolean | undefined;
1922
1922
  sshHost?: string | undefined;
@@ -1944,9 +1944,9 @@ declare const databaseMetadataSchemasByType: {
1944
1944
  } & {
1945
1945
  cluster: z.ZodString;
1946
1946
  }, "strip", z.ZodTypeAny, {
1947
+ password: string;
1947
1948
  host: string;
1948
1949
  user: string;
1949
- password: string;
1950
1950
  database: string;
1951
1951
  cluster: string;
1952
1952
  sshEnabled?: boolean | undefined;
@@ -1958,9 +1958,9 @@ declare const databaseMetadataSchemasByType: {
1958
1958
  caCertificateName?: string | undefined;
1959
1959
  caCertificateText?: string | undefined;
1960
1960
  }, {
1961
+ password: string;
1961
1962
  host: string;
1962
1963
  user: string;
1963
- password: string;
1964
1964
  database: string;
1965
1965
  cluster: string;
1966
1966
  sshEnabled?: boolean | undefined;
@@ -1987,9 +1987,9 @@ declare const databaseMetadataSchemasByType: {
1987
1987
  caCertificateName: z.ZodOptional<z.ZodString>;
1988
1988
  caCertificateText: z.ZodOptional<z.ZodString>;
1989
1989
  }, "strip", z.ZodTypeAny, {
1990
+ password: string;
1990
1991
  host: string;
1991
1992
  user: string;
1992
- password: string;
1993
1993
  database: string;
1994
1994
  sshEnabled?: boolean | undefined;
1995
1995
  sshHost?: string | undefined;
@@ -2000,9 +2000,9 @@ declare const databaseMetadataSchemasByType: {
2000
2000
  caCertificateName?: string | undefined;
2001
2001
  caCertificateText?: string | undefined;
2002
2002
  }, {
2003
+ password: string;
2003
2004
  host: string;
2004
2005
  user: string;
2005
- password: string;
2006
2006
  database: string;
2007
2007
  sshEnabled?: boolean | undefined;
2008
2008
  sshHost?: string | undefined;
@@ -2032,15 +2032,15 @@ declare const databaseMetadataSchemasByType: {
2032
2032
  caCertificateText: z.ZodOptional<z.ZodString>;
2033
2033
  }, "strip", z.ZodTypeAny, {
2034
2034
  connection_string: string;
2035
+ password?: string | undefined;
2036
+ options?: string | undefined;
2035
2037
  host?: string | undefined;
2036
2038
  user?: string | undefined;
2037
- password?: string | undefined;
2038
2039
  database?: string | undefined;
2039
2040
  sshEnabled?: boolean | undefined;
2040
2041
  sshHost?: string | undefined;
2041
2042
  sshPort?: string | undefined;
2042
2043
  sshUser?: string | undefined;
2043
- options?: string | undefined;
2044
2044
  port?: string | undefined;
2045
2045
  sslEnabled?: boolean | undefined;
2046
2046
  caCertificateName?: string | undefined;
@@ -2049,15 +2049,15 @@ declare const databaseMetadataSchemasByType: {
2049
2049
  prefix?: string | undefined;
2050
2050
  }, {
2051
2051
  connection_string: string;
2052
+ password?: string | undefined;
2053
+ options?: string | undefined;
2052
2054
  host?: string | undefined;
2053
2055
  user?: string | undefined;
2054
- password?: string | undefined;
2055
2056
  database?: string | undefined;
2056
2057
  sshEnabled?: boolean | undefined;
2057
2058
  sshHost?: string | undefined;
2058
2059
  sshPort?: string | undefined;
2059
2060
  sshUser?: string | undefined;
2060
- options?: string | undefined;
2061
2061
  port?: string | undefined;
2062
2062
  sslEnabled?: boolean | undefined;
2063
2063
  caCertificateName?: string | undefined;
@@ -2080,9 +2080,9 @@ declare const databaseMetadataSchemasByType: {
2080
2080
  caCertificateName: z.ZodOptional<z.ZodString>;
2081
2081
  caCertificateText: z.ZodOptional<z.ZodString>;
2082
2082
  }, "strip", z.ZodTypeAny, {
2083
+ password: string;
2083
2084
  host: string;
2084
2085
  user: string;
2085
- password: string;
2086
2086
  database: string;
2087
2087
  sshEnabled?: boolean | undefined;
2088
2088
  sshHost?: string | undefined;
@@ -2093,9 +2093,9 @@ declare const databaseMetadataSchemasByType: {
2093
2093
  caCertificateName?: string | undefined;
2094
2094
  caCertificateText?: string | undefined;
2095
2095
  }, {
2096
+ password: string;
2096
2097
  host: string;
2097
2098
  user: string;
2098
- password: string;
2099
2099
  database: string;
2100
2100
  sshEnabled?: boolean | undefined;
2101
2101
  sshHost?: string | undefined;
@@ -2122,9 +2122,9 @@ declare const databaseMetadataSchemasByType: {
2122
2122
  caCertificateName: z.ZodOptional<z.ZodString>;
2123
2123
  caCertificateText: z.ZodOptional<z.ZodString>;
2124
2124
  }, "strip", z.ZodTypeAny, {
2125
+ password: string;
2125
2126
  host: string;
2126
2127
  user: string;
2127
- password: string;
2128
2128
  database: string;
2129
2129
  sshEnabled?: boolean | undefined;
2130
2130
  sshHost?: string | undefined;
@@ -2135,9 +2135,9 @@ declare const databaseMetadataSchemasByType: {
2135
2135
  caCertificateName?: string | undefined;
2136
2136
  caCertificateText?: string | undefined;
2137
2137
  }, {
2138
+ password: string;
2138
2139
  host: string;
2139
2140
  user: string;
2140
- password: string;
2141
2141
  database: string;
2142
2142
  sshEnabled?: boolean | undefined;
2143
2143
  sshHost?: string | undefined;
@@ -2148,7 +2148,7 @@ declare const databaseMetadataSchemasByType: {
2148
2148
  caCertificateName?: string | undefined;
2149
2149
  caCertificateText?: string | undefined;
2150
2150
  }>;
2151
- readonly redshift: z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
2151
+ readonly redshift: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2152
2152
  database: z.ZodString;
2153
2153
  host: z.ZodString;
2154
2154
  port: z.ZodOptional<z.ZodString>;
@@ -2160,15 +2160,14 @@ declare const databaseMetadataSchemasByType: {
2160
2160
  caCertificateName: z.ZodOptional<z.ZodString>;
2161
2161
  caCertificateText: z.ZodOptional<z.ZodString>;
2162
2162
  } & {
2163
- authMethod: z.ZodLiteral<"username-and-password">;
2163
+ authMethod: z.ZodOptional<z.ZodLiteral<"username-and-password">>;
2164
2164
  user: z.ZodString;
2165
2165
  password: z.ZodString;
2166
2166
  }, "strip", z.ZodTypeAny, {
2167
+ password: string;
2167
2168
  host: string;
2168
2169
  user: string;
2169
- password: string;
2170
2170
  database: string;
2171
- authMethod: "username-and-password";
2172
2171
  sshEnabled?: boolean | undefined;
2173
2172
  sshHost?: string | undefined;
2174
2173
  sshPort?: string | undefined;
@@ -2177,12 +2176,12 @@ declare const databaseMetadataSchemasByType: {
2177
2176
  sslEnabled?: boolean | undefined;
2178
2177
  caCertificateName?: string | undefined;
2179
2178
  caCertificateText?: string | undefined;
2179
+ authMethod?: "username-and-password" | undefined;
2180
2180
  }, {
2181
+ password: string;
2181
2182
  host: string;
2182
2183
  user: string;
2183
- password: string;
2184
2184
  database: string;
2185
- authMethod: "username-and-password";
2186
2185
  sshEnabled?: boolean | undefined;
2187
2186
  sshHost?: string | undefined;
2188
2187
  sshPort?: string | undefined;
@@ -2191,6 +2190,7 @@ declare const databaseMetadataSchemasByType: {
2191
2190
  sslEnabled?: boolean | undefined;
2192
2191
  caCertificateName?: string | undefined;
2193
2192
  caCertificateText?: string | undefined;
2193
+ authMethod?: "username-and-password" | undefined;
2194
2194
  }>, z.ZodObject<{
2195
2195
  database: z.ZodString;
2196
2196
  host: z.ZodString;
@@ -2274,7 +2274,48 @@ declare const databaseMetadataSchemasByType: {
2274
2274
  sslEnabled?: boolean | undefined;
2275
2275
  caCertificateName?: string | undefined;
2276
2276
  caCertificateText?: string | undefined;
2277
- }>]>;
2277
+ }>]>, {
2278
+ password: string;
2279
+ host: string;
2280
+ user: string;
2281
+ database: string;
2282
+ sshEnabled?: boolean | undefined;
2283
+ sshHost?: string | undefined;
2284
+ sshPort?: string | undefined;
2285
+ sshUser?: string | undefined;
2286
+ port?: string | undefined;
2287
+ sslEnabled?: boolean | undefined;
2288
+ caCertificateName?: string | undefined;
2289
+ caCertificateText?: string | undefined;
2290
+ authMethod?: "username-and-password" | undefined;
2291
+ } | {
2292
+ host: string;
2293
+ database: string;
2294
+ authMethod: "iam-role";
2295
+ roleArn: string;
2296
+ roleExternalId: string;
2297
+ roleNonce: string;
2298
+ sshEnabled?: boolean | undefined;
2299
+ sshHost?: string | undefined;
2300
+ sshPort?: string | undefined;
2301
+ sshUser?: string | undefined;
2302
+ port?: string | undefined;
2303
+ sslEnabled?: boolean | undefined;
2304
+ caCertificateName?: string | undefined;
2305
+ caCertificateText?: string | undefined;
2306
+ } | {
2307
+ host: string;
2308
+ database: string;
2309
+ authMethod: "individual-credentials";
2310
+ sshEnabled?: boolean | undefined;
2311
+ sshHost?: string | undefined;
2312
+ sshPort?: string | undefined;
2313
+ sshUser?: string | undefined;
2314
+ port?: string | undefined;
2315
+ sslEnabled?: boolean | undefined;
2316
+ caCertificateName?: string | undefined;
2317
+ caCertificateText?: string | undefined;
2318
+ }, unknown>;
2278
2319
  readonly snowflake: z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
2279
2320
  accountName: z.ZodString;
2280
2321
  warehouse: z.ZodOptional<z.ZodString>;
@@ -2466,9 +2507,9 @@ declare const databaseMetadataSchemasByType: {
2466
2507
  } & {
2467
2508
  port: z.ZodString;
2468
2509
  }, "strip", z.ZodTypeAny, {
2510
+ password: string;
2469
2511
  host: string;
2470
2512
  user: string;
2471
- password: string;
2472
2513
  database: string;
2473
2514
  port: string;
2474
2515
  sshEnabled?: boolean | undefined;
@@ -2476,9 +2517,9 @@ declare const databaseMetadataSchemasByType: {
2476
2517
  sshPort?: string | undefined;
2477
2518
  sshUser?: string | undefined;
2478
2519
  }, {
2520
+ password: string;
2479
2521
  host: string;
2480
2522
  user: string;
2481
- password: string;
2482
2523
  database: string;
2483
2524
  port: string;
2484
2525
  sshEnabled?: boolean | undefined;
@@ -2500,9 +2541,9 @@ declare const databaseMetadataSchemasByType: {
2500
2541
  caCertificateName: z.ZodOptional<z.ZodString>;
2501
2542
  caCertificateText: z.ZodOptional<z.ZodString>;
2502
2543
  }, "strip", z.ZodTypeAny, {
2544
+ password: string;
2503
2545
  host: string;
2504
2546
  user: string;
2505
- password: string;
2506
2547
  database: string;
2507
2548
  port: string;
2508
2549
  sshEnabled?: boolean | undefined;
@@ -2513,9 +2554,9 @@ declare const databaseMetadataSchemasByType: {
2513
2554
  caCertificateName?: string | undefined;
2514
2555
  caCertificateText?: string | undefined;
2515
2556
  }, {
2557
+ password: string;
2516
2558
  host: string;
2517
2559
  user: string;
2518
- password: string;
2519
2560
  database: string;
2520
2561
  port: string;
2521
2562
  sshEnabled?: boolean | undefined;