@leavittsoftware/lg-core-typescript 5.1427.0 → 5.1428.0

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/lg.net.core.ts CHANGED
@@ -2808,7 +2808,7 @@ export interface OnyxPolicyTypeMapping {
2808
2808
  }
2809
2809
 
2810
2810
  /**
2811
- * @deprecated Can be removed when fully switched to Auth0
2811
+ * @deprecated LGAuth Token issuance is retired. Can be dropped once no longer referenced.
2812
2812
  */
2813
2813
  export interface OAuthClient {
2814
2814
  ClientIdentifier?: string | null ;
@@ -2824,7 +2824,7 @@ export interface OAuthClient {
2824
2824
  }
2825
2825
 
2826
2826
  /**
2827
- * @deprecated Can be removed when fully switched to Auth0
2827
+ * @deprecated LGAuth Token issuance is retired. Can be dropped once no longer referenced.
2828
2828
  */
2829
2829
  export interface OAuthClientGrant {
2830
2830
  Code?: string | null ;
@@ -2839,7 +2839,7 @@ export interface OAuthClientGrant {
2839
2839
  }
2840
2840
 
2841
2841
  /**
2842
- * @deprecated Can be removed when fully switched to Auth0
2842
+ * @deprecated LGAuth Token issuance is retired. Can be dropped once no longer referenced.
2843
2843
  */
2844
2844
  export interface RefreshToken {
2845
2845
  AccessTokensIssued: number;
@@ -2865,7 +2865,7 @@ export interface RefreshToken {
2865
2865
  }
2866
2866
 
2867
2867
  /**
2868
- * @deprecated Can be removed when fully switched to Auth0
2868
+ * @deprecated Sign-in LogAccessTokenUse is retired. Can be dropped once no longer referenced.
2869
2869
  */
2870
2870
  export interface RefreshTokenIssuedSite {
2871
2871
  DateIssued: string;
@@ -3,75 +3,5 @@
3
3
  // generated using a custom program
4
4
  // </auto-generated>
5
5
  // ----------------------
6
- export var IssueAccessTokenError;
7
- (function (IssueAccessTokenError) {
8
- IssueAccessTokenError[IssueAccessTokenError["Unauthorized"] = 0] = "Unauthorized";
9
- })(IssueAccessTokenError || (IssueAccessTokenError = {}));
10
- export var IssueRefreshTokenError;
11
- (function (IssueRefreshTokenError) {
12
- IssueRefreshTokenError[IssueRefreshTokenError["InvalidClientIdentifier"] = 0] = "InvalidClientIdentifier";
13
- IssueRefreshTokenError[IssueRefreshTokenError["DatabaseError"] = 1] = "DatabaseError";
14
- })(IssueRefreshTokenError || (IssueRefreshTokenError = {}));
15
- export var OAuth2ErrorType;
16
- (function (OAuth2ErrorType) {
17
- OAuth2ErrorType[OAuth2ErrorType["invalid_request"] = 0] = "invalid_request";
18
- OAuth2ErrorType[OAuth2ErrorType["invalid_client"] = 1] = "invalid_client";
19
- OAuth2ErrorType[OAuth2ErrorType["invalid_grant"] = 2] = "invalid_grant";
20
- OAuth2ErrorType[OAuth2ErrorType["unauthorized_client"] = 3] = "unauthorized_client";
21
- OAuth2ErrorType[OAuth2ErrorType["access_denied"] = 4] = "access_denied";
22
- OAuth2ErrorType[OAuth2ErrorType["unsupported_response_type"] = 5] = "unsupported_response_type";
23
- OAuth2ErrorType[OAuth2ErrorType["invalid_scope"] = 6] = "invalid_scope";
24
- OAuth2ErrorType[OAuth2ErrorType["server_error"] = 7] = "server_error";
25
- OAuth2ErrorType[OAuth2ErrorType["temporarily_unavailable"] = 8] = "temporarily_unavailable";
26
- OAuth2ErrorType[OAuth2ErrorType["missing_factors"] = 9] = "missing_factors";
27
- OAuth2ErrorType[OAuth2ErrorType["account_locked"] = 10] = "account_locked";
28
- OAuth2ErrorType[OAuth2ErrorType["password_expired"] = 11] = "password_expired";
29
- OAuth2ErrorType[OAuth2ErrorType["unresolvable"] = 12] = "unresolvable";
30
- })(OAuth2ErrorType || (OAuth2ErrorType = {}));
31
- export var AccountType;
32
- (function (AccountType) {
33
- AccountType[AccountType["Ldap"] = 0] = "Ldap";
34
- AccountType[AccountType["Okta"] = 1] = "Okta";
35
- AccountType[AccountType["Standard"] = 2] = "Standard";
36
- })(AccountType || (AccountType = {}));
37
- export var GrantType;
38
- (function (GrantType) {
39
- GrantType[GrantType["refresh_token"] = 0] = "refresh_token";
40
- GrantType[GrantType["token"] = 1] = "token";
41
- GrantType[GrantType["password"] = 2] = "password";
42
- GrantType[GrantType["client_credentials"] = 3] = "client_credentials";
43
- GrantType[GrantType["authorization_code"] = 4] = "authorization_code";
44
- })(GrantType || (GrantType = {}));
45
- export var OAuthAccountStatus;
46
- (function (OAuthAccountStatus) {
47
- OAuthAccountStatus[OAuthAccountStatus["Locked"] = 0] = "Locked";
48
- OAuthAccountStatus[OAuthAccountStatus["Disabled"] = 1] = "Disabled";
49
- OAuthAccountStatus[OAuthAccountStatus["PasswordExpired"] = 2] = "PasswordExpired";
50
- OAuthAccountStatus[OAuthAccountStatus["Active"] = 3] = "Active";
51
- OAuthAccountStatus[OAuthAccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
52
- OAuthAccountStatus[OAuthAccountStatus["NotActivated"] = 20] = "NotActivated";
53
- })(OAuthAccountStatus || (OAuthAccountStatus = {}));
54
- export var SecondFactorType;
55
- (function (SecondFactorType) {
56
- SecondFactorType[SecondFactorType["none"] = 0] = "none";
57
- SecondFactorType[SecondFactorType["push"] = 1] = "push";
58
- SecondFactorType[SecondFactorType["sms"] = 2] = "sms";
59
- SecondFactorType[SecondFactorType["call"] = 3] = "call";
60
- SecondFactorType[SecondFactorType["totp"] = 4] = "totp";
61
- SecondFactorType[SecondFactorType["token"] = 5] = "token";
62
- SecondFactorType[SecondFactorType["token_hardware"] = 6] = "token_hardware";
63
- SecondFactorType[SecondFactorType["token_software"] = 7] = "token_software";
64
- SecondFactorType[SecondFactorType["question"] = 8] = "question";
65
- SecondFactorType[SecondFactorType["web"] = 9] = "web";
66
- SecondFactorType[SecondFactorType["email"] = 10] = "email";
67
- SecondFactorType[SecondFactorType["u2f"] = 11] = "u2f";
68
- SecondFactorType[SecondFactorType["webauthn"] = 12] = "webauthn";
69
- SecondFactorType[SecondFactorType["custom"] = 13] = "custom";
70
- SecondFactorType[SecondFactorType["signed_nonce"] = 14] = "signed_nonce";
71
- })(SecondFactorType || (SecondFactorType = {}));
72
- export var TokenType;
73
- (function (TokenType) {
74
- TokenType[TokenType["bearer"] = 0] = "bearer";
75
- TokenType[TokenType["mac"] = 1] = "mac";
76
- })(TokenType || (TokenType = {}));
6
+ export {};
77
7
  //# 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;AAqJzB,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,iFAAgB,CAAA;AACpB,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC;AAID,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,yGAA2B,CAAA;IAC3B,qFAAiB,CAAA;AACrB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;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,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,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,gBAgBX;AAhBD,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;IACX,wEAAiB,CAAA;AACrB,CAAC,EAhBW,gBAAgB,KAAhB,gBAAgB,QAgB3B;AAID,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,6CAAU,CAAA;IACV,uCAAO,CAAA;AACX,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
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"}
@@ -4,22 +4,6 @@
4
4
  // </auto-generated>
5
5
  // ----------------------
6
6
 
7
- export interface AccessTokenException {
8
- AccessTokenError: IssueAccessTokenErrorString;
9
- }
10
-
11
- export interface OAuth2Error {
12
- error_description?: string | null ;
13
- error_uri?: string | null ;
14
- metadata?: string | null ;
15
- state?: string | null ;
16
- error: OAuth2ErrorTypeString;
17
- }
18
-
19
- export interface RefreshTokenException {
20
- RefreshTokenError: IssueRefreshTokenErrorString;
21
- }
22
-
23
7
  export interface Auth0JWTDataRequestDto {
24
8
  CorePersonId: number;
25
9
  Email: string;
@@ -40,201 +24,3 @@ export interface Auth0JWTDataResponseDto {
40
24
  UniqueName?: string | null ;
41
25
  }
42
26
 
43
- export interface IpAddressLocation {
44
- asn?: string | null ;
45
- city?: string | null ;
46
- continent_code?: string | null ;
47
- country?: string | null ;
48
- country_area: number;
49
- country_calling_code?: string | null ;
50
- country_capital?: string | null ;
51
- country_code?: string | null ;
52
- country_code_iso3?: string | null ;
53
- country_name?: string | null ;
54
- country_population: number;
55
- country_tld?: string | null ;
56
- currency?: string | null ;
57
- currency_name?: string | null ;
58
- in_eu?: boolean;
59
- ip?: string | null ;
60
- languages?: string | null ;
61
- latitude: number;
62
- longitude: number;
63
- network?: string | null ;
64
- org?: string | null ;
65
- postal?: string | null ;
66
- region?: string | null ;
67
- region_code?: string | null ;
68
- timezone?: string | null ;
69
- utc_offset?: string | null ;
70
- version?: string | null ;
71
- }
72
-
73
- export interface LogAccessTokenUseDto {
74
- continueUrl?: string | null ;
75
- }
76
-
77
- export interface OAuthClientDto {
78
- Id: number;
79
- Name?: string | null ;
80
- Scope?: string | null ;
81
- }
82
-
83
- export interface OauthRequest {
84
- client_id: string;
85
- client_secret: string;
86
- }
87
-
88
- export interface OauthTokenRequest {
89
- claim_scopes: Array<string>;
90
- client_id?: string | null ;
91
- client_secret?: string | null ;
92
- code?: string | null ;
93
- grant_type: GrantTypeString;
94
- password?: string | null ;
95
- redirect_uri?: string | null ;
96
- refresh_token?: string | null ;
97
- second_factor_answer?: string | null ;
98
- second_factor_id?: string | null ;
99
- second_factor_state_token?: string | null ;
100
- second_factor_type?: SecondFactorTypeString | null ;
101
- send_challenge?: boolean;
102
- username?: string | null ;
103
- }
104
-
105
- export interface OauthTokenRequestForCallManager {
106
- claim_scopes: Array<string>;
107
- client_id?: string | null ;
108
- client_secret?: string | null ;
109
- code?: string | null ;
110
- grant_type: GrantTypeString;
111
- password?: string | null ;
112
- redirect_uri?: string | null ;
113
- refresh_token?: string | null ;
114
- second_factor_answer?: string | null ;
115
- second_factor_id?: string | null ;
116
- second_factor_type?: SecondFactorTypeString | null ;
117
- send_challenge?: boolean;
118
- username?: string | null ;
119
- }
120
-
121
- export interface OauthTokenResponse {
122
- access_token?: string | null ;
123
- expires_in: number;
124
- refresh_token?: string | null ;
125
- token_type?: TokenTypeString | null ;
126
- }
127
-
128
- export interface ResetPasswordDto {
129
- NewPassword: string;
130
- ResetCode: string;
131
- Username: string;
132
- }
133
-
134
- export interface SecondFactor {
135
- display_data?: string | null ;
136
- factor_id?: string | null ;
137
- type: SecondFactorTypeString;
138
- vendor_name?: string | null ;
139
- }
140
-
141
- export interface UserMetaData {
142
- AccountStatus?: OAuthAccountStatusString | null ;
143
- AccountType?: AccountTypeString | null ;
144
- Factors: Array<Partial<SecondFactor>>;
145
- FirstName?: string | null ;
146
- HasActiveActivationCode?: boolean;
147
- HasActivePasswordResetCode?: boolean;
148
- HasActiveUnlockCode?: boolean;
149
- PersonId: number;
150
- ProfilePictureCdnFileName?: string | null ;
151
- Username?: string | null ;
152
- }
153
-
154
- export enum IssueAccessTokenError {
155
- Unauthorized = 0
156
- }
157
-
158
- export type IssueAccessTokenErrorString = keyof typeof IssueAccessTokenError;
159
-
160
- export enum IssueRefreshTokenError {
161
- InvalidClientIdentifier = 0,
162
- DatabaseError = 1
163
- }
164
-
165
- export type IssueRefreshTokenErrorString = keyof typeof IssueRefreshTokenError;
166
-
167
- export enum OAuth2ErrorType {
168
- invalid_request = 0,
169
- invalid_client = 1,
170
- invalid_grant = 2,
171
- unauthorized_client = 3,
172
- access_denied = 4,
173
- unsupported_response_type = 5,
174
- invalid_scope = 6,
175
- server_error = 7,
176
- temporarily_unavailable = 8,
177
- missing_factors = 9,
178
- account_locked = 10,
179
- password_expired = 11,
180
- unresolvable = 12
181
- }
182
-
183
- export type OAuth2ErrorTypeString = keyof typeof OAuth2ErrorType;
184
-
185
- export enum AccountType {
186
- Ldap = 0,
187
- Okta = 1,
188
- Standard = 2
189
- }
190
-
191
- export type AccountTypeString = keyof typeof AccountType;
192
-
193
- export enum GrantType {
194
- refresh_token = 0,
195
- token = 1,
196
- password = 2,
197
- client_credentials = 3,
198
- authorization_code = 4
199
- }
200
-
201
- export type GrantTypeString = keyof typeof GrantType;
202
-
203
- export enum OAuthAccountStatus {
204
- Locked = 0,
205
- Disabled = 1,
206
- PasswordExpired = 2,
207
- Active = 3,
208
- NeverLoggedIn = 4,
209
- NotActivated = 20
210
- }
211
-
212
- export type OAuthAccountStatusString = keyof typeof OAuthAccountStatus;
213
-
214
- export enum SecondFactorType {
215
- none = 0,
216
- push = 1,
217
- sms = 2,
218
- call = 3,
219
- totp = 4,
220
- token = 5,
221
- token_hardware = 6,
222
- token_software = 7,
223
- question = 8,
224
- web = 9,
225
- email = 10,
226
- u2f = 11,
227
- webauthn = 12,
228
- custom = 13,
229
- signed_nonce = 14
230
- }
231
-
232
- export type SecondFactorTypeString = keyof typeof SecondFactorType;
233
-
234
- export enum TokenType {
235
- bearer = 0,
236
- mac = 1
237
- }
238
-
239
- export type TokenTypeString = keyof typeof TokenType;
240
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "5.1427.0",
3
+ "version": "5.1428.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.typescript.js",
6
6
  "files": [