@leavittsoftware/lg-core-typescript 2.0.340 → 2.0.344

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.
@@ -6,56 +6,6 @@ export var AccountStatus;
6
6
  AccountStatus[AccountStatus["Active"] = 3] = "Active";
7
7
  AccountStatus[AccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
8
8
  })(AccountStatus || (AccountStatus = {}));
9
- export var HttpStatusCode;
10
- (function (HttpStatusCode) {
11
- HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
12
- HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
13
- HttpStatusCode[HttpStatusCode["OK"] = 200] = "OK";
14
- HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
15
- HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
16
- HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
17
- HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
18
- HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
19
- HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
20
- HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
21
- HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
22
- HttpStatusCode[HttpStatusCode["Redirect"] = 302] = "Redirect";
23
- HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
24
- HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
25
- HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
26
- HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
27
- HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
28
- HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
29
- HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
30
- HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
31
- HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
32
- HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
33
- HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
34
- HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
35
- HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
36
- HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
37
- HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
38
- HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
39
- HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
40
- HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
41
- HttpStatusCode[HttpStatusCode["RequestEntityTooLarge"] = 413] = "RequestEntityTooLarge";
42
- HttpStatusCode[HttpStatusCode["RequestUriTooLong"] = 414] = "RequestUriTooLong";
43
- HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
44
- HttpStatusCode[HttpStatusCode["RequestedRangeNotSatisfiable"] = 416] = "RequestedRangeNotSatisfiable";
45
- HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
46
- HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
47
- HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
48
- HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
49
- HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
50
- HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
51
- HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
52
- HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
53
- })(HttpStatusCode || (HttpStatusCode = {}));
54
- export var AgencyInvestmentType;
55
- (function (AgencyInvestmentType) {
56
- AgencyInvestmentType[AgencyInvestmentType["Minimum"] = 0] = "Minimum";
57
- AgencyInvestmentType[AgencyInvestmentType["Goal"] = 1] = "Goal";
58
- })(AgencyInvestmentType || (AgencyInvestmentType = {}));
59
9
  export var ConferenceRegistrationStatus;
60
10
  (function (ConferenceRegistrationStatus) {
61
11
  ConferenceRegistrationStatus[ConferenceRegistrationStatus["Open"] = 0] = "Open";
@@ -142,6 +92,56 @@ export var AddressTypes;
142
92
  AddressTypes[AddressTypes["Business"] = 0] = "Business";
143
93
  AddressTypes[AddressTypes["Home"] = 1] = "Home";
144
94
  })(AddressTypes || (AddressTypes = {}));
95
+ export var HttpStatusCode;
96
+ (function (HttpStatusCode) {
97
+ HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
98
+ HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
99
+ HttpStatusCode[HttpStatusCode["OK"] = 200] = "OK";
100
+ HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
101
+ HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
102
+ HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
103
+ HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
104
+ HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
105
+ HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
106
+ HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
107
+ HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
108
+ HttpStatusCode[HttpStatusCode["Redirect"] = 302] = "Redirect";
109
+ HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
110
+ HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
111
+ HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
112
+ HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
113
+ HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
114
+ HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
115
+ HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
116
+ HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
117
+ HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
118
+ HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
119
+ HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
120
+ HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
121
+ HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
122
+ HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
123
+ HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
124
+ HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
125
+ HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
126
+ HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
127
+ HttpStatusCode[HttpStatusCode["RequestEntityTooLarge"] = 413] = "RequestEntityTooLarge";
128
+ HttpStatusCode[HttpStatusCode["RequestUriTooLong"] = 414] = "RequestUriTooLong";
129
+ HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
130
+ HttpStatusCode[HttpStatusCode["RequestedRangeNotSatisfiable"] = 416] = "RequestedRangeNotSatisfiable";
131
+ HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
132
+ HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
133
+ HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
134
+ HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
135
+ HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
136
+ HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
137
+ HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
138
+ HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
139
+ })(HttpStatusCode || (HttpStatusCode = {}));
140
+ export var AgencyInvestmentType;
141
+ (function (AgencyInvestmentType) {
142
+ AgencyInvestmentType[AgencyInvestmentType["Minimum"] = 0] = "Minimum";
143
+ AgencyInvestmentType[AgencyInvestmentType["Goal"] = 1] = "Goal";
144
+ })(AgencyInvestmentType || (AgencyInvestmentType = {}));
145
145
  export var LessonAttemptStatus;
146
146
  (function (LessonAttemptStatus) {
147
147
  LessonAttemptStatus[LessonAttemptStatus["Pass"] = 0] = "Pass";
@@ -4,7 +4,7 @@
4
4
  // </auto-generated>
5
5
  // ----------------------
6
6
  import { BenefitPointCustomer,Ams360Customer } from './elasticsearch'
7
- import { Ams360PersonRole,Ams360SupplementalCode,Ams360EmpCode,EmploymentTypeString,Person,CrmAccount,Tv,FailReason,ProducerCommissionRate,PreferredContactMethodTypeString,ConferenceAttendeePersonRole,Conference,ConferenceSponsorship,PhoneNumberTypesString,CompanyOwnership,TemplateContact,TimelineContact,GlobalTask,TemplateTask,TemplateServiceTask,TimelineDocumentPage,TimelineServiceTask,TimelineEnabledPage,TimelineTaskToTimelineContactAssignee,TaskReminder,TaskStatusTypeString,TimelineTaskToTimelineContactWatcher,TemplateTaskToTemplateContactAssignee,TemplateTaskToTemplateContactWatcher,TimelineTemplateToCompany,PersonToItManagedApplication,ApplicationToApplicationTag,PermissionToApplication } from './lg.core'
7
+ import { Ams360PersonRole,Ams360SupplementalCode,Ams360EmpCode,EmploymentTypeString,Person,CrmAccount,Tv,PreferredContactMethodTypeString,ConferenceAttendeePersonRole,Conference,ConferenceSponsorship,PhoneNumberTypesString,CompanyOwnership,TemplateContact,TimelineContact,GlobalTask,TemplateTask,TemplateServiceTask,TimelineDocumentPage,TimelineServiceTask,TimelineEnabledPage,TimelineTaskToTimelineContactAssignee,TaskReminder,TaskStatusTypeString,TimelineTaskToTimelineContactWatcher,TemplateTaskToTemplateContactAssignee,TemplateTaskToTemplateContactWatcher,TimelineTemplateToCompany,PersonToItManagedApplication,ApplicationToApplicationTag,PermissionToApplication,DifferedCompensation,Expectation,FailReason,ProducerCommissionRate } from './lg.core'
8
8
 
9
9
  export interface EventEmailDto {
10
10
  Body: string | null;
@@ -568,72 +568,6 @@ export interface PhonesCrashReportDto {
568
568
  Version: string | null;
569
569
  }
570
570
 
571
- export interface AgencyProfitabilityReportDto {
572
- AgencyProfitabilityPercentage: number;
573
- AgencyProfitabilityValue: number;
574
- Year: number;
575
- }
576
-
577
- export interface CriteriaStatus {
578
- FailReasons: Array<Partial<FailReason>> | null;
579
- ReturnReason: string | null;
580
- ReturnStatus: HttpStatusCodeString;
581
- }
582
-
583
- export interface MinimumSalesExpectationReportDto {
584
- AnnualizedBooked: number;
585
- Date: string;
586
- QFAs: number;
587
- Written: number;
588
- }
589
-
590
- export interface NuppReportDto {
591
- DrawsAfterMonth43: Array<string> | null;
592
- ExpectationStartDate: string;
593
- SalesExpectationId: number;
594
- SubsidyAfterMonth49: Array<string> | null;
595
- Year4StandardCommissionsX2: number;
596
- YearNuppTotals: Array<number> | null;
597
- }
598
-
599
- export interface ProducerInvestmentReportDto {
600
- BookOfBusiness: number;
601
- CumulativeProfit: number;
602
- CumulativeProfitMargin: number;
603
- EstAnnualProfit: number;
604
- LessAcquisitionCost: number;
605
- }
606
-
607
- export interface ProducerOpportunityReportDto {
608
- NewWrittenCommissionsGoal: number;
609
- NewWrittenCommissionsMinimum: number;
610
- QFAsMonthlyMinimum: number;
611
- }
612
-
613
- export interface ProducerOpportunityReportValueDto {
614
- DeferredCompensation: number;
615
- Draw: number;
616
- NewCommission: number;
617
- RenewalCommission: number;
618
- RenewalCommissionAssignedBook: number;
619
- Subsidy: number;
620
- TotalIncome: number;
621
- TotalProducerOpportnityValue: number;
622
- }
623
-
624
- export interface CommissionRateDto {
625
- ProducerCommissionRate: Partial<ProducerCommissionRate> | null;
626
- ReplacementId: number | null;
627
- }
628
-
629
- export interface AgencyInvestmentReportDto {
630
- LessAcquisitionCost: number;
631
- LessDeferredCompLiability: number;
632
- NetAsset: number;
633
- OrganicAssetValue: number;
634
- Type: AgencyInvestmentTypeString;
635
- }
636
-
637
571
  export interface MarketingBenefitPointCustomerDto extends BenefitPointCustomer {
638
572
  IsMaster: boolean;
639
573
  }
@@ -1274,6 +1208,93 @@ export interface LssApplicationUpsertDto {
1274
1208
  URL: string | null;
1275
1209
  }
1276
1210
 
1211
+ export interface UnassignedProducerDTO {
1212
+ AgencyId: number | null;
1213
+ AgencyName: string | null;
1214
+ AgencyPartner: Partial<Person> | null;
1215
+ Producer: Partial<Person> | null;
1216
+ ProducerId: number;
1217
+ }
1218
+
1219
+ export interface OfferLetterDataDto {
1220
+ CoOwnerName: string | null;
1221
+ CoOwnerTitle: string | null;
1222
+ DifferedCompensation: Partial<DifferedCompensation> | null;
1223
+ Expectations: Array<Partial<Expectation>> | null;
1224
+ FirstName: string | null;
1225
+ HireDate: string | null;
1226
+ HiringCompanyName: string | null;
1227
+ LastName: string | null;
1228
+ PersonId: number;
1229
+ TravelExpense: number | null;
1230
+ }
1231
+
1232
+ export interface AgencyProfitabilityReportDto {
1233
+ AgencyProfitabilityPercentage: number;
1234
+ AgencyProfitabilityValue: number;
1235
+ Year: number;
1236
+ }
1237
+
1238
+ export interface CriteriaStatus {
1239
+ FailReasons: Array<Partial<FailReason>> | null;
1240
+ ReturnReason: string | null;
1241
+ ReturnStatus: HttpStatusCodeString;
1242
+ }
1243
+
1244
+ export interface MinimumSalesExpectationReportDto {
1245
+ AnnualizedBooked: number;
1246
+ Date: string;
1247
+ QFAs: number;
1248
+ Written: number;
1249
+ }
1250
+
1251
+ export interface NuppReportDto {
1252
+ DrawsAfterMonth43: Array<string> | null;
1253
+ ExpectationStartDate: string;
1254
+ SalesExpectationId: number;
1255
+ SubsidyAfterMonth49: Array<string> | null;
1256
+ Year4StandardCommissionsX2: number;
1257
+ YearNuppTotals: Array<number> | null;
1258
+ }
1259
+
1260
+ export interface ProducerInvestmentReportDto {
1261
+ BookOfBusiness: number;
1262
+ CumulativeProfit: number;
1263
+ CumulativeProfitMargin: number;
1264
+ EstAnnualProfit: number;
1265
+ LessAcquisitionCost: number;
1266
+ }
1267
+
1268
+ export interface ProducerOpportunityReportDto {
1269
+ NewWrittenCommissionsGoal: number;
1270
+ NewWrittenCommissionsMinimum: number;
1271
+ QFAsMonthlyMinimum: number;
1272
+ }
1273
+
1274
+ export interface ProducerOpportunityReportValueDto {
1275
+ DeferredCompensation: number;
1276
+ Draw: number;
1277
+ NewCommission: number;
1278
+ RenewalCommission: number;
1279
+ RenewalCommissionAssignedBook: number;
1280
+ Subsidy: number;
1281
+ TotalIncome: number;
1282
+ TotalProducerOpportnityValue: number;
1283
+ }
1284
+
1285
+ export interface CommissionRateDto {
1286
+ ProducerCommissionRate: Partial<ProducerCommissionRate> | null;
1287
+ ReplacementId: number | null;
1288
+ }
1289
+
1290
+ export interface AgencyInvestmentReportDto {
1291
+ LessAcquisitionCost: number;
1292
+ LessDeferredCompLiability: number;
1293
+ NetAsset: number;
1294
+ OrganicAssetValue: number;
1295
+ Type: AgencyInvestmentTypeString;
1296
+ }
1297
+
1277
1298
  export interface NaicsGetLineOfBusinessDto {
1278
1299
  LineOfBusiness: string | null;
1279
1300
  }
@@ -1455,60 +1476,6 @@ export enum AccountStatus {
1455
1476
 
1456
1477
  export type AccountStatusString = keyof typeof AccountStatus;
1457
1478
 
1458
- export enum HttpStatusCode {
1459
- Continue = 100,
1460
- SwitchingProtocols = 101,
1461
- OK = 200,
1462
- Created = 201,
1463
- Accepted = 202,
1464
- NonAuthoritativeInformation = 203,
1465
- NoContent = 204,
1466
- ResetContent = 205,
1467
- PartialContent = 206,
1468
- MultipleChoices = 300,
1469
- MovedPermanently = 301,
1470
- Redirect = 302,
1471
- SeeOther = 303,
1472
- NotModified = 304,
1473
- UseProxy = 305,
1474
- Unused = 306,
1475
- TemporaryRedirect = 307,
1476
- BadRequest = 400,
1477
- Unauthorized = 401,
1478
- PaymentRequired = 402,
1479
- Forbidden = 403,
1480
- NotFound = 404,
1481
- MethodNotAllowed = 405,
1482
- NotAcceptable = 406,
1483
- ProxyAuthenticationRequired = 407,
1484
- RequestTimeout = 408,
1485
- Conflict = 409,
1486
- Gone = 410,
1487
- LengthRequired = 411,
1488
- PreconditionFailed = 412,
1489
- RequestEntityTooLarge = 413,
1490
- RequestUriTooLong = 414,
1491
- UnsupportedMediaType = 415,
1492
- RequestedRangeNotSatisfiable = 416,
1493
- ExpectationFailed = 417,
1494
- UpgradeRequired = 426,
1495
- InternalServerError = 500,
1496
- NotImplemented = 501,
1497
- BadGateway = 502,
1498
- ServiceUnavailable = 503,
1499
- GatewayTimeout = 504,
1500
- HttpVersionNotSupported = 505
1501
- }
1502
-
1503
- export type HttpStatusCodeString = keyof typeof HttpStatusCode;
1504
-
1505
- export enum AgencyInvestmentType {
1506
- Minimum = 0,
1507
- Goal = 1
1508
- }
1509
-
1510
- export type AgencyInvestmentTypeString = keyof typeof AgencyInvestmentType;
1511
-
1512
1479
  export enum ConferenceRegistrationStatus {
1513
1480
  Open = 0,
1514
1481
  NotStarted = 1,
@@ -1605,6 +1572,60 @@ export enum AddressTypes {
1605
1572
 
1606
1573
  export type AddressTypesString = keyof typeof AddressTypes;
1607
1574
 
1575
+ export enum HttpStatusCode {
1576
+ Continue = 100,
1577
+ SwitchingProtocols = 101,
1578
+ OK = 200,
1579
+ Created = 201,
1580
+ Accepted = 202,
1581
+ NonAuthoritativeInformation = 203,
1582
+ NoContent = 204,
1583
+ ResetContent = 205,
1584
+ PartialContent = 206,
1585
+ MultipleChoices = 300,
1586
+ MovedPermanently = 301,
1587
+ Redirect = 302,
1588
+ SeeOther = 303,
1589
+ NotModified = 304,
1590
+ UseProxy = 305,
1591
+ Unused = 306,
1592
+ TemporaryRedirect = 307,
1593
+ BadRequest = 400,
1594
+ Unauthorized = 401,
1595
+ PaymentRequired = 402,
1596
+ Forbidden = 403,
1597
+ NotFound = 404,
1598
+ MethodNotAllowed = 405,
1599
+ NotAcceptable = 406,
1600
+ ProxyAuthenticationRequired = 407,
1601
+ RequestTimeout = 408,
1602
+ Conflict = 409,
1603
+ Gone = 410,
1604
+ LengthRequired = 411,
1605
+ PreconditionFailed = 412,
1606
+ RequestEntityTooLarge = 413,
1607
+ RequestUriTooLong = 414,
1608
+ UnsupportedMediaType = 415,
1609
+ RequestedRangeNotSatisfiable = 416,
1610
+ ExpectationFailed = 417,
1611
+ UpgradeRequired = 426,
1612
+ InternalServerError = 500,
1613
+ NotImplemented = 501,
1614
+ BadGateway = 502,
1615
+ ServiceUnavailable = 503,
1616
+ GatewayTimeout = 504,
1617
+ HttpVersionNotSupported = 505
1618
+ }
1619
+
1620
+ export type HttpStatusCodeString = keyof typeof HttpStatusCode;
1621
+
1622
+ export enum AgencyInvestmentType {
1623
+ Minimum = 0,
1624
+ Goal = 1
1625
+ }
1626
+
1627
+ export type AgencyInvestmentTypeString = keyof typeof AgencyInvestmentType;
1628
+
1608
1629
  export enum LessonAttemptStatus {
1609
1630
  Pass = 0,
1610
1631
  Fail = 1,
@@ -1 +1 @@
1
- {"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AA6QzB,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;AAsSzB,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"}
package/elasticsearch.ts CHANGED
@@ -168,6 +168,31 @@ export interface CrmAccounts {
168
168
  UpdatedDate: string | null;
169
169
  }
170
170
 
171
+ export interface ElasticCorePerson {
172
+ CellPhone: string | null;
173
+ City: string | null;
174
+ CompanyId: number | null;
175
+ CompanyName: string | null;
176
+ Email: string | null;
177
+ Extension: string | null;
178
+ FirstName: string | null;
179
+ FullName: string | null;
180
+ HomePhone: string | null;
181
+ Id: number;
182
+ IsActiveEmployee: boolean;
183
+ JobTitle: string | null;
184
+ LastName: string | null;
185
+ State: string | null;
186
+ Street1: string | null;
187
+ WorkPhone: string | null;
188
+ Zip: string | null;
189
+ }
190
+
191
+ export interface ElasticPersonHit {
192
+ LastVisitedBy: string | null;
193
+ Person: Partial<ElasticCorePerson> | null;
194
+ }
195
+
171
196
  export interface Ams360Customer {
172
197
  Active: string | null;
173
198
  Addr1: string | null;
@@ -400,6 +400,7 @@ export interface FileExplorerMemberDto {
400
400
  export interface CallManagerCrmActivityDto {
401
401
  ActualEnd: string | null;
402
402
  ActualStart: string | null;
403
+ CrmActivityId: string | null;
403
404
  Description: string | null;
404
405
  Outgoing: boolean | null;
405
406
  PhoneNumber: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.340",
3
+ "version": "2.0.344",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [