@leavittsoftware/lg-core-typescript 2.0.398 → 2.0.402
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/api3.leavitt.com.js +2 -0
- package/api3.leavitt.com.ts +17 -5
- package/lg.net.core.js +126 -0
- package/lg.net.core.ts +2 -0
- package/package.json +1 -1
package/api3.leavitt.com.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// generated using a custom program
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
// ----------------------
|
|
6
|
-
import { ServiceToChampion,ServiceToCompany,
|
|
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
|
@@ -872,6 +872,7 @@ export interface Company {
|
|
|
872
872
|
Name: string | null;
|
|
873
873
|
PhoneNumbers: Array<Partial<PhoneNumber>> | null;
|
|
874
874
|
Roles: Array<Partial<CompanyRole>> | null;
|
|
875
|
+
Services: Array<Partial<ServiceToCompany>> | null;
|
|
875
876
|
StartDate: string;
|
|
876
877
|
Stationeries: Array<Partial<Stationery>> | null;
|
|
877
878
|
TimelineTemplateToCompanies: Array<Partial<TimelineTemplateToCompany>> | null;
|
|
@@ -925,6 +926,7 @@ export interface CompanyOwnership {
|
|
|
925
926
|
}
|
|
926
927
|
|
|
927
928
|
export interface CompanyRoleClosureType {
|
|
929
|
+
CompanyRole: Partial<CompanyRole> | null;
|
|
928
930
|
Discriminator: string | null;
|
|
929
931
|
Id: number;
|
|
930
932
|
MergedWithId: number | null;
|