@leavittsoftware/lg-core-typescript 6.12.0 → 6.14.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.
@@ -1 +1 @@
1
- {"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AA2pIA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,2FAAkB,CAAA;IAClB,qFAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAID,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC7B,2EAAa,CAAA;IACb,6EAAc,CAAA;IACd,uEAAW,CAAA;IACX,+EAAe,CAAA;IACf,uEAAW,CAAA;IACX,yEAAY,CAAA;AAChB,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAID,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,yEAAY,CAAA;IACZ,6EAAc,CAAA;IACd,+EAAe,CAAA;IACf,uEAAW,CAAA;AACf,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAID,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,2EAAqB,CAAA;IACrB,6EAAsB,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CAAA;IACV,qFAAW,CAAA;AACf,CAAC,EAJW,4BAA4B,KAA5B,4BAA4B,QAIvC;AAID,MAAM,CAAN,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACpC,4FAAe,CAAA;IACf,4FAAe,CAAA;IACf,4FAAe,CAAA;AACnB,CAAC,EAJW,4BAA4B,KAA5B,4BAA4B,QAIvC;AAID,MAAM,CAAN,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IAClC,uFAAc,CAAA;IACd,uFAAc,CAAA;IACd,iGAAmB,CAAA;AACvB,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC;AAID,MAAM,CAAN,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IAClC,uFAAc,CAAA;IACd,uFAAc,CAAA;IACd,iGAAmB,CAAA;AACvB,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC"}
@@ -6,7 +6,7 @@
6
6
  import { UnionConcat } from './enum-helpers'
7
7
  import { CLIENT_STATUSString, BUSINESS_TYPEString, PHONE_TYPEString, PLAN_STATUSString, SPLIT_TYPE_VALUESString } from './lg.net.benefitpoint.datalake.warehouse'
8
8
  import { IDatabaseAttachment } from './lg.net.system'
9
- import { VehicleReservationStatusString, VehicleUnavailableReasonString, TaskStatusTypeString, TimelineEnabledPage, PolicyTypeString, ProducerCommissionRate, FailReason, DifferedCompensation, Expectation, SalesExpectationStatusTypeString, Person, LifestyleEnhancement, TangibleGift, IncreaseTypeString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, PhoneNumberTypeString, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, DocumentFieldValueTypeString, EmploymentTypeString, QuoteRequestContactMethodString, CFCQuoteTypeString, CarrierAppointmentStatusString, BartInstanceAdminAccessLevelString, BartBillingFrequencyString, BartBillingCycleStatusString, BartBankAccountTypeString, BartDependentRelationshipTypeString, BartEmployeeStatusString, BartCoverageTierString, BartEmployeeImportPropertyString, BartEmployeeImportColumnMatchString, BartCollectionMethodString, BartDeductionTypeString, BartDeductionRoleString, BartAgeBasisString, BartAgeCalculationBasisString, BartSalaryBasisString, BartPlanTypeString, BartRateTypeString, Ams360PolicyFieldsTypeString, Ams360CustomerFieldsExclusionTypeString, Ams360CustomerFieldsTypeString, Ams360PolicyStatusTypeString, CourseImage, CourseEffectiveAssigneePerson, CourseItem, TestQuestion, CourseSourceTypeString, QuestionTypeString, CourseTopicImage } from './lg.net.core'
9
+ import { HandlesPHIStateTypeString, NewEmploymentTypeTargetPropertyTypeString, SoldInsurancePropertyTypeString, StaffingOptionTypePropertyTypeString, PeopleGroupTypeString, GroupLogicalOperatorString, PriorityTypeString, WorkforceTaskTriggerString, VehicleReservationStatusString, VehicleUnavailableReasonString, TaskStatusTypeString, TimelineEnabledPage, PolicyTypeString, ProducerCommissionRate, FailReason, DifferedCompensation, Expectation, SalesExpectationStatusTypeString, Person, LifestyleEnhancement, TangibleGift, IncreaseTypeString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, PhoneNumberTypeString, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, DocumentFieldValueTypeString, EmploymentTypeString, QuoteRequestContactMethodString, CFCQuoteTypeString, CarrierAppointmentStatusString, BartInstanceAdminAccessLevelString, BartBillingFrequencyString, BartBillingCycleStatusString, BartBankAccountTypeString, BartDependentRelationshipTypeString, BartEmployeeStatusString, BartCoverageTierString, BartEmployeeImportPropertyString, BartEmployeeImportColumnMatchString, BartCollectionMethodString, BartDeductionTypeString, BartDeductionRoleString, BartAgeBasisString, BartAgeCalculationBasisString, BartSalaryBasisString, BartPlanTypeString, BartRateTypeString, Ams360PolicyFieldsTypeString, Ams360CustomerFieldsExclusionTypeString, Ams360CustomerFieldsTypeString, Ams360PolicyStatusTypeString, CourseImage, CourseEffectiveAssigneePerson, CourseItem, TestQuestion, CourseSourceTypeString, QuestionTypeString, CourseTopicImage } from './lg.net.core'
10
10
 
11
11
  export interface ICompanySelect {
12
12
  Id: number;
@@ -22,12 +22,179 @@ export interface PersonLimitedDataDto {
22
22
  ProfilePictureCdnFileName?: string | null ;
23
23
  }
24
24
 
25
- export interface WorkforceApplicationLogoDto {
26
- CdnFileName?: string | null ;
27
- Extension?: string | null ;
25
+ export interface DeleteWorkforceDistributionGroupContactDto {
28
26
  Id: number;
29
- PreviewExtension?: string | null ;
30
- PreviewSizes?: string | null ;
27
+ }
28
+
29
+ export interface UpsertWorkforceDistributionGroupContactDto {
30
+ Email: string;
31
+ FirstName?: string | null ;
32
+ Id?: number | null ;
33
+ LastName?: string | null ;
34
+ }
35
+
36
+ export interface UpsertWorkforceLssApplicationDto {
37
+ Description?: string | null ;
38
+ Id?: number | null ;
39
+ Image?: File | null ;
40
+ IsActive?: boolean;
41
+ IsDiscoverable?: boolean;
42
+ Name: string;
43
+ Owner: string;
44
+ TagIds: Array<number>;
45
+ UpdateLogo?: boolean;
46
+ URL?: string | null ;
47
+ }
48
+
49
+ export interface UpsertWorkforcePermissionDto {
50
+ ApplicationIds: Array<number>;
51
+ Description?: string | null ;
52
+ Id?: number | null ;
53
+ Name: string;
54
+ }
55
+
56
+ export interface UpsertWorkforceTaskTemplateAssigneesDto {
57
+ AssignToApOfHire?: boolean;
58
+ AssignToControllerOfHire?: boolean;
59
+ AssignToHire?: boolean;
60
+ AssignToSupervisorOfHire?: boolean;
61
+ CreateITTicket?: boolean;
62
+ DisableEmailNotifications?: boolean;
63
+ GroupIds: Array<number>;
64
+ PersonIds: Array<number>;
65
+ }
66
+
67
+ export interface UpsertWorkforceTaskTemplateBlockingDto {
68
+ BlockedByTemplateIds: Array<number>;
69
+ BlockedTemplateIds: Array<number>;
70
+ }
71
+
72
+ export interface UpsertWorkforceTaskTemplateTargetsDto {
73
+ CompanyIds: Array<number>;
74
+ DepartmentIds: Array<number>;
75
+ ExcludedCompanyIds: Array<number>;
76
+ HandlesPHIType: HandlesPHIStateTypeString;
77
+ JobRoleTypeIds: Array<number>;
78
+ NewEmploymentTypeProperties: NewEmploymentTypeTargetPropertyTypeString;
79
+ SoldInsuranceProperties: SoldInsurancePropertyTypeString;
80
+ StaffingOptionTypeProperties: StaffingOptionTypePropertyTypeString;
81
+ TargetAnyCompany?: boolean;
82
+ TargetAnyDepartment?: boolean;
83
+ TargetAnyJobRoleType?: boolean;
84
+ }
85
+
86
+ export interface WorkforceApplicationLogoDto extends IDatabaseAttachment {
87
+ }
88
+
89
+ export interface WorkforceApplicationOptionDto {
90
+ Description?: string | null ;
91
+ Id: number;
92
+ Logo?: Partial<WorkforceApplicationLogoDto> | null ;
93
+ Name: string;
94
+ }
95
+
96
+ export interface WorkforceCompanyOptionDto {
97
+ DarkMarkUrl?: string | null ;
98
+ Id: number;
99
+ MarkUrl?: string | null ;
100
+ Name?: string | null ;
101
+ ShortName?: string | null ;
102
+ }
103
+
104
+ export interface WorkforceDepartmentOptionDto {
105
+ Company?: Partial<WorkforceCompanyOptionDto> | null ;
106
+ CompanyId: number;
107
+ Id: number;
108
+ Name?: string | null ;
109
+ }
110
+
111
+ export interface WorkforceDistributionGroupContactDto {
112
+ Email?: string | null ;
113
+ FirstName?: string | null ;
114
+ Id: number;
115
+ LastName?: string | null ;
116
+ }
117
+
118
+ export interface WorkforceJobRoleTypeListItemDto {
119
+ AssignerPeopleCount: number;
120
+ AssignerPeopleGroupCount: number;
121
+ CategoryName?: string | null ;
122
+ CreatedBy?: Partial<WorkforcePersonSummaryDto> | null ;
123
+ CreatedDate: string;
124
+ EnableDepartmentAssignment?: boolean;
125
+ Id: number;
126
+ IsFullTimeEquivalenceType?: boolean;
127
+ JobRoleCount: number;
128
+ LastModifiedBy?: Partial<WorkforcePersonSummaryDto> | null ;
129
+ LastModifiedDate?: string | null ;
130
+ Name?: string | null ;
131
+ }
132
+
133
+ export interface WorkforceJobRoleTypeOptionDto {
134
+ Id: number;
135
+ Name?: string | null ;
136
+ }
137
+
138
+ export interface WorkforcePeopleGroupChildDto {
139
+ Discriminator?: string | null ;
140
+ IsExcluded?: boolean;
141
+ Name: string;
142
+ PeopleGroupId: number;
143
+ }
144
+
145
+ export interface WorkforcePeopleGroupEditDto {
146
+ CanChangeType?: boolean;
147
+ CanDelete?: boolean;
148
+ CanEdit?: boolean;
149
+ CanRename?: boolean;
150
+ Description?: string | null ;
151
+ Discriminator?: string | null ;
152
+ DistributionGroupContactsCount: number;
153
+ Id: number;
154
+ IsCustom?: boolean;
155
+ Name: string;
156
+ Type: PeopleGroupTypeString;
157
+ }
158
+
159
+ export interface WorkforcePeopleGroupListItemDto {
160
+ CreatedBy?: Partial<WorkforcePersonSummaryDto> | null ;
161
+ CreatedDate: string;
162
+ Description?: string | null ;
163
+ Discriminator?: string | null ;
164
+ DistributionGroupEmailAddress?: string | null ;
165
+ EffectiveMembersCount: number;
166
+ Id: number;
167
+ Name: string;
168
+ Type: PeopleGroupTypeString;
169
+ }
170
+
171
+ export interface WorkforcePeopleGroupMembershipDto {
172
+ CanManage?: boolean;
173
+ CanManageContacts?: boolean;
174
+ Discriminator?: string | null ;
175
+ DistributionGroupContacts: Array<Partial<WorkforceDistributionGroupContactDto>>;
176
+ GroupOperator: GroupLogicalOperatorString;
177
+ Id: number;
178
+ IsCustom?: boolean;
179
+ Name: string;
180
+ People: Array<Partial<WorkforcePeopleGroupPersonDto>>;
181
+ PeopleGroups: Array<Partial<WorkforcePeopleGroupChildDto>>;
182
+ Type: PeopleGroupTypeString;
183
+ }
184
+
185
+ export interface WorkforcePeopleGroupPersonDto {
186
+ FullName?: string | null ;
187
+ IsActive?: boolean;
188
+ IsExcluded?: boolean;
189
+ PersonId: number;
190
+ ProfilePictureCdnFileName?: string | null ;
191
+ }
192
+
193
+ export interface WorkforcePermissionAccessDto {
194
+ Id: number;
195
+ Name: string;
196
+ People: Array<Partial<WorkforcePermissionPersonDto>>;
197
+ PeopleGroups: Array<Partial<WorkforcePermissionGroupDto>>;
31
198
  }
32
199
 
33
200
  export interface WorkforcePermissionApplicationDto {
@@ -40,11 +207,50 @@ export interface WorkforcePermissionDto {
40
207
  PermissionId: number;
41
208
  }
42
209
 
210
+ export interface WorkforcePermissionEditDto {
211
+ ApplicationIds: Array<number>;
212
+ CanDelete?: boolean;
213
+ CanRename?: boolean;
214
+ Description?: string | null ;
215
+ Id: number;
216
+ Name: string;
217
+ }
218
+
43
219
  export interface WorkforcePermissionGroupDto {
220
+ Discriminator?: string | null ;
44
221
  Id: number;
45
222
  Name: string;
46
223
  }
47
224
 
225
+ export interface WorkforcePermissionListItemDto {
226
+ Applications: Array<Partial<WorkforcePermissionApplicationDto>>;
227
+ CreatedDate: string;
228
+ Description?: string | null ;
229
+ Id: number;
230
+ IsGrantedToMe?: boolean;
231
+ IsGrantedViaGroup?: boolean;
232
+ LastModifiedDate: string;
233
+ Name: string;
234
+ }
235
+
236
+ export interface WorkforcePermissionPersonDto {
237
+ FullName?: string | null ;
238
+ IsActive?: boolean;
239
+ PersonId: number;
240
+ ProfilePictureCdnFileName?: string | null ;
241
+ }
242
+
243
+ export interface WorkforcePersonPeopleGroupDto {
244
+ CanManage?: boolean;
245
+ Discriminator?: string | null ;
246
+ EffectiveMembersCount: number;
247
+ Id: number;
248
+ IsDirectMember?: boolean;
249
+ Members: Array<Partial<WorkforcePersonSummaryDto>>;
250
+ Name: string;
251
+ Type: PeopleGroupTypeString;
252
+ }
253
+
48
254
  export interface WorkforcePersonPermissionDto {
49
255
  Applications: Array<Partial<WorkforcePermissionApplicationDto>>;
50
256
  CanRevoke?: boolean;
@@ -56,6 +262,59 @@ export interface WorkforcePersonPermissionDto {
56
262
  PermissionId: number;
57
263
  }
58
264
 
265
+ export interface WorkforcePersonSummaryDto {
266
+ CompanyName?: string | null ;
267
+ FullName?: string | null ;
268
+ Id: number;
269
+ ProfilePictureCdnFileName?: string | null ;
270
+ }
271
+
272
+ export interface WorkforceTaskCategoryDto {
273
+ IconName?: string | null ;
274
+ Id: number;
275
+ Name: string;
276
+ Sequence: number;
277
+ }
278
+
279
+ export interface WorkforceTaskTemplateDto {
280
+ AssigneeGroups: Array<Partial<WorkforcePermissionGroupDto>>;
281
+ AssigneePeople: Array<Partial<WorkforcePermissionPersonDto>>;
282
+ AssignToApOfHire?: boolean;
283
+ AssignToControllerOfHire?: boolean;
284
+ AssignToHire?: boolean;
285
+ AssignToSupervisorOfHire?: boolean;
286
+ BlockedTemplates: Array<Partial<WorkforceTaskTemplateOptionDto>>;
287
+ BlockingTemplates: Array<Partial<WorkforceTaskTemplateOptionDto>>;
288
+ Body?: string | null ;
289
+ Category?: Partial<WorkforceTaskCategoryDto> | null ;
290
+ CreateITTicket?: boolean;
291
+ DisableEmailNotifications?: boolean;
292
+ DueDateOffset?: number | null ;
293
+ HandlesPHIType?: HandlesPHIStateTypeString | null ;
294
+ IconName?: string | null ;
295
+ Id: number;
296
+ IsActive?: boolean;
297
+ Name: string;
298
+ NewEmploymentTypeProperties: NewEmploymentTypeTargetPropertyTypeString;
299
+ Priority: PriorityTypeString;
300
+ SoldInsuranceProperties: SoldInsurancePropertyTypeString;
301
+ StaffingOptionTypeProperties: StaffingOptionTypePropertyTypeString;
302
+ TargetAnyCompany?: boolean;
303
+ TargetAnyDepartment?: boolean;
304
+ TargetAnyJobRoleType?: boolean;
305
+ TargetCompanies: Array<Partial<WorkforceCompanyOptionDto>>;
306
+ TargetDepartments: Array<Partial<WorkforceDepartmentOptionDto>>;
307
+ TargetExclusionCompanies: Array<Partial<WorkforceCompanyOptionDto>>;
308
+ TargetJobRoleTypes: Array<Partial<WorkforceJobRoleTypeOptionDto>>;
309
+ Trigger: WorkforceTaskTriggerString;
310
+ }
311
+
312
+ export interface WorkforceTaskTemplateOptionDto {
313
+ IconName?: string | null ;
314
+ Id: number;
315
+ Name: string;
316
+ }
317
+
59
318
  export interface WorkforceUnassignedPermissionDto {
60
319
  Applications: Array<Partial<WorkforcePermissionApplicationDto>>;
61
320
  Description?: string | null ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "6.12.0",
3
+ "version": "6.14.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.typescript.js",
6
6
  "files": [