@deepnote/database-integrations 1.3.4 → 1.3.5

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,13 +1201,13 @@ 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;
@@ -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?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1437
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | 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?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1495
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | 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;
1558
1557
  host: string;
1559
1558
  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;
1568
1567
  host: string;
1569
1568
  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;
1584
1583
  host: string;
1585
1584
  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;
1600
1599
  host: string;
1601
1600
  user: string;
1601
+ password: string;
1602
1602
  database: string;
1603
1603
  port: string;
1604
1604
  sshEnabled?: boolean | undefined;
@@ -1624,60 +1624,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1624
1624
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1625
1625
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1626
1626
  } & {
1627
+ authMethod: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodLiteral<"password">>>;
1627
1628
  user: z$1.ZodString;
1628
1629
  password: z$1.ZodString;
1629
- } & {
1630
- authMethod: z$1.ZodLiteral<null>;
1631
1630
  }, "strip", z$1.ZodTypeAny, {
1632
- password: string;
1633
1631
  host: string;
1634
1632
  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
1633
  password: string;
1647
- host: string;
1648
- user: string;
1649
- 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
1634
  database: string;
1680
- authMethod: "password";
1681
1635
  sshEnabled?: boolean | undefined;
1682
1636
  sshHost?: string | undefined;
1683
1637
  sshPort?: string | undefined;
@@ -1686,12 +1640,12 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1686
1640
  sslEnabled?: boolean | undefined;
1687
1641
  caCertificateName?: string | undefined;
1688
1642
  caCertificateText?: string | undefined;
1643
+ authMethod?: "password" | null | undefined;
1689
1644
  }, {
1690
- password: string;
1691
1645
  host: string;
1692
1646
  user: string;
1647
+ password: string;
1693
1648
  database: string;
1694
- authMethod: "password";
1695
1649
  sshEnabled?: boolean | undefined;
1696
1650
  sshHost?: string | undefined;
1697
1651
  sshPort?: string | undefined;
@@ -1700,6 +1654,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1700
1654
  sslEnabled?: boolean | undefined;
1701
1655
  caCertificateName?: string | undefined;
1702
1656
  caCertificateText?: string | undefined;
1657
+ authMethod?: "password" | null | undefined;
1703
1658
  }>, z$1.ZodObject<{
1704
1659
  host: z$1.ZodString;
1705
1660
  port: z$1.ZodOptional<z$1.ZodString>;
@@ -1712,7 +1667,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1712
1667
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1713
1668
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1714
1669
  } & {
1715
- authMethod: z$1.ZodLiteral<"oauth">;
1670
+ authMethod: z$1.ZodLiteral<"trino-oauth">;
1716
1671
  clientId: z$1.ZodString;
1717
1672
  clientSecret: z$1.ZodString;
1718
1673
  authUrl: z$1.ZodString;
@@ -1720,7 +1675,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1720
1675
  }, "strip", z$1.ZodTypeAny, {
1721
1676
  host: string;
1722
1677
  database: string;
1723
- authMethod: "oauth";
1678
+ authMethod: "trino-oauth";
1724
1679
  clientId: string;
1725
1680
  clientSecret: string;
1726
1681
  authUrl: string;
@@ -1736,7 +1691,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1736
1691
  }, {
1737
1692
  host: string;
1738
1693
  database: string;
1739
- authMethod: "oauth";
1694
+ authMethod: "trino-oauth";
1740
1695
  clientId: string;
1741
1696
  clientSecret: string;
1742
1697
  authUrl: string;
@@ -1756,25 +1711,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1756
1711
  id: string;
1757
1712
  name: string;
1758
1713
  metadata: {
1759
- password: string;
1760
1714
  host: string;
1761
1715
  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
1716
  password: string;
1774
- host: string;
1775
- user: string;
1776
1717
  database: string;
1777
- authMethod: "password";
1778
1718
  sshEnabled?: boolean | undefined;
1779
1719
  sshHost?: string | undefined;
1780
1720
  sshPort?: string | undefined;
@@ -1783,10 +1723,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1783
1723
  sslEnabled?: boolean | undefined;
1784
1724
  caCertificateName?: string | undefined;
1785
1725
  caCertificateText?: string | undefined;
1726
+ authMethod?: "password" | null | undefined;
1786
1727
  } | {
1787
1728
  host: string;
1788
1729
  database: string;
1789
- authMethod: "oauth";
1730
+ authMethod: "trino-oauth";
1790
1731
  clientId: string;
1791
1732
  clientSecret: string;
1792
1733
  authUrl: string;
@@ -1806,25 +1747,10 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1806
1747
  id: string;
1807
1748
  name: string;
1808
1749
  metadata: {
1809
- password: string;
1810
1750
  host: string;
1811
1751
  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
1752
  password: string;
1824
- host: string;
1825
- user: string;
1826
1753
  database: string;
1827
- authMethod: "password";
1828
1754
  sshEnabled?: boolean | undefined;
1829
1755
  sshHost?: string | undefined;
1830
1756
  sshPort?: string | undefined;
@@ -1833,10 +1759,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1833
1759
  sslEnabled?: boolean | undefined;
1834
1760
  caCertificateName?: string | undefined;
1835
1761
  caCertificateText?: string | undefined;
1762
+ authMethod?: "password" | null | undefined;
1836
1763
  } | {
1837
1764
  host: string;
1838
1765
  database: string;
1839
- authMethod: "oauth";
1766
+ authMethod: "trino-oauth";
1840
1767
  clientId: string;
1841
1768
  clientSecret: string;
1842
1769
  authUrl: string;
@@ -1874,9 +1801,9 @@ declare const databaseMetadataSchemasByType: {
1874
1801
  caCertificateName: z.ZodOptional<z.ZodString>;
1875
1802
  caCertificateText: z.ZodOptional<z.ZodString>;
1876
1803
  }, "strip", z.ZodTypeAny, {
1877
- password: string;
1878
1804
  host: string;
1879
1805
  user: string;
1806
+ password: string;
1880
1807
  database: string;
1881
1808
  sshEnabled?: boolean | undefined;
1882
1809
  sshHost?: string | undefined;
@@ -1887,9 +1814,9 @@ declare const databaseMetadataSchemasByType: {
1887
1814
  caCertificateName?: string | undefined;
1888
1815
  caCertificateText?: string | undefined;
1889
1816
  }, {
1890
- password: string;
1891
1817
  host: string;
1892
1818
  user: string;
1819
+ password: string;
1893
1820
  database: string;
1894
1821
  sshEnabled?: boolean | undefined;
1895
1822
  sshHost?: string | undefined;
@@ -2061,9 +1988,9 @@ declare const databaseMetadataSchemasByType: {
2061
1988
  caCertificateName: z.ZodOptional<z.ZodString>;
2062
1989
  caCertificateText: z.ZodOptional<z.ZodString>;
2063
1990
  }, "strip", z.ZodTypeAny, {
2064
- password: string;
2065
1991
  host: string;
2066
1992
  user: string;
1993
+ password: string;
2067
1994
  database: string;
2068
1995
  sshEnabled?: boolean | undefined;
2069
1996
  sshHost?: string | undefined;
@@ -2074,9 +2001,9 @@ declare const databaseMetadataSchemasByType: {
2074
2001
  caCertificateName?: string | undefined;
2075
2002
  caCertificateText?: string | undefined;
2076
2003
  }, {
2077
- password: string;
2078
2004
  host: string;
2079
2005
  user: string;
2006
+ password: string;
2080
2007
  database: string;
2081
2008
  sshEnabled?: boolean | undefined;
2082
2009
  sshHost?: string | undefined;
@@ -2104,9 +2031,9 @@ declare const databaseMetadataSchemasByType: {
2104
2031
  } & {
2105
2032
  cluster: z.ZodString;
2106
2033
  }, "strip", z.ZodTypeAny, {
2107
- password: string;
2108
2034
  host: string;
2109
2035
  user: string;
2036
+ password: string;
2110
2037
  database: string;
2111
2038
  cluster: string;
2112
2039
  sshEnabled?: boolean | undefined;
@@ -2118,9 +2045,9 @@ declare const databaseMetadataSchemasByType: {
2118
2045
  caCertificateName?: string | undefined;
2119
2046
  caCertificateText?: string | undefined;
2120
2047
  }, {
2121
- password: string;
2122
2048
  host: string;
2123
2049
  user: string;
2050
+ password: string;
2124
2051
  database: string;
2125
2052
  cluster: string;
2126
2053
  sshEnabled?: boolean | undefined;
@@ -2147,9 +2074,9 @@ declare const databaseMetadataSchemasByType: {
2147
2074
  caCertificateName: z.ZodOptional<z.ZodString>;
2148
2075
  caCertificateText: z.ZodOptional<z.ZodString>;
2149
2076
  }, "strip", z.ZodTypeAny, {
2150
- password: string;
2151
2077
  host: string;
2152
2078
  user: string;
2079
+ password: string;
2153
2080
  database: string;
2154
2081
  sshEnabled?: boolean | undefined;
2155
2082
  sshHost?: string | undefined;
@@ -2160,9 +2087,9 @@ declare const databaseMetadataSchemasByType: {
2160
2087
  caCertificateName?: string | undefined;
2161
2088
  caCertificateText?: string | undefined;
2162
2089
  }, {
2163
- password: string;
2164
2090
  host: string;
2165
2091
  user: string;
2092
+ password: string;
2166
2093
  database: string;
2167
2094
  sshEnabled?: boolean | undefined;
2168
2095
  sshHost?: string | undefined;
@@ -2192,15 +2119,15 @@ declare const databaseMetadataSchemasByType: {
2192
2119
  caCertificateText: z.ZodOptional<z.ZodString>;
2193
2120
  }, "strip", z.ZodTypeAny, {
2194
2121
  connection_string: string;
2195
- password?: string | undefined;
2196
- options?: string | undefined;
2197
2122
  host?: string | undefined;
2198
2123
  user?: string | undefined;
2124
+ password?: string | undefined;
2199
2125
  database?: string | undefined;
2200
2126
  sshEnabled?: boolean | undefined;
2201
2127
  sshHost?: string | undefined;
2202
2128
  sshPort?: string | undefined;
2203
2129
  sshUser?: string | undefined;
2130
+ options?: string | undefined;
2204
2131
  port?: string | undefined;
2205
2132
  sslEnabled?: boolean | undefined;
2206
2133
  caCertificateName?: string | undefined;
@@ -2209,15 +2136,15 @@ declare const databaseMetadataSchemasByType: {
2209
2136
  prefix?: string | undefined;
2210
2137
  }, {
2211
2138
  connection_string: string;
2212
- password?: string | undefined;
2213
- options?: string | undefined;
2214
2139
  host?: string | undefined;
2215
2140
  user?: string | undefined;
2141
+ password?: string | undefined;
2216
2142
  database?: string | undefined;
2217
2143
  sshEnabled?: boolean | undefined;
2218
2144
  sshHost?: string | undefined;
2219
2145
  sshPort?: string | undefined;
2220
2146
  sshUser?: string | undefined;
2147
+ options?: string | undefined;
2221
2148
  port?: string | undefined;
2222
2149
  sslEnabled?: boolean | undefined;
2223
2150
  caCertificateName?: string | undefined;
@@ -2240,9 +2167,9 @@ declare const databaseMetadataSchemasByType: {
2240
2167
  caCertificateName: z.ZodOptional<z.ZodString>;
2241
2168
  caCertificateText: z.ZodOptional<z.ZodString>;
2242
2169
  }, "strip", z.ZodTypeAny, {
2243
- password: string;
2244
2170
  host: string;
2245
2171
  user: string;
2172
+ password: string;
2246
2173
  database: string;
2247
2174
  sshEnabled?: boolean | undefined;
2248
2175
  sshHost?: string | undefined;
@@ -2253,9 +2180,9 @@ declare const databaseMetadataSchemasByType: {
2253
2180
  caCertificateName?: string | undefined;
2254
2181
  caCertificateText?: string | undefined;
2255
2182
  }, {
2256
- password: string;
2257
2183
  host: string;
2258
2184
  user: string;
2185
+ password: string;
2259
2186
  database: string;
2260
2187
  sshEnabled?: boolean | undefined;
2261
2188
  sshHost?: string | undefined;
@@ -2282,9 +2209,9 @@ declare const databaseMetadataSchemasByType: {
2282
2209
  caCertificateName: z.ZodOptional<z.ZodString>;
2283
2210
  caCertificateText: z.ZodOptional<z.ZodString>;
2284
2211
  }, "strip", z.ZodTypeAny, {
2285
- password: string;
2286
2212
  host: string;
2287
2213
  user: string;
2214
+ password: string;
2288
2215
  database: string;
2289
2216
  sshEnabled?: boolean | undefined;
2290
2217
  sshHost?: string | undefined;
@@ -2295,9 +2222,9 @@ declare const databaseMetadataSchemasByType: {
2295
2222
  caCertificateName?: string | undefined;
2296
2223
  caCertificateText?: string | undefined;
2297
2224
  }, {
2298
- password: string;
2299
2225
  host: string;
2300
2226
  user: string;
2227
+ password: string;
2301
2228
  database: string;
2302
2229
  sshEnabled?: boolean | undefined;
2303
2230
  sshHost?: string | undefined;
@@ -2324,9 +2251,9 @@ declare const databaseMetadataSchemasByType: {
2324
2251
  user: z.ZodString;
2325
2252
  password: z.ZodString;
2326
2253
  }, "strip", z.ZodTypeAny, {
2327
- password: string;
2328
2254
  host: string;
2329
2255
  user: string;
2256
+ password: string;
2330
2257
  database: string;
2331
2258
  sshEnabled?: boolean | undefined;
2332
2259
  sshHost?: string | undefined;
@@ -2338,9 +2265,9 @@ declare const databaseMetadataSchemasByType: {
2338
2265
  caCertificateText?: string | undefined;
2339
2266
  authMethod?: "username-and-password" | undefined;
2340
2267
  }, {
2341
- password: string;
2342
2268
  host: string;
2343
2269
  user: string;
2270
+ password: string;
2344
2271
  database: string;
2345
2272
  sshEnabled?: boolean | undefined;
2346
2273
  sshHost?: string | undefined;
@@ -2435,9 +2362,9 @@ declare const databaseMetadataSchemasByType: {
2435
2362
  caCertificateName?: string | undefined;
2436
2363
  caCertificateText?: string | undefined;
2437
2364
  }>]>, {
2438
- password: string;
2439
2365
  host: string;
2440
2366
  user: string;
2367
+ password: string;
2441
2368
  database: string;
2442
2369
  sshEnabled?: boolean | undefined;
2443
2370
  sshHost?: string | undefined;
@@ -2667,9 +2594,9 @@ declare const databaseMetadataSchemasByType: {
2667
2594
  } & {
2668
2595
  port: z.ZodString;
2669
2596
  }, "strip", z.ZodTypeAny, {
2670
- password: string;
2671
2597
  host: string;
2672
2598
  user: string;
2599
+ password: string;
2673
2600
  database: string;
2674
2601
  port: string;
2675
2602
  sshEnabled?: boolean | undefined;
@@ -2677,9 +2604,9 @@ declare const databaseMetadataSchemasByType: {
2677
2604
  sshPort?: string | undefined;
2678
2605
  sshUser?: string | undefined;
2679
2606
  }, {
2680
- password: string;
2681
2607
  host: string;
2682
2608
  user: string;
2609
+ password: string;
2683
2610
  database: string;
2684
2611
  port: string;
2685
2612
  sshEnabled?: boolean | undefined;
@@ -2699,60 +2626,14 @@ declare const databaseMetadataSchemasByType: {
2699
2626
  caCertificateName: z.ZodOptional<z.ZodString>;
2700
2627
  caCertificateText: z.ZodOptional<z.ZodString>;
2701
2628
  } & {
2629
+ authMethod: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"password">>>;
2702
2630
  user: z.ZodString;
2703
2631
  password: z.ZodString;
2704
- } & {
2705
- authMethod: z.ZodLiteral<null>;
2706
2632
  }, "strip", z.ZodTypeAny, {
2707
- password: string;
2708
2633
  host: string;
2709
2634
  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
2635
  password: string;
2722
- host: string;
2723
- user: string;
2724
2636
  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
- password: string;
2752
- host: string;
2753
- user: string;
2754
- database: string;
2755
- authMethod: "password";
2756
2637
  sshEnabled?: boolean | undefined;
2757
2638
  sshHost?: string | undefined;
2758
2639
  sshPort?: string | undefined;
@@ -2761,12 +2642,12 @@ declare const databaseMetadataSchemasByType: {
2761
2642
  sslEnabled?: boolean | undefined;
2762
2643
  caCertificateName?: string | undefined;
2763
2644
  caCertificateText?: string | undefined;
2645
+ authMethod?: "password" | null | undefined;
2764
2646
  }, {
2765
- password: string;
2766
2647
  host: string;
2767
2648
  user: string;
2649
+ password: string;
2768
2650
  database: string;
2769
- authMethod: "password";
2770
2651
  sshEnabled?: boolean | undefined;
2771
2652
  sshHost?: string | undefined;
2772
2653
  sshPort?: string | undefined;
@@ -2775,6 +2656,7 @@ declare const databaseMetadataSchemasByType: {
2775
2656
  sslEnabled?: boolean | undefined;
2776
2657
  caCertificateName?: string | undefined;
2777
2658
  caCertificateText?: string | undefined;
2659
+ authMethod?: "password" | null | undefined;
2778
2660
  }>, z.ZodObject<{
2779
2661
  host: z.ZodString;
2780
2662
  port: z.ZodOptional<z.ZodString>;
@@ -2787,7 +2669,7 @@ declare const databaseMetadataSchemasByType: {
2787
2669
  caCertificateName: z.ZodOptional<z.ZodString>;
2788
2670
  caCertificateText: z.ZodOptional<z.ZodString>;
2789
2671
  } & {
2790
- authMethod: z.ZodLiteral<"oauth">;
2672
+ authMethod: z.ZodLiteral<"trino-oauth">;
2791
2673
  clientId: z.ZodString;
2792
2674
  clientSecret: z.ZodString;
2793
2675
  authUrl: z.ZodString;
@@ -2795,7 +2677,7 @@ declare const databaseMetadataSchemasByType: {
2795
2677
  }, "strip", z.ZodTypeAny, {
2796
2678
  host: string;
2797
2679
  database: string;
2798
- authMethod: "oauth";
2680
+ authMethod: "trino-oauth";
2799
2681
  clientId: string;
2800
2682
  clientSecret: string;
2801
2683
  authUrl: string;
@@ -2811,7 +2693,7 @@ declare const databaseMetadataSchemasByType: {
2811
2693
  }, {
2812
2694
  host: string;
2813
2695
  database: string;
2814
- authMethod: "oauth";
2696
+ authMethod: "trino-oauth";
2815
2697
  clientId: string;
2816
2698
  clientSecret: string;
2817
2699
  authUrl: string;
@@ -2912,7 +2794,7 @@ declare const BigQueryAuthMethods: {
2912
2794
  type BigQueryAuthMethod = (typeof BigQueryAuthMethods)[keyof typeof BigQueryAuthMethods];
2913
2795
  declare const TrinoAuthMethods: {
2914
2796
  readonly Password: "password";
2915
- readonly Oauth: "oauth";
2797
+ readonly Oauth: "trino-oauth";
2916
2798
  };
2917
2799
  type TrinoAuthMethod = (typeof TrinoAuthMethods)[keyof typeof TrinoAuthMethods];
2918
2800
  declare const DatabaseAuthMethods: {
@@ -2920,7 +2802,7 @@ declare const DatabaseAuthMethods: {
2920
2802
  readonly IndividualCredentials: "individual-credentials";
2921
2803
  };
2922
2804
  type DatabaseAuthMethod = (typeof DatabaseAuthMethods)[keyof typeof DatabaseAuthMethods];
2923
- declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials", "oauth"];
2805
+ declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials", "trino-oauth"];
2924
2806
  type FederatedAuthMethod = (typeof federatedAuthMethods)[number];
2925
2807
  declare function isFederatedAuthMethod(authMethod: string): authMethod is FederatedAuthMethod;
2926
2808
  declare function isFederatedAuthMetadata<M extends {