@authhero/kysely-adapter 10.16.0 → 10.18.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.
@@ -1153,6 +1153,11 @@ declare const codeInsertSchema: z.ZodObject<{
1153
1153
  "ticket"
1154
1154
  ]>;
1155
1155
  code_verifier: z.ZodOptional<z.ZodString>;
1156
+ code_challenge: z.ZodOptional<z.ZodString>;
1157
+ code_challenge_method: z.ZodOptional<z.ZodEnum<[
1158
+ "plain",
1159
+ "S256"
1160
+ ]>>;
1156
1161
  expires_at: z.ZodString;
1157
1162
  used_at: z.ZodOptional<z.ZodString>;
1158
1163
  user_id: z.ZodOptional<z.ZodString>;
@@ -1162,6 +1167,8 @@ declare const codeInsertSchema: z.ZodObject<{
1162
1167
  code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
1163
1168
  expires_at: string;
1164
1169
  user_id?: string | undefined;
1170
+ code_challenge_method?: "S256" | "plain" | undefined;
1171
+ code_challenge?: string | undefined;
1165
1172
  connection_id?: string | undefined;
1166
1173
  code_verifier?: string | undefined;
1167
1174
  used_at?: string | undefined;
@@ -1171,6 +1178,8 @@ declare const codeInsertSchema: z.ZodObject<{
1171
1178
  code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
1172
1179
  expires_at: string;
1173
1180
  user_id?: string | undefined;
1181
+ code_challenge_method?: "S256" | "plain" | undefined;
1182
+ code_challenge?: string | undefined;
1174
1183
  connection_id?: string | undefined;
1175
1184
  code_verifier?: string | undefined;
1176
1185
  used_at?: string | undefined;
@@ -1190,6 +1199,11 @@ declare const codeSchema: z.ZodObject<{
1190
1199
  "ticket"
1191
1200
  ]>;
1192
1201
  code_verifier: z.ZodOptional<z.ZodString>;
1202
+ code_challenge: z.ZodOptional<z.ZodString>;
1203
+ code_challenge_method: z.ZodOptional<z.ZodEnum<[
1204
+ "plain",
1205
+ "S256"
1206
+ ]>>;
1193
1207
  expires_at: z.ZodString;
1194
1208
  used_at: z.ZodOptional<z.ZodString>;
1195
1209
  user_id: z.ZodOptional<z.ZodString>;
@@ -1200,6 +1214,8 @@ declare const codeSchema: z.ZodObject<{
1200
1214
  code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
1201
1215
  expires_at: string;
1202
1216
  user_id?: string | undefined;
1217
+ code_challenge_method?: "S256" | "plain" | undefined;
1218
+ code_challenge?: string | undefined;
1203
1219
  connection_id?: string | undefined;
1204
1220
  code_verifier?: string | undefined;
1205
1221
  used_at?: string | undefined;
@@ -1210,6 +1226,8 @@ declare const codeSchema: z.ZodObject<{
1210
1226
  code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
1211
1227
  expires_at: string;
1212
1228
  user_id?: string | undefined;
1229
+ code_challenge_method?: "S256" | "plain" | undefined;
1230
+ code_challenge?: string | undefined;
1213
1231
  connection_id?: string | undefined;
1214
1232
  code_verifier?: string | undefined;
1215
1233
  used_at?: string | undefined;
@@ -3733,6 +3751,7 @@ declare const sessionInsertSchema: z.ZodObject<{
3733
3751
  used_at: z.ZodOptional<z.ZodString>;
3734
3752
  user_id: z.ZodString;
3735
3753
  expires_at: z.ZodOptional<z.ZodString>;
3754
+ login_session_id: z.ZodString;
3736
3755
  idle_expires_at: z.ZodOptional<z.ZodString>;
3737
3756
  device: z.ZodObject<{
3738
3757
  initial_user_agent: z.ZodString;
@@ -3760,6 +3779,7 @@ declare const sessionInsertSchema: z.ZodObject<{
3760
3779
  }, "strip", z.ZodTypeAny, {
3761
3780
  user_id: string;
3762
3781
  id: string;
3782
+ login_session_id: string;
3763
3783
  device: {
3764
3784
  last_ip: string;
3765
3785
  initial_user_agent: string;
@@ -3776,6 +3796,7 @@ declare const sessionInsertSchema: z.ZodObject<{
3776
3796
  }, {
3777
3797
  user_id: string;
3778
3798
  id: string;
3799
+ login_session_id: string;
3779
3800
  device: {
3780
3801
  last_ip: string;
3781
3802
  initial_user_agent: string;
@@ -3797,6 +3818,7 @@ declare const sessionSchema: z.ZodObject<{
3797
3818
  used_at: z.ZodOptional<z.ZodString>;
3798
3819
  user_id: z.ZodString;
3799
3820
  expires_at: z.ZodOptional<z.ZodString>;
3821
+ login_session_id: z.ZodString;
3800
3822
  idle_expires_at: z.ZodOptional<z.ZodString>;
3801
3823
  device: z.ZodObject<{
3802
3824
  initial_user_agent: z.ZodString;
@@ -3830,6 +3852,7 @@ declare const sessionSchema: z.ZodObject<{
3830
3852
  updated_at: string;
3831
3853
  user_id: string;
3832
3854
  id: string;
3855
+ login_session_id: string;
3833
3856
  device: {
3834
3857
  last_ip: string;
3835
3858
  initial_user_agent: string;
@@ -3850,6 +3873,7 @@ declare const sessionSchema: z.ZodObject<{
3850
3873
  updated_at: string;
3851
3874
  user_id: string;
3852
3875
  id: string;
3876
+ login_session_id: string;
3853
3877
  device: {
3854
3878
  last_ip: string;
3855
3879
  initial_user_agent: string;
@@ -5669,6 +5693,7 @@ declare const sqlSessionSchema: z.ZodObject<{
5669
5693
  used_at: z.ZodOptional<z.ZodString>;
5670
5694
  user_id: z.ZodString;
5671
5695
  expires_at: z.ZodOptional<z.ZodString>;
5696
+ login_session_id: z.ZodString;
5672
5697
  idle_expires_at: z.ZodOptional<z.ZodString>;
5673
5698
  created_at: z.ZodString;
5674
5699
  updated_at: z.ZodString;
@@ -5682,6 +5707,7 @@ declare const sqlSessionSchema: z.ZodObject<{
5682
5707
  user_id: string;
5683
5708
  device: string;
5684
5709
  clients: string;
5710
+ login_session_id: string;
5685
5711
  authenticated_at: string;
5686
5712
  last_interaction_at: string;
5687
5713
  revoked_at?: string | undefined;
@@ -5696,6 +5722,7 @@ declare const sqlSessionSchema: z.ZodObject<{
5696
5722
  user_id: string;
5697
5723
  device: string;
5698
5724
  clients: string;
5725
+ login_session_id: string;
5699
5726
  authenticated_at: string;
5700
5727
  last_interaction_at: string;
5701
5728
  revoked_at?: string | undefined;