@leavittsoftware/lg-core-typescript 2.8.0 → 2.12.0
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 +1 -0
- package/api3.leavitt.com.js.map +1 -1
- package/api3.leavitt.com.ts +43 -0
- package/lg.net.core.ts +2 -2
- package/lg.net.leavittlink.js +16 -0
- package/lg.net.leavittlink.js.map +1 -0
- package/lg.net.leavittlink.ts +67 -0
- package/package.json +4 -1
package/README.md
CHANGED
package/api3.leavitt.com.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"
|
|
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"}
|
package/api3.leavitt.com.ts
CHANGED
|
@@ -186,6 +186,19 @@ export interface NaicsSummaryDto {
|
|
|
186
186
|
TotalPremiums: number;
|
|
187
187
|
}
|
|
188
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
|
+
|
|
189
202
|
export interface SpectrumDto {
|
|
190
203
|
AnswerSet: Array<Partial<AnswerSetDto>> | null;
|
|
191
204
|
ClassName: string | null;
|
|
@@ -200,6 +213,36 @@ export interface AnswerSetDto {
|
|
|
200
213
|
SpectrumCode: string | null;
|
|
201
214
|
}
|
|
202
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
|
+
|
|
203
246
|
export interface SequenceDto {
|
|
204
247
|
Id: number;
|
|
205
248
|
Sequence: number;
|
package/lg.net.core.ts
CHANGED
|
@@ -128,12 +128,12 @@ export interface SurgeScoreboard {
|
|
|
128
128
|
Id: number;
|
|
129
129
|
IsEnabled: boolean;
|
|
130
130
|
Name: string | null;
|
|
131
|
+
Prizes: Array<Partial<SurgePrize>> | null;
|
|
131
132
|
SegmentType: Partial<SurgeSegmentType> | null;
|
|
132
133
|
SegmentTypeId: number | null;
|
|
133
134
|
Sequence: number;
|
|
134
135
|
Surge: Partial<Surge> | null;
|
|
135
136
|
SurgeId: number;
|
|
136
|
-
SurgePrizes: Array<Partial<SurgePrize>> | null;
|
|
137
137
|
Take: number | null;
|
|
138
138
|
WebComponentHTMLTag: string | null;
|
|
139
139
|
}
|
|
@@ -187,11 +187,11 @@ export interface SurgeTeamPersonRole extends PersonRole {
|
|
|
187
187
|
PrimaryScoreboardTopOnTeamPrizeAmount: Partial<number> | null;
|
|
188
188
|
PrimaryScoreboardTopOnTeamRank: number;
|
|
189
189
|
PrimaryScoreboardTotalPrizeAmount: Partial<number> | null;
|
|
190
|
+
Surge: Partial<Surge> | null;
|
|
190
191
|
SurgeCrmPoints: Array<Partial<SurgeCrmPoint>> | null;
|
|
191
192
|
SurgeId: number;
|
|
192
193
|
Team: Partial<SurgeTeam> | null;
|
|
193
194
|
TeamId: number | null;
|
|
194
|
-
TeamPersonRoleSurge: Partial<Surge> | null;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
export interface SurgeViewerPersonRole extends PersonRole {
|
|
@@ -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.
|
|
3
|
+
"version": "2.12.0",
|
|
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",
|