@leavittsoftware/lg-core-typescript 2.0.349 → 2.0.350

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.
@@ -1 +1 @@
1
- {"version":3,"file":"elasticsearch.js","sourceRoot":"","sources":["elasticsearch.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAwSzB,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;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"}
package/elasticsearch.ts CHANGED
@@ -170,6 +170,13 @@ export interface CrmAccounts {
170
170
  UpdatedDate: string | null;
171
171
  }
172
172
 
173
+ export interface ElasticCoreCompany {
174
+ Id: number;
175
+ Name: string | null;
176
+ PrimaryPhone: string | null;
177
+ ShortName: string | null;
178
+ }
179
+
173
180
  export interface ElasticCorePerson {
174
181
  CellPhone: string | null;
175
182
  City: string | null;
@@ -190,6 +197,11 @@ export interface ElasticCorePerson {
190
197
  Zip: string | null;
191
198
  }
192
199
 
200
+ export interface ElasticCoreCompanyHit {
201
+ Company: Partial<ElasticCoreCompany> | null;
202
+ LastVisitedBy: string | null;
203
+ }
204
+
193
205
  export interface ElasticPersonHit {
194
206
  LastVisitedBy: string | null;
195
207
  Person: Partial<ElasticCorePerson> | null;
@@ -433,6 +433,13 @@ export interface CallManagerCrmPhoneNumberDto {
433
433
  Zip: string | null;
434
434
  }
435
435
 
436
+ export interface CallManagerCompanySearchDto {
437
+ CompanyId: number;
438
+ Name: string | null;
439
+ Phone: string | null;
440
+ ShortName: string | null;
441
+ }
442
+
436
443
  export interface CrmSearchDto {
437
444
  AgencyName: string | null;
438
445
  ContactFirstName: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.349",
3
+ "version": "2.0.350",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [