@htilabs/platform-common-models 0.55.0 → 0.56.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/README.md +42 -0
- package/dist/authz/index.cjs +353 -2
- package/dist/authz/index.cjs.map +1 -1
- package/dist/authz/index.d.cts +320 -1
- package/dist/authz/index.d.ts +320 -1
- package/dist/authz/index.js +339 -1
- package/dist/authz/index.js.map +1 -1
- package/dist/index.cjs +351 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +338 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/authz-resolve.test.ts +5 -0
- package/src/__tests__/authz-viewing-policy.test.ts +685 -0
- package/src/__tests__/authz-viewing-scope.test.ts +1037 -0
- package/src/authz/index.ts +2 -0
- package/src/authz/viewingPolicy.ts +525 -0
- package/src/authz/viewingScope.ts +359 -0
package/dist/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry,
|
|
|
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-BzYu97DE.cjs';
|
|
12
12
|
export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, scopeMigrationsFromSot, scopeRowsFromSot } 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
|
-
export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, ResolveEffectiveFunctionsInput, VIEWING_LEVEL_FUNCTIONS, ViewingLevel, canonicalRoleCode, codebookDefaultBound, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, resolveEffectiveFunctions, resolveEffectiveViewingLevel, selectActingTeamId, viewingLevelFromFunctions } from './authz/index.cjs';
|
|
14
|
+
export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, CaseViewingAccess, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, GoverningViewingPolicy, RecordViewingDecision, RecordViewingReason, ResolveEffectiveFunctionsInput, StoredViewingWhitelist, VIEWING_LEVEL_FUNCTIONS, VIEWING_POLICY_SPECIES, VIEWING_POLICY_VOCABULARIES, ViewingContext, ViewingLevel, ViewingPolicyGoverning, ViewingPolicyNone, ViewingPolicyQuery, ViewingPolicyRef, ViewingPolicyScopeResolver, ViewingPolicyScopeVocab, ViewingPolicyUnavailable, ViewingPolicyUnavailableReason, ViewingPolicyVocabulary, ViewingRecord, ViewingScopeResolver, ViewingSurface, canonicalRoleCode, caseSurfacesAsStub, caseSurfacesOn, caseViewingAccess, codebookDefaultBound, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, recordViewing, resolveEffectiveFunctions, resolveEffectiveViewingLevel, resolveViewingPolicy, 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, 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, accountSharePurposePolicy, attachmentIndexFromPolicies, ceilingCoverage, derivePlatformDefault, effectiveCeiling, fireShareEvent, firedShareKey, hasOwnScopeContent, intersectSharingCeilingLists, isCeilingCoverageRow, isPermittedByCeiling, isSharingPurposeDisabled, liveCategories, maskSelectionToCeiling, matchTeamRow, platformDefaultFor, policyIsShareListener, resolveShare, rowsExpandedByCeiling, rowsOutsideCeiling, rowsOverCeiling, scopeListCovers, scopeListStrictlyCovers, scopeRowWithinCeiling, shareDefaultScopeFor, shareListenersFor, shareRowCeiling, shareTriggerLabel, sharingCeilingCellList, sharingCeilingRowKey, sharingScopeEditsFromCells, systemCategoryOf } from './sharing-ceiling/index.cjs';
|
|
16
16
|
export { A as AgencyOrgTypeFieldsInput, a as AgencyOrgTypeFieldsSchema, b as AgencyTypeKeyInput, c as AgencyTypeKeySchema, C as CvcCode, d as CvcCodeSchema, e as CvcDomain, f as CvcEntrySchema, g as CvcEnvelope, h as CvcEnvelopeSchema, i as CvcKey, j as CvcKeySchema, O as OrgTypeFieldsSchema, k as OrgTypeSelectableKeyInput, l as OrgTypeSelectableKeySchema, S as ServiceCategoryEntry, m as ServiceCategoryEntrySchema, n as SetOrgTypeInput, o as SetOrgTypeInputSchema, T as TeamApp, p as TeamAppSchema, q as TeamDirectoryFieldsInput, r as TeamDirectoryFieldsSchema, s as orgTypeFieldsShape, w as withOrgTypeFields } from './agency-8ufZJJDH.cjs';
|
|
17
17
|
export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, activityTypeSot, adminRolesSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, assertionDomainSot, assertionStatusSot, basisQuickPicksSot, birthCountryReportingSot, carCorrectionReasonSot, caseShareStateSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, citizenshipSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactLinkTypeSot, contactSafetyStatusSot, coreDhStateSot, coreFunctionsSot, coreIndicatorsSot, coreInformationScopeSot, coreReferralOutcomeSot, countriesSot, createdBySystemSot, criminalOrgCategorySot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationHelperCategoriesSot, determinationLevelSot, disabilityReportingSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, englishProficiencySot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, exploitationTypeSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, genderReportingSot, generalDisabilitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisCurrentLivingSituationSot, hmisProjectTypeSot, hmisRelationshipToHohSot, hmisSexSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incarcerationEpisodeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeEpisodeTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, minorAdultStatusSot, nameTypeSot, needsAssessmentChangeTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, poPetitionBasisSot, poStatusSot, poViolationStatusSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, provenanceSourceIdSot, qualityFlagsSot, raceEthnicityReportingSot, raceEthnicitySot, radiusBucketSot, recencyBandSot, recordRemovalReasonSot, referenceLinkTypeSot, referralEntityCategorySot, referralOriginSot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, riskCategorySot, riskIdentificationMilestoneSot, riskSeverityBandSot, roiMethodSot, roiScopeSot, roiStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceDeliveryChangeTypeSot, serviceDeliveryChannelSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionNoteVisibilitySot, sessionStateSot, sessionTemplateSot, severityFollowUpSot, sexProviderSubroleSot, shareCadenceSot, sharePurposeSot, shareResponseReasonSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceInstrumentSot, sourceSubtypeSot, sourceSystemSot, specialNeedsDisabilitiesSot, subjectTypeSot, substanceUseStatusSot, suggestionSourceSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, traffickingRelevantRoleSot, tribesSot, userRolesSot, vehicleBodyTypeSot, vehicleColorSot, verificationMethodSot, verificationStatusSot, veteranStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot, whyNotsSot } from './cvcs/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { CvcRegistryService, CvcRegistryServiceOptions, EntryLoader, ICvcEntry,
|
|
|
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-BzYu97DE.js';
|
|
12
12
|
export { CoreInformationScopeSot, CoreInformationScopeSotEntry, CoreInformationScopeSotMigrationLine, scopeMigrationsFromSot, scopeRowsFromSot } 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
|
-
export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, ResolveEffectiveFunctionsInput, VIEWING_LEVEL_FUNCTIONS, ViewingLevel, canonicalRoleCode, codebookDefaultBound, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, resolveEffectiveFunctions, resolveEffectiveViewingLevel, selectActingTeamId, viewingLevelFromFunctions } from './authz/index.js';
|
|
14
|
+
export { AuthzFunctionRow, AuthzRoleOverrides, AuthzRoleRow, AuthzStateMap, AuthzTeamPolicy, AuthzTier1StateMap, CORE_FUNCTION_DEFAULT_BOUNDS, CORE_FUNCTION_DEFAULT_BOUNDS_SOT_VERSION, CaseViewingAccess, FunctionDoorInput, FunctionDoorState, FunctionLabelLookup, FunctionRefusal, GoverningViewingPolicy, RecordViewingDecision, RecordViewingReason, ResolveEffectiveFunctionsInput, StoredViewingWhitelist, VIEWING_LEVEL_FUNCTIONS, VIEWING_POLICY_SPECIES, VIEWING_POLICY_VOCABULARIES, ViewingContext, ViewingLevel, ViewingPolicyGoverning, ViewingPolicyNone, ViewingPolicyQuery, ViewingPolicyRef, ViewingPolicyScopeResolver, ViewingPolicyScopeVocab, ViewingPolicyUnavailable, ViewingPolicyUnavailableReason, ViewingPolicyVocabulary, ViewingRecord, ViewingScopeResolver, ViewingSurface, canonicalRoleCode, caseSurfacesAsStub, caseSurfacesOn, caseViewingAccess, codebookDefaultBound, explainFunctionRefusal, functionDoor, isCanonEvaluableFunction, recordViewing, resolveEffectiveFunctions, resolveEffectiveViewingLevel, resolveViewingPolicy, 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, 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, accountSharePurposePolicy, attachmentIndexFromPolicies, ceilingCoverage, derivePlatformDefault, effectiveCeiling, fireShareEvent, firedShareKey, hasOwnScopeContent, intersectSharingCeilingLists, isCeilingCoverageRow, isPermittedByCeiling, isSharingPurposeDisabled, liveCategories, maskSelectionToCeiling, matchTeamRow, platformDefaultFor, policyIsShareListener, resolveShare, rowsExpandedByCeiling, rowsOutsideCeiling, rowsOverCeiling, scopeListCovers, scopeListStrictlyCovers, scopeRowWithinCeiling, shareDefaultScopeFor, shareListenersFor, shareRowCeiling, shareTriggerLabel, sharingCeilingCellList, sharingCeilingRowKey, sharingScopeEditsFromCells, systemCategoryOf } from './sharing-ceiling/index.js';
|
|
16
16
|
export { A as AgencyOrgTypeFieldsInput, a as AgencyOrgTypeFieldsSchema, b as AgencyTypeKeyInput, c as AgencyTypeKeySchema, C as CvcCode, d as CvcCodeSchema, e as CvcDomain, f as CvcEntrySchema, g as CvcEnvelope, h as CvcEnvelopeSchema, i as CvcKey, j as CvcKeySchema, O as OrgTypeFieldsSchema, k as OrgTypeSelectableKeyInput, l as OrgTypeSelectableKeySchema, S as ServiceCategoryEntry, m as ServiceCategoryEntrySchema, n as SetOrgTypeInput, o as SetOrgTypeInputSchema, T as TeamApp, p as TeamAppSchema, q as TeamDirectoryFieldsInput, r as TeamDirectoryFieldsSchema, s as orgTypeFieldsShape, w as withOrgTypeFields } from './agency-CnVTwLeV.js';
|
|
17
17
|
export { accommodationTypeSot, actionStepCompletionStatusSot, actionStepTypeSot, activityTypeSot, adminRolesSot, administeringJurisdictionSot, ageBinReportingSot, announcementAudienceScopeSot, announcementResponseTypeSot, assertionDomainSot, assertionStatusSot, basisQuickPicksSot, birthCountryReportingSot, carCorrectionReasonSot, caseShareStateSot, checkInActivitySot, checkInPhaseSot, childBehavioralConcernsSot, childChangeTypeSot, childCustodyArrangementSot, citizenshipSot, collectionContextSot, contactInfoTypesSot, contactInfoUseTypeSot, contactLinkTypeSot, contactSafetyStatusSot, coreDhStateSot, coreFunctionsSot, coreIndicatorsSot, coreInformationScopeSot, coreReferralOutcomeSot, countriesSot, createdBySystemSot, criminalOrgCategorySot, daIncidentArchiveReasonSot, daIncidentConfidenceSot, daIncidentDayApproxSot, daIncidentSeveritySot, determinationHelperCategoriesSot, determinationLevelSot, disabilityReportingSot, disabilitySubtypeSot, discretionLevelSot, emergencyContactCallReasonSot, emergencyContactPermissionsSot, emergencyExitCascadeSot, employmentStatusSot, englishProficiencySot, enrollmentApplicationStatusSot, exitProcessChecklistItemSot, exitReasonsSot, exploitationTypeSot, eyeColorSot, facialHairSot, facilitatorEntityTypeSot, facilitatorLabelUsedInSourceSot, facilitatorSubroleSot, frequencyCadenceSot, funderSot, genderIdentitySot, genderReportingSot, generalDisabilitySot, goalCategorySot, goalPrioritySot, goalStatusSot, goalWithdrawalReasonSot, hairColorSot, hasTattoosSot, highestEducationLevelCompletedSot, hivStatusSot, hmisCurrentLivingSituationSot, hmisProjectTypeSot, hmisRelationshipToHohSot, hmisSexSot, homelessStatusSot, hopeScaleCaptureContextSot, hopeScaleResponseOptionsSot, hopeScaleTierSot, housingSubsidyTypesSot, htTypeSot, identificationStatusSot, immigrationLegalStatusChangeTypeSot, incarcerationEpisodeTypeSot, incidentInvolvementRolesSot, incidentParticipationRolesSot, incomeBenefitsSourcesSot, inferenceTypeSot, investigativeRequestTypeSot, juvenileJusticeEpisodeTypeSot, juvenileJusticeInvolvementStatusSot, languagesSot, leReportStatusSot, legalActionTypeSot, livingSituationSot, locationTypeSot, maritalStatusLegalSot, mentalHealthStatusSot, messageReportReasonSot, midStayEventTypeSot, milestoneTypeSot, militaryBranchSot, militaryStatusSot, minorAdultStatusSot, nameTypeSot, needsAssessmentChangeTypeSot, needsResidentialAgainSot, offenderStatusFamilySot, offenderStatusSot, orientationIdentitySot, personRelationshipsSot, petExitReasonSot, petRelationshipBasisSot, poPetitionBasisSot, poStatusSot, poViolationStatusSot, preferredContactMethodSot, primaryLanguageSot, programEnrollmentChangeTypeSot, programSpecificCodeSot, pronounsSot, proofOfIdTypeSot, provenanceSourceIdSot, qualityFlagsSot, raceEthnicityReportingSot, raceEthnicitySot, radiusBucketSot, recencyBandSot, recordRemovalReasonSot, referenceLinkTypeSot, referralEntityCategorySot, referralOriginSot, relationshipConcernSot, relationshipDynamicsSot, relationshipStatusCurrentSot, relationshipTiesSot, returnedToAbuserStatusSot, riskCategorySot, riskIdentificationMilestoneSot, riskSeverityBandSot, roiMethodSot, roiScopeSot, roiStatusSot, roleContextSot, romanticRelationshipChangeTypeSot, rsvpResponseSot, serviceAudienceSot, serviceCategoriesSot, serviceDeliveryChangeTypeSot, serviceDeliveryChannelSot, serviceMechanismsSot, servicePlanClosureReasonSot, servicePlanReviewSnoozeReasonSot, serviceSourceSot, serviceStatesSot, sessionNoteVisibilitySot, sessionStateSot, sessionTemplateSot, severityFollowUpSot, sexProviderSubroleSot, shareCadenceSot, sharePurposeSot, shareResponseReasonSot, signatureMethodSot, signatureTypeSot, smtBodyLocationSot, smtNameRelationSot, smtSignificanceFlagsSot, smtTypeSot, sourceCategorySot, sourceInstrumentSot, sourceSubtypeSot, sourceSystemSot, specialNeedsDisabilitiesSot, subjectTypeSot, substanceUseStatusSot, suggestionSourceSot, supportStrengthSot, supportTopicSot, threadStatusSot, threadTypeSot, timeScopeSot, traffickingRelevantRoleSot, tribesSot, userRolesSot, vehicleBodyTypeSot, vehicleColorSot, verificationMethodSot, verificationStatusSot, veteranStatusSot, victimAbuseTypesSot, victimStatusFamilySot, visaTypeSot, whyNotsSot } from './cvcs/index.js';
|
package/dist/index.js
CHANGED
|
@@ -24103,6 +24103,331 @@ function functionDoor(input) {
|
|
|
24103
24103
|
};
|
|
24104
24104
|
}
|
|
24105
24105
|
|
|
24106
|
+
// src/authz/viewingPolicy.ts
|
|
24107
|
+
var VIEWING_POLICY_SPECIES = "viewing";
|
|
24108
|
+
var VIEWING_POLICY_VOCABULARIES = Object.freeze({
|
|
24109
|
+
3: Object.freeze({ scopeVersion: 3, oneHomeCarry: true, identifyingAlias: true }),
|
|
24110
|
+
4: Object.freeze({ scopeVersion: 3, oneHomeCarry: false, identifyingAlias: true }),
|
|
24111
|
+
5: Object.freeze({ scopeVersion: 4, oneHomeCarry: false, identifyingAlias: false })
|
|
24112
|
+
});
|
|
24113
|
+
function viewingPolicyVocabulary(scopeVocab) {
|
|
24114
|
+
return scopeVocab === 3 || scopeVocab === 4 || scopeVocab === 5 ? VIEWING_POLICY_VOCABULARIES[scopeVocab] : null;
|
|
24115
|
+
}
|
|
24116
|
+
function unavailableViewingPolicy(reason, policyId) {
|
|
24117
|
+
return {
|
|
24118
|
+
source: "unavailable",
|
|
24119
|
+
level: 0,
|
|
24120
|
+
visibleGroups: [],
|
|
24121
|
+
scopeVocab: null,
|
|
24122
|
+
policy: null,
|
|
24123
|
+
reason,
|
|
24124
|
+
policyId: policyId ?? null,
|
|
24125
|
+
rulePath: `viewing policy unavailable: ${reason}` + (policyId ? ` (${policyId})` : "") + " \u2014 no view of other teams' cases"
|
|
24126
|
+
};
|
|
24127
|
+
}
|
|
24128
|
+
var HEX_OBJECT_ID = /^[0-9a-fA-F]{24}$/;
|
|
24129
|
+
function objectIdHex(v) {
|
|
24130
|
+
if (typeof v === "object" && v !== null && "toHexString" in v) {
|
|
24131
|
+
const toHex = v.toHexString;
|
|
24132
|
+
if (typeof toHex === "function") {
|
|
24133
|
+
const hex = toHex.call(v);
|
|
24134
|
+
if (typeof hex === "string") return hex.toLowerCase();
|
|
24135
|
+
}
|
|
24136
|
+
}
|
|
24137
|
+
return null;
|
|
24138
|
+
}
|
|
24139
|
+
function idText(v) {
|
|
24140
|
+
if (typeof v === "string") return v === "" ? null : v;
|
|
24141
|
+
return objectIdHex(v);
|
|
24142
|
+
}
|
|
24143
|
+
function normalizedId(id) {
|
|
24144
|
+
return HEX_OBJECT_ID.test(id) ? id.toLowerCase() : id;
|
|
24145
|
+
}
|
|
24146
|
+
function policyIdOf(d) {
|
|
24147
|
+
return idText(d.entity_id) ?? idText(d.id) ?? idText(d._id) ?? "(no id)";
|
|
24148
|
+
}
|
|
24149
|
+
function placementOf(d) {
|
|
24150
|
+
if (!Array.isArray(d.assignments) || d.assignments.length !== 1) {
|
|
24151
|
+
return { kind: "unreadable" };
|
|
24152
|
+
}
|
|
24153
|
+
const [a] = d.assignments;
|
|
24154
|
+
if (typeof a !== "object" || a === null) return { kind: "unreadable" };
|
|
24155
|
+
const { scope, teamId } = a;
|
|
24156
|
+
if (scope === "account") return { kind: "account" };
|
|
24157
|
+
const team = idText(teamId);
|
|
24158
|
+
if (scope === "team" && team !== null) {
|
|
24159
|
+
return { kind: "team", teamId: normalizedId(team) };
|
|
24160
|
+
}
|
|
24161
|
+
return { kind: "unreadable" };
|
|
24162
|
+
}
|
|
24163
|
+
function positiveIntOrNull(v) {
|
|
24164
|
+
if (v === void 0 || v === null) return null;
|
|
24165
|
+
return typeof v === "number" && Number.isInteger(v) && v >= 1 ? v : void 0;
|
|
24166
|
+
}
|
|
24167
|
+
function governingRowOf(rows) {
|
|
24168
|
+
const [only] = rows;
|
|
24169
|
+
if (rows.length === 1 && only !== void 0) return { row: only };
|
|
24170
|
+
const family = idText(rows[0]?.familyId);
|
|
24171
|
+
const versions = rows.map((r) => positiveIntOrNull(r.version));
|
|
24172
|
+
const ordered = family !== null && rows.every((r) => idText(r.familyId) === family) && versions.every((v) => typeof v === "number") && new Set(versions).size === versions.length;
|
|
24173
|
+
if (!ordered) {
|
|
24174
|
+
return unavailableViewingPolicy("ambiguous_rows", policyIdOf(rows[0] ?? {}));
|
|
24175
|
+
}
|
|
24176
|
+
let best = rows[0];
|
|
24177
|
+
for (const r of rows) {
|
|
24178
|
+
if (r.version > best.version) best = r;
|
|
24179
|
+
}
|
|
24180
|
+
return { row: best };
|
|
24181
|
+
}
|
|
24182
|
+
function whitelistProblem(visibleGroups, vocab, scope) {
|
|
24183
|
+
const reading = scope.readSelection(visibleGroups, vocab.scopeVersion, {
|
|
24184
|
+
subject: "policy"
|
|
24185
|
+
});
|
|
24186
|
+
if (reading.unsupportedVersion) return "unsupported_scope_vocab";
|
|
24187
|
+
if (reading.unknown.length > 0 || reading.retired.length > 0) {
|
|
24188
|
+
return "unknown_visible_group";
|
|
24189
|
+
}
|
|
24190
|
+
return null;
|
|
24191
|
+
}
|
|
24192
|
+
function withoutRestRows(visibleGroups, scope) {
|
|
24193
|
+
return visibleGroups.filter((code) => scope.row(code)?.rowType !== "category_rest");
|
|
24194
|
+
}
|
|
24195
|
+
function ruleText(source, ref) {
|
|
24196
|
+
const v = ref.version === null ? "" : ` v${ref.version}`;
|
|
24197
|
+
return source === "team" ? `${ref.id}${v} (the team's own row \u2014 it governs this team in place of the account-wide rule)` : `${ref.id}${v} (the account-wide viewing rule \u2014 no row for this team)`;
|
|
24198
|
+
}
|
|
24199
|
+
function readRow(d, source, accountId, scope) {
|
|
24200
|
+
const policyId = policyIdOf(d);
|
|
24201
|
+
const level = d.level;
|
|
24202
|
+
if (level !== 0 && level !== 1 && level !== 2 && level !== 3) {
|
|
24203
|
+
return unavailableViewingPolicy("malformed_level", policyId);
|
|
24204
|
+
}
|
|
24205
|
+
let visibleGroups = [];
|
|
24206
|
+
if (d.visibleGroups !== void 0 && d.visibleGroups !== null) {
|
|
24207
|
+
if (!Array.isArray(d.visibleGroups) || !d.visibleGroups.every((g) => typeof g === "string")) {
|
|
24208
|
+
return unavailableViewingPolicy("malformed_visible_groups", policyId);
|
|
24209
|
+
}
|
|
24210
|
+
visibleGroups = [...d.visibleGroups];
|
|
24211
|
+
}
|
|
24212
|
+
const scopeVocab = positiveIntOrNull(d.scopeVocab);
|
|
24213
|
+
if (scopeVocab === void 0) {
|
|
24214
|
+
return unavailableViewingPolicy("malformed_scope_vocab", policyId);
|
|
24215
|
+
}
|
|
24216
|
+
const vocab = viewingPolicyVocabulary(scopeVocab);
|
|
24217
|
+
if (scopeVocab === null || vocab === null) {
|
|
24218
|
+
return unavailableViewingPolicy("unsupported_scope_vocab", policyId);
|
|
24219
|
+
}
|
|
24220
|
+
const problem = whitelistProblem(visibleGroups, vocab, scope);
|
|
24221
|
+
if (problem !== null) return unavailableViewingPolicy(problem, policyId);
|
|
24222
|
+
const policy = {
|
|
24223
|
+
id: policyId,
|
|
24224
|
+
familyId: idText(d.familyId),
|
|
24225
|
+
version: positiveIntOrNull(d.version) ?? null
|
|
24226
|
+
};
|
|
24227
|
+
return {
|
|
24228
|
+
source,
|
|
24229
|
+
level,
|
|
24230
|
+
visibleGroups: withoutRestRows(visibleGroups, scope),
|
|
24231
|
+
scopeVocab,
|
|
24232
|
+
policy,
|
|
24233
|
+
accountId,
|
|
24234
|
+
rulePath: ruleText(source, policy)
|
|
24235
|
+
};
|
|
24236
|
+
}
|
|
24237
|
+
function resolveViewingPolicy(docs, query, scope) {
|
|
24238
|
+
const accountRaw = typeof query.accountId === "string" ? query.accountId.trim() : "";
|
|
24239
|
+
if (accountRaw === "") return unavailableViewingPolicy("account_unresolved");
|
|
24240
|
+
if (!Array.isArray(docs)) return unavailableViewingPolicy("read_error");
|
|
24241
|
+
const accountId = normalizedId(accountRaw);
|
|
24242
|
+
const teamRaw = typeof query.teamId === "string" ? query.teamId.trim() : "";
|
|
24243
|
+
const actingTeamId = teamRaw !== "" ? normalizedId(teamRaw) : null;
|
|
24244
|
+
const rows = [];
|
|
24245
|
+
for (const raw of docs) {
|
|
24246
|
+
if (typeof raw !== "object" || raw === null) {
|
|
24247
|
+
return unavailableViewingPolicy("read_error");
|
|
24248
|
+
}
|
|
24249
|
+
const d = raw;
|
|
24250
|
+
if (d.species !== VIEWING_POLICY_SPECIES) continue;
|
|
24251
|
+
const owner = idText(d.account_id);
|
|
24252
|
+
if (owner === null || normalizedId(owner) !== accountId) continue;
|
|
24253
|
+
rows.push(d);
|
|
24254
|
+
}
|
|
24255
|
+
const teamRows = [];
|
|
24256
|
+
const accountRows = [];
|
|
24257
|
+
for (const d of rows) {
|
|
24258
|
+
if (d.active === false) continue;
|
|
24259
|
+
const placement = placementOf(d);
|
|
24260
|
+
if (placement.kind === "unreadable") {
|
|
24261
|
+
return unavailableViewingPolicy("unreadable_assignment", policyIdOf(d));
|
|
24262
|
+
}
|
|
24263
|
+
const governsHere = placement.kind === "account" || actingTeamId !== null && placement.teamId === actingTeamId;
|
|
24264
|
+
if (!governsHere) continue;
|
|
24265
|
+
if (d.active !== true) {
|
|
24266
|
+
return unavailableViewingPolicy("malformed_active", policyIdOf(d));
|
|
24267
|
+
}
|
|
24268
|
+
if (placement.kind === "account") accountRows.push(d);
|
|
24269
|
+
else teamRows.push(d);
|
|
24270
|
+
}
|
|
24271
|
+
const [source, candidates] = teamRows.length > 0 ? ["team", teamRows] : ["account", accountRows];
|
|
24272
|
+
if (candidates.length === 0) {
|
|
24273
|
+
const retiredRowsOnly = rows.length > 0 && rows.every((d) => d.active === false);
|
|
24274
|
+
return {
|
|
24275
|
+
source: "none",
|
|
24276
|
+
level: null,
|
|
24277
|
+
visibleGroups: null,
|
|
24278
|
+
scopeVocab: null,
|
|
24279
|
+
policy: null,
|
|
24280
|
+
accountId,
|
|
24281
|
+
retiredRowsOnly,
|
|
24282
|
+
rulePath: retiredRowsOnly ? "no viewing policy on file (every viewing row is retired) \u2014 the role level alone decides" : "no viewing policy on file \u2014 the role level alone decides"
|
|
24283
|
+
};
|
|
24284
|
+
}
|
|
24285
|
+
const governing = governingRowOf(candidates);
|
|
24286
|
+
if (!("row" in governing)) return governing;
|
|
24287
|
+
return readRow(governing.row, source, accountId, scope);
|
|
24288
|
+
}
|
|
24289
|
+
function teamViewingLevelFromPolicy(policy) {
|
|
24290
|
+
switch (policy.source) {
|
|
24291
|
+
case "team":
|
|
24292
|
+
case "account":
|
|
24293
|
+
return policy.level;
|
|
24294
|
+
case "none":
|
|
24295
|
+
return null;
|
|
24296
|
+
default:
|
|
24297
|
+
return 0;
|
|
24298
|
+
}
|
|
24299
|
+
}
|
|
24300
|
+
|
|
24301
|
+
// src/authz/viewingScope.ts
|
|
24302
|
+
var CURRENT_VIEWING_POLICY_VOCAB = 5;
|
|
24303
|
+
var RELATIONSHIPS_HOUSEHOLD = "relationships_household";
|
|
24304
|
+
var RELATIONSHIP_DYNAMICS2 = "relationship_dynamics";
|
|
24305
|
+
function viewingWhitelistFromPolicy(policy) {
|
|
24306
|
+
switch (policy.source) {
|
|
24307
|
+
case "none":
|
|
24308
|
+
return null;
|
|
24309
|
+
case "team":
|
|
24310
|
+
case "account":
|
|
24311
|
+
return { informationScope: [...policy.visibleGroups], scopeVocab: policy.scopeVocab };
|
|
24312
|
+
default:
|
|
24313
|
+
return { informationScope: [], scopeVocab: null };
|
|
24314
|
+
}
|
|
24315
|
+
}
|
|
24316
|
+
function caseViewingAccess(ctx, scope) {
|
|
24317
|
+
if (ctx.canSeeCase !== true) {
|
|
24318
|
+
return { mode: "none", reason: "cannot_see_case" };
|
|
24319
|
+
}
|
|
24320
|
+
if (ctx.ownedByViewer === true) return { mode: "full", reason: "owned" };
|
|
24321
|
+
if (ctx.level === 1 || ctx.level === 2) {
|
|
24322
|
+
return { mode: "stub", level: ctx.level };
|
|
24323
|
+
}
|
|
24324
|
+
if (ctx.level !== 3) return { mode: "none", reason: "level_0" };
|
|
24325
|
+
if (ctx.whitelist === null) {
|
|
24326
|
+
return { mode: "full", reason: "no_viewing_policy" };
|
|
24327
|
+
}
|
|
24328
|
+
const stored = ctx.whitelist ?? {
|
|
24329
|
+
informationScope: [],
|
|
24330
|
+
scopeVocab: CURRENT_VIEWING_POLICY_VOCAB
|
|
24331
|
+
};
|
|
24332
|
+
const stamp = typeof stored.scopeVocab === "number" ? stored.scopeVocab : null;
|
|
24333
|
+
const vocab = viewingPolicyVocabulary(stamp);
|
|
24334
|
+
const reading = scope.readSelection(
|
|
24335
|
+
stored.informationScope,
|
|
24336
|
+
vocab !== null ? vocab.scopeVersion : stamp,
|
|
24337
|
+
{ subject: "policy" }
|
|
24338
|
+
);
|
|
24339
|
+
const identifyingAlias = vocab !== null && vocab.identifyingAlias && reading.informationScope.includes("identifying");
|
|
24340
|
+
return {
|
|
24341
|
+
mode: "whitelist",
|
|
24342
|
+
reading,
|
|
24343
|
+
visibleScope: identifyingAlias ? [...reading.informationScope, RELATIONSHIPS_HOUSEHOLD] : reading.informationScope,
|
|
24344
|
+
oneHomeCarry: vocab !== null && vocab.oneHomeCarry,
|
|
24345
|
+
relationshipDynamicsCarry: identifyingAlias
|
|
24346
|
+
};
|
|
24347
|
+
}
|
|
24348
|
+
function caseSurfacesOn(access, surface) {
|
|
24349
|
+
switch (access.mode) {
|
|
24350
|
+
case "none":
|
|
24351
|
+
return false;
|
|
24352
|
+
case "full":
|
|
24353
|
+
case "whitelist":
|
|
24354
|
+
return true;
|
|
24355
|
+
case "stub":
|
|
24356
|
+
if (surface === "search") return true;
|
|
24357
|
+
if (surface === "autocomplete") return access.level === 2;
|
|
24358
|
+
return false;
|
|
24359
|
+
}
|
|
24360
|
+
}
|
|
24361
|
+
function caseSurfacesAsStub(access) {
|
|
24362
|
+
return access.mode === "stub";
|
|
24363
|
+
}
|
|
24364
|
+
var ONE_HOME_CARRY = [
|
|
24365
|
+
{ homeRow: "summary_ida", domains: /* @__PURE__ */ new Set(["ida_determination"]), unlockedBy: "risk" },
|
|
24366
|
+
{
|
|
24367
|
+
homeRow: "summary_needs_assessment",
|
|
24368
|
+
domains: /* @__PURE__ */ new Set(["needs_assessment", "recommended_followup"]),
|
|
24369
|
+
unlockedBy: "services"
|
|
24370
|
+
}
|
|
24371
|
+
];
|
|
24372
|
+
function isClientStubRow(scope, code) {
|
|
24373
|
+
const row = scope.row(code);
|
|
24374
|
+
return row !== void 0 && row.levelFloor === 1 && row.rowType !== "branch" && (row.kindBranch === "client" || row.kindBranch === null);
|
|
24375
|
+
}
|
|
24376
|
+
function recordViewing(access, record, viewerUserId, scope) {
|
|
24377
|
+
if (access.mode === "none" && access.reason === "cannot_see_case") {
|
|
24378
|
+
return { visible: false, reason: "cannot_see_case" };
|
|
24379
|
+
}
|
|
24380
|
+
const author = record.authorUserId;
|
|
24381
|
+
if (typeof author === "string" && author.trim().length > 0 && author === viewerUserId) {
|
|
24382
|
+
return { visible: true, reason: "author" };
|
|
24383
|
+
}
|
|
24384
|
+
switch (access.mode) {
|
|
24385
|
+
case "none":
|
|
24386
|
+
return { visible: false, reason: access.reason };
|
|
24387
|
+
case "full":
|
|
24388
|
+
return { visible: true, reason: "full" };
|
|
24389
|
+
case "stub":
|
|
24390
|
+
return { visible: false, reason: "not_opened" };
|
|
24391
|
+
case "whitelist":
|
|
24392
|
+
return whitelistDecision(access, record, scope);
|
|
24393
|
+
}
|
|
24394
|
+
}
|
|
24395
|
+
function whitelistDecision(access, record, scope) {
|
|
24396
|
+
const home = scope.row(record.homeRow);
|
|
24397
|
+
if (home === void 0 || home.kindRow !== void 0) {
|
|
24398
|
+
return { visible: false, reason: "unknown_row" };
|
|
24399
|
+
}
|
|
24400
|
+
if ((record.subjectKind === "client" || home.kindBranch !== "client") && isClientStubRow(scope, record.homeRow)) {
|
|
24401
|
+
return { visible: true, reason: "stub_row" };
|
|
24402
|
+
}
|
|
24403
|
+
const list2 = access.visibleScope;
|
|
24404
|
+
if (scope.isCovered(list2, record.homeRow)) {
|
|
24405
|
+
return { visible: true, reason: "covered" };
|
|
24406
|
+
}
|
|
24407
|
+
if (access.relationshipDynamicsCarry && record.domain === RELATIONSHIP_DYNAMICS2) {
|
|
24408
|
+
return { visible: true, reason: "identifying_alias_carry" };
|
|
24409
|
+
}
|
|
24410
|
+
if (access.oneHomeCarry && !scope.isCovered(list2, "instruments") && typeof record.domain === "string") {
|
|
24411
|
+
for (const carry of ONE_HOME_CARRY) {
|
|
24412
|
+
if (record.homeRow === carry.homeRow && carry.domains.has(record.domain) && scope.isCovered(list2, carry.unlockedBy)) {
|
|
24413
|
+
return { visible: true, reason: "one_home_carry" };
|
|
24414
|
+
}
|
|
24415
|
+
}
|
|
24416
|
+
}
|
|
24417
|
+
return { visible: false, reason: "not_covered" };
|
|
24418
|
+
}
|
|
24419
|
+
function viewingRowVisible(access, homeRow, scope) {
|
|
24420
|
+
return recordViewing(access, { homeRow, subjectKind: "client" }, null, scope).visible;
|
|
24421
|
+
}
|
|
24422
|
+
function viewingComponentOpen(access, homeRow, scope) {
|
|
24423
|
+
if (access.mode === "full") return true;
|
|
24424
|
+
if (access.mode !== "whitelist") return false;
|
|
24425
|
+
const row = scope.row(homeRow);
|
|
24426
|
+
if (row === void 0 || row.kindRow !== void 0) return false;
|
|
24427
|
+
if (row.status === "retired") return false;
|
|
24428
|
+
return scope.isCovered(access.visibleScope, homeRow);
|
|
24429
|
+
}
|
|
24430
|
+
|
|
24106
24431
|
// src/generated/sharingPlatformStarter.ts
|
|
24107
24432
|
var SHARING_PLATFORM_STARTER_SOURCE = {
|
|
24108
24433
|
"monolith": {
|
|
@@ -73056,6 +73381,8 @@ export {
|
|
|
73056
73381
|
VALID_RECORD_STATES,
|
|
73057
73382
|
VICTIM_SERVING_ORG_TYPE_KEYS,
|
|
73058
73383
|
VIEWING_LEVEL_FUNCTIONS,
|
|
73384
|
+
VIEWING_POLICY_SPECIES,
|
|
73385
|
+
VIEWING_POLICY_VOCABULARIES,
|
|
73059
73386
|
VSP_TWO_STEP_ISSUE,
|
|
73060
73387
|
VehicleBodyTypeKeys,
|
|
73061
73388
|
VehicleColorKeys,
|
|
@@ -73112,6 +73439,9 @@ export {
|
|
|
73112
73439
|
carCorrectionReason_v2_1_0_default as carCorrectionReasonSot,
|
|
73113
73440
|
cascadeExclusions,
|
|
73114
73441
|
caseShareState_v1_2_0_default as caseShareStateSot,
|
|
73442
|
+
caseSurfacesAsStub,
|
|
73443
|
+
caseSurfacesOn,
|
|
73444
|
+
caseViewingAccess,
|
|
73115
73445
|
ceilingCoverage,
|
|
73116
73446
|
checkInActivity_v1_0_0_default as checkInActivitySot,
|
|
73117
73447
|
checkInPhase_v1_1_0_default as checkInPhaseSot,
|
|
@@ -73330,6 +73660,7 @@ export {
|
|
|
73330
73660
|
radiusBucket_v1_0_0_default as radiusBucketSot,
|
|
73331
73661
|
recencyBand_v1_0_0_default as recencyBandSot,
|
|
73332
73662
|
recordRemovalReason_v1_0_0_default as recordRemovalReasonSot,
|
|
73663
|
+
recordViewing,
|
|
73333
73664
|
referenceLinkType_v1_0_0_default as referenceLinkTypeSot,
|
|
73334
73665
|
referralEntityCategory_v1_2_0_default as referralEntityCategorySot,
|
|
73335
73666
|
referralOrigin_v1_0_0_default as referralOriginSot,
|
|
@@ -73348,6 +73679,7 @@ export {
|
|
|
73348
73679
|
resolveReferralEntityKeyFromLegacyNumeric,
|
|
73349
73680
|
resolveRegistryWithInheritance,
|
|
73350
73681
|
resolveShare,
|
|
73682
|
+
resolveViewingPolicy,
|
|
73351
73683
|
returnedToAbuserStatus_v1_0_0_default as returnedToAbuserStatusSot,
|
|
73352
73684
|
riskCategory_v1_0_0_default as riskCategorySot,
|
|
73353
73685
|
riskIdentificationMilestone_v1_0_0_default as riskIdentificationMilestoneSot,
|
|
@@ -73426,11 +73758,13 @@ export {
|
|
|
73426
73758
|
supportTopic_v1_0_0_default as supportTopicSot,
|
|
73427
73759
|
systemCategoryOf,
|
|
73428
73760
|
teamDirectorySchemaDefinition,
|
|
73761
|
+
teamViewingLevelFromPolicy,
|
|
73429
73762
|
threadStatus_v1_0_0_default as threadStatusSot,
|
|
73430
73763
|
threadType_v1_0_0_default as threadTypeSot,
|
|
73431
73764
|
timeScope_v1_0_0_default as timeScopeSot,
|
|
73432
73765
|
traffickingRelevantRole_v1_0_0_default as traffickingRelevantRoleSot,
|
|
73433
73766
|
tribes_v1_0_0_default as tribesSot,
|
|
73767
|
+
unavailableViewingPolicy,
|
|
73434
73768
|
userRoles_v2_0_0_default as userRolesSot,
|
|
73435
73769
|
vehicleBodyType_v1_0_0_default as vehicleBodyTypeSot,
|
|
73436
73770
|
vehicleColor_v1_0_0_default as vehicleColorSot,
|
|
@@ -73439,7 +73773,11 @@ export {
|
|
|
73439
73773
|
veteranStatus_v1_0_0_default as veteranStatusSot,
|
|
73440
73774
|
victimAbuseTypes_v1_1_0_default as victimAbuseTypesSot,
|
|
73441
73775
|
victimStatusFamily_v1_0_0_default as victimStatusFamilySot,
|
|
73776
|
+
viewingComponentOpen,
|
|
73442
73777
|
viewingLevelFromFunctions,
|
|
73778
|
+
viewingPolicyVocabulary,
|
|
73779
|
+
viewingRowVisible,
|
|
73780
|
+
viewingWhitelistFromPolicy,
|
|
73443
73781
|
visaType_v1_0_0_default as visaTypeSot,
|
|
73444
73782
|
visibilityRuleSchema,
|
|
73445
73783
|
vspTwoStepHolds,
|