@leavittsoftware/lg-core-typescript 2.0.467 → 2.0.470

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,3 +1,9 @@
1
+ export var SearchSource;
2
+ (function (SearchSource) {
3
+ SearchSource[SearchSource["BenefitPoint"] = 0] = "BenefitPoint";
4
+ SearchSource[SearchSource["AMS360"] = 1] = "AMS360";
5
+ SearchSource[SearchSource["CRM"] = 2] = "CRM";
6
+ })(SearchSource || (SearchSource = {}));
1
7
  export var CompanyRoleType;
2
8
  (function (CompanyRoleType) {
3
9
  CompanyRoleType[CompanyRoleType["LLCCompanyRole"] = 0] = "LLCCompanyRole";
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAwYA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAwaA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -162,23 +162,19 @@ export interface ReorderDocumentFieldsDto {
162
162
  Fields: Array<Partial<SequenceDto>> | null;
163
163
  }
164
164
 
165
- export interface DocumentSearchDto {
166
- CdnFileName: string | null;
165
+ export interface DocumentSearchDto extends IDatabaseAttachment {
167
166
  CompanyId: number | null;
168
167
  CompanyName: string | null;
169
- CreatedDate: string | null;
170
- DocumentId: number | null;
171
168
  DocumentTypeId: number | null;
172
169
  ElasticScore: number | null;
173
- Extension: string | null;
174
170
  Fields: Array<Partial<DocumentSearchFieldDto>> | null;
175
- Filename: string | null;
176
171
  Fragments: Array<string> | null;
177
172
  }
178
173
 
179
174
  export interface DocumentSearchFieldDto {
180
175
  Name: string | null;
181
176
  Value: string | null;
177
+ ValueType: string | null;
182
178
  }
183
179
 
184
180
  export interface DocumentTypeWithPermissions extends DocumentType {
@@ -193,6 +189,31 @@ export interface UpdateDocumentDto {
193
189
  UpdatedDocuments: Array<Partial<Document>> | null;
194
190
  }
195
191
 
192
+ export interface SearchDto {
193
+ AccountId: string | null;
194
+ AccountName: string | null;
195
+ Address1: string | null;
196
+ Address2: string | null;
197
+ AgencyId: number | null;
198
+ AgencyName: string | null;
199
+ City: string | null;
200
+ ContactFirstName: string | null;
201
+ ContactLastName: string | null;
202
+ ContactTitle: string | null;
203
+ ElasticScore: number | null;
204
+ Email: string | null;
205
+ MainPhone: string | null;
206
+ PolicyNumbers: Array<string> | null;
207
+ ProducerId: number | null;
208
+ ProducerName: string | null;
209
+ ProducerPhone: string | null;
210
+ Source: SearchSourceString;
211
+ State: string | null;
212
+ Title: string | null;
213
+ Type: string | null;
214
+ Zip: string | null;
215
+ }
216
+
196
217
  export interface GetOverallServiceUsageDto {
197
218
  ImplementationSuccessRate: Partial<number>;
198
219
  ServicesImplemented: number;
@@ -390,6 +411,25 @@ export interface UpsertCompanyOwnershipDto {
390
411
  CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
391
412
  }
392
413
 
414
+ export interface IDatabaseAttachment {
415
+ CdnFileName: string | null;
416
+ CreatedDate: string;
417
+ Extension: string | null;
418
+ Id: number;
419
+ Name: string | null;
420
+ PreviewExtension: string | null;
421
+ PreviewSizes: string | null;
422
+ Size: number;
423
+ }
424
+
425
+ export enum SearchSource {
426
+ BenefitPoint = 0,
427
+ AMS360 = 1,
428
+ CRM = 2
429
+ }
430
+
431
+ export type SearchSourceString = keyof typeof SearchSource;
432
+
393
433
  export enum CompanyRoleType {
394
434
  LLCCompanyRole = 0,
395
435
  AgencyRole = 1,
package/lg.net.core.ts CHANGED
@@ -1551,9 +1551,9 @@ export interface Ams360GlGroupCode {
1551
1551
  export interface Ams360Instance {
1552
1552
  Ams360InstanceToGlDivisionCodes: Array<Partial<Ams360InstanceToGlDivisionCode>> | null;
1553
1553
  Ams360SupplementalCodes: Array<Partial<Ams360SupplementalCode>> | null;
1554
+ Company: Partial<Company> | null;
1554
1555
  EndDate: string | null;
1555
1556
  Id: number;
1556
- IdNavigation: Partial<Company> | null;
1557
1557
  IsExpired: boolean | null;
1558
1558
  Roles: Array<Partial<Role>> | null;
1559
1559
  StartDate: string;
@@ -2952,9 +2952,6 @@ export interface Company {
2952
2952
  AgencyProductionBudgets: Array<Partial<AgencyProductionBudget>> | null;
2953
2953
  Ams360Instance: Partial<Ams360Instance> | null;
2954
2954
  BookOfBusinessChanges: Array<Partial<BookOfBusinessChange>> | null;
2955
- CompanyDivisions: Array<Partial<CompanyDivision>> | null;
2956
- CompanyLogos: Array<Partial<CompanyLogo>> | null;
2957
- CompanyNames: Array<Partial<CompanyName>> | null;
2958
2955
  CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
2959
2956
  CompanyTeams: Array<Partial<CompanyTeam>> | null;
2960
2957
  CompanyUhcCode: Partial<CompanyUhcCode> | null;
@@ -2962,6 +2959,7 @@ export interface Company {
2962
2959
  CreatedDate: string;
2963
2960
  CReportComments: Array<Partial<CReportComment>> | null;
2964
2961
  Departments: Array<Partial<Department>> | null;
2962
+ Divisions: Array<Partial<CompanyDivision>> | null;
2965
2963
  Documents: Array<Partial<Document>> | null;
2966
2964
  EloquaSyncLogEntry: Partial<EloquaSyncLogEntry> | null;
2967
2965
  EmailAddresses: Array<Partial<CompanyEmailAddress>> | null;
@@ -2973,8 +2971,10 @@ export interface Company {
2973
2971
  IsExpired: boolean | null;
2974
2972
  JobRoles: Array<Partial<JobRole>> | null;
2975
2973
  LastModifiedDate: string;
2974
+ Logos: Array<Partial<CompanyLogo>> | null;
2976
2975
  ManagementSystems: Array<Partial<ManagementSystem>> | null;
2977
2976
  Name: string | null;
2977
+ Names: Array<Partial<CompanyName>> | null;
2978
2978
  OwnerCompanies: Array<Partial<CompanyOwnership>> | null;
2979
2979
  PhoneNumbers: Array<Partial<PhoneNumber>> | null;
2980
2980
  Roles: Array<Partial<CompanyRole>> | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.467",
3
+ "version": "2.0.470",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [