@leavittsoftware/lg-core-typescript 2.0.466 → 2.0.469

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 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAmYA,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":"AA+YA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -162,20 +162,21 @@ 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
- Fields: Array<string> | null;
175
- Filename: string | null;
170
+ Fields: Array<Partial<DocumentSearchFieldDto>> | null;
176
171
  Fragments: Array<string> | null;
177
172
  }
178
173
 
174
+ export interface DocumentSearchFieldDto {
175
+ Name: string | null;
176
+ Value: string | null;
177
+ ValueType: string | null;
178
+ }
179
+
179
180
  export interface DocumentTypeWithPermissions extends DocumentType {
180
181
  CanAdminAllCompanies: boolean;
181
182
  CanAdminOwnCompany: boolean;
@@ -385,6 +386,17 @@ export interface UpsertCompanyOwnershipDto {
385
386
  CompanyOwnerships: Array<Partial<CompanyOwnership>> | null;
386
387
  }
387
388
 
389
+ export interface IDatabaseAttachment {
390
+ CdnFileName: string | null;
391
+ CreatedDate: string;
392
+ Extension: string | null;
393
+ Id: number;
394
+ Name: string | null;
395
+ PreviewExtension: string | null;
396
+ PreviewSizes: string | null;
397
+ Size: number;
398
+ }
399
+
388
400
  export enum CompanyRoleType {
389
401
  LLCCompanyRole = 0,
390
402
  AgencyRole = 1,
package/lg.net.core.ts CHANGED
@@ -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.466",
3
+ "version": "2.0.469",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [