@leavittsoftware/lg-core-typescript 2.0.351 → 2.0.355

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 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";
@@ -1 +1 @@
1
- {"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAoTzB,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,WAOX;AAPD,WAAY,WAAW;IACnB,+DAAiB,CAAA;IACjB,iDAAU,CAAA;IACV,+DAAiB,CAAA;IACjB,mEAAmB,CAAA;IACnB,+CAAS,CAAA;IACT,qDAAY,CAAA;AAChB,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;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"}
1
+ {"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAkVzB,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,79 @@ export interface AccountAddress {
15
15
  }
16
16
 
17
17
  export interface BenefitPointCustomers {
18
- Customer: Partial<BenefitPointCustomer> | null;
19
- Database: string | null;
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: AccountTypeString;
28
- Addresses: Array<Partial<AccountAddress>> | null;
29
- AdministratorUserId: number;
30
- BudgetedTotalAnnualPremium: Partial<number>;
31
- BudgetedTotalAnnualRevenue: Partial<number>;
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
- Dba: string | null;
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
- NaicsCode: string | null;
42
- OfficeName: string | null;
43
- PrimaryContactUserId: number;
44
- PrimarySalesLeadUserId: number;
45
- PrimaryServiceLeadUserId: number;
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
- IsEmailValid: boolean;
53
- IsPrimary: boolean;
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
+ Type: string | null;
85
+ WorkPhone: string | null;
57
86
  }
58
87
 
59
88
  export interface Phone {
60
89
  AreaCode: string | null;
90
+ CleanNumber: string | null;
61
91
  Number: string | null;
62
92
  PhoneType: PhoneTypeString;
63
93
  }
@@ -318,17 +348,6 @@ export enum AddressType {
318
348
 
319
349
  export type AddressTypeString = keyof typeof AddressType;
320
350
 
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
351
  export enum PhoneType {
333
352
  None_Selected = 0,
334
353
  Assistant = 1,
@@ -397,6 +397,42 @@ 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
+ ElasticScore: number | null;
408
+ Email: string | null;
409
+ FullName: string | null;
410
+ HomePhone: string | null;
411
+ MainPhone: string | null;
412
+ MobilePhone: string | null;
413
+ Type: string | null;
414
+ WorkPhone: string | null;
415
+ }
416
+
417
+ export interface BenefitPointCustomerDto {
418
+ AccountAdministratorName: string | null;
419
+ AccountId: string | null;
420
+ AccountOwnerCompanyId: number | null;
421
+ AccountOwnerCompanyName: string | null;
422
+ City: string | null;
423
+ ContactFirstName: string | null;
424
+ ContactId: string | null;
425
+ ContactLastName: string | null;
426
+ ContactTitle: string | null;
427
+ ElasticScore: number | null;
428
+ Email: string | null;
429
+ Name: string | null;
430
+ Phone: string | null;
431
+ State: string | null;
432
+ Street1: string | null;
433
+ Zip: string | null;
434
+ }
435
+
400
436
  export interface CallManagerCrmActivityDto {
401
437
  CanEdit: boolean;
402
438
  CoreId: number | null;
@@ -425,6 +461,7 @@ export interface CallManagerCrmPhoneNumberDto {
425
461
  ContactFirstName: string | null;
426
462
  ContactLastName: string | null;
427
463
  ContactTitle: string | null;
464
+ ElasticScore: number | null;
428
465
  Email: string | null;
429
466
  Id: number;
430
467
  Name: string | null;
@@ -435,6 +472,7 @@ export interface CallManagerCrmPhoneNumberDto {
435
472
 
436
473
  export interface CallManagerCompanySearchDto {
437
474
  CompanyId: number;
475
+ ElasticScore: number | null;
438
476
  Name: string | null;
439
477
  Phone: string | null;
440
478
  ShortName: string | null;
@@ -445,6 +483,7 @@ export interface CrmSearchDto {
445
483
  ContactFirstName: string | null;
446
484
  ContactLastName: string | null;
447
485
  ContactTitle: string | null;
486
+ ElasticScore: number | null;
448
487
  IsContact: boolean;
449
488
  Name: string | null;
450
489
  Phone: string | null;
@@ -454,6 +493,7 @@ export interface CrmSearchDto {
454
493
  export interface AmsClientSearchDto {
455
494
  AgencyName: string | null;
456
495
  CompanyName: string | null;
496
+ ElasticScore: number | null;
457
497
  FirstName: string | null;
458
498
  HomePhone: string | null;
459
499
  LastName: string | null;
@@ -478,6 +518,7 @@ export interface CallManagerAmsClientPhoneNumberDto {
478
518
  AgencyName: string | null;
479
519
  City: string | null;
480
520
  CompanyName: string | null;
521
+ ElasticScore: number | null;
481
522
  Email: string | null;
482
523
  FirstName: string | null;
483
524
  LastName: string | null;
@@ -491,6 +532,7 @@ export interface CallManagerAmsClientPhoneNumberDto {
491
532
  export interface CallManagerEmployeePhoneNumberDto {
492
533
  City: string | null;
493
534
  CompanyName: string | null;
535
+ ElasticScore: number | null;
494
536
  Email: string | null;
495
537
  FirstName: string | null;
496
538
  LastName: string | null;
@@ -503,6 +545,7 @@ export interface CallManagerEmployeePhoneNumberDto {
503
545
 
504
546
  export interface CallManagerEmployeeDto {
505
547
  CompanyName: string | null;
548
+ ElasticScore: number | null;
506
549
  Extension: string | null;
507
550
  FirstName: string | null;
508
551
  HomePhone: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.351",
3
+ "version": "2.0.355",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [