@htilabs/platform-common-models 0.8.6 → 0.8.8

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 (42) hide show
  1. package/dist/constants/index.cjs +404 -0
  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 +402 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +1141 -1087
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +1193 -1133
  10. package/dist/cvcs/index.d.ts +1193 -1133
  11. package/dist/cvcs/index.js +1141 -1087
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +1976 -1345
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +352 -147
  16. package/dist/index.d.ts +352 -147
  17. package/dist/index.js +1855 -1234
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-BdnJUisw.d.cts → platform-auth-BSKYSDKe.d.cts} +4 -1
  20. package/dist/{platform-auth-BdnJUisw.d.ts → platform-auth-BSKYSDKe.d.ts} +4 -1
  21. package/dist/schemas/index.cjs.map +1 -1
  22. package/dist/schemas/index.js.map +1 -1
  23. package/dist/types/index.d.cts +2 -2
  24. package/dist/types/index.d.ts +2 -2
  25. package/package.json +1 -1
  26. package/src/__tests__/__snapshots__/cvc-sot.snap +37 -5
  27. package/src/__tests__/cvc-sot-snapshot.test.ts +11 -3
  28. package/src/__tests__/cvc-structural.test.ts +2 -2
  29. package/src/constants/ic.ts +414 -0
  30. package/src/cvcs/activityType.v1.0.0.json +143 -0
  31. package/src/cvcs/assertionDomain.v1.0.0.json +629 -0
  32. package/src/cvcs/contactLinkType.v1.0.0.json +89 -0
  33. package/src/cvcs/index.ts +1 -1
  34. package/src/cvcs/provenanceSourceId.v1.0.0.json +134 -0
  35. package/src/cvcs/radiusBucket.v1.0.0.json +98 -0
  36. package/src/cvcs/roiMethod.v1.0.0.json +107 -0
  37. package/src/cvcs/{serviceCategories.v1.0.0.json → serviceCategories.v1.1.0.json} +1091 -1091
  38. package/src/cvcs/sessionNoteVisibility.v1.0.0.json +80 -0
  39. package/src/cvcs/sourceSubtype.v1.1.0.json +36 -0
  40. package/src/cvcs/suggestionSource.v1.0.0.json +71 -0
  41. package/src/cvcs/verificationMethod.v1.0.0.json +18 -0
  42. package/src/generated/cvc-enums.ts +366 -145
@@ -0,0 +1,80 @@
1
+ {
2
+ "domain": "session_note_visibility",
3
+ "name": "sessionNoteVisibility",
4
+ "version": "1.0.0",
5
+ "_status": "PROVISIONAL — net-new value-CVC not yet in Notion; provisional 900+ numbering; substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (D10 source-from-platform-common). PENDING canonical Notion authoring + steward ratification of titles/definitions.",
6
+ "_source": "pave-2.0/packages/domain/src/enums.ts",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Session-note visibility"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "971-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "971-000-000-000-000-000-001",
20
+ "971-000-000-000-000-000-002",
21
+ "971-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "971-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "971-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The session_note_visibility is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "971-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "971-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "971-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "971-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "971-001-000-000-000-000-000",
54
+ "key": "default",
55
+ "title": "Default",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Default visibility — visible per the surface's standard scope."
60
+ },
61
+ {
62
+ "code": "971-002-000-000-000-000-000",
63
+ "key": "account",
64
+ "title": "Account",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Visible to the whole account/agency."
69
+ },
70
+ {
71
+ "code": "971-003-000-000-000-000-000",
72
+ "key": "private",
73
+ "title": "Private",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Private to the author."
78
+ }
79
+ ]
80
+ }
@@ -325,6 +325,42 @@
325
325
  "parentCode": null,
326
326
  "childCodes": [],
327
327
  "definition": "The subject directly discloses the information. Source category: human. Use when the primary origin is the subject's own account (interview, intake, assessment)."
328
+ },
329
+ {
330
+ "code": "141-032-000-000-000-000-000",
331
+ "key": "advocate_capture",
332
+ "title": "Advocate capture",
333
+ "selectable": true,
334
+ "parentCode": null,
335
+ "childCodes": [],
336
+ "definition": "Value captured or entered directly by an advocate in a PAVE capture surface (default advocate-authored subtype). Source category: human."
337
+ },
338
+ {
339
+ "code": "141-033-000-000-000-000-000",
340
+ "key": "advocate_assessment",
341
+ "title": "Advocate assessment",
342
+ "selectable": true,
343
+ "parentCode": null,
344
+ "childCodes": [],
345
+ "definition": "Advocate structured assessment or functional-role judgment recorded in a PAVE surface (distinct from raw advocate_capture). Source category: human."
346
+ },
347
+ {
348
+ "code": "141-034-000-000-000-000-000",
349
+ "key": "child_welfare_episode_edit",
350
+ "title": "Child welfare episode edit",
351
+ "selectable": true,
352
+ "parentCode": null,
353
+ "childCodes": [],
354
+ "definition": "Advocate add/update/archive of a child-welfare system-involvement episode log (assertion_domain child_welfare_involvement). Source category: human."
355
+ },
356
+ {
357
+ "code": "141-035-000-000-000-000-000",
358
+ "key": "juvenile_justice_episode_edit",
359
+ "title": "Juvenile justice episode edit",
360
+ "selectable": true,
361
+ "parentCode": null,
362
+ "childCodes": [],
363
+ "definition": "Advocate add/update/archive of a juvenile-justice system-involvement episode log (assertion_domain juvenile_justice_involvement). Source category: human."
328
364
  }
329
365
  ]
330
366
  }
@@ -0,0 +1,71 @@
1
+ {
2
+ "domain": "suggestion_source",
3
+ "name": "suggestionSource",
4
+ "version": "1.0.0",
5
+ "_status": "PROVISIONAL — net-new value-CVC not yet in Notion; provisional 900+ numbering; substantive values sourced verbatim from the PAVE @pave/domain enum of the same name (D10 source-from-platform-common). PENDING canonical Notion authoring + steward ratification of titles/definitions.",
6
+ "_source": "pave-2.0/packages/domain/src/enums.ts",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Goal suggestion source"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "969-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "969-000-000-000-000-000-001",
20
+ "969-000-000-000-000-000-002",
21
+ "969-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "969-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "969-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The suggestion_source is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "969-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "969-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "969-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "969-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "969-001-000-000-000-000-000",
54
+ "key": "lap",
55
+ "title": "LAP",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Goal suggested from the Lethality Assessment Program (LAP)."
60
+ },
61
+ {
62
+ "code": "969-002-000-000-000-000-000",
63
+ "key": "ps_step_4",
64
+ "title": "Priorities & Safety Step 4",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Goal suggested from Priorities & Safety Step 4."
69
+ }
70
+ ]
71
+ }
@@ -91,6 +91,24 @@
91
91
  "parentCode": null,
92
92
  "childCodes": [],
93
93
  "definition": "A supervisor (or designated reviewer) reviewed the assertion and marked it verified under an operational review process. Use when verification is granted via human review workflow. Pair with verified_by_user_id and verified_at, and capture any required support_strength policy. Not equivalent to legal confirmation; scope is operational."
94
+ },
95
+ {
96
+ "code": "143-006-000-000-000-000-000",
97
+ "key": "rules",
98
+ "title": "Rules / algorithm match",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Verification via a deterministic rule or algorithm match (GDR §5.7 — system-derived)."
103
+ },
104
+ {
105
+ "code": "143-007-000-000-000-000-000",
106
+ "key": "still_reaches",
107
+ "title": "Still reaches",
108
+ "selectable": true,
109
+ "parentCode": null,
110
+ "childCodes": [],
111
+ "definition": "Verification that the contact or relationship still reaches / is live (GDR §5.7 liveness confirmation)."
94
112
  }
95
113
  ]
96
114
  }