@@ -3942,6 +3942,8 @@ export interface EmailAddress {
3942
3942
* @author Brian Pontarelli
3943
3943
*/
3944
3944
export interface EmailConfiguration {
3945
+ defaultFromEmail ?: string ;
3946
+ defaultFromName ?: string ;
3945
3947
forgotPasswordEmailTemplateId ?: UUID ;
3946
3948
host ?: string ;
3947
3949
password ?: string ;
@@ -4139,6 +4141,7 @@ export enum EventType {
4139
4141
UserReactivate = "user.reactivate" ,
4140
4142
UserAction = "user.action" ,
4141
4143
JWTRefreshTokenRevoke = "jwt.refresh-token.revoke" ,
4144
+ JWTRefresh = "jwt.refresh" ,
4142
4145
JWTPublicKeyUpdate = "jwt.public-key.update" ,
4143
4146
UserLoginSuccess = "user.login.success" ,
4144
4147
UserLoginFailed = "user.login.failed" ,
@@ -4702,6 +4705,19 @@ export interface JWTPublicKeyUpdateEvent extends BaseEvent {
4702
4705
applicationIds ?: Array < UUID > ;
4703
4706
}
4704
4707
4708
+ /**
4709
+ * Models the JWT Refresh Event. This event will be fired when a JWT is "refreshed" (generated) using a Refresh Token.
4710
+ *
4711
+ * @author Daniel DeGroff
4712
+ */
4713
+ export interface JWTRefreshEvent extends BaseEvent {
4714
+ applicationId ?: UUID ;
4715
+ original ?: string ;
4716
+ refreshToken ?: string ;
4717
+ token ?: string ;
4718
+ userId ?: UUID ;
4719
+ }
4720
+
4705
4721
/**
4706
4722
* Models the Refresh Token Revoke Event (and can be converted to JSON). This event might be for a single token, a user
4707
4723
* or an entire application.
@@ -5347,6 +5363,7 @@ export interface RecentLoginResponse {
5347
5363
*/
5348
5364
export interface RefreshRequest {
5349
5365
refreshToken ?: string ;
5366
+ token ?: string ;
5350
5367
}
5351
5368
5352
5369
/**
@@ -5413,6 +5430,7 @@ export interface RegistrationRequest {
5413
5430
*/
5414
5431
export interface RegistrationResponse {
5415
5432
registration ?: UserRegistration ;
5433
+ token ?: string ;
5416
5434
user ?: User ;
5417
5435
}
5418
5436
@@ -5614,6 +5632,13 @@ export interface SystemConfigurationResponse {
5614
5632
systemConfiguration ?: SystemConfiguration ;
5615
5633
}
5616
5634
5635
+ /**
5636
+ * @author Daniel DeGroff
5637
+ */
5638
+ export interface SystemLogsExportRequest extends BaseExportRequest {
5639
+ lastNBytes ?: number ;
5640
+ }
5641
+
5617
5642
export interface Templates {
5618
5643
emailComplete ?: string ;
5619
5644
emailSend ?: string ;
@@ -6325,6 +6350,7 @@ export interface UserRequest {
6325
6350
* @author Brian Pontarelli
6326
6351
*/
6327
6352
export interface UserResponse {
6353
+ token ?: string ;
6328
6354
user ?: User ;
6329
6355
}
6330
6356
0 commit comments