@leavittsoftware/lg-core-typescript 2.0.341 → 2.0.342

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.
@@ -6,56 +6,6 @@ export var AccountStatus;
6
6
  AccountStatus[AccountStatus["Active"] = 3] = "Active";
7
7
  AccountStatus[AccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
8
8
  })(AccountStatus || (AccountStatus = {}));
9
- export var HttpStatusCode;
10
- (function (HttpStatusCode) {
11
- HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
12
- HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
13
- HttpStatusCode[HttpStatusCode["OK"] = 200] = "OK";
14
- HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
15
- HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
16
- HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
17
- HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
18
- HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
19
- HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
20
- HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
21
- HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
22
- HttpStatusCode[HttpStatusCode["Redirect"] = 302] = "Redirect";
23
- HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
24
- HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
25
- HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
26
- HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
27
- HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
28
- HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
29
- HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
30
- HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
31
- HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
32
- HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
33
- HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
34
- HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
35
- HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
36
- HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
37
- HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
38
- HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
39
- HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
40
- HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
41
- HttpStatusCode[HttpStatusCode["RequestEntityTooLarge"] = 413] = "RequestEntityTooLarge";
42
- HttpStatusCode[HttpStatusCode["RequestUriTooLong"] = 414] = "RequestUriTooLong";
43
- HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
44
- HttpStatusCode[HttpStatusCode["RequestedRangeNotSatisfiable"] = 416] = "RequestedRangeNotSatisfiable";
45
- HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
46
- HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
47
- HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
48
- HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
49
- HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
50
- HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
51
- HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
52
- HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
53
- })(HttpStatusCode || (HttpStatusCode = {}));
54
- export var AgencyInvestmentType;
55
- (function (AgencyInvestmentType) {
56
- AgencyInvestmentType[AgencyInvestmentType["Minimum"] = 0] = "Minimum";
57
- AgencyInvestmentType[AgencyInvestmentType["Goal"] = 1] = "Goal";
58
- })(AgencyInvestmentType || (AgencyInvestmentType = {}));
59
9
  export var ConferenceRegistrationStatus;
60
10
  (function (ConferenceRegistrationStatus) {
61
11
  ConferenceRegistrationStatus[ConferenceRegistrationStatus["Open"] = 0] = "Open";
@@ -142,6 +92,56 @@ export var AddressTypes;
142
92
  AddressTypes[AddressTypes["Business"] = 0] = "Business";
143
93
  AddressTypes[AddressTypes["Home"] = 1] = "Home";
144
94
  })(AddressTypes || (AddressTypes = {}));
95
+ export var HttpStatusCode;
96
+ (function (HttpStatusCode) {
97
+ HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
98
+ HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
99
+ HttpStatusCode[HttpStatusCode["OK"] = 200] = "OK";
100
+ HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
101
+ HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
102
+ HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
103
+ HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
104
+ HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
105
+ HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
106
+ HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
107
+ HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
108
+ HttpStatusCode[HttpStatusCode["Redirect"] = 302] = "Redirect";
109
+ HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
110
+ HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
111
+ HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
112
+ HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
113
+ HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
114
+ HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
115
+ HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
116
+ HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
117
+ HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
118
+ HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
119
+ HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
120
+ HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
121
+ HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
122
+ HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
123
+ HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
124
+ HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
125
+ HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
126
+ HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
127
+ HttpStatusCode[HttpStatusCode["RequestEntityTooLarge"] = 413] = "RequestEntityTooLarge";
128
+ HttpStatusCode[HttpStatusCode["RequestUriTooLong"] = 414] = "RequestUriTooLong";
129
+ HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
130
+ HttpStatusCode[HttpStatusCode["RequestedRangeNotSatisfiable"] = 416] = "RequestedRangeNotSatisfiable";
131
+ HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
132
+ HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
133
+ HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
134
+ HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
135
+ HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
136
+ HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
137
+ HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
138
+ HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
139
+ })(HttpStatusCode || (HttpStatusCode = {}));
140
+ export var AgencyInvestmentType;
141
+ (function (AgencyInvestmentType) {
142
+ AgencyInvestmentType[AgencyInvestmentType["Minimum"] = 0] = "Minimum";
143
+ AgencyInvestmentType[AgencyInvestmentType["Goal"] = 1] = "Goal";
144
+ })(AgencyInvestmentType || (AgencyInvestmentType = {}));
145
145
  export var LessonAttemptStatus;
146
146
  (function (LessonAttemptStatus) {
147
147
  LessonAttemptStatus[LessonAttemptStatus["Pass"] = 0] = "Pass";
@@ -4,7 +4,7 @@
4
4
  // </auto-generated>
5
5
  // ----------------------
6
6
  import { BenefitPointCustomer,Ams360Customer } from './elasticsearch'
7
- import { Ams360PersonRole,Ams360SupplementalCode,Ams360EmpCode,EmploymentTypeString,Person,CrmAccount,Tv,FailReason,ProducerCommissionRate,PreferredContactMethodTypeString,ConferenceAttendeePersonRole,Conference,ConferenceSponsorship,PhoneNumberTypesString,CompanyOwnership,TemplateContact,TimelineContact,GlobalTask,TemplateTask,TemplateServiceTask,TimelineDocumentPage,TimelineServiceTask,TimelineEnabledPage,TimelineTaskToTimelineContactAssignee,TaskReminder,TaskStatusTypeString,TimelineTaskToTimelineContactWatcher,TemplateTaskToTemplateContactAssignee,TemplateTaskToTemplateContactWatcher,TimelineTemplateToCompany,PersonToItManagedApplication,ApplicationToApplicationTag,PermissionToApplication } from './lg.core'
7
+ import { Ams360PersonRole,Ams360SupplementalCode,Ams360EmpCode,EmploymentTypeString,Person,CrmAccount,Tv,PreferredContactMethodTypeString,ConferenceAttendeePersonRole,Conference,ConferenceSponsorship,PhoneNumberTypesString,CompanyOwnership,TemplateContact,TimelineContact,GlobalTask,TemplateTask,TemplateServiceTask,TimelineDocumentPage,TimelineServiceTask,TimelineEnabledPage,TimelineTaskToTimelineContactAssignee,TaskReminder,TaskStatusTypeString,TimelineTaskToTimelineContactWatcher,TemplateTaskToTemplateContactAssignee,TemplateTaskToTemplateContactWatcher,TimelineTemplateToCompany,PersonToItManagedApplication,ApplicationToApplicationTag,PermissionToApplication,FailReason,ProducerCommissionRate } from './lg.core'
8
8
 
9
9
  export interface EventEmailDto {
10
10
  Body: string | null;
@@ -568,72 +568,6 @@ export interface PhonesCrashReportDto {
568
568
  Version: string | null;
569
569
  }
570
570
 
571
- export interface AgencyProfitabilityReportDto {
572
- AgencyProfitabilityPercentage: number;
573
- AgencyProfitabilityValue: number;
574
- Year: number;
575
- }
576
-
577
- export interface CriteriaStatus {
578
- FailReasons: Array<Partial<FailReason>> | null;
579
- ReturnReason: string | null;
580
- ReturnStatus: HttpStatusCodeString;
581
- }
582
-
583
- export interface MinimumSalesExpectationReportDto {
584
- AnnualizedBooked: number;
585
- Date: string;
586
- QFAs: number;
587
- Written: number;
588
- }
589
-
590
- export interface NuppReportDto {
591
- DrawsAfterMonth43: Array<string> | null;
592
- ExpectationStartDate: string;
593
- SalesExpectationId: number;
594
- SubsidyAfterMonth49: Array<string> | null;
595
- Year4StandardCommissionsX2: number;
596
- YearNuppTotals: Array<number> | null;
597
- }
598
-
599
- export interface ProducerInvestmentReportDto {
600
- BookOfBusiness: number;
601
- CumulativeProfit: number;
602
- CumulativeProfitMargin: number;
603
- EstAnnualProfit: number;
604
- LessAcquisitionCost: number;
605
- }
606
-
607
- export interface ProducerOpportunityReportDto {
608
- NewWrittenCommissionsGoal: number;
609
- NewWrittenCommissionsMinimum: number;
610
- QFAsMonthlyMinimum: number;
611
- }
612
-
613
- export interface ProducerOpportunityReportValueDto {
614
- DeferredCompensation: number;
615
- Draw: number;
616
- NewCommission: number;
617
- RenewalCommission: number;
618
- RenewalCommissionAssignedBook: number;
619
- Subsidy: number;
620
- TotalIncome: number;
621
- TotalProducerOpportnityValue: number;
622
- }
623
-
624
- export interface CommissionRateDto {
625
- ProducerCommissionRate: Partial<ProducerCommissionRate> | null;
626
- ReplacementId: number | null;
627
- }
628
-
629
- export interface AgencyInvestmentReportDto {
630
- LessAcquisitionCost: number;
631
- LessDeferredCompLiability: number;
632
- NetAsset: number;
633
- OrganicAssetValue: number;
634
- Type: AgencyInvestmentTypeString;
635
- }
636
-
637
571
  export interface MarketingBenefitPointCustomerDto extends BenefitPointCustomer {
638
572
  IsMaster: boolean;
639
573
  }
@@ -1274,6 +1208,80 @@ export interface LssApplicationUpsertDto {
1274
1208
  URL: string | null;
1275
1209
  }
1276
1210
 
1211
+ export interface UnassignedProducerDTO {
1212
+ AgencyId: number | null;
1213
+ AgencyName: string | null;
1214
+ AgencyPartner: Partial<Person> | null;
1215
+ Producer: Partial<Person> | null;
1216
+ ProducerId: number;
1217
+ }
1218
+
1219
+ export interface AgencyProfitabilityReportDto {
1220
+ AgencyProfitabilityPercentage: number;
1221
+ AgencyProfitabilityValue: number;
1222
+ Year: number;
1223
+ }
1224
+
1225
+ export interface CriteriaStatus {
1226
+ FailReasons: Array<Partial<FailReason>> | null;
1227
+ ReturnReason: string | null;
1228
+ ReturnStatus: HttpStatusCodeString;
1229
+ }
1230
+
1231
+ export interface MinimumSalesExpectationReportDto {
1232
+ AnnualizedBooked: number;
1233
+ Date: string;
1234
+ QFAs: number;
1235
+ Written: number;
1236
+ }
1237
+
1238
+ export interface NuppReportDto {
1239
+ DrawsAfterMonth43: Array<string> | null;
1240
+ ExpectationStartDate: string;
1241
+ SalesExpectationId: number;
1242
+ SubsidyAfterMonth49: Array<string> | null;
1243
+ Year4StandardCommissionsX2: number;
1244
+ YearNuppTotals: Array<number> | null;
1245
+ }
1246
+
1247
+ export interface ProducerInvestmentReportDto {
1248
+ BookOfBusiness: number;
1249
+ CumulativeProfit: number;
1250
+ CumulativeProfitMargin: number;
1251
+ EstAnnualProfit: number;
1252
+ LessAcquisitionCost: number;
1253
+ }
1254
+
1255
+ export interface ProducerOpportunityReportDto {
1256
+ NewWrittenCommissionsGoal: number;
1257
+ NewWrittenCommissionsMinimum: number;
1258
+ QFAsMonthlyMinimum: number;
1259
+ }
1260
+
1261
+ export interface ProducerOpportunityReportValueDto {
1262
+ DeferredCompensation: number;
1263
+ Draw: number;
1264
+ NewCommission: number;
1265
+ RenewalCommission: number;
1266
+ RenewalCommissionAssignedBook: number;
1267
+ Subsidy: number;
1268
+ TotalIncome: number;
1269
+ TotalProducerOpportnityValue: number;
1270
+ }
1271
+
1272
+ export interface CommissionRateDto {
1273
+ ProducerCommissionRate: Partial<ProducerCommissionRate> | null;
1274
+ ReplacementId: number | null;
1275
+ }
1276
+
1277
+ export interface AgencyInvestmentReportDto {
1278
+ LessAcquisitionCost: number;
1279
+ LessDeferredCompLiability: number;
1280
+ NetAsset: number;
1281
+ OrganicAssetValue: number;
1282
+ Type: AgencyInvestmentTypeString;
1283
+ }
1284
+
1277
1285
  export interface NaicsGetLineOfBusinessDto {
1278
1286
  LineOfBusiness: string | null;
1279
1287
  }
@@ -1455,60 +1463,6 @@ export enum AccountStatus {
1455
1463
 
1456
1464
  export type AccountStatusString = keyof typeof AccountStatus;
1457
1465
 
1458
- export enum HttpStatusCode {
1459
- Continue = 100,
1460
- SwitchingProtocols = 101,
1461
- OK = 200,
1462
- Created = 201,
1463
- Accepted = 202,
1464
- NonAuthoritativeInformation = 203,
1465
- NoContent = 204,
1466
- ResetContent = 205,
1467
- PartialContent = 206,
1468
- MultipleChoices = 300,
1469
- MovedPermanently = 301,
1470
- Redirect = 302,
1471
- SeeOther = 303,
1472
- NotModified = 304,
1473
- UseProxy = 305,
1474
- Unused = 306,
1475
- TemporaryRedirect = 307,
1476
- BadRequest = 400,
1477
- Unauthorized = 401,
1478
- PaymentRequired = 402,
1479
- Forbidden = 403,
1480
- NotFound = 404,
1481
- MethodNotAllowed = 405,
1482
- NotAcceptable = 406,
1483
- ProxyAuthenticationRequired = 407,
1484
- RequestTimeout = 408,
1485
- Conflict = 409,
1486
- Gone = 410,
1487
- LengthRequired = 411,
1488
- PreconditionFailed = 412,
1489
- RequestEntityTooLarge = 413,
1490
- RequestUriTooLong = 414,
1491
- UnsupportedMediaType = 415,
1492
- RequestedRangeNotSatisfiable = 416,
1493
- ExpectationFailed = 417,
1494
- UpgradeRequired = 426,
1495
- InternalServerError = 500,
1496
- NotImplemented = 501,
1497
- BadGateway = 502,
1498
- ServiceUnavailable = 503,
1499
- GatewayTimeout = 504,
1500
- HttpVersionNotSupported = 505
1501
- }
1502
-
1503
- export type HttpStatusCodeString = keyof typeof HttpStatusCode;
1504
-
1505
- export enum AgencyInvestmentType {
1506
- Minimum = 0,
1507
- Goal = 1
1508
- }
1509
-
1510
- export type AgencyInvestmentTypeString = keyof typeof AgencyInvestmentType;
1511
-
1512
1466
  export enum ConferenceRegistrationStatus {
1513
1467
  Open = 0,
1514
1468
  NotStarted = 1,
@@ -1605,6 +1559,60 @@ export enum AddressTypes {
1605
1559
 
1606
1560
  export type AddressTypesString = keyof typeof AddressTypes;
1607
1561
 
1562
+ export enum HttpStatusCode {
1563
+ Continue = 100,
1564
+ SwitchingProtocols = 101,
1565
+ OK = 200,
1566
+ Created = 201,
1567
+ Accepted = 202,
1568
+ NonAuthoritativeInformation = 203,
1569
+ NoContent = 204,
1570
+ ResetContent = 205,
1571
+ PartialContent = 206,
1572
+ MultipleChoices = 300,
1573
+ MovedPermanently = 301,
1574
+ Redirect = 302,
1575
+ SeeOther = 303,
1576
+ NotModified = 304,
1577
+ UseProxy = 305,
1578
+ Unused = 306,
1579
+ TemporaryRedirect = 307,
1580
+ BadRequest = 400,
1581
+ Unauthorized = 401,
1582
+ PaymentRequired = 402,
1583
+ Forbidden = 403,
1584
+ NotFound = 404,
1585
+ MethodNotAllowed = 405,
1586
+ NotAcceptable = 406,
1587
+ ProxyAuthenticationRequired = 407,
1588
+ RequestTimeout = 408,
1589
+ Conflict = 409,
1590
+ Gone = 410,
1591
+ LengthRequired = 411,
1592
+ PreconditionFailed = 412,
1593
+ RequestEntityTooLarge = 413,
1594
+ RequestUriTooLong = 414,
1595
+ UnsupportedMediaType = 415,
1596
+ RequestedRangeNotSatisfiable = 416,
1597
+ ExpectationFailed = 417,
1598
+ UpgradeRequired = 426,
1599
+ InternalServerError = 500,
1600
+ NotImplemented = 501,
1601
+ BadGateway = 502,
1602
+ ServiceUnavailable = 503,
1603
+ GatewayTimeout = 504,
1604
+ HttpVersionNotSupported = 505
1605
+ }
1606
+
1607
+ export type HttpStatusCodeString = keyof typeof HttpStatusCode;
1608
+
1609
+ export enum AgencyInvestmentType {
1610
+ Minimum = 0,
1611
+ Goal = 1
1612
+ }
1613
+
1614
+ export type AgencyInvestmentTypeString = keyof typeof AgencyInvestmentType;
1615
+
1608
1616
  export enum LessonAttemptStatus {
1609
1617
  Pass = 0,
1610
1618
  Fail = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.0.341",
3
+ "version": "2.0.342",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [