@leavittsoftware/lg-core-typescript 2.0.397 → 2.0.401
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 +88 -0
- package/lg.net.core.js +126 -0
- package/lg.net.core.ts +4651 -0
- package/package.json +7 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// ----------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// generated using a custom program
|
|
4
|
+
// </auto-generated>
|
|
5
|
+
// ----------------------
|
|
6
|
+
import { ServiceToChampion,ServiceToCompany,Person,ConnectedStatusString } from './lg.net.core'
|
|
7
|
+
|
|
8
|
+
export interface UpsertConnectedServicesDto {
|
|
9
|
+
AssignToAllCompanies: boolean;
|
|
10
|
+
CategoryId: number;
|
|
11
|
+
Champions: Array<Partial<ServiceToChampion>> | null;
|
|
12
|
+
Companies: Array<Partial<ServiceToCompany>> | null;
|
|
13
|
+
Description: string | null;
|
|
14
|
+
Id: number | null;
|
|
15
|
+
IsActive: boolean;
|
|
16
|
+
Name: string | null;
|
|
17
|
+
ServiceCost: string | null;
|
|
18
|
+
ShowLicensing: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface AgencyPartnerDto {
|
|
22
|
+
FirstName: string | null;
|
|
23
|
+
Id: number;
|
|
24
|
+
LastName: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CompanyBreakdownDto {
|
|
28
|
+
AgencyPartnerId: number;
|
|
29
|
+
AgencyPartnerName: string | null;
|
|
30
|
+
CompanyId: number;
|
|
31
|
+
CompanyName: string | null;
|
|
32
|
+
ints: Array<number> | null;
|
|
33
|
+
People: Array<Partial<Person>> | null;
|
|
34
|
+
Person: Partial<Person> | null;
|
|
35
|
+
ServiceToCompanyId: number;
|
|
36
|
+
srtings: Array<string> | null;
|
|
37
|
+
Status: ConnectedStatusString;
|
|
38
|
+
UpdatedDate: string | null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface GetLicensingBreakdownByCompanyDto {
|
|
42
|
+
AgreementEndDate: string | null;
|
|
43
|
+
AgreementStartDate: string | null;
|
|
44
|
+
CompanyId: number;
|
|
45
|
+
CompanyName: string | null;
|
|
46
|
+
CostPerLicense: Partial<number> | null;
|
|
47
|
+
NumOfLicenses: number | null;
|
|
48
|
+
ServiceToCompanyId: number;
|
|
49
|
+
Status: ConnectedStatusString;
|
|
50
|
+
TotalCost: Partial<number> | null;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface GetServiceCompanyStatsDto {
|
|
54
|
+
AgencyPartners: Array<Partial<AgencyPartnerDto>> | null;
|
|
55
|
+
CompanyId: number;
|
|
56
|
+
CompanyName: string | null;
|
|
57
|
+
CompanyStartDate: string;
|
|
58
|
+
ServicesInUseCount: number;
|
|
59
|
+
ServicesNotDiscussedCount: number;
|
|
60
|
+
UpdatedDate: string | null;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface GetServiceStatsDto {
|
|
64
|
+
CategoryName: string | null;
|
|
65
|
+
Id: number;
|
|
66
|
+
Name: string | null;
|
|
67
|
+
NotDicussedCount: number;
|
|
68
|
+
NotInterestedCount: number;
|
|
69
|
+
UsingCount: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface ServiceToCompanyToChampionDto {
|
|
73
|
+
Id: number;
|
|
74
|
+
PersonId: number;
|
|
75
|
+
ServiceToCompanyId: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface UpsertServiceToCompanyDto {
|
|
79
|
+
Body: string | null;
|
|
80
|
+
CcCoOwners: boolean;
|
|
81
|
+
CcSelf: boolean;
|
|
82
|
+
Champions: Array<Partial<ServiceToCompanyToChampionDto>> | null;
|
|
83
|
+
DueDate: string | null;
|
|
84
|
+
SendEmail: boolean;
|
|
85
|
+
Status: ConnectedStatusString;
|
|
86
|
+
Subject: string | null;
|
|
87
|
+
}
|
|
88
|
+
|
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
|