@htilabs/platform-common-models 0.17.0 → 0.19.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.
Files changed (82) hide show
  1. package/dist/agency-BHv54o79.d.ts +484 -0
  2. package/dist/agency-Ca4pCOOf.d.ts +342 -0
  3. package/dist/agency-DYCv839V.d.cts +342 -0
  4. package/dist/agency-Djp57S71.d.cts +484 -0
  5. package/dist/constants/index.cjs +952 -0
  6. package/dist/constants/index.cjs.map +1 -1
  7. package/dist/constants/index.d.cts +3 -1
  8. package/dist/constants/index.d.ts +3 -1
  9. package/dist/constants/index.js +920 -0
  10. package/dist/constants/index.js.map +1 -1
  11. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-BCj1OWqL.d.cts} +44 -44
  12. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-BCj1OWqL.d.ts} +44 -44
  13. package/dist/cvcs/index.cjs +1078 -1026
  14. package/dist/cvcs/index.cjs.map +1 -1
  15. package/dist/cvcs/index.d.cts +1057 -1004
  16. package/dist/cvcs/index.d.ts +1057 -1004
  17. package/dist/cvcs/index.js +1069 -1017
  18. package/dist/cvcs/index.js.map +1 -1
  19. package/dist/enums/index.cjs +143 -142
  20. package/dist/enums/index.cjs.map +1 -1
  21. package/dist/enums/index.d.cts +145 -144
  22. package/dist/enums/index.d.ts +145 -144
  23. package/dist/enums/index.js +143 -142
  24. package/dist/enums/index.js.map +1 -1
  25. package/dist/{index-qreOzXYS.d.cts → index-CoVr1jIV.d.cts} +1 -1
  26. package/dist/{index-4DiJrn7y.d.ts → index-I-DiX9eQ.d.ts} +1 -1
  27. package/dist/index.cjs +2762 -2185
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +6 -4
  30. package/dist/index.d.ts +6 -4
  31. package/dist/index.js +2708 -2184
  32. package/dist/index.js.map +1 -1
  33. package/dist/models/index.cjs +1 -1
  34. package/dist/models/index.cjs.map +1 -1
  35. package/dist/models/index.d.cts +2 -2
  36. package/dist/models/index.d.ts +2 -2
  37. package/dist/models/index.js +1 -1
  38. package/dist/models/index.js.map +1 -1
  39. package/dist/org-type-BYQb9Qzq.d.ts +366 -0
  40. package/dist/org-type-D_FG4KdN.d.cts +366 -0
  41. package/dist/{platform-auth-CrF5U_JH.d.cts → platform-auth-CvAYFVhK.d.cts} +39 -0
  42. package/dist/{platform-auth-CrF5U_JH.d.ts → platform-auth-CvAYFVhK.d.ts} +39 -0
  43. package/dist/schemas/index.cjs +978 -3
  44. package/dist/schemas/index.cjs.map +1 -1
  45. package/dist/schemas/index.d.cts +38 -35
  46. package/dist/schemas/index.d.ts +38 -35
  47. package/dist/schemas/index.js +963 -2
  48. package/dist/schemas/index.js.map +1 -1
  49. package/dist/services/index.cjs +1 -1
  50. package/dist/services/index.cjs.map +1 -1
  51. package/dist/services/index.js +1 -1
  52. package/dist/services/index.js.map +1 -1
  53. package/dist/types/index.d.cts +2 -2
  54. package/dist/types/index.d.ts +2 -2
  55. package/dist/validation/index.cjs +894 -2
  56. package/dist/validation/index.cjs.map +1 -1
  57. package/dist/validation/index.d.cts +5 -1
  58. package/dist/validation/index.d.ts +5 -1
  59. package/dist/validation/index.js +884 -1
  60. package/dist/validation/index.js.map +1 -1
  61. package/package.json +26 -27
  62. package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
  63. package/src/__tests__/cvc-sot-snapshot.test.ts +6 -6
  64. package/src/__tests__/cvc-structural.test.ts +3 -3
  65. package/src/__tests__/org-type-contract.test.ts +1353 -0
  66. package/src/__tests__/referral-entity-category-canon.test.ts +255 -81
  67. package/src/constants/ic.ts +45 -0
  68. package/src/constants/index.ts +1 -0
  69. package/src/constants/org-type.ts +703 -0
  70. package/src/cvcs/index.ts +2 -2
  71. package/src/cvcs/{referralEntityCategory.v1.1.0.json → referralEntityCategory.v1.2.0.json} +111 -59
  72. package/src/cvcs/{serviceCategories.v1.0.0.json → serviceCategories.v1.2.0.json} +955 -955
  73. package/src/generated/cvc-enums.ts +145 -144
  74. package/src/index.ts +23 -0
  75. package/src/schemas/agency.ts +481 -0
  76. package/src/schemas/cvcRegistry.ts +1 -1
  77. package/src/schemas/index.ts +24 -0
  78. package/src/services/__tests__/cvcRegistryService.test.ts +11 -11
  79. package/src/validation/agency.ts +119 -0
  80. package/src/validation/index.ts +1 -0
  81. package/dist/team-C4LJ5Tex.d.cts +0 -333
  82. package/dist/team-C4LJ5Tex.d.ts +0 -333
@@ -12,160 +12,160 @@
12
12
  /**
13
13
  * Key → positional code map for the `service_categories` CVC domain.
14
14
  *
15
- * Domain: `service_categories` · Version: 1.0.0 · Entries: 151
15
+ * Domain: `service_categories` · Version: 1.2.0 · Entries: 151
16
16
  */
17
17
  export const ServiceCategoryKeys = {
18
18
  missingness_root: "022-000-000-000-000-000-000",
19
19
  unknown: "022-000-000-000-000-000-001",
20
20
  anonymous: "022-000-000-000-000-000-002",
21
21
  data_not_collected: "022-000-000-000-000-000-003",
22
- social_support_community_engagement: "022-002-000-000-000-000-000",
23
- cultural_needs_support: "022-002-001-000-000-000-000",
24
- gift_holiday_resources: "022-002-002-000-000-000-000",
25
- peer_facilitated_supportive_group: "022-002-003-000-000-000-000",
26
- community_service_learning: "022-002-004-000-000-000-000",
27
- survivor_support_psychoeducation: "022-002-005-000-000-000-000",
28
- financial_and_employment: "022-003-000-000-000-000-000",
29
- financial_support: "022-003-001-000-000-000-000",
30
- emergency_financial_assistance: "022-003-001-001-000-000-000",
31
- employment_support: "022-003-002-000-000-000-000",
32
- supported_employment: "022-003-002-001-000-000-000",
33
- employment_assistance_job_search: "022-003-002-002-000-000-000",
34
- job_vocation_training: "022-003-002-003-000-000-000",
35
- healthcare: "022-004-000-000-000-000-000",
36
- medical: "022-004-001-000-000-000-000",
37
- emergency_medical_care: "022-004-001-001-000-000-000",
38
- forensic_exam_interview: "022-004-001-002-000-000-000",
39
- dv_exam: "022-004-001-002-001-000-000",
40
- sane_exam: "022-004-001-002-002-000-000",
41
- std_testing: "022-004-001-002-003-000-000",
42
- specialized_assessments: "022-004-001-002-004-000-000",
43
- counseling_evaluation_assessment: "022-004-001-002-004-001-000",
44
- stalking_assessment: "022-004-001-002-004-002-000",
45
- danger_assessment: "022-004-001-002-004-003-000",
46
- indepth_assessment: "022-004-001-002-004-004-000",
47
- outpatient_medical: "022-004-001-003-000-000-000",
48
- dental: "022-004-001-003-001-000-000",
49
- vision: "022-004-001-003-002-000-000",
50
- tattoo_removal: "022-004-001-003-003-000-000",
51
- pet_medical: "022-004-001-003-004-000-000",
52
- pregnancy_care: "022-004-001-004-000-000-000",
53
- prenatal_care: "022-004-001-004-001-000-000",
54
- postnatal_care_client: "022-004-001-004-002-000-000",
55
- postnatal_care_newborn: "022-004-001-004-003-000-000",
56
- emotional_support_mental_health: "022-004-002-000-000-000-000",
57
- individual_counseling: "022-004-002-001-000-000-000",
58
- group_counseling: "022-004-002-002-000-000-000",
59
- family_counseling: "022-004-002-003-000-000-000",
60
- counseling_treatment_planning: "022-004-002-004-000-000-000",
61
- counseling_treatment_plan_review: "022-004-002-005-000-000-000",
62
- behavioral_occupational_support: "022-004-002-006-000-000-000",
63
- substance_abuse_treatment: "022-004-002-006-001-000-000",
64
- coping_strategy_support: "022-004-002-006-002-000-000",
65
- other_therapy: "022-004-002-007-000-000-000",
66
- housing_services: "022-005-000-000-000-000-000",
67
- emergency_shelter: "022-005-001-000-000-000-000",
68
- day_shelter_dropin: "022-005-001-001-000-000-000",
69
- host_homes_safe_homes: "022-005-001-002-000-000-000",
70
- congregate_shelter_bednight: "022-005-001-003-000-000-000",
71
- emergency_hotel_motel: "022-005-001-004-000-000-000",
72
- night_by_night_shelter: "022-005-001-005-000-000-000",
73
- transitional_housing: "022-005-002-000-000-000-000",
74
- housing_renovation_modification: "022-005-003-000-000-000-000",
75
- household_setup_goods: "022-005-003-001-000-000-000",
76
- housing_navigation_placement: "022-005-004-000-000-000-000",
77
- housing_financial_assistance: "022-005-004-001-000-000-000",
78
- rental_payment_assistance: "022-005-004-001-001-000-000",
79
- security_deposit_allowance: "022-005-004-001-001-001-000",
80
- utility_assistance: "022-005-004-001-001-002-000",
81
- relocation_moving_assistance: "022-005-004-002-000-000-000",
82
- housing_stabilization_eviction_prevention: "022-005-005-000-000-000-000",
83
- tenant_based_scattered_site: "022-005-006-000-000-000-000",
84
- legal_services: "022-006-000-000-000-000-000",
85
- immigration_relief: "022-006-001-000-000-000-000",
86
- repatriation: "022-006-001-001-000-000-000",
87
- family_law: "022-006-002-000-000-000-000",
88
- criminal_support: "022-006-003-000-000-000-000",
89
- victim_impact_statement: "022-006-003-001-000-000-000",
90
- perpetrator_accountability: "022-006-003-002-000-000-000",
91
- victim_compensation: "022-006-003-003-000-000-000",
92
- victims_rights_representation: "022-006-003-004-000-000-000",
93
- criminal_record_relief: "022-006-003-005-000-000-000",
94
- civil_support: "022-006-004-000-000-000-000",
95
- protection_restraining_orders: "022-006-004-001-000-000-000",
96
- public_benefits_law: "022-006-004-002-000-000-000",
97
- emergency_safety_assistance: "022-006-005-000-000-000-000",
98
- basic_needs: "022-007-000-000-000-000-000",
99
- clothing_shoes_accessories: "022-007-001-000-000-000-000",
100
- elder_assistance: "022-007-001-001-000-000-000",
101
- food: "022-007-002-000-000-000-000",
102
- over_the_counter_medications: "022-007-003-000-000-000-000",
103
- immediate_safety_planning: "022-007-004-000-000-000-000",
104
- emergency_crisis_safety_support: "022-007-004-001-000-000-000",
105
- hygiene_items_personal_care: "022-007-005-000-000-000-000",
106
- communications_connectivity: "022-007-006-000-000-000-000",
107
- interpreter_services: "022-007-007-000-000-000-000",
22
+ basic_needs: "022-001-000-000-000-000-000",
23
+ clothing_shoes_accessories: "022-001-001-000-000-000-000",
24
+ elder_assistance: "022-001-001-001-000-000-000",
25
+ food: "022-001-002-000-000-000-000",
26
+ over_the_counter_medications: "022-001-003-000-000-000-000",
27
+ immediate_safety_planning: "022-001-004-000-000-000-000",
28
+ emergency_crisis_safety_support: "022-001-004-001-000-000-000",
29
+ hygiene_items_personal_care: "022-001-005-000-000-000-000",
30
+ communications_connectivity: "022-001-006-000-000-000-000",
31
+ interpreter_services: "022-001-007-000-000-000-000",
32
+ housing_services: "022-002-000-000-000-000-000",
33
+ emergency_shelter: "022-002-001-000-000-000-000",
34
+ day_shelter_dropin: "022-002-001-001-000-000-000",
35
+ host_homes_safe_homes: "022-002-001-002-000-000-000",
36
+ congregate_shelter_bednight: "022-002-001-003-000-000-000",
37
+ emergency_hotel_motel: "022-002-001-004-000-000-000",
38
+ night_by_night_shelter: "022-002-001-005-000-000-000",
39
+ transitional_housing: "022-002-002-000-000-000-000",
40
+ housing_renovation_modification: "022-002-003-000-000-000-000",
41
+ household_setup_goods: "022-002-003-001-000-000-000",
42
+ housing_navigation_placement: "022-002-004-000-000-000-000",
43
+ housing_financial_assistance: "022-002-004-001-000-000-000",
44
+ rental_payment_assistance: "022-002-004-001-001-000-000",
45
+ security_deposit_allowance: "022-002-004-001-001-001-000",
46
+ utility_assistance: "022-002-004-001-001-002-000",
47
+ relocation_moving_assistance: "022-002-004-002-000-000-000",
48
+ housing_stabilization_eviction_prevention: "022-002-005-000-000-000-000",
49
+ tenant_based_scattered_site: "022-002-006-000-000-000-000",
50
+ social_support_community_engagement: "022-003-000-000-000-000-000",
51
+ cultural_needs_support: "022-003-001-000-000-000-000",
52
+ gift_holiday_resources: "022-003-002-000-000-000-000",
53
+ peer_facilitated_supportive_group: "022-003-003-000-000-000-000",
54
+ community_service_learning: "022-003-004-000-000-000-000",
55
+ survivor_support_psychoeducation: "022-003-005-000-000-000-000",
56
+ transportation: "022-004-000-000-000-000-000",
57
+ transportation_assistance_direct: "022-004-001-000-000-000-000",
58
+ transportation_direct_emergency: "022-004-001-001-000-000-000",
59
+ taxi_rideshare_voucher: "022-004-002-000-000-000-000",
60
+ taxi_rideshare_emergency: "022-004-002-001-000-000-000",
61
+ bus_fare_pass: "022-004-003-000-000-000-000",
62
+ bus_fare_pass_emergency: "022-004-003-001-000-000-000",
63
+ gift_card_gas_card: "022-004-004-000-000-000-000",
64
+ gift_card_gas_card_emergency: "022-004-004-001-000-000-000",
65
+ airline_tickets: "022-004-005-000-000-000-000",
66
+ airline_tickets_emergency: "022-004-005-001-000-000-000",
67
+ legal_services: "022-005-000-000-000-000-000",
68
+ immigration_relief: "022-005-001-000-000-000-000",
69
+ repatriation: "022-005-001-001-000-000-000",
70
+ family_law: "022-005-002-000-000-000-000",
71
+ criminal_support: "022-005-003-000-000-000-000",
72
+ victim_impact_statement: "022-005-003-001-000-000-000",
73
+ perpetrator_accountability: "022-005-003-002-000-000-000",
74
+ victim_compensation: "022-005-003-003-000-000-000",
75
+ victims_rights_representation: "022-005-003-004-000-000-000",
76
+ criminal_record_relief: "022-005-003-005-000-000-000",
77
+ civil_support: "022-005-004-000-000-000-000",
78
+ protection_restraining_orders: "022-005-004-001-000-000-000",
79
+ public_benefits_law: "022-005-004-002-000-000-000",
80
+ emergency_safety_assistance: "022-005-005-000-000-000-000",
81
+ healthcare: "022-006-000-000-000-000-000",
82
+ medical: "022-006-001-000-000-000-000",
83
+ emergency_medical_care: "022-006-001-001-000-000-000",
84
+ forensic_exam_interview: "022-006-001-002-000-000-000",
85
+ dv_exam: "022-006-001-002-001-000-000",
86
+ sane_exam: "022-006-001-002-002-000-000",
87
+ std_testing: "022-006-001-002-003-000-000",
88
+ specialized_assessments: "022-006-001-002-004-000-000",
89
+ counseling_evaluation_assessment: "022-006-001-002-004-001-000",
90
+ stalking_assessment: "022-006-001-002-004-002-000",
91
+ danger_assessment: "022-006-001-002-004-003-000",
92
+ indepth_assessment: "022-006-001-002-004-004-000",
93
+ outpatient_medical: "022-006-001-003-000-000-000",
94
+ dental: "022-006-001-003-001-000-000",
95
+ vision: "022-006-001-003-002-000-000",
96
+ tattoo_removal: "022-006-001-003-003-000-000",
97
+ pet_medical: "022-006-001-003-004-000-000",
98
+ pregnancy_care: "022-006-001-004-000-000-000",
99
+ prenatal_care: "022-006-001-004-001-000-000",
100
+ postnatal_care_client: "022-006-001-004-002-000-000",
101
+ postnatal_care_newborn: "022-006-001-004-003-000-000",
102
+ emotional_support_mental_health: "022-006-002-000-000-000-000",
103
+ individual_counseling: "022-006-002-001-000-000-000",
104
+ group_counseling: "022-006-002-002-000-000-000",
105
+ family_counseling: "022-006-002-003-000-000-000",
106
+ counseling_treatment_planning: "022-006-002-004-000-000-000",
107
+ counseling_treatment_plan_review: "022-006-002-005-000-000-000",
108
+ behavioral_occupational_support: "022-006-002-006-000-000-000",
109
+ substance_abuse_treatment: "022-006-002-006-001-000-000",
110
+ coping_strategy_support: "022-006-002-006-002-000-000",
111
+ other_therapy: "022-006-002-007-000-000-000",
112
+ financial_and_employment: "022-007-000-000-000-000-000",
113
+ financial_support: "022-007-001-000-000-000-000",
114
+ emergency_financial_assistance: "022-007-001-001-000-000-000",
115
+ employment_support: "022-007-002-000-000-000-000",
116
+ supported_employment: "022-007-002-001-000-000-000",
117
+ employment_assistance_job_search: "022-007-002-002-000-000-000",
118
+ job_vocation_training: "022-007-002-003-000-000-000",
108
119
  informal_education_life_skills: "022-008-000-000-000-000-000",
109
120
  basic_life_skills_self_care: "022-008-001-000-000-000-000",
110
121
  accessibility_disability_support: "022-008-002-000-000-000-000",
111
122
  parenting_education: "022-008-003-000-000-000-000",
112
123
  learning_language_classes: "022-008-004-000-000-000-000",
113
- transportation: "022-009-000-000-000-000-000",
114
- transportation_assistance_direct: "022-009-001-000-000-000-000",
115
- transportation_direct_emergency: "022-009-001-001-000-000-000",
116
- taxi_rideshare_voucher: "022-009-002-000-000-000-000",
117
- taxi_rideshare_emergency: "022-009-002-001-000-000-000",
118
- bus_fare_pass: "022-009-003-000-000-000-000",
119
- bus_fare_pass_emergency: "022-009-003-001-000-000-000",
120
- gift_card_gas_card: "022-009-004-000-000-000-000",
121
- gift_card_gas_card_emergency: "022-009-004-001-000-000-000",
122
- airline_tickets: "022-009-005-000-000-000-000",
123
- airline_tickets_emergency: "022-009-005-001-000-000-000",
124
- dependents: "022-010-000-000-000-000-000",
125
- pet_care: "022-010-001-000-000-000-000",
126
- child_care: "022-010-002-000-000-000-000",
127
- childrens_activities: "022-010-002-001-000-000-000",
128
- children_youth_baby_supplies: "022-010-002-001-001-000-000",
129
- case_coordination: "022-011-000-000-000-000-000",
130
- advocacy: "022-011-001-000-000-000-000",
131
- medical_advocacy: "022-011-001-001-000-000-000",
132
- advocacy_emergency_medical: "022-011-001-001-001-000-000",
133
- advocacy_forensic_exam: "022-011-001-001-002-000-000",
134
- court_advocacy: "022-011-001-002-000-000-000",
135
- crime_scene_clean_up: "022-011-001-002-001-000-000",
136
- family_reunification: "022-011-001-002-002-000-000",
137
- law_enforcement_interview_support: "022-011-001-002-003-000-000",
138
- prosecution_interview_advocacy: "022-011-001-002-004-000-000",
139
- immigration_advocacy_support: "022-011-001-002-005-000-000",
140
- documentation_records_retrieval: "022-011-001-003-000-000-000",
141
- obtaining_insurance: "022-011-001-003-001-000-000",
142
- drivers_car_insurance: "022-011-001-003-001-001-000",
143
- medical_insurance: "022-011-001-003-001-002-000",
144
- obtaining_drivers_license: "022-011-001-003-002-000-000",
145
- faith_resource: "022-011-001-004-000-000-000",
146
- banking_notary: "022-011-001-005-000-000-000",
147
- income_benefits_navigation: "022-011-001-006-000-000-000",
148
- government_services_special_programs: "022-011-001-006-001-000-000",
149
- intervention_employer_creditor_academic: "022-011-001-007-000-000-000",
150
- formal_education_academic_support: "022-011-001-007-001-000-000",
151
- adult_school_ged: "022-011-001-007-001-001-000",
152
- child_school_enrollment: "022-011-001-007-001-002-000",
153
- intake: "022-011-002-000-000-000-000",
154
- screening: "022-011-002-001-000-000-000",
155
- housing_eligibility_determination: "022-011-002-001-001-000-000",
156
- coordinated_entry: "022-011-002-001-001-001-000",
157
- behavioral_issues_screen: "022-011-002-001-002-000-000",
158
- initial_screen: "022-011-002-001-003-000-000",
159
- needs_assessment: "022-011-002-001-004-000-000",
160
- tvap: "022-011-002-001-005-000-000",
161
- case_management_supportive_services: "022-011-003-000-000-000-000",
162
- intra_agency_provider_coordination: "022-011-003-001-000-000-000",
163
- inter_agency_consultation: "022-011-003-002-000-000-000",
164
- service_plan: "022-011-003-003-000-000-000",
165
- hope_scale_and_plan: "022-011-003-003-001-000-000",
166
- post_exit_plan: "022-011-003-004-000-000-000",
167
- advanced_directives: "022-011-003-005-000-000-000",
168
- other_services: "022-012-000-000-000-000-000",
124
+ dependents: "022-009-000-000-000-000-000",
125
+ pet_care: "022-009-001-000-000-000-000",
126
+ child_care: "022-009-002-000-000-000-000",
127
+ childrens_activities: "022-009-002-001-000-000-000",
128
+ children_youth_baby_supplies: "022-009-002-001-001-000-000",
129
+ case_coordination: "022-010-000-000-000-000-000",
130
+ advocacy: "022-010-001-000-000-000-000",
131
+ medical_advocacy: "022-010-001-001-000-000-000",
132
+ advocacy_emergency_medical: "022-010-001-001-001-000-000",
133
+ advocacy_forensic_exam: "022-010-001-001-002-000-000",
134
+ court_advocacy: "022-010-001-002-000-000-000",
135
+ crime_scene_clean_up: "022-010-001-002-001-000-000",
136
+ family_reunification: "022-010-001-002-002-000-000",
137
+ law_enforcement_interview_support: "022-010-001-002-003-000-000",
138
+ prosecution_interview_advocacy: "022-010-001-002-004-000-000",
139
+ immigration_advocacy_support: "022-010-001-002-005-000-000",
140
+ documentation_records_retrieval: "022-010-001-003-000-000-000",
141
+ obtaining_insurance: "022-010-001-003-001-000-000",
142
+ drivers_car_insurance: "022-010-001-003-001-001-000",
143
+ medical_insurance: "022-010-001-003-001-002-000",
144
+ obtaining_drivers_license: "022-010-001-003-002-000-000",
145
+ faith_resource: "022-010-001-004-000-000-000",
146
+ banking_notary: "022-010-001-005-000-000-000",
147
+ income_benefits_navigation: "022-010-001-006-000-000-000",
148
+ government_services_special_programs: "022-010-001-006-001-000-000",
149
+ intervention_employer_creditor_academic: "022-010-001-007-000-000-000",
150
+ formal_education_academic_support: "022-010-001-007-001-000-000",
151
+ adult_school_ged: "022-010-001-007-001-001-000",
152
+ child_school_enrollment: "022-010-001-007-001-002-000",
153
+ intake: "022-010-002-000-000-000-000",
154
+ screening: "022-010-002-001-000-000-000",
155
+ housing_eligibility_determination: "022-010-002-001-001-000-000",
156
+ coordinated_entry: "022-010-002-001-001-001-000",
157
+ behavioral_issues_screen: "022-010-002-001-002-000-000",
158
+ initial_screen: "022-010-002-001-003-000-000",
159
+ needs_assessment: "022-010-002-001-004-000-000",
160
+ tvap: "022-010-002-001-005-000-000",
161
+ case_management_supportive_services: "022-010-003-000-000-000-000",
162
+ intra_agency_provider_coordination: "022-010-003-001-000-000-000",
163
+ inter_agency_consultation: "022-010-003-002-000-000-000",
164
+ service_plan: "022-010-003-003-000-000-000",
165
+ hope_scale_and_plan: "022-010-003-003-001-000-000",
166
+ post_exit_plan: "022-010-003-004-000-000-000",
167
+ advanced_directives: "022-010-003-005-000-000-000",
168
+ other_services: "022-011-000-000-000-000-000",
169
169
  } as const;
170
170
 
171
171
  export type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
@@ -1389,7 +1389,7 @@ export type LocationTypeKey = keyof typeof LocationTypeKeys;
1389
1389
  /**
1390
1390
  * Key → positional code map for the `referral_entity_category` CVC domain.
1391
1391
  *
1392
- * Domain: `referral_entity_category` · Version: 1.1.0 · Entries: 46
1392
+ * Domain: `referral_entity_category` · Version: 1.2.0 · Entries: 47
1393
1393
  */
1394
1394
  export const ReferralEntityCategoryKeys = {
1395
1395
  missingness_root: "048-000-000-000-000-000-000",
@@ -1407,6 +1407,7 @@ export const ReferralEntityCategoryKeys = {
1407
1407
  hotlines: "048-006-000-000-000-000-000",
1408
1408
  national_hotline: "048-006-001-000-000-000-000",
1409
1409
  local_other_hotline: "048-006-002-000-000-000-000",
1410
+ hotline: "048-006-003-000-000-000-000",
1410
1411
  justice_protective_systems: "048-007-000-000-000-000-000",
1411
1412
  child_welfare_cps: "048-007-001-000-000-000-000",
1412
1413
  juvenile_justice: "048-007-002-000-000-000-000",
package/src/index.ts CHANGED
@@ -81,6 +81,29 @@ export type {
81
81
  export { TeamAppSchema, TeamDirectoryFieldsSchema } from "./validation/team.js";
82
82
  export type { TeamApp, TeamDirectoryFieldsInput } from "./validation/team.js";
83
83
 
84
+ // ─── Agency organization-type field validation (Zod) ────────────────────────
85
+ // The Mongoose fragment (`agencyOrgTypeSchemaDefinition`,
86
+ // `addAgencyOrgTypeFields`) comes in through `./schemas/index.js` above; the
87
+ // vocabulary + classifiers through `./constants/index.js` (`org-type.ts`).
88
+ export {
89
+ OrgTypeSelectableKeySchema,
90
+ OrgTypeFieldsSchema,
91
+ orgTypeFieldsShape,
92
+ withOrgTypeFields,
93
+ AgencyTypeKeySchema,
94
+ AgencyOrgTypeFieldsSchema,
95
+ SetOrgTypeInputSchema,
96
+ } from "./validation/agency.js";
97
+ // `vspTwoStepHolds` / `VSP_TWO_STEP_ISSUE` now come in through
98
+ // `./schemas/index.js` (one definition, enforced in Zod, on save, on update
99
+ // and in the mirror); `./validation/agency.js` re-exports them for its callers.
100
+ export type {
101
+ OrgTypeSelectableKeyInput,
102
+ AgencyTypeKeyInput,
103
+ AgencyOrgTypeFieldsInput,
104
+ SetOrgTypeInput,
105
+ } from "./validation/agency.js";
106
+
84
107
  // ─── CVC factory model named aliases ────────────────────────────────────────
85
108
  // Per co-am3.7 bead: surface the model factories under explicit
86
109
  // `compileCvcRegistryModel` / `compileCvcEntryModel` names. The underlying