@htilabs/platform-common-models 0.2.0-beta.4 → 0.3.0-beta.5

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.
Files changed (75) hide show
  1. package/README.md +38 -0
  2. package/dist/constants/index.cjs +0 -843
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +146 -5
  5. package/dist/constants/index.d.ts +146 -5
  6. package/dist/constants/index.js +0 -786
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{platform-role-AHv1l5Og.d.cts → cvcEntry-wqktWfzE.d.cts} +231 -37
  9. package/dist/{platform-role-AHv1l5Og.d.ts → cvcEntry-wqktWfzE.d.ts} +231 -37
  10. package/dist/cvcs/index.cjs +2184 -0
  11. package/dist/cvcs/index.cjs.map +1 -0
  12. package/dist/cvcs/index.d.cts +2384 -0
  13. package/dist/cvcs/index.d.ts +2384 -0
  14. package/dist/cvcs/index.js +2154 -0
  15. package/dist/cvcs/index.js.map +1 -0
  16. package/dist/index--NCIPluF.d.cts +378 -0
  17. package/dist/index-CFOrHA8l.d.ts +378 -0
  18. package/dist/index.cjs +2962 -843
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +217 -3
  21. package/dist/index.d.ts +217 -3
  22. package/dist/index.js +2934 -786
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.cjs +211 -0
  25. package/dist/models/index.cjs.map +1 -1
  26. package/dist/models/index.d.cts +3 -292
  27. package/dist/models/index.d.ts +3 -292
  28. package/dist/models/index.js +209 -0
  29. package/dist/models/index.js.map +1 -1
  30. package/dist/{platform-auth-BTbQIY3b.d.cts → platform-auth-C-G2qeGM.d.cts} +1 -297
  31. package/dist/{platform-auth-BTbQIY3b.d.ts → platform-auth-C-G2qeGM.d.ts} +1 -297
  32. package/dist/schemas/index.cjs +195 -729
  33. package/dist/schemas/index.cjs.map +1 -1
  34. package/dist/schemas/index.d.cts +11 -11
  35. package/dist/schemas/index.d.ts +11 -11
  36. package/dist/schemas/index.js +189 -729
  37. package/dist/schemas/index.js.map +1 -1
  38. package/dist/services/index.cjs +1442 -0
  39. package/dist/services/index.cjs.map +1 -0
  40. package/dist/services/index.d.cts +305 -0
  41. package/dist/services/index.d.ts +305 -0
  42. package/dist/services/index.js +1417 -0
  43. package/dist/services/index.js.map +1 -0
  44. package/dist/types/index.d.cts +2 -2
  45. package/dist/types/index.d.ts +2 -2
  46. package/dist/validation/index.cjs +261 -0
  47. package/dist/validation/index.cjs.map +1 -0
  48. package/dist/validation/index.d.cts +251 -0
  49. package/dist/validation/index.d.ts +251 -0
  50. package/dist/validation/index.js +228 -0
  51. package/dist/validation/index.js.map +1 -0
  52. package/package.json +36 -12
  53. package/src/__tests__/__snapshots__/cvc-sot.snap +22 -0
  54. package/src/__tests__/cvc-sot-snapshot.test.ts +184 -0
  55. package/src/__tests__/cvc-structural.test.ts +130 -0
  56. package/src/constants/ic.ts +0 -925
  57. package/src/constants/service-catalog.ts +146 -4
  58. package/src/cvcs/index.ts +31 -0
  59. package/src/cvcs/missingness.v1.0.0.json +50 -0
  60. package/src/cvcs/serviceCategories.v1.0.0.json +1947 -0
  61. package/src/cvcs/serviceMechanisms.v1.0.0.json +47 -0
  62. package/src/cvcs/serviceStates.v1.0.0.json +106 -0
  63. package/src/generated/cvc-enums.ts +215 -0
  64. package/src/index.ts +61 -1
  65. package/src/models/cvcEntryModel.ts +32 -0
  66. package/src/models/cvcRegistryModel.ts +35 -0
  67. package/src/models/index.ts +8 -0
  68. package/src/schemas/cvcEntry.ts +158 -0
  69. package/src/schemas/cvcRegistry.ts +149 -0
  70. package/src/schemas/index.ts +16 -0
  71. package/src/services/__tests__/cvcRegistryService.test.ts +614 -0
  72. package/src/services/cvcRegistryService.ts +729 -0
  73. package/src/services/index.ts +21 -0
  74. package/src/validation/cvc.ts +414 -0
  75. package/src/validation/index.ts +15 -0
@@ -1,4 +1,4 @@
1
- export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136Option, y as CVC136Value, z as CVC137Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC149Value, J as CVC150Value, K as CVC151Value, L as CVC152Value, M as CVC153Value, N as CVC155Value, O as CVC156Value, P as CVC157Value, Q as CVC158Value, R as CVC159Category, S as CVC159Option, T as CVC159Value, U as CVC15Value, V as CVC16Value, W as CVC171Category, X as CVC171Option, Y as CVC171Value, Z as CVC179HierarchicalCategory, _ as CVC179HierarchicalValue, $ as CVC179Value, a0 as CVC17Value, a1 as CVC180Value, a2 as CVC181Value, a3 as CVC185Value, a4 as CVC186Value, a5 as CVC188Value, a6 as CVC191Value, a7 as CVC192Value, a8 as CVC193Value, a9 as CVC194Value, aa as CVC196Value, ab as CVC197Value, ac as CVC1Value, ad as CVC67Value, ae as CVC72Value, af as CVC76Value, ag as CVC93Value, ah as CVC95Value, ai as CVC96Value, aj as CVC97Value, ak as CVC98Value, al as CVC99Value, am as CVC_100_LABELS, an as CVC_100_LIVES_RURAL, ao as CVC_100_VALUES, ap as CVC_115_LABELS, aq as CVC_115_SERVICE_PLANNING, ar as CVC_115_VALUES, as as CVC_120_LABELS, at as CVC_120_MILITARY_BRANCH, au as CVC_120_VALUES, av as CVC_121_LABELS, aw as CVC_121_MILITARY_STATUS, ax as CVC_121_VALUES, ay as CVC_122_LABELS, az as CVC_122_PRIMARY_LANGUAGE, aA as CVC_122_VALUES, aB as CVC_126_CATEGORY, aC as CVC_126_CATEGORY_LABELS, aD as CVC_126_LABELS, aE as CVC_126_OPTIONS, aF as CVC_126_PERSON_RELATIONSHIP, aG as CVC_126_PROTECTED_CATEGORIES, aH as CVC_126_TYPE_TO_CATEGORY, aI as CVC_126_VALUES, aJ as CVC_136_ALERT_INDICATOR, aK as CVC_136_CATEGORY_LABELS, aL as CVC_136_INDICATOR_CATEGORY, aM as CVC_136_LABELS, aN as CVC_136_OPTIONS, aO as CVC_136_TYPE_TO_CATEGORY, aP as CVC_136_VALUES, aQ as CVC_137_LABELS, aR as CVC_137_MISSINGNESS_VALUES, aS as CVC_137_RECENCY_BAND, aT as CVC_137_SELECTABLE_VALUES, aU as CVC_137_VALUES, aV as CVC_145_CATEGORY, aW as CVC_145_CATEGORY_LABELS, aX as CVC_145_CATEGORY_ORDER, aY as CVC_145_LABELS, aZ as CVC_145_OPTIONS, a_ as CVC_145_RELATIONSHIP_DYNAMICS, a$ as CVC_145_SELECTABLE_OPTIONS, b0 as CVC_145_TYPE_TO_CATEGORY, b1 as CVC_145_VALUES, b2 as CVC_147_LABELS, b3 as CVC_147_PRONOUNS, b4 as CVC_147_VALUES, b5 as CVC_148_LABELS, b6 as CVC_148_TRIBES, b7 as CVC_148_VALUES, b8 as CVC_149_APP_DOMAINS, b9 as CVC_149_CONTACT_INFO_TYPE, ba as CVC_149_LABELS, bb as CVC_149_PRIMARY_TYPES, bc as CVC_149_SOCIAL_DOMAINS, bd as CVC_149_VALUES, be as CVC_150_EYE_COLOR, bf as CVC_150_LABELS, bg as CVC_150_VALUES, bh as CVC_151_HAIR_COLOR, bi as CVC_151_LABELS, bj as CVC_151_VALUES, bk as CVC_152_HAS_TATTOOS, bl as CVC_152_LABELS, bm as CVC_152_VALUES, bn as CVC_153_LABELS, bo as CVC_153_SMT_TYPE, bp as CVC_153_VALUES, bq as CVC_155_CONTACT_SAFETY_STATUS, br as CVC_155_LABELS, bs as CVC_155_MISSINGNESS_VALUES, bt as CVC_155_SELECTABLE_VALUES, bu as CVC_155_VALUES, bv as CVC_156_LABELS, bw as CVC_156_MARITAL_STATUS, bx as CVC_156_VALUES, by as CVC_157_LABELS, bz as CVC_157_RELATIONSHIP_STATUS, bA as CVC_157_VALUES, bB as CVC_158_CUSTODY_STATUS, bC as CVC_158_LABELS, bD as CVC_158_VALUES, bE as CVC_159_CATEGORY, bF as CVC_159_CATEGORY_LABELS, bG as CVC_159_CATEGORY_ORDER, bH as CVC_159_LABELS, bI as CVC_159_OPTIONS, bJ as CVC_159_RELATIONSHIP_TIES, bK as CVC_159_SELECTABLE_OPTIONS, bL as CVC_159_TYPE_TO_CATEGORY, bM as CVC_159_VALUES, bN as CVC_15_CORE_SEX, bO as CVC_15_LABELS, bP as CVC_15_SELECTABLE_VALUES, bQ as CVC_16_CORE_ORIENTATION, bR as CVC_16_LABELS, bS as CVC_16_LGBTQ_VALUES, bT as CVC_171_CATEGORY, bU as CVC_171_CATEGORY_LABELS, bV as CVC_171_CHILD_TO_PARENT, bW as CVC_171_INCOME_BENEFITS, bX as CVC_171_INCOME_SOURCES, bY as CVC_171_LABELS, bZ as CVC_171_PARENT_CHILDREN, b_ as CVC_171_SELECTABLE_OPTIONS, b$ as CVC_171_VALUES, c0 as CVC_171_VALUE_TO_CATEGORY, c1 as CVC_179_CHILD_TO_PARENT, c2 as CVC_179_EMPLOYMENT_STATUS, c3 as CVC_179_HIERARCHICAL_CATEGORY, c4 as CVC_179_HIERARCHICAL_CATEGORY_LABELS, c5 as CVC_179_HIERARCHICAL_CATEGORY_ORDER, c6 as CVC_179_HIERARCHICAL_LABELS, c7 as CVC_179_HIERARCHICAL_VALUES, c8 as CVC_179_LABELS, c9 as CVC_179_PARENT_CHILDREN, ca as CVC_179_PRIMARY_CATEGORY, cb as CVC_179_SELECTABLE_OPTIONS, cc as CVC_179_VALUES, cd as CVC_179_VALUE_TO_CATEGORY, ce as CVC_17_CORE_GENDER_IDENTITY, cf as CVC_17_LABELS, cg as CVC_17_LEVEL_1_OPTIONS, ch as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, ci as CVC_17_TRANSGENDER_VALUES, cj as CVC_17_VALUES, ck as CVC_180_EDUCATION_LEVEL, cl as CVC_180_LABELS, cm as CVC_180_ORDINAL, cn as CVC_180_VALUES, co as CVC_181_COUNTRIES, cp as CVC_181_LABELS, cq as CVC_185_LABELS, cr as CVC_185_PREFERRED_CONTACT_METHOD, cs as CVC_185_VALUES, ct as CVC_186_CENSUS_DIVISIONS, cu as CVC_186_CENSUS_REGIONS, cv as CVC_186_LABELS, cw as CVC_186_US_REGION, cx as CVC_186_VALUES, cy as CVC_188_LABELS, cz as CVC_188_US_STATE, cA as CVC_188_VALUES, cB as CVC_191_LABELS, cC as CVC_191_LOCATION_TYPE, cD as CVC_191_MISSINGNESS_VALUES, cE as CVC_191_SELECTABLE_VALUES, cF as CVC_191_VALUES, cG as CVC_192_LABELS, cH as CVC_192_LIVING_SITUATION, cI as CVC_192_MISSINGNESS_VALUES, cJ as CVC_192_SELECTABLE_VALUES, cK as CVC_192_VALUES, cL as CVC_193_HMIS_LIVING_SITUATION, cM as CVC_193_HOMELESS_VALUES, cN as CVC_193_INSTITUTIONAL_VALUES, cO as CVC_193_LABELS, cP as CVC_193_MISSINGNESS_VALUES, cQ as CVC_193_PERMANENT_VALUES, cR as CVC_193_TEMPORARY_VALUES, cS as CVC_193_VALUES, cT as CVC_194_HOUSING_SUBSIDY_TYPE, cU as CVC_194_LABELS, cV as CVC_194_MISSINGNESS_VALUES, cW as CVC_194_SELECTABLE_VALUES, cX as CVC_194_VALUES, cY as CVC_196_CHILD_WELFARE_EPISODE_TYPE, cZ as CVC_196_LABELS, c_ as CVC_196_VALUES, c$ as CVC_197_JUVENILE_JUSTICE_EPISODE, d0 as CVC_197_LABELS, d1 as CVC_197_MISSINGNESS_VALUES, d2 as CVC_197_SELECTABLE_VALUES, d3 as CVC_197_VALUES, d4 as CVC_1_LABELS, d5 as CVC_1_NAME_TYPE, d6 as CVC_1_STRUCTURED_NAME_TYPES, d7 as CVC_1_UNSTRUCTURED_NAME_TYPES, d8 as CVC_1_VALUES, d9 as CVC_67_HMIS_SEX, da as CVC_67_LABELS, db as CVC_67_MISSINGNESS_VALUES, dc as CVC_67_SELECTABLE_VALUES, dd as CVC_67_VALUES, de as CVC_72_HT_TYPE, df as CVC_72_LABELS, dg as CVC_72_VALUES, dh as CVC_76_LABELS, di as CVC_76_RACE_ETHNICITY, dj as CVC_76_VALUES, dk as CVC_93_CHILD_WELFARE_INVOLVEMENT, dl as CVC_93_LABELS, dm as CVC_93_VALUES, dn as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, dp as CVC_95_LABELS, dq as CVC_95_VALUES, dr as CVC_96_HOMELESS_STATUS, ds as CVC_96_LABELS, dt as CVC_96_VALUES, du as CVC_97_IMMIGRANT_REFUGEE, dv as CVC_97_LABELS, dw as CVC_97_VALUES, dx as CVC_98_LABELS, dy as CVC_98_US_VETERAN, dz as CVC_98_VALUES, dA as CVC_99_ENGLISH_PROFICIENCY, dB as CVC_99_LABELS, dC as CVC_99_VALUES, dD as DATA_QUALITY, dE as DATA_QUALITY_DESCRIPTIONS, dF as DATA_QUALITY_LABELS, dG as DATA_QUALITY_VALUES, dH as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, dI as DataQualityValue, dJ as FORM_STATUS, dK as FORM_STATUS_LABELS, dL as FORM_TYPE, dM as FORM_TYPE_LABELS, dN as FUNCTION_STATUS, dO as FUNCTION_STATUS_LABELS, dP as FUNCTION_STATUS_VALUES, dQ as FormStatusValue, dR as FormTypeValue, dS as FunctionStatusValue, dT as IC13Category, dU as IC13PriorityGroup, dV as IC13Value, dW as IC22Value, dX as IC23Value, dY as IC24Value, dZ as IC25Value, d_ as IC49ReferralOutcomeValue, d$ as IC49ReferralVerificationValue, e0 as IC49Value, e1 as IC4Value, e2 as IC56ChannelValue, e3 as IC56Value, e4 as IC57Value, e5 as IC58ExternalCategory, e6 as IC58Value, e7 as IC59Value, e8 as IC5Value, e9 as IC_13_CATEGORIES, ea as IC_13_CATEGORY_ORDER, eb as IC_13_LABELS, ec as IC_13_PRIORITY_GROUPS, ed as IC_13_RELATIONSHIP_ABBREV, ee as IC_13_RELATIONSHIP_TYPE, ef as IC_13_REVERSE_CONTEXT_LABELS, eg as IC_22_CORE_SEX, eh as IC_22_LABELS, ei as IC_23_CORE_GENDER_IDENTITY, ej as IC_23_LABELS, ek as IC_24_LABELS, el as IC_24_RACE, em as IC_25_ETHNICITY, en as IC_25_LABELS, eo as IC_48_SERVICE_CATEGORIES, ep as IC_49_DESCRIPTIONS, eq as IC_49_LABELS, er as IC_49_REFERRAL_OUTCOME, es as IC_49_REFERRAL_OUTCOME_LABELS, et as IC_49_REFERRAL_VERIFICATION, eu as IC_49_REFERRAL_VERIFICATION_LABELS, ev as IC_49_SERVICE_MECHANISM, ew as IC_4_AGE_TYPE, ex as IC_4_LABELS, ey as IC_56_DESCRIPTIONS, ez as IC_56_LABELS, eA as IC_56_OPTIONS, eB as IC_56_SERVICE_DELIVERY_CHANNEL, eC as IC_57_LABELS, eD as IC_57_SERVICE_AUDIENCE, eE as IC_58_EXTERNAL_TIERED, eF as IC_58_LABELS, eG as IC_58_ORG_TYPE_GROUPS, eH as IC_58_PRIMARY_BRANCHES, eI as IC_58_REFERRAL_ENTITY, eJ as IC_59_LABELS, eK as IC_59_SERVICE_STATE, eL as IC_5_FULL_LABELS, eM as IC_5_LABELS, eN as IC_5_VICTIMIZATION, eO as INCIDENT_INVOLVEMENT_ROLE, eP as INCIDENT_INVOLVEMENT_ROLE_LABELS, eQ as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, eR as INCIDENT_PARTICIPATION_ROLE, eS as INCIDENT_PARTICIPATION_ROLE_LABELS, eT as INCIDENT_PARTICIPATION_ROLE_VALUES, eU as INTERACTION_TYPES, eV as INTERACTION_TYPE_LABELS, eW as INVOLVEMENT_ROLE_TO_PERSON_TYPE, eX as IncidentInvolvementRoleValue, eY as IncidentParticipationRoleValue, eZ as InteractionTypeValue, e_ as MINOR_ADULT_STATUS, e$ as MINOR_ADULT_STATUS_LABELS, f0 as MinorAdultStatusValue, f1 as OrgTypeGroup, f2 as PARTICIPATION_ROLE_CATEGORIES, f3 as PERMISSION_STATE, f4 as PERMISSION_STATE_DISPLAY, f5 as PERMISSION_STATE_LABELS, f6 as PERMISSION_STATE_VALUES, f7 as PERSON_DISPLAY_CATEGORY, f8 as PERSON_DISPLAY_CATEGORY_LABELS, f9 as PERSON_ROLES, fa as PERSON_TYPE, fb as PERSON_TYPE_VALUES, fc as PLATFORM_TOOL, fd as PLATFORM_TOOL_LABELS, fe as PLATFORM_TOOL_VALUES, ff as PermissionStateValue, fg as PersonDisplayCategoryValue, fh as PersonRoleValue, fi as PersonTypeValue, fj as PlatformToolValue, fk as QUESTION_FORMAT, fl as QUESTION_FORMAT_LABELS, fm as QUICK_START_CONFIG, fn as QUICK_START_LABELS, fo as QUICK_START_TEMPLATES, fp as QuestionFormatValue, fq as QuickStartTemplateId, fr as RECORD_STATES, fs as RECORD_STATE_LABELS, ft as RELATIONSHIP_CONCERNS, fu as RELATIONSHIP_CONCERNS_LABELS, fv as RELATIONSHIP_CONCERNS_VALUES, fw as RELATIONSHIP_DYNAMICS, fx as RELATIONSHIP_DYNAMICS_LABELS, fy as RELATIONSHIP_DYNAMICS_VALUES, fz as ROLE_LEVEL, fA as ROLE_LEVEL_LABELS, fB as ROLE_LEVEL_VALUES, fC as RecordStateValue, fD as ReferralBranch, fE as RelationshipConcernValue, fF as RelationshipDynamicValue, fG as RoleLevelValue, fH as SESSION_STATES, fI as SESSION_STATE_LABELS, fJ as SHARE_VIEW, fK as SHARE_VIEW_LABELS, fL as SHARE_VIEW_VALUES, fM as SUBMISSION_STATES, fN as SUBMISSION_STATE_LABELS, fO as ServiceCategory, fP as ServiceCategoryChild, fQ as SessionStateValue, fR as ShareViewValue, fS as SubmissionStateValue, fT as THREAD_INVOLVEMENT_ROLES, fU as USER_STATUS, fV as USER_STATUS_LABELS, fW as UserStatusValue, fX as VALID_INTERACTION_TYPES, fY as VALID_RECORD_STATES, fZ as deriveAgeBinFromAge, f_ as getDisplayCategoryForRole, f$ as getPersonTypeForRole, g0 as getRelationshipCategory, g1 as isIC56Missingness, g2 as isIC56ValidChannel, g3 as isLgbtqOrientation, g4 as isProtectedRelationship, g5 as isStructuredNameType, g6 as isTransgenderGenderIdentity, g7 as sortRelationshipsByPriority } from '../platform-auth-BTbQIY3b.cjs';
1
+ export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136Option, y as CVC136Value, z as CVC145Category, D as CVC145Option, E as CVC145Value, F as CVC147Value, G as CVC148Value, H as CVC150Value, I as CVC151Value, J as CVC152Value, K as CVC153Value, L as CVC156Value, M as CVC157Value, N as CVC158Value, O as CVC159Category, P as CVC159Option, Q as CVC159Value, R as CVC15Value, S as CVC16Value, T as CVC171Category, U as CVC171Option, V as CVC171Value, W as CVC179HierarchicalCategory, X as CVC179HierarchicalValue, Y as CVC179Value, Z as CVC17Value, _ as CVC180Value, $ as CVC181Value, a0 as CVC196Value, a1 as CVC1Value, a2 as CVC67Value, a3 as CVC72Value, a4 as CVC76Value, a5 as CVC93Value, a6 as CVC95Value, a7 as CVC96Value, a8 as CVC97Value, a9 as CVC98Value, aa as CVC99Value, ab as CVC_100_LABELS, ac as CVC_100_LIVES_RURAL, ad as CVC_100_VALUES, ae as CVC_115_LABELS, af as CVC_115_SERVICE_PLANNING, ag as CVC_115_VALUES, ah as CVC_120_LABELS, ai as CVC_120_MILITARY_BRANCH, aj as CVC_120_VALUES, ak as CVC_121_LABELS, al as CVC_121_MILITARY_STATUS, am as CVC_121_VALUES, an as CVC_122_LABELS, ao as CVC_122_PRIMARY_LANGUAGE, ap as CVC_122_VALUES, aq as CVC_126_CATEGORY, ar as CVC_126_CATEGORY_LABELS, as as CVC_126_LABELS, at as CVC_126_OPTIONS, au as CVC_126_PERSON_RELATIONSHIP, av as CVC_126_PROTECTED_CATEGORIES, aw as CVC_126_TYPE_TO_CATEGORY, ax as CVC_126_VALUES, ay as CVC_136_ALERT_INDICATOR, az as CVC_136_CATEGORY_LABELS, aA as CVC_136_INDICATOR_CATEGORY, aB as CVC_136_LABELS, aC as CVC_136_OPTIONS, aD as CVC_136_TYPE_TO_CATEGORY, aE as CVC_136_VALUES, aF as CVC_145_CATEGORY, aG as CVC_145_CATEGORY_LABELS, aH as CVC_145_CATEGORY_ORDER, aI as CVC_145_LABELS, aJ as CVC_145_OPTIONS, aK as CVC_145_RELATIONSHIP_DYNAMICS, aL as CVC_145_SELECTABLE_OPTIONS, aM as CVC_145_TYPE_TO_CATEGORY, aN as CVC_145_VALUES, aO as CVC_147_LABELS, aP as CVC_147_PRONOUNS, aQ as CVC_147_VALUES, aR as CVC_148_LABELS, aS as CVC_148_TRIBES, aT as CVC_148_VALUES, aU as CVC_150_EYE_COLOR, aV as CVC_150_LABELS, aW as CVC_150_VALUES, aX as CVC_151_HAIR_COLOR, aY as CVC_151_LABELS, aZ as CVC_151_VALUES, a_ as CVC_152_HAS_TATTOOS, a$ as CVC_152_LABELS, b0 as CVC_152_VALUES, b1 as CVC_153_LABELS, b2 as CVC_153_SMT_TYPE, b3 as CVC_153_VALUES, b4 as CVC_156_LABELS, b5 as CVC_156_MARITAL_STATUS, b6 as CVC_156_VALUES, b7 as CVC_157_LABELS, b8 as CVC_157_RELATIONSHIP_STATUS, b9 as CVC_157_VALUES, ba as CVC_158_CUSTODY_STATUS, bb as CVC_158_LABELS, bc as CVC_158_VALUES, bd as CVC_159_CATEGORY, be as CVC_159_CATEGORY_LABELS, bf as CVC_159_CATEGORY_ORDER, bg as CVC_159_LABELS, bh as CVC_159_OPTIONS, bi as CVC_159_RELATIONSHIP_TIES, bj as CVC_159_SELECTABLE_OPTIONS, bk as CVC_159_TYPE_TO_CATEGORY, bl as CVC_159_VALUES, bm as CVC_15_CORE_SEX, bn as CVC_15_LABELS, bo as CVC_15_SELECTABLE_VALUES, bp as CVC_16_CORE_ORIENTATION, bq as CVC_16_LABELS, br as CVC_16_LGBTQ_VALUES, bs as CVC_171_CATEGORY, bt as CVC_171_CATEGORY_LABELS, bu as CVC_171_CHILD_TO_PARENT, bv as CVC_171_INCOME_BENEFITS, bw as CVC_171_INCOME_SOURCES, bx as CVC_171_LABELS, by as CVC_171_PARENT_CHILDREN, bz as CVC_171_SELECTABLE_OPTIONS, bA as CVC_171_VALUES, bB as CVC_171_VALUE_TO_CATEGORY, bC as CVC_179_CHILD_TO_PARENT, bD as CVC_179_EMPLOYMENT_STATUS, bE as CVC_179_HIERARCHICAL_CATEGORY, bF as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bG as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bH as CVC_179_HIERARCHICAL_LABELS, bI as CVC_179_HIERARCHICAL_VALUES, bJ as CVC_179_LABELS, bK as CVC_179_PARENT_CHILDREN, bL as CVC_179_PRIMARY_CATEGORY, bM as CVC_179_SELECTABLE_OPTIONS, bN as CVC_179_VALUES, bO as CVC_179_VALUE_TO_CATEGORY, bP as CVC_17_CORE_GENDER_IDENTITY, bQ as CVC_17_LABELS, bR as CVC_17_LEVEL_1_OPTIONS, bS as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bT as CVC_17_TRANSGENDER_VALUES, bU as CVC_180_EDUCATION_LEVEL, bV as CVC_180_LABELS, bW as CVC_180_ORDINAL, bX as CVC_180_VALUES, bY as CVC_181_COUNTRIES, bZ as CVC_181_LABELS, b_ as CVC_196_CHILD_WELFARE_EPISODE_TYPE, b$ as CVC_196_LABELS, c0 as CVC_196_VALUES, c1 as CVC_1_LABELS, c2 as CVC_1_NAME_TYPE, c3 as CVC_1_STRUCTURED_NAME_TYPES, c4 as CVC_1_UNSTRUCTURED_NAME_TYPES, c5 as CVC_1_VALUES, c6 as CVC_67_HMIS_SEX, c7 as CVC_67_LABELS, c8 as CVC_67_MISSINGNESS_VALUES, c9 as CVC_67_SELECTABLE_VALUES, ca as CVC_72_HT_TYPE, cb as CVC_72_LABELS, cc as CVC_72_VALUES, cd as CVC_76_LABELS, ce as CVC_76_RACE_ETHNICITY, cf as CVC_76_VALUES, cg as CVC_93_CHILD_WELFARE_INVOLVEMENT, ch as CVC_93_LABELS, ci as CVC_93_VALUES, cj as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, ck as CVC_95_LABELS, cl as CVC_95_VALUES, cm as CVC_96_HOMELESS_STATUS, cn as CVC_96_LABELS, co as CVC_96_VALUES, cp as CVC_97_IMMIGRANT_REFUGEE, cq as CVC_97_LABELS, cr as CVC_97_VALUES, cs as CVC_98_LABELS, ct as CVC_98_US_VETERAN, cu as CVC_98_VALUES, cv as CVC_99_ENGLISH_PROFICIENCY, cw as CVC_99_LABELS, cx as CVC_99_VALUES, cy as DATA_QUALITY, cz as DATA_QUALITY_DESCRIPTIONS, cA as DATA_QUALITY_LABELS, cB as DATA_QUALITY_VALUES, cC as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cD as DataQualityValue, cE as FORM_STATUS, cF as FORM_STATUS_LABELS, cG as FORM_TYPE, cH as FORM_TYPE_LABELS, cI as FUNCTION_STATUS, cJ as FUNCTION_STATUS_LABELS, cK as FUNCTION_STATUS_VALUES, cL as FormStatusValue, cM as FormTypeValue, cN as FunctionStatusValue, cO as IC13Category, cP as IC13PriorityGroup, cQ as IC13Value, cR as IC22Value, cS as IC23Value, cT as IC24Value, cU as IC25Value, cV as IC49ReferralOutcomeValue, cW as IC49ReferralVerificationValue, cX as IC49Value, cY as IC4Value, cZ as IC56ChannelValue, c_ as IC56Value, c$ as IC57Value, d0 as IC58ExternalCategory, d1 as IC58Value, d2 as IC59Value, d3 as IC5Value, d4 as IC_13_CATEGORIES, d5 as IC_13_CATEGORY_ORDER, d6 as IC_13_LABELS, d7 as IC_13_PRIORITY_GROUPS, d8 as IC_13_RELATIONSHIP_ABBREV, d9 as IC_13_RELATIONSHIP_TYPE, da as IC_13_REVERSE_CONTEXT_LABELS, db as IC_22_CORE_SEX, dc as IC_22_LABELS, dd as IC_23_CORE_GENDER_IDENTITY, de as IC_23_LABELS, df as IC_24_LABELS, dg as IC_24_RACE, dh as IC_25_ETHNICITY, di as IC_25_LABELS, dj as IC_48_SERVICE_CATEGORIES, dk as IC_49_DESCRIPTIONS, dl as IC_49_LABELS, dm as IC_49_REFERRAL_OUTCOME, dn as IC_49_REFERRAL_OUTCOME_LABELS, dp as IC_49_REFERRAL_VERIFICATION, dq as IC_49_REFERRAL_VERIFICATION_LABELS, dr as IC_49_SERVICE_MECHANISM, ds as IC_4_AGE_TYPE, dt as IC_4_LABELS, du as IC_56_DESCRIPTIONS, dv as IC_56_LABELS, dw as IC_56_OPTIONS, dx as IC_56_SERVICE_DELIVERY_CHANNEL, dy as IC_57_LABELS, dz as IC_57_SERVICE_AUDIENCE, dA as IC_58_EXTERNAL_TIERED, dB as IC_58_LABELS, dC as IC_58_ORG_TYPE_GROUPS, dD as IC_58_PRIMARY_BRANCHES, dE as IC_58_REFERRAL_ENTITY, dF as IC_59_LABELS, dG as IC_59_SERVICE_STATE, dH as IC_5_FULL_LABELS, dI as IC_5_LABELS, dJ as IC_5_VICTIMIZATION, dK as INCIDENT_INVOLVEMENT_ROLE, dL as INCIDENT_INVOLVEMENT_ROLE_LABELS, dM as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dN as INCIDENT_PARTICIPATION_ROLE, dO as INCIDENT_PARTICIPATION_ROLE_LABELS, dP as INCIDENT_PARTICIPATION_ROLE_VALUES, dQ as INTERACTION_TYPES, dR as INTERACTION_TYPE_LABELS, dS as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dT as IncidentInvolvementRoleValue, dU as IncidentParticipationRoleValue, dV as InteractionTypeValue, dW as MINOR_ADULT_STATUS, dX as MINOR_ADULT_STATUS_LABELS, dY as MinorAdultStatusValue, dZ as OrgTypeGroup, d_ as PARTICIPATION_ROLE_CATEGORIES, d$ as PERMISSION_STATE, e0 as PERMISSION_STATE_DISPLAY, e1 as PERMISSION_STATE_LABELS, e2 as PERMISSION_STATE_VALUES, e3 as PERSON_DISPLAY_CATEGORY, e4 as PERSON_DISPLAY_CATEGORY_LABELS, e5 as PERSON_ROLES, e6 as PERSON_TYPE, e7 as PERSON_TYPE_VALUES, e8 as PLATFORM_TOOL, e9 as PLATFORM_TOOL_LABELS, ea as PLATFORM_TOOL_VALUES, eb as PermissionStateValue, ec as PersonDisplayCategoryValue, ed as PersonRoleValue, ee as PersonTypeValue, ef as PlatformToolValue, eg as QUESTION_FORMAT, eh as QUESTION_FORMAT_LABELS, ei as QUICK_START_CONFIG, ej as QUICK_START_LABELS, ek as QUICK_START_TEMPLATES, el as QuestionFormatValue, em as QuickStartTemplateId, en as RECORD_STATES, eo as RECORD_STATE_LABELS, ep as RELATIONSHIP_CONCERNS, eq as RELATIONSHIP_CONCERNS_LABELS, er as RELATIONSHIP_CONCERNS_VALUES, es as RELATIONSHIP_DYNAMICS, et as RELATIONSHIP_DYNAMICS_LABELS, eu as RELATIONSHIP_DYNAMICS_VALUES, ev as ROLE_LEVEL, ew as ROLE_LEVEL_LABELS, ex as ROLE_LEVEL_VALUES, ey as RecordStateValue, ez as ReferralBranch, eA as RelationshipConcernValue, eB as RelationshipDynamicValue, eC as RoleLevelValue, eD as SESSION_STATES, eE as SESSION_STATE_LABELS, eF as SHARE_VIEW, eG as SHARE_VIEW_LABELS, eH as SHARE_VIEW_VALUES, eI as SUBMISSION_STATES, eJ as SUBMISSION_STATE_LABELS, eK as ServiceCategory, eL as ServiceCategoryChild, eM as SessionStateValue, eN as ShareViewValue, eO as SubmissionStateValue, eP as THREAD_INVOLVEMENT_ROLES, eQ as USER_STATUS, eR as USER_STATUS_LABELS, eS as UserStatusValue, eT as VALID_INTERACTION_TYPES, eU as VALID_RECORD_STATES, eV as deriveAgeBinFromAge, eW as getDisplayCategoryForRole, eX as getPersonTypeForRole, eY as getRelationshipCategory, eZ as isIC56Missingness, e_ as isIC56ValidChannel, e$ as isLgbtqOrientation, f0 as isProtectedRelationship, f1 as isStructuredNameType, f2 as isTransgenderGenderIdentity, f3 as sortRelationshipsByPriority } from '../platform-auth-C-G2qeGM.cjs';
2
2
 
3
3
  /**
4
4
  * @htilabs/platform-common-models — IC-48 Universal Service Catalog
@@ -13,6 +13,45 @@ export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REP
13
13
  * - Selectability flags for leaf vs branch nodes
14
14
  *
15
15
  * @see https://github.com/htilabstech/thread2 for the source of truth
16
+ *
17
+ * ---
18
+ *
19
+ * **DEPRECATION NOTICE (as of 0.3.0)**
20
+ *
21
+ * All exported constants and helpers in this module are deprecated in favor
22
+ * of the generalized CVC data layer (`CvcRegistryService`), which loads
23
+ * catalog data from MongoDB at runtime rather than from a hardcoded JSON
24
+ * bundle. Nothing is being removed yet — removal is tracked in a downstream
25
+ * consumer-migration epic after Thread + PAVE cut over.
26
+ *
27
+ * Migration pointers (by symbol):
28
+ * - `IC_48_BY_ID` / `getIC48CategoryById` / `getIC48Label`
29
+ * → `CvcRegistryService.getEntryByCode(scope, code)`
30
+ * (NOTE: the primary key changes from integer ID to the positional
31
+ * 7-segment code.)
32
+ * - `IC_48_BY_CODE` / `getIC48CategoryByCode`
33
+ * → `CvcRegistryService.getEntryByCode(scope, code)`
34
+ * - `IC_48_CATEGORIES` / `IC_48_SERVICE_CATALOG`
35
+ * → `CvcRegistryService.getEntries(scope, 'service_categories')`
36
+ * or `CvcRegistryService.getActiveRegistry(scope)`
37
+ * - `getIC48SelectableCategories`
38
+ * → `CvcRegistryService.getSelectableEntries(scope, 'service_categories')`
39
+ * - `getIC48ChildCategories`
40
+ * → `CvcRegistryService.getChildren(scope, domain, parentKey)`
41
+ * - `getIC48TopicCategories`
42
+ * → `CvcRegistryService.getEntries(scope, 'service_categories')`
43
+ * filtered to level-1 entries (no direct 1:1 helper)
44
+ * - `getIC48ParentCategory` / `getIC48AncestorCategories`
45
+ * / `getIC48TopicForCategory`
46
+ * → `CvcRegistryService.getAncestors(scope, domain, key)`
47
+ * - `IC_48_CRISIS_SERVICES` → deferred to the **thread application layer**
48
+ * (`service-catalog-rules.v1.json#coreCrisisCodes[]` in the thread rig).
49
+ * NOT replaced by a platform-common field.
50
+ * - `IC_48_DERIVATION_SERVICES` → application-layer concern; define per-app.
51
+ *
52
+ * See `src/services/cvcRegistryService.ts` and the locked CVC Implementation
53
+ * Spec at `/gt/docs/data/cvcs/`. These symbols will be removed in a future
54
+ * major version after Thread + PAVE migrate off the legacy API.
16
55
  */
17
56
  interface IC48CatalogMeta {
18
57
  description: string;
@@ -50,66 +89,148 @@ interface IC48Catalog {
50
89
  meta: IC48CatalogMeta;
51
90
  categories: IC48Category[];
52
91
  }
53
- /** The full IC-48 service catalog */
92
+ /**
93
+ * The full IC-48 service catalog.
94
+ *
95
+ * @deprecated Use `CvcRegistryService.getActiveRegistry(scope)` (or
96
+ * `getRegistry`) from `@htilabs/platform-common-models` instead. The new
97
+ * CVC data layer loads registries from MongoDB at runtime.
98
+ * See the module-level deprecation notice above for the full migration
99
+ * table. This constant will be removed in a future major version after
100
+ * Thread + PAVE migrate.
101
+ */
54
102
  declare const IC_48_SERVICE_CATALOG: IC48Catalog;
55
- /** All service categories as an array */
103
+ /**
104
+ * All service categories as an array.
105
+ *
106
+ * @deprecated Use `CvcRegistryService.getEntries(scope, 'service_categories')`
107
+ * from `@htilabs/platform-common-models` instead.
108
+ * See the module-level deprecation notice above. This constant will be
109
+ * removed in a future major version after Thread + PAVE migrate.
110
+ */
56
111
  declare const IC_48_CATEGORIES: IC48Category[];
57
- /** Map of category ID to category object for O(1) lookup */
112
+ /**
113
+ * Map of category ID to category object for O(1) lookup.
114
+ *
115
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
116
+ * `@htilabs/platform-common-models` instead.
117
+ * NOTE: the primary key changes from integer ID to the positional
118
+ * 7-segment code. See the module-level deprecation notice above.
119
+ * This constant will be removed in a future major version after
120
+ * Thread + PAVE migrate.
121
+ */
58
122
  declare const IC_48_BY_ID: ReadonlyMap<number, IC48Category>;
59
- /** Map of category code to category object for O(1) lookup */
123
+ /**
124
+ * Map of category code to category object for O(1) lookup.
125
+ *
126
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
127
+ * `@htilabs/platform-common-models` instead.
128
+ * See the module-level deprecation notice above. This constant will be
129
+ * removed in a future major version after Thread + PAVE migrate.
130
+ */
60
131
  declare const IC_48_BY_CODE: ReadonlyMap<string, IC48Category>;
61
132
  /**
62
133
  * Get a service category by its numeric ID.
63
134
  * @param id - The category ID
64
135
  * @returns The category or undefined if not found
136
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
137
+ * `@htilabs/platform-common-models` instead.
138
+ * NOTE: the primary key changes from integer ID to the positional
139
+ * 7-segment code. See the module-level deprecation notice above.
140
+ * Will be removed in a future major version after Thread + PAVE migrate.
65
141
  */
66
142
  declare function getIC48CategoryById(id: number): IC48Category | undefined;
67
143
  /**
68
144
  * Get a service category by its hierarchical code.
69
145
  * @param code - The category code (e.g., "01-04-01")
70
146
  * @returns The category or undefined if not found
147
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
148
+ * `@htilabs/platform-common-models` instead. See the module-level
149
+ * deprecation notice above. Will be removed in a future major version
150
+ * after Thread + PAVE migrate.
71
151
  */
72
152
  declare function getIC48CategoryByCode(code: string): IC48Category | undefined;
73
153
  /**
74
154
  * Get the label for a service category by ID.
75
155
  * @param id - The category ID
76
156
  * @returns The label or "Unknown Service" if not found
157
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` and read
158
+ * the entry's label from `@htilabs/platform-common-models` instead.
159
+ * NOTE: the primary key changes from integer ID to the positional
160
+ * 7-segment code. See the module-level deprecation notice above.
161
+ * Will be removed in a future major version after Thread + PAVE migrate.
77
162
  */
78
163
  declare function getIC48Label(id: number): string;
79
164
  /**
80
165
  * Get all children of a category (direct descendants only).
81
166
  * @param parentId - The parent category ID
82
167
  * @returns Array of child categories
168
+ * @deprecated Use `CvcRegistryService.getChildren(scope, domain, parentKey)`
169
+ * from `@htilabs/platform-common-models` instead. See the module-level
170
+ * deprecation notice above. Will be removed in a future major version
171
+ * after Thread + PAVE migrate.
83
172
  */
84
173
  declare function getIC48ChildCategories(parentId: number): IC48Category[];
85
174
  /**
86
175
  * Get all selectable (leaf) categories.
87
176
  * @returns Array of selectable categories
177
+ * @deprecated Use
178
+ * `CvcRegistryService.getSelectableEntries(scope, 'service_categories')`
179
+ * from `@htilabs/platform-common-models` instead. See the module-level
180
+ * deprecation notice above. Will be removed in a future major version
181
+ * after Thread + PAVE migrate.
88
182
  */
89
183
  declare function getIC48SelectableCategories(): IC48Category[];
90
184
  /**
91
185
  * Get the root/topic categories (level 1, no parent).
92
186
  * @returns Array of topic-level categories
187
+ * @deprecated Use `CvcRegistryService.getEntries(scope, 'service_categories')`
188
+ * and filter to level-1 entries instead (no direct 1:1 helper exists in
189
+ * the new API). See the module-level deprecation notice above. Will be
190
+ * removed in a future major version after Thread + PAVE migrate.
93
191
  */
94
192
  declare function getIC48TopicCategories(): IC48Category[];
95
193
  /**
96
194
  * Get the parent category for a given category.
97
195
  * @param id - The category ID
98
196
  * @returns The parent category or undefined if none/not found
197
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` and
198
+ * take the first ancestor from `@htilabs/platform-common-models` instead.
199
+ * See the module-level deprecation notice above. Will be removed in a
200
+ * future major version after Thread + PAVE migrate.
99
201
  */
100
202
  declare function getIC48ParentCategory(id: number): IC48Category | undefined;
101
203
  /**
102
204
  * Get all ancestor categories (parent, grandparent, etc.) for a category.
103
205
  * @param id - The category ID
104
206
  * @returns Array of ancestor categories from immediate parent to root
207
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` from
208
+ * `@htilabs/platform-common-models` instead. See the module-level
209
+ * deprecation notice above. Will be removed in a future major version
210
+ * after Thread + PAVE migrate.
105
211
  */
106
212
  declare function getIC48AncestorCategories(id: number): IC48Category[];
107
213
  /**
108
214
  * Get the topic (level 1) category for any category in the tree.
109
215
  * @param id - The category ID
110
216
  * @returns The topic-level ancestor or undefined
217
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` and
218
+ * filter to the level-1 entry from `@htilabs/platform-common-models`
219
+ * instead. See the module-level deprecation notice above. Will be removed
220
+ * in a future major version after Thread + PAVE migrate.
111
221
  */
112
222
  declare function getIC48TopicForCategory(id: number): IC48Category | undefined;
223
+ /**
224
+ * Well-known IC-48 IDs for crisis services.
225
+ *
226
+ * @deprecated This set is deferred to the **thread application layer**
227
+ * (`service-catalog-rules.v1.json#coreCrisisCodes[]` in the thread rig).
228
+ * It is intentionally NOT replaced by a field on platform-common models.
229
+ * Downstream consumers should move their crisis-service lookups into
230
+ * their own rig's configuration/rules file. See the module-level
231
+ * deprecation notice above. Will be removed in a future major version
232
+ * after Thread + PAVE migrate.
233
+ */
113
234
  declare const IC_48_CRISIS_SERVICES: {
114
235
  /** Interpreter Services (01-07-06) */
115
236
  readonly INTERPRETER: 158;
@@ -120,6 +241,16 @@ declare const IC_48_CRISIS_SERVICES: {
120
241
  /** Emergency Shelter (01-05-01) */
121
242
  readonly EMERGENCY_SHELTER: 99;
122
243
  };
244
+ /**
245
+ * Well-known IC-48 IDs used by Thread's service-derivation logic.
246
+ *
247
+ * @deprecated This set is an application-layer concern and should be
248
+ * defined per-app (e.g., in the consuming rig's rules file) rather than
249
+ * in platform-common. Use `CvcRegistryService.getEntryByCode(scope, code)`
250
+ * to resolve individual entries at runtime if you still need a
251
+ * platform-common lookup. See the module-level deprecation notice above.
252
+ * Will be removed in a future major version after Thread + PAVE migrate.
253
+ */
123
254
  declare const IC_48_DERIVATION_SERVICES: {
124
255
  /** Advocacy services */
125
256
  readonly ADVOCACY: 20;
@@ -148,7 +279,17 @@ declare const IC_48_DERIVATION_SERVICES: {
148
279
  /** Interpreter Services */
149
280
  readonly INTERPRETER: 158;
150
281
  };
282
+ /**
283
+ * @deprecated Mirrors {@link IC_48_CRISIS_SERVICES}; see that constant's
284
+ * deprecation notice. Will be removed in a future major version after
285
+ * Thread + PAVE migrate.
286
+ */
151
287
  type IC48CrisisServiceId = (typeof IC_48_CRISIS_SERVICES)[keyof typeof IC_48_CRISIS_SERVICES];
288
+ /**
289
+ * @deprecated Mirrors {@link IC_48_DERIVATION_SERVICES}; see that constant's
290
+ * deprecation notice. Will be removed in a future major version after
291
+ * Thread + PAVE migrate.
292
+ */
152
293
  type IC48DerivationServiceId = (typeof IC_48_DERIVATION_SERVICES)[keyof typeof IC_48_DERIVATION_SERVICES];
153
294
 
154
295
  export { type IC48Catalog, type IC48CatalogMeta, type IC48Category, type IC48CategoryCrosswalk, type IC48CrisisServiceId, type IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory };
@@ -1,4 +1,4 @@
1
- export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136Option, y as CVC136Value, z as CVC137Value, D as CVC145Category, E as CVC145Option, F as CVC145Value, G as CVC147Value, H as CVC148Value, I as CVC149Value, J as CVC150Value, K as CVC151Value, L as CVC152Value, M as CVC153Value, N as CVC155Value, O as CVC156Value, P as CVC157Value, Q as CVC158Value, R as CVC159Category, S as CVC159Option, T as CVC159Value, U as CVC15Value, V as CVC16Value, W as CVC171Category, X as CVC171Option, Y as CVC171Value, Z as CVC179HierarchicalCategory, _ as CVC179HierarchicalValue, $ as CVC179Value, a0 as CVC17Value, a1 as CVC180Value, a2 as CVC181Value, a3 as CVC185Value, a4 as CVC186Value, a5 as CVC188Value, a6 as CVC191Value, a7 as CVC192Value, a8 as CVC193Value, a9 as CVC194Value, aa as CVC196Value, ab as CVC197Value, ac as CVC1Value, ad as CVC67Value, ae as CVC72Value, af as CVC76Value, ag as CVC93Value, ah as CVC95Value, ai as CVC96Value, aj as CVC97Value, ak as CVC98Value, al as CVC99Value, am as CVC_100_LABELS, an as CVC_100_LIVES_RURAL, ao as CVC_100_VALUES, ap as CVC_115_LABELS, aq as CVC_115_SERVICE_PLANNING, ar as CVC_115_VALUES, as as CVC_120_LABELS, at as CVC_120_MILITARY_BRANCH, au as CVC_120_VALUES, av as CVC_121_LABELS, aw as CVC_121_MILITARY_STATUS, ax as CVC_121_VALUES, ay as CVC_122_LABELS, az as CVC_122_PRIMARY_LANGUAGE, aA as CVC_122_VALUES, aB as CVC_126_CATEGORY, aC as CVC_126_CATEGORY_LABELS, aD as CVC_126_LABELS, aE as CVC_126_OPTIONS, aF as CVC_126_PERSON_RELATIONSHIP, aG as CVC_126_PROTECTED_CATEGORIES, aH as CVC_126_TYPE_TO_CATEGORY, aI as CVC_126_VALUES, aJ as CVC_136_ALERT_INDICATOR, aK as CVC_136_CATEGORY_LABELS, aL as CVC_136_INDICATOR_CATEGORY, aM as CVC_136_LABELS, aN as CVC_136_OPTIONS, aO as CVC_136_TYPE_TO_CATEGORY, aP as CVC_136_VALUES, aQ as CVC_137_LABELS, aR as CVC_137_MISSINGNESS_VALUES, aS as CVC_137_RECENCY_BAND, aT as CVC_137_SELECTABLE_VALUES, aU as CVC_137_VALUES, aV as CVC_145_CATEGORY, aW as CVC_145_CATEGORY_LABELS, aX as CVC_145_CATEGORY_ORDER, aY as CVC_145_LABELS, aZ as CVC_145_OPTIONS, a_ as CVC_145_RELATIONSHIP_DYNAMICS, a$ as CVC_145_SELECTABLE_OPTIONS, b0 as CVC_145_TYPE_TO_CATEGORY, b1 as CVC_145_VALUES, b2 as CVC_147_LABELS, b3 as CVC_147_PRONOUNS, b4 as CVC_147_VALUES, b5 as CVC_148_LABELS, b6 as CVC_148_TRIBES, b7 as CVC_148_VALUES, b8 as CVC_149_APP_DOMAINS, b9 as CVC_149_CONTACT_INFO_TYPE, ba as CVC_149_LABELS, bb as CVC_149_PRIMARY_TYPES, bc as CVC_149_SOCIAL_DOMAINS, bd as CVC_149_VALUES, be as CVC_150_EYE_COLOR, bf as CVC_150_LABELS, bg as CVC_150_VALUES, bh as CVC_151_HAIR_COLOR, bi as CVC_151_LABELS, bj as CVC_151_VALUES, bk as CVC_152_HAS_TATTOOS, bl as CVC_152_LABELS, bm as CVC_152_VALUES, bn as CVC_153_LABELS, bo as CVC_153_SMT_TYPE, bp as CVC_153_VALUES, bq as CVC_155_CONTACT_SAFETY_STATUS, br as CVC_155_LABELS, bs as CVC_155_MISSINGNESS_VALUES, bt as CVC_155_SELECTABLE_VALUES, bu as CVC_155_VALUES, bv as CVC_156_LABELS, bw as CVC_156_MARITAL_STATUS, bx as CVC_156_VALUES, by as CVC_157_LABELS, bz as CVC_157_RELATIONSHIP_STATUS, bA as CVC_157_VALUES, bB as CVC_158_CUSTODY_STATUS, bC as CVC_158_LABELS, bD as CVC_158_VALUES, bE as CVC_159_CATEGORY, bF as CVC_159_CATEGORY_LABELS, bG as CVC_159_CATEGORY_ORDER, bH as CVC_159_LABELS, bI as CVC_159_OPTIONS, bJ as CVC_159_RELATIONSHIP_TIES, bK as CVC_159_SELECTABLE_OPTIONS, bL as CVC_159_TYPE_TO_CATEGORY, bM as CVC_159_VALUES, bN as CVC_15_CORE_SEX, bO as CVC_15_LABELS, bP as CVC_15_SELECTABLE_VALUES, bQ as CVC_16_CORE_ORIENTATION, bR as CVC_16_LABELS, bS as CVC_16_LGBTQ_VALUES, bT as CVC_171_CATEGORY, bU as CVC_171_CATEGORY_LABELS, bV as CVC_171_CHILD_TO_PARENT, bW as CVC_171_INCOME_BENEFITS, bX as CVC_171_INCOME_SOURCES, bY as CVC_171_LABELS, bZ as CVC_171_PARENT_CHILDREN, b_ as CVC_171_SELECTABLE_OPTIONS, b$ as CVC_171_VALUES, c0 as CVC_171_VALUE_TO_CATEGORY, c1 as CVC_179_CHILD_TO_PARENT, c2 as CVC_179_EMPLOYMENT_STATUS, c3 as CVC_179_HIERARCHICAL_CATEGORY, c4 as CVC_179_HIERARCHICAL_CATEGORY_LABELS, c5 as CVC_179_HIERARCHICAL_CATEGORY_ORDER, c6 as CVC_179_HIERARCHICAL_LABELS, c7 as CVC_179_HIERARCHICAL_VALUES, c8 as CVC_179_LABELS, c9 as CVC_179_PARENT_CHILDREN, ca as CVC_179_PRIMARY_CATEGORY, cb as CVC_179_SELECTABLE_OPTIONS, cc as CVC_179_VALUES, cd as CVC_179_VALUE_TO_CATEGORY, ce as CVC_17_CORE_GENDER_IDENTITY, cf as CVC_17_LABELS, cg as CVC_17_LEVEL_1_OPTIONS, ch as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, ci as CVC_17_TRANSGENDER_VALUES, cj as CVC_17_VALUES, ck as CVC_180_EDUCATION_LEVEL, cl as CVC_180_LABELS, cm as CVC_180_ORDINAL, cn as CVC_180_VALUES, co as CVC_181_COUNTRIES, cp as CVC_181_LABELS, cq as CVC_185_LABELS, cr as CVC_185_PREFERRED_CONTACT_METHOD, cs as CVC_185_VALUES, ct as CVC_186_CENSUS_DIVISIONS, cu as CVC_186_CENSUS_REGIONS, cv as CVC_186_LABELS, cw as CVC_186_US_REGION, cx as CVC_186_VALUES, cy as CVC_188_LABELS, cz as CVC_188_US_STATE, cA as CVC_188_VALUES, cB as CVC_191_LABELS, cC as CVC_191_LOCATION_TYPE, cD as CVC_191_MISSINGNESS_VALUES, cE as CVC_191_SELECTABLE_VALUES, cF as CVC_191_VALUES, cG as CVC_192_LABELS, cH as CVC_192_LIVING_SITUATION, cI as CVC_192_MISSINGNESS_VALUES, cJ as CVC_192_SELECTABLE_VALUES, cK as CVC_192_VALUES, cL as CVC_193_HMIS_LIVING_SITUATION, cM as CVC_193_HOMELESS_VALUES, cN as CVC_193_INSTITUTIONAL_VALUES, cO as CVC_193_LABELS, cP as CVC_193_MISSINGNESS_VALUES, cQ as CVC_193_PERMANENT_VALUES, cR as CVC_193_TEMPORARY_VALUES, cS as CVC_193_VALUES, cT as CVC_194_HOUSING_SUBSIDY_TYPE, cU as CVC_194_LABELS, cV as CVC_194_MISSINGNESS_VALUES, cW as CVC_194_SELECTABLE_VALUES, cX as CVC_194_VALUES, cY as CVC_196_CHILD_WELFARE_EPISODE_TYPE, cZ as CVC_196_LABELS, c_ as CVC_196_VALUES, c$ as CVC_197_JUVENILE_JUSTICE_EPISODE, d0 as CVC_197_LABELS, d1 as CVC_197_MISSINGNESS_VALUES, d2 as CVC_197_SELECTABLE_VALUES, d3 as CVC_197_VALUES, d4 as CVC_1_LABELS, d5 as CVC_1_NAME_TYPE, d6 as CVC_1_STRUCTURED_NAME_TYPES, d7 as CVC_1_UNSTRUCTURED_NAME_TYPES, d8 as CVC_1_VALUES, d9 as CVC_67_HMIS_SEX, da as CVC_67_LABELS, db as CVC_67_MISSINGNESS_VALUES, dc as CVC_67_SELECTABLE_VALUES, dd as CVC_67_VALUES, de as CVC_72_HT_TYPE, df as CVC_72_LABELS, dg as CVC_72_VALUES, dh as CVC_76_LABELS, di as CVC_76_RACE_ETHNICITY, dj as CVC_76_VALUES, dk as CVC_93_CHILD_WELFARE_INVOLVEMENT, dl as CVC_93_LABELS, dm as CVC_93_VALUES, dn as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, dp as CVC_95_LABELS, dq as CVC_95_VALUES, dr as CVC_96_HOMELESS_STATUS, ds as CVC_96_LABELS, dt as CVC_96_VALUES, du as CVC_97_IMMIGRANT_REFUGEE, dv as CVC_97_LABELS, dw as CVC_97_VALUES, dx as CVC_98_LABELS, dy as CVC_98_US_VETERAN, dz as CVC_98_VALUES, dA as CVC_99_ENGLISH_PROFICIENCY, dB as CVC_99_LABELS, dC as CVC_99_VALUES, dD as DATA_QUALITY, dE as DATA_QUALITY_DESCRIPTIONS, dF as DATA_QUALITY_LABELS, dG as DATA_QUALITY_VALUES, dH as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, dI as DataQualityValue, dJ as FORM_STATUS, dK as FORM_STATUS_LABELS, dL as FORM_TYPE, dM as FORM_TYPE_LABELS, dN as FUNCTION_STATUS, dO as FUNCTION_STATUS_LABELS, dP as FUNCTION_STATUS_VALUES, dQ as FormStatusValue, dR as FormTypeValue, dS as FunctionStatusValue, dT as IC13Category, dU as IC13PriorityGroup, dV as IC13Value, dW as IC22Value, dX as IC23Value, dY as IC24Value, dZ as IC25Value, d_ as IC49ReferralOutcomeValue, d$ as IC49ReferralVerificationValue, e0 as IC49Value, e1 as IC4Value, e2 as IC56ChannelValue, e3 as IC56Value, e4 as IC57Value, e5 as IC58ExternalCategory, e6 as IC58Value, e7 as IC59Value, e8 as IC5Value, e9 as IC_13_CATEGORIES, ea as IC_13_CATEGORY_ORDER, eb as IC_13_LABELS, ec as IC_13_PRIORITY_GROUPS, ed as IC_13_RELATIONSHIP_ABBREV, ee as IC_13_RELATIONSHIP_TYPE, ef as IC_13_REVERSE_CONTEXT_LABELS, eg as IC_22_CORE_SEX, eh as IC_22_LABELS, ei as IC_23_CORE_GENDER_IDENTITY, ej as IC_23_LABELS, ek as IC_24_LABELS, el as IC_24_RACE, em as IC_25_ETHNICITY, en as IC_25_LABELS, eo as IC_48_SERVICE_CATEGORIES, ep as IC_49_DESCRIPTIONS, eq as IC_49_LABELS, er as IC_49_REFERRAL_OUTCOME, es as IC_49_REFERRAL_OUTCOME_LABELS, et as IC_49_REFERRAL_VERIFICATION, eu as IC_49_REFERRAL_VERIFICATION_LABELS, ev as IC_49_SERVICE_MECHANISM, ew as IC_4_AGE_TYPE, ex as IC_4_LABELS, ey as IC_56_DESCRIPTIONS, ez as IC_56_LABELS, eA as IC_56_OPTIONS, eB as IC_56_SERVICE_DELIVERY_CHANNEL, eC as IC_57_LABELS, eD as IC_57_SERVICE_AUDIENCE, eE as IC_58_EXTERNAL_TIERED, eF as IC_58_LABELS, eG as IC_58_ORG_TYPE_GROUPS, eH as IC_58_PRIMARY_BRANCHES, eI as IC_58_REFERRAL_ENTITY, eJ as IC_59_LABELS, eK as IC_59_SERVICE_STATE, eL as IC_5_FULL_LABELS, eM as IC_5_LABELS, eN as IC_5_VICTIMIZATION, eO as INCIDENT_INVOLVEMENT_ROLE, eP as INCIDENT_INVOLVEMENT_ROLE_LABELS, eQ as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, eR as INCIDENT_PARTICIPATION_ROLE, eS as INCIDENT_PARTICIPATION_ROLE_LABELS, eT as INCIDENT_PARTICIPATION_ROLE_VALUES, eU as INTERACTION_TYPES, eV as INTERACTION_TYPE_LABELS, eW as INVOLVEMENT_ROLE_TO_PERSON_TYPE, eX as IncidentInvolvementRoleValue, eY as IncidentParticipationRoleValue, eZ as InteractionTypeValue, e_ as MINOR_ADULT_STATUS, e$ as MINOR_ADULT_STATUS_LABELS, f0 as MinorAdultStatusValue, f1 as OrgTypeGroup, f2 as PARTICIPATION_ROLE_CATEGORIES, f3 as PERMISSION_STATE, f4 as PERMISSION_STATE_DISPLAY, f5 as PERMISSION_STATE_LABELS, f6 as PERMISSION_STATE_VALUES, f7 as PERSON_DISPLAY_CATEGORY, f8 as PERSON_DISPLAY_CATEGORY_LABELS, f9 as PERSON_ROLES, fa as PERSON_TYPE, fb as PERSON_TYPE_VALUES, fc as PLATFORM_TOOL, fd as PLATFORM_TOOL_LABELS, fe as PLATFORM_TOOL_VALUES, ff as PermissionStateValue, fg as PersonDisplayCategoryValue, fh as PersonRoleValue, fi as PersonTypeValue, fj as PlatformToolValue, fk as QUESTION_FORMAT, fl as QUESTION_FORMAT_LABELS, fm as QUICK_START_CONFIG, fn as QUICK_START_LABELS, fo as QUICK_START_TEMPLATES, fp as QuestionFormatValue, fq as QuickStartTemplateId, fr as RECORD_STATES, fs as RECORD_STATE_LABELS, ft as RELATIONSHIP_CONCERNS, fu as RELATIONSHIP_CONCERNS_LABELS, fv as RELATIONSHIP_CONCERNS_VALUES, fw as RELATIONSHIP_DYNAMICS, fx as RELATIONSHIP_DYNAMICS_LABELS, fy as RELATIONSHIP_DYNAMICS_VALUES, fz as ROLE_LEVEL, fA as ROLE_LEVEL_LABELS, fB as ROLE_LEVEL_VALUES, fC as RecordStateValue, fD as ReferralBranch, fE as RelationshipConcernValue, fF as RelationshipDynamicValue, fG as RoleLevelValue, fH as SESSION_STATES, fI as SESSION_STATE_LABELS, fJ as SHARE_VIEW, fK as SHARE_VIEW_LABELS, fL as SHARE_VIEW_VALUES, fM as SUBMISSION_STATES, fN as SUBMISSION_STATE_LABELS, fO as ServiceCategory, fP as ServiceCategoryChild, fQ as SessionStateValue, fR as ShareViewValue, fS as SubmissionStateValue, fT as THREAD_INVOLVEMENT_ROLES, fU as USER_STATUS, fV as USER_STATUS_LABELS, fW as UserStatusValue, fX as VALID_INTERACTION_TYPES, fY as VALID_RECORD_STATES, fZ as deriveAgeBinFromAge, f_ as getDisplayCategoryForRole, f$ as getPersonTypeForRole, g0 as getRelationshipCategory, g1 as isIC56Missingness, g2 as isIC56ValidChannel, g3 as isLgbtqOrientation, g4 as isProtectedRelationship, g5 as isStructuredNameType, g6 as isTransgenderGenderIdentity, g7 as sortRelationshipsByPriority } from '../platform-auth-BTbQIY3b.js';
1
+ export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REPORTING, c as AGE_BIN_REPORTING_IS_MINOR, d as AGE_BIN_REPORTING_LABELS, e as APPARENT_AGE, f as APPARENT_AGE_LABELS, g as APP_SCOPE, h as AccommodationValue, i as AgeBinReportingValue, j as AppScopeValue, k as ApparentAgeValue, B as BIRTH_LOCATION, l as BIRTH_LOCATION_LABELS, m as BIRTH_LOCATION_VALUES, n as BirthLocationValue, C as CALLER_IS_VICTIM_ROLES, o as CVC100Value, p as CVC115Value, q as CVC120Value, r as CVC121Value, s as CVC122Value, t as CVC126Category, u as CVC126Option, v as CVC126Value, w as CVC136Category, x as CVC136Option, y as CVC136Value, z as CVC145Category, D as CVC145Option, E as CVC145Value, F as CVC147Value, G as CVC148Value, H as CVC150Value, I as CVC151Value, J as CVC152Value, K as CVC153Value, L as CVC156Value, M as CVC157Value, N as CVC158Value, O as CVC159Category, P as CVC159Option, Q as CVC159Value, R as CVC15Value, S as CVC16Value, T as CVC171Category, U as CVC171Option, V as CVC171Value, W as CVC179HierarchicalCategory, X as CVC179HierarchicalValue, Y as CVC179Value, Z as CVC17Value, _ as CVC180Value, $ as CVC181Value, a0 as CVC196Value, a1 as CVC1Value, a2 as CVC67Value, a3 as CVC72Value, a4 as CVC76Value, a5 as CVC93Value, a6 as CVC95Value, a7 as CVC96Value, a8 as CVC97Value, a9 as CVC98Value, aa as CVC99Value, ab as CVC_100_LABELS, ac as CVC_100_LIVES_RURAL, ad as CVC_100_VALUES, ae as CVC_115_LABELS, af as CVC_115_SERVICE_PLANNING, ag as CVC_115_VALUES, ah as CVC_120_LABELS, ai as CVC_120_MILITARY_BRANCH, aj as CVC_120_VALUES, ak as CVC_121_LABELS, al as CVC_121_MILITARY_STATUS, am as CVC_121_VALUES, an as CVC_122_LABELS, ao as CVC_122_PRIMARY_LANGUAGE, ap as CVC_122_VALUES, aq as CVC_126_CATEGORY, ar as CVC_126_CATEGORY_LABELS, as as CVC_126_LABELS, at as CVC_126_OPTIONS, au as CVC_126_PERSON_RELATIONSHIP, av as CVC_126_PROTECTED_CATEGORIES, aw as CVC_126_TYPE_TO_CATEGORY, ax as CVC_126_VALUES, ay as CVC_136_ALERT_INDICATOR, az as CVC_136_CATEGORY_LABELS, aA as CVC_136_INDICATOR_CATEGORY, aB as CVC_136_LABELS, aC as CVC_136_OPTIONS, aD as CVC_136_TYPE_TO_CATEGORY, aE as CVC_136_VALUES, aF as CVC_145_CATEGORY, aG as CVC_145_CATEGORY_LABELS, aH as CVC_145_CATEGORY_ORDER, aI as CVC_145_LABELS, aJ as CVC_145_OPTIONS, aK as CVC_145_RELATIONSHIP_DYNAMICS, aL as CVC_145_SELECTABLE_OPTIONS, aM as CVC_145_TYPE_TO_CATEGORY, aN as CVC_145_VALUES, aO as CVC_147_LABELS, aP as CVC_147_PRONOUNS, aQ as CVC_147_VALUES, aR as CVC_148_LABELS, aS as CVC_148_TRIBES, aT as CVC_148_VALUES, aU as CVC_150_EYE_COLOR, aV as CVC_150_LABELS, aW as CVC_150_VALUES, aX as CVC_151_HAIR_COLOR, aY as CVC_151_LABELS, aZ as CVC_151_VALUES, a_ as CVC_152_HAS_TATTOOS, a$ as CVC_152_LABELS, b0 as CVC_152_VALUES, b1 as CVC_153_LABELS, b2 as CVC_153_SMT_TYPE, b3 as CVC_153_VALUES, b4 as CVC_156_LABELS, b5 as CVC_156_MARITAL_STATUS, b6 as CVC_156_VALUES, b7 as CVC_157_LABELS, b8 as CVC_157_RELATIONSHIP_STATUS, b9 as CVC_157_VALUES, ba as CVC_158_CUSTODY_STATUS, bb as CVC_158_LABELS, bc as CVC_158_VALUES, bd as CVC_159_CATEGORY, be as CVC_159_CATEGORY_LABELS, bf as CVC_159_CATEGORY_ORDER, bg as CVC_159_LABELS, bh as CVC_159_OPTIONS, bi as CVC_159_RELATIONSHIP_TIES, bj as CVC_159_SELECTABLE_OPTIONS, bk as CVC_159_TYPE_TO_CATEGORY, bl as CVC_159_VALUES, bm as CVC_15_CORE_SEX, bn as CVC_15_LABELS, bo as CVC_15_SELECTABLE_VALUES, bp as CVC_16_CORE_ORIENTATION, bq as CVC_16_LABELS, br as CVC_16_LGBTQ_VALUES, bs as CVC_171_CATEGORY, bt as CVC_171_CATEGORY_LABELS, bu as CVC_171_CHILD_TO_PARENT, bv as CVC_171_INCOME_BENEFITS, bw as CVC_171_INCOME_SOURCES, bx as CVC_171_LABELS, by as CVC_171_PARENT_CHILDREN, bz as CVC_171_SELECTABLE_OPTIONS, bA as CVC_171_VALUES, bB as CVC_171_VALUE_TO_CATEGORY, bC as CVC_179_CHILD_TO_PARENT, bD as CVC_179_EMPLOYMENT_STATUS, bE as CVC_179_HIERARCHICAL_CATEGORY, bF as CVC_179_HIERARCHICAL_CATEGORY_LABELS, bG as CVC_179_HIERARCHICAL_CATEGORY_ORDER, bH as CVC_179_HIERARCHICAL_LABELS, bI as CVC_179_HIERARCHICAL_VALUES, bJ as CVC_179_LABELS, bK as CVC_179_PARENT_CHILDREN, bL as CVC_179_PRIMARY_CATEGORY, bM as CVC_179_SELECTABLE_OPTIONS, bN as CVC_179_VALUES, bO as CVC_179_VALUE_TO_CATEGORY, bP as CVC_17_CORE_GENDER_IDENTITY, bQ as CVC_17_LABELS, bR as CVC_17_LEVEL_1_OPTIONS, bS as CVC_17_LEVEL_2_TRANSGENDER_OPTIONS, bT as CVC_17_TRANSGENDER_VALUES, bU as CVC_180_EDUCATION_LEVEL, bV as CVC_180_LABELS, bW as CVC_180_ORDINAL, bX as CVC_180_VALUES, bY as CVC_181_COUNTRIES, bZ as CVC_181_LABELS, b_ as CVC_196_CHILD_WELFARE_EPISODE_TYPE, b$ as CVC_196_LABELS, c0 as CVC_196_VALUES, c1 as CVC_1_LABELS, c2 as CVC_1_NAME_TYPE, c3 as CVC_1_STRUCTURED_NAME_TYPES, c4 as CVC_1_UNSTRUCTURED_NAME_TYPES, c5 as CVC_1_VALUES, c6 as CVC_67_HMIS_SEX, c7 as CVC_67_LABELS, c8 as CVC_67_MISSINGNESS_VALUES, c9 as CVC_67_SELECTABLE_VALUES, ca as CVC_72_HT_TYPE, cb as CVC_72_LABELS, cc as CVC_72_VALUES, cd as CVC_76_LABELS, ce as CVC_76_RACE_ETHNICITY, cf as CVC_76_VALUES, cg as CVC_93_CHILD_WELFARE_INVOLVEMENT, ch as CVC_93_LABELS, ci as CVC_93_VALUES, cj as CVC_95_JUVENILE_JUSTICE_INVOLVEMENT, ck as CVC_95_LABELS, cl as CVC_95_VALUES, cm as CVC_96_HOMELESS_STATUS, cn as CVC_96_LABELS, co as CVC_96_VALUES, cp as CVC_97_IMMIGRANT_REFUGEE, cq as CVC_97_LABELS, cr as CVC_97_VALUES, cs as CVC_98_LABELS, ct as CVC_98_US_VETERAN, cu as CVC_98_VALUES, cv as CVC_99_ENGLISH_PROFICIENCY, cw as CVC_99_LABELS, cx as CVC_99_VALUES, cy as DATA_QUALITY, cz as DATA_QUALITY_DESCRIPTIONS, cA as DATA_QUALITY_LABELS, cB as DATA_QUALITY_VALUES, cC as DEFAULT_PARTICIPATION_ROLE_BY_CATEGORY, cD as DataQualityValue, cE as FORM_STATUS, cF as FORM_STATUS_LABELS, cG as FORM_TYPE, cH as FORM_TYPE_LABELS, cI as FUNCTION_STATUS, cJ as FUNCTION_STATUS_LABELS, cK as FUNCTION_STATUS_VALUES, cL as FormStatusValue, cM as FormTypeValue, cN as FunctionStatusValue, cO as IC13Category, cP as IC13PriorityGroup, cQ as IC13Value, cR as IC22Value, cS as IC23Value, cT as IC24Value, cU as IC25Value, cV as IC49ReferralOutcomeValue, cW as IC49ReferralVerificationValue, cX as IC49Value, cY as IC4Value, cZ as IC56ChannelValue, c_ as IC56Value, c$ as IC57Value, d0 as IC58ExternalCategory, d1 as IC58Value, d2 as IC59Value, d3 as IC5Value, d4 as IC_13_CATEGORIES, d5 as IC_13_CATEGORY_ORDER, d6 as IC_13_LABELS, d7 as IC_13_PRIORITY_GROUPS, d8 as IC_13_RELATIONSHIP_ABBREV, d9 as IC_13_RELATIONSHIP_TYPE, da as IC_13_REVERSE_CONTEXT_LABELS, db as IC_22_CORE_SEX, dc as IC_22_LABELS, dd as IC_23_CORE_GENDER_IDENTITY, de as IC_23_LABELS, df as IC_24_LABELS, dg as IC_24_RACE, dh as IC_25_ETHNICITY, di as IC_25_LABELS, dj as IC_48_SERVICE_CATEGORIES, dk as IC_49_DESCRIPTIONS, dl as IC_49_LABELS, dm as IC_49_REFERRAL_OUTCOME, dn as IC_49_REFERRAL_OUTCOME_LABELS, dp as IC_49_REFERRAL_VERIFICATION, dq as IC_49_REFERRAL_VERIFICATION_LABELS, dr as IC_49_SERVICE_MECHANISM, ds as IC_4_AGE_TYPE, dt as IC_4_LABELS, du as IC_56_DESCRIPTIONS, dv as IC_56_LABELS, dw as IC_56_OPTIONS, dx as IC_56_SERVICE_DELIVERY_CHANNEL, dy as IC_57_LABELS, dz as IC_57_SERVICE_AUDIENCE, dA as IC_58_EXTERNAL_TIERED, dB as IC_58_LABELS, dC as IC_58_ORG_TYPE_GROUPS, dD as IC_58_PRIMARY_BRANCHES, dE as IC_58_REFERRAL_ENTITY, dF as IC_59_LABELS, dG as IC_59_SERVICE_STATE, dH as IC_5_FULL_LABELS, dI as IC_5_LABELS, dJ as IC_5_VICTIMIZATION, dK as INCIDENT_INVOLVEMENT_ROLE, dL as INCIDENT_INVOLVEMENT_ROLE_LABELS, dM as INCIDENT_INVOLVEMENT_ROLE_TO_PERSON_ROLE, dN as INCIDENT_PARTICIPATION_ROLE, dO as INCIDENT_PARTICIPATION_ROLE_LABELS, dP as INCIDENT_PARTICIPATION_ROLE_VALUES, dQ as INTERACTION_TYPES, dR as INTERACTION_TYPE_LABELS, dS as INVOLVEMENT_ROLE_TO_PERSON_TYPE, dT as IncidentInvolvementRoleValue, dU as IncidentParticipationRoleValue, dV as InteractionTypeValue, dW as MINOR_ADULT_STATUS, dX as MINOR_ADULT_STATUS_LABELS, dY as MinorAdultStatusValue, dZ as OrgTypeGroup, d_ as PARTICIPATION_ROLE_CATEGORIES, d$ as PERMISSION_STATE, e0 as PERMISSION_STATE_DISPLAY, e1 as PERMISSION_STATE_LABELS, e2 as PERMISSION_STATE_VALUES, e3 as PERSON_DISPLAY_CATEGORY, e4 as PERSON_DISPLAY_CATEGORY_LABELS, e5 as PERSON_ROLES, e6 as PERSON_TYPE, e7 as PERSON_TYPE_VALUES, e8 as PLATFORM_TOOL, e9 as PLATFORM_TOOL_LABELS, ea as PLATFORM_TOOL_VALUES, eb as PermissionStateValue, ec as PersonDisplayCategoryValue, ed as PersonRoleValue, ee as PersonTypeValue, ef as PlatformToolValue, eg as QUESTION_FORMAT, eh as QUESTION_FORMAT_LABELS, ei as QUICK_START_CONFIG, ej as QUICK_START_LABELS, ek as QUICK_START_TEMPLATES, el as QuestionFormatValue, em as QuickStartTemplateId, en as RECORD_STATES, eo as RECORD_STATE_LABELS, ep as RELATIONSHIP_CONCERNS, eq as RELATIONSHIP_CONCERNS_LABELS, er as RELATIONSHIP_CONCERNS_VALUES, es as RELATIONSHIP_DYNAMICS, et as RELATIONSHIP_DYNAMICS_LABELS, eu as RELATIONSHIP_DYNAMICS_VALUES, ev as ROLE_LEVEL, ew as ROLE_LEVEL_LABELS, ex as ROLE_LEVEL_VALUES, ey as RecordStateValue, ez as ReferralBranch, eA as RelationshipConcernValue, eB as RelationshipDynamicValue, eC as RoleLevelValue, eD as SESSION_STATES, eE as SESSION_STATE_LABELS, eF as SHARE_VIEW, eG as SHARE_VIEW_LABELS, eH as SHARE_VIEW_VALUES, eI as SUBMISSION_STATES, eJ as SUBMISSION_STATE_LABELS, eK as ServiceCategory, eL as ServiceCategoryChild, eM as SessionStateValue, eN as ShareViewValue, eO as SubmissionStateValue, eP as THREAD_INVOLVEMENT_ROLES, eQ as USER_STATUS, eR as USER_STATUS_LABELS, eS as UserStatusValue, eT as VALID_INTERACTION_TYPES, eU as VALID_RECORD_STATES, eV as deriveAgeBinFromAge, eW as getDisplayCategoryForRole, eX as getPersonTypeForRole, eY as getRelationshipCategory, eZ as isIC56Missingness, e_ as isIC56ValidChannel, e$ as isLgbtqOrientation, f0 as isProtectedRelationship, f1 as isStructuredNameType, f2 as isTransgenderGenderIdentity, f3 as sortRelationshipsByPriority } from '../platform-auth-C-G2qeGM.js';
2
2
 
3
3
  /**
4
4
  * @htilabs/platform-common-models — IC-48 Universal Service Catalog
@@ -13,6 +13,45 @@ export { A as ACCOMMODATION_LABELS, a as ACCOMMODATION_OPTIONS, b as AGE_BIN_REP
13
13
  * - Selectability flags for leaf vs branch nodes
14
14
  *
15
15
  * @see https://github.com/htilabstech/thread2 for the source of truth
16
+ *
17
+ * ---
18
+ *
19
+ * **DEPRECATION NOTICE (as of 0.3.0)**
20
+ *
21
+ * All exported constants and helpers in this module are deprecated in favor
22
+ * of the generalized CVC data layer (`CvcRegistryService`), which loads
23
+ * catalog data from MongoDB at runtime rather than from a hardcoded JSON
24
+ * bundle. Nothing is being removed yet — removal is tracked in a downstream
25
+ * consumer-migration epic after Thread + PAVE cut over.
26
+ *
27
+ * Migration pointers (by symbol):
28
+ * - `IC_48_BY_ID` / `getIC48CategoryById` / `getIC48Label`
29
+ * → `CvcRegistryService.getEntryByCode(scope, code)`
30
+ * (NOTE: the primary key changes from integer ID to the positional
31
+ * 7-segment code.)
32
+ * - `IC_48_BY_CODE` / `getIC48CategoryByCode`
33
+ * → `CvcRegistryService.getEntryByCode(scope, code)`
34
+ * - `IC_48_CATEGORIES` / `IC_48_SERVICE_CATALOG`
35
+ * → `CvcRegistryService.getEntries(scope, 'service_categories')`
36
+ * or `CvcRegistryService.getActiveRegistry(scope)`
37
+ * - `getIC48SelectableCategories`
38
+ * → `CvcRegistryService.getSelectableEntries(scope, 'service_categories')`
39
+ * - `getIC48ChildCategories`
40
+ * → `CvcRegistryService.getChildren(scope, domain, parentKey)`
41
+ * - `getIC48TopicCategories`
42
+ * → `CvcRegistryService.getEntries(scope, 'service_categories')`
43
+ * filtered to level-1 entries (no direct 1:1 helper)
44
+ * - `getIC48ParentCategory` / `getIC48AncestorCategories`
45
+ * / `getIC48TopicForCategory`
46
+ * → `CvcRegistryService.getAncestors(scope, domain, key)`
47
+ * - `IC_48_CRISIS_SERVICES` → deferred to the **thread application layer**
48
+ * (`service-catalog-rules.v1.json#coreCrisisCodes[]` in the thread rig).
49
+ * NOT replaced by a platform-common field.
50
+ * - `IC_48_DERIVATION_SERVICES` → application-layer concern; define per-app.
51
+ *
52
+ * See `src/services/cvcRegistryService.ts` and the locked CVC Implementation
53
+ * Spec at `/gt/docs/data/cvcs/`. These symbols will be removed in a future
54
+ * major version after Thread + PAVE migrate off the legacy API.
16
55
  */
17
56
  interface IC48CatalogMeta {
18
57
  description: string;
@@ -50,66 +89,148 @@ interface IC48Catalog {
50
89
  meta: IC48CatalogMeta;
51
90
  categories: IC48Category[];
52
91
  }
53
- /** The full IC-48 service catalog */
92
+ /**
93
+ * The full IC-48 service catalog.
94
+ *
95
+ * @deprecated Use `CvcRegistryService.getActiveRegistry(scope)` (or
96
+ * `getRegistry`) from `@htilabs/platform-common-models` instead. The new
97
+ * CVC data layer loads registries from MongoDB at runtime.
98
+ * See the module-level deprecation notice above for the full migration
99
+ * table. This constant will be removed in a future major version after
100
+ * Thread + PAVE migrate.
101
+ */
54
102
  declare const IC_48_SERVICE_CATALOG: IC48Catalog;
55
- /** All service categories as an array */
103
+ /**
104
+ * All service categories as an array.
105
+ *
106
+ * @deprecated Use `CvcRegistryService.getEntries(scope, 'service_categories')`
107
+ * from `@htilabs/platform-common-models` instead.
108
+ * See the module-level deprecation notice above. This constant will be
109
+ * removed in a future major version after Thread + PAVE migrate.
110
+ */
56
111
  declare const IC_48_CATEGORIES: IC48Category[];
57
- /** Map of category ID to category object for O(1) lookup */
112
+ /**
113
+ * Map of category ID to category object for O(1) lookup.
114
+ *
115
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
116
+ * `@htilabs/platform-common-models` instead.
117
+ * NOTE: the primary key changes from integer ID to the positional
118
+ * 7-segment code. See the module-level deprecation notice above.
119
+ * This constant will be removed in a future major version after
120
+ * Thread + PAVE migrate.
121
+ */
58
122
  declare const IC_48_BY_ID: ReadonlyMap<number, IC48Category>;
59
- /** Map of category code to category object for O(1) lookup */
123
+ /**
124
+ * Map of category code to category object for O(1) lookup.
125
+ *
126
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
127
+ * `@htilabs/platform-common-models` instead.
128
+ * See the module-level deprecation notice above. This constant will be
129
+ * removed in a future major version after Thread + PAVE migrate.
130
+ */
60
131
  declare const IC_48_BY_CODE: ReadonlyMap<string, IC48Category>;
61
132
  /**
62
133
  * Get a service category by its numeric ID.
63
134
  * @param id - The category ID
64
135
  * @returns The category or undefined if not found
136
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
137
+ * `@htilabs/platform-common-models` instead.
138
+ * NOTE: the primary key changes from integer ID to the positional
139
+ * 7-segment code. See the module-level deprecation notice above.
140
+ * Will be removed in a future major version after Thread + PAVE migrate.
65
141
  */
66
142
  declare function getIC48CategoryById(id: number): IC48Category | undefined;
67
143
  /**
68
144
  * Get a service category by its hierarchical code.
69
145
  * @param code - The category code (e.g., "01-04-01")
70
146
  * @returns The category or undefined if not found
147
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` from
148
+ * `@htilabs/platform-common-models` instead. See the module-level
149
+ * deprecation notice above. Will be removed in a future major version
150
+ * after Thread + PAVE migrate.
71
151
  */
72
152
  declare function getIC48CategoryByCode(code: string): IC48Category | undefined;
73
153
  /**
74
154
  * Get the label for a service category by ID.
75
155
  * @param id - The category ID
76
156
  * @returns The label or "Unknown Service" if not found
157
+ * @deprecated Use `CvcRegistryService.getEntryByCode(scope, code)` and read
158
+ * the entry's label from `@htilabs/platform-common-models` instead.
159
+ * NOTE: the primary key changes from integer ID to the positional
160
+ * 7-segment code. See the module-level deprecation notice above.
161
+ * Will be removed in a future major version after Thread + PAVE migrate.
77
162
  */
78
163
  declare function getIC48Label(id: number): string;
79
164
  /**
80
165
  * Get all children of a category (direct descendants only).
81
166
  * @param parentId - The parent category ID
82
167
  * @returns Array of child categories
168
+ * @deprecated Use `CvcRegistryService.getChildren(scope, domain, parentKey)`
169
+ * from `@htilabs/platform-common-models` instead. See the module-level
170
+ * deprecation notice above. Will be removed in a future major version
171
+ * after Thread + PAVE migrate.
83
172
  */
84
173
  declare function getIC48ChildCategories(parentId: number): IC48Category[];
85
174
  /**
86
175
  * Get all selectable (leaf) categories.
87
176
  * @returns Array of selectable categories
177
+ * @deprecated Use
178
+ * `CvcRegistryService.getSelectableEntries(scope, 'service_categories')`
179
+ * from `@htilabs/platform-common-models` instead. See the module-level
180
+ * deprecation notice above. Will be removed in a future major version
181
+ * after Thread + PAVE migrate.
88
182
  */
89
183
  declare function getIC48SelectableCategories(): IC48Category[];
90
184
  /**
91
185
  * Get the root/topic categories (level 1, no parent).
92
186
  * @returns Array of topic-level categories
187
+ * @deprecated Use `CvcRegistryService.getEntries(scope, 'service_categories')`
188
+ * and filter to level-1 entries instead (no direct 1:1 helper exists in
189
+ * the new API). See the module-level deprecation notice above. Will be
190
+ * removed in a future major version after Thread + PAVE migrate.
93
191
  */
94
192
  declare function getIC48TopicCategories(): IC48Category[];
95
193
  /**
96
194
  * Get the parent category for a given category.
97
195
  * @param id - The category ID
98
196
  * @returns The parent category or undefined if none/not found
197
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` and
198
+ * take the first ancestor from `@htilabs/platform-common-models` instead.
199
+ * See the module-level deprecation notice above. Will be removed in a
200
+ * future major version after Thread + PAVE migrate.
99
201
  */
100
202
  declare function getIC48ParentCategory(id: number): IC48Category | undefined;
101
203
  /**
102
204
  * Get all ancestor categories (parent, grandparent, etc.) for a category.
103
205
  * @param id - The category ID
104
206
  * @returns Array of ancestor categories from immediate parent to root
207
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` from
208
+ * `@htilabs/platform-common-models` instead. See the module-level
209
+ * deprecation notice above. Will be removed in a future major version
210
+ * after Thread + PAVE migrate.
105
211
  */
106
212
  declare function getIC48AncestorCategories(id: number): IC48Category[];
107
213
  /**
108
214
  * Get the topic (level 1) category for any category in the tree.
109
215
  * @param id - The category ID
110
216
  * @returns The topic-level ancestor or undefined
217
+ * @deprecated Use `CvcRegistryService.getAncestors(scope, domain, key)` and
218
+ * filter to the level-1 entry from `@htilabs/platform-common-models`
219
+ * instead. See the module-level deprecation notice above. Will be removed
220
+ * in a future major version after Thread + PAVE migrate.
111
221
  */
112
222
  declare function getIC48TopicForCategory(id: number): IC48Category | undefined;
223
+ /**
224
+ * Well-known IC-48 IDs for crisis services.
225
+ *
226
+ * @deprecated This set is deferred to the **thread application layer**
227
+ * (`service-catalog-rules.v1.json#coreCrisisCodes[]` in the thread rig).
228
+ * It is intentionally NOT replaced by a field on platform-common models.
229
+ * Downstream consumers should move their crisis-service lookups into
230
+ * their own rig's configuration/rules file. See the module-level
231
+ * deprecation notice above. Will be removed in a future major version
232
+ * after Thread + PAVE migrate.
233
+ */
113
234
  declare const IC_48_CRISIS_SERVICES: {
114
235
  /** Interpreter Services (01-07-06) */
115
236
  readonly INTERPRETER: 158;
@@ -120,6 +241,16 @@ declare const IC_48_CRISIS_SERVICES: {
120
241
  /** Emergency Shelter (01-05-01) */
121
242
  readonly EMERGENCY_SHELTER: 99;
122
243
  };
244
+ /**
245
+ * Well-known IC-48 IDs used by Thread's service-derivation logic.
246
+ *
247
+ * @deprecated This set is an application-layer concern and should be
248
+ * defined per-app (e.g., in the consuming rig's rules file) rather than
249
+ * in platform-common. Use `CvcRegistryService.getEntryByCode(scope, code)`
250
+ * to resolve individual entries at runtime if you still need a
251
+ * platform-common lookup. See the module-level deprecation notice above.
252
+ * Will be removed in a future major version after Thread + PAVE migrate.
253
+ */
123
254
  declare const IC_48_DERIVATION_SERVICES: {
124
255
  /** Advocacy services */
125
256
  readonly ADVOCACY: 20;
@@ -148,7 +279,17 @@ declare const IC_48_DERIVATION_SERVICES: {
148
279
  /** Interpreter Services */
149
280
  readonly INTERPRETER: 158;
150
281
  };
282
+ /**
283
+ * @deprecated Mirrors {@link IC_48_CRISIS_SERVICES}; see that constant's
284
+ * deprecation notice. Will be removed in a future major version after
285
+ * Thread + PAVE migrate.
286
+ */
151
287
  type IC48CrisisServiceId = (typeof IC_48_CRISIS_SERVICES)[keyof typeof IC_48_CRISIS_SERVICES];
288
+ /**
289
+ * @deprecated Mirrors {@link IC_48_DERIVATION_SERVICES}; see that constant's
290
+ * deprecation notice. Will be removed in a future major version after
291
+ * Thread + PAVE migrate.
292
+ */
152
293
  type IC48DerivationServiceId = (typeof IC_48_DERIVATION_SERVICES)[keyof typeof IC_48_DERIVATION_SERVICES];
153
294
 
154
295
  export { type IC48Catalog, type IC48CatalogMeta, type IC48Category, type IC48CategoryCrosswalk, type IC48CrisisServiceId, type IC48DerivationServiceId, IC_48_BY_CODE, IC_48_BY_ID, IC_48_CATEGORIES, IC_48_CRISIS_SERVICES, IC_48_DERIVATION_SERVICES, IC_48_SERVICE_CATALOG, getIC48AncestorCategories, getIC48CategoryByCode, getIC48CategoryById, getIC48ChildCategories, getIC48Label, getIC48ParentCategory, getIC48SelectableCategories, getIC48TopicCategories, getIC48TopicForCategory };