diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts
index f943881..ae8610e 100644
--- a/src/FusionAuthClient.ts
+++ b/src/FusionAuthClient.ts
@@ -5489,829 +5489,887 @@ export type UUID = string;
/**
- * Webhook attempt log response.
+ * Authorization Grant types as defined by the The OAuth 2.0 Authorization
+ * Framework - RFC 6749.
+ *
+ * Specific names as defined by
+ * OAuth 2.0 Dynamic Client Registration Protocol - RFC 7591 Section 4.1
*
- * @author Spencer Witt
+ * @author Daniel DeGroff
*/
-export interface WebhookAttemptLogResponse {
- webhookAttemptLog?: WebhookAttemptLog;
+export enum GrantType {
+ authorization_code = "authorization_code",
+ implicit = "implicit",
+ password = "password",
+ client_credentials = "client_credentials",
+ refresh_token = "refresh_token",
+ unknown = "unknown",
+ device_code = "urn:ietf:params:oauth:grant-type:device_code"
}
/**
- * @author Rob Davis
+ * Used to indicate what type of attestation was included in the authenticator response for a given WebAuthn credential at the time it was created
+ *
+ * @author Spencer Witt
*/
-export interface TenantLambdaConfiguration {
- loginValidationId?: UUID;
- scimEnterpriseUserRequestConverterId?: UUID;
- scimEnterpriseUserResponseConverterId?: UUID;
- scimGroupRequestConverterId?: UUID;
- scimGroupResponseConverterId?: UUID;
- scimUserRequestConverterId?: UUID;
- scimUserResponseConverterId?: UUID;
-}
-
-export interface SAMLv2AssertionEncryptionConfiguration extends Enableable {
- digestAlgorithm?: string;
- encryptionAlgorithm?: string;
- keyLocation?: string;
- keyTransportAlgorithm?: string;
- keyTransportEncryptionKeyId?: UUID;
- maskGenerationFunction?: string;
+export enum AttestationType {
+ basic = "basic",
+ self = "self",
+ attestationCa = "attestationCa",
+ anonymizationCa = "anonymizationCa",
+ none = "none"
}
/**
- * Models action reasons.
+ * Identity Provider response.
*
- * @author Brian Pontarelli
+ * @author Spencer Witt
*/
-export interface UserActionReason {
- code?: string;
- id?: UUID;
- insertInstant?: number;
- lastUpdateInstant?: number;
- localizedTexts?: LocalizedStrings;
- text?: string;
+export interface IdentityProviderSearchResponse {
+ identityProviders?: Array>;
+ total?: number;
}
-export interface AuthenticationTokenConfiguration extends Enableable {
+/**
+ * @author Daniel DeGroff
+ */
+export interface BaseExportRequest {
+ dateTimeSecondsFormat?: string;
+ zoneId?: string;
}
/**
- * Event to indicate an audit log was created.
+ * Models the User Created Registration Event.
+ *
+ * This is different than the user.registration.create event in that it will be sent after the user has been created. This event cannot be made
+ * transactional.
*
* @author Daniel DeGroff
*/
-export interface AuditLogCreateEvent extends BaseEvent {
- auditLog?: AuditLog;
+export interface UserRegistrationCreateCompleteEvent extends BaseUserEvent {
+ applicationId?: UUID;
+ registration?: UserRegistration;
}
/**
- * Models the FusionAuth connector.
+ * The user action response object.
*
- * @author Trevor Smith
+ * @author Brian Pontarelli
*/
-export interface FusionAuthConnectorConfiguration extends BaseConnectorConfiguration {
+export interface ActionResponse {
+ action?: UserActionLog;
+ actions?: Array;
}
/**
- * @author Brian Pontarelli
+ * @author Michael Sleevi
*/
-export interface AuditLogRequest extends BaseEventRequest {
- auditLog?: AuditLog;
+export interface SMSMessage {
+ phoneNumber?: string;
+ textMessage?: string;
}
/**
- * @author Brett Guy
+ * @author Daniel DeGroff
*/
-export interface IPAccessControlList {
+export interface MessengerTransport {
+}
+
+/**
+ * User registration information for a single application.
+ *
+ * @author Brian Pontarelli
+ */
+export interface UserRegistration {
+ applicationId?: UUID;
+ authenticationToken?: string;
+ cleanSpeakId?: UUID;
data?: Record;
- entries?: Array;
id?: UUID;
insertInstant?: number;
+ lastLoginInstant?: number;
lastUpdateInstant?: number;
- name?: string;
+ preferredLanguages?: Array;
+ roles?: Array;
+ timezone?: string;
+ tokens?: Record;
+ username?: string;
+ usernameStatus?: ContentStatus;
+ verified?: boolean;
+ verifiedInstant?: number;
}
/**
- * @author Lyle Schemmerling
+ * Base class for requests that can contain event information. This event information is used when sending Webhooks or emails
+ * during the transaction. The caller is responsible for ensuring that the event information is correct.
+ *
+ * @author Brian Pontarelli
*/
-export interface SAMLv2DestinationAssertionConfiguration {
- alternates?: Array;
- policy?: SAMLv2DestinationAssertionPolicy;
+export interface BaseEventRequest {
+ eventInfo?: EventInfo;
}
/**
- * Form response.
+ * A webhook call attempt log.
*
- * @author Daniel DeGroff
+ * @author Spencer Witt
*/
-export interface FormRequest {
- form?: Form;
+export interface WebhookAttemptLog {
+ attemptResult?: WebhookAttemptResult;
+ data?: Record;
+ endInstant?: number;
+ id?: UUID;
+ startInstant?: number;
+ webhookCallResponse?: WebhookCallResponse;
+ webhookEventLogId?: UUID;
+ webhookId?: UUID;
}
/**
- * @author Seth Musselman
+ * @author Daniel DeGroff
*/
-export interface UserCommentRequest {
- userComment?: UserComment;
+export interface JWTVendRequest {
+ claims?: Record;
+ keyId?: UUID;
+ timeToLiveInSeconds?: number;
}
/**
- * IdP Initiated login configuration
+ * Event log used internally by FusionAuth to help developers debug hooks, Webhooks, email templates, etc.
*
- * @author Daniel DeGroff
+ * @author Brian Pontarelli
*/
-export interface SAMLv2IdPInitiatedLoginConfiguration extends Enableable {
- nameIdFormat?: string;
-}
-
-export interface DeleteConfiguration extends Enableable {
- numberOfDaysToRetain?: number;
+export interface EventLog {
+ id?: number;
+ insertInstant?: number;
+ message?: string;
+ type?: EventLogType;
}
/**
* @author Daniel DeGroff
*/
-export enum FormDataType {
- bool = "bool",
- consent = "consent",
- date = "date",
- email = "email",
- number = "number",
- string = "string"
+export interface LookupResponse {
+ identityProvider?: IdentityProviderDetails;
}
-/**
- * Key search response
- *
- * @author Spencer Witt
- */
-export interface KeySearchResponse {
- keys?: Array;
- total?: number;
+export interface IdentityProviderDetails {
+ applicationIds?: Array;
+ id?: UUID;
+ idpEndpoint?: string;
+ name?: string;
+ oauth2?: IdentityProviderOauth2Configuration;
+ type?: IdentityProviderType;
}
/**
- * A Application-level policy for deleting Users.
- *
- * @author Trevor Smith
+ * @author Daniel DeGroff
*/
-export interface ApplicationRegistrationDeletePolicy {
- unverified?: TimeBasedDeletePolicy;
+export interface IntrospectResponse extends Record {
}
/**
- * Models the User Delete Registration Event.
+ * Models the Group Member Update Event.
*
* @author Daniel DeGroff
*/
-export interface UserRegistrationDeleteEvent extends BaseUserEvent {
- applicationId?: UUID;
- registration?: UserRegistration;
+export interface GroupMemberUpdateEvent extends BaseGroupEvent {
+ members?: Array;
}
/**
- * @author Daniel DeGroff
+ * Search request for webhooks
+ *
+ * @author Spencer Witt
*/
-export interface AccessToken {
- access_token?: string;
- expires_in?: number;
- id_token?: string;
- refresh_token?: string;
- refresh_token_id?: UUID;
- scope?: string;
- token_type?: TokenType;
- userId?: UUID;
+export interface WebhookSearchRequest {
+ search?: WebhookSearchCriteria;
}
/**
- * Search request for Group Members.
+ * Change password response object.
*
* @author Daniel DeGroff
*/
-export interface GroupMemberSearchRequest {
- search?: GroupMemberSearchCriteria;
-}
-
-export interface MultiFactorSMSTemplate {
- templateId?: UUID;
+export interface ChangePasswordResponse {
+ oneTimePassword?: string;
+ state?: Record;
}
/**
- * A log for an event that happened to a User.
+ * A server where events are sent. This includes user action events and any other events sent by FusionAuth.
*
* @author Brian Pontarelli
*/
-export interface UserComment {
- comment?: string;
- commenterId?: UUID;
+export interface Webhook {
+ connectTimeout?: number;
+ data?: Record;
+ description?: string;
+ eventsEnabled?: Record;
+ global?: boolean;
+ headers?: HTTPHeaders;
+ httpAuthenticationPassword?: string;
+ httpAuthenticationUsername?: string;
id?: UUID;
insertInstant?: number;
- userId?: UUID;
+ lastUpdateInstant?: number;
+ readTimeout?: number;
+ signatureConfiguration?: WebhookSignatureConfiguration;
+ sslCertificate?: string;
+ sslCertificateKeyId?: UUID;
+ tenantIds?: Array;
+ url?: string;
}
/**
- * Models the Group Create Complete Event.
+ * Available Integrations
*
* @author Daniel DeGroff
*/
-export interface GroupDeleteCompleteEvent extends BaseGroupEvent {
-}
-
+export interface Integrations {
+ cleanspeak?: CleanSpeakConfiguration;
+ kafka?: KafkaConfiguration;
+}
+
/**
- * Email template search response
+ * Search criteria for the event log.
*
- * @author Mark Manes
+ * @author Brian Pontarelli
*/
-export interface EmailTemplateSearchResponse {
- emailTemplates?: Array;
- total?: number;
+export interface EventLogSearchCriteria extends BaseSearchCriteria {
+ end?: number;
+ message?: string;
+ start?: number;
+ type?: EventLogType;
}
/**
- * A marker interface indicating this event is not scoped to a tenant and will be sent to all webhooks.
- *
- * @author Daniel DeGroff
+ * @author Brian Pontarelli
*/
-export interface InstanceEvent extends NonTransactionalEvent {
+export interface EmailConfiguration {
+ additionalHeaders?: Array;
+ debug?: boolean;
+ defaultFromEmail?: string;
+ defaultFromName?: string;
+ emailUpdateEmailTemplateId?: UUID;
+ emailVerifiedEmailTemplateId?: UUID;
+ forgotPasswordEmailTemplateId?: UUID;
+ host?: string;
+ implicitEmailVerificationAllowed?: boolean;
+ loginIdInUseOnCreateEmailTemplateId?: UUID;
+ loginIdInUseOnUpdateEmailTemplateId?: UUID;
+ loginNewDeviceEmailTemplateId?: UUID;
+ loginSuspiciousEmailTemplateId?: UUID;
+ password?: string;
+ passwordlessEmailTemplateId?: UUID;
+ passwordResetSuccessEmailTemplateId?: UUID;
+ passwordUpdateEmailTemplateId?: UUID;
+ port?: number;
+ properties?: string;
+ security?: EmailSecurityType;
+ setPasswordEmailTemplateId?: UUID;
+ twoFactorMethodAddEmailTemplateId?: UUID;
+ twoFactorMethodRemoveEmailTemplateId?: UUID;
+ unverified?: EmailUnverifiedOptions;
+ username?: string;
+ verificationEmailTemplateId?: UUID;
+ verificationStrategy?: VerificationStrategy;
+ verifyEmail?: boolean;
+ verifyEmailWhenChanged?: boolean;
+}
+
+export enum EmailSecurityType {
+ NONE = "NONE",
+ SSL = "SSL",
+ TLS = "TLS"
}
/**
- * Models the user action Event.
- *
- * @author Brian Pontarelli
+ * @author Brett Pontarelli
*/
-export interface UserActionEvent extends BaseEvent {
- action?: string;
- actioneeUserId?: UUID;
- actionerUserId?: UUID;
- actionId?: UUID;
- applicationIds?: Array;
- comment?: string;
- email?: Email;
- emailedUser?: boolean;
- expiry?: number;
- localizedAction?: string;
- localizedDuration?: string;
- localizedOption?: string;
- localizedReason?: string;
- notifyUser?: boolean;
- option?: string;
- phase?: UserActionPhase;
- reason?: string;
- reasonCode?: string;
+export interface TwitchApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
+ buttonText?: string;
+ client_id?: string;
+ client_secret?: string;
+ scope?: string;
}
/**
- * @author Daniel DeGroff
+ * @author Brett Pontarelli
*/
-export enum BreachedPasswordStatus {
- None = "None",
- ExactMatch = "ExactMatch",
- SubAddressMatch = "SubAddressMatch",
- PasswordOnly = "PasswordOnly",
- CommonPassword = "CommonPassword"
+export interface XboxApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
+ buttonText?: string;
+ client_id?: string;
+ client_secret?: string;
+ scope?: string;
}
/**
- * @author Michael Sleevi
+ * Models a generic connector.
+ *
+ * @author Trevor Smith
*/
-export interface SMSMessage {
- phoneNumber?: string;
- textMessage?: string;
+export interface GenericConnectorConfiguration extends BaseConnectorConfiguration {
+ authenticationURL?: string;
+ connectTimeout?: number;
+ headers?: HTTPHeaders;
+ httpAuthenticationPassword?: string;
+ httpAuthenticationUsername?: string;
+ readTimeout?: number;
+ sslCertificateKeyId?: UUID;
}
/**
+ * An Event "event" to indicate an event log was created.
+ *
* @author Daniel DeGroff
*/
-export interface TwitterApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
- buttonText?: string;
- consumerKey?: string;
- consumerSecret?: string;
+export interface EventLogCreateEvent extends BaseEvent {
+ eventLog?: EventLog;
}
/**
- * A User's WebAuthnCredential. Contains all data required to complete WebAuthn authentication ceremonies.
- *
- * @author Spencer Witt
+ * @author Brian Pontarelli
*/
-export interface WebAuthnCredential {
- algorithm?: CoseAlgorithmIdentifier;
- attestationType?: AttestationType;
- authenticatorSupportsUserVerification?: boolean;
- credentialId?: string;
+export interface SystemConfiguration {
+ auditLogConfiguration?: AuditLogConfiguration;
+ corsConfiguration?: CORSConfiguration;
data?: Record;
- discoverable?: boolean;
- displayName?: string;
- id?: UUID;
+ eventLogConfiguration?: EventLogConfiguration;
insertInstant?: number;
- lastUseInstant?: number;
- name?: string;
- publicKey?: string;
- relyingPartyId?: string;
- signCount?: number;
- tenantId?: UUID;
- transports?: Array;
- userAgent?: string;
- userId?: UUID;
+ lastUpdateInstant?: number;
+ loginRecordConfiguration?: LoginRecordConfiguration;
+ reportTimezone?: string;
+ trustedProxyConfiguration?: SystemTrustedProxyConfiguration;
+ uiConfiguration?: UIConfiguration;
+ webhookEventLogConfiguration?: WebhookEventLogConfiguration;
}
-export interface LambdaConfiguration {
- accessTokenPopulateId?: UUID;
- idTokenPopulateId?: UUID;
- samlv2PopulateId?: UUID;
- selfServiceRegistrationValidationId?: UUID;
- userinfoPopulateId?: UUID;
+export interface AuditLogConfiguration {
+ delete?: DeleteConfiguration;
}
-/**
- * @author Daniel DeGroff
- */
-export interface RegistrationUnverifiedOptions {
- behavior?: UnverifiedBehavior;
+export interface DeleteConfiguration extends Enableable {
+ numberOfDaysToRetain?: number;
+}
+
+export interface EventLogConfiguration {
+ numberToRetain?: number;
+}
+
+export interface LoginRecordConfiguration {
+ delete?: DeleteConfiguration;
+}
+
+export interface UIConfiguration {
+ headerColor?: string;
+ logoURL?: string;
+ menuFontColor?: string;
}
/**
- * Models a consent.
- *
* @author Daniel DeGroff
*/
-export enum ConsentStatus {
- Active = "Active",
- Revoked = "Revoked"
+export interface TenantUsernameConfiguration {
+ unique?: UniqueUsernameConfiguration;
}
-/**
- * Contains the output for the {@code credProps} extension
- *
- * @author Spencer Witt
- */
-export interface CredentialPropertiesOutput {
- rk?: boolean;
+export enum UniqueUsernameStrategy {
+ Always = "Always",
+ OnCollision = "OnCollision"
+}
+
+export interface UniqueUsernameConfiguration extends Enableable {
+ numberOfDigits?: number;
+ separator?: string;
+ strategy?: UniqueUsernameStrategy;
}
/**
- * @author Daniel DeGroff
+ * Consent search response
+ *
+ * @author Spencer Witt
*/
-export interface VerifyRegistrationRequest extends BaseEventRequest {
- oneTimeCode?: string;
- verificationId?: string;
+export interface ConsentSearchResponse {
+ consents?: Array;
+ total?: number;
}
/**
+ *
+ *
* @author Daniel DeGroff
*/
-export interface UserinfoResponse extends Record {
+export enum TokenType {
+ Bearer = "Bearer",
+ MAC = "MAC"
}
/**
- * Stores an email template used to send emails to users.
+ * A grant for an entity to a user or another entity.
*
* @author Brian Pontarelli
*/
-export interface EmailTemplate {
- defaultFromName?: string;
- defaultHtmlTemplate?: string;
- defaultSubject?: string;
- defaultTextTemplate?: string;
- fromEmail?: string;
+export interface EntityGrant {
+ data?: Record;
+ entity?: Entity;
id?: UUID;
insertInstant?: number;
lastUpdateInstant?: number;
- localizedFromNames?: LocalizedStrings;
- localizedHtmlTemplates?: LocalizedStrings;
- localizedSubjects?: LocalizedStrings;
- localizedTextTemplates?: LocalizedStrings;
- name?: string;
+ permissions?: Array;
+ recipientEntityId?: UUID;
+ userId?: UUID;
}
/**
- * Models the User Email Verify Event.
+ * Search criteria for user comments.
*
- * @author Trevor Smith
+ * @author Spencer Witt
*/
-export interface UserEmailVerifiedEvent extends BaseUserEvent {
+export interface UserCommentSearchCriteria extends BaseSearchCriteria {
+ comment?: string;
+ commenterId?: UUID;
+ tenantId?: UUID;
+ userId?: UUID;
}
/**
- * @author Daniel DeGroff
+ * @author Derek Klatt
*/
-export interface ApplicationAccessControlConfiguration {
- uiIPAccessControlListId?: UUID;
+export interface PasswordValidationRules {
+ breachDetection?: PasswordBreachDetection;
+ maxLength?: number;
+ minLength?: number;
+ rememberPreviousPasswords?: RememberPreviousPasswords;
+ requireMixedCase?: boolean;
+ requireNonAlpha?: boolean;
+ requireNumber?: boolean;
+ validateOnLogin?: boolean;
}
/**
- * Form response.
+ * Models the User Email Verify Event.
*
- * @author Daniel DeGroff
+ * @author Trevor Smith
*/
-export interface FormResponse {
- form?: Form;
- forms?: Array