@authhero/adapter-interfaces 0.88.0 → 0.90.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.
@@ -986,6 +986,386 @@ export declare const applicationSchema: z.ZodObject<{
986
986
  client_metadata?: Record<string, string> | undefined;
987
987
  }>;
988
988
  export type Application = z.infer<typeof applicationSchema>;
989
+ export declare const clientInsertSchema: z.ZodObject<{
990
+ client_id: z.ZodString;
991
+ name: z.ZodString;
992
+ description: z.ZodOptional<z.ZodString>;
993
+ global: z.ZodDefault<z.ZodBoolean>;
994
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
995
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
996
+ "native",
997
+ "spa",
998
+ "regular_web",
999
+ "non_interactive",
1000
+ "resource_server",
1001
+ "express_configuration",
1002
+ "rms",
1003
+ "box",
1004
+ "cloudbees",
1005
+ "concur",
1006
+ "dropbox",
1007
+ "mscrm",
1008
+ "echosign",
1009
+ "egnyte",
1010
+ "newrelic",
1011
+ "office365",
1012
+ "salesforce",
1013
+ "sentry",
1014
+ "sharepoint",
1015
+ "slack",
1016
+ "springcm",
1017
+ "zendesk",
1018
+ "zoom",
1019
+ "sso_integration",
1020
+ "oag"
1021
+ ]>>>;
1022
+ logo_uri: z.ZodOptional<z.ZodString>;
1023
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
1024
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
1025
+ callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1026
+ allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1027
+ web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1028
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1029
+ allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1030
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1031
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1032
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1033
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1034
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1035
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1036
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1037
+ sso: z.ZodDefault<z.ZodBoolean>;
1038
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
1039
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
1040
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
1041
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
1042
+ custom_login_page: z.ZodOptional<z.ZodString>;
1043
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
1044
+ form_template: z.ZodOptional<z.ZodString>;
1045
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1046
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1047
+ "none",
1048
+ "client_secret_post",
1049
+ "client_secret_basic"
1050
+ ]>>>;
1051
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1052
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1053
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
1054
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1055
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1056
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1057
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1058
+ "deny",
1059
+ "allow",
1060
+ "require"
1061
+ ]>>>;
1062
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1063
+ "no_prompt",
1064
+ "pre_login_prompt",
1065
+ "post_login_prompt"
1066
+ ]>>>;
1067
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1068
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
1069
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
1070
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1071
+ compliance_level: z.ZodOptional<z.ZodEnum<[
1072
+ "none",
1073
+ "fapi1_adv_pkj_par",
1074
+ "fapi1_adv_mtls_par",
1075
+ "fapi2_sp_pkj_mtls",
1076
+ "fapi2_sp_mtls_mtls"
1077
+ ]>>;
1078
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
1079
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ name: string;
1082
+ client_id: string;
1083
+ global: boolean;
1084
+ is_first_party: boolean;
1085
+ oidc_conformant: boolean;
1086
+ sso: boolean;
1087
+ sso_disabled: boolean;
1088
+ cross_origin_authentication: boolean;
1089
+ custom_login_page_on: boolean;
1090
+ require_pushed_authorization_requests: boolean;
1091
+ require_proof_of_possession: boolean;
1092
+ description?: string | undefined;
1093
+ refresh_token?: Record<string, any> | undefined;
1094
+ callbacks?: string[] | undefined;
1095
+ allowed_origins?: string[] | undefined;
1096
+ web_origins?: string[] | undefined;
1097
+ allowed_logout_urls?: string[] | undefined;
1098
+ allowed_clients?: string[] | undefined;
1099
+ addons?: Record<string, any> | undefined;
1100
+ client_secret?: string | undefined;
1101
+ client_metadata?: Record<string, string> | undefined;
1102
+ 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;
1103
+ logo_uri?: string | undefined;
1104
+ client_aliases?: string[] | undefined;
1105
+ session_transfer?: Record<string, any> | undefined;
1106
+ oidc_logout?: Record<string, any> | undefined;
1107
+ grant_types?: string[] | undefined;
1108
+ jwt_configuration?: Record<string, any> | undefined;
1109
+ signing_keys?: Record<string, any>[] | undefined;
1110
+ encryption_key?: Record<string, any> | undefined;
1111
+ cross_origin_loc?: string | undefined;
1112
+ custom_login_page?: string | undefined;
1113
+ custom_login_page_preview?: string | undefined;
1114
+ form_template?: string | undefined;
1115
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1116
+ mobile?: Record<string, any> | undefined;
1117
+ initiate_login_uri?: string | undefined;
1118
+ native_social_login?: Record<string, any> | undefined;
1119
+ default_organization?: Record<string, any> | undefined;
1120
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1121
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1122
+ client_authentication_methods?: Record<string, any> | undefined;
1123
+ signed_request_object?: Record<string, any> | undefined;
1124
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1125
+ par_request_expiry?: number | undefined;
1126
+ token_quota?: Record<string, any> | undefined;
1127
+ }, {
1128
+ name: string;
1129
+ client_id: string;
1130
+ description?: string | undefined;
1131
+ refresh_token?: Record<string, any> | undefined;
1132
+ callbacks?: string[] | undefined;
1133
+ allowed_origins?: string[] | undefined;
1134
+ web_origins?: string[] | undefined;
1135
+ allowed_logout_urls?: string[] | undefined;
1136
+ allowed_clients?: string[] | undefined;
1137
+ addons?: Record<string, any> | undefined;
1138
+ client_secret?: string | undefined;
1139
+ client_metadata?: Record<string, string> | undefined;
1140
+ global?: boolean | undefined;
1141
+ 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;
1142
+ logo_uri?: string | undefined;
1143
+ is_first_party?: boolean | undefined;
1144
+ oidc_conformant?: boolean | undefined;
1145
+ client_aliases?: string[] | undefined;
1146
+ session_transfer?: Record<string, any> | undefined;
1147
+ oidc_logout?: Record<string, any> | undefined;
1148
+ grant_types?: string[] | undefined;
1149
+ jwt_configuration?: Record<string, any> | undefined;
1150
+ signing_keys?: Record<string, any>[] | undefined;
1151
+ encryption_key?: Record<string, any> | undefined;
1152
+ sso?: boolean | undefined;
1153
+ sso_disabled?: boolean | undefined;
1154
+ cross_origin_authentication?: boolean | undefined;
1155
+ cross_origin_loc?: string | undefined;
1156
+ custom_login_page_on?: boolean | undefined;
1157
+ custom_login_page?: string | undefined;
1158
+ custom_login_page_preview?: string | undefined;
1159
+ form_template?: string | undefined;
1160
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1161
+ mobile?: Record<string, any> | undefined;
1162
+ initiate_login_uri?: string | undefined;
1163
+ native_social_login?: Record<string, any> | undefined;
1164
+ default_organization?: Record<string, any> | undefined;
1165
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1166
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1167
+ client_authentication_methods?: Record<string, any> | undefined;
1168
+ require_pushed_authorization_requests?: boolean | undefined;
1169
+ require_proof_of_possession?: boolean | undefined;
1170
+ signed_request_object?: Record<string, any> | undefined;
1171
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1172
+ par_request_expiry?: number | undefined;
1173
+ token_quota?: Record<string, any> | undefined;
1174
+ }>;
1175
+ export type ClientInsert = z.input<typeof clientInsertSchema>;
1176
+ export declare const clientSchema: z.ZodObject<{
1177
+ client_id: z.ZodString;
1178
+ name: z.ZodString;
1179
+ description: z.ZodOptional<z.ZodString>;
1180
+ global: z.ZodDefault<z.ZodBoolean>;
1181
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1182
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1183
+ "native",
1184
+ "spa",
1185
+ "regular_web",
1186
+ "non_interactive",
1187
+ "resource_server",
1188
+ "express_configuration",
1189
+ "rms",
1190
+ "box",
1191
+ "cloudbees",
1192
+ "concur",
1193
+ "dropbox",
1194
+ "mscrm",
1195
+ "echosign",
1196
+ "egnyte",
1197
+ "newrelic",
1198
+ "office365",
1199
+ "salesforce",
1200
+ "sentry",
1201
+ "sharepoint",
1202
+ "slack",
1203
+ "springcm",
1204
+ "zendesk",
1205
+ "zoom",
1206
+ "sso_integration",
1207
+ "oag"
1208
+ ]>>>;
1209
+ logo_uri: z.ZodOptional<z.ZodString>;
1210
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
1211
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
1212
+ callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1213
+ allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1214
+ web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1215
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1216
+ allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1217
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1218
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1219
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1220
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1221
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1222
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1223
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1224
+ sso: z.ZodDefault<z.ZodBoolean>;
1225
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
1226
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
1227
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
1228
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
1229
+ custom_login_page: z.ZodOptional<z.ZodString>;
1230
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
1231
+ form_template: z.ZodOptional<z.ZodString>;
1232
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1233
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1234
+ "none",
1235
+ "client_secret_post",
1236
+ "client_secret_basic"
1237
+ ]>>>;
1238
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1239
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1240
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
1241
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1242
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1243
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1244
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1245
+ "deny",
1246
+ "allow",
1247
+ "require"
1248
+ ]>>>;
1249
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1250
+ "no_prompt",
1251
+ "pre_login_prompt",
1252
+ "post_login_prompt"
1253
+ ]>>>;
1254
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1255
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
1256
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
1257
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1258
+ compliance_level: z.ZodOptional<z.ZodEnum<[
1259
+ "none",
1260
+ "fapi1_adv_pkj_par",
1261
+ "fapi1_adv_mtls_par",
1262
+ "fapi2_sp_pkj_mtls",
1263
+ "fapi2_sp_mtls_mtls"
1264
+ ]>>;
1265
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
1266
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1267
+ created_at: z.ZodString;
1268
+ updated_at: z.ZodString;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ created_at: string;
1271
+ updated_at: string;
1272
+ name: string;
1273
+ client_id: string;
1274
+ global: boolean;
1275
+ is_first_party: boolean;
1276
+ oidc_conformant: boolean;
1277
+ sso: boolean;
1278
+ sso_disabled: boolean;
1279
+ cross_origin_authentication: boolean;
1280
+ custom_login_page_on: boolean;
1281
+ require_pushed_authorization_requests: boolean;
1282
+ require_proof_of_possession: boolean;
1283
+ description?: string | undefined;
1284
+ refresh_token?: Record<string, any> | undefined;
1285
+ callbacks?: string[] | undefined;
1286
+ allowed_origins?: string[] | undefined;
1287
+ web_origins?: string[] | undefined;
1288
+ allowed_logout_urls?: string[] | undefined;
1289
+ allowed_clients?: string[] | undefined;
1290
+ addons?: Record<string, any> | undefined;
1291
+ client_secret?: string | undefined;
1292
+ client_metadata?: Record<string, string> | undefined;
1293
+ 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;
1294
+ logo_uri?: string | undefined;
1295
+ client_aliases?: string[] | undefined;
1296
+ session_transfer?: Record<string, any> | undefined;
1297
+ oidc_logout?: Record<string, any> | undefined;
1298
+ grant_types?: string[] | undefined;
1299
+ jwt_configuration?: Record<string, any> | undefined;
1300
+ signing_keys?: Record<string, any>[] | undefined;
1301
+ encryption_key?: Record<string, any> | undefined;
1302
+ cross_origin_loc?: string | undefined;
1303
+ custom_login_page?: string | undefined;
1304
+ custom_login_page_preview?: string | undefined;
1305
+ form_template?: string | undefined;
1306
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1307
+ mobile?: Record<string, any> | undefined;
1308
+ initiate_login_uri?: string | undefined;
1309
+ native_social_login?: Record<string, any> | undefined;
1310
+ default_organization?: Record<string, any> | undefined;
1311
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1312
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1313
+ client_authentication_methods?: Record<string, any> | undefined;
1314
+ signed_request_object?: Record<string, any> | undefined;
1315
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1316
+ par_request_expiry?: number | undefined;
1317
+ token_quota?: Record<string, any> | undefined;
1318
+ }, {
1319
+ created_at: string;
1320
+ updated_at: string;
1321
+ name: string;
1322
+ client_id: string;
1323
+ description?: string | undefined;
1324
+ refresh_token?: Record<string, any> | undefined;
1325
+ callbacks?: string[] | undefined;
1326
+ allowed_origins?: string[] | undefined;
1327
+ web_origins?: string[] | undefined;
1328
+ allowed_logout_urls?: string[] | undefined;
1329
+ allowed_clients?: string[] | undefined;
1330
+ addons?: Record<string, any> | undefined;
1331
+ client_secret?: string | undefined;
1332
+ client_metadata?: Record<string, string> | undefined;
1333
+ global?: boolean | undefined;
1334
+ 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;
1335
+ logo_uri?: string | undefined;
1336
+ is_first_party?: boolean | undefined;
1337
+ oidc_conformant?: boolean | undefined;
1338
+ client_aliases?: string[] | undefined;
1339
+ session_transfer?: Record<string, any> | undefined;
1340
+ oidc_logout?: Record<string, any> | undefined;
1341
+ grant_types?: string[] | undefined;
1342
+ jwt_configuration?: Record<string, any> | undefined;
1343
+ signing_keys?: Record<string, any>[] | undefined;
1344
+ encryption_key?: Record<string, any> | undefined;
1345
+ sso?: boolean | undefined;
1346
+ sso_disabled?: boolean | undefined;
1347
+ cross_origin_authentication?: boolean | undefined;
1348
+ cross_origin_loc?: string | undefined;
1349
+ custom_login_page_on?: boolean | undefined;
1350
+ custom_login_page?: string | undefined;
1351
+ custom_login_page_preview?: string | undefined;
1352
+ form_template?: string | undefined;
1353
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1354
+ mobile?: Record<string, any> | undefined;
1355
+ initiate_login_uri?: string | undefined;
1356
+ native_social_login?: Record<string, any> | undefined;
1357
+ default_organization?: Record<string, any> | undefined;
1358
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1359
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
1360
+ client_authentication_methods?: Record<string, any> | undefined;
1361
+ require_pushed_authorization_requests?: boolean | undefined;
1362
+ require_proof_of_possession?: boolean | undefined;
1363
+ signed_request_object?: Record<string, any> | undefined;
1364
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
1365
+ par_request_expiry?: number | undefined;
1366
+ token_quota?: Record<string, any> | undefined;
1367
+ }>;
1368
+ export type Client = z.infer<typeof clientSchema>;
989
1369
  /**
990
1370
  * Types for Auth0 Form Flow components
991
1371
  * Based on the actual structure used by Auth0 forms API
@@ -8314,121 +8694,116 @@ declare const LegacyClientSchema: z.ZodObject<{
8314
8694
  response_mode?: AuthorizationResponseMode | undefined;
8315
8695
  enabled_clients?: string[] | undefined;
8316
8696
  }>, "many">;
8317
- id: z.ZodString;
8697
+ disable_sign_ups: z.ZodBoolean;
8698
+ email_validation: z.ZodString;
8699
+ client_id: z.ZodString;
8318
8700
  name: z.ZodString;
8701
+ description: z.ZodOptional<z.ZodString>;
8702
+ global: z.ZodDefault<z.ZodBoolean>;
8703
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8704
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8705
+ "native",
8706
+ "spa",
8707
+ "regular_web",
8708
+ "non_interactive",
8709
+ "resource_server",
8710
+ "express_configuration",
8711
+ "rms",
8712
+ "box",
8713
+ "cloudbees",
8714
+ "concur",
8715
+ "dropbox",
8716
+ "mscrm",
8717
+ "echosign",
8718
+ "egnyte",
8719
+ "newrelic",
8720
+ "office365",
8721
+ "salesforce",
8722
+ "sentry",
8723
+ "sharepoint",
8724
+ "slack",
8725
+ "springcm",
8726
+ "zendesk",
8727
+ "zoom",
8728
+ "sso_integration",
8729
+ "oag"
8730
+ ]>>>;
8731
+ logo_uri: z.ZodOptional<z.ZodString>;
8732
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
8733
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
8319
8734
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8320
8735
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8321
8736
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8322
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8737
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8323
8738
  allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8324
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
8325
- samlp: z.ZodOptional<z.ZodObject<{
8326
- audience: z.ZodOptional<z.ZodString>;
8327
- recipient: z.ZodOptional<z.ZodString>;
8328
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
8329
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
8330
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
8331
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
8332
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
8333
- digestAlgorithm: z.ZodOptional<z.ZodString>;
8334
- issuer: z.ZodOptional<z.ZodString>;
8335
- destination: z.ZodOptional<z.ZodString>;
8336
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
8337
- signResponse: z.ZodOptional<z.ZodBoolean>;
8338
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
8339
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8340
- authnContextClassRef: z.ZodOptional<z.ZodString>;
8341
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8342
- }, "strip", z.ZodTypeAny, {
8343
- audience?: string | undefined;
8344
- recipient?: string | undefined;
8345
- createUpnClaim?: boolean | undefined;
8346
- mapUnknownClaimsAsIs?: boolean | undefined;
8347
- passthroughClaimsWithNoMapping?: boolean | undefined;
8348
- mapIdentities?: boolean | undefined;
8349
- signatureAlgorithm?: string | undefined;
8350
- digestAlgorithm?: string | undefined;
8351
- issuer?: string | undefined;
8352
- destination?: string | undefined;
8353
- lifetimeInSeconds?: number | undefined;
8354
- signResponse?: boolean | undefined;
8355
- nameIdentifierFormat?: string | undefined;
8356
- nameIdentifierProbes?: string[] | undefined;
8357
- authnContextClassRef?: string | undefined;
8358
- mappings?: Record<string, string> | undefined;
8359
- }, {
8360
- audience?: string | undefined;
8361
- recipient?: string | undefined;
8362
- createUpnClaim?: boolean | undefined;
8363
- mapUnknownClaimsAsIs?: boolean | undefined;
8364
- passthroughClaimsWithNoMapping?: boolean | undefined;
8365
- mapIdentities?: boolean | undefined;
8366
- signatureAlgorithm?: string | undefined;
8367
- digestAlgorithm?: string | undefined;
8368
- issuer?: string | undefined;
8369
- destination?: string | undefined;
8370
- lifetimeInSeconds?: number | undefined;
8371
- signResponse?: boolean | undefined;
8372
- nameIdentifierFormat?: string | undefined;
8373
- nameIdentifierProbes?: string[] | undefined;
8374
- authnContextClassRef?: string | undefined;
8375
- mappings?: Record<string, string> | undefined;
8376
- }>>;
8377
- }, "strip", z.ZodTypeAny, {
8378
- samlp?: {
8379
- audience?: string | undefined;
8380
- recipient?: string | undefined;
8381
- createUpnClaim?: boolean | undefined;
8382
- mapUnknownClaimsAsIs?: boolean | undefined;
8383
- passthroughClaimsWithNoMapping?: boolean | undefined;
8384
- mapIdentities?: boolean | undefined;
8385
- signatureAlgorithm?: string | undefined;
8386
- digestAlgorithm?: string | undefined;
8387
- issuer?: string | undefined;
8388
- destination?: string | undefined;
8389
- lifetimeInSeconds?: number | undefined;
8390
- signResponse?: boolean | undefined;
8391
- nameIdentifierFormat?: string | undefined;
8392
- nameIdentifierProbes?: string[] | undefined;
8393
- authnContextClassRef?: string | undefined;
8394
- mappings?: Record<string, string> | undefined;
8395
- } | undefined;
8396
- }, {
8397
- samlp?: {
8398
- audience?: string | undefined;
8399
- recipient?: string | undefined;
8400
- createUpnClaim?: boolean | undefined;
8401
- mapUnknownClaimsAsIs?: boolean | undefined;
8402
- passthroughClaimsWithNoMapping?: boolean | undefined;
8403
- mapIdentities?: boolean | undefined;
8404
- signatureAlgorithm?: string | undefined;
8405
- digestAlgorithm?: string | undefined;
8406
- issuer?: string | undefined;
8407
- destination?: string | undefined;
8408
- lifetimeInSeconds?: number | undefined;
8409
- signResponse?: boolean | undefined;
8410
- nameIdentifierFormat?: string | undefined;
8411
- nameIdentifierProbes?: string[] | undefined;
8412
- authnContextClassRef?: string | undefined;
8413
- mappings?: Record<string, string> | undefined;
8414
- } | undefined;
8415
- }>>>;
8416
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8417
- "enabled",
8418
- "disabled",
8419
- "enforced"
8739
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8740
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8741
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8742
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8743
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8744
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
8745
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8746
+ sso: z.ZodDefault<z.ZodBoolean>;
8747
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
8748
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
8749
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
8750
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
8751
+ custom_login_page: z.ZodOptional<z.ZodString>;
8752
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
8753
+ form_template: z.ZodOptional<z.ZodString>;
8754
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8755
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8756
+ "none",
8757
+ "client_secret_post",
8758
+ "client_secret_basic"
8420
8759
  ]>>>;
8421
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8422
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8423
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8424
- created_at: z.ZodEffects<z.ZodString, string, string>;
8425
- updated_at: z.ZodEffects<z.ZodString, string, string>;
8760
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
8761
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8762
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
8763
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8764
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8765
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8766
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8767
+ "deny",
8768
+ "allow",
8769
+ "require"
8770
+ ]>>>;
8771
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8772
+ "no_prompt",
8773
+ "pre_login_prompt",
8774
+ "post_login_prompt"
8775
+ ]>>>;
8776
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8777
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
8778
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
8779
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8780
+ compliance_level: z.ZodOptional<z.ZodEnum<[
8781
+ "none",
8782
+ "fapi1_adv_pkj_par",
8783
+ "fapi1_adv_mtls_par",
8784
+ "fapi2_sp_pkj_mtls",
8785
+ "fapi2_sp_mtls_mtls"
8786
+ ]>>;
8787
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
8788
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8789
+ created_at: z.ZodString;
8790
+ updated_at: z.ZodString;
8426
8791
  }, "strip", z.ZodTypeAny, {
8427
8792
  created_at: string;
8428
8793
  updated_at: string;
8429
8794
  name: string;
8430
- id: string;
8795
+ email_validation: string;
8431
8796
  disable_sign_ups: boolean;
8797
+ client_id: string;
8798
+ global: boolean;
8799
+ is_first_party: boolean;
8800
+ oidc_conformant: boolean;
8801
+ sso: boolean;
8802
+ sso_disabled: boolean;
8803
+ cross_origin_authentication: boolean;
8804
+ custom_login_page_on: boolean;
8805
+ require_pushed_authorization_requests: boolean;
8806
+ require_proof_of_possession: boolean;
8432
8807
  tenant: {
8433
8808
  created_at: string;
8434
8809
  updated_at: string;
@@ -8473,39 +8848,48 @@ declare const LegacyClientSchema: z.ZodObject<{
8473
8848
  response_mode?: AuthorizationResponseMode | undefined;
8474
8849
  enabled_clients?: string[] | undefined;
8475
8850
  }[];
8851
+ description?: string | undefined;
8852
+ refresh_token?: Record<string, any> | undefined;
8476
8853
  callbacks?: string[] | undefined;
8477
8854
  allowed_origins?: string[] | undefined;
8478
8855
  web_origins?: string[] | undefined;
8479
8856
  allowed_logout_urls?: string[] | undefined;
8480
8857
  allowed_clients?: string[] | undefined;
8481
- addons?: {
8482
- samlp?: {
8483
- audience?: string | undefined;
8484
- recipient?: string | undefined;
8485
- createUpnClaim?: boolean | undefined;
8486
- mapUnknownClaimsAsIs?: boolean | undefined;
8487
- passthroughClaimsWithNoMapping?: boolean | undefined;
8488
- mapIdentities?: boolean | undefined;
8489
- signatureAlgorithm?: string | undefined;
8490
- digestAlgorithm?: string | undefined;
8491
- issuer?: string | undefined;
8492
- destination?: string | undefined;
8493
- lifetimeInSeconds?: number | undefined;
8494
- signResponse?: boolean | undefined;
8495
- nameIdentifierFormat?: string | undefined;
8496
- nameIdentifierProbes?: string[] | undefined;
8497
- authnContextClassRef?: string | undefined;
8498
- mappings?: Record<string, string> | undefined;
8499
- } | undefined;
8500
- } | undefined;
8501
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8858
+ addons?: Record<string, any> | undefined;
8502
8859
  client_secret?: string | undefined;
8503
8860
  client_metadata?: Record<string, string> | undefined;
8861
+ 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;
8862
+ logo_uri?: string | undefined;
8863
+ client_aliases?: string[] | undefined;
8864
+ session_transfer?: Record<string, any> | undefined;
8865
+ oidc_logout?: Record<string, any> | undefined;
8866
+ grant_types?: string[] | undefined;
8867
+ jwt_configuration?: Record<string, any> | undefined;
8868
+ signing_keys?: Record<string, any>[] | undefined;
8869
+ encryption_key?: Record<string, any> | undefined;
8870
+ cross_origin_loc?: string | undefined;
8871
+ custom_login_page?: string | undefined;
8872
+ custom_login_page_preview?: string | undefined;
8873
+ form_template?: string | undefined;
8874
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8875
+ mobile?: Record<string, any> | undefined;
8876
+ initiate_login_uri?: string | undefined;
8877
+ native_social_login?: Record<string, any> | undefined;
8878
+ default_organization?: Record<string, any> | undefined;
8879
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8880
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8881
+ client_authentication_methods?: Record<string, any> | undefined;
8882
+ signed_request_object?: Record<string, any> | undefined;
8883
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8884
+ par_request_expiry?: number | undefined;
8885
+ token_quota?: Record<string, any> | undefined;
8504
8886
  }, {
8505
8887
  created_at: string;
8506
8888
  updated_at: string;
8507
8889
  name: string;
8508
- id: string;
8890
+ email_validation: string;
8891
+ disable_sign_ups: boolean;
8892
+ client_id: string;
8509
8893
  tenant: {
8510
8894
  created_at: string;
8511
8895
  updated_at: string;
@@ -8550,35 +8934,50 @@ declare const LegacyClientSchema: z.ZodObject<{
8550
8934
  response_mode?: AuthorizationResponseMode | undefined;
8551
8935
  enabled_clients?: string[] | undefined;
8552
8936
  }[];
8937
+ description?: string | undefined;
8938
+ refresh_token?: Record<string, any> | undefined;
8553
8939
  callbacks?: string[] | undefined;
8554
8940
  allowed_origins?: string[] | undefined;
8555
8941
  web_origins?: string[] | undefined;
8556
8942
  allowed_logout_urls?: string[] | undefined;
8557
8943
  allowed_clients?: string[] | undefined;
8558
- addons?: {
8559
- samlp?: {
8560
- audience?: string | undefined;
8561
- recipient?: string | undefined;
8562
- createUpnClaim?: boolean | undefined;
8563
- mapUnknownClaimsAsIs?: boolean | undefined;
8564
- passthroughClaimsWithNoMapping?: boolean | undefined;
8565
- mapIdentities?: boolean | undefined;
8566
- signatureAlgorithm?: string | undefined;
8567
- digestAlgorithm?: string | undefined;
8568
- issuer?: string | undefined;
8569
- destination?: string | undefined;
8570
- lifetimeInSeconds?: number | undefined;
8571
- signResponse?: boolean | undefined;
8572
- nameIdentifierFormat?: string | undefined;
8573
- nameIdentifierProbes?: string[] | undefined;
8574
- authnContextClassRef?: string | undefined;
8575
- mappings?: Record<string, string> | undefined;
8576
- } | undefined;
8577
- } | undefined;
8578
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8944
+ addons?: Record<string, any> | undefined;
8579
8945
  client_secret?: string | undefined;
8580
- disable_sign_ups?: boolean | undefined;
8581
8946
  client_metadata?: Record<string, string> | undefined;
8947
+ global?: boolean | undefined;
8948
+ 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;
8949
+ logo_uri?: string | undefined;
8950
+ is_first_party?: boolean | undefined;
8951
+ oidc_conformant?: boolean | undefined;
8952
+ client_aliases?: string[] | undefined;
8953
+ session_transfer?: Record<string, any> | undefined;
8954
+ oidc_logout?: Record<string, any> | undefined;
8955
+ grant_types?: string[] | undefined;
8956
+ jwt_configuration?: Record<string, any> | undefined;
8957
+ signing_keys?: Record<string, any>[] | undefined;
8958
+ encryption_key?: Record<string, any> | undefined;
8959
+ sso?: boolean | undefined;
8960
+ sso_disabled?: boolean | undefined;
8961
+ cross_origin_authentication?: boolean | undefined;
8962
+ cross_origin_loc?: string | undefined;
8963
+ custom_login_page_on?: boolean | undefined;
8964
+ custom_login_page?: string | undefined;
8965
+ custom_login_page_preview?: string | undefined;
8966
+ form_template?: string | undefined;
8967
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8968
+ mobile?: Record<string, any> | undefined;
8969
+ initiate_login_uri?: string | undefined;
8970
+ native_social_login?: Record<string, any> | undefined;
8971
+ default_organization?: Record<string, any> | undefined;
8972
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8973
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8974
+ client_authentication_methods?: Record<string, any> | undefined;
8975
+ require_pushed_authorization_requests?: boolean | undefined;
8976
+ require_proof_of_possession?: boolean | undefined;
8977
+ signed_request_object?: Record<string, any> | undefined;
8978
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8979
+ par_request_expiry?: number | undefined;
8980
+ token_quota?: Record<string, any> | undefined;
8582
8981
  }>;
8583
8982
  export type LegacyClient = z.infer<typeof LegacyClientSchema>;
8584
8983
  export declare const codeTypeSchema: z.ZodEnum<[
@@ -12683,13 +13082,13 @@ export declare const widgetSchema: z.ZodObject<{
12683
13082
  logo_url: string;
12684
13083
  header_text_alignment: "center" | "left" | "right";
12685
13084
  logo_height: number;
12686
- logo_position: "center" | "left" | "right" | "none";
13085
+ logo_position: "none" | "center" | "left" | "right";
12687
13086
  social_buttons_layout: "bottom" | "top";
12688
13087
  }, {
12689
13088
  logo_url: string;
12690
13089
  header_text_alignment: "center" | "left" | "right";
12691
13090
  logo_height: number;
12692
- logo_position: "center" | "left" | "right" | "none";
13091
+ logo_position: "none" | "center" | "left" | "right";
12693
13092
  social_buttons_layout: "bottom" | "top";
12694
13093
  }>;
12695
13094
  export declare const themeInsertSchema: z.ZodObject<{
@@ -12961,13 +13360,13 @@ export declare const themeInsertSchema: z.ZodObject<{
12961
13360
  logo_url: string;
12962
13361
  header_text_alignment: "center" | "left" | "right";
12963
13362
  logo_height: number;
12964
- logo_position: "center" | "left" | "right" | "none";
13363
+ logo_position: "none" | "center" | "left" | "right";
12965
13364
  social_buttons_layout: "bottom" | "top";
12966
13365
  }, {
12967
13366
  logo_url: string;
12968
13367
  header_text_alignment: "center" | "left" | "right";
12969
13368
  logo_height: number;
12970
- logo_position: "center" | "left" | "right" | "none";
13369
+ logo_position: "none" | "center" | "left" | "right";
12971
13370
  social_buttons_layout: "bottom" | "top";
12972
13371
  }>;
12973
13372
  }, "strip", z.ZodTypeAny, {
@@ -13042,7 +13441,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13042
13441
  logo_url: string;
13043
13442
  header_text_alignment: "center" | "left" | "right";
13044
13443
  logo_height: number;
13045
- logo_position: "center" | "left" | "right" | "none";
13444
+ logo_position: "none" | "center" | "left" | "right";
13046
13445
  social_buttons_layout: "bottom" | "top";
13047
13446
  };
13048
13447
  }, {
@@ -13117,7 +13516,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13117
13516
  logo_url: string;
13118
13517
  header_text_alignment: "center" | "left" | "right";
13119
13518
  logo_height: number;
13120
- logo_position: "center" | "left" | "right" | "none";
13519
+ logo_position: "none" | "center" | "left" | "right";
13121
13520
  social_buttons_layout: "bottom" | "top";
13122
13521
  };
13123
13522
  }>;
@@ -13391,13 +13790,13 @@ export declare const themeSchema: z.ZodObject<{
13391
13790
  logo_url: string;
13392
13791
  header_text_alignment: "center" | "left" | "right";
13393
13792
  logo_height: number;
13394
- logo_position: "center" | "left" | "right" | "none";
13793
+ logo_position: "none" | "center" | "left" | "right";
13395
13794
  social_buttons_layout: "bottom" | "top";
13396
13795
  }, {
13397
13796
  logo_url: string;
13398
13797
  header_text_alignment: "center" | "left" | "right";
13399
13798
  logo_height: number;
13400
- logo_position: "center" | "left" | "right" | "none";
13799
+ logo_position: "none" | "center" | "left" | "right";
13401
13800
  social_buttons_layout: "bottom" | "top";
13402
13801
  }>;
13403
13802
  } & {
@@ -13474,7 +13873,7 @@ export declare const themeSchema: z.ZodObject<{
13474
13873
  logo_url: string;
13475
13874
  header_text_alignment: "center" | "left" | "right";
13476
13875
  logo_height: number;
13477
- logo_position: "center" | "left" | "right" | "none";
13876
+ logo_position: "none" | "center" | "left" | "right";
13478
13877
  social_buttons_layout: "bottom" | "top";
13479
13878
  };
13480
13879
  themeId: string;
@@ -13550,7 +13949,7 @@ export declare const themeSchema: z.ZodObject<{
13550
13949
  logo_url: string;
13551
13950
  header_text_alignment: "center" | "left" | "right";
13552
13951
  logo_height: number;
13553
- logo_position: "center" | "left" | "right" | "none";
13952
+ logo_position: "none" | "center" | "left" | "right";
13554
13953
  social_buttons_layout: "bottom" | "top";
13555
13954
  };
13556
13955
  themeId: string;
@@ -14749,6 +15148,13 @@ export declare const organizationInsertSchema: z.ZodObject<{
14749
15148
  }, "strip", z.ZodTypeAny, {
14750
15149
  name: string;
14751
15150
  id?: string | undefined;
15151
+ token_quota?: {
15152
+ client_credentials?: {
15153
+ enforce: boolean;
15154
+ per_day: number;
15155
+ per_hour: number;
15156
+ } | undefined;
15157
+ } | undefined;
14752
15158
  display_name?: string | undefined;
14753
15159
  branding?: {
14754
15160
  colors?: {
@@ -14764,16 +15170,16 @@ export declare const organizationInsertSchema: z.ZodObject<{
14764
15170
  show_as_button: boolean;
14765
15171
  is_signup_enabled: boolean;
14766
15172
  }[] | undefined;
15173
+ }, {
15174
+ name: string;
15175
+ id?: string | undefined;
14767
15176
  token_quota?: {
14768
15177
  client_credentials?: {
14769
- enforce: boolean;
14770
- per_day: number;
14771
- per_hour: number;
15178
+ enforce?: boolean | undefined;
15179
+ per_day?: number | undefined;
15180
+ per_hour?: number | undefined;
14772
15181
  } | undefined;
14773
15182
  } | undefined;
14774
- }, {
14775
- name: string;
14776
- id?: string | undefined;
14777
15183
  display_name?: string | undefined;
14778
15184
  branding?: {
14779
15185
  colors?: {
@@ -14789,13 +15195,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
14789
15195
  show_as_button?: boolean | undefined;
14790
15196
  is_signup_enabled?: boolean | undefined;
14791
15197
  }[] | undefined;
14792
- token_quota?: {
14793
- client_credentials?: {
14794
- enforce?: boolean | undefined;
14795
- per_day?: number | undefined;
14796
- per_hour?: number | undefined;
14797
- } | undefined;
14798
- } | undefined;
14799
15198
  }>;
14800
15199
  export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
14801
15200
  export declare const organizationSchema: z.ZodObject<{
@@ -14878,6 +15277,13 @@ export declare const organizationSchema: z.ZodObject<{
14878
15277
  updated_at: string;
14879
15278
  name: string;
14880
15279
  id: string;
15280
+ token_quota?: {
15281
+ client_credentials?: {
15282
+ enforce: boolean;
15283
+ per_day: number;
15284
+ per_hour: number;
15285
+ } | undefined;
15286
+ } | undefined;
14881
15287
  display_name?: string | undefined;
14882
15288
  branding?: {
14883
15289
  colors?: {
@@ -14893,18 +15299,18 @@ export declare const organizationSchema: z.ZodObject<{
14893
15299
  show_as_button: boolean;
14894
15300
  is_signup_enabled: boolean;
14895
15301
  }[] | undefined;
14896
- token_quota?: {
14897
- client_credentials?: {
14898
- enforce: boolean;
14899
- per_day: number;
14900
- per_hour: number;
14901
- } | undefined;
14902
- } | undefined;
14903
15302
  }, {
14904
15303
  created_at: string;
14905
15304
  updated_at: string;
14906
15305
  name: string;
14907
15306
  id: string;
15307
+ token_quota?: {
15308
+ client_credentials?: {
15309
+ enforce?: boolean | undefined;
15310
+ per_day?: number | undefined;
15311
+ per_hour?: number | undefined;
15312
+ } | undefined;
15313
+ } | undefined;
14908
15314
  display_name?: string | undefined;
14909
15315
  branding?: {
14910
15316
  colors?: {
@@ -14920,13 +15326,6 @@ export declare const organizationSchema: z.ZodObject<{
14920
15326
  show_as_button?: boolean | undefined;
14921
15327
  is_signup_enabled?: boolean | undefined;
14922
15328
  }[] | undefined;
14923
- token_quota?: {
14924
- client_credentials?: {
14925
- enforce?: boolean | undefined;
14926
- per_day?: number | undefined;
14927
- per_hour?: number | undefined;
14928
- } | undefined;
14929
- } | undefined;
14930
15329
  }>;
14931
15330
  export type Organization = z.infer<typeof organizationSchema>;
14932
15331
  export declare const userOrganizationInsertSchema: z.ZodObject<{
@@ -14993,6 +15392,16 @@ export interface CacheAdapter {
14993
15392
  */
14994
15393
  clear(): Promise<void>;
14995
15394
  }
15395
+ export interface ClientsAdapter {
15396
+ create(tenant_id: string, params: ClientInsert): Promise<Client>;
15397
+ get(tenant_id: string, client_id: string): Promise<Client | null>;
15398
+ remove(tenant_id: string, client_id: string): Promise<boolean>;
15399
+ list(tenant_id: string, params?: ListParams): Promise<{
15400
+ clients: Client[];
15401
+ totals?: Totals;
15402
+ }>;
15403
+ update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15404
+ }
14996
15405
  export interface ListCodesResponse extends Totals {
14997
15406
  codes: Code[];
14998
15407
  }
@@ -15226,6 +15635,7 @@ export interface DataAdapters {
15226
15635
  applications: ApplicationsAdapter;
15227
15636
  branding: BrandingAdapter;
15228
15637
  cache?: CacheAdapter;
15638
+ clients: ClientsAdapter;
15229
15639
  legacyClients: LegacyClientsAdapter;
15230
15640
  codes: CodesAdapter;
15231
15641
  connections: ConnectionsAdapter;