@htilabs/platform-common-models 0.87.0 → 0.88.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/dist/index.d.cts CHANGED
@@ -9,7 +9,7 @@ export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunct
9
9
  export { AccommodationTypeKey, AccommodationTypeKeys, ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, ActionStepTypeKey, ActionStepTypeKeys, ActivityTypeKey, ActivityTypeKeys, AdminRoleKey, AdminRoleKeys, AdministeringJurisdictionKey, AdministeringJurisdictionKeys, AgeBinReportingKey, AgeBinReportingKeys, AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, AssertionDomainKey, AssertionDomainKeys, AssertionStatusKey, AssertionStatusKeys, BasisQuickPicksKey, BasisQuickPicksKeys, BirthCountryReportingKey, BirthCountryReportingKeys, CarCorrectionReasonKey, CarCorrectionReasonKeys, CaseShareChannelStateKey, CaseShareChannelStateKeys, CaseShareStateKey, CaseShareStateKeys, CheckInActivityKey, CheckInActivityKeys, CheckInPhaseKey, CheckInPhaseKeys, ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, ChildChangeTypeKey, ChildChangeTypeKeys, ChildCustodyArrangementKey, ChildCustodyArrangementKeys, CitizenshipKey, CitizenshipKeys, CollectionContextKey, CollectionContextKeys, ContactInfoTypeKey, ContactInfoTypeKeys, ContactInfoUseTypeKey, ContactInfoUseTypeKeys, ContactLinkTypeKey, ContactLinkTypeKeys, ContactSafetyStatusKey, ContactSafetyStatusKeys, CoreFunctionsKey, CoreFunctionsKeys, CoreIndicatorKey, CoreIndicatorKeys, CoreInformationScopeKey, CoreInformationScopeKeys, CoreReferralOutcomeKey, CoreReferralOutcomeKeys, CountryKey, CountryKeys, CreatedBySystemKey, CreatedBySystemKeys, CriminalOrgCategoryKey, CriminalOrgCategoryKeys, DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, DaIncidentConfidenceKey, DaIncidentConfidenceKeys, DaIncidentDayApproxKey, DaIncidentDayApproxKeys, DaIncidentSeverityKey, DaIncidentSeverityKeys, DeterminationHelperCategoryKey, DeterminationHelperCategoryKeys, DeterminationLevelKey, DeterminationLevelKeys, DhStateKey, DhStateKeys, DisabilityReportingKey, DisabilityReportingKeys, DisabilitySubtypeKey, DisabilitySubtypeKeys, DiscretionLevelKey, DiscretionLevelKeys, EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, EmergencyExitCascadeKey, EmergencyExitCascadeKeys, EmploymentStatusKey, EmploymentStatusKeys, EnglishProficiencyKey, EnglishProficiencyKeys, EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, ExitReasonsKey, ExitReasonsKeys, ExploitationTypeKey, ExploitationTypeKeys, EyeColorKey, EyeColorKeys, FacialHairKey, FacialHairKeys, FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, FacilitatorSubroleKey, FacilitatorSubroleKeys, FrequencyCadenceKey, FrequencyCadenceKeys, FunderKey, FunderKeys, GenderIdentityKey, GenderIdentityKeys, GenderReportingKey, GenderReportingKeys, GeneralDisabilityKey, GeneralDisabilityKeys, GoalCategoryKey, GoalCategoryKeys, GoalPriorityKey, GoalPriorityKeys, GoalStatusKey, GoalStatusKeys, GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, HairColorKey, HairColorKeys, HandlingFlagsKey, HandlingFlagsKeys, HasTattoosKey, HasTattoosKeys, HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, HivStatusKey, HivStatusKeys, HmisCurrentLivingSituationKey, HmisCurrentLivingSituationKeys, HmisProjectTypeKey, HmisProjectTypeKeys, HmisRelationshipToHohKey, HmisRelationshipToHohKeys, HomelessStatusKey, HomelessStatusKeys, HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, HopeScaleTierKey, HopeScaleTierKeys, HousingSubsidyTypesKey, HousingSubsidyTypesKeys, HtTypeKey, HtTypeKeys, IdentificationStatusKey, IdentificationStatusKeys, ImmigrationLegalStatusChangeTypeKey, ImmigrationLegalStatusChangeTypeKeys, IncarcerationEpisodeTypeKey, IncarcerationEpisodeTypeKeys, IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, IncidentParticipationRoleKey, IncidentParticipationRoleKeys, IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, InferenceTypeKey, InferenceTypeKeys, InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, JuvenileJusticeEpisodeTypeKey, JuvenileJusticeEpisodeTypeKeys, JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, LanguagesKey, LanguagesKeys, LeReportStatusKey, LeReportStatusKeys, LegalActionTypeKey, LegalActionTypeKeys, LivingSituationKey, LivingSituationKeys, LocationTypeKey, LocationTypeKeys, MaritalStatusLegalKey, MaritalStatusLegalKeys, MentalHealthStatusKey, MentalHealthStatusKeys, MessageReportReasonKey, MessageReportReasonKeys, MidStayEventTypeKey, MidStayEventTypeKeys, MilestoneTypeKey, MilestoneTypeKeys, MilitaryBranchKey, MilitaryBranchKeys, MilitaryStatusKey, MilitaryStatusKeys, MinorAdultStatusKey, MinorAdultStatusKeys, NameTypeKey, NameTypeKeys, NeedsAssessmentChangeTypeKey, NeedsAssessmentChangeTypeKeys, NeedsResidentialAgainKey, NeedsResidentialAgainKeys, OffenderStatusFamilyKey, OffenderStatusFamilyKeys, OffenderStatusKey, OffenderStatusKeys, OrientationIdentityKey, OrientationIdentityKeys, PersonRelationshipsKey, PersonRelationshipsKeys, PetExitReasonKey, PetExitReasonKeys, PetRelationshipBasisKey, PetRelationshipBasisKeys, PoPetitionBasisKey, PoPetitionBasisKeys, PoStatusKey, PoStatusKeys, PoViolationStatusKey, PoViolationStatusKeys, PreferredContactMethodKey, PreferredContactMethodKeys, PrimaryLanguageKey, PrimaryLanguageKeys, ProgramEnrollmentChangeTypeKey, ProgramEnrollmentChangeTypeKeys, ProgramSpecificCodeKey, ProgramSpecificCodeKeys, PronounsKey, PronounsKeys, ProofOfIdTypeKey, ProofOfIdTypeKeys, ProvenanceSourceIdKey, ProvenanceSourceIdKeys, QualityFlagsKey, QualityFlagsKeys, RaceEthnicityKey, RaceEthnicityKeys, RaceEthnicityReportingKey, RaceEthnicityReportingKeys, RadiusBucketKey, RadiusBucketKeys, RecencyBandKey, RecencyBandKeys, RecipientRoleKey, RecipientRoleKeys, RecordRemovalReasonKey, RecordRemovalReasonKeys, ReferenceLinkTypeKey, ReferenceLinkTypeKeys, ReferralEntityCategoryKey, ReferralEntityCategoryKeys, ReferralOriginKey, ReferralOriginKeys, RelationshipConcernKey, RelationshipConcernKeys, RelationshipDynamicsKey, RelationshipDynamicsKeys, RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, RelationshipTiesKey, RelationshipTiesKeys, ReportingAudienceKey, ReportingAudienceKeys, ReportingRegimeKey, ReportingRegimeKeys, ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, RiskCategoryKey, RiskCategoryKeys, RiskIdentificationMilestoneKey, RiskIdentificationMilestoneKeys, RiskSeverityBandKey, RiskSeverityBandKeys, RoiMethodKey, RoiMethodKeys, RoiScopeKey, RoiScopeKeys, RoiStatusKey, RoiStatusKeys, RoleContextKey, RoleContextKeys, RomanticRelationshipChangeTypeKey, RomanticRelationshipChangeTypeKeys, RsvpResponseKey, RsvpResponseKeys, ServiceAudienceKey, ServiceAudienceKeys, ServiceCategoryKey, ServiceCategoryKeys, ServiceDeliveryChangeTypeKey, ServiceDeliveryChangeTypeKeys, ServiceDeliveryChannelKey, ServiceDeliveryChannelKeys, ServiceMechanismKey, ServiceMechanismKeys, ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, ServiceSourceKey, ServiceSourceKeys, ServiceStateKey, ServiceStateKeys, SessionNoteVisibilityKey, SessionNoteVisibilityKeys, SessionStateKey, SessionStateKeys, SessionTemplateKey, SessionTemplateKeys, SeverityFollowUpKey, SeverityFollowUpKeys, SexProviderSubroleKey, SexProviderSubroleKeys, ShareCadenceKey, ShareCadenceKeys, SharePurposeKey, SharePurposeKeys, ShareReleaseBasisKey, ShareReleaseBasisKeys, ShareResponseReasonKey, ShareResponseReasonKeys, SignatureMethodKey, SignatureMethodKeys, SignatureTypeKey, SignatureTypeKeys, SitePurposeKey, SitePurposeKeys, SmtBodyLocationKey, SmtBodyLocationKeys, SmtNameRelationKey, SmtNameRelationKeys, SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, SmtTypeKey, SmtTypeKeys, SourceCategoryKey, SourceCategoryKeys, SourceInstrumentKey, SourceInstrumentKeys, SourceSubtypeKey, SourceSubtypeKeys, SourceSystemKey, SourceSystemKeys, SpecialNeedsDisabilitiesKey, SpecialNeedsDisabilitiesKeys, SubjectTypeKey, SubjectTypeKeys, SubstanceUseStatusKey, SubstanceUseStatusKeys, SuggestionSourceKey, SuggestionSourceKeys, SupportStrengthKey, SupportStrengthKeys, SupportTopicKey, SupportTopicKeys, ThreadStatusKey, ThreadStatusKeys, ThreadTypeKey, ThreadTypeKeys, TimeScopeKey, TimeScopeKeys, TraffickingRelevantRoleKey, TraffickingRelevantRoleKeys, TribesKey, TribesKeys, UserRoleKey, UserRoleKeys, VehicleBodyTypeKey, VehicleBodyTypeKeys, VehicleColorKey, VehicleColorKeys, VerificationMethodKey, VerificationMethodKeys, VerificationStatusKey, VerificationStatusKeys, VeteranStatusKey, VeteranStatusKeys, VictimAbuseTypesKey, VictimAbuseTypesKeys, VictimStatusFamilyKey, VictimStatusFamilyKeys, VisaTypeKey, VisaTypeKeys, WhyNotKey, WhyNotKeys } from './enums/index.cjs';
10
10
  export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.cjs';
11
11
  export { C as CreateInformationScopeResolverInput, I as INFORMATION_SCOPE_POLICY_VERSION_ROW_NOTE, a as INFORMATION_SCOPE_READABLE_VERSIONS, b as INFORMATION_SCOPE_SYSTEM_INFO, c as INFORMATION_SCOPE_VERSION, d as InformationScopeResolver, S as ScopeApp, e as ScopeApps, f as ScopeCodeReading, g as ScopeKindBranch, h as ScopeMigration, i as ScopeMigrationRule, j as ScopePersonKind, k as ScopeReadOptions, l as ScopeReading, m as ScopeReadingRule, n as ScopeReadingSubject, o as ScopeRetainedReading, p as ScopeRow, q as ScopeRowStatus, r as ScopeRowType, s as ScopeShareOptions, t as ScopeShareReason, u as ScopeShareVerdict, v as ScopeSpecialDataType, w as ScopeSubjectKind, x as StoredScopeList, y as createInformationScopeResolver, z as isScopeInstrumentRow, A as isScopeRestRow, B as isSelectableScopeRow, D as kindForPerson } from './informationScopeResolver-BYiubygD.cjs';
12
- export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, INFORMATION_SCOPE_CATEGORY_ORDER, INFORMATION_SCOPE_CATEGORY_SUB, INFORMATION_SCOPE_ROW_HINT, INFORMATION_SCOPE_ROW_ORDER, INFORMATION_SCOPE_UI_COPY_SOURCE, scopeCategorySub, scopeMigrationsFromSot, scopeRowDisplayOrder, scopeRowHint, scopeRowsFromSot, sortScopeCategories, sortScopeRows } from './information-scope/index.cjs';
12
+ export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, INFORMATION_SCOPE_CATEGORY_ORDER, INFORMATION_SCOPE_CATEGORY_SUB, INFORMATION_SCOPE_ROW_HINT, INFORMATION_SCOPE_ROW_ORDER, INFORMATION_SCOPE_UI_COPY_SOURCE, ROI_SCOPE_PRESETS, ROI_SCOPE_PRESETS_SCOPE_VERSION, ROI_SCOPE_PRESETS_SOURCE, ROI_SCOPE_PRESET_IDS, ROI_SCOPE_PRESET_ITEM_IDS, ROI_SCOPE_PRESET_LABELS, RoiScopePresetDefinition, RoiScopePresetId, RoiScopePresetRowLike, RoiScopePresetRowSource, isRoiScopePresetId, roiScopePresetById, roiScopePresetRows, scopeCategorySub, scopeMigrationsFromSot, scopeRowDisplayOrder, scopeRowHint, scopeRowsFromSot, sortScopeCategories, sortScopeRows } from './information-scope/index.cjs';
13
13
  export { CalendarDate, CalendarDateLike, DOB_MIN_YEAR, DobLike, PartialDob, PartialDobLike, ageFromDob, ageInputFromStoredDob, calendarDateOf, normalizeDob } from './age/index.cjs';
14
14
  export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, CORE_FUNCTION_NOTES, CORE_FUNCTION_NOTES_SOT_VERSION, CaseViewingAccess, CoreFunctionNotes, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, GoverningViewingPolicy, RecordViewingDecision, RecordViewingReason, ResolveEffectiveFunctionsInput, SeatAppAccessInput, SeatAppAccessResult, SeatAppAccessTeam, SeatAppAccessVia, StoredViewingWhitelist, VIEWING_LEVEL_FUNCTIONS, VIEWING_POLICY_SPECIES, VIEWING_POLICY_VOCABULARIES, ViewingContext, ViewingLevel, ViewingPolicyGoverning, ViewingPolicyNone, ViewingPolicyQuery, ViewingPolicyRef, ViewingPolicyScopeResolver, ViewingPolicyScopeVocab, ViewingPolicyUnavailable, ViewingPolicyUnavailableReason, ViewingPolicyVocabulary, ViewingRecord, ViewingScopeResolver, ViewingSurface, accountAppGrant, canonicalRoleCode, caseSurfacesAsStub, caseSurfacesOn, caseViewingAccess, codebookDefaultBound, coreFunctionNotes, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, recordViewing, resolveEffectiveFunctions, resolveEffectiveViewingLevel, resolveViewingPolicy, seatAppAccess, seatTeamApps, selectActingTeamId, teamViewingLevelFromPolicy, unavailableViewingPolicy, viewingComponentOpen, viewingLevelFromFunctions, viewingPolicyVocabulary, viewingRowVisible, viewingWhitelistFromPolicy } from './authz/index.cjs';
15
15
  export { AccountSharePurposePolicy, EffectiveSharingCeiling, EffectiveSharingCeilingInputs, FiredShare, HTI_SHARE_PLATFORM_PURPOSE_ENABLED, HTI_SHARE_PLATFORM_REQUIRED_BY_PURPOSE, HTI_SHARE_PLATFORM_STARTER, HTI_SHARE_PLATFORM_STARTER_SOURCE, INFORMATION_SCOPE_FIELD_HOME_ROWS, ReadStoredPolicyScopeOptions, SHARE_EVENT, SHARE_LEVEL_LABEL, SHARE_PLATFORM_STATE_LABEL, SHARE_POSTURE_RANK, SHARE_REPORTING_PURPOSES, SHARE_TRIGGER_EVENTS, SHARING_CEILING_DEFAULT_ROW_KEY, SHARING_CEILING_EXTERNAL_ROW_KEY, SHARING_CEILING_SCOPE_VERSION, ShareAttachmentIndex, ShareCategoryEntry, ShareDefaultScopeOptions, ShareEvent, ShareLevel, ShareListener, ShareNamedPolicy, SharePlatformDefault, SharePlatformState, SharePolicyAssignment, SharePolicyDoc, SharePosture, ShareRecipient, ShareResolution, ShareResolveInput, ShareTeamRowLike, ShareTriggerEventCode, SharingCeilingAllowed, SharingCeilingCellLike, SharingCeilingRung, SharingCeilingScope, SharingPlatformStarter, SharingPurposeLists, SharingScopeCeiling, SharingScopeEdits, StoredPolicyScopeOutcome, StoredPolicyScopeReading, StoredPolicyScopeTree, UNMARKED_POLICY_CARRY_VERSION, UNMARKED_POLICY_CATEGORY_CODES, UNMARKED_POLICY_CATEGORY_LINES, accountSharePurposePolicy, attachmentIndexFromPolicies, carryUnmarkedPolicyList, ceilingCoverage, derivePlatformDefault, effectiveCeiling, fireShareEvent, firedShareKey, hasOwnScopeContent, intersectSharingCeilingLists, isCeilingCoverageRow, isPermittedByCeiling, isSharingPurposeDisabled, liveCategories, maskSelectionToCeiling, matchTeamRow, platformDefaultFor, policyIsShareListener, readStoredPolicyScope, resolveShare, rowsExpandedByCeiling, rowsOutsideCeiling, rowsOverCeiling, scopeListCovers, scopeListStrictlyCovers, scopeRowWithinCeiling, shareDefaultScopeFor, shareListenersFor, shareRowCeiling, shareTriggerLabel, sharingCeilingCellList, sharingCeilingRowKey, sharingScopeEditsFromCells, systemCategoryOf } from './sharing-ceiling/index.cjs';
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { C as CvcEntryDoc, a as CvcRegistryDoc, F as FormDoc, P as PlatformFunct
9
9
  export { AccommodationTypeKey, AccommodationTypeKeys, ActionStepCompletionStatusKey, ActionStepCompletionStatusKeys, ActionStepTypeKey, ActionStepTypeKeys, ActivityTypeKey, ActivityTypeKeys, AdminRoleKey, AdminRoleKeys, AdministeringJurisdictionKey, AdministeringJurisdictionKeys, AgeBinReportingKey, AgeBinReportingKeys, AnnouncementAudienceScopeKey, AnnouncementAudienceScopeKeys, AnnouncementResponseTypeKey, AnnouncementResponseTypeKeys, AssertionDomainKey, AssertionDomainKeys, AssertionStatusKey, AssertionStatusKeys, BasisQuickPicksKey, BasisQuickPicksKeys, BirthCountryReportingKey, BirthCountryReportingKeys, CarCorrectionReasonKey, CarCorrectionReasonKeys, CaseShareChannelStateKey, CaseShareChannelStateKeys, CaseShareStateKey, CaseShareStateKeys, CheckInActivityKey, CheckInActivityKeys, CheckInPhaseKey, CheckInPhaseKeys, ChildBehavioralConcernsKey, ChildBehavioralConcernsKeys, ChildChangeTypeKey, ChildChangeTypeKeys, ChildCustodyArrangementKey, ChildCustodyArrangementKeys, CitizenshipKey, CitizenshipKeys, CollectionContextKey, CollectionContextKeys, ContactInfoTypeKey, ContactInfoTypeKeys, ContactInfoUseTypeKey, ContactInfoUseTypeKeys, ContactLinkTypeKey, ContactLinkTypeKeys, ContactSafetyStatusKey, ContactSafetyStatusKeys, CoreFunctionsKey, CoreFunctionsKeys, CoreIndicatorKey, CoreIndicatorKeys, CoreInformationScopeKey, CoreInformationScopeKeys, CoreReferralOutcomeKey, CoreReferralOutcomeKeys, CountryKey, CountryKeys, CreatedBySystemKey, CreatedBySystemKeys, CriminalOrgCategoryKey, CriminalOrgCategoryKeys, DaIncidentArchiveReasonKey, DaIncidentArchiveReasonKeys, DaIncidentConfidenceKey, DaIncidentConfidenceKeys, DaIncidentDayApproxKey, DaIncidentDayApproxKeys, DaIncidentSeverityKey, DaIncidentSeverityKeys, DeterminationHelperCategoryKey, DeterminationHelperCategoryKeys, DeterminationLevelKey, DeterminationLevelKeys, DhStateKey, DhStateKeys, DisabilityReportingKey, DisabilityReportingKeys, DisabilitySubtypeKey, DisabilitySubtypeKeys, DiscretionLevelKey, DiscretionLevelKeys, EmergencyContactCallReasonKey, EmergencyContactCallReasonKeys, EmergencyContactPermissionsKey, EmergencyContactPermissionsKeys, EmergencyExitCascadeKey, EmergencyExitCascadeKeys, EmploymentStatusKey, EmploymentStatusKeys, EnglishProficiencyKey, EnglishProficiencyKeys, EnrollmentApplicationStatusKey, EnrollmentApplicationStatusKeys, ExitProcessChecklistItemKey, ExitProcessChecklistItemKeys, ExitReasonsKey, ExitReasonsKeys, ExploitationTypeKey, ExploitationTypeKeys, EyeColorKey, EyeColorKeys, FacialHairKey, FacialHairKeys, FacilitatorEntityTypeKey, FacilitatorEntityTypeKeys, FacilitatorLabelUsedInSourceKey, FacilitatorLabelUsedInSourceKeys, FacilitatorSubroleKey, FacilitatorSubroleKeys, FrequencyCadenceKey, FrequencyCadenceKeys, FunderKey, FunderKeys, GenderIdentityKey, GenderIdentityKeys, GenderReportingKey, GenderReportingKeys, GeneralDisabilityKey, GeneralDisabilityKeys, GoalCategoryKey, GoalCategoryKeys, GoalPriorityKey, GoalPriorityKeys, GoalStatusKey, GoalStatusKeys, GoalWithdrawalReasonKey, GoalWithdrawalReasonKeys, HairColorKey, HairColorKeys, HandlingFlagsKey, HandlingFlagsKeys, HasTattoosKey, HasTattoosKeys, HighestEducationLevelCompletedKey, HighestEducationLevelCompletedKeys, HivStatusKey, HivStatusKeys, HmisCurrentLivingSituationKey, HmisCurrentLivingSituationKeys, HmisProjectTypeKey, HmisProjectTypeKeys, HmisRelationshipToHohKey, HmisRelationshipToHohKeys, HomelessStatusKey, HomelessStatusKeys, HopeScaleCaptureContextKey, HopeScaleCaptureContextKeys, HopeScaleResponseOptionsKey, HopeScaleResponseOptionsKeys, HopeScaleTierKey, HopeScaleTierKeys, HousingSubsidyTypesKey, HousingSubsidyTypesKeys, HtTypeKey, HtTypeKeys, IdentificationStatusKey, IdentificationStatusKeys, ImmigrationLegalStatusChangeTypeKey, ImmigrationLegalStatusChangeTypeKeys, IncarcerationEpisodeTypeKey, IncarcerationEpisodeTypeKeys, IncidentInvolvementRoleKey, IncidentInvolvementRoleKeys, IncidentParticipationRoleKey, IncidentParticipationRoleKeys, IncomeBenefitsSourcesKey, IncomeBenefitsSourcesKeys, InferenceTypeKey, InferenceTypeKeys, InvestigativeRequestTypeKey, InvestigativeRequestTypeKeys, JuvenileJusticeEpisodeTypeKey, JuvenileJusticeEpisodeTypeKeys, JuvenileJusticeInvolvementStatusKey, JuvenileJusticeInvolvementStatusKeys, LanguagesKey, LanguagesKeys, LeReportStatusKey, LeReportStatusKeys, LegalActionTypeKey, LegalActionTypeKeys, LivingSituationKey, LivingSituationKeys, LocationTypeKey, LocationTypeKeys, MaritalStatusLegalKey, MaritalStatusLegalKeys, MentalHealthStatusKey, MentalHealthStatusKeys, MessageReportReasonKey, MessageReportReasonKeys, MidStayEventTypeKey, MidStayEventTypeKeys, MilestoneTypeKey, MilestoneTypeKeys, MilitaryBranchKey, MilitaryBranchKeys, MilitaryStatusKey, MilitaryStatusKeys, MinorAdultStatusKey, MinorAdultStatusKeys, NameTypeKey, NameTypeKeys, NeedsAssessmentChangeTypeKey, NeedsAssessmentChangeTypeKeys, NeedsResidentialAgainKey, NeedsResidentialAgainKeys, OffenderStatusFamilyKey, OffenderStatusFamilyKeys, OffenderStatusKey, OffenderStatusKeys, OrientationIdentityKey, OrientationIdentityKeys, PersonRelationshipsKey, PersonRelationshipsKeys, PetExitReasonKey, PetExitReasonKeys, PetRelationshipBasisKey, PetRelationshipBasisKeys, PoPetitionBasisKey, PoPetitionBasisKeys, PoStatusKey, PoStatusKeys, PoViolationStatusKey, PoViolationStatusKeys, PreferredContactMethodKey, PreferredContactMethodKeys, PrimaryLanguageKey, PrimaryLanguageKeys, ProgramEnrollmentChangeTypeKey, ProgramEnrollmentChangeTypeKeys, ProgramSpecificCodeKey, ProgramSpecificCodeKeys, PronounsKey, PronounsKeys, ProofOfIdTypeKey, ProofOfIdTypeKeys, ProvenanceSourceIdKey, ProvenanceSourceIdKeys, QualityFlagsKey, QualityFlagsKeys, RaceEthnicityKey, RaceEthnicityKeys, RaceEthnicityReportingKey, RaceEthnicityReportingKeys, RadiusBucketKey, RadiusBucketKeys, RecencyBandKey, RecencyBandKeys, RecipientRoleKey, RecipientRoleKeys, RecordRemovalReasonKey, RecordRemovalReasonKeys, ReferenceLinkTypeKey, ReferenceLinkTypeKeys, ReferralEntityCategoryKey, ReferralEntityCategoryKeys, ReferralOriginKey, ReferralOriginKeys, RelationshipConcernKey, RelationshipConcernKeys, RelationshipDynamicsKey, RelationshipDynamicsKeys, RelationshipStatusCurrentKey, RelationshipStatusCurrentKeys, RelationshipTiesKey, RelationshipTiesKeys, ReportingAudienceKey, ReportingAudienceKeys, ReportingRegimeKey, ReportingRegimeKeys, ReturnedToAbuserStatusKey, ReturnedToAbuserStatusKeys, RiskCategoryKey, RiskCategoryKeys, RiskIdentificationMilestoneKey, RiskIdentificationMilestoneKeys, RiskSeverityBandKey, RiskSeverityBandKeys, RoiMethodKey, RoiMethodKeys, RoiScopeKey, RoiScopeKeys, RoiStatusKey, RoiStatusKeys, RoleContextKey, RoleContextKeys, RomanticRelationshipChangeTypeKey, RomanticRelationshipChangeTypeKeys, RsvpResponseKey, RsvpResponseKeys, ServiceAudienceKey, ServiceAudienceKeys, ServiceCategoryKey, ServiceCategoryKeys, ServiceDeliveryChangeTypeKey, ServiceDeliveryChangeTypeKeys, ServiceDeliveryChannelKey, ServiceDeliveryChannelKeys, ServiceMechanismKey, ServiceMechanismKeys, ServicePlanClosureReasonKey, ServicePlanClosureReasonKeys, ServicePlanReviewSnoozeReasonKey, ServicePlanReviewSnoozeReasonKeys, ServiceSourceKey, ServiceSourceKeys, ServiceStateKey, ServiceStateKeys, SessionNoteVisibilityKey, SessionNoteVisibilityKeys, SessionStateKey, SessionStateKeys, SessionTemplateKey, SessionTemplateKeys, SeverityFollowUpKey, SeverityFollowUpKeys, SexProviderSubroleKey, SexProviderSubroleKeys, ShareCadenceKey, ShareCadenceKeys, SharePurposeKey, SharePurposeKeys, ShareReleaseBasisKey, ShareReleaseBasisKeys, ShareResponseReasonKey, ShareResponseReasonKeys, SignatureMethodKey, SignatureMethodKeys, SignatureTypeKey, SignatureTypeKeys, SitePurposeKey, SitePurposeKeys, SmtBodyLocationKey, SmtBodyLocationKeys, SmtNameRelationKey, SmtNameRelationKeys, SmtSignificanceFlagsKey, SmtSignificanceFlagsKeys, SmtTypeKey, SmtTypeKeys, SourceCategoryKey, SourceCategoryKeys, SourceInstrumentKey, SourceInstrumentKeys, SourceSubtypeKey, SourceSubtypeKeys, SourceSystemKey, SourceSystemKeys, SpecialNeedsDisabilitiesKey, SpecialNeedsDisabilitiesKeys, SubjectTypeKey, SubjectTypeKeys, SubstanceUseStatusKey, SubstanceUseStatusKeys, SuggestionSourceKey, SuggestionSourceKeys, SupportStrengthKey, SupportStrengthKeys, SupportTopicKey, SupportTopicKeys, ThreadStatusKey, ThreadStatusKeys, ThreadTypeKey, ThreadTypeKeys, TimeScopeKey, TimeScopeKeys, TraffickingRelevantRoleKey, TraffickingRelevantRoleKeys, TribesKey, TribesKeys, UserRoleKey, UserRoleKeys, VehicleBodyTypeKey, VehicleBodyTypeKeys, VehicleColorKey, VehicleColorKeys, VerificationMethodKey, VerificationMethodKeys, VerificationStatusKey, VerificationStatusKeys, VeteranStatusKey, VeteranStatusKeys, VictimAbuseTypesKey, VictimAbuseTypesKeys, VictimStatusFamilyKey, VictimStatusFamilyKeys, VisaTypeKey, VisaTypeKeys, WhyNotKey, WhyNotKeys } from './enums/index.js';
10
10
  export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry, ICvcRegistry, RegistryLoader, RegistryScope, applyEntryOverrides, cascadeExclusions, cvcVersionsToRecord, resolveRegistryWithInheritance } from './services/index.js';
11
11
  export { C as CreateInformationScopeResolverInput, I as INFORMATION_SCOPE_POLICY_VERSION_ROW_NOTE, a as INFORMATION_SCOPE_READABLE_VERSIONS, b as INFORMATION_SCOPE_SYSTEM_INFO, c as INFORMATION_SCOPE_VERSION, d as InformationScopeResolver, S as ScopeApp, e as ScopeApps, f as ScopeCodeReading, g as ScopeKindBranch, h as ScopeMigration, i as ScopeMigrationRule, j as ScopePersonKind, k as ScopeReadOptions, l as ScopeReading, m as ScopeReadingRule, n as ScopeReadingSubject, o as ScopeRetainedReading, p as ScopeRow, q as ScopeRowStatus, r as ScopeRowType, s as ScopeShareOptions, t as ScopeShareReason, u as ScopeShareVerdict, v as ScopeSpecialDataType, w as ScopeSubjectKind, x as StoredScopeList, y as createInformationScopeResolver, z as isScopeInstrumentRow, A as isScopeRestRow, B as isSelectableScopeRow, D as kindForPerson } from './informationScopeResolver-BYiubygD.js';
12
- export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, INFORMATION_SCOPE_CATEGORY_ORDER, INFORMATION_SCOPE_CATEGORY_SUB, INFORMATION_SCOPE_ROW_HINT, INFORMATION_SCOPE_ROW_ORDER, INFORMATION_SCOPE_UI_COPY_SOURCE, scopeCategorySub, scopeMigrationsFromSot, scopeRowDisplayOrder, scopeRowHint, scopeRowsFromSot, sortScopeCategories, sortScopeRows } from './information-scope/index.js';
12
+ export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, INFORMATION_SCOPE_CATEGORY_ORDER, INFORMATION_SCOPE_CATEGORY_SUB, INFORMATION_SCOPE_ROW_HINT, INFORMATION_SCOPE_ROW_ORDER, INFORMATION_SCOPE_UI_COPY_SOURCE, ROI_SCOPE_PRESETS, ROI_SCOPE_PRESETS_SCOPE_VERSION, ROI_SCOPE_PRESETS_SOURCE, ROI_SCOPE_PRESET_IDS, ROI_SCOPE_PRESET_ITEM_IDS, ROI_SCOPE_PRESET_LABELS, RoiScopePresetDefinition, RoiScopePresetId, RoiScopePresetRowLike, RoiScopePresetRowSource, isRoiScopePresetId, roiScopePresetById, roiScopePresetRows, scopeCategorySub, scopeMigrationsFromSot, scopeRowDisplayOrder, scopeRowHint, scopeRowsFromSot, sortScopeCategories, sortScopeRows } from './information-scope/index.js';
13
13
  export { CalendarDate, CalendarDateLike, DOB_MIN_YEAR, DobLike, PartialDob, PartialDobLike, ageFromDob, ageInputFromStoredDob, calendarDateOf, normalizeDob } from './age/index.js';
14
14
  export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, CORE_FUNCTION_NOTES, CORE_FUNCTION_NOTES_SOT_VERSION, CaseViewingAccess, CoreFunctionNotes, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, GoverningViewingPolicy, RecordViewingDecision, RecordViewingReason, ResolveEffectiveFunctionsInput, SeatAppAccessInput, SeatAppAccessResult, SeatAppAccessTeam, SeatAppAccessVia, StoredViewingWhitelist, VIEWING_LEVEL_FUNCTIONS, VIEWING_POLICY_SPECIES, VIEWING_POLICY_VOCABULARIES, ViewingContext, ViewingLevel, ViewingPolicyGoverning, ViewingPolicyNone, ViewingPolicyQuery, ViewingPolicyRef, ViewingPolicyScopeResolver, ViewingPolicyScopeVocab, ViewingPolicyUnavailable, ViewingPolicyUnavailableReason, ViewingPolicyVocabulary, ViewingRecord, ViewingScopeResolver, ViewingSurface, accountAppGrant, canonicalRoleCode, caseSurfacesAsStub, caseSurfacesOn, caseViewingAccess, codebookDefaultBound, coreFunctionNotes, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, recordViewing, resolveEffectiveFunctions, resolveEffectiveViewingLevel, resolveViewingPolicy, seatAppAccess, seatTeamApps, selectActingTeamId, teamViewingLevelFromPolicy, unavailableViewingPolicy, viewingComponentOpen, viewingLevelFromFunctions, viewingPolicyVocabulary, viewingRowVisible, viewingWhitelistFromPolicy } from './authz/index.js';
15
15
  export { AccountSharePurposePolicy, EffectiveSharingCeiling, EffectiveSharingCeilingInputs, FiredShare, HTI_SHARE_PLATFORM_PURPOSE_ENABLED, HTI_SHARE_PLATFORM_REQUIRED_BY_PURPOSE, HTI_SHARE_PLATFORM_STARTER, HTI_SHARE_PLATFORM_STARTER_SOURCE, INFORMATION_SCOPE_FIELD_HOME_ROWS, ReadStoredPolicyScopeOptions, SHARE_EVENT, SHARE_LEVEL_LABEL, SHARE_PLATFORM_STATE_LABEL, SHARE_POSTURE_RANK, SHARE_REPORTING_PURPOSES, SHARE_TRIGGER_EVENTS, SHARING_CEILING_DEFAULT_ROW_KEY, SHARING_CEILING_EXTERNAL_ROW_KEY, SHARING_CEILING_SCOPE_VERSION, ShareAttachmentIndex, ShareCategoryEntry, ShareDefaultScopeOptions, ShareEvent, ShareLevel, ShareListener, ShareNamedPolicy, SharePlatformDefault, SharePlatformState, SharePolicyAssignment, SharePolicyDoc, SharePosture, ShareRecipient, ShareResolution, ShareResolveInput, ShareTeamRowLike, ShareTriggerEventCode, SharingCeilingAllowed, SharingCeilingCellLike, SharingCeilingRung, SharingCeilingScope, SharingPlatformStarter, SharingPurposeLists, SharingScopeCeiling, SharingScopeEdits, StoredPolicyScopeOutcome, StoredPolicyScopeReading, StoredPolicyScopeTree, UNMARKED_POLICY_CARRY_VERSION, UNMARKED_POLICY_CATEGORY_CODES, UNMARKED_POLICY_CATEGORY_LINES, accountSharePurposePolicy, attachmentIndexFromPolicies, carryUnmarkedPolicyList, ceilingCoverage, derivePlatformDefault, effectiveCeiling, fireShareEvent, firedShareKey, hasOwnScopeContent, intersectSharingCeilingLists, isCeilingCoverageRow, isPermittedByCeiling, isSharingPurposeDisabled, liveCategories, maskSelectionToCeiling, matchTeamRow, platformDefaultFor, policyIsShareListener, readStoredPolicyScope, resolveShare, rowsExpandedByCeiling, rowsOutsideCeiling, rowsOverCeiling, scopeListCovers, scopeListStrictlyCovers, scopeRowWithinCeiling, shareDefaultScopeFor, shareListenersFor, shareRowCeiling, shareTriggerLabel, sharingCeilingCellList, sharingCeilingRowKey, sharingScopeEditsFromCells, systemCategoryOf } from './sharing-ceiling/index.js';
package/dist/index.js CHANGED
@@ -26002,6 +26002,106 @@ function sortScopeCategories(categories) {
26002
26002
  return categories.map((c, i) => ({ c, i, at: rank.get(toKey(c)) ?? n })).sort((a, b) => a.at - b.at || a.i - b.i).map((x) => x.c);
26003
26003
  }
26004
26004
 
26005
+ // src/roiScopePresets/index.ts
26006
+ var ROI_SCOPE_PRESET_IDS = ["full_collab", "risk_only", "identifying"];
26007
+ var ROI_SCOPE_PRESETS_SCOPE_VERSION = 4;
26008
+ var ROI_SCOPE_PRESETS_SOURCE = {
26009
+ repo: "htilabstech/prototype",
26010
+ file: "HTI-LEADS-PAVE-Thread-prototype.html",
26011
+ commit: "ba5ded6de6affdb11054a18a8a8a561be987a403",
26012
+ mirror: { repo: "htilabstech/platform-prototype", file: "src/data.js", commit: "398fb24" }
26013
+ };
26014
+ var freeze = (p) => Object.freeze({ ...p, itemIds: Object.freeze([...p.itemIds]) });
26015
+ var ROI_SCOPE_PRESETS = Object.freeze([
26016
+ freeze({
26017
+ id: "full_collab",
26018
+ label: "Full case collaboration",
26019
+ description: "Broad packet for coordinated providers working the case together.",
26020
+ enabled: true,
26021
+ itemIds: [
26022
+ "names",
26023
+ "dob",
26024
+ "addresses",
26025
+ "demographics",
26026
+ "screen_indicators",
26027
+ "victimization",
26028
+ "summary_initial_screen",
26029
+ "summary_ae_intake",
26030
+ "summary_ida",
26031
+ "summary_lap",
26032
+ "summary_danger_assessment",
26033
+ "summary_stalking_assessment",
26034
+ "summary_injury_and_strangulation",
26035
+ "summary_tra",
26036
+ "summary_hope_scale",
26037
+ "summary_needs_assessment",
26038
+ "full_ida",
26039
+ "contact_info",
26040
+ "priorities_safety",
26041
+ "encounter_location",
26042
+ "contact_history",
26043
+ "service_history",
26044
+ "plans_goals",
26045
+ "session_summary",
26046
+ "case_notes",
26047
+ "relationships_household",
26048
+ "family",
26049
+ "system_info"
26050
+ ]
26051
+ }),
26052
+ freeze({
26053
+ id: "risk_only",
26054
+ label: "Name + risk information",
26055
+ description: "Minimal identifying info \u2014 risk + screening for a coordinated handoff.",
26056
+ enabled: true,
26057
+ itemIds: [
26058
+ "names",
26059
+ "screen_indicators",
26060
+ "victimization",
26061
+ "summary_initial_screen",
26062
+ "summary_ae_intake",
26063
+ "summary_ida",
26064
+ "summary_lap",
26065
+ "summary_danger_assessment",
26066
+ "summary_stalking_assessment",
26067
+ "summary_injury_and_strangulation",
26068
+ "system_info"
26069
+ ]
26070
+ }),
26071
+ freeze({
26072
+ id: "identifying",
26073
+ label: "Identifying info only",
26074
+ description: "Used for verification with law enforcement / medical partners.",
26075
+ enabled: true,
26076
+ itemIds: ["names", "dob", "addresses", "additional_ids", "demographics", "system_info"]
26077
+ })
26078
+ ]);
26079
+ var ROI_SCOPE_PRESET_LABELS = Object.freeze(
26080
+ Object.fromEntries(ROI_SCOPE_PRESETS.map((p) => [p.id, p.label]))
26081
+ );
26082
+ var ROI_SCOPE_PRESET_ITEM_IDS = Object.freeze(
26083
+ Object.fromEntries(ROI_SCOPE_PRESETS.map((p) => [p.id, p.itemIds]))
26084
+ );
26085
+ function isRoiScopePresetId(id) {
26086
+ return typeof id === "string" && ROI_SCOPE_PRESET_IDS.includes(id);
26087
+ }
26088
+ function roiScopePresetById(id) {
26089
+ return ROI_SCOPE_PRESETS.find((p) => p.id === id);
26090
+ }
26091
+ function roiScopePresetRows(id, scope) {
26092
+ const preset = roiScopePresetById(id);
26093
+ if (!preset) throw new Error(`roiScopePresetRows: "${id}" is not an ROI scope preset`);
26094
+ return preset.itemIds.map((code) => {
26095
+ const row = scope.row(code);
26096
+ if (!row || row.status === "retired") {
26097
+ throw new Error(
26098
+ `roiScopePresetRows: preset "${id}" names "${code}", which is not a live CVC-236 row`
26099
+ );
26100
+ }
26101
+ return row;
26102
+ });
26103
+ }
26104
+
26005
26105
  // src/age/ageFromDob.ts
26006
26106
  var DOB_MIN_YEAR = 1850;
26007
26107
  function toNullableNumber(v) {
@@ -77602,6 +77702,12 @@ export {
77602
77702
  REPORTING_REGIME_FUNDER_GATES,
77603
77703
  REPORTING_REGIME_LABELS,
77604
77704
  REPORT_AUTHORITY_ORG_TYPE_KEYS,
77705
+ ROI_SCOPE_PRESETS,
77706
+ ROI_SCOPE_PRESETS_SCOPE_VERSION,
77707
+ ROI_SCOPE_PRESETS_SOURCE,
77708
+ ROI_SCOPE_PRESET_IDS,
77709
+ ROI_SCOPE_PRESET_ITEM_IDS,
77710
+ ROI_SCOPE_PRESET_LABELS,
77605
77711
  ROLE_LEVEL,
77606
77712
  ROLE_LEVEL_LABELS,
77607
77713
  ROLE_LEVEL_VALUES,
@@ -77949,6 +78055,7 @@ export {
77949
78055
  isReportAuthorityOrgType,
77950
78056
  isReportingAudienceCode,
77951
78057
  isReportingRegimeCode,
78058
+ isRoiScopePresetId,
77952
78059
  isScopeInstrumentRow,
77953
78060
  isScopeRestRow,
77954
78061
  isSelectableScopeRow,
@@ -78085,6 +78192,8 @@ export {
78085
78192
  riskIdentificationMilestone_v1_0_0_default as riskIdentificationMilestoneSot,
78086
78193
  riskSeverityBand_v1_0_0_default as riskSeverityBandSot,
78087
78194
  roiMethod_v1_0_0_default as roiMethodSot,
78195
+ roiScopePresetById,
78196
+ roiScopePresetRows,
78088
78197
  roiScope_v1_4_1_default as roiScopeSot,
78089
78198
  roiStatus_v1_0_0_default as roiStatusSot,
78090
78199
  roleContext_v1_0_0_default as roleContextSot,