@leavittsoftware/lg-core-typescript 2.0.439 → 2.0.443
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.
- package/api3.leavitt.com.ts +26 -1
- package/lg.net.core.js +5 -0
- package/lg.net.core.js.map +1 -1
- package/lg.net.core.ts +17 -11
- package/oauth2.leavitt.com.js +31 -15
- package/oauth2.leavitt.com.js.map +1 -1
- package/oauth2.leavitt.com.ts +53 -19
- package/package.json +1 -1
package/api3.leavitt.com.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// generated using a custom program
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
// ----------------------
|
|
6
|
-
import { SignatureValue,SignatureTemplateToCompany,ServiceToChampion,ServiceToCompany,ConnectedStatusString } from './lg.net.core'
|
|
6
|
+
import { SignatureValue,SignatureTemplateToCompany,ServiceToChampion,ServiceToCompany,ConnectedStatusString,Company,CompanyOwnership } from './lg.net.core'
|
|
7
7
|
|
|
8
8
|
export interface GetSignaturePrefillDataDto {
|
|
9
9
|
AgencyOrDepartment: string | null;
|
|
@@ -170,3 +170,28 @@ export interface UpsertServiceToCompanyDto {
|
|
|
170
170
|
Subject: string | null;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
export interface AgencySearchInfo {
|
|
174
|
+
CanEditOwnership: boolean;
|
|
175
|
+
Company: Partial<Company> | null;
|
|
176
|
+
CompanyId: number;
|
|
177
|
+
JobRoles: Array<Partial<CompanyJobRoleDto>> | null;
|
|
178
|
+
RemoteEmployeeCount: number;
|
|
179
|
+
RemoteLocationCount: number;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface CompanyEmployeeDto {
|
|
183
|
+
FirstName: string | null;
|
|
184
|
+
IsDirectEmployee: boolean;
|
|
185
|
+
LastName: string | null;
|
|
186
|
+
PersonId: number;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export interface CompanyJobRoleDto {
|
|
190
|
+
Employees: Array<Partial<CompanyEmployeeDto>> | null;
|
|
191
|
+
JobRoleType: string | null;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export interface UpsertCompanyOwnershipDto {
|
|
195
|
+
CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
|
|
196
|
+
}
|
|
197
|
+
|
package/lg.net.core.js
CHANGED
|
@@ -94,6 +94,11 @@ export var TaskStatusType;
|
|
|
94
94
|
TaskStatusType[TaskStatusType["InProgress"] = 1] = "InProgress";
|
|
95
95
|
TaskStatusType[TaskStatusType["Completed"] = 2] = "Completed";
|
|
96
96
|
})(TaskStatusType || (TaskStatusType = {}));
|
|
97
|
+
export var TimelineStatusType;
|
|
98
|
+
(function (TimelineStatusType) {
|
|
99
|
+
TimelineStatusType[TimelineStatusType["Inactive"] = 0] = "Inactive";
|
|
100
|
+
TimelineStatusType[TimelineStatusType["Active"] = 1] = "Active";
|
|
101
|
+
})(TimelineStatusType || (TimelineStatusType = {}));
|
|
97
102
|
export var ActivityType;
|
|
98
103
|
(function (ActivityType) {
|
|
99
104
|
ActivityType[ActivityType["Appointment"] = 4201] = "Appointment";
|
package/lg.net.core.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lg.net.core.js","sourceRoot":"","sources":["lg.net.core.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"lg.net.core.js","sourceRoot":"","sources":["lg.net.core.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAmiJzB,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,qDAAY,CAAA;IACZ,6CAAQ,CAAA;AACZ,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;AAID,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACvB,uEAA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IAC3B,0EAAuB,CAAA;IACvB,0EAAuB,CAAA;IACvB,oEAAoB,CAAA;IACpB,mEAAoB,CAAA;IACpB,yEAAuB,CAAA;IACvB,uDAAc,CAAA;IACd,yDAAe,CAAA;IACf,qGAAqC,CAAA;IACrC,mGAAoC,CAAA;IACpC,mEAAoB,CAAA;IACpB,uEAAsB,CAAA;AAC1B,CAAC,EAxBW,YAAY,KAAZ,YAAY,QAwBvB;AAID,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,uDAAQ,CAAA;IACR,uDAAQ,CAAA;AACZ,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAID,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACvB,qEAAgB,CAAA;IAChB,2EAAmB,CAAA;IACnB,qEAAgB,CAAA;IAChB,6DAAY,CAAA;IACZ,uDAAS,CAAA;IACT,uEAAiB,CAAA;AACrB,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B"}
|
package/lg.net.core.ts
CHANGED
|
@@ -858,6 +858,7 @@ export interface Company {
|
|
|
858
858
|
LastModifiedDate: string;
|
|
859
859
|
ManagementSystems: Array<Partial<ManagementSystem>> | null;
|
|
860
860
|
Name: string | null;
|
|
861
|
+
OwnerCompanies: Array<Partial<CompanyOwnership>> | null;
|
|
861
862
|
PhoneNumbers: Array<Partial<PhoneNumber>> | null;
|
|
862
863
|
Roles: Array<Partial<CompanyRole>> | null;
|
|
863
864
|
Services: Array<Partial<ServiceToCompany>> | null;
|
|
@@ -917,6 +918,10 @@ export interface CompanyOwnership {
|
|
|
917
918
|
CompanyId: number;
|
|
918
919
|
Id: number;
|
|
919
920
|
Name: string | null;
|
|
921
|
+
OwnerCompany: Partial<Company> | null;
|
|
922
|
+
OwnerCompanyId: number | null;
|
|
923
|
+
OwnerPerson: Partial<Person> | null;
|
|
924
|
+
OwnerPersonId: number | null;
|
|
920
925
|
Percentage: Partial<number>;
|
|
921
926
|
}
|
|
922
927
|
|
|
@@ -1149,8 +1154,9 @@ export interface JobRoleType {
|
|
|
1149
1154
|
CreatorPersonId: number;
|
|
1150
1155
|
EndDate: string | null;
|
|
1151
1156
|
Id: number;
|
|
1152
|
-
IsExpired: boolean
|
|
1157
|
+
IsExpired: boolean;
|
|
1153
1158
|
IsFullTimeEquivalenceType: boolean;
|
|
1159
|
+
JobRoles: Array<Partial<JobRole>> | null;
|
|
1154
1160
|
LastModifiedByPerson: Partial<Person> | null;
|
|
1155
1161
|
LastModifiedByPersonId: number | null;
|
|
1156
1162
|
LastModifiedDate: string | null;
|
|
@@ -1190,7 +1196,7 @@ export interface LGEmployeeRoleToCompanyAddress {
|
|
|
1190
1196
|
CreatedDate: string;
|
|
1191
1197
|
EndDate: string | null;
|
|
1192
1198
|
Id: number;
|
|
1193
|
-
IsExpired: boolean
|
|
1199
|
+
IsExpired: boolean;
|
|
1194
1200
|
LastModifiedBy: Partial<Person> | null;
|
|
1195
1201
|
LastModifiedById: number | null;
|
|
1196
1202
|
LastModifiedDate: string;
|
|
@@ -1376,6 +1382,7 @@ export interface Person {
|
|
|
1376
1382
|
Commissions: Array<Partial<CrmCommission>> | null;
|
|
1377
1383
|
CompanyId: number | null;
|
|
1378
1384
|
CompanyName: string | null;
|
|
1385
|
+
CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
|
|
1379
1386
|
Contacts: Array<Partial<CrmContact>> | null;
|
|
1380
1387
|
CourseAdminCreatorPeople: Array<Partial<CourseAdmin>> | null;
|
|
1381
1388
|
CourseAdminLastModifiedByPeople: Array<Partial<CourseAdmin>> | null;
|
|
@@ -4491,17 +4498,9 @@ export interface CompanyAddress extends Address {
|
|
|
4491
4498
|
LGEmployeeRoleToCompanyAddresses: Array<Partial<LGEmployeeRoleToCompanyAddress>> | null;
|
|
4492
4499
|
}
|
|
4493
4500
|
|
|
4494
|
-
export interface CompanyLogo {
|
|
4495
|
-
CdnFileName: string | null;
|
|
4501
|
+
export interface CompanyLogo extends IDatabaseAttachment {
|
|
4496
4502
|
Company: Partial<Company> | null;
|
|
4497
4503
|
CompanyId: number | null;
|
|
4498
|
-
CreatedDate: string;
|
|
4499
|
-
Extension: string | null;
|
|
4500
|
-
Id: number;
|
|
4501
|
-
Name: string | null;
|
|
4502
|
-
PreviewExtension: string | null;
|
|
4503
|
-
PreviewSizes: string | null;
|
|
4504
|
-
Size: number;
|
|
4505
4504
|
Type: CompanyLogoTypesString;
|
|
4506
4505
|
}
|
|
4507
4506
|
|
|
@@ -4765,6 +4764,13 @@ export enum TaskStatusType {
|
|
|
4765
4764
|
|
|
4766
4765
|
export type TaskStatusTypeString = keyof typeof TaskStatusType;
|
|
4767
4766
|
|
|
4767
|
+
export enum TimelineStatusType {
|
|
4768
|
+
Inactive = 0,
|
|
4769
|
+
Active = 1
|
|
4770
|
+
}
|
|
4771
|
+
|
|
4772
|
+
export type TimelineStatusTypeString = keyof typeof TimelineStatusType;
|
|
4773
|
+
|
|
4768
4774
|
export enum ActivityType {
|
|
4769
4775
|
Appointment = 4201,
|
|
4770
4776
|
Email = 4202,
|
package/oauth2.leavitt.com.js
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
// generated using a custom program
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
// ----------------------
|
|
6
|
+
export var AccountType;
|
|
7
|
+
(function (AccountType) {
|
|
8
|
+
AccountType[AccountType["Ldap"] = 0] = "Ldap";
|
|
9
|
+
AccountType[AccountType["Okta"] = 1] = "Okta";
|
|
10
|
+
AccountType[AccountType["Standard"] = 2] = "Standard";
|
|
11
|
+
})(AccountType || (AccountType = {}));
|
|
6
12
|
export var GrantType;
|
|
7
13
|
(function (GrantType) {
|
|
8
14
|
GrantType[GrantType["refresh_token"] = 0] = "refresh_token";
|
|
@@ -11,6 +17,31 @@ export var GrantType;
|
|
|
11
17
|
GrantType[GrantType["client_credentials"] = 3] = "client_credentials";
|
|
12
18
|
GrantType[GrantType["authorization_code"] = 4] = "authorization_code";
|
|
13
19
|
})(GrantType || (GrantType = {}));
|
|
20
|
+
export var OAuth2ErrorType;
|
|
21
|
+
(function (OAuth2ErrorType) {
|
|
22
|
+
OAuth2ErrorType[OAuth2ErrorType["invalid_request"] = 0] = "invalid_request";
|
|
23
|
+
OAuth2ErrorType[OAuth2ErrorType["invalid_client"] = 1] = "invalid_client";
|
|
24
|
+
OAuth2ErrorType[OAuth2ErrorType["invalid_grant"] = 2] = "invalid_grant";
|
|
25
|
+
OAuth2ErrorType[OAuth2ErrorType["unauthorized_client"] = 3] = "unauthorized_client";
|
|
26
|
+
OAuth2ErrorType[OAuth2ErrorType["access_denied"] = 4] = "access_denied";
|
|
27
|
+
OAuth2ErrorType[OAuth2ErrorType["unsupported_response_type"] = 5] = "unsupported_response_type";
|
|
28
|
+
OAuth2ErrorType[OAuth2ErrorType["invalid_scope"] = 6] = "invalid_scope";
|
|
29
|
+
OAuth2ErrorType[OAuth2ErrorType["server_error"] = 7] = "server_error";
|
|
30
|
+
OAuth2ErrorType[OAuth2ErrorType["temporarily_unavailable"] = 8] = "temporarily_unavailable";
|
|
31
|
+
OAuth2ErrorType[OAuth2ErrorType["missing_factors"] = 9] = "missing_factors";
|
|
32
|
+
OAuth2ErrorType[OAuth2ErrorType["account_locked"] = 10] = "account_locked";
|
|
33
|
+
OAuth2ErrorType[OAuth2ErrorType["password_expired"] = 11] = "password_expired";
|
|
34
|
+
OAuth2ErrorType[OAuth2ErrorType["unresolvable"] = 12] = "unresolvable";
|
|
35
|
+
})(OAuth2ErrorType || (OAuth2ErrorType = {}));
|
|
36
|
+
export var OAuthAccountStatus;
|
|
37
|
+
(function (OAuthAccountStatus) {
|
|
38
|
+
OAuthAccountStatus[OAuthAccountStatus["Locked"] = 0] = "Locked";
|
|
39
|
+
OAuthAccountStatus[OAuthAccountStatus["Disabled"] = 1] = "Disabled";
|
|
40
|
+
OAuthAccountStatus[OAuthAccountStatus["PasswordExpired"] = 2] = "PasswordExpired";
|
|
41
|
+
OAuthAccountStatus[OAuthAccountStatus["Active"] = 3] = "Active";
|
|
42
|
+
OAuthAccountStatus[OAuthAccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
|
|
43
|
+
OAuthAccountStatus[OAuthAccountStatus["NotActivated"] = 20] = "NotActivated";
|
|
44
|
+
})(OAuthAccountStatus || (OAuthAccountStatus = {}));
|
|
14
45
|
export var SecondFactorType;
|
|
15
46
|
(function (SecondFactorType) {
|
|
16
47
|
SecondFactorType[SecondFactorType["none"] = 0] = "none";
|
|
@@ -33,19 +64,4 @@ export var TokenType;
|
|
|
33
64
|
TokenType[TokenType["bearer"] = 0] = "bearer";
|
|
34
65
|
TokenType[TokenType["mac"] = 1] = "mac";
|
|
35
66
|
})(TokenType || (TokenType = {}));
|
|
36
|
-
export var OAuthAccountStatus;
|
|
37
|
-
(function (OAuthAccountStatus) {
|
|
38
|
-
OAuthAccountStatus[OAuthAccountStatus["Locked"] = 0] = "Locked";
|
|
39
|
-
OAuthAccountStatus[OAuthAccountStatus["Disabled"] = 1] = "Disabled";
|
|
40
|
-
OAuthAccountStatus[OAuthAccountStatus["PasswordExpired"] = 2] = "PasswordExpired";
|
|
41
|
-
OAuthAccountStatus[OAuthAccountStatus["Active"] = 3] = "Active";
|
|
42
|
-
OAuthAccountStatus[OAuthAccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
|
|
43
|
-
OAuthAccountStatus[OAuthAccountStatus["NotActivated"] = 20] = "NotActivated";
|
|
44
|
-
})(OAuthAccountStatus || (OAuthAccountStatus = {}));
|
|
45
|
-
export var AccountType;
|
|
46
|
-
(function (AccountType) {
|
|
47
|
-
AccountType[AccountType["Ldap"] = 0] = "Ldap";
|
|
48
|
-
AccountType[AccountType["Okta"] = 1] = "Okta";
|
|
49
|
-
AccountType[AccountType["Standard"] = 2] = "Standard";
|
|
50
|
-
})(AccountType || (AccountType = {}));
|
|
51
67
|
//# sourceMappingURL=oauth2.leavitt.com.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.leavitt.com.js","sourceRoot":"","sources":["oauth2.leavitt.com.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"oauth2.leavitt.com.js","sourceRoot":"","sources":["oauth2.leavitt.com.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AA2EzB,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,qDAAY,CAAA;AAChB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAID,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACjB,2DAAiB,CAAA;IACjB,2CAAS,CAAA;IACT,iDAAY,CAAA;IACZ,qEAAsB,CAAA;IACtB,qEAAsB,CAAA;AAC1B,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAID,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACvB,2EAAmB,CAAA;IACnB,yEAAkB,CAAA;IAClB,uEAAiB,CAAA;IACjB,mFAAuB,CAAA;IACvB,uEAAiB,CAAA;IACjB,+FAA6B,CAAA;IAC7B,uEAAiB,CAAA;IACjB,qEAAgB,CAAA;IAChB,2FAA2B,CAAA;IAC3B,2EAAmB,CAAA;IACnB,0EAAmB,CAAA;IACnB,8EAAqB,CAAA;IACrB,sEAAiB,CAAA;AACrB,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAID,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC1B,+DAAU,CAAA;IACV,mEAAY,CAAA;IACZ,iFAAmB,CAAA;IACnB,+DAAU,CAAA;IACV,6EAAiB,CAAA;IACjB,4EAAiB,CAAA;AACrB,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAID,MAAM,CAAN,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IACxB,uDAAQ,CAAA;IACR,uDAAQ,CAAA;IACR,qDAAO,CAAA;IACP,uDAAQ,CAAA;IACR,uDAAQ,CAAA;IACR,yDAAS,CAAA;IACT,2EAAkB,CAAA;IAClB,2EAAkB,CAAA;IAClB,+DAAY,CAAA;IACZ,qDAAO,CAAA;IACP,0DAAU,CAAA;IACV,sDAAQ,CAAA;IACR,gEAAa,CAAA;IACb,4DAAW,CAAA;AACf,CAAC,EAfW,gBAAgB,KAAhB,gBAAgB,QAe3B;AAID,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,6CAAU,CAAA;IACV,uCAAO,CAAA;AACX,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
package/oauth2.leavitt.com.ts
CHANGED
|
@@ -31,6 +31,22 @@ export interface OauthTokenRequest {
|
|
|
31
31
|
username: string | null;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
export interface OauthTokenRequestForCallManager {
|
|
35
|
+
claim_scopes: Array<string> | null;
|
|
36
|
+
client_id: string | null;
|
|
37
|
+
client_secret: string | null;
|
|
38
|
+
code: string | null;
|
|
39
|
+
grant_type: GrantTypeString;
|
|
40
|
+
password: string | null;
|
|
41
|
+
redirect_uri: string | null;
|
|
42
|
+
refresh_token: string | null;
|
|
43
|
+
second_factor_answer: string | null;
|
|
44
|
+
second_factor_id: string | null;
|
|
45
|
+
second_factor_type: SecondFactorTypeString | null;
|
|
46
|
+
send_challenge: boolean;
|
|
47
|
+
username: string | null;
|
|
48
|
+
}
|
|
49
|
+
|
|
34
50
|
export interface OauthTokenResponse {
|
|
35
51
|
access_token: string | null;
|
|
36
52
|
expires_in: number;
|
|
@@ -61,6 +77,14 @@ export interface UserMetaData {
|
|
|
61
77
|
PersonId: number;
|
|
62
78
|
}
|
|
63
79
|
|
|
80
|
+
export enum AccountType {
|
|
81
|
+
Ldap = 0,
|
|
82
|
+
Okta = 1,
|
|
83
|
+
Standard = 2
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type AccountTypeString = keyof typeof AccountType;
|
|
87
|
+
|
|
64
88
|
export enum GrantType {
|
|
65
89
|
refresh_token = 0,
|
|
66
90
|
token = 1,
|
|
@@ -71,6 +95,35 @@ export enum GrantType {
|
|
|
71
95
|
|
|
72
96
|
export type GrantTypeString = keyof typeof GrantType;
|
|
73
97
|
|
|
98
|
+
export enum OAuth2ErrorType {
|
|
99
|
+
invalid_request = 0,
|
|
100
|
+
invalid_client = 1,
|
|
101
|
+
invalid_grant = 2,
|
|
102
|
+
unauthorized_client = 3,
|
|
103
|
+
access_denied = 4,
|
|
104
|
+
unsupported_response_type = 5,
|
|
105
|
+
invalid_scope = 6,
|
|
106
|
+
server_error = 7,
|
|
107
|
+
temporarily_unavailable = 8,
|
|
108
|
+
missing_factors = 9,
|
|
109
|
+
account_locked = 10,
|
|
110
|
+
password_expired = 11,
|
|
111
|
+
unresolvable = 12
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type OAuth2ErrorTypeString = keyof typeof OAuth2ErrorType;
|
|
115
|
+
|
|
116
|
+
export enum OAuthAccountStatus {
|
|
117
|
+
Locked = 0,
|
|
118
|
+
Disabled = 1,
|
|
119
|
+
PasswordExpired = 2,
|
|
120
|
+
Active = 3,
|
|
121
|
+
NeverLoggedIn = 4,
|
|
122
|
+
NotActivated = 20
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export type OAuthAccountStatusString = keyof typeof OAuthAccountStatus;
|
|
126
|
+
|
|
74
127
|
export enum SecondFactorType {
|
|
75
128
|
none = 0,
|
|
76
129
|
push = 1,
|
|
@@ -97,22 +150,3 @@ export enum TokenType {
|
|
|
97
150
|
|
|
98
151
|
export type TokenTypeString = keyof typeof TokenType;
|
|
99
152
|
|
|
100
|
-
export enum OAuthAccountStatus {
|
|
101
|
-
Locked = 0,
|
|
102
|
-
Disabled = 1,
|
|
103
|
-
PasswordExpired = 2,
|
|
104
|
-
Active = 3,
|
|
105
|
-
NeverLoggedIn = 4,
|
|
106
|
-
NotActivated = 20
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type OAuthAccountStatusString = keyof typeof OAuthAccountStatus;
|
|
110
|
-
|
|
111
|
-
export enum AccountType {
|
|
112
|
-
Ldap = 0,
|
|
113
|
-
Okta = 1,
|
|
114
|
-
Standard = 2
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export type AccountTypeString = keyof typeof AccountType;
|
|
118
|
-
|