@htilabs/platform-common-models 0.8.3 → 0.8.4
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 +67 -2
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +74 -2
- package/dist/cvcs/index.d.ts +74 -2
- package/dist/cvcs/index.js +67 -2
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +75 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +75 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
- package/src/__tests__/cvc-sot-snapshot.test.ts +12 -7
- package/src/cvcs/housingSubsidyTypes.v1.0.0.json +45 -0
- package/src/cvcs/incomeBenefitsSources.v1.0.0.json +22 -2
- package/src/generated/cvc-enums.ts +9 -2
package/dist/index.d.cts
CHANGED
|
@@ -1301,7 +1301,7 @@ type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
|
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Key → positional code map for the `income_benefits_sources` CVC domain.
|
|
1303
1303
|
*
|
|
1304
|
-
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries:
|
|
1304
|
+
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 41
|
|
1305
1305
|
*/
|
|
1306
1306
|
declare const IncomeBenefitsSourcesKeys: {
|
|
1307
1307
|
readonly missingness_root: "171-000-000-000-000-000-000";
|
|
@@ -1311,6 +1311,7 @@ declare const IncomeBenefitsSourcesKeys: {
|
|
|
1311
1311
|
readonly prefer_not_to_answer: "171-000-000-000-000-000-004";
|
|
1312
1312
|
readonly earned_income: "171-001-000-000-000-000-000";
|
|
1313
1313
|
readonly employment: "171-001-001-000-000-000-000";
|
|
1314
|
+
readonly informal_income: "171-001-002-000-000-000-000";
|
|
1314
1315
|
readonly cash_benefit: "171-002-000-000-000-000-000";
|
|
1315
1316
|
readonly unemployment_insurance: "171-002-001-000-000-000-000";
|
|
1316
1317
|
readonly supplemental_security_income: "171-002-002-000-000-000-000";
|
|
@@ -1338,6 +1339,7 @@ declare const IncomeBenefitsSourcesKeys: {
|
|
|
1338
1339
|
readonly transfer_support: "171-004-000-000-000-000-000";
|
|
1339
1340
|
readonly child_support: "171-004-001-000-000-000-000";
|
|
1340
1341
|
readonly alimony_spousal_support: "171-004-002-000-000-000-000";
|
|
1342
|
+
readonly family_friend_support: "171-004-003-000-000-000-000";
|
|
1341
1343
|
readonly other_unspecified: "171-005-000-000-000-000-000";
|
|
1342
1344
|
readonly other_income: "171-005-001-000-000-000-000";
|
|
1343
1345
|
readonly other_benefit: "171-005-002-000-000-000-000";
|
|
@@ -3236,7 +3238,7 @@ type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
|
3236
3238
|
/**
|
|
3237
3239
|
* Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
|
|
3238
3240
|
*
|
|
3239
|
-
* Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries:
|
|
3241
|
+
* Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries: 16
|
|
3240
3242
|
*/
|
|
3241
3243
|
declare const HousingSubsidyTypesKeys: {
|
|
3242
3244
|
readonly missingness_root: "233-000-000-000-000-000-000";
|
|
@@ -3250,6 +3252,11 @@ declare const HousingSubsidyTypesKeys: {
|
|
|
3250
3252
|
readonly rapid_rehousing_assistance: "233-005-000-000-000-000-000";
|
|
3251
3253
|
readonly other_housing_subsidy: "233-006-000-000-000-000-000";
|
|
3252
3254
|
readonly no_subsidy: "233-007-000-000-000-000-000";
|
|
3255
|
+
readonly va_supportive_housing: "233-008-000-000-000-000-000";
|
|
3256
|
+
readonly grant_per_diem_transition_in_place: "233-009-000-000-000-000-000";
|
|
3257
|
+
readonly housing_stability_voucher: "233-010-000-000-000-000-000";
|
|
3258
|
+
readonly family_unification_program: "233-011-000-000-000-000-000";
|
|
3259
|
+
readonly foster_youth_to_independence: "233-012-000-000-000-000-000";
|
|
3253
3260
|
};
|
|
3254
3261
|
type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
3255
3262
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1301,7 +1301,7 @@ type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
|
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Key → positional code map for the `income_benefits_sources` CVC domain.
|
|
1303
1303
|
*
|
|
1304
|
-
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries:
|
|
1304
|
+
* Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 41
|
|
1305
1305
|
*/
|
|
1306
1306
|
declare const IncomeBenefitsSourcesKeys: {
|
|
1307
1307
|
readonly missingness_root: "171-000-000-000-000-000-000";
|
|
@@ -1311,6 +1311,7 @@ declare const IncomeBenefitsSourcesKeys: {
|
|
|
1311
1311
|
readonly prefer_not_to_answer: "171-000-000-000-000-000-004";
|
|
1312
1312
|
readonly earned_income: "171-001-000-000-000-000-000";
|
|
1313
1313
|
readonly employment: "171-001-001-000-000-000-000";
|
|
1314
|
+
readonly informal_income: "171-001-002-000-000-000-000";
|
|
1314
1315
|
readonly cash_benefit: "171-002-000-000-000-000-000";
|
|
1315
1316
|
readonly unemployment_insurance: "171-002-001-000-000-000-000";
|
|
1316
1317
|
readonly supplemental_security_income: "171-002-002-000-000-000-000";
|
|
@@ -1338,6 +1339,7 @@ declare const IncomeBenefitsSourcesKeys: {
|
|
|
1338
1339
|
readonly transfer_support: "171-004-000-000-000-000-000";
|
|
1339
1340
|
readonly child_support: "171-004-001-000-000-000-000";
|
|
1340
1341
|
readonly alimony_spousal_support: "171-004-002-000-000-000-000";
|
|
1342
|
+
readonly family_friend_support: "171-004-003-000-000-000-000";
|
|
1341
1343
|
readonly other_unspecified: "171-005-000-000-000-000-000";
|
|
1342
1344
|
readonly other_income: "171-005-001-000-000-000-000";
|
|
1343
1345
|
readonly other_benefit: "171-005-002-000-000-000-000";
|
|
@@ -3236,7 +3238,7 @@ type RecencyBandKey = keyof typeof RecencyBandKeys;
|
|
|
3236
3238
|
/**
|
|
3237
3239
|
* Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
|
|
3238
3240
|
*
|
|
3239
|
-
* Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries:
|
|
3241
|
+
* Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries: 16
|
|
3240
3242
|
*/
|
|
3241
3243
|
declare const HousingSubsidyTypesKeys: {
|
|
3242
3244
|
readonly missingness_root: "233-000-000-000-000-000-000";
|
|
@@ -3250,6 +3252,11 @@ declare const HousingSubsidyTypesKeys: {
|
|
|
3250
3252
|
readonly rapid_rehousing_assistance: "233-005-000-000-000-000-000";
|
|
3251
3253
|
readonly other_housing_subsidy: "233-006-000-000-000-000-000";
|
|
3252
3254
|
readonly no_subsidy: "233-007-000-000-000-000-000";
|
|
3255
|
+
readonly va_supportive_housing: "233-008-000-000-000-000-000";
|
|
3256
|
+
readonly grant_per_diem_transition_in_place: "233-009-000-000-000-000-000";
|
|
3257
|
+
readonly housing_stability_voucher: "233-010-000-000-000-000-000";
|
|
3258
|
+
readonly family_unification_program: "233-011-000-000-000-000-000";
|
|
3259
|
+
readonly foster_youth_to_independence: "233-012-000-000-000-000-000";
|
|
3253
3260
|
};
|
|
3254
3261
|
type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;
|
|
3255
3262
|
|
package/dist/index.js
CHANGED
|
@@ -7747,6 +7747,7 @@ var IncomeBenefitsSourcesKeys = {
|
|
|
7747
7747
|
prefer_not_to_answer: "171-000-000-000-000-000-004",
|
|
7748
7748
|
earned_income: "171-001-000-000-000-000-000",
|
|
7749
7749
|
employment: "171-001-001-000-000-000-000",
|
|
7750
|
+
informal_income: "171-001-002-000-000-000-000",
|
|
7750
7751
|
cash_benefit: "171-002-000-000-000-000-000",
|
|
7751
7752
|
unemployment_insurance: "171-002-001-000-000-000-000",
|
|
7752
7753
|
supplemental_security_income: "171-002-002-000-000-000-000",
|
|
@@ -7774,6 +7775,7 @@ var IncomeBenefitsSourcesKeys = {
|
|
|
7774
7775
|
transfer_support: "171-004-000-000-000-000-000",
|
|
7775
7776
|
child_support: "171-004-001-000-000-000-000",
|
|
7776
7777
|
alimony_spousal_support: "171-004-002-000-000-000-000",
|
|
7778
|
+
family_friend_support: "171-004-003-000-000-000-000",
|
|
7777
7779
|
other_unspecified: "171-005-000-000-000-000-000",
|
|
7778
7780
|
other_income: "171-005-001-000-000-000-000",
|
|
7779
7781
|
other_benefit: "171-005-002-000-000-000-000",
|
|
@@ -9169,7 +9171,12 @@ var HousingSubsidyTypesKeys = {
|
|
|
9169
9171
|
permanent_supportive_housing: "233-004-000-000-000-000-000",
|
|
9170
9172
|
rapid_rehousing_assistance: "233-005-000-000-000-000-000",
|
|
9171
9173
|
other_housing_subsidy: "233-006-000-000-000-000-000",
|
|
9172
|
-
no_subsidy: "233-007-000-000-000-000-000"
|
|
9174
|
+
no_subsidy: "233-007-000-000-000-000-000",
|
|
9175
|
+
va_supportive_housing: "233-008-000-000-000-000-000",
|
|
9176
|
+
grant_per_diem_transition_in_place: "233-009-000-000-000-000-000",
|
|
9177
|
+
housing_stability_voucher: "233-010-000-000-000-000-000",
|
|
9178
|
+
family_unification_program: "233-011-000-000-000-000-000",
|
|
9179
|
+
foster_youth_to_independence: "233-012-000-000-000-000-000"
|
|
9173
9180
|
};
|
|
9174
9181
|
|
|
9175
9182
|
// src/services/cvcRegistryService.ts
|
|
@@ -20288,7 +20295,8 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20288
20295
|
selectable: false,
|
|
20289
20296
|
parentCode: null,
|
|
20290
20297
|
childCodes: [
|
|
20291
|
-
"171-001-001-000-000-000-000"
|
|
20298
|
+
"171-001-001-000-000-000-000",
|
|
20299
|
+
"171-001-002-000-000-000-000"
|
|
20292
20300
|
],
|
|
20293
20301
|
definition: "Income from wages, salary, tips, gig/contract work, or other paid employment."
|
|
20294
20302
|
},
|
|
@@ -20301,6 +20309,15 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20301
20309
|
childCodes: [],
|
|
20302
20310
|
definition: "Income from wages, salary, tips, gig/contract work, or other paid employment. Includes informal earned income that is not supported by official documentation."
|
|
20303
20311
|
},
|
|
20312
|
+
{
|
|
20313
|
+
code: "171-001-002-000-000-000-000",
|
|
20314
|
+
key: "informal_income",
|
|
20315
|
+
title: "Informal / undocumented income",
|
|
20316
|
+
selectable: true,
|
|
20317
|
+
parentCode: "171-001-000-000-000-000-000",
|
|
20318
|
+
childCodes: [],
|
|
20319
|
+
definition: "Informal or undocumented income, e.g. cash work or side activity not captured by formal employment or a benefit program."
|
|
20320
|
+
},
|
|
20304
20321
|
{
|
|
20305
20322
|
code: "171-002-000-000-000-000-000",
|
|
20306
20323
|
key: "cash_benefit",
|
|
@@ -20549,7 +20566,8 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20549
20566
|
parentCode: null,
|
|
20550
20567
|
childCodes: [
|
|
20551
20568
|
"171-004-001-000-000-000-000",
|
|
20552
|
-
"171-004-002-000-000-000-000"
|
|
20569
|
+
"171-004-002-000-000-000-000",
|
|
20570
|
+
"171-004-003-000-000-000-000"
|
|
20553
20571
|
],
|
|
20554
20572
|
definition: "Income received as interpersonal transfers or support payments (e.g., child support, spousal support)."
|
|
20555
20573
|
},
|
|
@@ -20571,6 +20589,15 @@ var incomeBenefitsSources_v1_0_0_default = {
|
|
|
20571
20589
|
childCodes: [],
|
|
20572
20590
|
definition: "All periodic payments received from an ex-spouse as alimony or spousal support. Excludes one-time property settlements."
|
|
20573
20591
|
},
|
|
20592
|
+
{
|
|
20593
|
+
code: "171-004-003-000-000-000-000",
|
|
20594
|
+
key: "family_friend_support",
|
|
20595
|
+
title: "Family / friend financial support",
|
|
20596
|
+
selectable: true,
|
|
20597
|
+
parentCode: "171-004-000-000-000-000-000",
|
|
20598
|
+
childCodes: [],
|
|
20599
|
+
definition: "Informal financial support from family or friends, not a documented benefit program."
|
|
20600
|
+
},
|
|
20574
20601
|
{
|
|
20575
20602
|
code: "171-005-000-000-000-000-000",
|
|
20576
20603
|
key: "other_unspecified",
|
|
@@ -33227,6 +33254,51 @@ var housingSubsidyTypes_v1_0_0_default = {
|
|
|
33227
33254
|
childCodes: [],
|
|
33228
33255
|
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)."
|
|
33229
33256
|
},
|
|
33257
|
+
{
|
|
33258
|
+
code: "233-008-000-000-000-000-000",
|
|
33259
|
+
key: "va_supportive_housing",
|
|
33260
|
+
title: "VA Supportive Housing (HUD-VASH)",
|
|
33261
|
+
selectable: true,
|
|
33262
|
+
parentCode: null,
|
|
33263
|
+
childCodes: [],
|
|
33264
|
+
definition: "HUD-VASH: a HUD Housing Choice Voucher paired with VA case management and clinical services for homeless Veterans."
|
|
33265
|
+
},
|
|
33266
|
+
{
|
|
33267
|
+
code: "233-009-000-000-000-000-000",
|
|
33268
|
+
key: "grant_per_diem_transition_in_place",
|
|
33269
|
+
title: "Grant and Per Diem Transition-in-Place (GPD TIP)",
|
|
33270
|
+
selectable: true,
|
|
33271
|
+
parentCode: null,
|
|
33272
|
+
childCodes: [],
|
|
33273
|
+
definition: "VA Grant and Per Diem Transition-in-Place: transitional housing that converts to permanent housing for the Veteran in the same unit."
|
|
33274
|
+
},
|
|
33275
|
+
{
|
|
33276
|
+
code: "233-010-000-000-000-000-000",
|
|
33277
|
+
key: "housing_stability_voucher",
|
|
33278
|
+
title: "Housing Stability Voucher (HSV)",
|
|
33279
|
+
selectable: true,
|
|
33280
|
+
parentCode: null,
|
|
33281
|
+
childCodes: [],
|
|
33282
|
+
definition: "Housing Stability Voucher: rental assistance for individuals and families who are homeless, at risk of homelessness, or fleeing domestic violence."
|
|
33283
|
+
},
|
|
33284
|
+
{
|
|
33285
|
+
code: "233-011-000-000-000-000-000",
|
|
33286
|
+
key: "family_unification_program",
|
|
33287
|
+
title: "Family Unification Program (FUP)",
|
|
33288
|
+
selectable: true,
|
|
33289
|
+
parentCode: null,
|
|
33290
|
+
childCodes: [],
|
|
33291
|
+
definition: "Family Unification Program: HUD vouchers for families at risk of child-welfare separation and for eligible youth aging out of foster care."
|
|
33292
|
+
},
|
|
33293
|
+
{
|
|
33294
|
+
code: "233-012-000-000-000-000-000",
|
|
33295
|
+
key: "foster_youth_to_independence",
|
|
33296
|
+
title: "Foster Youth to Independence (FYI)",
|
|
33297
|
+
selectable: true,
|
|
33298
|
+
parentCode: null,
|
|
33299
|
+
childCodes: [],
|
|
33300
|
+
definition: "Foster Youth to Independence: HUD vouchers for youth aging out of foster care who are homeless or at risk of homelessness."
|
|
33301
|
+
},
|
|
33230
33302
|
{
|
|
33231
33303
|
code: "233-006-000-000-000-000-000",
|
|
33232
33304
|
key: "other_housing_subsidy",
|