@leavittsoftware/lg-core-typescript 2.0.436 → 2.0.439

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":""}
@@ -0,0 +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;AAoiJzB,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,CAAA;AACZ,CAAC,EAVW,eAAe,KAAf,eAAe,QAU1B;AAID,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,6DAAgB,CAAA;IAChB,mEAAmB,CAAA;IACnB,qEAAoB,CAAA;IACpB,iEAAkB,CAAA;AACt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ID,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,+DAAc,CAAA;IACd,+DAAc,CAAA;IACd,6DAAa,CAAA;AACjB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;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
@@ -956,15 +956,6 @@ export interface CompanyUltiProAccount {
956
956
  LastModifiedDate: string;
957
957
  }
958
958
 
959
- export interface CredentialActivationCode {
960
- Attempts: number;
961
- Code: string | null;
962
- ExpiredDate: string;
963
- Id: number;
964
- IsExpired: boolean | null;
965
- StartDate: string;
966
- }
967
-
968
959
  export interface Department {
969
960
  Company: Partial<Company> | null;
970
961
  CompanyId: number;
@@ -4347,12 +4338,18 @@ export interface Signature {
4347
4338
  Name: string | null;
4348
4339
  Person: Partial<Person> | null;
4349
4340
  PersonId: number;
4341
+ SignaturePhotoAttachment: Partial<SignaturePhotoAttachment> | null;
4342
+ SignaturePhotoAttachmentId: number | null;
4350
4343
  SignatureTemplate: Partial<SignatureTemplate> | null;
4351
4344
  SignatureTemplateId: number;
4352
4345
  SignatureValues: Array<Partial<SignatureValue>> | null;
4353
4346
  UpdatedDate: string | null;
4354
4347
  }
4355
4348
 
4349
+ export interface SignaturePhotoAttachment extends IDatabaseAttachment {
4350
+ Signature: Partial<Signature> | null;
4351
+ }
4352
+
4356
4353
  export interface SignatureTemplate {
4357
4354
  CreatedByPerson: Partial<Person> | null;
4358
4355
  CreatedByPersonId: number;
@@ -4383,7 +4380,7 @@ export interface SignatureValue {
4383
4380
  Id: number;
4384
4381
  Key: string | null;
4385
4382
  Signature: Partial<Signature> | null;
4386
- SignatureId: number | null;
4383
+ SignatureId: number;
4387
4384
  Value: string | null;
4388
4385
  }
4389
4386
 
@@ -4514,6 +4511,15 @@ export interface CompanyRole extends Role {
4514
4511
  CompanyId: number;
4515
4512
  }
4516
4513
 
4514
+ export interface CredentialActivationCode {
4515
+ Attempts: number;
4516
+ Code: string | null;
4517
+ ExpiredDate: string;
4518
+ Id: number;
4519
+ IsExpired: boolean | null;
4520
+ StartDate: string;
4521
+ }
4522
+
4517
4523
  export interface IDatabaseAttachment {
4518
4524
  CdnFileName: string | null;
4519
4525
  CreatedDate: string;
@@ -0,0 +1,51 @@
1
+ // ----------------------
2
+ // <auto-generated>
3
+ // generated using a custom program
4
+ // </auto-generated>
5
+ // ----------------------
6
+ export var GrantType;
7
+ (function (GrantType) {
8
+ GrantType[GrantType["refresh_token"] = 0] = "refresh_token";
9
+ GrantType[GrantType["token"] = 1] = "token";
10
+ GrantType[GrantType["password"] = 2] = "password";
11
+ GrantType[GrantType["client_credentials"] = 3] = "client_credentials";
12
+ GrantType[GrantType["authorization_code"] = 4] = "authorization_code";
13
+ })(GrantType || (GrantType = {}));
14
+ export var SecondFactorType;
15
+ (function (SecondFactorType) {
16
+ SecondFactorType[SecondFactorType["none"] = 0] = "none";
17
+ SecondFactorType[SecondFactorType["push"] = 1] = "push";
18
+ SecondFactorType[SecondFactorType["sms"] = 2] = "sms";
19
+ SecondFactorType[SecondFactorType["call"] = 3] = "call";
20
+ SecondFactorType[SecondFactorType["totp"] = 4] = "totp";
21
+ SecondFactorType[SecondFactorType["token"] = 5] = "token";
22
+ SecondFactorType[SecondFactorType["token_hardware"] = 6] = "token_hardware";
23
+ SecondFactorType[SecondFactorType["token_software"] = 7] = "token_software";
24
+ SecondFactorType[SecondFactorType["question"] = 8] = "question";
25
+ SecondFactorType[SecondFactorType["web"] = 9] = "web";
26
+ SecondFactorType[SecondFactorType["email"] = 10] = "email";
27
+ SecondFactorType[SecondFactorType["u2f"] = 11] = "u2f";
28
+ SecondFactorType[SecondFactorType["webauthn"] = 12] = "webauthn";
29
+ SecondFactorType[SecondFactorType["custom"] = 13] = "custom";
30
+ })(SecondFactorType || (SecondFactorType = {}));
31
+ export var TokenType;
32
+ (function (TokenType) {
33
+ TokenType[TokenType["bearer"] = 0] = "bearer";
34
+ TokenType[TokenType["mac"] = 1] = "mac";
35
+ })(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
+ //# sourceMappingURL=oauth2.leavitt.com.js.map
@@ -0,0 +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;AA2DzB,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"}
@@ -0,0 +1,118 @@
1
+ // ----------------------
2
+ // <auto-generated>
3
+ // generated using a custom program
4
+ // </auto-generated>
5
+ // ----------------------
6
+
7
+ export interface OAuthClientDto {
8
+ Id: number;
9
+ Name: string | null;
10
+ Scope: string | null;
11
+ }
12
+
13
+ export interface OauthRequest {
14
+ client_id: string | null;
15
+ client_secret: string | null;
16
+ }
17
+
18
+ export interface OauthTokenRequest {
19
+ claim_scopes: Array<string> | null;
20
+ client_id: string | null;
21
+ client_secret: string | null;
22
+ code: string | null;
23
+ grant_type: GrantTypeString;
24
+ password: string | null;
25
+ redirect_uri: string | null;
26
+ refresh_token: string | null;
27
+ second_factor_answer: string | null;
28
+ second_factor_id: string | null;
29
+ second_factor_type: SecondFactorTypeString | null;
30
+ send_challenge: boolean;
31
+ username: string | null;
32
+ }
33
+
34
+ export interface OauthTokenResponse {
35
+ access_token: string | null;
36
+ expires_in: number;
37
+ refresh_token: string | null;
38
+ token_type: TokenTypeString | null;
39
+ }
40
+
41
+ export interface ResetPasswordDto {
42
+ NewPassword: string | null;
43
+ ResetCode: string | null;
44
+ Username: string | null;
45
+ }
46
+
47
+ export interface SecondFactor {
48
+ display_data: string | null;
49
+ factor_id: string | null;
50
+ type: SecondFactorTypeString;
51
+ vendor_name: string | null;
52
+ }
53
+
54
+ export interface UserMetaData {
55
+ AccountStatus: OAuthAccountStatusString | null;
56
+ AccountType: AccountTypeString | null;
57
+ Factors: Array<Partial<SecondFactor>> | null;
58
+ HasActiveActivationCode: boolean;
59
+ HasActivePasswordResetCode: boolean;
60
+ HasActiveUnlockCode: boolean;
61
+ PersonId: number;
62
+ }
63
+
64
+ export enum GrantType {
65
+ refresh_token = 0,
66
+ token = 1,
67
+ password = 2,
68
+ client_credentials = 3,
69
+ authorization_code = 4
70
+ }
71
+
72
+ export type GrantTypeString = keyof typeof GrantType;
73
+
74
+ export enum SecondFactorType {
75
+ none = 0,
76
+ push = 1,
77
+ sms = 2,
78
+ call = 3,
79
+ totp = 4,
80
+ token = 5,
81
+ token_hardware = 6,
82
+ token_software = 7,
83
+ question = 8,
84
+ web = 9,
85
+ email = 10,
86
+ u2f = 11,
87
+ webauthn = 12,
88
+ custom = 13
89
+ }
90
+
91
+ export type SecondFactorTypeString = keyof typeof SecondFactorType;
92
+
93
+ export enum TokenType {
94
+ bearer = 0,
95
+ mac = 1
96
+ }
97
+
98
+ export type TokenTypeString = keyof typeof TokenType;
99
+
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.436",
3
+ "version": "2.0.439",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [
@@ -13,13 +13,16 @@
13
13
  "elasticsearch.js.map",
14
14
  "elasticsearch.js",
15
15
  "elasticsearch.ts",
16
+ "oauth2.leavitt.com.ts",
17
+ "oauth2.leavitt.com.js",
18
+ "oauth2.leavitt.com.js.map",
16
19
  "api2.leavitt.com.map",
17
20
  "api2.leavitt.com.js",
18
21
  "api2.leavitt.com.ts",
19
- "api3.leavitt.com.map",
22
+ "api3.leavitt.com.js.map",
20
23
  "api3.leavitt.com.js",
21
24
  "api3.leavitt.com.ts",
22
- "lg.net.core.map",
25
+ "lg.net.core.js.map",
23
26
  "lg.net.core.js",
24
27
  "lg.net.core.ts",
25
28
  "lg.ams360.datawarehouse.js.map",