@htilabs/platform-common-models 0.17.0 → 0.18.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 (71) 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-0BIB9sen.d.cts} +36 -36
  12. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-0BIB9sen.d.ts} +36 -36
  13. package/dist/cvcs/index.cjs +114 -62
  14. package/dist/cvcs/index.cjs.map +1 -1
  15. package/dist/cvcs/index.d.cts +112 -59
  16. package/dist/cvcs/index.d.ts +112 -59
  17. package/dist/cvcs/index.js +114 -62
  18. package/dist/cvcs/index.js.map +1 -1
  19. package/dist/enums/index.cjs +1 -0
  20. package/dist/enums/index.cjs.map +1 -1
  21. package/dist/enums/index.d.cts +2 -1
  22. package/dist/enums/index.d.ts +2 -1
  23. package/dist/enums/index.js +1 -0
  24. package/dist/enums/index.js.map +1 -1
  25. package/dist/{index-4DiJrn7y.d.ts → index-CDoqrfc1.d.ts} +1 -1
  26. package/dist/{index-qreOzXYS.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  27. package/dist/index.cjs +1654 -1077
  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 +1600 -1076
  32. package/dist/index.js.map +1 -1
  33. package/dist/models/index.d.cts +2 -2
  34. package/dist/models/index.d.ts +2 -2
  35. package/dist/org-type-BYQb9Qzq.d.ts +366 -0
  36. package/dist/org-type-D_FG4KdN.d.cts +366 -0
  37. package/dist/{platform-auth-CrF5U_JH.d.cts → platform-auth-CvAYFVhK.d.cts} +39 -0
  38. package/dist/{platform-auth-CrF5U_JH.d.ts → platform-auth-CvAYFVhK.d.ts} +39 -0
  39. package/dist/schemas/index.cjs +977 -2
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +14 -11
  42. package/dist/schemas/index.d.ts +14 -11
  43. package/dist/schemas/index.js +962 -1
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/types/index.d.cts +2 -2
  46. package/dist/types/index.d.ts +2 -2
  47. package/dist/validation/index.cjs +894 -2
  48. package/dist/validation/index.cjs.map +1 -1
  49. package/dist/validation/index.d.cts +5 -1
  50. package/dist/validation/index.d.ts +5 -1
  51. package/dist/validation/index.js +884 -1
  52. package/dist/validation/index.js.map +1 -1
  53. package/package.json +26 -27
  54. package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
  55. package/src/__tests__/cvc-sot-snapshot.test.ts +5 -5
  56. package/src/__tests__/cvc-structural.test.ts +1 -1
  57. package/src/__tests__/org-type-contract.test.ts +1353 -0
  58. package/src/__tests__/referral-entity-category-canon.test.ts +255 -81
  59. package/src/constants/ic.ts +45 -0
  60. package/src/constants/index.ts +1 -0
  61. package/src/constants/org-type.ts +703 -0
  62. package/src/cvcs/index.ts +1 -1
  63. package/src/cvcs/{referralEntityCategory.v1.1.0.json → referralEntityCategory.v1.2.0.json} +111 -59
  64. package/src/generated/cvc-enums.ts +2 -1
  65. package/src/index.ts +23 -0
  66. package/src/schemas/agency.ts +481 -0
  67. package/src/schemas/index.ts +24 -0
  68. package/src/validation/agency.ts +119 -0
  69. package/src/validation/index.ts +1 -0
  70. package/dist/team-C4LJ5Tex.d.cts +0 -333
  71. package/dist/team-C4LJ5Tex.d.ts +0 -333
@@ -1304,7 +1304,7 @@ type LocationTypeKey = keyof typeof LocationTypeKeys;
1304
1304
  /**
1305
1305
  * Key → positional code map for the `referral_entity_category` CVC domain.
1306
1306
  *
1307
- * Domain: `referral_entity_category` · Version: 1.1.0 · Entries: 46
1307
+ * Domain: `referral_entity_category` · Version: 1.2.0 · Entries: 47
1308
1308
  */
1309
1309
  declare const ReferralEntityCategoryKeys: {
1310
1310
  readonly missingness_root: "048-000-000-000-000-000-000";
@@ -1322,6 +1322,7 @@ declare const ReferralEntityCategoryKeys: {
1322
1322
  readonly hotlines: "048-006-000-000-000-000-000";
1323
1323
  readonly national_hotline: "048-006-001-000-000-000-000";
1324
1324
  readonly local_other_hotline: "048-006-002-000-000-000-000";
1325
+ readonly hotline: "048-006-003-000-000-000-000";
1325
1326
  readonly justice_protective_systems: "048-007-000-000-000-000-000";
1326
1327
  readonly child_welfare_cps: "048-007-001-000-000-000-000";
1327
1328
  readonly juvenile_justice: "048-007-002-000-000-000-000";
@@ -1304,7 +1304,7 @@ type LocationTypeKey = keyof typeof LocationTypeKeys;
1304
1304
  /**
1305
1305
  * Key → positional code map for the `referral_entity_category` CVC domain.
1306
1306
  *
1307
- * Domain: `referral_entity_category` · Version: 1.1.0 · Entries: 46
1307
+ * Domain: `referral_entity_category` · Version: 1.2.0 · Entries: 47
1308
1308
  */
1309
1309
  declare const ReferralEntityCategoryKeys: {
1310
1310
  readonly missingness_root: "048-000-000-000-000-000-000";
@@ -1322,6 +1322,7 @@ declare const ReferralEntityCategoryKeys: {
1322
1322
  readonly hotlines: "048-006-000-000-000-000-000";
1323
1323
  readonly national_hotline: "048-006-001-000-000-000-000";
1324
1324
  readonly local_other_hotline: "048-006-002-000-000-000-000";
1325
+ readonly hotline: "048-006-003-000-000-000-000";
1325
1326
  readonly justice_protective_systems: "048-007-000-000-000-000-000";
1326
1327
  readonly child_welfare_cps: "048-007-001-000-000-000-000";
1327
1328
  readonly juvenile_justice: "048-007-002-000-000-000-000";
@@ -1056,6 +1056,7 @@ var ReferralEntityCategoryKeys = {
1056
1056
  hotlines: "048-006-000-000-000-000-000",
1057
1057
  national_hotline: "048-006-001-000-000-000-000",
1058
1058
  local_other_hotline: "048-006-002-000-000-000-000",
1059
+ hotline: "048-006-003-000-000-000-000",
1059
1060
  justice_protective_systems: "048-007-000-000-000-000-000",
1060
1061
  child_welfare_cps: "048-007-001-000-000-000-000",
1061
1062
  juvenile_justice: "048-007-002-000-000-000-000",