@leavittsoftware/lg-core-typescript 4.181.1 → 4.183.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.
@@ -127,6 +127,13 @@ export var SearchSource;
127
127
  SearchSource[SearchSource["AMS360"] = 1] = "AMS360";
128
128
  SearchSource[SearchSource["CRM"] = 2] = "CRM";
129
129
  })(SearchSource || (SearchSource = {}));
130
+ export var CloseCompanyType;
131
+ (function (CloseCompanyType) {
132
+ CloseCompanyType[CloseCompanyType["CorporateDisposal"] = 0] = "CorporateDisposal";
133
+ CloseCompanyType[CloseCompanyType["Disaffiliation"] = 1] = "Disaffiliation";
134
+ CloseCompanyType[CloseCompanyType["Merger"] = 2] = "Merger";
135
+ CloseCompanyType[CloseCompanyType["None"] = 3] = "None";
136
+ })(CloseCompanyType || (CloseCompanyType = {}));
130
137
  export var CompanyRoleType;
131
138
  (function (CompanyRoleType) {
132
139
  CompanyRoleType[CompanyRoleType["LLCCompanyRole"] = 0] = "LLCCompanyRole";
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAw5HA,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC5B,qEAAW,CAAA;IACX,+DAAQ,CAAA;AACZ,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B;AAID,MAAM,CAAN,IAAY,cA8DX;AA9DD,WAAY,cAAc;IACtB,6DAAc,CAAA;IACd,iFAAwB,CAAA;IACxB,iEAAgB,CAAA;IAChB,iEAAgB,CAAA;IAChB,iDAAQ,CAAA;IACR,2DAAa,CAAA;IACb,6DAAc,CAAA;IACd,mGAAiC,CAAA;IACjC,+DAAe,CAAA;IACf,qEAAkB,CAAA;IAClB,yEAAoB,CAAA;IACpB,mEAAiB,CAAA;IACjB,2EAAqB,CAAA;IACrB,yDAAY,CAAA;IACZ,+DAAe,CAAA;IACf,uDAAW,CA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AAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,+DAAQ,CAAA;IACR,iEAAS,CAAA;IACT,uEAAY,CAAA;AAChB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B;AAID,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,0BAIX;AAJD,WAAY,0BAA0B;IAClC,yFAAe,CAAA;IACf,6FAAiB,CAAA;IACjB,uGAAsB,CAAA;AAC1B,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC;AAID,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mEAAY,CAAA;IACZ,uEAAc,CAAA;IACd,6EAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;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,gBAKX;AALD,WAAY,gBAAgB;IACxB,iFAAqB,CAAA;IACrB,2EAAkB,CAAA;IAClB,2DAAU,CAAA;IACV,uDAAQ,CAAA;AACZ,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -9,7 +9,7 @@ import { IDatabaseAttachment } from './lg.net.system'
9
9
  import { LogEntryLevelString,LogEntryTypeString } from './lg.net.automation'
10
10
  import { ConstructionTypeString,FoundationTypeString,NumberOfStoriesString,OccupantTypeString,HeatTypeString,ResidenceTypeString,RoofTypeString,PersonalPropertyContactMethodString,PersonalPropertyQuoteTypeString,PersonalPropertyQuoteRequest,AutoDriver,AutoVehicle,EducationTypeString,HomeStyleString,CoApplicantRelationshipToInsuredString,OverallQualityString,PersonalPropertyLastPageVisitedString,PersonalPropertyLineOfBusinessString,PersonalPropertySiteSeedString,LifeQuoteRequestStatusString,GenderTypeString,ProductTypeString,TobaccoTypeString,HealthRatingTypeString,HartfordQuoteRequest,HartfordLastPageVisitedString } from './lg.net.leavittlink'
11
11
  import { ManualEntryBudget,ManualEntryGeneralLedger,ManualEntryProduction } from './lg.net.ams360datawarehouse'
12
- import { Tv,SurveyResponse,StationeryPrice,Stationery,TaskStatusTypeString,TimelineEnabledPage,Ams360PersonRole,Ams360SupplementalCode,AgencyLOBPercentage,Company,CarrierQuoteDocumentPolicyTypeString,CarrierQuoteDocumentStageTypeString,PLGamePointToCustomQuestionValue,PLGameTeamPersonRole,PLGamePointTypeString,PLGameScoreboardToPlayerGroup,PrizeDistributionOptionString,PLGamePrize,ApplicationToApplicationTag,Person,PermissionToApplication,ProducerCommissionRate,FailReason,DifferedCompensation,Expectation,SalesExpectationStatusTypeString,LifestyleEnhancement,TangibleGift,LandlordTypeString,LeaseNotificationOptionsString,LeaseTypeString,PhoneNumberTypeString,AddressTypeString,GuidingPrinciple,JobRoleAssignmentTypeString,EmailAddressTypesString,UserRoleTypeString,Department,EmploymentTypeString,CompanyAddress,SignatureValue,SignatureTemplateToCompany,LessonAttemptStatusString,EducationCourseImage,EducationCourseCertificate,EducationQuestion,DocumentType,Document,ConnectedStatusString,ChampionMeetingTypeString,ServiceToChampion,ServiceToCompany,FiscalYearEndString,CompanyLogo,CompanyOwnership,CLGamePoint,CLGameSegment,CLGameScoreboardToPlayerGroup,CLGamePrize } from './lg.net.core'
12
+ import { Tv,SurveyQuestionTypeString,SurveyResponse,SurveyQuestion,StationeryPrice,Stationery,TaskStatusTypeString,TimelineEnabledPage,Ams360PersonRole,Ams360SupplementalCode,AgencyLOBPercentage,Company,CarrierQuoteDocumentPolicyTypeString,CarrierQuoteDocumentStageTypeString,PLGamePointToCustomQuestionValue,PLGameTeamPersonRole,PLGamePointTypeString,PLGameScoreboardToPlayerGroup,PrizeDistributionOptionString,PLGamePrize,ApplicationToApplicationTag,Person,PermissionToApplication,ProducerCommissionRate,FailReason,DifferedCompensation,Expectation,SalesExpectationStatusTypeString,LifestyleEnhancement,TangibleGift,LandlordTypeString,LeaseNotificationOptionsString,LeaseTypeString,PhoneNumberTypeString,AddressTypeString,GuidingPrinciple,JobRoleAssignmentTypeString,EmailAddressTypesString,UserRoleTypeString,Department,EmploymentTypeString,CompanyAddress,SignatureValue,SignatureTemplateToCompany,LessonAttemptStatusString,EducationCourseImage,EducationCourseCertificate,EducationQuestion,DocumentType,Document,ConnectedStatusString,ChampionMeetingTypeString,ServiceToChampion,ServiceToCompany,FiscalYearEndString,CompanyLogo,CompanyOwnership,CLGamePoint,CLGameSegment,CLGameScoreboardToPlayerGroup,CLGamePrize } from './lg.net.core'
13
13
 
14
14
  export interface BookedByPersonId {
15
15
  Booked_TTM: Partial<number>;
@@ -156,6 +156,13 @@ export interface FruitHolderDto {
156
156
  PersonId: number;
157
157
  }
158
158
 
159
+ export interface SurveyAnswerDto {
160
+ Id: number;
161
+ QuestionId: number;
162
+ Sequence: number;
163
+ Text: string | null;
164
+ }
165
+
159
166
  export interface SurveyDto {
160
167
  Description: string | null;
161
168
  ExpirationDate: string | null;
@@ -175,10 +182,30 @@ export interface SurveyGroupSourceDto {
175
182
  PersonId: number;
176
183
  }
177
184
 
185
+ export interface SurveyQuestionDto {
186
+ AllowComments: boolean;
187
+ Id: number;
188
+ IsRequired: boolean;
189
+ Sequence: number;
190
+ SurveyAnswers: Array<Partial<SurveyAnswerDto>>;
191
+ Text: string | null;
192
+ Type: SurveyQuestionTypeString;
193
+ }
194
+
178
195
  export interface SurveyResponseDto {
179
196
  responses: Array<Partial<SurveyResponse>>;
180
197
  }
181
198
 
199
+ export interface SurveyReturnDto {
200
+ Id: number;
201
+ Name: string | null;
202
+ Questions: Array<Partial<SurveyQuestionDto>>;
203
+ }
204
+
205
+ export interface SurveySaveDto {
206
+ Questions: Array<Partial<SurveyQuestion>>;
207
+ }
208
+
182
209
  export interface SurgeCarouselSlideAttachmentReorderDto {
183
210
  SurgeCarouselSlideAttachments: Array<Partial<SequenceDto>>;
184
211
  }
@@ -3446,6 +3473,10 @@ export interface AgencySearchInfo {
3446
3473
  RemoteLocationCount: number;
3447
3474
  }
3448
3475
 
3476
+ export interface CloseCompanyDto {
3477
+ Type: CloseCompanyTypeString;
3478
+ }
3479
+
3449
3480
  export interface CompanyAddressUpsertDto {
3450
3481
  BuildingNicknameId: number | null;
3451
3482
  City: string | null;
@@ -3528,11 +3559,6 @@ export interface LocationRequestDto {
3528
3559
  Zip: string | null;
3529
3560
  }
3530
3561
 
3531
- export interface MergerDto {
3532
- DestCompanyId: number;
3533
- Locations: Array<Partial<MergerLocationsDto>>;
3534
- }
3535
-
3536
3562
  export interface MergerLocationsDto {
3537
3563
  CurrLocationId: number;
3538
3564
  DestLocationId: number;
@@ -4144,6 +4170,15 @@ export enum SearchSource {
4144
4170
 
4145
4171
  export type SearchSourceString = keyof typeof SearchSource;
4146
4172
 
4173
+ export enum CloseCompanyType {
4174
+ CorporateDisposal = 0,
4175
+ Disaffiliation = 1,
4176
+ Merger = 2,
4177
+ None = 3
4178
+ }
4179
+
4180
+ export type CloseCompanyTypeString = keyof typeof CloseCompanyType;
4181
+
4147
4182
  export enum CompanyRoleType {
4148
4183
  LLCCompanyRole = 0,
4149
4184
  AgencyRole = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "4.181.1",
3
+ "version": "4.183.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.typescript.js",
6
6
  "files": [