@leavittsoftware/lg-core-typescript 2.0.328 → 2.0.329
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.map +1 -1
- package/elasticsearch.ts +24 -0
- package/lg.core.repository.ts +95 -58
- package/package.json +1 -1
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;AA0PzB,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
|
@@ -67,10 +67,32 @@ export interface Product {
|
|
|
67
67
|
ProductStatus: ProductStatusString;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
export interface Activity {
|
|
71
|
+
AccountId: number | null;
|
|
72
|
+
AccountOwnerCompanyName: string | null;
|
|
73
|
+
AccountOwnerFirstName: string | null;
|
|
74
|
+
AccountOwnerFullname: string | null;
|
|
75
|
+
AccountOwnerLastName: string | null;
|
|
76
|
+
AccountOwnerPersonId: number | null;
|
|
77
|
+
ActivityType: string | null;
|
|
78
|
+
ActualEnd: string | null;
|
|
79
|
+
ActualStart: string | null;
|
|
80
|
+
CrmAccountGuid: string | null;
|
|
81
|
+
CrmActivityId: string | null;
|
|
82
|
+
Description: string | null;
|
|
83
|
+
Instance: number | null;
|
|
84
|
+
LastModifiedDate: string | null;
|
|
85
|
+
Outgoing: boolean | null;
|
|
86
|
+
OwnerId: string | null;
|
|
87
|
+
PhoneNumber: string | null;
|
|
88
|
+
Subject: string | null;
|
|
89
|
+
}
|
|
90
|
+
|
|
70
91
|
export interface Account {
|
|
71
92
|
AccountId: string | null;
|
|
72
93
|
AccountStage: number | null;
|
|
73
94
|
AccountType: number;
|
|
95
|
+
Activities: Array<Partial<Activity>> | null;
|
|
74
96
|
Address1: string | null;
|
|
75
97
|
Address2: string | null;
|
|
76
98
|
Ams360AccountId: string | null;
|
|
@@ -82,6 +104,8 @@ export interface Account {
|
|
|
82
104
|
ContactLastName: string | null;
|
|
83
105
|
CreatedOn: string | null;
|
|
84
106
|
CrmInstance: number;
|
|
107
|
+
CustomerRepCompanyId: number | null;
|
|
108
|
+
CustomerRepCompanyName: string | null;
|
|
85
109
|
CustomerRepFirstName: string | null;
|
|
86
110
|
CustomerRepId: number | null;
|
|
87
111
|
CustomerRepLastName: string | null;
|
package/lg.core.repository.ts
CHANGED
|
@@ -339,6 +339,101 @@ export interface CLGameTopPlayerDto {
|
|
|
339
339
|
TotalPoints: Partial<number>;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
+
export interface BookedByPersonId {
|
|
343
|
+
booked_ttm: Partial<number>;
|
|
344
|
+
bookedmonth: Partial<number>;
|
|
345
|
+
bookedytd: Partial<number>;
|
|
346
|
+
corepersonid: number;
|
|
347
|
+
expected_ttm: Partial<number>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface VitalSignsLeaderDto {
|
|
351
|
+
AgencyName: string | null;
|
|
352
|
+
CompanyId: number;
|
|
353
|
+
FirstName: string | null;
|
|
354
|
+
IsSubsidized: boolean;
|
|
355
|
+
LastName: string | null;
|
|
356
|
+
PersonId: number;
|
|
357
|
+
Rank: number;
|
|
358
|
+
WrittenAmount: Partial<number> | null;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export interface InvitedPersonDto {
|
|
362
|
+
FirstName: string | null;
|
|
363
|
+
LastName: string | null;
|
|
364
|
+
PersonId: number;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface DomoBookedData {
|
|
368
|
+
BookedYtd: Partial<number>;
|
|
369
|
+
ExpectedTotalBook: Partial<number>;
|
|
370
|
+
PersonId: number;
|
|
371
|
+
TotalBook: Partial<number>;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export interface DistributionGroupMemberDto {
|
|
375
|
+
FirstName: string | null;
|
|
376
|
+
GroupSource: Array<string> | null;
|
|
377
|
+
LastName: string | null;
|
|
378
|
+
PersonId: number;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export interface FruitHolderDto {
|
|
382
|
+
FirstName: string | null;
|
|
383
|
+
GroupSource: Array<string> | null;
|
|
384
|
+
LastName: string | null;
|
|
385
|
+
PersonId: number;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export interface FileExplorerPermissionsDto {
|
|
389
|
+
IsAdmin: boolean;
|
|
390
|
+
IsViewer: boolean;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export interface FileExplorerMemberDto {
|
|
394
|
+
FirstName: string | null;
|
|
395
|
+
GroupSource: Array<string> | null;
|
|
396
|
+
LastName: string | null;
|
|
397
|
+
PersonId: number;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export interface CallManagerCrmActivityDto {
|
|
401
|
+
ActualEnd: string | null;
|
|
402
|
+
ActualStart: string | null;
|
|
403
|
+
Description: string | null;
|
|
404
|
+
Outgoing: boolean | null;
|
|
405
|
+
PhoneNumber: string | null;
|
|
406
|
+
Subject: string | null;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export interface CallManagerCrmPhoneNumberDto {
|
|
410
|
+
AccountId: string | null;
|
|
411
|
+
AccountOwnerCompanyId: number | null;
|
|
412
|
+
AccountOwnerCompanyName: string | null;
|
|
413
|
+
AccountOwnerFirstName: string | null;
|
|
414
|
+
AccountOwnerLastName: string | null;
|
|
415
|
+
AccountOwnerPersonId: number | null;
|
|
416
|
+
Activities: Array<Partial<CallManagerCrmActivityDto>> | null;
|
|
417
|
+
City: string | null;
|
|
418
|
+
ContactFirstName: string | null;
|
|
419
|
+
ContactLastName: string | null;
|
|
420
|
+
ContactTitle: string | null;
|
|
421
|
+
Email: string | null;
|
|
422
|
+
Name: string | null;
|
|
423
|
+
State: string | null;
|
|
424
|
+
Street1: string | null;
|
|
425
|
+
Zip: string | null;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface CrmSearchDto {
|
|
429
|
+
AgencyName: string | null;
|
|
430
|
+
ContactFirstName: string | null;
|
|
431
|
+
ContactLastName: string | null;
|
|
432
|
+
ContactTitle: string | null;
|
|
433
|
+
Name: string | null;
|
|
434
|
+
Phone: string | null;
|
|
435
|
+
}
|
|
436
|
+
|
|
342
437
|
export interface AmsClientSearchDto {
|
|
343
438
|
AgencyName: string | null;
|
|
344
439
|
CompanyName: string | null;
|
|
@@ -401,64 +496,6 @@ export interface CallManagerEmployeeDto {
|
|
|
401
496
|
WorkPhone: string | null;
|
|
402
497
|
}
|
|
403
498
|
|
|
404
|
-
export interface BookedByPersonId {
|
|
405
|
-
booked_ttm: Partial<number>;
|
|
406
|
-
bookedmonth: Partial<number>;
|
|
407
|
-
bookedytd: Partial<number>;
|
|
408
|
-
corepersonid: number;
|
|
409
|
-
expected_ttm: Partial<number>;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
export interface VitalSignsLeaderDto {
|
|
413
|
-
AgencyName: string | null;
|
|
414
|
-
CompanyId: number;
|
|
415
|
-
FirstName: string | null;
|
|
416
|
-
IsSubsidized: boolean;
|
|
417
|
-
LastName: string | null;
|
|
418
|
-
PersonId: number;
|
|
419
|
-
Rank: number;
|
|
420
|
-
WrittenAmount: Partial<number> | null;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export interface InvitedPersonDto {
|
|
424
|
-
FirstName: string | null;
|
|
425
|
-
LastName: string | null;
|
|
426
|
-
PersonId: number;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
export interface DomoBookedData {
|
|
430
|
-
BookedYtd: Partial<number>;
|
|
431
|
-
ExpectedTotalBook: Partial<number>;
|
|
432
|
-
PersonId: number;
|
|
433
|
-
TotalBook: Partial<number>;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
export interface DistributionGroupMemberDto {
|
|
437
|
-
FirstName: string | null;
|
|
438
|
-
GroupSource: Array<string> | null;
|
|
439
|
-
LastName: string | null;
|
|
440
|
-
PersonId: number;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export interface FruitHolderDto {
|
|
444
|
-
FirstName: string | null;
|
|
445
|
-
GroupSource: Array<string> | null;
|
|
446
|
-
LastName: string | null;
|
|
447
|
-
PersonId: number;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
export interface FileExplorerPermissionsDto {
|
|
451
|
-
IsAdmin: boolean;
|
|
452
|
-
IsViewer: boolean;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export interface FileExplorerMemberDto {
|
|
456
|
-
FirstName: string | null;
|
|
457
|
-
GroupSource: Array<string> | null;
|
|
458
|
-
LastName: string | null;
|
|
459
|
-
PersonId: number;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
499
|
export interface AppointmentReportDto {
|
|
463
500
|
AgencyName: string | null;
|
|
464
501
|
Appointments: number | null;
|