@authhero/kysely-adapter 10.103.0 → 10.104.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.
@@ -3462,31 +3462,54 @@ declare const customDomainSchema: z.ZodObject<{
3462
3462
  ]>;
3463
3463
  origin_domain_name: z.ZodOptional<z.ZodString>;
3464
3464
  verification: z.ZodOptional<z.ZodObject<{
3465
- methods: z.ZodArray<z.ZodObject<{
3466
- name: z.ZodLiteral<"txt">;
3467
- record: z.ZodString;
3468
- domain: z.ZodString;
3469
- }, "strip", z.ZodTypeAny, {
3470
- name: "txt";
3471
- domain: string;
3472
- record: string;
3473
- }, {
3474
- name: "txt";
3475
- domain: string;
3476
- record: string;
3477
- }>, "many">;
3465
+ methods: z.ZodArray<z.ZodDiscriminatedUnion<"name", [
3466
+ z.ZodObject<{
3467
+ name: z.ZodLiteral<"txt">;
3468
+ record: z.ZodString;
3469
+ domain: z.ZodString;
3470
+ }, "strip", z.ZodTypeAny, {
3471
+ name: "txt";
3472
+ domain: string;
3473
+ record: string;
3474
+ }, {
3475
+ name: "txt";
3476
+ domain: string;
3477
+ record: string;
3478
+ }>,
3479
+ z.ZodObject<{
3480
+ name: z.ZodLiteral<"http">;
3481
+ http_body: z.ZodString;
3482
+ http_url: z.ZodString;
3483
+ }, "strip", z.ZodTypeAny, {
3484
+ name: "http";
3485
+ http_body: string;
3486
+ http_url: string;
3487
+ }, {
3488
+ name: "http";
3489
+ http_body: string;
3490
+ http_url: string;
3491
+ }>
3492
+ ]>, "many">;
3478
3493
  }, "strip", z.ZodTypeAny, {
3479
- methods: {
3494
+ methods: ({
3480
3495
  name: "txt";
3481
3496
  domain: string;
3482
3497
  record: string;
3483
- }[];
3498
+ } | {
3499
+ name: "http";
3500
+ http_body: string;
3501
+ http_url: string;
3502
+ })[];
3484
3503
  }, {
3485
- methods: {
3504
+ methods: ({
3486
3505
  name: "txt";
3487
3506
  domain: string;
3488
3507
  record: string;
3489
- }[];
3508
+ } | {
3509
+ name: "http";
3510
+ http_body: string;
3511
+ http_url: string;
3512
+ })[];
3490
3513
  }>>;
3491
3514
  tls_policy: z.ZodOptional<z.ZodString>;
3492
3515
  domain: z.ZodString;
@@ -3512,11 +3535,15 @@ declare const customDomainSchema: z.ZodObject<{
3512
3535
  domain: string;
3513
3536
  custom_domain_id: string;
3514
3537
  verification?: {
3515
- methods: {
3538
+ methods: ({
3516
3539
  name: "txt";
3517
3540
  domain: string;
3518
3541
  record: string;
3519
- }[];
3542
+ } | {
3543
+ name: "http";
3544
+ http_body: string;
3545
+ http_url: string;
3546
+ })[];
3520
3547
  } | undefined;
3521
3548
  verification_method?: "txt" | undefined;
3522
3549
  tls_policy?: string | undefined;
@@ -3530,11 +3557,15 @@ declare const customDomainSchema: z.ZodObject<{
3530
3557
  domain: string;
3531
3558
  custom_domain_id: string;
3532
3559
  verification?: {
3533
- methods: {
3560
+ methods: ({
3534
3561
  name: "txt";
3535
3562
  domain: string;
3536
3563
  record: string;
3537
- }[];
3564
+ } | {
3565
+ name: "http";
3566
+ http_body: string;
3567
+ http_url: string;
3568
+ })[];
3538
3569
  } | undefined;
3539
3570
  verification_method?: "txt" | undefined;
3540
3571
  tls_policy?: string | undefined;
@@ -3554,31 +3585,54 @@ declare const customDomainWithTenantIdSchema: z.ZodObject<{
3554
3585
  ]>;
3555
3586
  origin_domain_name: z.ZodOptional<z.ZodString>;
3556
3587
  verification: z.ZodOptional<z.ZodObject<{
3557
- methods: z.ZodArray<z.ZodObject<{
3558
- name: z.ZodLiteral<"txt">;
3559
- record: z.ZodString;
3560
- domain: z.ZodString;
3561
- }, "strip", z.ZodTypeAny, {
3562
- name: "txt";
3563
- domain: string;
3564
- record: string;
3565
- }, {
3566
- name: "txt";
3567
- domain: string;
3568
- record: string;
3569
- }>, "many">;
3588
+ methods: z.ZodArray<z.ZodDiscriminatedUnion<"name", [
3589
+ z.ZodObject<{
3590
+ name: z.ZodLiteral<"txt">;
3591
+ record: z.ZodString;
3592
+ domain: z.ZodString;
3593
+ }, "strip", z.ZodTypeAny, {
3594
+ name: "txt";
3595
+ domain: string;
3596
+ record: string;
3597
+ }, {
3598
+ name: "txt";
3599
+ domain: string;
3600
+ record: string;
3601
+ }>,
3602
+ z.ZodObject<{
3603
+ name: z.ZodLiteral<"http">;
3604
+ http_body: z.ZodString;
3605
+ http_url: z.ZodString;
3606
+ }, "strip", z.ZodTypeAny, {
3607
+ name: "http";
3608
+ http_body: string;
3609
+ http_url: string;
3610
+ }, {
3611
+ name: "http";
3612
+ http_body: string;
3613
+ http_url: string;
3614
+ }>
3615
+ ]>, "many">;
3570
3616
  }, "strip", z.ZodTypeAny, {
3571
- methods: {
3617
+ methods: ({
3572
3618
  name: "txt";
3573
3619
  domain: string;
3574
3620
  record: string;
3575
- }[];
3621
+ } | {
3622
+ name: "http";
3623
+ http_body: string;
3624
+ http_url: string;
3625
+ })[];
3576
3626
  }, {
3577
- methods: {
3627
+ methods: ({
3578
3628
  name: "txt";
3579
3629
  domain: string;
3580
3630
  record: string;
3581
- }[];
3631
+ } | {
3632
+ name: "http";
3633
+ http_body: string;
3634
+ http_url: string;
3635
+ })[];
3582
3636
  }>>;
3583
3637
  tls_policy: z.ZodOptional<z.ZodString>;
3584
3638
  domain: z.ZodString;
@@ -3607,11 +3661,15 @@ declare const customDomainWithTenantIdSchema: z.ZodObject<{
3607
3661
  custom_domain_id: string;
3608
3662
  tenant_id: string;
3609
3663
  verification?: {
3610
- methods: {
3664
+ methods: ({
3611
3665
  name: "txt";
3612
3666
  domain: string;
3613
3667
  record: string;
3614
- }[];
3668
+ } | {
3669
+ name: "http";
3670
+ http_body: string;
3671
+ http_url: string;
3672
+ })[];
3615
3673
  } | undefined;
3616
3674
  verification_method?: "txt" | undefined;
3617
3675
  tls_policy?: string | undefined;
@@ -3626,11 +3684,15 @@ declare const customDomainWithTenantIdSchema: z.ZodObject<{
3626
3684
  custom_domain_id: string;
3627
3685
  tenant_id: string;
3628
3686
  verification?: {
3629
- methods: {
3687
+ methods: ({
3630
3688
  name: "txt";
3631
3689
  domain: string;
3632
3690
  record: string;
3633
- }[];
3691
+ } | {
3692
+ name: "http";
3693
+ http_body: string;
3694
+ http_url: string;
3695
+ })[];
3634
3696
  } | undefined;
3635
3697
  verification_method?: "txt" | undefined;
3636
3698
  tls_policy?: string | undefined;
@@ -16793,31 +16855,54 @@ declare const sqlCustomDomainSchema: z.ZodObject<{
16793
16855
  ]>;
16794
16856
  origin_domain_name: z.ZodOptional<z.ZodString>;
16795
16857
  verification: z.ZodOptional<z.ZodObject<{
16796
- methods: z.ZodArray<z.ZodObject<{
16797
- name: z.ZodLiteral<"txt">;
16798
- record: z.ZodString;
16799
- domain: z.ZodString;
16800
- }, "strip", z.ZodTypeAny, {
16801
- name: "txt";
16802
- domain: string;
16803
- record: string;
16804
- }, {
16805
- name: "txt";
16806
- domain: string;
16807
- record: string;
16808
- }>, "many">;
16858
+ methods: z.ZodArray<z.ZodDiscriminatedUnion<"name", [
16859
+ z.ZodObject<{
16860
+ name: z.ZodLiteral<"txt">;
16861
+ record: z.ZodString;
16862
+ domain: z.ZodString;
16863
+ }, "strip", z.ZodTypeAny, {
16864
+ name: "txt";
16865
+ domain: string;
16866
+ record: string;
16867
+ }, {
16868
+ name: "txt";
16869
+ domain: string;
16870
+ record: string;
16871
+ }>,
16872
+ z.ZodObject<{
16873
+ name: z.ZodLiteral<"http">;
16874
+ http_body: z.ZodString;
16875
+ http_url: z.ZodString;
16876
+ }, "strip", z.ZodTypeAny, {
16877
+ name: "http";
16878
+ http_body: string;
16879
+ http_url: string;
16880
+ }, {
16881
+ name: "http";
16882
+ http_body: string;
16883
+ http_url: string;
16884
+ }>
16885
+ ]>, "many">;
16809
16886
  }, "strip", z.ZodTypeAny, {
16810
- methods: {
16887
+ methods: ({
16811
16888
  name: "txt";
16812
16889
  domain: string;
16813
16890
  record: string;
16814
- }[];
16891
+ } | {
16892
+ name: "http";
16893
+ http_body: string;
16894
+ http_url: string;
16895
+ })[];
16815
16896
  }, {
16816
- methods: {
16897
+ methods: ({
16817
16898
  name: "txt";
16818
16899
  domain: string;
16819
16900
  record: string;
16820
- }[];
16901
+ } | {
16902
+ name: "http";
16903
+ http_body: string;
16904
+ http_url: string;
16905
+ })[];
16821
16906
  }>>;
16822
16907
  tls_policy: z.ZodOptional<z.ZodString>;
16823
16908
  domain: z.ZodString;
@@ -16847,11 +16932,15 @@ declare const sqlCustomDomainSchema: z.ZodObject<{
16847
16932
  domain_metadata?: string | undefined;
16848
16933
  origin_domain_name?: string | undefined;
16849
16934
  verification?: {
16850
- methods: {
16935
+ methods: ({
16851
16936
  name: "txt";
16852
16937
  domain: string;
16853
16938
  record: string;
16854
- }[];
16939
+ } | {
16940
+ name: "http";
16941
+ http_body: string;
16942
+ http_url: string;
16943
+ })[];
16855
16944
  } | undefined;
16856
16945
  tls_policy?: string | undefined;
16857
16946
  verification_method?: "txt" | undefined;
@@ -16868,11 +16957,15 @@ declare const sqlCustomDomainSchema: z.ZodObject<{
16868
16957
  domain_metadata?: string | undefined;
16869
16958
  origin_domain_name?: string | undefined;
16870
16959
  verification?: {
16871
- methods: {
16960
+ methods: ({
16872
16961
  name: "txt";
16873
16962
  domain: string;
16874
16963
  record: string;
16875
- }[];
16964
+ } | {
16965
+ name: "http";
16966
+ http_body: string;
16967
+ http_url: string;
16968
+ })[];
16876
16969
  } | undefined;
16877
16970
  tls_policy?: string | undefined;
16878
16971
  verification_method?: "txt" | undefined;