authhero 0.211.0 → 0.212.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.
@@ -989,6 +989,386 @@ export declare const applicationSchema: z.ZodObject<{
989
989
  client_metadata?: Record<string, string> | undefined;
990
990
  }>;
991
991
  export type Application = z.infer<typeof applicationSchema>;
992
+ export declare const clientInsertSchema: z.ZodObject<{
993
+ client_id: z.ZodString;
994
+ name: z.ZodString;
995
+ description: z.ZodOptional<z.ZodString>;
996
+ global: z.ZodDefault<z.ZodBoolean>;
997
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
998
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
999
+ "native",
1000
+ "spa",
1001
+ "regular_web",
1002
+ "non_interactive",
1003
+ "resource_server",
1004
+ "express_configuration",
1005
+ "rms",
1006
+ "box",
1007
+ "cloudbees",
1008
+ "concur",
1009
+ "dropbox",
1010
+ "mscrm",
1011
+ "echosign",
1012
+ "egnyte",
1013
+ "newrelic",
1014
+ "office365",
1015
+ "salesforce",
1016
+ "sentry",
1017
+ "sharepoint",
1018
+ "slack",
1019
+ "springcm",
1020
+ "zendesk",
1021
+ "zoom",
1022
+ "sso_integration",
1023
+ "oag"
1024
+ ]>>>;
1025
+ logo_uri: z.ZodOptional<z.ZodString>;
1026
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
1027
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
1028
+ callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1029
+ allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1030
+ web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1031
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1032
+ allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1033
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1034
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1035
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1036
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1037
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1038
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1039
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1040
+ sso: z.ZodDefault<z.ZodBoolean>;
1041
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
1042
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
1043
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
1044
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
1045
+ custom_login_page: z.ZodOptional<z.ZodString>;
1046
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
1047
+ form_template: z.ZodOptional<z.ZodString>;
1048
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1049
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1050
+ "none",
1051
+ "client_secret_post",
1052
+ "client_secret_basic"
1053
+ ]>>>;
1054
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1055
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1056
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
1057
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1058
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1059
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1060
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1061
+ "deny",
1062
+ "allow",
1063
+ "require"
1064
+ ]>>>;
1065
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1066
+ "no_prompt",
1067
+ "pre_login_prompt",
1068
+ "post_login_prompt"
1069
+ ]>>>;
1070
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1071
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
1072
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
1073
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1074
+ compliance_level: z.ZodOptional<z.ZodEnum<[
1075
+ "none",
1076
+ "fapi1_adv_pkj_par",
1077
+ "fapi1_adv_mtls_par",
1078
+ "fapi2_sp_pkj_mtls",
1079
+ "fapi2_sp_mtls_mtls"
1080
+ ]>>;
1081
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
1082
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ name: string;
1085
+ client_id: string;
1086
+ global: boolean;
1087
+ is_first_party: boolean;
1088
+ oidc_conformant: boolean;
1089
+ sso: boolean;
1090
+ sso_disabled: boolean;
1091
+ cross_origin_authentication: boolean;
1092
+ custom_login_page_on: boolean;
1093
+ require_pushed_authorization_requests: boolean;
1094
+ require_proof_of_possession: boolean;
1095
+ description?: string | undefined;
1096
+ refresh_token?: Record<string, any> | undefined;
1097
+ callbacks?: string[] | undefined;
1098
+ allowed_origins?: string[] | undefined;
1099
+ web_origins?: string[] | undefined;
1100
+ allowed_logout_urls?: string[] | undefined;
1101
+ allowed_clients?: string[] | undefined;
1102
+ addons?: Record<string, any> | undefined;
1103
+ client_secret?: string | undefined;
1104
+ client_metadata?: Record<string, string> | undefined;
1105
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1106
+ logo_uri?: string | undefined;
1107
+ client_aliases?: string[] | undefined;
1108
+ session_transfer?: Record<string, any> | undefined;
1109
+ oidc_logout?: Record<string, any> | undefined;
1110
+ grant_types?: string[] | undefined;
1111
+ jwt_configuration?: Record<string, any> | undefined;
1112
+ signing_keys?: Record<string, any>[] | undefined;
1113
+ encryption_key?: Record<string, any> | undefined;
1114
+ cross_origin_loc?: string | undefined;
1115
+ custom_login_page?: string | undefined;
1116
+ custom_login_page_preview?: string | undefined;
1117
+ form_template?: string | undefined;
1118
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1119
+ mobile?: Record<string, any> | undefined;
1120
+ initiate_login_uri?: string | undefined;
1121
+ native_social_login?: Record<string, any> | undefined;
1122
+ default_organization?: Record<string, any> | undefined;
1123
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1124
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1125
+ client_authentication_methods?: Record<string, any> | undefined;
1126
+ signed_request_object?: Record<string, any> | undefined;
1127
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1128
+ par_request_expiry?: number | undefined;
1129
+ token_quota?: Record<string, any> | undefined;
1130
+ }, {
1131
+ name: string;
1132
+ client_id: string;
1133
+ description?: string | undefined;
1134
+ refresh_token?: Record<string, any> | undefined;
1135
+ callbacks?: string[] | undefined;
1136
+ allowed_origins?: string[] | undefined;
1137
+ web_origins?: string[] | undefined;
1138
+ allowed_logout_urls?: string[] | undefined;
1139
+ allowed_clients?: string[] | undefined;
1140
+ addons?: Record<string, any> | undefined;
1141
+ client_secret?: string | undefined;
1142
+ client_metadata?: Record<string, string> | undefined;
1143
+ global?: boolean | undefined;
1144
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1145
+ logo_uri?: string | undefined;
1146
+ is_first_party?: boolean | undefined;
1147
+ oidc_conformant?: boolean | undefined;
1148
+ client_aliases?: string[] | undefined;
1149
+ session_transfer?: Record<string, any> | undefined;
1150
+ oidc_logout?: Record<string, any> | undefined;
1151
+ grant_types?: string[] | undefined;
1152
+ jwt_configuration?: Record<string, any> | undefined;
1153
+ signing_keys?: Record<string, any>[] | undefined;
1154
+ encryption_key?: Record<string, any> | undefined;
1155
+ sso?: boolean | undefined;
1156
+ sso_disabled?: boolean | undefined;
1157
+ cross_origin_authentication?: boolean | undefined;
1158
+ cross_origin_loc?: string | undefined;
1159
+ custom_login_page_on?: boolean | undefined;
1160
+ custom_login_page?: string | undefined;
1161
+ custom_login_page_preview?: string | undefined;
1162
+ form_template?: string | undefined;
1163
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1164
+ mobile?: Record<string, any> | undefined;
1165
+ initiate_login_uri?: string | undefined;
1166
+ native_social_login?: Record<string, any> | undefined;
1167
+ default_organization?: Record<string, any> | undefined;
1168
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1169
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1170
+ client_authentication_methods?: Record<string, any> | undefined;
1171
+ require_pushed_authorization_requests?: boolean | undefined;
1172
+ require_proof_of_possession?: boolean | undefined;
1173
+ signed_request_object?: Record<string, any> | undefined;
1174
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1175
+ par_request_expiry?: number | undefined;
1176
+ token_quota?: Record<string, any> | undefined;
1177
+ }>;
1178
+ export type ClientInsert = z.input<typeof clientInsertSchema>;
1179
+ export declare const clientSchema: z.ZodObject<{
1180
+ client_id: z.ZodString;
1181
+ name: z.ZodString;
1182
+ description: z.ZodOptional<z.ZodString>;
1183
+ global: z.ZodDefault<z.ZodBoolean>;
1184
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1185
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1186
+ "native",
1187
+ "spa",
1188
+ "regular_web",
1189
+ "non_interactive",
1190
+ "resource_server",
1191
+ "express_configuration",
1192
+ "rms",
1193
+ "box",
1194
+ "cloudbees",
1195
+ "concur",
1196
+ "dropbox",
1197
+ "mscrm",
1198
+ "echosign",
1199
+ "egnyte",
1200
+ "newrelic",
1201
+ "office365",
1202
+ "salesforce",
1203
+ "sentry",
1204
+ "sharepoint",
1205
+ "slack",
1206
+ "springcm",
1207
+ "zendesk",
1208
+ "zoom",
1209
+ "sso_integration",
1210
+ "oag"
1211
+ ]>>>;
1212
+ logo_uri: z.ZodOptional<z.ZodString>;
1213
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
1214
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
1215
+ callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1216
+ allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1217
+ web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1218
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1219
+ allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1220
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1221
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1222
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1223
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1224
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1225
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1226
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1227
+ sso: z.ZodDefault<z.ZodBoolean>;
1228
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
1229
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
1230
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
1231
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
1232
+ custom_login_page: z.ZodOptional<z.ZodString>;
1233
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
1234
+ form_template: z.ZodOptional<z.ZodString>;
1235
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1236
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1237
+ "none",
1238
+ "client_secret_post",
1239
+ "client_secret_basic"
1240
+ ]>>>;
1241
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1242
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1243
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
1244
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1245
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1246
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1247
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1248
+ "deny",
1249
+ "allow",
1250
+ "require"
1251
+ ]>>>;
1252
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1253
+ "no_prompt",
1254
+ "pre_login_prompt",
1255
+ "post_login_prompt"
1256
+ ]>>>;
1257
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1258
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
1259
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
1260
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1261
+ compliance_level: z.ZodOptional<z.ZodEnum<[
1262
+ "none",
1263
+ "fapi1_adv_pkj_par",
1264
+ "fapi1_adv_mtls_par",
1265
+ "fapi2_sp_pkj_mtls",
1266
+ "fapi2_sp_mtls_mtls"
1267
+ ]>>;
1268
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
1269
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1270
+ created_at: z.ZodString;
1271
+ updated_at: z.ZodString;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ created_at: string;
1274
+ updated_at: string;
1275
+ name: string;
1276
+ client_id: string;
1277
+ global: boolean;
1278
+ is_first_party: boolean;
1279
+ oidc_conformant: boolean;
1280
+ sso: boolean;
1281
+ sso_disabled: boolean;
1282
+ cross_origin_authentication: boolean;
1283
+ custom_login_page_on: boolean;
1284
+ require_pushed_authorization_requests: boolean;
1285
+ require_proof_of_possession: boolean;
1286
+ description?: string | undefined;
1287
+ refresh_token?: Record<string, any> | undefined;
1288
+ callbacks?: string[] | undefined;
1289
+ allowed_origins?: string[] | undefined;
1290
+ web_origins?: string[] | undefined;
1291
+ allowed_logout_urls?: string[] | undefined;
1292
+ allowed_clients?: string[] | undefined;
1293
+ addons?: Record<string, any> | undefined;
1294
+ client_secret?: string | undefined;
1295
+ client_metadata?: Record<string, string> | undefined;
1296
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1297
+ logo_uri?: string | undefined;
1298
+ client_aliases?: string[] | undefined;
1299
+ session_transfer?: Record<string, any> | undefined;
1300
+ oidc_logout?: Record<string, any> | undefined;
1301
+ grant_types?: string[] | undefined;
1302
+ jwt_configuration?: Record<string, any> | undefined;
1303
+ signing_keys?: Record<string, any>[] | undefined;
1304
+ encryption_key?: Record<string, any> | undefined;
1305
+ cross_origin_loc?: string | undefined;
1306
+ custom_login_page?: string | undefined;
1307
+ custom_login_page_preview?: string | undefined;
1308
+ form_template?: string | undefined;
1309
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1310
+ mobile?: Record<string, any> | undefined;
1311
+ initiate_login_uri?: string | undefined;
1312
+ native_social_login?: Record<string, any> | undefined;
1313
+ default_organization?: Record<string, any> | undefined;
1314
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1315
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1316
+ client_authentication_methods?: Record<string, any> | undefined;
1317
+ signed_request_object?: Record<string, any> | undefined;
1318
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1319
+ par_request_expiry?: number | undefined;
1320
+ token_quota?: Record<string, any> | undefined;
1321
+ }, {
1322
+ created_at: string;
1323
+ updated_at: string;
1324
+ name: string;
1325
+ client_id: string;
1326
+ description?: string | undefined;
1327
+ refresh_token?: Record<string, any> | undefined;
1328
+ callbacks?: string[] | undefined;
1329
+ allowed_origins?: string[] | undefined;
1330
+ web_origins?: string[] | undefined;
1331
+ allowed_logout_urls?: string[] | undefined;
1332
+ allowed_clients?: string[] | undefined;
1333
+ addons?: Record<string, any> | undefined;
1334
+ client_secret?: string | undefined;
1335
+ client_metadata?: Record<string, string> | undefined;
1336
+ global?: boolean | undefined;
1337
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1338
+ logo_uri?: string | undefined;
1339
+ is_first_party?: boolean | undefined;
1340
+ oidc_conformant?: boolean | undefined;
1341
+ client_aliases?: string[] | undefined;
1342
+ session_transfer?: Record<string, any> | undefined;
1343
+ oidc_logout?: Record<string, any> | undefined;
1344
+ grant_types?: string[] | undefined;
1345
+ jwt_configuration?: Record<string, any> | undefined;
1346
+ signing_keys?: Record<string, any>[] | undefined;
1347
+ encryption_key?: Record<string, any> | undefined;
1348
+ sso?: boolean | undefined;
1349
+ sso_disabled?: boolean | undefined;
1350
+ cross_origin_authentication?: boolean | undefined;
1351
+ cross_origin_loc?: string | undefined;
1352
+ custom_login_page_on?: boolean | undefined;
1353
+ custom_login_page?: string | undefined;
1354
+ custom_login_page_preview?: string | undefined;
1355
+ form_template?: string | undefined;
1356
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1357
+ mobile?: Record<string, any> | undefined;
1358
+ initiate_login_uri?: string | undefined;
1359
+ native_social_login?: Record<string, any> | undefined;
1360
+ default_organization?: Record<string, any> | undefined;
1361
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1362
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1363
+ client_authentication_methods?: Record<string, any> | undefined;
1364
+ require_pushed_authorization_requests?: boolean | undefined;
1365
+ require_proof_of_possession?: boolean | undefined;
1366
+ signed_request_object?: Record<string, any> | undefined;
1367
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1368
+ par_request_expiry?: number | undefined;
1369
+ token_quota?: Record<string, any> | undefined;
1370
+ }>;
1371
+ export type Client = z.infer<typeof clientSchema>;
992
1372
  /**
993
1373
  * Types for Auth0 Form Flow components
994
1374
  * Based on the actual structure used by Auth0 forms API
@@ -8317,121 +8697,116 @@ declare const LegacyClientSchema: z.ZodObject<{
8317
8697
  response_mode?: AuthorizationResponseMode | undefined;
8318
8698
  enabled_clients?: string[] | undefined;
8319
8699
  }>, "many">;
8320
- id: z.ZodString;
8700
+ disable_sign_ups: z.ZodBoolean;
8701
+ email_validation: z.ZodString;
8702
+ client_id: z.ZodString;
8321
8703
  name: z.ZodString;
8704
+ description: z.ZodOptional<z.ZodString>;
8705
+ global: z.ZodDefault<z.ZodBoolean>;
8706
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8707
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8708
+ "native",
8709
+ "spa",
8710
+ "regular_web",
8711
+ "non_interactive",
8712
+ "resource_server",
8713
+ "express_configuration",
8714
+ "rms",
8715
+ "box",
8716
+ "cloudbees",
8717
+ "concur",
8718
+ "dropbox",
8719
+ "mscrm",
8720
+ "echosign",
8721
+ "egnyte",
8722
+ "newrelic",
8723
+ "office365",
8724
+ "salesforce",
8725
+ "sentry",
8726
+ "sharepoint",
8727
+ "slack",
8728
+ "springcm",
8729
+ "zendesk",
8730
+ "zoom",
8731
+ "sso_integration",
8732
+ "oag"
8733
+ ]>>>;
8734
+ logo_uri: z.ZodOptional<z.ZodString>;
8735
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
8736
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
8322
8737
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8323
8738
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8324
8739
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8325
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8740
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8326
8741
  allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8327
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
8328
- samlp: z.ZodOptional<z.ZodObject<{
8329
- audience: z.ZodOptional<z.ZodString>;
8330
- recipient: z.ZodOptional<z.ZodString>;
8331
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
8332
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
8333
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
8334
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
8335
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
8336
- digestAlgorithm: z.ZodOptional<z.ZodString>;
8337
- issuer: z.ZodOptional<z.ZodString>;
8338
- destination: z.ZodOptional<z.ZodString>;
8339
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
8340
- signResponse: z.ZodOptional<z.ZodBoolean>;
8341
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
8342
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8343
- authnContextClassRef: z.ZodOptional<z.ZodString>;
8344
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8345
- }, "strip", z.ZodTypeAny, {
8346
- audience?: string | undefined;
8347
- recipient?: string | undefined;
8348
- createUpnClaim?: boolean | undefined;
8349
- mapUnknownClaimsAsIs?: boolean | undefined;
8350
- passthroughClaimsWithNoMapping?: boolean | undefined;
8351
- mapIdentities?: boolean | undefined;
8352
- signatureAlgorithm?: string | undefined;
8353
- digestAlgorithm?: string | undefined;
8354
- issuer?: string | undefined;
8355
- destination?: string | undefined;
8356
- lifetimeInSeconds?: number | undefined;
8357
- signResponse?: boolean | undefined;
8358
- nameIdentifierFormat?: string | undefined;
8359
- nameIdentifierProbes?: string[] | undefined;
8360
- authnContextClassRef?: string | undefined;
8361
- mappings?: Record<string, string> | undefined;
8362
- }, {
8363
- audience?: string | undefined;
8364
- recipient?: string | undefined;
8365
- createUpnClaim?: boolean | undefined;
8366
- mapUnknownClaimsAsIs?: boolean | undefined;
8367
- passthroughClaimsWithNoMapping?: boolean | undefined;
8368
- mapIdentities?: boolean | undefined;
8369
- signatureAlgorithm?: string | undefined;
8370
- digestAlgorithm?: string | undefined;
8371
- issuer?: string | undefined;
8372
- destination?: string | undefined;
8373
- lifetimeInSeconds?: number | undefined;
8374
- signResponse?: boolean | undefined;
8375
- nameIdentifierFormat?: string | undefined;
8376
- nameIdentifierProbes?: string[] | undefined;
8377
- authnContextClassRef?: string | undefined;
8378
- mappings?: Record<string, string> | undefined;
8379
- }>>;
8380
- }, "strip", z.ZodTypeAny, {
8381
- samlp?: {
8382
- audience?: string | undefined;
8383
- recipient?: string | undefined;
8384
- createUpnClaim?: boolean | undefined;
8385
- mapUnknownClaimsAsIs?: boolean | undefined;
8386
- passthroughClaimsWithNoMapping?: boolean | undefined;
8387
- mapIdentities?: boolean | undefined;
8388
- signatureAlgorithm?: string | undefined;
8389
- digestAlgorithm?: string | undefined;
8390
- issuer?: string | undefined;
8391
- destination?: string | undefined;
8392
- lifetimeInSeconds?: number | undefined;
8393
- signResponse?: boolean | undefined;
8394
- nameIdentifierFormat?: string | undefined;
8395
- nameIdentifierProbes?: string[] | undefined;
8396
- authnContextClassRef?: string | undefined;
8397
- mappings?: Record<string, string> | undefined;
8398
- } | undefined;
8399
- }, {
8400
- samlp?: {
8401
- audience?: string | undefined;
8402
- recipient?: string | undefined;
8403
- createUpnClaim?: boolean | undefined;
8404
- mapUnknownClaimsAsIs?: boolean | undefined;
8405
- passthroughClaimsWithNoMapping?: boolean | undefined;
8406
- mapIdentities?: boolean | undefined;
8407
- signatureAlgorithm?: string | undefined;
8408
- digestAlgorithm?: string | undefined;
8409
- issuer?: string | undefined;
8410
- destination?: string | undefined;
8411
- lifetimeInSeconds?: number | undefined;
8412
- signResponse?: boolean | undefined;
8413
- nameIdentifierFormat?: string | undefined;
8414
- nameIdentifierProbes?: string[] | undefined;
8415
- authnContextClassRef?: string | undefined;
8416
- mappings?: Record<string, string> | undefined;
8417
- } | undefined;
8418
- }>>>;
8419
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8420
- "enabled",
8421
- "disabled",
8422
- "enforced"
8742
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8743
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8744
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8745
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8746
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8747
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
8748
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8749
+ sso: z.ZodDefault<z.ZodBoolean>;
8750
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
8751
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
8752
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
8753
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
8754
+ custom_login_page: z.ZodOptional<z.ZodString>;
8755
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
8756
+ form_template: z.ZodOptional<z.ZodString>;
8757
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8758
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8759
+ "none",
8760
+ "client_secret_post",
8761
+ "client_secret_basic"
8423
8762
  ]>>>;
8424
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8425
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8426
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8427
- created_at: z.ZodEffects<z.ZodString, string, string>;
8428
- updated_at: z.ZodEffects<z.ZodString, string, string>;
8763
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
8764
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8765
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
8766
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8767
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8768
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8769
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8770
+ "deny",
8771
+ "allow",
8772
+ "require"
8773
+ ]>>>;
8774
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8775
+ "no_prompt",
8776
+ "pre_login_prompt",
8777
+ "post_login_prompt"
8778
+ ]>>>;
8779
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8780
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
8781
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
8782
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8783
+ compliance_level: z.ZodOptional<z.ZodEnum<[
8784
+ "none",
8785
+ "fapi1_adv_pkj_par",
8786
+ "fapi1_adv_mtls_par",
8787
+ "fapi2_sp_pkj_mtls",
8788
+ "fapi2_sp_mtls_mtls"
8789
+ ]>>;
8790
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
8791
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8792
+ created_at: z.ZodString;
8793
+ updated_at: z.ZodString;
8429
8794
  }, "strip", z.ZodTypeAny, {
8430
8795
  created_at: string;
8431
8796
  updated_at: string;
8432
8797
  name: string;
8433
- id: string;
8798
+ email_validation: string;
8434
8799
  disable_sign_ups: boolean;
8800
+ client_id: string;
8801
+ global: boolean;
8802
+ is_first_party: boolean;
8803
+ oidc_conformant: boolean;
8804
+ sso: boolean;
8805
+ sso_disabled: boolean;
8806
+ cross_origin_authentication: boolean;
8807
+ custom_login_page_on: boolean;
8808
+ require_pushed_authorization_requests: boolean;
8809
+ require_proof_of_possession: boolean;
8435
8810
  tenant: {
8436
8811
  created_at: string;
8437
8812
  updated_at: string;
@@ -8476,39 +8851,48 @@ declare const LegacyClientSchema: z.ZodObject<{
8476
8851
  response_mode?: AuthorizationResponseMode | undefined;
8477
8852
  enabled_clients?: string[] | undefined;
8478
8853
  }[];
8854
+ description?: string | undefined;
8855
+ refresh_token?: Record<string, any> | undefined;
8479
8856
  callbacks?: string[] | undefined;
8480
8857
  allowed_origins?: string[] | undefined;
8481
8858
  web_origins?: string[] | undefined;
8482
8859
  allowed_logout_urls?: string[] | undefined;
8483
8860
  allowed_clients?: string[] | undefined;
8484
- addons?: {
8485
- samlp?: {
8486
- audience?: string | undefined;
8487
- recipient?: string | undefined;
8488
- createUpnClaim?: boolean | undefined;
8489
- mapUnknownClaimsAsIs?: boolean | undefined;
8490
- passthroughClaimsWithNoMapping?: boolean | undefined;
8491
- mapIdentities?: boolean | undefined;
8492
- signatureAlgorithm?: string | undefined;
8493
- digestAlgorithm?: string | undefined;
8494
- issuer?: string | undefined;
8495
- destination?: string | undefined;
8496
- lifetimeInSeconds?: number | undefined;
8497
- signResponse?: boolean | undefined;
8498
- nameIdentifierFormat?: string | undefined;
8499
- nameIdentifierProbes?: string[] | undefined;
8500
- authnContextClassRef?: string | undefined;
8501
- mappings?: Record<string, string> | undefined;
8502
- } | undefined;
8503
- } | undefined;
8504
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8861
+ addons?: Record<string, any> | undefined;
8505
8862
  client_secret?: string | undefined;
8506
8863
  client_metadata?: Record<string, string> | undefined;
8864
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
8865
+ logo_uri?: string | undefined;
8866
+ client_aliases?: string[] | undefined;
8867
+ session_transfer?: Record<string, any> | undefined;
8868
+ oidc_logout?: Record<string, any> | undefined;
8869
+ grant_types?: string[] | undefined;
8870
+ jwt_configuration?: Record<string, any> | undefined;
8871
+ signing_keys?: Record<string, any>[] | undefined;
8872
+ encryption_key?: Record<string, any> | undefined;
8873
+ cross_origin_loc?: string | undefined;
8874
+ custom_login_page?: string | undefined;
8875
+ custom_login_page_preview?: string | undefined;
8876
+ form_template?: string | undefined;
8877
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8878
+ mobile?: Record<string, any> | undefined;
8879
+ initiate_login_uri?: string | undefined;
8880
+ native_social_login?: Record<string, any> | undefined;
8881
+ default_organization?: Record<string, any> | undefined;
8882
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8883
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8884
+ client_authentication_methods?: Record<string, any> | undefined;
8885
+ signed_request_object?: Record<string, any> | undefined;
8886
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8887
+ par_request_expiry?: number | undefined;
8888
+ token_quota?: Record<string, any> | undefined;
8507
8889
  }, {
8508
8890
  created_at: string;
8509
8891
  updated_at: string;
8510
8892
  name: string;
8511
- id: string;
8893
+ email_validation: string;
8894
+ disable_sign_ups: boolean;
8895
+ client_id: string;
8512
8896
  tenant: {
8513
8897
  created_at: string;
8514
8898
  updated_at: string;
@@ -8553,35 +8937,50 @@ declare const LegacyClientSchema: z.ZodObject<{
8553
8937
  response_mode?: AuthorizationResponseMode | undefined;
8554
8938
  enabled_clients?: string[] | undefined;
8555
8939
  }[];
8940
+ description?: string | undefined;
8941
+ refresh_token?: Record<string, any> | undefined;
8556
8942
  callbacks?: string[] | undefined;
8557
8943
  allowed_origins?: string[] | undefined;
8558
8944
  web_origins?: string[] | undefined;
8559
8945
  allowed_logout_urls?: string[] | undefined;
8560
8946
  allowed_clients?: string[] | undefined;
8561
- addons?: {
8562
- samlp?: {
8563
- audience?: string | undefined;
8564
- recipient?: string | undefined;
8565
- createUpnClaim?: boolean | undefined;
8566
- mapUnknownClaimsAsIs?: boolean | undefined;
8567
- passthroughClaimsWithNoMapping?: boolean | undefined;
8568
- mapIdentities?: boolean | undefined;
8569
- signatureAlgorithm?: string | undefined;
8570
- digestAlgorithm?: string | undefined;
8571
- issuer?: string | undefined;
8572
- destination?: string | undefined;
8573
- lifetimeInSeconds?: number | undefined;
8574
- signResponse?: boolean | undefined;
8575
- nameIdentifierFormat?: string | undefined;
8576
- nameIdentifierProbes?: string[] | undefined;
8577
- authnContextClassRef?: string | undefined;
8578
- mappings?: Record<string, string> | undefined;
8579
- } | undefined;
8580
- } | undefined;
8581
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8947
+ addons?: Record<string, any> | undefined;
8582
8948
  client_secret?: string | undefined;
8583
- disable_sign_ups?: boolean | undefined;
8584
8949
  client_metadata?: Record<string, string> | undefined;
8950
+ global?: boolean | undefined;
8951
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
8952
+ logo_uri?: string | undefined;
8953
+ is_first_party?: boolean | undefined;
8954
+ oidc_conformant?: boolean | undefined;
8955
+ client_aliases?: string[] | undefined;
8956
+ session_transfer?: Record<string, any> | undefined;
8957
+ oidc_logout?: Record<string, any> | undefined;
8958
+ grant_types?: string[] | undefined;
8959
+ jwt_configuration?: Record<string, any> | undefined;
8960
+ signing_keys?: Record<string, any>[] | undefined;
8961
+ encryption_key?: Record<string, any> | undefined;
8962
+ sso?: boolean | undefined;
8963
+ sso_disabled?: boolean | undefined;
8964
+ cross_origin_authentication?: boolean | undefined;
8965
+ cross_origin_loc?: string | undefined;
8966
+ custom_login_page_on?: boolean | undefined;
8967
+ custom_login_page?: string | undefined;
8968
+ custom_login_page_preview?: string | undefined;
8969
+ form_template?: string | undefined;
8970
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8971
+ mobile?: Record<string, any> | undefined;
8972
+ initiate_login_uri?: string | undefined;
8973
+ native_social_login?: Record<string, any> | undefined;
8974
+ default_organization?: Record<string, any> | undefined;
8975
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8976
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8977
+ client_authentication_methods?: Record<string, any> | undefined;
8978
+ require_pushed_authorization_requests?: boolean | undefined;
8979
+ require_proof_of_possession?: boolean | undefined;
8980
+ signed_request_object?: Record<string, any> | undefined;
8981
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8982
+ par_request_expiry?: number | undefined;
8983
+ token_quota?: Record<string, any> | undefined;
8585
8984
  }>;
8586
8985
  export type LegacyClient = z.infer<typeof LegacyClientSchema>;
8587
8986
  export declare const codeTypeSchema: z.ZodEnum<[
@@ -12686,13 +13085,13 @@ export declare const widgetSchema: z.ZodObject<{
12686
13085
  logo_url: string;
12687
13086
  header_text_alignment: "center" | "left" | "right";
12688
13087
  logo_height: number;
12689
- logo_position: "center" | "left" | "right" | "none";
13088
+ logo_position: "none" | "center" | "left" | "right";
12690
13089
  social_buttons_layout: "bottom" | "top";
12691
13090
  }, {
12692
13091
  logo_url: string;
12693
13092
  header_text_alignment: "center" | "left" | "right";
12694
13093
  logo_height: number;
12695
- logo_position: "center" | "left" | "right" | "none";
13094
+ logo_position: "none" | "center" | "left" | "right";
12696
13095
  social_buttons_layout: "bottom" | "top";
12697
13096
  }>;
12698
13097
  export declare const themeInsertSchema: z.ZodObject<{
@@ -12964,13 +13363,13 @@ export declare const themeInsertSchema: z.ZodObject<{
12964
13363
  logo_url: string;
12965
13364
  header_text_alignment: "center" | "left" | "right";
12966
13365
  logo_height: number;
12967
- logo_position: "center" | "left" | "right" | "none";
13366
+ logo_position: "none" | "center" | "left" | "right";
12968
13367
  social_buttons_layout: "bottom" | "top";
12969
13368
  }, {
12970
13369
  logo_url: string;
12971
13370
  header_text_alignment: "center" | "left" | "right";
12972
13371
  logo_height: number;
12973
- logo_position: "center" | "left" | "right" | "none";
13372
+ logo_position: "none" | "center" | "left" | "right";
12974
13373
  social_buttons_layout: "bottom" | "top";
12975
13374
  }>;
12976
13375
  }, "strip", z.ZodTypeAny, {
@@ -13045,7 +13444,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13045
13444
  logo_url: string;
13046
13445
  header_text_alignment: "center" | "left" | "right";
13047
13446
  logo_height: number;
13048
- logo_position: "center" | "left" | "right" | "none";
13447
+ logo_position: "none" | "center" | "left" | "right";
13049
13448
  social_buttons_layout: "bottom" | "top";
13050
13449
  };
13051
13450
  }, {
@@ -13120,7 +13519,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13120
13519
  logo_url: string;
13121
13520
  header_text_alignment: "center" | "left" | "right";
13122
13521
  logo_height: number;
13123
- logo_position: "center" | "left" | "right" | "none";
13522
+ logo_position: "none" | "center" | "left" | "right";
13124
13523
  social_buttons_layout: "bottom" | "top";
13125
13524
  };
13126
13525
  }>;
@@ -13394,13 +13793,13 @@ export declare const themeSchema: z.ZodObject<{
13394
13793
  logo_url: string;
13395
13794
  header_text_alignment: "center" | "left" | "right";
13396
13795
  logo_height: number;
13397
- logo_position: "center" | "left" | "right" | "none";
13796
+ logo_position: "none" | "center" | "left" | "right";
13398
13797
  social_buttons_layout: "bottom" | "top";
13399
13798
  }, {
13400
13799
  logo_url: string;
13401
13800
  header_text_alignment: "center" | "left" | "right";
13402
13801
  logo_height: number;
13403
- logo_position: "center" | "left" | "right" | "none";
13802
+ logo_position: "none" | "center" | "left" | "right";
13404
13803
  social_buttons_layout: "bottom" | "top";
13405
13804
  }>;
13406
13805
  } & {
@@ -13477,7 +13876,7 @@ export declare const themeSchema: z.ZodObject<{
13477
13876
  logo_url: string;
13478
13877
  header_text_alignment: "center" | "left" | "right";
13479
13878
  logo_height: number;
13480
- logo_position: "center" | "left" | "right" | "none";
13879
+ logo_position: "none" | "center" | "left" | "right";
13481
13880
  social_buttons_layout: "bottom" | "top";
13482
13881
  };
13483
13882
  themeId: string;
@@ -13553,7 +13952,7 @@ export declare const themeSchema: z.ZodObject<{
13553
13952
  logo_url: string;
13554
13953
  header_text_alignment: "center" | "left" | "right";
13555
13954
  logo_height: number;
13556
- logo_position: "center" | "left" | "right" | "none";
13955
+ logo_position: "none" | "center" | "left" | "right";
13557
13956
  social_buttons_layout: "bottom" | "top";
13558
13957
  };
13559
13958
  themeId: string;
@@ -14752,6 +15151,13 @@ export declare const organizationInsertSchema: z.ZodObject<{
14752
15151
  }, "strip", z.ZodTypeAny, {
14753
15152
  name: string;
14754
15153
  id?: string | undefined;
15154
+ token_quota?: {
15155
+ client_credentials?: {
15156
+ enforce: boolean;
15157
+ per_day: number;
15158
+ per_hour: number;
15159
+ } | undefined;
15160
+ } | undefined;
14755
15161
  display_name?: string | undefined;
14756
15162
  branding?: {
14757
15163
  colors?: {
@@ -14767,16 +15173,16 @@ export declare const organizationInsertSchema: z.ZodObject<{
14767
15173
  show_as_button: boolean;
14768
15174
  is_signup_enabled: boolean;
14769
15175
  }[] | undefined;
15176
+ }, {
15177
+ name: string;
15178
+ id?: string | undefined;
14770
15179
  token_quota?: {
14771
15180
  client_credentials?: {
14772
- enforce: boolean;
14773
- per_day: number;
14774
- per_hour: number;
15181
+ enforce?: boolean | undefined;
15182
+ per_day?: number | undefined;
15183
+ per_hour?: number | undefined;
14775
15184
  } | undefined;
14776
15185
  } | undefined;
14777
- }, {
14778
- name: string;
14779
- id?: string | undefined;
14780
15186
  display_name?: string | undefined;
14781
15187
  branding?: {
14782
15188
  colors?: {
@@ -14792,13 +15198,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
14792
15198
  show_as_button?: boolean | undefined;
14793
15199
  is_signup_enabled?: boolean | undefined;
14794
15200
  }[] | undefined;
14795
- token_quota?: {
14796
- client_credentials?: {
14797
- enforce?: boolean | undefined;
14798
- per_day?: number | undefined;
14799
- per_hour?: number | undefined;
14800
- } | undefined;
14801
- } | undefined;
14802
15201
  }>;
14803
15202
  export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
14804
15203
  export declare const organizationSchema: z.ZodObject<{
@@ -14881,6 +15280,13 @@ export declare const organizationSchema: z.ZodObject<{
14881
15280
  updated_at: string;
14882
15281
  name: string;
14883
15282
  id: string;
15283
+ token_quota?: {
15284
+ client_credentials?: {
15285
+ enforce: boolean;
15286
+ per_day: number;
15287
+ per_hour: number;
15288
+ } | undefined;
15289
+ } | undefined;
14884
15290
  display_name?: string | undefined;
14885
15291
  branding?: {
14886
15292
  colors?: {
@@ -14896,18 +15302,18 @@ export declare const organizationSchema: z.ZodObject<{
14896
15302
  show_as_button: boolean;
14897
15303
  is_signup_enabled: boolean;
14898
15304
  }[] | undefined;
14899
- token_quota?: {
14900
- client_credentials?: {
14901
- enforce: boolean;
14902
- per_day: number;
14903
- per_hour: number;
14904
- } | undefined;
14905
- } | undefined;
14906
15305
  }, {
14907
15306
  created_at: string;
14908
15307
  updated_at: string;
14909
15308
  name: string;
14910
15309
  id: string;
15310
+ token_quota?: {
15311
+ client_credentials?: {
15312
+ enforce?: boolean | undefined;
15313
+ per_day?: number | undefined;
15314
+ per_hour?: number | undefined;
15315
+ } | undefined;
15316
+ } | undefined;
14911
15317
  display_name?: string | undefined;
14912
15318
  branding?: {
14913
15319
  colors?: {
@@ -14923,13 +15329,6 @@ export declare const organizationSchema: z.ZodObject<{
14923
15329
  show_as_button?: boolean | undefined;
14924
15330
  is_signup_enabled?: boolean | undefined;
14925
15331
  }[] | undefined;
14926
- token_quota?: {
14927
- client_credentials?: {
14928
- enforce?: boolean | undefined;
14929
- per_day?: number | undefined;
14930
- per_hour?: number | undefined;
14931
- } | undefined;
14932
- } | undefined;
14933
15332
  }>;
14934
15333
  export type Organization = z.infer<typeof organizationSchema>;
14935
15334
  export declare const userOrganizationInsertSchema: z.ZodObject<{
@@ -14996,6 +15395,16 @@ export interface CacheAdapter {
14996
15395
  */
14997
15396
  clear(): Promise<void>;
14998
15397
  }
15398
+ export interface ClientsAdapter {
15399
+ create(tenant_id: string, params: ClientInsert): Promise<Client>;
15400
+ get(tenant_id: string, client_id: string): Promise<Client | null>;
15401
+ remove(tenant_id: string, client_id: string): Promise<boolean>;
15402
+ list(tenant_id: string, params?: ListParams): Promise<{
15403
+ clients: Client[];
15404
+ totals?: Totals;
15405
+ }>;
15406
+ update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15407
+ }
14999
15408
  export interface ListCodesResponse extends Totals {
15000
15409
  codes: Code[];
15001
15410
  }
@@ -15229,6 +15638,7 @@ export interface DataAdapters {
15229
15638
  applications: ApplicationsAdapter;
15230
15639
  branding: BrandingAdapter;
15231
15640
  cache?: CacheAdapter;
15641
+ clients: ClientsAdapter;
15232
15642
  legacyClients: LegacyClientsAdapter;
15233
15643
  codes: CodesAdapter;
15234
15644
  connections: ConnectionsAdapter;
@@ -15742,6 +16152,13 @@ export declare function init(config: AuthHeroConfig): {
15742
16152
  updated_at: string;
15743
16153
  name: string;
15744
16154
  id: string;
16155
+ token_quota?: {
16156
+ client_credentials?: {
16157
+ enforce: boolean;
16158
+ per_day: number;
16159
+ per_hour: number;
16160
+ } | undefined;
16161
+ } | undefined;
15745
16162
  display_name?: string | undefined | undefined;
15746
16163
  branding?: {
15747
16164
  colors?: {
@@ -15759,13 +16176,6 @@ export declare function init(config: AuthHeroConfig): {
15759
16176
  show_as_button: boolean;
15760
16177
  is_signup_enabled: boolean;
15761
16178
  }[] | undefined;
15762
- token_quota?: {
15763
- client_credentials?: {
15764
- enforce: boolean;
15765
- per_day: number;
15766
- per_hour: number;
15767
- } | undefined;
15768
- } | undefined;
15769
16179
  }[] | {
15770
16180
  length: number;
15771
16181
  start: number;
@@ -15775,6 +16185,13 @@ export declare function init(config: AuthHeroConfig): {
15775
16185
  updated_at: string;
15776
16186
  name: string;
15777
16187
  id: string;
16188
+ token_quota?: {
16189
+ client_credentials?: {
16190
+ enforce: boolean;
16191
+ per_day: number;
16192
+ per_hour: number;
16193
+ } | undefined;
16194
+ } | undefined;
15778
16195
  display_name?: string | undefined | undefined;
15779
16196
  branding?: {
15780
16197
  colors?: {
@@ -15792,13 +16209,6 @@ export declare function init(config: AuthHeroConfig): {
15792
16209
  show_as_button: boolean;
15793
16210
  is_signup_enabled: boolean;
15794
16211
  }[] | undefined;
15795
- token_quota?: {
15796
- client_credentials?: {
15797
- enforce: boolean;
15798
- per_day: number;
15799
- per_hour: number;
15800
- } | undefined;
15801
- } | undefined;
15802
16212
  }[];
15803
16213
  };
15804
16214
  outputFormat: "json";
@@ -15822,6 +16232,13 @@ export declare function init(config: AuthHeroConfig): {
15822
16232
  updated_at: string;
15823
16233
  name: string;
15824
16234
  id: string;
16235
+ token_quota?: {
16236
+ client_credentials?: {
16237
+ enforce: boolean;
16238
+ per_day: number;
16239
+ per_hour: number;
16240
+ } | undefined;
16241
+ } | undefined;
15825
16242
  display_name?: string | undefined | undefined;
15826
16243
  branding?: {
15827
16244
  colors?: {
@@ -15839,13 +16256,6 @@ export declare function init(config: AuthHeroConfig): {
15839
16256
  show_as_button: boolean;
15840
16257
  is_signup_enabled: boolean;
15841
16258
  }[] | undefined;
15842
- token_quota?: {
15843
- client_credentials?: {
15844
- enforce: boolean;
15845
- per_day: number;
15846
- per_hour: number;
15847
- } | undefined;
15848
- } | undefined;
15849
16259
  };
15850
16260
  outputFormat: "json";
15851
16261
  status: 200;
@@ -15890,6 +16300,13 @@ export declare function init(config: AuthHeroConfig): {
15890
16300
  logo_url?: string | undefined;
15891
16301
  } | undefined;
15892
16302
  id?: string | undefined;
16303
+ token_quota?: {
16304
+ client_credentials?: {
16305
+ enforce?: boolean | undefined;
16306
+ per_day?: number | undefined;
16307
+ per_hour?: number | undefined;
16308
+ } | undefined;
16309
+ } | undefined;
15893
16310
  display_name?: string | undefined;
15894
16311
  metadata?: Record<string, any> | undefined;
15895
16312
  enabled_connections?: {
@@ -15898,13 +16315,6 @@ export declare function init(config: AuthHeroConfig): {
15898
16315
  show_as_button?: boolean | undefined;
15899
16316
  is_signup_enabled?: boolean | undefined;
15900
16317
  }[] | undefined;
15901
- token_quota?: {
15902
- client_credentials?: {
15903
- enforce?: boolean | undefined;
15904
- per_day?: number | undefined;
15905
- per_hour?: number | undefined;
15906
- } | undefined;
15907
- } | undefined;
15908
16318
  };
15909
16319
  };
15910
16320
  output: {
@@ -15912,6 +16322,13 @@ export declare function init(config: AuthHeroConfig): {
15912
16322
  updated_at: string;
15913
16323
  name: string;
15914
16324
  id: string;
16325
+ token_quota?: {
16326
+ client_credentials?: {
16327
+ enforce: boolean;
16328
+ per_day: number;
16329
+ per_hour: number;
16330
+ } | undefined;
16331
+ } | undefined;
15915
16332
  display_name?: string | undefined | undefined;
15916
16333
  branding?: {
15917
16334
  colors?: {
@@ -15929,13 +16346,6 @@ export declare function init(config: AuthHeroConfig): {
15929
16346
  show_as_button: boolean;
15930
16347
  is_signup_enabled: boolean;
15931
16348
  }[] | undefined;
15932
- token_quota?: {
15933
- client_credentials?: {
15934
- enforce: boolean;
15935
- per_day: number;
15936
- per_hour: number;
15937
- } | undefined;
15938
- } | undefined;
15939
16349
  };
15940
16350
  outputFormat: "json";
15941
16351
  status: 200;
@@ -15952,6 +16362,13 @@ export declare function init(config: AuthHeroConfig): {
15952
16362
  json: {
15953
16363
  name: string;
15954
16364
  id?: string | undefined;
16365
+ token_quota?: {
16366
+ client_credentials?: {
16367
+ enforce?: boolean | undefined;
16368
+ per_day?: number | undefined;
16369
+ per_hour?: number | undefined;
16370
+ } | undefined;
16371
+ } | undefined;
15955
16372
  display_name?: string | undefined;
15956
16373
  branding?: {
15957
16374
  colors?: {
@@ -15967,13 +16384,6 @@ export declare function init(config: AuthHeroConfig): {
15967
16384
  show_as_button?: boolean | undefined;
15968
16385
  is_signup_enabled?: boolean | undefined;
15969
16386
  }[] | undefined;
15970
- token_quota?: {
15971
- client_credentials?: {
15972
- enforce?: boolean | undefined;
15973
- per_day?: number | undefined;
15974
- per_hour?: number | undefined;
15975
- } | undefined;
15976
- } | undefined;
15977
16387
  };
15978
16388
  };
15979
16389
  output: {
@@ -15981,6 +16391,13 @@ export declare function init(config: AuthHeroConfig): {
15981
16391
  updated_at: string;
15982
16392
  name: string;
15983
16393
  id: string;
16394
+ token_quota?: {
16395
+ client_credentials?: {
16396
+ enforce: boolean;
16397
+ per_day: number;
16398
+ per_hour: number;
16399
+ } | undefined;
16400
+ } | undefined;
15984
16401
  display_name?: string | undefined | undefined;
15985
16402
  branding?: {
15986
16403
  colors?: {
@@ -15998,13 +16415,6 @@ export declare function init(config: AuthHeroConfig): {
15998
16415
  show_as_button: boolean;
15999
16416
  is_signup_enabled: boolean;
16000
16417
  }[] | undefined;
16001
- token_quota?: {
16002
- client_credentials?: {
16003
- enforce: boolean;
16004
- per_day: number;
16005
- per_hour: number;
16006
- } | undefined;
16007
- } | undefined;
16008
16418
  };
16009
16419
  outputFormat: "json";
16010
16420
  status: 201;
@@ -18780,6 +19190,7 @@ export declare function init(config: AuthHeroConfig): {
18780
19190
  callbacks?: string[] | undefined;
18781
19191
  id?: string | undefined;
18782
19192
  disable_sign_ups?: boolean | undefined;
19193
+ email_validation?: "disabled" | "enabled" | "enforced" | undefined;
18783
19194
  allowed_origins?: string[] | undefined;
18784
19195
  web_origins?: string[] | undefined;
18785
19196
  allowed_logout_urls?: string[] | undefined;
@@ -18804,7 +19215,6 @@ export declare function init(config: AuthHeroConfig): {
18804
19215
  mappings?: Record<string, string> | undefined;
18805
19216
  } | undefined;
18806
19217
  } | undefined;
18807
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
18808
19218
  client_secret?: string | undefined;
18809
19219
  client_metadata?: Record<string, string> | undefined;
18810
19220
  };
@@ -18865,6 +19275,7 @@ export declare function init(config: AuthHeroConfig): {
18865
19275
  id: string;
18866
19276
  callbacks?: string[] | undefined;
18867
19277
  disable_sign_ups?: boolean | undefined;
19278
+ email_validation?: "disabled" | "enabled" | "enforced" | undefined;
18868
19279
  allowed_origins?: string[] | undefined;
18869
19280
  web_origins?: string[] | undefined;
18870
19281
  allowed_logout_urls?: string[] | undefined;
@@ -18889,7 +19300,6 @@ export declare function init(config: AuthHeroConfig): {
18889
19300
  mappings?: Record<string, string> | undefined;
18890
19301
  } | undefined;
18891
19302
  } | undefined;
18892
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
18893
19303
  client_secret?: string | undefined;
18894
19304
  client_metadata?: Record<string, string> | undefined;
18895
19305
  };
@@ -18901,6 +19311,7 @@ export declare function init(config: AuthHeroConfig): {
18901
19311
  updated_at: string;
18902
19312
  disable_sign_ups: boolean;
18903
19313
  callbacks?: string[] | undefined;
19314
+ email_validation?: "disabled" | "enabled" | "enforced" | undefined;
18904
19315
  allowed_origins?: string[] | undefined;
18905
19316
  web_origins?: string[] | undefined;
18906
19317
  allowed_logout_urls?: string[] | undefined;
@@ -18927,7 +19338,6 @@ export declare function init(config: AuthHeroConfig): {
18927
19338
  } | undefined;
18928
19339
  } | undefined;
18929
19340
  } | undefined;
18930
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
18931
19341
  client_secret?: string | undefined;
18932
19342
  client_metadata?: {
18933
19343
  [x: string]: string;
@@ -19700,6 +20110,13 @@ export declare function init(config: AuthHeroConfig): {
19700
20110
  updated_at: string;
19701
20111
  name: string;
19702
20112
  id: string;
20113
+ token_quota?: {
20114
+ client_credentials?: {
20115
+ enforce: boolean;
20116
+ per_day: number;
20117
+ per_hour: number;
20118
+ } | undefined;
20119
+ } | undefined;
19703
20120
  display_name?: string | undefined | undefined;
19704
20121
  branding?: {
19705
20122
  colors?: {
@@ -19717,13 +20134,6 @@ export declare function init(config: AuthHeroConfig): {
19717
20134
  show_as_button: boolean;
19718
20135
  is_signup_enabled: boolean;
19719
20136
  }[] | undefined;
19720
- token_quota?: {
19721
- client_credentials?: {
19722
- enforce: boolean;
19723
- per_day: number;
19724
- per_hour: number;
19725
- } | undefined;
19726
- } | undefined;
19727
20137
  }[] | {
19728
20138
  length: number;
19729
20139
  start: number;
@@ -19733,6 +20143,13 @@ export declare function init(config: AuthHeroConfig): {
19733
20143
  updated_at: string;
19734
20144
  name: string;
19735
20145
  id: string;
20146
+ token_quota?: {
20147
+ client_credentials?: {
20148
+ enforce: boolean;
20149
+ per_day: number;
20150
+ per_hour: number;
20151
+ } | undefined;
20152
+ } | undefined;
19736
20153
  display_name?: string | undefined | undefined;
19737
20154
  branding?: {
19738
20155
  colors?: {
@@ -19750,13 +20167,6 @@ export declare function init(config: AuthHeroConfig): {
19750
20167
  show_as_button: boolean;
19751
20168
  is_signup_enabled: boolean;
19752
20169
  }[] | undefined;
19753
- token_quota?: {
19754
- client_credentials?: {
19755
- enforce: boolean;
19756
- per_day: number;
19757
- per_hour: number;
19758
- } | undefined;
19759
- } | undefined;
19760
20170
  }[];
19761
20171
  };
19762
20172
  outputFormat: "json";
@@ -20208,7 +20618,7 @@ export declare function init(config: AuthHeroConfig): {
20208
20618
  logo_url: string;
20209
20619
  header_text_alignment: "center" | "left" | "right";
20210
20620
  logo_height: number;
20211
- logo_position: "center" | "left" | "right" | "none";
20621
+ logo_position: "none" | "center" | "left" | "right";
20212
20622
  social_buttons_layout: "bottom" | "top";
20213
20623
  };
20214
20624
  themeId: string;
@@ -20375,7 +20785,7 @@ export declare function init(config: AuthHeroConfig): {
20375
20785
  logo_url: string;
20376
20786
  header_text_alignment: "center" | "left" | "right";
20377
20787
  logo_height: number;
20378
- logo_position: "center" | "left" | "right" | "none";
20788
+ logo_position: "none" | "center" | "left" | "right";
20379
20789
  social_buttons_layout: "bottom" | "top";
20380
20790
  };
20381
20791
  themeId: string;