@leavittsoftware/lg-core-typescript 2.8.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":"AAksBA,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"}
@@ -200,6 +200,21 @@ export interface AnswerSetDto {
200
200
  SpectrumCode: string | null;
201
201
  }
202
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
+
203
218
  export interface SequenceDto {
204
219
  Id: number;
205
220
  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.8.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",