@leavittsoftware/lg-core-typescript 2.0.399 → 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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=api3.leavitt.com.js.map
@@ -3,7 +3,7 @@
3
3
  // generated using a custom program
4
4
  // </auto-generated>
5
5
  // ----------------------
6
- import { ServiceToChampion,ServiceToCompany,Person,ConnectedStatusString } from './lg.net.core'
6
+ import { ServiceToChampion,ServiceToCompany,ConnectedStatusString } from './lg.net.core'
7
7
 
8
8
  export interface UpsertConnectedServicesDto {
9
9
  AssignToAllCompanies: boolean;
@@ -18,16 +18,18 @@ export interface UpsertConnectedServicesDto {
18
18
  ShowLicensing: boolean;
19
19
  }
20
20
 
21
+ export interface AgencyPartnerDto {
22
+ FirstName: string | null;
23
+ Id: number;
24
+ LastName: string | null;
25
+ }
26
+
21
27
  export interface CompanyBreakdownDto {
22
28
  AgencyPartnerId: number;
23
29
  AgencyPartnerName: string | null;
24
30
  CompanyId: number;
25
31
  CompanyName: string | null;
26
- ints: Array<number> | null;
27
- People: Array<Partial<Person>> | null;
28
- Person: Partial<Person> | null;
29
32
  ServiceToCompanyId: number;
30
- srtings: Array<string> | null;
31
33
  Status: ConnectedStatusString;
32
34
  UpdatedDate: string | null;
33
35
  }
@@ -44,6 +46,16 @@ export interface GetLicensingBreakdownByCompanyDto {
44
46
  TotalCost: Partial<number> | null;
45
47
  }
46
48
 
49
+ export interface GetServiceCompanyStatsDto {
50
+ AgencyPartners: Array<Partial<AgencyPartnerDto>> | null;
51
+ CompanyId: number;
52
+ CompanyName: string | null;
53
+ CompanyStartDate: string;
54
+ ServicesInUseCount: number;
55
+ ServicesNotDiscussedCount: number;
56
+ UpdatedDate: string | null;
57
+ }
58
+
47
59
  export interface GetServiceStatsDto {
48
60
  CategoryName: string | null;
49
61
  Id: number;
package/lg.net.core.js ADDED
@@ -0,0 +1,126 @@
1
+ // ----------------------
2
+ // <auto-generated>
3
+ // generated using a custom program
4
+ // </auto-generated>
5
+ // ----------------------
6
+ export var AddressType;
7
+ (function (AddressType) {
8
+ AddressType[AddressType["Business"] = 0] = "Business";
9
+ AddressType[AddressType["Home"] = 1] = "Home";
10
+ })(AddressType || (AddressType = {}));
11
+ export var CompanyNameType;
12
+ (function (CompanyNameType) {
13
+ CompanyNameType[CompanyNameType["HrCompanyName"] = 0] = "HrCompanyName";
14
+ CompanyNameType[CompanyNameType["HrCompanyDbaName"] = 1] = "HrCompanyDbaName";
15
+ CompanyNameType[CompanyNameType["Legal"] = 2] = "Legal";
16
+ CompanyNameType[CompanyNameType["Short"] = 3] = "Short";
17
+ CompanyNameType[CompanyNameType["Main"] = 4] = "Main";
18
+ })(CompanyNameType || (CompanyNameType = {}));
19
+ export var EmailAddressTypes;
20
+ (function (EmailAddressTypes) {
21
+ EmailAddressTypes[EmailAddressTypes["PrimaryWork"] = 0] = "PrimaryWork";
22
+ EmailAddressTypes[EmailAddressTypes["Personal"] = 2] = "Personal";
23
+ })(EmailAddressTypes || (EmailAddressTypes = {}));
24
+ export var PhoneNumberType;
25
+ (function (PhoneNumberType) {
26
+ PhoneNumberType[PhoneNumberType["HrCompanyMain"] = 0] = "HrCompanyMain";
27
+ PhoneNumberType[PhoneNumberType["HrCompanyFax"] = 1] = "HrCompanyFax";
28
+ PhoneNumberType[PhoneNumberType["HrCompanyOther"] = 3] = "HrCompanyOther";
29
+ PhoneNumberType[PhoneNumberType["HrCompanyAddressMain"] = 4] = "HrCompanyAddressMain";
30
+ PhoneNumberType[PhoneNumberType["HrCompanyAddressFax"] = 5] = "HrCompanyAddressFax";
31
+ PhoneNumberType[PhoneNumberType["PrimaryWork"] = 7] = "PrimaryWork";
32
+ PhoneNumberType[PhoneNumberType["PrimaryHome"] = 9] = "PrimaryHome";
33
+ PhoneNumberType[PhoneNumberType["Mobile"] = 11] = "Mobile";
34
+ PhoneNumberType[PhoneNumberType["Fax"] = 12] = "Fax";
35
+ })(PhoneNumberType || (PhoneNumberType = {}));
36
+ export var CrmAccountStage;
37
+ (function (CrmAccountStage) {
38
+ CrmAccountStage[CrmAccountStage["Lead"] = 100000000] = "Lead";
39
+ CrmAccountStage[CrmAccountStage["Suspect"] = 100000001] = "Suspect";
40
+ CrmAccountStage[CrmAccountStage["Prospect"] = 100000002] = "Prospect";
41
+ CrmAccountStage[CrmAccountStage["Client"] = 100000003] = "Client";
42
+ })(CrmAccountStage || (CrmAccountStage = {}));
43
+ export var CrmInstance;
44
+ (function (CrmInstance) {
45
+ CrmInstance[CrmInstance["Production"] = 0] = "Production";
46
+ CrmInstance[CrmInstance["Uat"] = 1] = "Uat";
47
+ CrmInstance[CrmInstance["Dev"] = 2] = "Dev";
48
+ })(CrmInstance || (CrmInstance = {}));
49
+ export var PreferredContactMethodType;
50
+ (function (PreferredContactMethodType) {
51
+ PreferredContactMethodType[PreferredContactMethodType["Any"] = 1] = "Any";
52
+ PreferredContactMethodType[PreferredContactMethodType["Email"] = 2] = "Email";
53
+ PreferredContactMethodType[PreferredContactMethodType["Phone"] = 3] = "Phone";
54
+ PreferredContactMethodType[PreferredContactMethodType["Fax"] = 4] = "Fax";
55
+ PreferredContactMethodType[PreferredContactMethodType["Mail"] = 5] = "Mail";
56
+ PreferredContactMethodType[PreferredContactMethodType["Text"] = 6] = "Text";
57
+ })(PreferredContactMethodType || (PreferredContactMethodType = {}));
58
+ export var StateCodeType;
59
+ (function (StateCodeType) {
60
+ StateCodeType[StateCodeType["Active"] = 0] = "Active";
61
+ StateCodeType[StateCodeType["Inactive"] = 1] = "Inactive";
62
+ })(StateCodeType || (StateCodeType = {}));
63
+ export var AccountStatusCodeType;
64
+ (function (AccountStatusCodeType) {
65
+ AccountStatusCodeType[AccountStatusCodeType["Active"] = 0] = "Active";
66
+ AccountStatusCodeType[AccountStatusCodeType["Inactive"] = 1] = "Inactive";
67
+ })(AccountStatusCodeType || (AccountStatusCodeType = {}));
68
+ export var NewOrRenewalType;
69
+ (function (NewOrRenewalType) {
70
+ NewOrRenewalType[NewOrRenewalType["New"] = 0] = "New";
71
+ NewOrRenewalType[NewOrRenewalType["Renewal"] = 1] = "Renewal";
72
+ })(NewOrRenewalType || (NewOrRenewalType = {}));
73
+ export var LandlordType;
74
+ (function (LandlordType) {
75
+ LandlordType[LandlordType["ThirdParty"] = 0] = "ThirdParty";
76
+ LandlordType[LandlordType["LLC"] = 1] = "LLC";
77
+ LandlordType[LandlordType["CoOwner"] = 2] = "CoOwner";
78
+ })(LandlordType || (LandlordType = {}));
79
+ export var LeaseType;
80
+ (function (LeaseType) {
81
+ LeaseType[LeaseType["Fixed"] = 0] = "Fixed";
82
+ LeaseType[LeaseType["MonthToMonth"] = 1] = "MonthToMonth";
83
+ })(LeaseType || (LeaseType = {}));
84
+ export var Seasons;
85
+ (function (Seasons) {
86
+ Seasons[Seasons["Spring"] = 0] = "Spring";
87
+ Seasons[Seasons["Winter"] = 1] = "Winter";
88
+ Seasons[Seasons["Summer"] = 2] = "Summer";
89
+ Seasons[Seasons["Fall"] = 3] = "Fall";
90
+ })(Seasons || (Seasons = {}));
91
+ export var ActivityType;
92
+ (function (ActivityType) {
93
+ ActivityType[ActivityType["Appointment"] = 4201] = "Appointment";
94
+ ActivityType[ActivityType["Email"] = 4202] = "Email";
95
+ ActivityType[ActivityType["Fax"] = 4204] = "Fax";
96
+ ActivityType[ActivityType["CaseResolution"] = 4206] = "CaseResolution";
97
+ ActivityType[ActivityType["Letter"] = 4207] = "Letter";
98
+ ActivityType[ActivityType["OpportunityClose"] = 4208] = "OpportunityClose";
99
+ ActivityType[ActivityType["OrderClose"] = 4209] = "OrderClose";
100
+ ActivityType[ActivityType["PhoneCall"] = 4210] = "PhoneCall";
101
+ ActivityType[ActivityType["QuoteClose"] = 4211] = "QuoteClose";
102
+ ActivityType[ActivityType["Task"] = 4212] = "Task";
103
+ ActivityType[ActivityType["ServiceActivity"] = 4214] = "ServiceActivity";
104
+ ActivityType[ActivityType["RecurringAppointment"] = 4251] = "RecurringAppointment";
105
+ ActivityType[ActivityType["CampaignResponse"] = 4401] = "CampaignResponse";
106
+ ActivityType[ActivityType["CampaignActivity"] = 4402] = "CampaignActivity";
107
+ ActivityType[ActivityType["BulkOperation"] = 4406] = "BulkOperation";
108
+ ActivityType[ActivityType["Converstaion"] = 10036] = "Converstaion";
109
+ ActivityType[ActivityType["PromotionalMail"] = 10037] = "PromotionalMail";
110
+ ActivityType[ActivityType["inMail"] = 10078] = "inMail";
111
+ ActivityType[ActivityType["Message"] = 10079] = "Message";
112
+ ActivityType[ActivityType["PointDrivePresentationCreated"] = 10080] = "PointDrivePresentationCreated";
113
+ ActivityType[ActivityType["PointDrivePresentationViewed"] = 10081] = "PointDrivePresentationViewed";
114
+ ActivityType[ActivityType["Surveyinvite"] = 10158] = "Surveyinvite";
115
+ ActivityType[ActivityType["Surveyresponse"] = 10159] = "Surveyresponse";
116
+ })(ActivityType || (ActivityType = {}));
117
+ export var ConnectedStatus;
118
+ (function (ConnectedStatus) {
119
+ ConnectedStatus[ConnectedStatus["NotDiscussed"] = 0] = "NotDiscussed";
120
+ ConnectedStatus[ConnectedStatus["ChampionMeeting"] = 1] = "ChampionMeeting";
121
+ ConnectedStatus[ConnectedStatus["Implementing"] = 2] = "Implementing";
122
+ ConnectedStatus[ConnectedStatus["Training"] = 3] = "Training";
123
+ ConnectedStatus[ConnectedStatus["Using"] = 4] = "Using";
124
+ ConnectedStatus[ConnectedStatus["NotInterested"] = 5] = "NotInterested";
125
+ })(ConnectedStatus || (ConnectedStatus = {}));
126
+ //# sourceMappingURL=lg.net.core.js.map
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;
@@ -872,6 +863,7 @@ export interface Company {
872
863
  Name: string | null;
873
864
  PhoneNumbers: Array<Partial<PhoneNumber>> | null;
874
865
  Roles: Array<Partial<CompanyRole>> | null;
866
+ Services: Array<Partial<ServiceToCompany>> | null;
875
867
  StartDate: string;
876
868
  Stationeries: Array<Partial<Stationery>> | null;
877
869
  TimelineTemplateToCompanies: Array<Partial<TimelineTemplateToCompany>> | null;
@@ -1027,21 +1019,13 @@ export interface FileExplorerAdminToPeopleGroup {
1027
1019
  StartDate: string;
1028
1020
  }
1029
1021
 
1030
- export interface FileExplorerAttachment {
1031
- CdnFileName: string | null;
1032
- CreatedDate: string;
1022
+ export interface FileExplorerAttachment extends IDatabaseAttachment {
1033
1023
  Creator: Partial<Person> | null;
1034
1024
  CreatorId: number;
1035
- Extension: string | null;
1036
1025
  FileExplorer: Partial<FileExplorer> | null;
1037
1026
  FileExplorerFolder: Partial<FileExplorerFolder> | null;
1038
1027
  FileExplorerFolderId: number | null;
1039
1028
  FileExplorerId: number;
1040
- Id: number;
1041
- Name: string | null;
1042
- PreviewExtension: string | null;
1043
- PreviewSizes: string | null;
1044
- Size: number;
1045
1029
  }
1046
1030
 
1047
1031
  export interface FileExplorerFolder {
@@ -4415,31 +4399,37 @@ export interface LLCCompanyRole extends CompanyRole {
4415
4399
  FolderPath: string | null;
4416
4400
  }
4417
4401
 
4418
- export interface ConnectedActivity extends IIdentity {
4402
+ export interface ProfilePictureAttachment extends Attachment {
4403
+ }
4404
+
4405
+ export interface ConnectedActivity {
4419
4406
  CreatedByPerson: Partial<Person> | null;
4420
4407
  CreatedByPersonId: number;
4421
4408
  CreatedDate: string;
4409
+ Id: number;
4422
4410
  ServiceToCompany: Partial<ServiceToCompany> | null;
4423
4411
  ServiceToCompanyId: number;
4424
4412
  }
4425
4413
 
4426
- export interface ConnectedService extends IIdentity {
4414
+ export interface ConnectedService {
4427
4415
  AssignToAllCompanies: boolean;
4428
4416
  Category: Partial<ConnectedServiceCategory> | null;
4429
4417
  CategoryId: number;
4430
4418
  Champions: Array<Partial<ServiceToChampion>> | null;
4431
4419
  Companies: Array<Partial<ServiceToCompany>> | null;
4432
4420
  Description: string | null;
4421
+ Id: number;
4433
4422
  IsActive: boolean;
4434
4423
  Name: string | null;
4435
4424
  ServiceCost: string | null;
4436
4425
  ShowLicensing: boolean;
4437
4426
  }
4438
4427
 
4439
- export interface ConnectedServiceCategory extends IIdentity {
4428
+ export interface ConnectedServiceCategory {
4440
4429
  CreatedBy: Partial<Person> | null;
4441
4430
  CreatedById: number;
4442
4431
  CreatedDate: string;
4432
+ Id: number;
4443
4433
  Name: string | null;
4444
4434
  Services: Array<Partial<ConnectedService>> | null;
4445
4435
  }
@@ -4448,15 +4438,16 @@ export interface NoteActivity extends ConnectedActivity {
4448
4438
  Note: string | null;
4449
4439
  }
4450
4440
 
4451
- export interface ServiceToChampion extends IIdentity {
4441
+ export interface ServiceToChampion {
4452
4442
  CreatedDate: string;
4443
+ Id: number;
4453
4444
  Person: Partial<Person> | null;
4454
4445
  PersonId: number;
4455
4446
  Service: Partial<ConnectedService> | null;
4456
4447
  ServiceId: number;
4457
4448
  }
4458
4449
 
4459
- export interface ServiceToCompany extends IIdentity {
4450
+ export interface ServiceToCompany {
4460
4451
  Activities: Array<Partial<ConnectedActivity>> | null;
4461
4452
  AgreementEndDate: string | null;
4462
4453
  AgreementStartDate: string | null;
@@ -4467,6 +4458,7 @@ export interface ServiceToCompany extends IIdentity {
4467
4458
  CreatedDate: string;
4468
4459
  Documents: Array<Partial<ServiceToCompanyAttachment>> | null;
4469
4460
  DueDate: string | null;
4461
+ Id: number;
4470
4462
  NumOfLicenses: number | null;
4471
4463
  Service: Partial<ConnectedService> | null;
4472
4464
  ServiceId: number;
@@ -4474,13 +4466,14 @@ export interface ServiceToCompany extends IIdentity {
4474
4466
  UpdatedDate: string | null;
4475
4467
  }
4476
4468
 
4477
- export interface ServiceToCompanyAttachment extends IIdentity, IDatabaseAttachment {
4469
+ export interface ServiceToCompanyAttachment extends IDatabaseAttachment {
4478
4470
  ServiceToCompany: Partial<ServiceToCompany> | null;
4479
4471
  ServiceToCompanyId: number;
4480
4472
  }
4481
4473
 
4482
- export interface ServiceToCompanyToChampion extends IIdentity {
4474
+ export interface ServiceToCompanyToChampion {
4483
4475
  CreatedDate: string;
4476
+ Id: number;
4484
4477
  Person: Partial<Person> | null;
4485
4478
  PersonId: number;
4486
4479
  ServiceToCompany: Partial<ServiceToCompany> | null;
@@ -4494,8 +4487,9 @@ export interface StatusChangedActivity extends ConnectedActivity {
4494
4487
  Status: ConnectedStatusString;
4495
4488
  }
4496
4489
 
4497
- export interface IIdentity {
4498
- Id: number;
4490
+ export interface ISynchronizable {
4491
+ CreatedDate: string;
4492
+ LastModifiedDate: string;
4499
4493
  }
4500
4494
 
4501
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.399",
3
+ "version": "2.0.403",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [