@leavittsoftware/lg-core-typescript 2.6.0 → 2.10.1

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/README.md CHANGED
@@ -7,3 +7,4 @@
7
7
  - api2 dto
8
8
  - mapi dto
9
9
  - reportingapi dto
10
+ - lg.net.leavittlink
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAspBA,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAitBA,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -55,6 +55,39 @@ export interface FruitHolderDto {
55
55
  PersonId: number;
56
56
  }
57
57
 
58
+ export interface SurgeReportsPlayerBreakdownDto {
59
+ FirstName: string | null;
60
+ GrandPrizeName: string | null;
61
+ IsTeamCaptain: boolean;
62
+ LastName: string | null;
63
+ PersonId: number;
64
+ PrizeAmount: Partial<number> | null;
65
+ TeamStartDate: string;
66
+ TotalSold: Partial<number>;
67
+ }
68
+
69
+ export interface SurgeReportsTeamBreakdownDto {
70
+ CdnFileName: string | null;
71
+ GrandPrizeName: string | null;
72
+ ImageExtension: string | null;
73
+ Players: Array<Partial<SurgeReportsPlayerBreakdownDto>> | null;
74
+ PreviewExtension: string | null;
75
+ PreviewSizes: string | null;
76
+ PrizeAmount: Partial<number> | null;
77
+ TeamId: number;
78
+ TeamName: string | null;
79
+ TeamTotalSold: Partial<number>;
80
+ }
81
+
82
+ export interface SurgeReportsTopPlayerDto {
83
+ FirstName: string | null;
84
+ GrandPrizeName: string | null;
85
+ LastName: string | null;
86
+ PersonId: number;
87
+ PrizeAmount: Partial<number> | null;
88
+ TotalSold: Partial<number>;
89
+ }
90
+
58
91
  export interface NaicsCsvUploadDto {
59
92
  FileName: string | null;
60
93
  RecordCount: number;
@@ -167,6 +200,21 @@ export interface AnswerSetDto {
167
200
  SpectrumCode: string | null;
168
201
  }
169
202
 
203
+ export interface CampaignSummaryDto {
204
+ Attempted: number;
205
+ Completed: number;
206
+ Id: number;
207
+ Name: string | null;
208
+ }
209
+
210
+ export interface SmallBusinessSummaryDto {
211
+ BopQuotes: number;
212
+ CampaignSummaries: Array<Partial<CampaignSummaryDto>> | null;
213
+ RatingFailed: number;
214
+ RatingReturnedQuote: number;
215
+ WcQuotes: number;
216
+ }
217
+
170
218
  export interface SequenceDto {
171
219
  Id: number;
172
220
  Sequence: number;
@@ -217,6 +265,7 @@ export interface HireDTO {
217
265
  Extension: string | null;
218
266
  FirstName: string | null;
219
267
  HireDate: string;
268
+ HiringManagerPersonId: number;
220
269
  HomeAddress: Partial<CompanyAddress> | null;
221
270
  Hours: number;
222
271
  IpAddress: string | null;
@@ -274,6 +323,7 @@ export interface NewUserResult {
274
323
 
275
324
  export interface RehireDTO {
276
325
  AdditionalItInfo: string | null;
326
+ AdditionalPayPerMonth: Partial<number> | null;
277
327
  BenefitPoint: boolean;
278
328
  Comments: string | null;
279
329
  CompanyAddressId: number | null;
@@ -284,13 +334,22 @@ export interface RehireDTO {
284
334
  EmploymentType: EmploymentTypeString;
285
335
  Extension: string | null;
286
336
  HireDate: string;
337
+ HiringManagerPersonId: number;
287
338
  HomeAddress: Partial<CompanyAddress> | null;
339
+ Hours: number;
288
340
  IpAddress: string | null;
289
341
  IsAcctManagerOrRepOrCSR: boolean;
290
342
  IsProducerOrExecutive: boolean;
291
343
  JobRoles: Array<Partial<JobRole>> | null;
292
344
  ModelAfter: string | null;
293
345
  OrderEquipment: boolean;
346
+ PayRate: Partial<number> | null;
347
+ ProducerEarnings: Partial<number> | null;
348
+ PtoAccrualsPerMonth: number;
349
+ ShippingAddress: Partial<CompanyAddress> | null;
350
+ ShipToAgency: boolean;
351
+ SupervisorId: number | null;
352
+ TimeSupervisorId: number | null;
294
353
  }
295
354
 
296
355
  export interface TerminateDto {
@@ -0,0 +1,16 @@
1
+ // ----------------------
2
+ // <auto-generated>
3
+ // generated using a custom program
4
+ // </auto-generated>
5
+ // ----------------------
6
+ export var SmallBusinessQuote;
7
+ (function (SmallBusinessQuote) {
8
+ SmallBusinessQuote[SmallBusinessQuote["BopQuotes"] = 0] = "BopQuotes";
9
+ SmallBusinessQuote[SmallBusinessQuote["WcQuotes"] = 1] = "WcQuotes";
10
+ })(SmallBusinessQuote || (SmallBusinessQuote = {}));
11
+ export var HartfordQuoteRequestType;
12
+ (function (HartfordQuoteRequestType) {
13
+ HartfordQuoteRequestType[HartfordQuoteRequestType["BOP"] = 0] = "BOP";
14
+ HartfordQuoteRequestType[HartfordQuoteRequestType["WorkersComp"] = 1] = "WorkersComp";
15
+ })(HartfordQuoteRequestType || (HartfordQuoteRequestType = {}));
16
+ //# sourceMappingURL=lg.net.leavittlink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lg.net.leavittlink.js","sourceRoot":"","sources":["lg.net.leavittlink.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,mBAAmB;AACnB,uCAAuC;AACvC,oBAAoB;AACpB,yBAAyB;AAiDzB,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,qEAAa,CAAA;IACb,mEAAY,CAAA;AAChB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAID,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,qEAAO,CAAA;IACP,qFAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC"}
@@ -0,0 +1,67 @@
1
+ // ----------------------
2
+ // <auto-generated>
3
+ // generated using a custom program
4
+ // </auto-generated>
5
+ // ----------------------
6
+
7
+ export interface HartfordQuote {
8
+ BOPTypeCode: string | null;
9
+ CreatedDate: string;
10
+ EmailedQuoteDate: string | null;
11
+ HartfordQuoteRequest: Partial<HartfordQuoteRequest> | null;
12
+ HartfordQuoteRequestId: number;
13
+ Id: number;
14
+ PolicyNumber: string | null;
15
+ QuoteAccessUrl: string | null;
16
+ QuoteIdentifier: string | null;
17
+ TotalPremium: Partial<number> | null;
18
+ }
19
+
20
+ export interface HartfordQuoteRequest {
21
+ BusinessStartYear: number;
22
+ CarrierErrors: Array<Partial<CarrierError>> | null;
23
+ City: string | null;
24
+ CreatedDate: string;
25
+ Email: string | null;
26
+ HartfordQuote: Partial<HartfordQuote> | null;
27
+ Id: number;
28
+ IsTest: boolean;
29
+ Name: string | null;
30
+ NumberOfEmployees: number;
31
+ PhoneNumber: string | null;
32
+ QuoteRequestSessionId: string | null;
33
+ RequestPayload: string | null;
34
+ ResponsePayload: string | null;
35
+ RicochetCampaignId: number | null;
36
+ RicochetLeadId: number | null;
37
+ SpectrumClassCode: string | null;
38
+ State: string | null;
39
+ Status: SmallBusinessQuoteString;
40
+ Street1: string | null;
41
+ Street2: string | null;
42
+ TotalEmployeePayroll: Partial<number> | null;
43
+ Type: HartfordQuoteRequestTypeString;
44
+ Zip: string | null;
45
+ }
46
+
47
+ export interface CarrierError {
48
+ HartfordQuoteRequest: Partial<HartfordQuoteRequest> | null;
49
+ HartfordQuoteRequestId: number;
50
+ Id: number;
51
+ Message: string | null;
52
+ }
53
+
54
+ export enum SmallBusinessQuote {
55
+ BopQuotes = 0,
56
+ WcQuotes = 1
57
+ }
58
+
59
+ export type SmallBusinessQuoteString = keyof typeof SmallBusinessQuote;
60
+
61
+ export enum HartfordQuoteRequestType {
62
+ BOP = 0,
63
+ WorkersComp = 1
64
+ }
65
+
66
+ export type HartfordQuoteRequestTypeString = keyof typeof HartfordQuoteRequestType;
67
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.6.0",
3
+ "version": "2.10.1",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [
@@ -22,6 +22,9 @@
22
22
  "api3.leavitt.com.js.map",
23
23
  "api3.leavitt.com.js",
24
24
  "api3.leavitt.com.ts",
25
+ "lg.net.leavittlink.js.map",
26
+ "lg.net.leavittlink.js",
27
+ "lg.net.leavittlink.ts",
25
28
  "lg.net.core.js.map",
26
29
  "lg.net.core.js",
27
30
  "lg.net.core.ts",