@leavittsoftware/lg-core-typescript 2.7.0 → 2.11.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":"AAiqBA,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":"AA6uBA,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;
@@ -153,6 +186,19 @@ export interface NaicsSummaryDto {
153
186
  TotalPremiums: number;
154
187
  }
155
188
 
189
+ export interface BopQuoteDto {
190
+ BusinessStartYear: number;
191
+ City: string | null;
192
+ IsTest: boolean;
193
+ Name: string | null;
194
+ PhoneNumber: string | null;
195
+ SpectrumClassCode: string | null;
196
+ State: string | null;
197
+ Street1: string | null;
198
+ Street2: string | null;
199
+ Zip: string | null;
200
+ }
201
+
156
202
  export interface SpectrumDto {
157
203
  AnswerSet: Array<Partial<AnswerSetDto>> | null;
158
204
  ClassName: string | null;
@@ -167,6 +213,36 @@ export interface AnswerSetDto {
167
213
  SpectrumCode: string | null;
168
214
  }
169
215
 
216
+ export interface WorkersCompDto {
217
+ BusinessStartYear: number;
218
+ City: string | null;
219
+ IsTest: boolean;
220
+ Name: string | null;
221
+ NumberOfEmployees: number;
222
+ PhoneNumber: string | null;
223
+ SpectrumClassCode: string | null;
224
+ State: string | null;
225
+ Street1: string | null;
226
+ Street2: string | null;
227
+ TotalEmployeePayroll: Partial<number>;
228
+ Zip: string | null;
229
+ }
230
+
231
+ export interface CampaignSummaryDto {
232
+ Attempted: number;
233
+ Completed: number;
234
+ Id: number;
235
+ Name: string | null;
236
+ }
237
+
238
+ export interface SmallBusinessSummaryDto {
239
+ BopQuotes: number;
240
+ CampaignSummaries: Array<Partial<CampaignSummaryDto>> | null;
241
+ RatingFailed: number;
242
+ RatingReturnedQuote: number;
243
+ WcQuotes: number;
244
+ }
245
+
170
246
  export interface SequenceDto {
171
247
  Id: number;
172
248
  Sequence: number;
@@ -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.7.0",
3
+ "version": "2.11.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",