@htilabs/platform-common-models 0.8.1 → 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.
Files changed (38) hide show
  1. package/dist/constants/index.cjs +28 -5
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +27 -5
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +335 -3
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +1621 -1255
  10. package/dist/cvcs/index.d.ts +1621 -1255
  11. package/dist/cvcs/index.js +333 -3
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +406 -11
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +54 -6
  16. package/dist/index.d.ts +54 -6
  17. package/dist/index.js +401 -11
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-7dL99tZh.d.cts → platform-auth-BdnJUisw.d.cts} +16 -3
  20. package/dist/{platform-auth-7dL99tZh.d.ts → platform-auth-BdnJUisw.d.ts} +16 -3
  21. package/dist/schemas/index.cjs +25 -4
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.js +25 -4
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/types/index.d.cts +2 -2
  26. package/dist/types/index.d.ts +2 -2
  27. package/package.json +1 -1
  28. package/src/__tests__/__snapshots__/cvc-sot.snap +14 -6
  29. package/src/__tests__/cvc-sot-snapshot.test.ts +27 -7
  30. package/src/__tests__/cvc-structural.test.ts +2 -0
  31. package/src/constants/ic.ts +31 -3
  32. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +9 -0
  33. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +159 -0
  34. package/src/cvcs/incomeBenefitsSources.v1.0.0.json +31 -2
  35. package/src/cvcs/index.ts +4 -0
  36. package/src/cvcs/recencyBand.v1.0.0.json +105 -0
  37. package/src/cvcs/serviceStates.v1.0.0.json +23 -1
  38. package/src/generated/cvc-enums.ts +55 -3
@@ -173,7 +173,7 @@ export type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
173
173
  /**
174
174
  * Key → positional code map for the `service_states` CVC domain.
175
175
  *
176
- * Domain: `service_states` · Version: 1.0.0 · Entries: 15
176
+ * Domain: `service_states` · Version: 1.0.0 · Entries: 17
177
177
  */
178
178
  export const ServiceStateKeys = {
179
179
  missingness_root: "049-000-000-000-000-000-000",
@@ -191,6 +191,8 @@ export const ServiceStateKeys = {
191
191
  unable_to_provide_capacity: "049-007-002-000-000-000-000",
192
192
  unable_to_provide_resource: "049-007-003-000-000-000-000",
193
193
  unable_other_reason: "049-007-004-000-000-000-000",
194
+ unable_to_provide_service_fit: "049-007-005-000-000-000-000",
195
+ unable_to_provide_access_barrier: "049-007-006-000-000-000-000",
194
196
  } as const;
195
197
 
196
198
  export type ServiceStateKey = keyof typeof ServiceStateKeys;
@@ -835,7 +837,7 @@ export type ContactSafetyStatusKey = keyof typeof ContactSafetyStatusKeys;
835
837
  /**
836
838
  * Key → positional code map for the `highest_education_level_completed` CVC domain.
837
839
  *
838
- * Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 12
840
+ * Domain: `highest_education_level_completed` · Version: 1.0.0 · Entries: 13
839
841
  */
840
842
  export const HighestEducationLevelCompletedKeys = {
841
843
  missingness_root: "180-000-000-000-000-000-000",
@@ -850,6 +852,7 @@ export const HighestEducationLevelCompletedKeys = {
850
852
  associates: "180-005-000-000-000-000-000",
851
853
  bachelors: "180-006-000-000-000-000-000",
852
854
  graduate_professional: "180-007-000-000-000-000-000",
855
+ trade_vocational: "180-008-000-000-000-000-000",
853
856
  } as const;
854
857
 
855
858
  export type HighestEducationLevelCompletedKey = keyof typeof HighestEducationLevelCompletedKeys;
@@ -1368,7 +1371,7 @@ export type ReferralEntityCategoryKey = keyof typeof ReferralEntityCategoryKeys;
1368
1371
  /**
1369
1372
  * Key → positional code map for the `income_benefits_sources` CVC domain.
1370
1373
  *
1371
- * Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 38
1374
+ * Domain: `income_benefits_sources` · Version: 1.0.0 · Entries: 41
1372
1375
  */
1373
1376
  export const IncomeBenefitsSourcesKeys = {
1374
1377
  missingness_root: "171-000-000-000-000-000-000",
@@ -1378,6 +1381,7 @@ export const IncomeBenefitsSourcesKeys = {
1378
1381
  prefer_not_to_answer: "171-000-000-000-000-000-004",
1379
1382
  earned_income: "171-001-000-000-000-000-000",
1380
1383
  employment: "171-001-001-000-000-000-000",
1384
+ informal_income: "171-001-002-000-000-000-000",
1381
1385
  cash_benefit: "171-002-000-000-000-000-000",
1382
1386
  unemployment_insurance: "171-002-001-000-000-000-000",
1383
1387
  supplemental_security_income: "171-002-002-000-000-000-000",
@@ -1405,10 +1409,12 @@ export const IncomeBenefitsSourcesKeys = {
1405
1409
  transfer_support: "171-004-000-000-000-000-000",
1406
1410
  child_support: "171-004-001-000-000-000-000",
1407
1411
  alimony_spousal_support: "171-004-002-000-000-000-000",
1412
+ family_friend_support: "171-004-003-000-000-000-000",
1408
1413
  other_unspecified: "171-005-000-000-000-000-000",
1409
1414
  other_income: "171-005-001-000-000-000-000",
1410
1415
  other_benefit: "171-005-002-000-000-000-000",
1411
1416
  education_stipend: "171-005-003-000-000-000-000",
1417
+ victim_compensation: "171-006-000-000-000-000-000",
1412
1418
  } as const;
1413
1419
 
1414
1420
  export type IncomeBenefitsSourcesKey = keyof typeof IncomeBenefitsSourcesKeys;
@@ -3450,3 +3456,49 @@ export const RelationshipConcernKeys = {
3450
3456
  } as const;
3451
3457
 
3452
3458
  export type RelationshipConcernKey = keyof typeof RelationshipConcernKeys;
3459
+
3460
+ /**
3461
+ * Key → positional code map for the `recency_band` CVC domain (PROVISIONAL CVC-232 — pending codebook ratification).
3462
+ *
3463
+ * Domain: `recency_band` · Version: 1.0.0 · Entries: 10
3464
+ */
3465
+ export const RecencyBandKeys = {
3466
+ missingness_root: "232-000-000-000-000-000-000",
3467
+ unknown: "232-000-000-000-000-000-001",
3468
+ anonymous: "232-000-000-000-000-000-002",
3469
+ data_not_collected: "232-000-000-000-000-000-003",
3470
+ within_3_months: "232-001-000-000-000-000-000",
3471
+ months_3_to_6: "232-002-000-000-000-000-000",
3472
+ months_6_to_12: "232-003-000-000-000-000-000",
3473
+ one_year_or_more: "232-004-000-000-000-000-000",
3474
+ years_3_to_10: "232-005-000-000-000-000-000",
3475
+ ten_plus_years: "232-006-000-000-000-000-000",
3476
+ } as const;
3477
+
3478
+ export type RecencyBandKey = keyof typeof RecencyBandKeys;
3479
+
3480
+ /**
3481
+ * Key → positional code map for the `housing_subsidy_types` CVC domain (PROVISIONAL CVC-233 — pending codebook ratification).
3482
+ *
3483
+ * Domain: `housing_subsidy_types` · Version: 1.0.0 · Entries: 16
3484
+ */
3485
+ export const HousingSubsidyTypesKeys = {
3486
+ missingness_root: "233-000-000-000-000-000-000",
3487
+ unknown: "233-000-000-000-000-000-001",
3488
+ anonymous: "233-000-000-000-000-000-002",
3489
+ data_not_collected: "233-000-000-000-000-000-003",
3490
+ housing_choice_voucher: "233-001-000-000-000-000-000",
3491
+ public_housing: "233-002-000-000-000-000-000",
3492
+ project_based_rental_assistance: "233-003-000-000-000-000-000",
3493
+ permanent_supportive_housing: "233-004-000-000-000-000-000",
3494
+ rapid_rehousing_assistance: "233-005-000-000-000-000-000",
3495
+ other_housing_subsidy: "233-006-000-000-000-000-000",
3496
+ no_subsidy: "233-007-000-000-000-000-000",
3497
+ va_supportive_housing: "233-008-000-000-000-000-000",
3498
+ grant_per_diem_transition_in_place: "233-009-000-000-000-000-000",
3499
+ housing_stability_voucher: "233-010-000-000-000-000-000",
3500
+ family_unification_program: "233-011-000-000-000-000-000",
3501
+ foster_youth_to_independence: "233-012-000-000-000-000-000",
3502
+ } as const;
3503
+
3504
+ export type HousingSubsidyTypesKey = keyof typeof HousingSubsidyTypesKeys;