@authhero/kysely-adapter 10.62.0 → 10.63.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.
@@ -1266,6 +1266,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1266
1266
  } & {
1267
1267
  id: z.ZodOptional<z.ZodString>;
1268
1268
  name: z.ZodString;
1269
+ display_name: z.ZodOptional<z.ZodString>;
1269
1270
  strategy: z.ZodString;
1270
1271
  options: z.ZodDefault<z.ZodObject<{
1271
1272
  kid: z.ZodOptional<z.ZodString>;
@@ -1286,6 +1287,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1286
1287
  from: z.ZodOptional<z.ZodString>;
1287
1288
  twilio_sid: z.ZodOptional<z.ZodString>;
1288
1289
  twilio_token: z.ZodOptional<z.ZodString>;
1290
+ icon_url: z.ZodOptional<z.ZodString>;
1289
1291
  }, "strip", z.ZodTypeAny, {
1290
1292
  provider?: string | undefined;
1291
1293
  client_id?: string | undefined;
@@ -1305,6 +1307,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1305
1307
  from?: string | undefined;
1306
1308
  twilio_sid?: string | undefined;
1307
1309
  twilio_token?: string | undefined;
1310
+ icon_url?: string | undefined;
1308
1311
  }, {
1309
1312
  provider?: string | undefined;
1310
1313
  client_id?: string | undefined;
@@ -1324,10 +1327,14 @@ declare const LegacyClientSchema: z.ZodObject<{
1324
1327
  from?: string | undefined;
1325
1328
  twilio_sid?: string | undefined;
1326
1329
  twilio_token?: string | undefined;
1330
+ icon_url?: string | undefined;
1327
1331
  }>>;
1328
1332
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1329
1333
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1330
1334
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1335
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
1336
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
1337
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1331
1338
  }, "strip", z.ZodTypeAny, {
1332
1339
  options: {
1333
1340
  provider?: string | undefined;
@@ -1348,6 +1355,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1348
1355
  from?: string | undefined;
1349
1356
  twilio_sid?: string | undefined;
1350
1357
  twilio_token?: string | undefined;
1358
+ icon_url?: string | undefined;
1351
1359
  };
1352
1360
  created_at: string;
1353
1361
  updated_at: string;
@@ -1356,7 +1364,11 @@ declare const LegacyClientSchema: z.ZodObject<{
1356
1364
  id?: string | undefined;
1357
1365
  response_type?: AuthorizationResponseType | undefined;
1358
1366
  response_mode?: AuthorizationResponseMode | undefined;
1367
+ display_name?: string | undefined;
1359
1368
  enabled_clients?: string[] | undefined;
1369
+ is_domain_connection?: boolean | undefined;
1370
+ show_as_button?: boolean | undefined;
1371
+ metadata?: Record<string, any> | undefined;
1360
1372
  }, {
1361
1373
  created_at: string;
1362
1374
  updated_at: string;
@@ -1381,11 +1393,16 @@ declare const LegacyClientSchema: z.ZodObject<{
1381
1393
  from?: string | undefined;
1382
1394
  twilio_sid?: string | undefined;
1383
1395
  twilio_token?: string | undefined;
1396
+ icon_url?: string | undefined;
1384
1397
  } | undefined;
1385
1398
  id?: string | undefined;
1386
1399
  response_type?: AuthorizationResponseType | undefined;
1387
1400
  response_mode?: AuthorizationResponseMode | undefined;
1401
+ display_name?: string | undefined;
1388
1402
  enabled_clients?: string[] | undefined;
1403
+ is_domain_connection?: boolean | undefined;
1404
+ show_as_button?: boolean | undefined;
1405
+ metadata?: Record<string, any> | undefined;
1389
1406
  }>, "many">;
1390
1407
  client_id: z.ZodString;
1391
1408
  name: z.ZodString;
@@ -1614,6 +1631,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1614
1631
  from?: string | undefined;
1615
1632
  twilio_sid?: string | undefined;
1616
1633
  twilio_token?: string | undefined;
1634
+ icon_url?: string | undefined;
1617
1635
  };
1618
1636
  created_at: string;
1619
1637
  updated_at: string;
@@ -1622,7 +1640,11 @@ declare const LegacyClientSchema: z.ZodObject<{
1622
1640
  id?: string | undefined;
1623
1641
  response_type?: AuthorizationResponseType | undefined;
1624
1642
  response_mode?: AuthorizationResponseMode | undefined;
1643
+ display_name?: string | undefined;
1625
1644
  enabled_clients?: string[] | undefined;
1645
+ is_domain_connection?: boolean | undefined;
1646
+ show_as_button?: boolean | undefined;
1647
+ metadata?: Record<string, any> | undefined;
1626
1648
  }[];
1627
1649
  description?: string | undefined;
1628
1650
  refresh_token?: Record<string, any> | undefined;
@@ -1789,11 +1811,16 @@ declare const LegacyClientSchema: z.ZodObject<{
1789
1811
  from?: string | undefined;
1790
1812
  twilio_sid?: string | undefined;
1791
1813
  twilio_token?: string | undefined;
1814
+ icon_url?: string | undefined;
1792
1815
  } | undefined;
1793
1816
  id?: string | undefined;
1794
1817
  response_type?: AuthorizationResponseType | undefined;
1795
1818
  response_mode?: AuthorizationResponseMode | undefined;
1819
+ display_name?: string | undefined;
1796
1820
  enabled_clients?: string[] | undefined;
1821
+ is_domain_connection?: boolean | undefined;
1822
+ show_as_button?: boolean | undefined;
1823
+ metadata?: Record<string, any> | undefined;
1797
1824
  }[];
1798
1825
  description?: string | undefined;
1799
1826
  refresh_token?: Record<string, any> | undefined;
@@ -1964,6 +1991,7 @@ export type Code = z.infer<typeof codeSchema>;
1964
1991
  declare const connectionInsertSchema: z.ZodObject<{
1965
1992
  id: z.ZodOptional<z.ZodString>;
1966
1993
  name: z.ZodString;
1994
+ display_name: z.ZodOptional<z.ZodString>;
1967
1995
  strategy: z.ZodString;
1968
1996
  options: z.ZodDefault<z.ZodObject<{
1969
1997
  kid: z.ZodOptional<z.ZodString>;
@@ -1984,6 +2012,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1984
2012
  from: z.ZodOptional<z.ZodString>;
1985
2013
  twilio_sid: z.ZodOptional<z.ZodString>;
1986
2014
  twilio_token: z.ZodOptional<z.ZodString>;
2015
+ icon_url: z.ZodOptional<z.ZodString>;
1987
2016
  }, "strip", z.ZodTypeAny, {
1988
2017
  provider?: string | undefined;
1989
2018
  client_id?: string | undefined;
@@ -2003,6 +2032,7 @@ declare const connectionInsertSchema: z.ZodObject<{
2003
2032
  from?: string | undefined;
2004
2033
  twilio_sid?: string | undefined;
2005
2034
  twilio_token?: string | undefined;
2035
+ icon_url?: string | undefined;
2006
2036
  }, {
2007
2037
  provider?: string | undefined;
2008
2038
  client_id?: string | undefined;
@@ -2022,10 +2052,14 @@ declare const connectionInsertSchema: z.ZodObject<{
2022
2052
  from?: string | undefined;
2023
2053
  twilio_sid?: string | undefined;
2024
2054
  twilio_token?: string | undefined;
2055
+ icon_url?: string | undefined;
2025
2056
  }>>;
2026
2057
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
2027
2058
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
2028
2059
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
2060
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
2061
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
2062
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2029
2063
  }, "strip", z.ZodTypeAny, {
2030
2064
  options: {
2031
2065
  provider?: string | undefined;
@@ -2046,13 +2080,18 @@ declare const connectionInsertSchema: z.ZodObject<{
2046
2080
  from?: string | undefined;
2047
2081
  twilio_sid?: string | undefined;
2048
2082
  twilio_token?: string | undefined;
2083
+ icon_url?: string | undefined;
2049
2084
  };
2050
2085
  name: string;
2051
2086
  strategy: string;
2052
2087
  id?: string | undefined;
2053
2088
  response_type?: AuthorizationResponseType | undefined;
2054
2089
  response_mode?: AuthorizationResponseMode | undefined;
2090
+ display_name?: string | undefined;
2055
2091
  enabled_clients?: string[] | undefined;
2092
+ is_domain_connection?: boolean | undefined;
2093
+ show_as_button?: boolean | undefined;
2094
+ metadata?: Record<string, any> | undefined;
2056
2095
  }, {
2057
2096
  name: string;
2058
2097
  strategy: string;
@@ -2075,11 +2114,16 @@ declare const connectionInsertSchema: z.ZodObject<{
2075
2114
  from?: string | undefined;
2076
2115
  twilio_sid?: string | undefined;
2077
2116
  twilio_token?: string | undefined;
2117
+ icon_url?: string | undefined;
2078
2118
  } | undefined;
2079
2119
  id?: string | undefined;
2080
2120
  response_type?: AuthorizationResponseType | undefined;
2081
2121
  response_mode?: AuthorizationResponseMode | undefined;
2122
+ display_name?: string | undefined;
2082
2123
  enabled_clients?: string[] | undefined;
2124
+ is_domain_connection?: boolean | undefined;
2125
+ show_as_button?: boolean | undefined;
2126
+ metadata?: Record<string, any> | undefined;
2083
2127
  }>;
2084
2128
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
2085
2129
  declare const connectionSchema: z.ZodObject<{
@@ -2088,6 +2132,7 @@ declare const connectionSchema: z.ZodObject<{
2088
2132
  } & {
2089
2133
  id: z.ZodOptional<z.ZodString>;
2090
2134
  name: z.ZodString;
2135
+ display_name: z.ZodOptional<z.ZodString>;
2091
2136
  strategy: z.ZodString;
2092
2137
  options: z.ZodDefault<z.ZodObject<{
2093
2138
  kid: z.ZodOptional<z.ZodString>;
@@ -2108,6 +2153,7 @@ declare const connectionSchema: z.ZodObject<{
2108
2153
  from: z.ZodOptional<z.ZodString>;
2109
2154
  twilio_sid: z.ZodOptional<z.ZodString>;
2110
2155
  twilio_token: z.ZodOptional<z.ZodString>;
2156
+ icon_url: z.ZodOptional<z.ZodString>;
2111
2157
  }, "strip", z.ZodTypeAny, {
2112
2158
  provider?: string | undefined;
2113
2159
  client_id?: string | undefined;
@@ -2127,6 +2173,7 @@ declare const connectionSchema: z.ZodObject<{
2127
2173
  from?: string | undefined;
2128
2174
  twilio_sid?: string | undefined;
2129
2175
  twilio_token?: string | undefined;
2176
+ icon_url?: string | undefined;
2130
2177
  }, {
2131
2178
  provider?: string | undefined;
2132
2179
  client_id?: string | undefined;
@@ -2146,10 +2193,14 @@ declare const connectionSchema: z.ZodObject<{
2146
2193
  from?: string | undefined;
2147
2194
  twilio_sid?: string | undefined;
2148
2195
  twilio_token?: string | undefined;
2196
+ icon_url?: string | undefined;
2149
2197
  }>>;
2150
2198
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
2151
2199
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
2152
2200
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
2201
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
2202
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
2203
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2153
2204
  }, "strip", z.ZodTypeAny, {
2154
2205
  options: {
2155
2206
  provider?: string | undefined;
@@ -2170,6 +2221,7 @@ declare const connectionSchema: z.ZodObject<{
2170
2221
  from?: string | undefined;
2171
2222
  twilio_sid?: string | undefined;
2172
2223
  twilio_token?: string | undefined;
2224
+ icon_url?: string | undefined;
2173
2225
  };
2174
2226
  created_at: string;
2175
2227
  updated_at: string;
@@ -2178,7 +2230,11 @@ declare const connectionSchema: z.ZodObject<{
2178
2230
  id?: string | undefined;
2179
2231
  response_type?: AuthorizationResponseType | undefined;
2180
2232
  response_mode?: AuthorizationResponseMode | undefined;
2233
+ display_name?: string | undefined;
2181
2234
  enabled_clients?: string[] | undefined;
2235
+ is_domain_connection?: boolean | undefined;
2236
+ show_as_button?: boolean | undefined;
2237
+ metadata?: Record<string, any> | undefined;
2182
2238
  }, {
2183
2239
  created_at: string;
2184
2240
  updated_at: string;
@@ -2203,11 +2259,16 @@ declare const connectionSchema: z.ZodObject<{
2203
2259
  from?: string | undefined;
2204
2260
  twilio_sid?: string | undefined;
2205
2261
  twilio_token?: string | undefined;
2262
+ icon_url?: string | undefined;
2206
2263
  } | undefined;
2207
2264
  id?: string | undefined;
2208
2265
  response_type?: AuthorizationResponseType | undefined;
2209
2266
  response_mode?: AuthorizationResponseMode | undefined;
2267
+ display_name?: string | undefined;
2210
2268
  enabled_clients?: string[] | undefined;
2269
+ is_domain_connection?: boolean | undefined;
2270
+ show_as_button?: boolean | undefined;
2271
+ metadata?: Record<string, any> | undefined;
2211
2272
  }>;
2212
2273
  export type Connection = z.infer<typeof connectionSchema>;
2213
2274
  declare const customDomainInsertSchema: z.ZodObject<{
@@ -7142,14 +7203,14 @@ declare const organizationInsertSchema: z.ZodObject<{
7142
7203
  show_as_button: z.ZodDefault<z.ZodBoolean>;
7143
7204
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
7144
7205
  }, "strip", z.ZodTypeAny, {
7206
+ show_as_button: boolean;
7145
7207
  connection_id: string;
7146
7208
  assign_membership_on_login: boolean;
7147
- show_as_button: boolean;
7148
7209
  is_signup_enabled: boolean;
7149
7210
  }, {
7150
7211
  connection_id: string;
7151
- assign_membership_on_login?: boolean | undefined;
7152
7212
  show_as_button?: boolean | undefined;
7213
+ assign_membership_on_login?: boolean | undefined;
7153
7214
  is_signup_enabled?: boolean | undefined;
7154
7215
  }>, "many">>>;
7155
7216
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -7190,6 +7251,7 @@ declare const organizationInsertSchema: z.ZodObject<{
7190
7251
  } | undefined;
7191
7252
  id?: string | undefined;
7192
7253
  display_name?: string | undefined;
7254
+ metadata?: Record<string, any> | undefined;
7193
7255
  branding?: {
7194
7256
  colors?: {
7195
7257
  primary?: string | undefined;
@@ -7197,11 +7259,10 @@ declare const organizationInsertSchema: z.ZodObject<{
7197
7259
  } | undefined;
7198
7260
  logo_url?: string | undefined;
7199
7261
  } | undefined;
7200
- metadata?: Record<string, any> | undefined;
7201
7262
  enabled_connections?: {
7263
+ show_as_button: boolean;
7202
7264
  connection_id: string;
7203
7265
  assign_membership_on_login: boolean;
7204
- show_as_button: boolean;
7205
7266
  is_signup_enabled: boolean;
7206
7267
  }[] | undefined;
7207
7268
  }, {
@@ -7215,6 +7276,7 @@ declare const organizationInsertSchema: z.ZodObject<{
7215
7276
  } | undefined;
7216
7277
  id?: string | undefined;
7217
7278
  display_name?: string | undefined;
7279
+ metadata?: Record<string, any> | undefined;
7218
7280
  branding?: {
7219
7281
  colors?: {
7220
7282
  primary?: string | undefined;
@@ -7222,11 +7284,10 @@ declare const organizationInsertSchema: z.ZodObject<{
7222
7284
  } | undefined;
7223
7285
  logo_url?: string | undefined;
7224
7286
  } | undefined;
7225
- metadata?: Record<string, any> | undefined;
7226
7287
  enabled_connections?: {
7227
7288
  connection_id: string;
7228
- assign_membership_on_login?: boolean | undefined;
7229
7289
  show_as_button?: boolean | undefined;
7290
+ assign_membership_on_login?: boolean | undefined;
7230
7291
  is_signup_enabled?: boolean | undefined;
7231
7292
  }[] | undefined;
7232
7293
  }>;
@@ -7269,14 +7330,14 @@ declare const organizationSchema: z.ZodObject<{
7269
7330
  show_as_button: z.ZodDefault<z.ZodBoolean>;
7270
7331
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
7271
7332
  }, "strip", z.ZodTypeAny, {
7333
+ show_as_button: boolean;
7272
7334
  connection_id: string;
7273
7335
  assign_membership_on_login: boolean;
7274
- show_as_button: boolean;
7275
7336
  is_signup_enabled: boolean;
7276
7337
  }, {
7277
7338
  connection_id: string;
7278
- assign_membership_on_login?: boolean | undefined;
7279
7339
  show_as_button?: boolean | undefined;
7340
+ assign_membership_on_login?: boolean | undefined;
7280
7341
  is_signup_enabled?: boolean | undefined;
7281
7342
  }>, "many">>>;
7282
7343
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -7319,6 +7380,7 @@ declare const organizationSchema: z.ZodObject<{
7319
7380
  } | undefined;
7320
7381
  } | undefined;
7321
7382
  display_name?: string | undefined;
7383
+ metadata?: Record<string, any> | undefined;
7322
7384
  branding?: {
7323
7385
  colors?: {
7324
7386
  primary?: string | undefined;
@@ -7326,11 +7388,10 @@ declare const organizationSchema: z.ZodObject<{
7326
7388
  } | undefined;
7327
7389
  logo_url?: string | undefined;
7328
7390
  } | undefined;
7329
- metadata?: Record<string, any> | undefined;
7330
7391
  enabled_connections?: {
7392
+ show_as_button: boolean;
7331
7393
  connection_id: string;
7332
7394
  assign_membership_on_login: boolean;
7333
- show_as_button: boolean;
7334
7395
  is_signup_enabled: boolean;
7335
7396
  }[] | undefined;
7336
7397
  }, {
@@ -7346,6 +7407,7 @@ declare const organizationSchema: z.ZodObject<{
7346
7407
  } | undefined;
7347
7408
  } | undefined;
7348
7409
  display_name?: string | undefined;
7410
+ metadata?: Record<string, any> | undefined;
7349
7411
  branding?: {
7350
7412
  colors?: {
7351
7413
  primary?: string | undefined;
@@ -7353,11 +7415,10 @@ declare const organizationSchema: z.ZodObject<{
7353
7415
  } | undefined;
7354
7416
  logo_url?: string | undefined;
7355
7417
  } | undefined;
7356
- metadata?: Record<string, any> | undefined;
7357
7418
  enabled_connections?: {
7358
7419
  connection_id: string;
7359
- assign_membership_on_login?: boolean | undefined;
7360
7420
  show_as_button?: boolean | undefined;
7421
+ assign_membership_on_login?: boolean | undefined;
7361
7422
  is_signup_enabled?: boolean | undefined;
7362
7423
  }[] | undefined;
7363
7424
  }>;