@leavittsoftware/lg-core-typescript 2.0.440 → 2.0.444

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.
@@ -1,2 +1,7 @@
1
- export {};
1
+ export var CompanyRoleType;
2
+ (function (CompanyRoleType) {
3
+ CompanyRoleType[CompanyRoleType["LLCCompanyRole"] = 0] = "LLCCompanyRole";
4
+ CompanyRoleType[CompanyRoleType["AgencyRole"] = 1] = "AgencyRole";
5
+ CompanyRoleType[CompanyRoleType["AuditorCompanyRole"] = 2] = "AuditorCompanyRole";
6
+ })(CompanyRoleType || (CompanyRoleType = {}));
2
7
  //# sourceMappingURL=api3.leavitt.com.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AA8OA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -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,CompanyLogo,CompanyOwnership } from './lg.net.core'
7
7
 
8
8
  export interface GetSignaturePrefillDataDto {
9
9
  AgencyOrDepartment: string | null;
@@ -170,3 +170,77 @@ 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 CompanyDetailsDto {
183
+ DbaName: string | null;
184
+ Fax: string | null;
185
+ FolderPath: string | null;
186
+ HrName: string | null;
187
+ Id: number;
188
+ LegalName: string | null;
189
+ Logos: Array<Partial<CompanyLogo>> | null;
190
+ MainName: string | null;
191
+ MainPhone: string | null;
192
+ PrimaryEmail: string | null;
193
+ ShortName: string | null;
194
+ Type: string | null;
195
+ }
196
+
197
+ export interface CompanyEmployeeDto {
198
+ FirstName: string | null;
199
+ IsDirectEmployee: boolean;
200
+ LastName: string | null;
201
+ PersonId: number;
202
+ }
203
+
204
+ export interface CompanyJobRoleDto {
205
+ Employees: Array<Partial<CompanyEmployeeDto>> | null;
206
+ JobRoleType: string | null;
207
+ }
208
+
209
+ export interface CompanyUpsertDto {
210
+ CompanyRoleType: CompanyRoleTypeString | null;
211
+ DBAName: string | null;
212
+ FaxPhoneAreaCode: string | null;
213
+ FaxPhoneLine: string | null;
214
+ FolderPath: string | null;
215
+ HrName: string | null;
216
+ Id: number | null;
217
+ LegalName: string | null;
218
+ MainName: string | null;
219
+ MainPhoneAreaCode: string | null;
220
+ MainPhoneLine: string | null;
221
+ PrimaryEmail: string | null;
222
+ ShortName: string | null;
223
+ }
224
+
225
+ export interface MergerDto {
226
+ DestCompanyId: number;
227
+ Locations: Array<Partial<MergerLocationsDto>> | null;
228
+ }
229
+
230
+ export interface MergerLocationsDto {
231
+ CurrLocationId: number;
232
+ DestLocationId: number;
233
+ }
234
+
235
+ export interface UpsertCompanyOwnershipDto {
236
+ CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
237
+ }
238
+
239
+ export enum CompanyRoleType {
240
+ LLCCompanyRole = 0,
241
+ AgencyRole = 1,
242
+ AuditorCompanyRole = 2
243
+ }
244
+
245
+ export type CompanyRoleTypeString = keyof typeof CompanyRoleType;
246
+
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";
@@ -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;AA4hJzB,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,uEAAiB,CAAA;IACjB,6EAAoB,CAAA;IACpB,uDAAS,CAAA;IACT,uDAAS,CAAA;IACT,qDAAQ,CAAA;AACZ,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B;AAID,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,uEAAe,CAAA;IACf,iEAAY,CAAA;AAChB,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAID,MAAM,CAAN,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,uEAAiB,CAAA;IACjB,qEAAgB,CAAA;IAChB,yEAAkB,CAAA;IAClB,qFAAwB,CAAA;IACxB,mFAAuB,CAAA;IACvB,mEAAe,CAAA;IACf,mEAAe,CAAA;IACf,0DAAW,CAAA;IACX,oDAAQ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ACd,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAID,MAAM,CAAN,IAAY,YAwBX;AAxBD,WAAY,YAAY;IACpB,gEAAkB,CAAA;IAClB,oDAAY,CAAA;IACZ,gDAAU,CAAA;IACV,sEAAqB,CAAA;IACrB,sDAAa,CAAA;IACb,0EAAuB,CAAA;IACvB,8DAAiB,CAAA;IACjB,4DAAgB,CAAA;IAChB,8DAAiB,CAAA;IACjB,kDAAW,CAAA;IACX,wEAAsB,CAAA;IACtB,kFAA2B,CAAA;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
@@ -830,43 +830,6 @@ export interface BuildingToCompanyAddress {
830
830
  Id: number;
831
831
  }
832
832
 
833
- export interface Company {
834
- Addresses: Array<Partial<CompanyAddress>> | null;
835
- AgencyCommissionRates: Array<Partial<AgencyCommissionRate>> | null;
836
- AgencyProductionBudgets: Array<Partial<AgencyProductionBudget>> | null;
837
- Ams360Instance: Partial<Ams360Instance> | null;
838
- BookOfBusinessChanges: Array<Partial<BookOfBusinessChange>> | null;
839
- CompanyDivisions: Array<Partial<CompanyDivision>> | null;
840
- CompanyLogos: Array<Partial<CompanyLogo>> | null;
841
- CompanyNames: Array<Partial<CompanyName>> | null;
842
- CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
843
- CompanyTeams: Array<Partial<CompanyTeam>> | null;
844
- CompanyUhcCode: Partial<CompanyUhcCode> | null;
845
- ContactPersonRoles: Array<Partial<CompanyContactPersonRole>> | null;
846
- CreatedDate: string;
847
- CReportComments: Array<Partial<CReportComment>> | null;
848
- Departments: Array<Partial<Department>> | null;
849
- EloquaSyncLogEntry: Partial<EloquaSyncLogEntry> | null;
850
- EmailAddresses: Array<Partial<CompanyEmailAddress>> | null;
851
- EndDate: string | null;
852
- ExpenseFormItemBillToAgencies: Array<Partial<ExpenseFormItem>> | null;
853
- ExpenseFormItemCompanies: Array<Partial<ExpenseFormItem>> | null;
854
- ExpenseFormItemRequestingAgencies: Array<Partial<ExpenseFormItem>> | null;
855
- Id: number;
856
- IsExpired: boolean;
857
- JobRoles: Array<Partial<JobRole>> | null;
858
- LastModifiedDate: string;
859
- ManagementSystems: Array<Partial<ManagementSystem>> | null;
860
- Name: string | null;
861
- PhoneNumbers: Array<Partial<PhoneNumber>> | null;
862
- Roles: Array<Partial<CompanyRole>> | null;
863
- Services: Array<Partial<ServiceToCompany>> | null;
864
- SignatureTemplateToCompanies: Array<Partial<SignatureTemplateToCompany>> | null;
865
- StartDate: string;
866
- Stationeries: Array<Partial<Stationery>> | null;
867
- TimelineTemplateToCompanies: Array<Partial<TimelineTemplateToCompany>> | null;
868
- }
869
-
870
833
  export interface CompanyAddressUltiProAccount {
871
834
  CreatedDate: string;
872
835
  Id: number;
@@ -917,16 +880,13 @@ export interface CompanyOwnership {
917
880
  CompanyId: number;
918
881
  Id: number;
919
882
  Name: string | null;
883
+ OwnerCompany: Partial<Company> | null;
884
+ OwnerCompanyId: number | null;
885
+ OwnerPerson: Partial<Person> | null;
886
+ OwnerPersonId: number | null;
920
887
  Percentage: Partial<number>;
921
888
  }
922
889
 
923
- export interface CompanyRoleClosureType {
924
- CompanyRole: Partial<CompanyRole> | null;
925
- Discriminator: string | null;
926
- Id: number;
927
- MergedWithId: number | null;
928
- }
929
-
930
890
  export interface CompanyTeam {
931
891
  Company: Partial<Company> | null;
932
892
  CompanyId: number;
@@ -1149,8 +1109,9 @@ export interface JobRoleType {
1149
1109
  CreatorPersonId: number;
1150
1110
  EndDate: string | null;
1151
1111
  Id: number;
1152
- IsExpired: boolean | null;
1112
+ IsExpired: boolean;
1153
1113
  IsFullTimeEquivalenceType: boolean;
1114
+ JobRoles: Array<Partial<JobRole>> | null;
1154
1115
  LastModifiedByPerson: Partial<Person> | null;
1155
1116
  LastModifiedByPersonId: number | null;
1156
1117
  LastModifiedDate: string | null;
@@ -1190,7 +1151,7 @@ export interface LGEmployeeRoleToCompanyAddress {
1190
1151
  CreatedDate: string;
1191
1152
  EndDate: string | null;
1192
1153
  Id: number;
1193
- IsExpired: boolean | null;
1154
+ IsExpired: boolean;
1194
1155
  LastModifiedBy: Partial<Person> | null;
1195
1156
  LastModifiedById: number | null;
1196
1157
  LastModifiedDate: string;
@@ -1376,6 +1337,7 @@ export interface Person {
1376
1337
  Commissions: Array<Partial<CrmCommission>> | null;
1377
1338
  CompanyId: number | null;
1378
1339
  CompanyName: string | null;
1340
+ CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
1379
1341
  Contacts: Array<Partial<CrmContact>> | null;
1380
1342
  CourseAdminCreatorPeople: Array<Partial<CourseAdmin>> | null;
1381
1343
  CourseAdminLastModifiedByPeople: Array<Partial<CourseAdmin>> | null;
@@ -4484,6 +4446,44 @@ export interface AuditorPersonRole extends PersonRole {
4484
4446
  export interface CarrierCompanyRole extends CompanyRole {
4485
4447
  }
4486
4448
 
4449
+ export interface Company {
4450
+ Addresses: Array<Partial<CompanyAddress>> | null;
4451
+ AgencyCommissionRates: Array<Partial<AgencyCommissionRate>> | null;
4452
+ AgencyProductionBudgets: Array<Partial<AgencyProductionBudget>> | null;
4453
+ Ams360Instance: Partial<Ams360Instance> | null;
4454
+ BookOfBusinessChanges: Array<Partial<BookOfBusinessChange>> | null;
4455
+ CompanyDivisions: Array<Partial<CompanyDivision>> | null;
4456
+ CompanyLogos: Array<Partial<CompanyLogo>> | null;
4457
+ CompanyNames: Array<Partial<CompanyName>> | null;
4458
+ CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
4459
+ CompanyTeams: Array<Partial<CompanyTeam>> | null;
4460
+ CompanyUhcCode: Partial<CompanyUhcCode> | null;
4461
+ ContactPersonRoles: Array<Partial<CompanyContactPersonRole>> | null;
4462
+ CreatedDate: string;
4463
+ CReportComments: Array<Partial<CReportComment>> | null;
4464
+ Departments: Array<Partial<Department>> | null;
4465
+ EloquaSyncLogEntry: Partial<EloquaSyncLogEntry> | null;
4466
+ EmailAddresses: Array<Partial<CompanyEmailAddress>> | null;
4467
+ EndDate: string | null;
4468
+ ExpenseFormItemBillToAgencies: Array<Partial<ExpenseFormItem>> | null;
4469
+ ExpenseFormItemCompanies: Array<Partial<ExpenseFormItem>> | null;
4470
+ ExpenseFormItemRequestingAgencies: Array<Partial<ExpenseFormItem>> | null;
4471
+ Id: number;
4472
+ IsExpired: boolean;
4473
+ JobRoles: Array<Partial<JobRole>> | null;
4474
+ LastModifiedDate: string;
4475
+ ManagementSystems: Array<Partial<ManagementSystem>> | null;
4476
+ Name: string | null;
4477
+ OwnerCompanies: Array<Partial<CompanyOwnership>> | null;
4478
+ PhoneNumbers: Array<Partial<PhoneNumber>> | null;
4479
+ Roles: Array<Partial<CompanyRole>> | null;
4480
+ Services: Array<Partial<ServiceToCompany>> | null;
4481
+ SignatureTemplateToCompanies: Array<Partial<SignatureTemplateToCompany>> | null;
4482
+ StartDate: string;
4483
+ Stationeries: Array<Partial<Stationery>> | null;
4484
+ TimelineTemplateToCompanies: Array<Partial<TimelineTemplateToCompany>> | null;
4485
+ }
4486
+
4487
4487
  export interface CompanyAddress extends Address {
4488
4488
  Company: Partial<Company> | null;
4489
4489
  CompanyId: number;
@@ -4501,6 +4501,16 @@ export interface CompanyRole extends Role {
4501
4501
  ClosureType: Partial<CompanyRoleClosureType> | null;
4502
4502
  Company: Partial<Company> | null;
4503
4503
  CompanyId: number;
4504
+ MergedWithCompanies: Array<Partial<MergerClosureType>> | null;
4505
+ }
4506
+
4507
+ export interface CompanyRoleClosureType {
4508
+ CompanyRole: Partial<CompanyRole> | null;
4509
+ Discriminator: string | null;
4510
+ Id: number;
4511
+ }
4512
+
4513
+ export interface CorporateDisposalClosureType extends CompanyRoleClosureType {
4504
4514
  }
4505
4515
 
4506
4516
  export interface CredentialActivationCode {
@@ -4512,6 +4522,9 @@ export interface CredentialActivationCode {
4512
4522
  StartDate: string;
4513
4523
  }
4514
4524
 
4525
+ export interface DisaffiliationClosureType extends CompanyRoleClosureType {
4526
+ }
4527
+
4515
4528
  export interface IDatabaseAttachment {
4516
4529
  CdnFileName: string | null;
4517
4530
  CreatedDate: string;
@@ -4545,6 +4558,11 @@ export interface LLCCompanyRole extends CompanyRole {
4545
4558
  FolderPath: string | null;
4546
4559
  }
4547
4560
 
4561
+ export interface MergerClosureType extends CompanyRoleClosureType {
4562
+ MergedWith: Partial<CompanyRole> | null;
4563
+ MergedWithId: number | null;
4564
+ }
4565
+
4548
4566
  export interface ProfilePictureAttachment extends Attachment {
4549
4567
  }
4550
4568
 
@@ -4757,6 +4775,13 @@ export enum TaskStatusType {
4757
4775
 
4758
4776
  export type TaskStatusTypeString = keyof typeof TaskStatusType;
4759
4777
 
4778
+ export enum TimelineStatusType {
4779
+ Inactive = 0,
4780
+ Active = 1
4781
+ }
4782
+
4783
+ export type TimelineStatusTypeString = keyof typeof TimelineStatusType;
4784
+
4760
4785
  export enum ActivityType {
4761
4786
  Appointment = 4201,
4762
4787
  Email = 4202,
@@ -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;AA2EzB,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,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;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,WAIX;AAJD,WAAY,WAAW;IACnB,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,qDAAY,CAAA;AAChB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB"}
1
+ {"version":3,"file":"oauth2.leavitt.com.js","sourceRoot":"","sources":["oauth2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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"}
@@ -77,6 +77,14 @@ export interface UserMetaData {
77
77
  PersonId: number;
78
78
  }
79
79
 
80
+ export enum AccountType {
81
+ Ldap = 0,
82
+ Okta = 1,
83
+ Standard = 2
84
+ }
85
+
86
+ export type AccountTypeString = keyof typeof AccountType;
87
+
80
88
  export enum GrantType {
81
89
  refresh_token = 0,
82
90
  token = 1,
@@ -87,6 +95,35 @@ export enum GrantType {
87
95
 
88
96
  export type GrantTypeString = keyof typeof GrantType;
89
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
+
90
127
  export enum SecondFactorType {
91
128
  none = 0,
92
129
  push = 1,
@@ -113,22 +150,3 @@ export enum TokenType {
113
150
 
114
151
  export type TokenTypeString = keyof typeof TokenType;
115
152
 
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
-
127
- export enum AccountType {
128
- Ldap = 0,
129
- Okta = 1,
130
- Standard = 2
131
- }
132
-
133
- export type AccountTypeString = keyof typeof AccountType;
134
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.440",
3
+ "version": "2.0.444",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [