@leavittsoftware/lg-core-typescript 2.0.402 → 2.0.403

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.
Files changed (2) hide show
  1. package/lg.net.core.ts +21 -28
  2. package/package.json +1 -1
package/lg.net.core.ts CHANGED
@@ -747,10 +747,9 @@ export interface ApplicationToApplicationTag {
747
747
  Id: number;
748
748
  }
749
749
 
750
- export interface Attachment {
750
+ export interface Attachment extends ISynchronizable, IDatabaseAttachment {
751
751
  Applications: Array<Partial<Application>> | null;
752
752
  BusinessCardTemplates: Array<Partial<BusinessCardTemplate>> | null;
753
- CdnFileName: string | null;
754
753
  CLEnabled: boolean | null;
755
754
  CLGame: Partial<CLGame> | null;
756
755
  CLGameId: number | null;
@@ -761,7 +760,6 @@ export interface Attachment {
761
760
  Conference: Partial<Conference> | null;
762
761
  ConferenceId: number | null;
763
762
  CoverPageName: string | null;
764
- CreatedDate: string;
765
763
  DeletedByPerson: Partial<Person> | null;
766
764
  DeletedByPersonId: number | null;
767
765
  DeletedDate: string | null;
@@ -773,24 +771,20 @@ export interface Attachment {
773
771
  EndDate: string | null;
774
772
  Events: Array<Partial<Event>> | null;
775
773
  ExpenseFormItems: Array<Partial<ExpenseFormItem>> | null;
776
- Extension: string | null;
777
774
  Forum: Partial<Forum> | null;
778
775
  ForumFolder: Partial<Folder> | null;
779
776
  ForumFolderId: number | null;
780
777
  ForumId: number | null;
781
778
  GroupToAttachmentPermissions: Array<Partial<GroupToAttachmentPermission>> | null;
782
- Id: number;
783
779
  IsActive: boolean | null;
784
780
  IsDeleted: boolean | null;
785
781
  IsExpired: boolean | null;
786
782
  IsPinned: boolean | null;
787
- LastModifiedDate: string;
788
783
  LeaseId: number | null;
789
784
  Lesson: Partial<EducationLesson> | null;
790
785
  LessonId: number | null;
791
786
  Link: string | null;
792
787
  Messages: Array<Partial<Message>> | null;
793
- Name: string | null;
794
788
  News: Partial<Message> | null;
795
789
  NewsId: number | null;
796
790
  Owner: Partial<Person> | null;
@@ -802,10 +796,7 @@ export interface Attachment {
802
796
  PLGameTeams: Array<Partial<PLGameTeam>> | null;
803
797
  Post: Partial<Message> | null;
804
798
  PostId: number | null;
805
- PreviewExtension: string | null;
806
- PreviewSizes: string | null;
807
799
  Sequence: number | null;
808
- Size: number;
809
800
  Slides: Array<Partial<Slide>> | null;
810
801
  Sponsors: Array<Partial<Sponsor>> | null;
811
802
  StartDate: string | null;
@@ -1028,21 +1019,13 @@ export interface FileExplorerAdminToPeopleGroup {
1028
1019
  StartDate: string;
1029
1020
  }
1030
1021
 
1031
- export interface FileExplorerAttachment {
1032
- CdnFileName: string | null;
1033
- CreatedDate: string;
1022
+ export interface FileExplorerAttachment extends IDatabaseAttachment {
1034
1023
  Creator: Partial<Person> | null;
1035
1024
  CreatorId: number;
1036
- Extension: string | null;
1037
1025
  FileExplorer: Partial<FileExplorer> | null;
1038
1026
  FileExplorerFolder: Partial<FileExplorerFolder> | null;
1039
1027
  FileExplorerFolderId: number | null;
1040
1028
  FileExplorerId: number;
1041
- Id: number;
1042
- Name: string | null;
1043
- PreviewExtension: string | null;
1044
- PreviewSizes: string | null;
1045
- Size: number;
1046
1029
  }
1047
1030
 
1048
1031
  export interface FileExplorerFolder {
@@ -4416,31 +4399,37 @@ export interface LLCCompanyRole extends CompanyRole {
4416
4399
  FolderPath: string | null;
4417
4400
  }
4418
4401
 
4419
- export interface ConnectedActivity extends IIdentity {
4402
+ export interface ProfilePictureAttachment extends Attachment {
4403
+ }
4404
+
4405
+ export interface ConnectedActivity {
4420
4406
  CreatedByPerson: Partial<Person> | null;
4421
4407
  CreatedByPersonId: number;
4422
4408
  CreatedDate: string;
4409
+ Id: number;
4423
4410
  ServiceToCompany: Partial<ServiceToCompany> | null;
4424
4411
  ServiceToCompanyId: number;
4425
4412
  }
4426
4413
 
4427
- export interface ConnectedService extends IIdentity {
4414
+ export interface ConnectedService {
4428
4415
  AssignToAllCompanies: boolean;
4429
4416
  Category: Partial<ConnectedServiceCategory> | null;
4430
4417
  CategoryId: number;
4431
4418
  Champions: Array<Partial<ServiceToChampion>> | null;
4432
4419
  Companies: Array<Partial<ServiceToCompany>> | null;
4433
4420
  Description: string | null;
4421
+ Id: number;
4434
4422
  IsActive: boolean;
4435
4423
  Name: string | null;
4436
4424
  ServiceCost: string | null;
4437
4425
  ShowLicensing: boolean;
4438
4426
  }
4439
4427
 
4440
- export interface ConnectedServiceCategory extends IIdentity {
4428
+ export interface ConnectedServiceCategory {
4441
4429
  CreatedBy: Partial<Person> | null;
4442
4430
  CreatedById: number;
4443
4431
  CreatedDate: string;
4432
+ Id: number;
4444
4433
  Name: string | null;
4445
4434
  Services: Array<Partial<ConnectedService>> | null;
4446
4435
  }
@@ -4449,15 +4438,16 @@ export interface NoteActivity extends ConnectedActivity {
4449
4438
  Note: string | null;
4450
4439
  }
4451
4440
 
4452
- export interface ServiceToChampion extends IIdentity {
4441
+ export interface ServiceToChampion {
4453
4442
  CreatedDate: string;
4443
+ Id: number;
4454
4444
  Person: Partial<Person> | null;
4455
4445
  PersonId: number;
4456
4446
  Service: Partial<ConnectedService> | null;
4457
4447
  ServiceId: number;
4458
4448
  }
4459
4449
 
4460
- export interface ServiceToCompany extends IIdentity {
4450
+ export interface ServiceToCompany {
4461
4451
  Activities: Array<Partial<ConnectedActivity>> | null;
4462
4452
  AgreementEndDate: string | null;
4463
4453
  AgreementStartDate: string | null;
@@ -4468,6 +4458,7 @@ export interface ServiceToCompany extends IIdentity {
4468
4458
  CreatedDate: string;
4469
4459
  Documents: Array<Partial<ServiceToCompanyAttachment>> | null;
4470
4460
  DueDate: string | null;
4461
+ Id: number;
4471
4462
  NumOfLicenses: number | null;
4472
4463
  Service: Partial<ConnectedService> | null;
4473
4464
  ServiceId: number;
@@ -4475,13 +4466,14 @@ export interface ServiceToCompany extends IIdentity {
4475
4466
  UpdatedDate: string | null;
4476
4467
  }
4477
4468
 
4478
- export interface ServiceToCompanyAttachment extends IIdentity, IDatabaseAttachment {
4469
+ export interface ServiceToCompanyAttachment extends IDatabaseAttachment {
4479
4470
  ServiceToCompany: Partial<ServiceToCompany> | null;
4480
4471
  ServiceToCompanyId: number;
4481
4472
  }
4482
4473
 
4483
- export interface ServiceToCompanyToChampion extends IIdentity {
4474
+ export interface ServiceToCompanyToChampion {
4484
4475
  CreatedDate: string;
4476
+ Id: number;
4485
4477
  Person: Partial<Person> | null;
4486
4478
  PersonId: number;
4487
4479
  ServiceToCompany: Partial<ServiceToCompany> | null;
@@ -4495,8 +4487,9 @@ export interface StatusChangedActivity extends ConnectedActivity {
4495
4487
  Status: ConnectedStatusString;
4496
4488
  }
4497
4489
 
4498
- export interface IIdentity {
4499
- Id: number;
4490
+ export interface ISynchronizable {
4491
+ CreatedDate: string;
4492
+ LastModifiedDate: string;
4500
4493
  }
4501
4494
 
4502
4495
  export enum AddressType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.402",
3
+ "version": "2.0.403",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [