@authhero/kysely-adapter 0.7.6 → 0.7.8

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.
@@ -249,10 +249,98 @@ declare const applicationInsertSchema: z.ZodObject<{
249
249
  allowed_origins: z.ZodArray<z.ZodString, "many">;
250
250
  web_origins: z.ZodArray<z.ZodString, "many">;
251
251
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
252
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
253
- z.ZodString,
254
- z.ZodNumber
255
- ]>>>>;
252
+ addons: z.ZodOptional<z.ZodObject<{
253
+ samlp: z.ZodOptional<z.ZodObject<{
254
+ audience: z.ZodOptional<z.ZodString>;
255
+ recipient: z.ZodOptional<z.ZodString>;
256
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
257
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
258
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
259
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
260
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
261
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
262
+ issuer: z.ZodOptional<z.ZodString>;
263
+ destination: z.ZodOptional<z.ZodString>;
264
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
265
+ signResponse: z.ZodOptional<z.ZodBoolean>;
266
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
267
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
269
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ audience?: string | undefined;
272
+ recipient?: string | undefined;
273
+ createUpnClaim?: boolean | undefined;
274
+ mapUnknownClaimsAsIs?: boolean | undefined;
275
+ passthroughClaimsWithNoMapping?: boolean | undefined;
276
+ mapIdentities?: boolean | undefined;
277
+ signatureAlgorithm?: string | undefined;
278
+ digestAlgorithm?: string | undefined;
279
+ issuer?: string | undefined;
280
+ destination?: string | undefined;
281
+ lifetimeInSeconds?: number | undefined;
282
+ signResponse?: boolean | undefined;
283
+ nameIdentifierFormat?: string | undefined;
284
+ nameIdentifierProbes?: string[] | undefined;
285
+ authnContextClassRef?: string | undefined;
286
+ mappings?: Record<string, string> | undefined;
287
+ }, {
288
+ audience?: string | undefined;
289
+ recipient?: string | undefined;
290
+ createUpnClaim?: boolean | undefined;
291
+ mapUnknownClaimsAsIs?: boolean | undefined;
292
+ passthroughClaimsWithNoMapping?: boolean | undefined;
293
+ mapIdentities?: boolean | undefined;
294
+ signatureAlgorithm?: string | undefined;
295
+ digestAlgorithm?: string | undefined;
296
+ issuer?: string | undefined;
297
+ destination?: string | undefined;
298
+ lifetimeInSeconds?: number | undefined;
299
+ signResponse?: boolean | undefined;
300
+ nameIdentifierFormat?: string | undefined;
301
+ nameIdentifierProbes?: string[] | undefined;
302
+ authnContextClassRef?: string | undefined;
303
+ mappings?: Record<string, string> | undefined;
304
+ }>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ samlp?: {
307
+ audience?: string | undefined;
308
+ recipient?: string | undefined;
309
+ createUpnClaim?: boolean | undefined;
310
+ mapUnknownClaimsAsIs?: boolean | undefined;
311
+ passthroughClaimsWithNoMapping?: boolean | undefined;
312
+ mapIdentities?: boolean | undefined;
313
+ signatureAlgorithm?: string | undefined;
314
+ digestAlgorithm?: string | undefined;
315
+ issuer?: string | undefined;
316
+ destination?: string | undefined;
317
+ lifetimeInSeconds?: number | undefined;
318
+ signResponse?: boolean | undefined;
319
+ nameIdentifierFormat?: string | undefined;
320
+ nameIdentifierProbes?: string[] | undefined;
321
+ authnContextClassRef?: string | undefined;
322
+ mappings?: Record<string, string> | undefined;
323
+ } | undefined;
324
+ }, {
325
+ samlp?: {
326
+ audience?: string | undefined;
327
+ recipient?: string | undefined;
328
+ createUpnClaim?: boolean | undefined;
329
+ mapUnknownClaimsAsIs?: boolean | undefined;
330
+ passthroughClaimsWithNoMapping?: boolean | undefined;
331
+ mapIdentities?: boolean | undefined;
332
+ signatureAlgorithm?: string | undefined;
333
+ digestAlgorithm?: string | undefined;
334
+ issuer?: string | undefined;
335
+ destination?: string | undefined;
336
+ lifetimeInSeconds?: number | undefined;
337
+ signResponse?: boolean | undefined;
338
+ nameIdentifierFormat?: string | undefined;
339
+ nameIdentifierProbes?: string[] | undefined;
340
+ authnContextClassRef?: string | undefined;
341
+ mappings?: Record<string, string> | undefined;
342
+ } | undefined;
343
+ }>>;
256
344
  email_validation: z.ZodDefault<z.ZodEnum<[
257
345
  "enabled",
258
346
  "disabled",
@@ -270,7 +358,26 @@ declare const applicationInsertSchema: z.ZodObject<{
270
358
  email_validation: "enabled" | "disabled" | "enforced";
271
359
  client_secret: string;
272
360
  disable_sign_ups: boolean;
273
- addons?: Record<string, Record<string, string | number>> | undefined;
361
+ addons?: {
362
+ samlp?: {
363
+ audience?: string | undefined;
364
+ recipient?: string | undefined;
365
+ createUpnClaim?: boolean | undefined;
366
+ mapUnknownClaimsAsIs?: boolean | undefined;
367
+ passthroughClaimsWithNoMapping?: boolean | undefined;
368
+ mapIdentities?: boolean | undefined;
369
+ signatureAlgorithm?: string | undefined;
370
+ digestAlgorithm?: string | undefined;
371
+ issuer?: string | undefined;
372
+ destination?: string | undefined;
373
+ lifetimeInSeconds?: number | undefined;
374
+ signResponse?: boolean | undefined;
375
+ nameIdentifierFormat?: string | undefined;
376
+ nameIdentifierProbes?: string[] | undefined;
377
+ authnContextClassRef?: string | undefined;
378
+ mappings?: Record<string, string> | undefined;
379
+ } | undefined;
380
+ } | undefined;
274
381
  }, {
275
382
  name: string;
276
383
  id: string;
@@ -278,7 +385,26 @@ declare const applicationInsertSchema: z.ZodObject<{
278
385
  allowed_origins: string[];
279
386
  web_origins: string[];
280
387
  allowed_logout_urls: string[];
281
- addons?: Record<string, Record<string, string | number>> | undefined;
388
+ addons?: {
389
+ samlp?: {
390
+ audience?: string | undefined;
391
+ recipient?: string | undefined;
392
+ createUpnClaim?: boolean | undefined;
393
+ mapUnknownClaimsAsIs?: boolean | undefined;
394
+ passthroughClaimsWithNoMapping?: boolean | undefined;
395
+ mapIdentities?: boolean | undefined;
396
+ signatureAlgorithm?: string | undefined;
397
+ digestAlgorithm?: string | undefined;
398
+ issuer?: string | undefined;
399
+ destination?: string | undefined;
400
+ lifetimeInSeconds?: number | undefined;
401
+ signResponse?: boolean | undefined;
402
+ nameIdentifierFormat?: string | undefined;
403
+ nameIdentifierProbes?: string[] | undefined;
404
+ authnContextClassRef?: string | undefined;
405
+ mappings?: Record<string, string> | undefined;
406
+ } | undefined;
407
+ } | undefined;
282
408
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
283
409
  client_secret?: string | undefined;
284
410
  disable_sign_ups?: boolean | undefined;
@@ -291,10 +417,98 @@ declare const applicationSchema: z.ZodObject<{
291
417
  allowed_origins: z.ZodArray<z.ZodString, "many">;
292
418
  web_origins: z.ZodArray<z.ZodString, "many">;
293
419
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
294
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
295
- z.ZodString,
296
- z.ZodNumber
297
- ]>>>>;
420
+ addons: z.ZodOptional<z.ZodObject<{
421
+ samlp: z.ZodOptional<z.ZodObject<{
422
+ audience: z.ZodOptional<z.ZodString>;
423
+ recipient: z.ZodOptional<z.ZodString>;
424
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
425
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
426
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
427
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
428
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
429
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
430
+ issuer: z.ZodOptional<z.ZodString>;
431
+ destination: z.ZodOptional<z.ZodString>;
432
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
433
+ signResponse: z.ZodOptional<z.ZodBoolean>;
434
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
435
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
436
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
437
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ audience?: string | undefined;
440
+ recipient?: string | undefined;
441
+ createUpnClaim?: boolean | undefined;
442
+ mapUnknownClaimsAsIs?: boolean | undefined;
443
+ passthroughClaimsWithNoMapping?: boolean | undefined;
444
+ mapIdentities?: boolean | undefined;
445
+ signatureAlgorithm?: string | undefined;
446
+ digestAlgorithm?: string | undefined;
447
+ issuer?: string | undefined;
448
+ destination?: string | undefined;
449
+ lifetimeInSeconds?: number | undefined;
450
+ signResponse?: boolean | undefined;
451
+ nameIdentifierFormat?: string | undefined;
452
+ nameIdentifierProbes?: string[] | undefined;
453
+ authnContextClassRef?: string | undefined;
454
+ mappings?: Record<string, string> | undefined;
455
+ }, {
456
+ audience?: string | undefined;
457
+ recipient?: string | undefined;
458
+ createUpnClaim?: boolean | undefined;
459
+ mapUnknownClaimsAsIs?: boolean | undefined;
460
+ passthroughClaimsWithNoMapping?: boolean | undefined;
461
+ mapIdentities?: boolean | undefined;
462
+ signatureAlgorithm?: string | undefined;
463
+ digestAlgorithm?: string | undefined;
464
+ issuer?: string | undefined;
465
+ destination?: string | undefined;
466
+ lifetimeInSeconds?: number | undefined;
467
+ signResponse?: boolean | undefined;
468
+ nameIdentifierFormat?: string | undefined;
469
+ nameIdentifierProbes?: string[] | undefined;
470
+ authnContextClassRef?: string | undefined;
471
+ mappings?: Record<string, string> | undefined;
472
+ }>>;
473
+ }, "strip", z.ZodTypeAny, {
474
+ samlp?: {
475
+ audience?: string | undefined;
476
+ recipient?: string | undefined;
477
+ createUpnClaim?: boolean | undefined;
478
+ mapUnknownClaimsAsIs?: boolean | undefined;
479
+ passthroughClaimsWithNoMapping?: boolean | undefined;
480
+ mapIdentities?: boolean | undefined;
481
+ signatureAlgorithm?: string | undefined;
482
+ digestAlgorithm?: string | undefined;
483
+ issuer?: string | undefined;
484
+ destination?: string | undefined;
485
+ lifetimeInSeconds?: number | undefined;
486
+ signResponse?: boolean | undefined;
487
+ nameIdentifierFormat?: string | undefined;
488
+ nameIdentifierProbes?: string[] | undefined;
489
+ authnContextClassRef?: string | undefined;
490
+ mappings?: Record<string, string> | undefined;
491
+ } | undefined;
492
+ }, {
493
+ samlp?: {
494
+ audience?: string | undefined;
495
+ recipient?: string | undefined;
496
+ createUpnClaim?: boolean | undefined;
497
+ mapUnknownClaimsAsIs?: boolean | undefined;
498
+ passthroughClaimsWithNoMapping?: boolean | undefined;
499
+ mapIdentities?: boolean | undefined;
500
+ signatureAlgorithm?: string | undefined;
501
+ digestAlgorithm?: string | undefined;
502
+ issuer?: string | undefined;
503
+ destination?: string | undefined;
504
+ lifetimeInSeconds?: number | undefined;
505
+ signResponse?: boolean | undefined;
506
+ nameIdentifierFormat?: string | undefined;
507
+ nameIdentifierProbes?: string[] | undefined;
508
+ authnContextClassRef?: string | undefined;
509
+ mappings?: Record<string, string> | undefined;
510
+ } | undefined;
511
+ }>>;
298
512
  email_validation: z.ZodDefault<z.ZodEnum<[
299
513
  "enabled",
300
514
  "disabled",
@@ -316,7 +530,26 @@ declare const applicationSchema: z.ZodObject<{
316
530
  email_validation: "enabled" | "disabled" | "enforced";
317
531
  client_secret: string;
318
532
  disable_sign_ups: boolean;
319
- addons?: Record<string, Record<string, string | number>> | undefined;
533
+ addons?: {
534
+ samlp?: {
535
+ audience?: string | undefined;
536
+ recipient?: string | undefined;
537
+ createUpnClaim?: boolean | undefined;
538
+ mapUnknownClaimsAsIs?: boolean | undefined;
539
+ passthroughClaimsWithNoMapping?: boolean | undefined;
540
+ mapIdentities?: boolean | undefined;
541
+ signatureAlgorithm?: string | undefined;
542
+ digestAlgorithm?: string | undefined;
543
+ issuer?: string | undefined;
544
+ destination?: string | undefined;
545
+ lifetimeInSeconds?: number | undefined;
546
+ signResponse?: boolean | undefined;
547
+ nameIdentifierFormat?: string | undefined;
548
+ nameIdentifierProbes?: string[] | undefined;
549
+ authnContextClassRef?: string | undefined;
550
+ mappings?: Record<string, string> | undefined;
551
+ } | undefined;
552
+ } | undefined;
320
553
  }, {
321
554
  created_at: string;
322
555
  updated_at: string;
@@ -326,7 +559,26 @@ declare const applicationSchema: z.ZodObject<{
326
559
  allowed_origins: string[];
327
560
  web_origins: string[];
328
561
  allowed_logout_urls: string[];
329
- addons?: Record<string, Record<string, string | number>> | undefined;
562
+ addons?: {
563
+ samlp?: {
564
+ audience?: string | undefined;
565
+ recipient?: string | undefined;
566
+ createUpnClaim?: boolean | undefined;
567
+ mapUnknownClaimsAsIs?: boolean | undefined;
568
+ passthroughClaimsWithNoMapping?: boolean | undefined;
569
+ mapIdentities?: boolean | undefined;
570
+ signatureAlgorithm?: string | undefined;
571
+ digestAlgorithm?: string | undefined;
572
+ issuer?: string | undefined;
573
+ destination?: string | undefined;
574
+ lifetimeInSeconds?: number | undefined;
575
+ signResponse?: boolean | undefined;
576
+ nameIdentifierFormat?: string | undefined;
577
+ nameIdentifierProbes?: string[] | undefined;
578
+ authnContextClassRef?: string | undefined;
579
+ mappings?: Record<string, string> | undefined;
580
+ } | undefined;
581
+ } | undefined;
330
582
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
331
583
  client_secret?: string | undefined;
332
584
  disable_sign_ups?: boolean | undefined;
@@ -465,8 +717,8 @@ declare const ClientSchema: z.ZodObject<{
465
717
  created_at: string;
466
718
  updated_at: string;
467
719
  name: string;
468
- id: string;
469
720
  audience: string;
721
+ id: string;
470
722
  sender_email: string;
471
723
  sender_name: string;
472
724
  support_url?: string | undefined;
@@ -478,8 +730,8 @@ declare const ClientSchema: z.ZodObject<{
478
730
  created_at: string;
479
731
  updated_at: string;
480
732
  name: string;
481
- id: string;
482
733
  audience: string;
734
+ id: string;
483
735
  sender_email: string;
484
736
  sender_name: string;
485
737
  support_url?: string | undefined;
@@ -548,10 +800,98 @@ declare const ClientSchema: z.ZodObject<{
548
800
  allowed_origins: z.ZodArray<z.ZodString, "many">;
549
801
  web_origins: z.ZodArray<z.ZodString, "many">;
550
802
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
551
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
552
- z.ZodString,
553
- z.ZodNumber
554
- ]>>>>;
803
+ addons: z.ZodOptional<z.ZodObject<{
804
+ samlp: z.ZodOptional<z.ZodObject<{
805
+ audience: z.ZodOptional<z.ZodString>;
806
+ recipient: z.ZodOptional<z.ZodString>;
807
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
808
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
809
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
810
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
811
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
812
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
813
+ issuer: z.ZodOptional<z.ZodString>;
814
+ destination: z.ZodOptional<z.ZodString>;
815
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
816
+ signResponse: z.ZodOptional<z.ZodBoolean>;
817
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
818
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
819
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
820
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
821
+ }, "strip", z.ZodTypeAny, {
822
+ audience?: string | undefined;
823
+ recipient?: string | undefined;
824
+ createUpnClaim?: boolean | undefined;
825
+ mapUnknownClaimsAsIs?: boolean | undefined;
826
+ passthroughClaimsWithNoMapping?: boolean | undefined;
827
+ mapIdentities?: boolean | undefined;
828
+ signatureAlgorithm?: string | undefined;
829
+ digestAlgorithm?: string | undefined;
830
+ issuer?: string | undefined;
831
+ destination?: string | undefined;
832
+ lifetimeInSeconds?: number | undefined;
833
+ signResponse?: boolean | undefined;
834
+ nameIdentifierFormat?: string | undefined;
835
+ nameIdentifierProbes?: string[] | undefined;
836
+ authnContextClassRef?: string | undefined;
837
+ mappings?: Record<string, string> | undefined;
838
+ }, {
839
+ audience?: string | undefined;
840
+ recipient?: string | undefined;
841
+ createUpnClaim?: boolean | undefined;
842
+ mapUnknownClaimsAsIs?: boolean | undefined;
843
+ passthroughClaimsWithNoMapping?: boolean | undefined;
844
+ mapIdentities?: boolean | undefined;
845
+ signatureAlgorithm?: string | undefined;
846
+ digestAlgorithm?: string | undefined;
847
+ issuer?: string | undefined;
848
+ destination?: string | undefined;
849
+ lifetimeInSeconds?: number | undefined;
850
+ signResponse?: boolean | undefined;
851
+ nameIdentifierFormat?: string | undefined;
852
+ nameIdentifierProbes?: string[] | undefined;
853
+ authnContextClassRef?: string | undefined;
854
+ mappings?: Record<string, string> | undefined;
855
+ }>>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ samlp?: {
858
+ audience?: string | undefined;
859
+ recipient?: string | undefined;
860
+ createUpnClaim?: boolean | undefined;
861
+ mapUnknownClaimsAsIs?: boolean | undefined;
862
+ passthroughClaimsWithNoMapping?: boolean | undefined;
863
+ mapIdentities?: boolean | undefined;
864
+ signatureAlgorithm?: string | undefined;
865
+ digestAlgorithm?: string | undefined;
866
+ issuer?: string | undefined;
867
+ destination?: string | undefined;
868
+ lifetimeInSeconds?: number | undefined;
869
+ signResponse?: boolean | undefined;
870
+ nameIdentifierFormat?: string | undefined;
871
+ nameIdentifierProbes?: string[] | undefined;
872
+ authnContextClassRef?: string | undefined;
873
+ mappings?: Record<string, string> | undefined;
874
+ } | undefined;
875
+ }, {
876
+ samlp?: {
877
+ audience?: string | undefined;
878
+ recipient?: string | undefined;
879
+ createUpnClaim?: boolean | undefined;
880
+ mapUnknownClaimsAsIs?: boolean | undefined;
881
+ passthroughClaimsWithNoMapping?: boolean | undefined;
882
+ mapIdentities?: boolean | undefined;
883
+ signatureAlgorithm?: string | undefined;
884
+ digestAlgorithm?: string | undefined;
885
+ issuer?: string | undefined;
886
+ destination?: string | undefined;
887
+ lifetimeInSeconds?: number | undefined;
888
+ signResponse?: boolean | undefined;
889
+ nameIdentifierFormat?: string | undefined;
890
+ nameIdentifierProbes?: string[] | undefined;
891
+ authnContextClassRef?: string | undefined;
892
+ mappings?: Record<string, string> | undefined;
893
+ } | undefined;
894
+ }>>;
555
895
  email_validation: z.ZodDefault<z.ZodEnum<[
556
896
  "enabled",
557
897
  "disabled",
@@ -584,8 +924,8 @@ declare const ClientSchema: z.ZodObject<{
584
924
  created_at: string;
585
925
  updated_at: string;
586
926
  name: string;
587
- id: string;
588
927
  audience: string;
928
+ id: string;
589
929
  sender_email: string;
590
930
  sender_name: string;
591
931
  support_url?: string | undefined;
@@ -612,7 +952,26 @@ declare const ClientSchema: z.ZodObject<{
612
952
  token_exchange_basic_auth?: boolean | undefined;
613
953
  userinfo_endpoint?: string | undefined;
614
954
  }[];
615
- addons?: Record<string, Record<string, string | number>> | undefined;
955
+ addons?: {
956
+ samlp?: {
957
+ audience?: string | undefined;
958
+ recipient?: string | undefined;
959
+ createUpnClaim?: boolean | undefined;
960
+ mapUnknownClaimsAsIs?: boolean | undefined;
961
+ passthroughClaimsWithNoMapping?: boolean | undefined;
962
+ mapIdentities?: boolean | undefined;
963
+ signatureAlgorithm?: string | undefined;
964
+ digestAlgorithm?: string | undefined;
965
+ issuer?: string | undefined;
966
+ destination?: string | undefined;
967
+ lifetimeInSeconds?: number | undefined;
968
+ signResponse?: boolean | undefined;
969
+ nameIdentifierFormat?: string | undefined;
970
+ nameIdentifierProbes?: string[] | undefined;
971
+ authnContextClassRef?: string | undefined;
972
+ mappings?: Record<string, string> | undefined;
973
+ } | undefined;
974
+ } | undefined;
616
975
  }, {
617
976
  created_at: string;
618
977
  updated_at: string;
@@ -633,8 +992,8 @@ declare const ClientSchema: z.ZodObject<{
633
992
  created_at: string;
634
993
  updated_at: string;
635
994
  name: string;
636
- id: string;
637
995
  audience: string;
996
+ id: string;
638
997
  sender_email: string;
639
998
  sender_name: string;
640
999
  support_url?: string | undefined;
@@ -661,7 +1020,26 @@ declare const ClientSchema: z.ZodObject<{
661
1020
  token_exchange_basic_auth?: boolean | undefined;
662
1021
  userinfo_endpoint?: string | undefined;
663
1022
  }[];
664
- addons?: Record<string, Record<string, string | number>> | undefined;
1023
+ addons?: {
1024
+ samlp?: {
1025
+ audience?: string | undefined;
1026
+ recipient?: string | undefined;
1027
+ createUpnClaim?: boolean | undefined;
1028
+ mapUnknownClaimsAsIs?: boolean | undefined;
1029
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1030
+ mapIdentities?: boolean | undefined;
1031
+ signatureAlgorithm?: string | undefined;
1032
+ digestAlgorithm?: string | undefined;
1033
+ issuer?: string | undefined;
1034
+ destination?: string | undefined;
1035
+ lifetimeInSeconds?: number | undefined;
1036
+ signResponse?: boolean | undefined;
1037
+ nameIdentifierFormat?: string | undefined;
1038
+ nameIdentifierProbes?: string[] | undefined;
1039
+ authnContextClassRef?: string | undefined;
1040
+ mappings?: Record<string, string> | undefined;
1041
+ } | undefined;
1042
+ } | undefined;
665
1043
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
666
1044
  client_secret?: string | undefined;
667
1045
  disable_sign_ups?: boolean | undefined;
@@ -948,11 +1326,11 @@ declare const loginInsertSchema: z.ZodObject<{
948
1326
  }, "strip", z.ZodTypeAny, {
949
1327
  client_id: string;
950
1328
  username?: string | undefined;
1329
+ audience?: string | undefined;
951
1330
  vendor_id?: string | undefined;
952
1331
  response_type?: AuthorizationResponseType | undefined;
953
1332
  response_mode?: AuthorizationResponseMode | undefined;
954
1333
  redirect_uri?: string | undefined;
955
- audience?: string | undefined;
956
1334
  state?: string | undefined;
957
1335
  nonce?: string | undefined;
958
1336
  scope?: string | undefined;
@@ -961,11 +1339,11 @@ declare const loginInsertSchema: z.ZodObject<{
961
1339
  }, {
962
1340
  client_id: string;
963
1341
  username?: string | undefined;
1342
+ audience?: string | undefined;
964
1343
  vendor_id?: string | undefined;
965
1344
  response_type?: AuthorizationResponseType | undefined;
966
1345
  response_mode?: AuthorizationResponseMode | undefined;
967
1346
  redirect_uri?: string | undefined;
968
- audience?: string | undefined;
969
1347
  state?: string | undefined;
970
1348
  nonce?: string | undefined;
971
1349
  scope?: string | undefined;
@@ -980,11 +1358,11 @@ declare const loginInsertSchema: z.ZodObject<{
980
1358
  authParams: {
981
1359
  client_id: string;
982
1360
  username?: string | undefined;
1361
+ audience?: string | undefined;
983
1362
  vendor_id?: string | undefined;
984
1363
  response_type?: AuthorizationResponseType | undefined;
985
1364
  response_mode?: AuthorizationResponseMode | undefined;
986
1365
  redirect_uri?: string | undefined;
987
- audience?: string | undefined;
988
1366
  state?: string | undefined;
989
1367
  nonce?: string | undefined;
990
1368
  scope?: string | undefined;
@@ -999,11 +1377,11 @@ declare const loginInsertSchema: z.ZodObject<{
999
1377
  authParams: {
1000
1378
  client_id: string;
1001
1379
  username?: string | undefined;
1380
+ audience?: string | undefined;
1002
1381
  vendor_id?: string | undefined;
1003
1382
  response_type?: AuthorizationResponseType | undefined;
1004
1383
  response_mode?: AuthorizationResponseMode | undefined;
1005
1384
  redirect_uri?: string | undefined;
1006
- audience?: string | undefined;
1007
1385
  state?: string | undefined;
1008
1386
  nonce?: string | undefined;
1009
1387
  scope?: string | undefined;
@@ -1036,11 +1414,11 @@ declare const loginSchema: z.ZodObject<{
1036
1414
  }, "strip", z.ZodTypeAny, {
1037
1415
  client_id: string;
1038
1416
  username?: string | undefined;
1417
+ audience?: string | undefined;
1039
1418
  vendor_id?: string | undefined;
1040
1419
  response_type?: AuthorizationResponseType | undefined;
1041
1420
  response_mode?: AuthorizationResponseMode | undefined;
1042
1421
  redirect_uri?: string | undefined;
1043
- audience?: string | undefined;
1044
1422
  state?: string | undefined;
1045
1423
  nonce?: string | undefined;
1046
1424
  scope?: string | undefined;
@@ -1049,11 +1427,11 @@ declare const loginSchema: z.ZodObject<{
1049
1427
  }, {
1050
1428
  client_id: string;
1051
1429
  username?: string | undefined;
1430
+ audience?: string | undefined;
1052
1431
  vendor_id?: string | undefined;
1053
1432
  response_type?: AuthorizationResponseType | undefined;
1054
1433
  response_mode?: AuthorizationResponseMode | undefined;
1055
1434
  redirect_uri?: string | undefined;
1056
- audience?: string | undefined;
1057
1435
  state?: string | undefined;
1058
1436
  nonce?: string | undefined;
1059
1437
  scope?: string | undefined;
@@ -1071,11 +1449,11 @@ declare const loginSchema: z.ZodObject<{
1071
1449
  authParams: {
1072
1450
  client_id: string;
1073
1451
  username?: string | undefined;
1452
+ audience?: string | undefined;
1074
1453
  vendor_id?: string | undefined;
1075
1454
  response_type?: AuthorizationResponseType | undefined;
1076
1455
  response_mode?: AuthorizationResponseMode | undefined;
1077
1456
  redirect_uri?: string | undefined;
1078
- audience?: string | undefined;
1079
1457
  state?: string | undefined;
1080
1458
  nonce?: string | undefined;
1081
1459
  scope?: string | undefined;
@@ -1093,11 +1471,11 @@ declare const loginSchema: z.ZodObject<{
1093
1471
  authParams: {
1094
1472
  client_id: string;
1095
1473
  username?: string | undefined;
1474
+ audience?: string | undefined;
1096
1475
  vendor_id?: string | undefined;
1097
1476
  response_type?: AuthorizationResponseType | undefined;
1098
1477
  response_mode?: AuthorizationResponseMode | undefined;
1099
1478
  redirect_uri?: string | undefined;
1100
- audience?: string | undefined;
1101
1479
  state?: string | undefined;
1102
1480
  nonce?: string | undefined;
1103
1481
  scope?: string | undefined;
@@ -1214,8 +1592,8 @@ declare const logSchema: z.ZodObject<{
1214
1592
  description?: string | undefined;
1215
1593
  connection?: string | undefined;
1216
1594
  user_id?: string | undefined;
1217
- client_id?: string | undefined;
1218
1595
  audience?: string | undefined;
1596
+ client_id?: string | undefined;
1219
1597
  scope?: string[] | undefined;
1220
1598
  log_id?: string | undefined;
1221
1599
  _id?: string | undefined;
@@ -1242,8 +1620,8 @@ declare const logSchema: z.ZodObject<{
1242
1620
  description?: string | undefined;
1243
1621
  connection?: string | undefined;
1244
1622
  user_id?: string | undefined;
1245
- client_id?: string | undefined;
1246
1623
  audience?: string | undefined;
1624
+ client_id?: string | undefined;
1247
1625
  scope?: string[] | undefined;
1248
1626
  log_id?: string | undefined;
1249
1627
  _id?: string | undefined;
@@ -2248,11 +2626,11 @@ declare const universalLoginSessionInsertSchema: z.ZodObject<{
2248
2626
  }, "strip", z.ZodTypeAny, {
2249
2627
  client_id: string;
2250
2628
  username?: string | undefined;
2629
+ audience?: string | undefined;
2251
2630
  vendor_id?: string | undefined;
2252
2631
  response_type?: AuthorizationResponseType | undefined;
2253
2632
  response_mode?: AuthorizationResponseMode | undefined;
2254
2633
  redirect_uri?: string | undefined;
2255
- audience?: string | undefined;
2256
2634
  state?: string | undefined;
2257
2635
  nonce?: string | undefined;
2258
2636
  scope?: string | undefined;
@@ -2261,11 +2639,11 @@ declare const universalLoginSessionInsertSchema: z.ZodObject<{
2261
2639
  }, {
2262
2640
  client_id: string;
2263
2641
  username?: string | undefined;
2642
+ audience?: string | undefined;
2264
2643
  vendor_id?: string | undefined;
2265
2644
  response_type?: AuthorizationResponseType | undefined;
2266
2645
  response_mode?: AuthorizationResponseMode | undefined;
2267
2646
  redirect_uri?: string | undefined;
2268
- audience?: string | undefined;
2269
2647
  state?: string | undefined;
2270
2648
  nonce?: string | undefined;
2271
2649
  scope?: string | undefined;
@@ -2278,11 +2656,11 @@ declare const universalLoginSessionInsertSchema: z.ZodObject<{
2278
2656
  authParams: {
2279
2657
  client_id: string;
2280
2658
  username?: string | undefined;
2659
+ audience?: string | undefined;
2281
2660
  vendor_id?: string | undefined;
2282
2661
  response_type?: AuthorizationResponseType | undefined;
2283
2662
  response_mode?: AuthorizationResponseMode | undefined;
2284
2663
  redirect_uri?: string | undefined;
2285
- audience?: string | undefined;
2286
2664
  state?: string | undefined;
2287
2665
  nonce?: string | undefined;
2288
2666
  scope?: string | undefined;
@@ -2296,11 +2674,11 @@ declare const universalLoginSessionInsertSchema: z.ZodObject<{
2296
2674
  authParams: {
2297
2675
  client_id: string;
2298
2676
  username?: string | undefined;
2677
+ audience?: string | undefined;
2299
2678
  vendor_id?: string | undefined;
2300
2679
  response_type?: AuthorizationResponseType | undefined;
2301
2680
  response_mode?: AuthorizationResponseMode | undefined;
2302
2681
  redirect_uri?: string | undefined;
2303
- audience?: string | undefined;
2304
2682
  state?: string | undefined;
2305
2683
  nonce?: string | undefined;
2306
2684
  scope?: string | undefined;
@@ -2332,11 +2710,11 @@ declare const universalLoginSessionSchema: z.ZodObject<{
2332
2710
  }, "strip", z.ZodTypeAny, {
2333
2711
  client_id: string;
2334
2712
  username?: string | undefined;
2713
+ audience?: string | undefined;
2335
2714
  vendor_id?: string | undefined;
2336
2715
  response_type?: AuthorizationResponseType | undefined;
2337
2716
  response_mode?: AuthorizationResponseMode | undefined;
2338
2717
  redirect_uri?: string | undefined;
2339
- audience?: string | undefined;
2340
2718
  state?: string | undefined;
2341
2719
  nonce?: string | undefined;
2342
2720
  scope?: string | undefined;
@@ -2345,11 +2723,11 @@ declare const universalLoginSessionSchema: z.ZodObject<{
2345
2723
  }, {
2346
2724
  client_id: string;
2347
2725
  username?: string | undefined;
2726
+ audience?: string | undefined;
2348
2727
  vendor_id?: string | undefined;
2349
2728
  response_type?: AuthorizationResponseType | undefined;
2350
2729
  response_mode?: AuthorizationResponseMode | undefined;
2351
2730
  redirect_uri?: string | undefined;
2352
- audience?: string | undefined;
2353
2731
  state?: string | undefined;
2354
2732
  nonce?: string | undefined;
2355
2733
  scope?: string | undefined;
@@ -2364,11 +2742,11 @@ declare const universalLoginSessionSchema: z.ZodObject<{
2364
2742
  authParams: {
2365
2743
  client_id: string;
2366
2744
  username?: string | undefined;
2745
+ audience?: string | undefined;
2367
2746
  vendor_id?: string | undefined;
2368
2747
  response_type?: AuthorizationResponseType | undefined;
2369
2748
  response_mode?: AuthorizationResponseMode | undefined;
2370
2749
  redirect_uri?: string | undefined;
2371
- audience?: string | undefined;
2372
2750
  state?: string | undefined;
2373
2751
  nonce?: string | undefined;
2374
2752
  scope?: string | undefined;
@@ -2384,11 +2762,11 @@ declare const universalLoginSessionSchema: z.ZodObject<{
2384
2762
  authParams: {
2385
2763
  client_id: string;
2386
2764
  username?: string | undefined;
2765
+ audience?: string | undefined;
2387
2766
  vendor_id?: string | undefined;
2388
2767
  response_type?: AuthorizationResponseType | undefined;
2389
2768
  response_mode?: AuthorizationResponseMode | undefined;
2390
2769
  redirect_uri?: string | undefined;
2391
- audience?: string | undefined;
2392
2770
  state?: string | undefined;
2393
2771
  nonce?: string | undefined;
2394
2772
  scope?: string | undefined;
@@ -2423,11 +2801,11 @@ declare const otpInsertSchema: z.ZodObject<{
2423
2801
  }, "strip", z.ZodTypeAny, {
2424
2802
  client_id: string;
2425
2803
  username?: string | undefined;
2804
+ audience?: string | undefined;
2426
2805
  vendor_id?: string | undefined;
2427
2806
  response_type?: AuthorizationResponseType | undefined;
2428
2807
  response_mode?: AuthorizationResponseMode | undefined;
2429
2808
  redirect_uri?: string | undefined;
2430
- audience?: string | undefined;
2431
2809
  state?: string | undefined;
2432
2810
  nonce?: string | undefined;
2433
2811
  scope?: string | undefined;
@@ -2436,11 +2814,11 @@ declare const otpInsertSchema: z.ZodObject<{
2436
2814
  }, {
2437
2815
  client_id: string;
2438
2816
  username?: string | undefined;
2817
+ audience?: string | undefined;
2439
2818
  vendor_id?: string | undefined;
2440
2819
  response_type?: AuthorizationResponseType | undefined;
2441
2820
  response_mode?: AuthorizationResponseMode | undefined;
2442
2821
  redirect_uri?: string | undefined;
2443
- audience?: string | undefined;
2444
2822
  state?: string | undefined;
2445
2823
  nonce?: string | undefined;
2446
2824
  scope?: string | undefined;
@@ -2458,11 +2836,11 @@ declare const otpInsertSchema: z.ZodObject<{
2458
2836
  authParams: {
2459
2837
  client_id: string;
2460
2838
  username?: string | undefined;
2839
+ audience?: string | undefined;
2461
2840
  vendor_id?: string | undefined;
2462
2841
  response_type?: AuthorizationResponseType | undefined;
2463
2842
  response_mode?: AuthorizationResponseMode | undefined;
2464
2843
  redirect_uri?: string | undefined;
2465
- audience?: string | undefined;
2466
2844
  state?: string | undefined;
2467
2845
  nonce?: string | undefined;
2468
2846
  scope?: string | undefined;
@@ -2481,11 +2859,11 @@ declare const otpInsertSchema: z.ZodObject<{
2481
2859
  authParams: {
2482
2860
  client_id: string;
2483
2861
  username?: string | undefined;
2862
+ audience?: string | undefined;
2484
2863
  vendor_id?: string | undefined;
2485
2864
  response_type?: AuthorizationResponseType | undefined;
2486
2865
  response_mode?: AuthorizationResponseMode | undefined;
2487
2866
  redirect_uri?: string | undefined;
2488
- audience?: string | undefined;
2489
2867
  state?: string | undefined;
2490
2868
  nonce?: string | undefined;
2491
2869
  scope?: string | undefined;
@@ -2523,11 +2901,11 @@ declare const otpSchema: z.ZodObject<{
2523
2901
  }, "strip", z.ZodTypeAny, {
2524
2902
  client_id: string;
2525
2903
  username?: string | undefined;
2904
+ audience?: string | undefined;
2526
2905
  vendor_id?: string | undefined;
2527
2906
  response_type?: AuthorizationResponseType | undefined;
2528
2907
  response_mode?: AuthorizationResponseMode | undefined;
2529
2908
  redirect_uri?: string | undefined;
2530
- audience?: string | undefined;
2531
2909
  state?: string | undefined;
2532
2910
  nonce?: string | undefined;
2533
2911
  scope?: string | undefined;
@@ -2536,11 +2914,11 @@ declare const otpSchema: z.ZodObject<{
2536
2914
  }, {
2537
2915
  client_id: string;
2538
2916
  username?: string | undefined;
2917
+ audience?: string | undefined;
2539
2918
  vendor_id?: string | undefined;
2540
2919
  response_type?: AuthorizationResponseType | undefined;
2541
2920
  response_mode?: AuthorizationResponseMode | undefined;
2542
2921
  redirect_uri?: string | undefined;
2543
- audience?: string | undefined;
2544
2922
  state?: string | undefined;
2545
2923
  nonce?: string | undefined;
2546
2924
  scope?: string | undefined;
@@ -2560,11 +2938,11 @@ declare const otpSchema: z.ZodObject<{
2560
2938
  authParams: {
2561
2939
  client_id: string;
2562
2940
  username?: string | undefined;
2941
+ audience?: string | undefined;
2563
2942
  vendor_id?: string | undefined;
2564
2943
  response_type?: AuthorizationResponseType | undefined;
2565
2944
  response_mode?: AuthorizationResponseMode | undefined;
2566
2945
  redirect_uri?: string | undefined;
2567
- audience?: string | undefined;
2568
2946
  state?: string | undefined;
2569
2947
  nonce?: string | undefined;
2570
2948
  scope?: string | undefined;
@@ -2584,11 +2962,11 @@ declare const otpSchema: z.ZodObject<{
2584
2962
  authParams: {
2585
2963
  client_id: string;
2586
2964
  username?: string | undefined;
2965
+ audience?: string | undefined;
2587
2966
  vendor_id?: string | undefined;
2588
2967
  response_type?: AuthorizationResponseType | undefined;
2589
2968
  response_mode?: AuthorizationResponseMode | undefined;
2590
2969
  redirect_uri?: string | undefined;
2591
- audience?: string | undefined;
2592
2970
  state?: string | undefined;
2593
2971
  nonce?: string | undefined;
2594
2972
  scope?: string | undefined;
@@ -2619,11 +2997,11 @@ declare const authenticationCodeSchema: z.ZodObject<{
2619
2997
  }, "strip", z.ZodTypeAny, {
2620
2998
  client_id: string;
2621
2999
  username?: string | undefined;
3000
+ audience?: string | undefined;
2622
3001
  vendor_id?: string | undefined;
2623
3002
  response_type?: AuthorizationResponseType | undefined;
2624
3003
  response_mode?: AuthorizationResponseMode | undefined;
2625
3004
  redirect_uri?: string | undefined;
2626
- audience?: string | undefined;
2627
3005
  state?: string | undefined;
2628
3006
  nonce?: string | undefined;
2629
3007
  scope?: string | undefined;
@@ -2632,11 +3010,11 @@ declare const authenticationCodeSchema: z.ZodObject<{
2632
3010
  }, {
2633
3011
  client_id: string;
2634
3012
  username?: string | undefined;
3013
+ audience?: string | undefined;
2635
3014
  vendor_id?: string | undefined;
2636
3015
  response_type?: AuthorizationResponseType | undefined;
2637
3016
  response_mode?: AuthorizationResponseMode | undefined;
2638
3017
  redirect_uri?: string | undefined;
2639
- audience?: string | undefined;
2640
3018
  state?: string | undefined;
2641
3019
  nonce?: string | undefined;
2642
3020
  scope?: string | undefined;
@@ -2655,11 +3033,11 @@ declare const authenticationCodeSchema: z.ZodObject<{
2655
3033
  authParams: {
2656
3034
  client_id: string;
2657
3035
  username?: string | undefined;
3036
+ audience?: string | undefined;
2658
3037
  vendor_id?: string | undefined;
2659
3038
  response_type?: AuthorizationResponseType | undefined;
2660
3039
  response_mode?: AuthorizationResponseMode | undefined;
2661
3040
  redirect_uri?: string | undefined;
2662
- audience?: string | undefined;
2663
3041
  state?: string | undefined;
2664
3042
  nonce?: string | undefined;
2665
3043
  scope?: string | undefined;
@@ -2675,11 +3053,11 @@ declare const authenticationCodeSchema: z.ZodObject<{
2675
3053
  authParams: {
2676
3054
  client_id: string;
2677
3055
  username?: string | undefined;
3056
+ audience?: string | undefined;
2678
3057
  vendor_id?: string | undefined;
2679
3058
  response_type?: AuthorizationResponseType | undefined;
2680
3059
  response_mode?: AuthorizationResponseMode | undefined;
2681
3060
  redirect_uri?: string | undefined;
2682
- audience?: string | undefined;
2683
3061
  state?: string | undefined;
2684
3062
  nonce?: string | undefined;
2685
3063
  scope?: string | undefined;