authhero 0.211.0 → 0.211.1

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
@@ -12686,13 +13066,13 @@ export declare const widgetSchema: z.ZodObject<{
12686
13066
  logo_url: string;
12687
13067
  header_text_alignment: "center" | "left" | "right";
12688
13068
  logo_height: number;
12689
- logo_position: "center" | "left" | "right" | "none";
13069
+ logo_position: "none" | "center" | "left" | "right";
12690
13070
  social_buttons_layout: "bottom" | "top";
12691
13071
  }, {
12692
13072
  logo_url: string;
12693
13073
  header_text_alignment: "center" | "left" | "right";
12694
13074
  logo_height: number;
12695
- logo_position: "center" | "left" | "right" | "none";
13075
+ logo_position: "none" | "center" | "left" | "right";
12696
13076
  social_buttons_layout: "bottom" | "top";
12697
13077
  }>;
12698
13078
  export declare const themeInsertSchema: z.ZodObject<{
@@ -12964,13 +13344,13 @@ export declare const themeInsertSchema: z.ZodObject<{
12964
13344
  logo_url: string;
12965
13345
  header_text_alignment: "center" | "left" | "right";
12966
13346
  logo_height: number;
12967
- logo_position: "center" | "left" | "right" | "none";
13347
+ logo_position: "none" | "center" | "left" | "right";
12968
13348
  social_buttons_layout: "bottom" | "top";
12969
13349
  }, {
12970
13350
  logo_url: string;
12971
13351
  header_text_alignment: "center" | "left" | "right";
12972
13352
  logo_height: number;
12973
- logo_position: "center" | "left" | "right" | "none";
13353
+ logo_position: "none" | "center" | "left" | "right";
12974
13354
  social_buttons_layout: "bottom" | "top";
12975
13355
  }>;
12976
13356
  }, "strip", z.ZodTypeAny, {
@@ -13045,7 +13425,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13045
13425
  logo_url: string;
13046
13426
  header_text_alignment: "center" | "left" | "right";
13047
13427
  logo_height: number;
13048
- logo_position: "center" | "left" | "right" | "none";
13428
+ logo_position: "none" | "center" | "left" | "right";
13049
13429
  social_buttons_layout: "bottom" | "top";
13050
13430
  };
13051
13431
  }, {
@@ -13120,7 +13500,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13120
13500
  logo_url: string;
13121
13501
  header_text_alignment: "center" | "left" | "right";
13122
13502
  logo_height: number;
13123
- logo_position: "center" | "left" | "right" | "none";
13503
+ logo_position: "none" | "center" | "left" | "right";
13124
13504
  social_buttons_layout: "bottom" | "top";
13125
13505
  };
13126
13506
  }>;
@@ -13394,13 +13774,13 @@ export declare const themeSchema: z.ZodObject<{
13394
13774
  logo_url: string;
13395
13775
  header_text_alignment: "center" | "left" | "right";
13396
13776
  logo_height: number;
13397
- logo_position: "center" | "left" | "right" | "none";
13777
+ logo_position: "none" | "center" | "left" | "right";
13398
13778
  social_buttons_layout: "bottom" | "top";
13399
13779
  }, {
13400
13780
  logo_url: string;
13401
13781
  header_text_alignment: "center" | "left" | "right";
13402
13782
  logo_height: number;
13403
- logo_position: "center" | "left" | "right" | "none";
13783
+ logo_position: "none" | "center" | "left" | "right";
13404
13784
  social_buttons_layout: "bottom" | "top";
13405
13785
  }>;
13406
13786
  } & {
@@ -13477,7 +13857,7 @@ export declare const themeSchema: z.ZodObject<{
13477
13857
  logo_url: string;
13478
13858
  header_text_alignment: "center" | "left" | "right";
13479
13859
  logo_height: number;
13480
- logo_position: "center" | "left" | "right" | "none";
13860
+ logo_position: "none" | "center" | "left" | "right";
13481
13861
  social_buttons_layout: "bottom" | "top";
13482
13862
  };
13483
13863
  themeId: string;
@@ -13553,7 +13933,7 @@ export declare const themeSchema: z.ZodObject<{
13553
13933
  logo_url: string;
13554
13934
  header_text_alignment: "center" | "left" | "right";
13555
13935
  logo_height: number;
13556
- logo_position: "center" | "left" | "right" | "none";
13936
+ logo_position: "none" | "center" | "left" | "right";
13557
13937
  social_buttons_layout: "bottom" | "top";
13558
13938
  };
13559
13939
  themeId: string;
@@ -14752,6 +15132,13 @@ export declare const organizationInsertSchema: z.ZodObject<{
14752
15132
  }, "strip", z.ZodTypeAny, {
14753
15133
  name: string;
14754
15134
  id?: string | undefined;
15135
+ token_quota?: {
15136
+ client_credentials?: {
15137
+ enforce: boolean;
15138
+ per_day: number;
15139
+ per_hour: number;
15140
+ } | undefined;
15141
+ } | undefined;
14755
15142
  display_name?: string | undefined;
14756
15143
  branding?: {
14757
15144
  colors?: {
@@ -14767,16 +15154,16 @@ export declare const organizationInsertSchema: z.ZodObject<{
14767
15154
  show_as_button: boolean;
14768
15155
  is_signup_enabled: boolean;
14769
15156
  }[] | undefined;
15157
+ }, {
15158
+ name: string;
15159
+ id?: string | undefined;
14770
15160
  token_quota?: {
14771
15161
  client_credentials?: {
14772
- enforce: boolean;
14773
- per_day: number;
14774
- per_hour: number;
15162
+ enforce?: boolean | undefined;
15163
+ per_day?: number | undefined;
15164
+ per_hour?: number | undefined;
14775
15165
  } | undefined;
14776
15166
  } | undefined;
14777
- }, {
14778
- name: string;
14779
- id?: string | undefined;
14780
15167
  display_name?: string | undefined;
14781
15168
  branding?: {
14782
15169
  colors?: {
@@ -14792,13 +15179,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
14792
15179
  show_as_button?: boolean | undefined;
14793
15180
  is_signup_enabled?: boolean | undefined;
14794
15181
  }[] | 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
15182
  }>;
14803
15183
  export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
14804
15184
  export declare const organizationSchema: z.ZodObject<{
@@ -14881,6 +15261,13 @@ export declare const organizationSchema: z.ZodObject<{
14881
15261
  updated_at: string;
14882
15262
  name: string;
14883
15263
  id: string;
15264
+ token_quota?: {
15265
+ client_credentials?: {
15266
+ enforce: boolean;
15267
+ per_day: number;
15268
+ per_hour: number;
15269
+ } | undefined;
15270
+ } | undefined;
14884
15271
  display_name?: string | undefined;
14885
15272
  branding?: {
14886
15273
  colors?: {
@@ -14896,18 +15283,18 @@ export declare const organizationSchema: z.ZodObject<{
14896
15283
  show_as_button: boolean;
14897
15284
  is_signup_enabled: boolean;
14898
15285
  }[] | undefined;
14899
- token_quota?: {
14900
- client_credentials?: {
14901
- enforce: boolean;
14902
- per_day: number;
14903
- per_hour: number;
14904
- } | undefined;
14905
- } | undefined;
14906
15286
  }, {
14907
15287
  created_at: string;
14908
15288
  updated_at: string;
14909
15289
  name: string;
14910
15290
  id: string;
15291
+ token_quota?: {
15292
+ client_credentials?: {
15293
+ enforce?: boolean | undefined;
15294
+ per_day?: number | undefined;
15295
+ per_hour?: number | undefined;
15296
+ } | undefined;
15297
+ } | undefined;
14911
15298
  display_name?: string | undefined;
14912
15299
  branding?: {
14913
15300
  colors?: {
@@ -14923,13 +15310,6 @@ export declare const organizationSchema: z.ZodObject<{
14923
15310
  show_as_button?: boolean | undefined;
14924
15311
  is_signup_enabled?: boolean | undefined;
14925
15312
  }[] | 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
15313
  }>;
14934
15314
  export type Organization = z.infer<typeof organizationSchema>;
14935
15315
  export declare const userOrganizationInsertSchema: z.ZodObject<{
@@ -14996,6 +15376,16 @@ export interface CacheAdapter {
14996
15376
  */
14997
15377
  clear(): Promise<void>;
14998
15378
  }
15379
+ export interface ClientsAdapter {
15380
+ create(tenant_id: string, params: ClientInsert): Promise<Client>;
15381
+ get(tenant_id: string, client_id: string): Promise<Client | null>;
15382
+ remove(tenant_id: string, client_id: string): Promise<boolean>;
15383
+ list(tenant_id: string, params?: ListParams): Promise<{
15384
+ clients: Client[];
15385
+ totals?: Totals;
15386
+ }>;
15387
+ update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15388
+ }
14999
15389
  export interface ListCodesResponse extends Totals {
15000
15390
  codes: Code[];
15001
15391
  }
@@ -15229,6 +15619,7 @@ export interface DataAdapters {
15229
15619
  applications: ApplicationsAdapter;
15230
15620
  branding: BrandingAdapter;
15231
15621
  cache?: CacheAdapter;
15622
+ clients: ClientsAdapter;
15232
15623
  legacyClients: LegacyClientsAdapter;
15233
15624
  codes: CodesAdapter;
15234
15625
  connections: ConnectionsAdapter;
@@ -15742,6 +16133,13 @@ export declare function init(config: AuthHeroConfig): {
15742
16133
  updated_at: string;
15743
16134
  name: string;
15744
16135
  id: string;
16136
+ token_quota?: {
16137
+ client_credentials?: {
16138
+ enforce: boolean;
16139
+ per_day: number;
16140
+ per_hour: number;
16141
+ } | undefined;
16142
+ } | undefined;
15745
16143
  display_name?: string | undefined | undefined;
15746
16144
  branding?: {
15747
16145
  colors?: {
@@ -15759,13 +16157,6 @@ export declare function init(config: AuthHeroConfig): {
15759
16157
  show_as_button: boolean;
15760
16158
  is_signup_enabled: boolean;
15761
16159
  }[] | undefined;
15762
- token_quota?: {
15763
- client_credentials?: {
15764
- enforce: boolean;
15765
- per_day: number;
15766
- per_hour: number;
15767
- } | undefined;
15768
- } | undefined;
15769
16160
  }[] | {
15770
16161
  length: number;
15771
16162
  start: number;
@@ -15775,6 +16166,13 @@ export declare function init(config: AuthHeroConfig): {
15775
16166
  updated_at: string;
15776
16167
  name: string;
15777
16168
  id: string;
16169
+ token_quota?: {
16170
+ client_credentials?: {
16171
+ enforce: boolean;
16172
+ per_day: number;
16173
+ per_hour: number;
16174
+ } | undefined;
16175
+ } | undefined;
15778
16176
  display_name?: string | undefined | undefined;
15779
16177
  branding?: {
15780
16178
  colors?: {
@@ -15792,13 +16190,6 @@ export declare function init(config: AuthHeroConfig): {
15792
16190
  show_as_button: boolean;
15793
16191
  is_signup_enabled: boolean;
15794
16192
  }[] | undefined;
15795
- token_quota?: {
15796
- client_credentials?: {
15797
- enforce: boolean;
15798
- per_day: number;
15799
- per_hour: number;
15800
- } | undefined;
15801
- } | undefined;
15802
16193
  }[];
15803
16194
  };
15804
16195
  outputFormat: "json";
@@ -15822,6 +16213,13 @@ export declare function init(config: AuthHeroConfig): {
15822
16213
  updated_at: string;
15823
16214
  name: string;
15824
16215
  id: string;
16216
+ token_quota?: {
16217
+ client_credentials?: {
16218
+ enforce: boolean;
16219
+ per_day: number;
16220
+ per_hour: number;
16221
+ } | undefined;
16222
+ } | undefined;
15825
16223
  display_name?: string | undefined | undefined;
15826
16224
  branding?: {
15827
16225
  colors?: {
@@ -15839,13 +16237,6 @@ export declare function init(config: AuthHeroConfig): {
15839
16237
  show_as_button: boolean;
15840
16238
  is_signup_enabled: boolean;
15841
16239
  }[] | undefined;
15842
- token_quota?: {
15843
- client_credentials?: {
15844
- enforce: boolean;
15845
- per_day: number;
15846
- per_hour: number;
15847
- } | undefined;
15848
- } | undefined;
15849
16240
  };
15850
16241
  outputFormat: "json";
15851
16242
  status: 200;
@@ -15890,6 +16281,13 @@ export declare function init(config: AuthHeroConfig): {
15890
16281
  logo_url?: string | undefined;
15891
16282
  } | undefined;
15892
16283
  id?: string | undefined;
16284
+ token_quota?: {
16285
+ client_credentials?: {
16286
+ enforce?: boolean | undefined;
16287
+ per_day?: number | undefined;
16288
+ per_hour?: number | undefined;
16289
+ } | undefined;
16290
+ } | undefined;
15893
16291
  display_name?: string | undefined;
15894
16292
  metadata?: Record<string, any> | undefined;
15895
16293
  enabled_connections?: {
@@ -15898,13 +16296,6 @@ export declare function init(config: AuthHeroConfig): {
15898
16296
  show_as_button?: boolean | undefined;
15899
16297
  is_signup_enabled?: boolean | undefined;
15900
16298
  }[] | 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
16299
  };
15909
16300
  };
15910
16301
  output: {
@@ -15912,6 +16303,13 @@ export declare function init(config: AuthHeroConfig): {
15912
16303
  updated_at: string;
15913
16304
  name: string;
15914
16305
  id: string;
16306
+ token_quota?: {
16307
+ client_credentials?: {
16308
+ enforce: boolean;
16309
+ per_day: number;
16310
+ per_hour: number;
16311
+ } | undefined;
16312
+ } | undefined;
15915
16313
  display_name?: string | undefined | undefined;
15916
16314
  branding?: {
15917
16315
  colors?: {
@@ -15929,13 +16327,6 @@ export declare function init(config: AuthHeroConfig): {
15929
16327
  show_as_button: boolean;
15930
16328
  is_signup_enabled: boolean;
15931
16329
  }[] | undefined;
15932
- token_quota?: {
15933
- client_credentials?: {
15934
- enforce: boolean;
15935
- per_day: number;
15936
- per_hour: number;
15937
- } | undefined;
15938
- } | undefined;
15939
16330
  };
15940
16331
  outputFormat: "json";
15941
16332
  status: 200;
@@ -15952,6 +16343,13 @@ export declare function init(config: AuthHeroConfig): {
15952
16343
  json: {
15953
16344
  name: string;
15954
16345
  id?: string | undefined;
16346
+ token_quota?: {
16347
+ client_credentials?: {
16348
+ enforce?: boolean | undefined;
16349
+ per_day?: number | undefined;
16350
+ per_hour?: number | undefined;
16351
+ } | undefined;
16352
+ } | undefined;
15955
16353
  display_name?: string | undefined;
15956
16354
  branding?: {
15957
16355
  colors?: {
@@ -15967,13 +16365,6 @@ export declare function init(config: AuthHeroConfig): {
15967
16365
  show_as_button?: boolean | undefined;
15968
16366
  is_signup_enabled?: boolean | undefined;
15969
16367
  }[] | 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
16368
  };
15978
16369
  };
15979
16370
  output: {
@@ -15981,6 +16372,13 @@ export declare function init(config: AuthHeroConfig): {
15981
16372
  updated_at: string;
15982
16373
  name: string;
15983
16374
  id: string;
16375
+ token_quota?: {
16376
+ client_credentials?: {
16377
+ enforce: boolean;
16378
+ per_day: number;
16379
+ per_hour: number;
16380
+ } | undefined;
16381
+ } | undefined;
15984
16382
  display_name?: string | undefined | undefined;
15985
16383
  branding?: {
15986
16384
  colors?: {
@@ -15998,13 +16396,6 @@ export declare function init(config: AuthHeroConfig): {
15998
16396
  show_as_button: boolean;
15999
16397
  is_signup_enabled: boolean;
16000
16398
  }[] | undefined;
16001
- token_quota?: {
16002
- client_credentials?: {
16003
- enforce: boolean;
16004
- per_day: number;
16005
- per_hour: number;
16006
- } | undefined;
16007
- } | undefined;
16008
16399
  };
16009
16400
  outputFormat: "json";
16010
16401
  status: 201;
@@ -19700,6 +20091,13 @@ export declare function init(config: AuthHeroConfig): {
19700
20091
  updated_at: string;
19701
20092
  name: string;
19702
20093
  id: string;
20094
+ token_quota?: {
20095
+ client_credentials?: {
20096
+ enforce: boolean;
20097
+ per_day: number;
20098
+ per_hour: number;
20099
+ } | undefined;
20100
+ } | undefined;
19703
20101
  display_name?: string | undefined | undefined;
19704
20102
  branding?: {
19705
20103
  colors?: {
@@ -19717,13 +20115,6 @@ export declare function init(config: AuthHeroConfig): {
19717
20115
  show_as_button: boolean;
19718
20116
  is_signup_enabled: boolean;
19719
20117
  }[] | undefined;
19720
- token_quota?: {
19721
- client_credentials?: {
19722
- enforce: boolean;
19723
- per_day: number;
19724
- per_hour: number;
19725
- } | undefined;
19726
- } | undefined;
19727
20118
  }[] | {
19728
20119
  length: number;
19729
20120
  start: number;
@@ -19733,6 +20124,13 @@ export declare function init(config: AuthHeroConfig): {
19733
20124
  updated_at: string;
19734
20125
  name: string;
19735
20126
  id: string;
20127
+ token_quota?: {
20128
+ client_credentials?: {
20129
+ enforce: boolean;
20130
+ per_day: number;
20131
+ per_hour: number;
20132
+ } | undefined;
20133
+ } | undefined;
19736
20134
  display_name?: string | undefined | undefined;
19737
20135
  branding?: {
19738
20136
  colors?: {
@@ -19750,13 +20148,6 @@ export declare function init(config: AuthHeroConfig): {
19750
20148
  show_as_button: boolean;
19751
20149
  is_signup_enabled: boolean;
19752
20150
  }[] | undefined;
19753
- token_quota?: {
19754
- client_credentials?: {
19755
- enforce: boolean;
19756
- per_day: number;
19757
- per_hour: number;
19758
- } | undefined;
19759
- } | undefined;
19760
20151
  }[];
19761
20152
  };
19762
20153
  outputFormat: "json";
@@ -20208,7 +20599,7 @@ export declare function init(config: AuthHeroConfig): {
20208
20599
  logo_url: string;
20209
20600
  header_text_alignment: "center" | "left" | "right";
20210
20601
  logo_height: number;
20211
- logo_position: "center" | "left" | "right" | "none";
20602
+ logo_position: "none" | "center" | "left" | "right";
20212
20603
  social_buttons_layout: "bottom" | "top";
20213
20604
  };
20214
20605
  themeId: string;
@@ -20375,7 +20766,7 @@ export declare function init(config: AuthHeroConfig): {
20375
20766
  logo_url: string;
20376
20767
  header_text_alignment: "center" | "left" | "right";
20377
20768
  logo_height: number;
20378
- logo_position: "center" | "left" | "right" | "none";
20769
+ logo_position: "none" | "center" | "left" | "right";
20379
20770
  social_buttons_layout: "bottom" | "top";
20380
20771
  };
20381
20772
  themeId: string;