alepha 0.20.7 → 0.20.8
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.
|
@@ -580,9 +580,9 @@ declare class AdminAuditController {
|
|
|
580
580
|
}>;
|
|
581
581
|
query: _$typebox.TObject<{
|
|
582
582
|
type: _$typebox.TOptional<_$typebox.TString>;
|
|
583
|
+
search: _$typebox.TOptional<_$typebox.TString>;
|
|
583
584
|
action: _$typebox.TOptional<_$typebox.TString>;
|
|
584
585
|
severity: _$typebox.TOptional<_$typebox.TUnsafe<"info" | "warning" | "critical">>;
|
|
585
|
-
search: _$typebox.TOptional<_$typebox.TString>;
|
|
586
586
|
sort: _$typebox.TOptional<_$typebox.TString>;
|
|
587
587
|
userRealm: _$typebox.TOptional<_$typebox.TString>;
|
|
588
588
|
resourceType: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -625,9 +625,9 @@ declare class AdminAuditController {
|
|
|
625
625
|
}>;
|
|
626
626
|
query: _$typebox.TObject<{
|
|
627
627
|
type: _$typebox.TOptional<_$typebox.TString>;
|
|
628
|
+
search: _$typebox.TOptional<_$typebox.TString>;
|
|
628
629
|
action: _$typebox.TOptional<_$typebox.TString>;
|
|
629
630
|
severity: _$typebox.TOptional<_$typebox.TUnsafe<"info" | "warning" | "critical">>;
|
|
630
|
-
search: _$typebox.TOptional<_$typebox.TString>;
|
|
631
631
|
sort: _$typebox.TOptional<_$typebox.TString>;
|
|
632
632
|
userId: _$typebox.TOptional<_$typebox.TString>;
|
|
633
633
|
userRealm: _$typebox.TOptional<_$typebox.TString>;
|
package/dist/api/jobs/index.d.ts
CHANGED
|
@@ -341,7 +341,7 @@ declare const jobExecutionEntity: _$alepha_orm0.EntityPrimitive<_$typebox.TObjec
|
|
|
341
341
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
342
342
|
jobName: _$typebox.TString;
|
|
343
343
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
344
|
-
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"
|
|
344
|
+
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
345
345
|
priority: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
346
346
|
attempt: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
347
347
|
maxAttempts: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
@@ -650,7 +650,7 @@ declare class JobProvider {
|
|
|
650
650
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
651
651
|
jobName: _$typebox.TString;
|
|
652
652
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
653
|
-
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"
|
|
653
|
+
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
654
654
|
priority: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
655
655
|
attempt: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
656
656
|
maxAttempts: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
@@ -811,8 +811,8 @@ declare class JobProvider {
|
|
|
811
811
|
* path is 2 queries instead of 3.
|
|
812
812
|
*/
|
|
813
813
|
protected claim(executionId: string): Promise<{
|
|
814
|
-
key?: string | null | undefined;
|
|
815
814
|
error?: string | undefined;
|
|
815
|
+
key?: string | null | undefined;
|
|
816
816
|
payload?: Record<string, any> | undefined;
|
|
817
817
|
scheduledAt?: string | undefined;
|
|
818
818
|
startedAt?: string | undefined;
|
|
@@ -831,12 +831,12 @@ declare class JobProvider {
|
|
|
831
831
|
triggeredByName?: string | undefined;
|
|
832
832
|
cancelledBy?: string | undefined;
|
|
833
833
|
cancelledByName?: string | undefined;
|
|
834
|
-
|
|
834
|
+
priority: number;
|
|
835
|
+
status: "ok" | "error" | "pending" | "running" | "scheduled" | "cancelled";
|
|
835
836
|
id: string;
|
|
836
837
|
createdAt: string;
|
|
837
838
|
updatedAt: string;
|
|
838
|
-
|
|
839
|
-
priority: number;
|
|
839
|
+
jobName: string;
|
|
840
840
|
attempt: number;
|
|
841
841
|
maxAttempts: number;
|
|
842
842
|
} | null>;
|
|
@@ -859,7 +859,7 @@ declare class JobProvider {
|
|
|
859
859
|
//#endregion
|
|
860
860
|
//#region ../../src/api/jobs/schemas/jobExecutionQuerySchema.d.ts
|
|
861
861
|
declare const jobExecutionQuerySchema: _$typebox.TObject<{
|
|
862
|
-
status: _$typebox.TOptional<_$typebox.TUnsafe<"
|
|
862
|
+
status: _$typebox.TOptional<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">>;
|
|
863
863
|
limit: _$typebox.TOptional<_$typebox.TInteger>;
|
|
864
864
|
}>;
|
|
865
865
|
type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
|
|
@@ -881,7 +881,7 @@ declare const jobExecutionResourceSchema: _$typebox.TObject<{
|
|
|
881
881
|
updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
882
882
|
jobName: _$typebox.TString;
|
|
883
883
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
884
|
-
status: PgAttr<_$typebox.TUnsafe<"
|
|
884
|
+
status: PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof PG_DEFAULT>;
|
|
885
885
|
priority: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
886
886
|
attempt: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
887
887
|
maxAttempts: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
@@ -915,7 +915,7 @@ type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
|
|
|
915
915
|
declare const jobRegistrationSchema: _$typebox.TObject<{
|
|
916
916
|
name: _$typebox.TString;
|
|
917
917
|
description: _$typebox.TOptional<_$typebox.TString>;
|
|
918
|
-
type: _$typebox.TUnsafe<"
|
|
918
|
+
type: _$typebox.TUnsafe<"cron" | "queue" | "direct">;
|
|
919
919
|
priority: _$typebox.TUnsafe<"critical" | "high" | "normal" | "low">;
|
|
920
920
|
cron: _$typebox.TOptional<_$typebox.TString>;
|
|
921
921
|
timeout: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -949,7 +949,7 @@ declare class JobService {
|
|
|
949
949
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
950
950
|
jobName: _$typebox.TString;
|
|
951
951
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
952
|
-
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"
|
|
952
|
+
status: _$alepha_orm0.PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
953
953
|
priority: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
954
954
|
attempt: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
955
955
|
maxAttempts: _$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
@@ -996,8 +996,8 @@ declare class JobService {
|
|
|
996
996
|
* Recent executions for a single job, ORDER BY startedAt DESC.
|
|
997
997
|
*/
|
|
998
998
|
getExecutions(jobName: string, query?: JobExecutionQuery): Promise<{
|
|
999
|
-
key?: string | null | undefined;
|
|
1000
999
|
error?: string | undefined;
|
|
1000
|
+
key?: string | null | undefined;
|
|
1001
1001
|
payload?: Record<string, any> | undefined;
|
|
1002
1002
|
scheduledAt?: string | undefined;
|
|
1003
1003
|
startedAt?: string | undefined;
|
|
@@ -1016,12 +1016,12 @@ declare class JobService {
|
|
|
1016
1016
|
triggeredByName?: string | undefined;
|
|
1017
1017
|
cancelledBy?: string | undefined;
|
|
1018
1018
|
cancelledByName?: string | undefined;
|
|
1019
|
-
|
|
1019
|
+
priority: number;
|
|
1020
|
+
status: "ok" | "error" | "pending" | "running" | "scheduled" | "cancelled";
|
|
1020
1021
|
id: string;
|
|
1021
1022
|
createdAt: string;
|
|
1022
1023
|
updatedAt: string;
|
|
1023
|
-
|
|
1024
|
-
priority: number;
|
|
1024
|
+
jobName: string;
|
|
1025
1025
|
attempt: number;
|
|
1026
1026
|
maxAttempts: number;
|
|
1027
1027
|
can: {
|
|
@@ -1033,8 +1033,8 @@ declare class JobService {
|
|
|
1033
1033
|
* Full execution detail (includes captured logs).
|
|
1034
1034
|
*/
|
|
1035
1035
|
getExecution(id: string): Promise<{
|
|
1036
|
-
key?: string | null | undefined;
|
|
1037
1036
|
error?: string | undefined;
|
|
1037
|
+
key?: string | null | undefined;
|
|
1038
1038
|
payload?: Record<string, any> | undefined;
|
|
1039
1039
|
scheduledAt?: string | undefined;
|
|
1040
1040
|
startedAt?: string | undefined;
|
|
@@ -1053,12 +1053,12 @@ declare class JobService {
|
|
|
1053
1053
|
triggeredByName?: string | undefined;
|
|
1054
1054
|
cancelledBy?: string | undefined;
|
|
1055
1055
|
cancelledByName?: string | undefined;
|
|
1056
|
-
|
|
1056
|
+
priority: number;
|
|
1057
|
+
status: "ok" | "error" | "pending" | "running" | "scheduled" | "cancelled";
|
|
1057
1058
|
id: string;
|
|
1058
1059
|
createdAt: string;
|
|
1059
1060
|
updatedAt: string;
|
|
1060
|
-
|
|
1061
|
-
priority: number;
|
|
1061
|
+
jobName: string;
|
|
1062
1062
|
attempt: number;
|
|
1063
1063
|
maxAttempts: number;
|
|
1064
1064
|
can: {
|
|
@@ -1101,7 +1101,7 @@ declare class AdminJobController {
|
|
|
1101
1101
|
response: _$typebox.TArray<_$typebox.TObject<{
|
|
1102
1102
|
name: _$typebox.TString;
|
|
1103
1103
|
description: _$typebox.TOptional<_$typebox.TString>;
|
|
1104
|
-
type: _$typebox.TUnsafe<"
|
|
1104
|
+
type: _$typebox.TUnsafe<"cron" | "queue" | "direct">;
|
|
1105
1105
|
priority: _$typebox.TUnsafe<"critical" | "high" | "normal" | "low">;
|
|
1106
1106
|
cron: _$typebox.TOptional<_$typebox.TString>;
|
|
1107
1107
|
timeout: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -1120,7 +1120,7 @@ declare class AdminJobController {
|
|
|
1120
1120
|
name: _$typebox.TString;
|
|
1121
1121
|
}>;
|
|
1122
1122
|
query: _$typebox.TObject<{
|
|
1123
|
-
status: _$typebox.TOptional<_$typebox.TUnsafe<"
|
|
1123
|
+
status: _$typebox.TOptional<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">>;
|
|
1124
1124
|
limit: _$typebox.TOptional<_$typebox.TInteger>;
|
|
1125
1125
|
}>;
|
|
1126
1126
|
response: _$typebox.TArray<_$typebox.TObject<{
|
|
@@ -1129,7 +1129,7 @@ declare class AdminJobController {
|
|
|
1129
1129
|
updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1130
1130
|
jobName: _$typebox.TString;
|
|
1131
1131
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
1132
|
-
status: PgAttr<_$typebox.TUnsafe<"
|
|
1132
|
+
status: PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof PG_DEFAULT>;
|
|
1133
1133
|
priority: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
1134
1134
|
attempt: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
1135
1135
|
maxAttempts: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
@@ -1168,7 +1168,7 @@ declare class AdminJobController {
|
|
|
1168
1168
|
updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1169
1169
|
jobName: _$typebox.TString;
|
|
1170
1170
|
key: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TNull, _$typebox.TString]>>;
|
|
1171
|
-
status: PgAttr<_$typebox.TUnsafe<"
|
|
1171
|
+
status: PgAttr<_$typebox.TUnsafe<"ok" | "error" | "pending" | "running" | "scheduled" | "cancelled">, typeof PG_DEFAULT>;
|
|
1172
1172
|
priority: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
1173
1173
|
attempt: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
1174
1174
|
maxAttempts: PgAttr<_$typebox.TInteger, typeof PG_DEFAULT>;
|
|
@@ -121,9 +121,9 @@ declare class UserAudits {
|
|
|
121
121
|
id: string;
|
|
122
122
|
createdAt: string;
|
|
123
123
|
organizationId: string;
|
|
124
|
-
success: boolean;
|
|
125
124
|
action: string;
|
|
126
125
|
severity: "info" | "warning" | "critical";
|
|
126
|
+
success: boolean;
|
|
127
127
|
}>;
|
|
128
128
|
/**
|
|
129
129
|
* Record an authentication-related audit event.
|
|
@@ -145,9 +145,9 @@ declare class UserAudits {
|
|
|
145
145
|
id: string;
|
|
146
146
|
createdAt: string;
|
|
147
147
|
organizationId: string;
|
|
148
|
-
success: boolean;
|
|
149
148
|
action: string;
|
|
150
149
|
severity: "info" | "warning" | "critical";
|
|
150
|
+
success: boolean;
|
|
151
151
|
}>;
|
|
152
152
|
/**
|
|
153
153
|
* Record a generic audit event.
|
|
@@ -169,9 +169,9 @@ declare class UserAudits {
|
|
|
169
169
|
id: string;
|
|
170
170
|
createdAt: string;
|
|
171
171
|
organizationId: string;
|
|
172
|
-
success: boolean;
|
|
173
172
|
action: string;
|
|
174
173
|
severity: "info" | "warning" | "critical";
|
|
174
|
+
success: boolean;
|
|
175
175
|
}>;
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
@@ -7295,30 +7295,30 @@ declare class UserNotifications {
|
|
|
7295
7295
|
//#endregion
|
|
7296
7296
|
//#region ../../src/api/users/schemas/createUserSchema.d.ts
|
|
7297
7297
|
declare const createUserSchema: _$typebox.TObject<{
|
|
7298
|
+
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7298
7299
|
email: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7299
|
-
username: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7300
7300
|
phoneNumber: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7301
|
-
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7302
|
-
emailVerified: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7303
|
-
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7304
7301
|
id: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
7305
7302
|
version: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
7306
7303
|
createdAt: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
7307
7304
|
updatedAt: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
7305
|
+
username: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7306
|
+
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7308
7307
|
firstName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7309
7308
|
lastName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7310
7309
|
picture: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7310
|
+
emailVerified: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7311
7311
|
organizationId: _$typebox.TOptional<PgAttr<_$typebox.TString, typeof PG_ORGANIZATION>>;
|
|
7312
7312
|
}>;
|
|
7313
7313
|
type CreateUser = Static<typeof createUserSchema>;
|
|
7314
7314
|
//#endregion
|
|
7315
7315
|
//#region ../../src/api/users/schemas/updateUserSchema.d.ts
|
|
7316
7316
|
declare const updateUserSchema: _$typebox.TObject<{
|
|
7317
|
+
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7317
7318
|
email: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7318
7319
|
phoneNumber: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7319
|
-
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7320
|
-
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7321
7320
|
realm: _$typebox.TOptional<PgAttr<_$typebox.TString, typeof PG_DEFAULT>>;
|
|
7321
|
+
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7322
7322
|
firstName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7323
7323
|
lastName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7324
7324
|
picture: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
@@ -7475,19 +7475,19 @@ declare class AdminUserController {
|
|
|
7475
7475
|
userRealmName: _$typebox.TOptional<_$typebox.TString>;
|
|
7476
7476
|
}>;
|
|
7477
7477
|
body: _$typebox.TObject<{
|
|
7478
|
+
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7478
7479
|
email: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7479
|
-
username: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7480
7480
|
phoneNumber: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7481
|
-
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7482
|
-
emailVerified: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7483
|
-
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7484
7481
|
id: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
7485
7482
|
version: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
7486
7483
|
createdAt: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
7487
7484
|
updatedAt: _$typebox.TOptional<PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
7485
|
+
username: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7486
|
+
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7488
7487
|
firstName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7489
7488
|
lastName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7490
7489
|
picture: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7490
|
+
emailVerified: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7491
7491
|
organizationId: _$typebox.TOptional<PgAttr<_$typebox.TString, typeof PG_ORGANIZATION>>;
|
|
7492
7492
|
}>;
|
|
7493
7493
|
response: _$typebox.TObject<{
|
|
@@ -7519,11 +7519,11 @@ declare class AdminUserController {
|
|
|
7519
7519
|
userRealmName: _$typebox.TOptional<_$typebox.TString>;
|
|
7520
7520
|
}>;
|
|
7521
7521
|
body: _$typebox.TObject<{
|
|
7522
|
+
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7522
7523
|
email: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7523
7524
|
phoneNumber: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7524
|
-
enabled: _$typebox.TOptional<PgAttr<_$typebox.TBoolean, typeof PG_DEFAULT>>;
|
|
7525
|
-
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7526
7525
|
realm: _$typebox.TOptional<PgAttr<_$typebox.TString, typeof PG_DEFAULT>>;
|
|
7526
|
+
roles: _$typebox.TOptional<PgAttr<_$typebox.TArray<_$typebox.TString>, typeof PG_DEFAULT>>;
|
|
7527
7527
|
firstName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7528
7528
|
lastName: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
7529
7529
|
picture: _$typebox.TOptional<_$typebox.TOptional<_$typebox.TString>>;
|
|
@@ -8494,19 +8494,19 @@ declare class SessionService {
|
|
|
8494
8494
|
deleteSession(refreshToken: string, userRealmName?: string): Promise<void>;
|
|
8495
8495
|
link(provider: string, profile: OAuth2Profile, userRealmName?: string): Promise<{
|
|
8496
8496
|
email?: string | undefined;
|
|
8497
|
-
username?: string | undefined;
|
|
8498
8497
|
phoneNumber?: string | undefined;
|
|
8498
|
+
username?: string | undefined;
|
|
8499
8499
|
firstName?: string | undefined;
|
|
8500
8500
|
lastName?: string | undefined;
|
|
8501
8501
|
picture?: string | undefined;
|
|
8502
8502
|
enabled: boolean;
|
|
8503
|
-
emailVerified: boolean;
|
|
8504
|
-
roles: string[];
|
|
8505
8503
|
id: string;
|
|
8506
8504
|
version: number;
|
|
8507
8505
|
createdAt: string;
|
|
8508
8506
|
updatedAt: string;
|
|
8509
8507
|
realm: string;
|
|
8508
|
+
roles: string[];
|
|
8509
|
+
emailVerified: boolean;
|
|
8510
8510
|
organizationId: string;
|
|
8511
8511
|
} | {
|
|
8512
8512
|
sub: string;
|