@leavittsoftware/lg-core-typescript 2.0.351 → 2.0.352
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/elasticsearch.js +0 -9
- package/elasticsearch.js.map +1 -1
- package/elasticsearch.ts +48 -30
- package/lg.core.repository.ts +30 -0
- package/package.json +1 -1
package/elasticsearch.js
CHANGED
|
@@ -9,15 +9,6 @@ export var AddressType;
|
|
|
9
9
|
AddressType[AddressType["Billing"] = 1] = "Billing";
|
|
10
10
|
AddressType[AddressType["Mailing"] = 2] = "Mailing";
|
|
11
11
|
})(AddressType || (AddressType = {}));
|
|
12
|
-
export var AccountType;
|
|
13
|
-
(function (AccountType) {
|
|
14
|
-
AccountType[AccountType["None_Selected"] = 0] = "None_Selected";
|
|
15
|
-
AccountType[AccountType["Client"] = 1] = "Client";
|
|
16
|
-
AccountType[AccountType["Informational"] = 2] = "Informational";
|
|
17
|
-
AccountType[AccountType["Marketing_Group"] = 3] = "Marketing_Group";
|
|
18
|
-
AccountType[AccountType["Other"] = 4] = "Other";
|
|
19
|
-
AccountType[AccountType["Prospect"] = 5] = "Prospect";
|
|
20
|
-
})(AccountType || (AccountType = {}));
|
|
21
12
|
export var PhoneType;
|
|
22
13
|
(function (PhoneType) {
|
|
23
14
|
PhoneType[PhoneType["None_Selected"] = 0] = "None_Selected";
|
package/elasticsearch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAiVzB,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,6CAAQ,CAAA;IACR,mDAAW,CAAA;IACX,mDAAW,CAAA;AACf,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAID,MAAM,CAAN,IAAY,SAWX;AAXD,WAAY,SAAS;IACjB,2DAAiB,CAAA;IACjB,mDAAa,CAAA;IACb,iEAAoB,CAAA;IACpB,uCAAO,CAAA;IACP,yCAAQ,CAAA;IACR,yCAAQ,CAAA;IACR,6CAAU,CAAA;IACV,2CAAS,CAAA;IACT,yCAAQ,CAAA;IACR,2CAAS,CAAA;AACb,CAAC,EAXW,SAAS,KAAT,SAAS,QAWpB;AAID,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,mEAAiB,CAAA;IACjB,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,uDAAW,CAAA;IACX,uDAAW,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB"}
|
package/elasticsearch.ts
CHANGED
|
@@ -15,49 +15,78 @@ export interface AccountAddress {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export interface BenefitPointCustomers {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Account: Partial<BenefitPointCustomer> | null;
|
|
19
|
+
DatabaseName: string | null;
|
|
20
20
|
DeletedDate: string | null;
|
|
21
|
-
LastVisitedBy: string | null;
|
|
22
21
|
UpdatedDate: string | null;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
export interface BenefitPointCustomer {
|
|
25
|
+
AccountId: number | null;
|
|
26
26
|
AccountName: string | null;
|
|
27
|
-
AccountType:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
AccountType: string | null;
|
|
28
|
+
Active: boolean;
|
|
29
|
+
Administrator: string | null;
|
|
30
|
+
BenefitManagementSystemName: string | null;
|
|
31
|
+
City: string | null;
|
|
32
|
+
CleanPhone: string | null;
|
|
32
33
|
Contacts: Array<Partial<Contact>> | null;
|
|
33
|
-
CoreCompanyId: number;
|
|
34
|
+
CoreCompanyId: number | null;
|
|
34
35
|
CoreCompanyName: string | null;
|
|
36
|
+
Country: string | null;
|
|
37
|
+
CreatedDate: string | null;
|
|
35
38
|
DatabaseName: string | null;
|
|
36
|
-
|
|
37
|
-
DeletedDate: string | null;
|
|
38
|
-
DepartmentId: number;
|
|
39
|
+
DepartmentId: number | null;
|
|
39
40
|
Id: string | null;
|
|
41
|
+
InactiveAsOf: string | null;
|
|
42
|
+
InactiveReason: string | null;
|
|
43
|
+
isPrimaryContactEmailValid: boolean;
|
|
44
|
+
LastModifiedDate: string | null;
|
|
45
|
+
MainAddress: string | null;
|
|
40
46
|
MarketSize: string | null;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
Naics: string | null;
|
|
48
|
+
NumberOfFtEs: number | null;
|
|
49
|
+
office: string | null;
|
|
50
|
+
Phone: string | null;
|
|
51
|
+
PhoneType: string | null;
|
|
52
|
+
primaryContactEmail: string | null;
|
|
53
|
+
primaryContactFirstName: string | null;
|
|
54
|
+
primaryContactLastName: string | null;
|
|
55
|
+
primaryContactName: string | null;
|
|
56
|
+
PrimaryContactTitle: string | null;
|
|
57
|
+
primarySalesLeadName: string | null;
|
|
58
|
+
primaryServiceLeadName: string | null;
|
|
46
59
|
Products: Array<Partial<Product>> | null;
|
|
60
|
+
State: string | null;
|
|
61
|
+
status: boolean;
|
|
62
|
+
Zip: string | null;
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
export interface Contact {
|
|
66
|
+
AccountId: string | null;
|
|
67
|
+
AccountName: string | null;
|
|
68
|
+
AdministratorUserName: string | null;
|
|
69
|
+
CompanyId: number | null;
|
|
70
|
+
CompanyName: string | null;
|
|
71
|
+
ContactId: string | null;
|
|
72
|
+
DatabaseName: string | null;
|
|
50
73
|
Email: string | null;
|
|
51
74
|
FirstName: string | null;
|
|
52
|
-
|
|
53
|
-
|
|
75
|
+
FullName: string | null;
|
|
76
|
+
HomePhone: string | null;
|
|
54
77
|
LastName: string | null;
|
|
78
|
+
MainPhone: string | null;
|
|
79
|
+
MobilePhone: string | null;
|
|
80
|
+
OfficeName: string | null;
|
|
55
81
|
Phones: Array<Partial<Phone>> | null;
|
|
82
|
+
Primary: boolean;
|
|
56
83
|
Title: string | null;
|
|
84
|
+
WorkPhone: string | null;
|
|
57
85
|
}
|
|
58
86
|
|
|
59
87
|
export interface Phone {
|
|
60
88
|
AreaCode: string | null;
|
|
89
|
+
CleanNumber: string | null;
|
|
61
90
|
Number: string | null;
|
|
62
91
|
PhoneType: PhoneTypeString;
|
|
63
92
|
}
|
|
@@ -318,17 +347,6 @@ export enum AddressType {
|
|
|
318
347
|
|
|
319
348
|
export type AddressTypeString = keyof typeof AddressType;
|
|
320
349
|
|
|
321
|
-
export enum AccountType {
|
|
322
|
-
None_Selected = 0,
|
|
323
|
-
Client = 1,
|
|
324
|
-
Informational = 2,
|
|
325
|
-
Marketing_Group = 3,
|
|
326
|
-
Other = 4,
|
|
327
|
-
Prospect = 5
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export type AccountTypeString = keyof typeof AccountType;
|
|
331
|
-
|
|
332
350
|
export enum PhoneType {
|
|
333
351
|
None_Selected = 0,
|
|
334
352
|
Assistant = 1,
|
package/lg.core.repository.ts
CHANGED
|
@@ -397,6 +397,36 @@ export interface FileExplorerMemberDto {
|
|
|
397
397
|
PersonId: number;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
+
export interface BenefitPointContactDto {
|
|
401
|
+
AccountId: string | null;
|
|
402
|
+
AccountName: string | null;
|
|
403
|
+
ContactFirstName: string | null;
|
|
404
|
+
ContactId: string | null;
|
|
405
|
+
ContactLastName: string | null;
|
|
406
|
+
ContactTitle: string | null;
|
|
407
|
+
Email: string | null;
|
|
408
|
+
FullName: string | null;
|
|
409
|
+
Phone: string | null;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface BenefitPointCustomerDto {
|
|
413
|
+
AccountAdministratorName: string | null;
|
|
414
|
+
AccountId: string | null;
|
|
415
|
+
AccountOwnerCompanyId: number | null;
|
|
416
|
+
AccountOwnerCompanyName: string | null;
|
|
417
|
+
City: string | null;
|
|
418
|
+
ContactFirstName: string | null;
|
|
419
|
+
ContactId: string | null;
|
|
420
|
+
ContactLastName: string | null;
|
|
421
|
+
ContactTitle: string | null;
|
|
422
|
+
Email: string | null;
|
|
423
|
+
Name: string | null;
|
|
424
|
+
Phone: string | null;
|
|
425
|
+
State: string | null;
|
|
426
|
+
Street1: string | null;
|
|
427
|
+
Zip: string | null;
|
|
428
|
+
}
|
|
429
|
+
|
|
400
430
|
export interface CallManagerCrmActivityDto {
|
|
401
431
|
CanEdit: boolean;
|
|
402
432
|
CoreId: number | null;
|