@htilabs/platform-common-models 0.8.3 → 0.8.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.
- package/dist/cvcs/index.cjs +85 -2
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +94 -2
- package/dist/cvcs/index.d.ts +94 -2
- package/dist/cvcs/index.js +85 -2
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +96 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +96 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +6 -6
- package/src/__tests__/cvc-sot-snapshot.test.ts +13 -8
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +45 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +22 -2
- package/src/generated/cvc-enums.ts +12 -3
package/dist/index.cjs
CHANGED
|
@@ -8375,6 +8375,7 @@ var IncomeBenefitsSourcesKeys = {
|
|
|
8375
8375
|
prefer_not_to_answer: "171-000-000-000-000-000-004",
|
|
8376
8376
|
earned_income: "171-001-000-000-000-000-000",
|
|
8377
8377
|
employment: "171-001-001-000-000-000-000",
|
|
8378
|
+
informal_income: "171-001-002-000-000-000-000",
|
|
8378
8379
|
cash_benefit: "171-002-000-000-000-000-000",
|
|
8379
8380
|
unemployment_insurance: "171-002-001-000-000-000-000",
|
|
8380
8381
|
supplemental_security_income: "171-002-002-000-000-000-000",
|
|
@@ -8402,6 +8403,7 @@ var IncomeBenefitsSourcesKeys = {
|
|
|
8402
8403
|
transfer_support: "171-004-000-000-000-000-000",
|
|
8403
8404
|
child_support: "171-004-001-000-000-000-000",
|
|
8404
8405
|
alimony_spousal_support: "171-004-002-000-000-000-000",
|
|
8406
|
+
family_friend_support: "171-004-003-000-000-000-000",
|
|
8405
8407
|
other_unspecified: "171-005-000-000-000-000-000",
|
|
8406
8408
|
other_income: "171-005-001-000-000-000-000",
|
|
8407
8409
|
other_benefit: "171-005-002-000-000-000-000",
|
|
@@ -9355,7 +9357,9 @@ var IdentificationStatusKeys = {
|
|
|
9355
9357
|
data_not_collected: "929-000-000-000-000-000-003",
|
|
9356
9358
|
identified: "929-001-000-000-000-000-000",
|
|
9357
9359
|
unidentified: "929-002-000-000-000-000-000",
|
|
9358
|
-
anonymous_posture: "929-003-000-000-000-000-000"
|
|
9360
|
+
anonymous_posture: "929-003-000-000-000-000-000",
|
|
9361
|
+
estimated_persona: "929-004-000-000-000-000-000",
|
|
9362
|
+
confirmed: "929-005-000-000-000-000-000"
|
|
9359
9363
|
};
|
|
9360
9364
|
var InvestigativeRequestTypeKeys = {
|
|
9361
9365
|
missingness_root: "931-000-000-000-000-000-000",
|
|
@@ -9797,7 +9801,12 @@ var HousingSubsidyTypesKeys = {
|
|
|
9797
9801
|
permanent_supportive_housing: "233-004-000-000-000-000-000",
|
|
9798
9802
|
rapid_rehousing_assistance: "233-005-000-000-000-000-000",
|
|
9799
9803
|
other_housing_subsidy: "233-006-000-000-000-000-000",
|
|
9800
|
-
no_subsidy: "233-007-000-000-000-000-000"
|
|
9804
|
+
no_subsidy: "233-007-000-000-000-000-000",
|
|
9805
|
+
va_supportive_housing: "233-008-000-000-000-000-000",
|
|
9806
|
+
grant_per_diem_transition_in_place: "233-009-000-000-000-000-000",
|
|
9807
|
+
housing_stability_voucher: "233-010-000-000-000-000-000",
|
|
9808
|
+
family_unification_program: "233-011-000-000-000-000-000",
|
|
9809
|
+
foster_youth_to_independence: "233-012-000-000-000-000-000"
|
|
9801
9810
|
};
|
|
9802
9811
|
|
|
9803
9812
|
// src/services/cvcRegistryService.ts
|
|
@@ -20916,7 +20925,8 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20916
20925
|
selectable: false,
|
|
20917
20926
|
parentCode: null,
|
|
20918
20927
|
childCodes: [
|
|
20919
|
-
"171-001-001-000-000-000-000"
|
|
20928
|
+
"171-001-001-000-000-000-000",
|
|
20929
|
+
"171-001-002-000-000-000-000"
|
|
20920
20930
|
],
|
|
20921
20931
|
definition: "Income from wages, salary, tips, gig/contract work, or other paid employment."
|
|
20922
20932
|
},
|
|
@@ -20929,6 +20939,15 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20929
20939
|
childCodes: [],
|
|
20930
20940
|
definition: "Income from wages, salary, tips, gig/contract work, or other paid employment. Includes informal earned income that is not supported by official documentation."
|
|
20931
20941
|
},
|
|
20942
|
+
{
|
|
20943
|
+
code: "171-001-002-000-000-000-000",
|
|
20944
|
+
key: "informal_income",
|
|
20945
|
+
title: "Informal / undocumented income",
|
|
20946
|
+
selectable: true,
|
|
20947
|
+
parentCode: "171-001-000-000-000-000-000",
|
|
20948
|
+
childCodes: [],
|
|
20949
|
+
definition: "Informal or undocumented income, e.g. cash work or side activity not captured by formal employment or a benefit program."
|
|
20950
|
+
},
|
|
20932
20951
|
{
|
|
20933
20952
|
code: "171-002-000-000-000-000-000",
|
|
20934
20953
|
key: "cash_benefit",
|
|
@@ -21177,7 +21196,8 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
21177
21196
|
parentCode: null,
|
|
21178
21197
|
childCodes: [
|
|
21179
21198
|
"171-004-001-000-000-000-000",
|
|
21180
|
-
"171-004-002-000-000-000-000"
|
|
21199
|
+
"171-004-002-000-000-000-000",
|
|
21200
|
+
"171-004-003-000-000-000-000"
|
|
21181
21201
|
],
|
|
21182
21202
|
definition: "Income received as interpersonal transfers or support payments (e.g., child support, spousal support)."
|
|
21183
21203
|
},
|
|
@@ -21199,6 +21219,15 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
21199
21219
|
childCodes: [],
|
|
21200
21220
|
definition: "All periodic payments received from an ex-spouse as alimony or spousal support. Excludes one-time property settlements."
|
|
21201
21221
|
},
|
|
21222
|
+
{
|
|
21223
|
+
code: "171-004-003-000-000-000-000",
|
|
21224
|
+
key: "family_friend_support",
|
|
21225
|
+
title: "Family / friend financial support",
|
|
21226
|
+
selectable: true,
|
|
21227
|
+
parentCode: "171-004-000-000-000-000-000",
|
|
21228
|
+
childCodes: [],
|
|
21229
|
+
definition: "Informal financial support from family or friends, not a documented benefit program."
|
|
21230
|
+
},
|
|
21202
21231
|
{
|
|
21203
21232
|
code: "171-005-000-000-000-000-000",
|
|
21204
21233
|
key: "other_unspecified",
|
|
@@ -29406,6 +29435,24 @@ var identificationStatus_v1_0_0_default = {
|
|
|
29406
29435
|
parentCode: null,
|
|
29407
29436
|
childCodes: [],
|
|
29408
29437
|
definition: "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
|
|
29438
|
+
},
|
|
29439
|
+
{
|
|
29440
|
+
code: "929-004-000-000-000-000-000",
|
|
29441
|
+
key: "estimated_persona",
|
|
29442
|
+
title: "Estimated persona",
|
|
29443
|
+
selectable: true,
|
|
29444
|
+
parentCode: null,
|
|
29445
|
+
childCodes: [],
|
|
29446
|
+
definition: "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
|
|
29447
|
+
},
|
|
29448
|
+
{
|
|
29449
|
+
code: "929-005-000-000-000-000-000",
|
|
29450
|
+
key: "confirmed",
|
|
29451
|
+
title: "Confirmed (identity unknown)",
|
|
29452
|
+
selectable: true,
|
|
29453
|
+
parentCode: null,
|
|
29454
|
+
childCodes: [],
|
|
29455
|
+
definition: "Confirmed to be a real person, but the specific identity is unknown \u2014 the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
|
|
29409
29456
|
}
|
|
29410
29457
|
]
|
|
29411
29458
|
};
|
|
@@ -33855,6 +33902,51 @@ var housingSubsidyTypes_v1_0_0_default = {
|
|
|
33855
33902
|
childCodes: [],
|
|
33856
33903
|
definition: "Time-limited rental assistance and housing-stabilization services to help a household quickly exit homelessness into permanent housing (HUD CoC/ESG rapid re-housing)."
|
|
33857
33904
|
},
|
|
33905
|
+
{
|
|
33906
|
+
code: "233-008-000-000-000-000-000",
|
|
33907
|
+
key: "va_supportive_housing",
|
|
33908
|
+
title: "VA Supportive Housing (HUD-VASH)",
|
|
33909
|
+
selectable: true,
|
|
33910
|
+
parentCode: null,
|
|
33911
|
+
childCodes: [],
|
|
33912
|
+
definition: "HUD-VASH: a HUD Housing Choice Voucher paired with VA case management and clinical services for homeless Veterans."
|
|
33913
|
+
},
|
|
33914
|
+
{
|
|
33915
|
+
code: "233-009-000-000-000-000-000",
|
|
33916
|
+
key: "grant_per_diem_transition_in_place",
|
|
33917
|
+
title: "Grant and Per Diem Transition-in-Place (GPD TIP)",
|
|
33918
|
+
selectable: true,
|
|
33919
|
+
parentCode: null,
|
|
33920
|
+
childCodes: [],
|
|
33921
|
+
definition: "VA Grant and Per Diem Transition-in-Place: transitional housing that converts to permanent housing for the Veteran in the same unit."
|
|
33922
|
+
},
|
|
33923
|
+
{
|
|
33924
|
+
code: "233-010-000-000-000-000-000",
|
|
33925
|
+
key: "housing_stability_voucher",
|
|
33926
|
+
title: "Housing Stability Voucher (HSV)",
|
|
33927
|
+
selectable: true,
|
|
33928
|
+
parentCode: null,
|
|
33929
|
+
childCodes: [],
|
|
33930
|
+
definition: "Housing Stability Voucher: rental assistance for individuals and families who are homeless, at risk of homelessness, or fleeing domestic violence."
|
|
33931
|
+
},
|
|
33932
|
+
{
|
|
33933
|
+
code: "233-011-000-000-000-000-000",
|
|
33934
|
+
key: "family_unification_program",
|
|
33935
|
+
title: "Family Unification Program (FUP)",
|
|
33936
|
+
selectable: true,
|
|
33937
|
+
parentCode: null,
|
|
33938
|
+
childCodes: [],
|
|
33939
|
+
definition: "Family Unification Program: HUD vouchers for families at risk of child-welfare separation and for eligible youth aging out of foster care."
|
|
33940
|
+
},
|
|
33941
|
+
{
|
|
33942
|
+
code: "233-012-000-000-000-000-000",
|
|
33943
|
+
key: "foster_youth_to_independence",
|
|
33944
|
+
title: "Foster Youth to Independence (FYI)",
|
|
33945
|
+
selectable: true,
|
|
33946
|
+
parentCode: null,
|
|
33947
|
+
childCodes: [],
|
|
33948
|
+
definition: "Foster Youth to Independence: HUD vouchers for youth aging out of foster care who are homeless or at risk of homelessness."
|
|
33949
|
+
},
|
|
33858
33950
|
{
|
|
33859
33951
|
code: "233-006-000-000-000-000-000",
|
|
33860
33952
|
key: "other_housing_subsidy",
|