@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,89 @@
1
+ {
2
+ "domain": "contact_link_type",
3
+ "name": "contactLinkType",
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": "Contact link type"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "968-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
+ "968-000-000-000-000-000-001",
20
+ "968-000-000-000-000-000-002",
21
+ "968-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "968-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "968-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The contact_link_type is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "968-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "968-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "968-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "968-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "968-001-000-000-000-000-000",
54
+ "key": "belongs",
55
+ "title": "Belongs",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Contact-link type 'belongs' — how a contact method links to a person/org."
60
+ },
61
+ {
62
+ "code": "968-002-000-000-000-000-000",
63
+ "key": "associated",
64
+ "title": "Associated",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Contact-link type 'associated' — how a contact method links to a person/org."
69
+ },
70
+ {
71
+ "code": "968-003-000-000-000-000-000",
72
+ "key": "advertises",
73
+ "title": "Advertises",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Contact-link type 'advertises' — how a contact method links to a person/org."
78
+ },
79
+ {
80
+ "code": "968-004-000-000-000-000-000",
81
+ "key": "contacted",
82
+ "title": "Contacted",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Contact-link type 'contacted' — how a contact method links to a person/org."
87
+ }
88
+ ]
89
+ }
package/src/cvcs/index.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  * See locked spec §2 (envelope shape) and §9.2 (entry shape).
20
20
  */
21
21
 
22
- import serviceCategoriesSot from "./serviceCategories.v1.0.0.json" with { type: "json" };
22
+ import serviceCategoriesSot from "./serviceCategories.v1.1.0.json" with { type: "json" };
23
23
  import serviceStatesSot from "./serviceStates.v1.0.0.json" with { type: "json" };
24
24
  import serviceMechanismsSot from "./serviceMechanisms.v1.0.0.json" with { type: "json" };
25
25
  import incidentParticipationRolesSot from "./incidentParticipationRoles.v1.0.0.json" with { type: "json" };
@@ -0,0 +1,134 @@
1
+ {
2
+ "domain": "provenance_source_id",
3
+ "name": "provenanceSourceId",
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": "Provenance source id"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "966-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
+ "966-000-000-000-000-000-001",
20
+ "966-000-000-000-000-000-002",
21
+ "966-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "966-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "966-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The provenance_source_id is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "966-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "966-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "966-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "966-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "966-001-000-000-000-000-000",
54
+ "key": "client_self_report",
55
+ "title": "Client Self Report",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Provenance source 'client_self_report' — the origin system/actor a value was derived from."
60
+ },
61
+ {
62
+ "code": "966-002-000-000-000-000-000",
63
+ "key": "system_derived_ads",
64
+ "title": "System Derived Ads",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Provenance source 'system_derived_ads' — the origin system/actor a value was derived from."
69
+ },
70
+ {
71
+ "code": "966-003-000-000-000-000-000",
72
+ "key": "system_derived_geocoder",
73
+ "title": "System Derived Geocoder",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Provenance source 'system_derived_geocoder' — the origin system/actor a value was derived from."
78
+ },
79
+ {
80
+ "code": "966-004-000-000-000-000-000",
81
+ "key": "staff_observation",
82
+ "title": "Staff Observation",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Provenance source 'staff_observation' — the origin system/actor a value was derived from."
87
+ },
88
+ {
89
+ "code": "966-005-000-000-000-000-000",
90
+ "key": "intake_form",
91
+ "title": "Intake Form",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Provenance source 'intake_form' — the origin system/actor a value was derived from."
96
+ },
97
+ {
98
+ "code": "966-006-000-000-000-000-000",
99
+ "key": "referral_partner",
100
+ "title": "Referral Partner",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "Provenance source 'referral_partner' — the origin system/actor a value was derived from."
105
+ },
106
+ {
107
+ "code": "966-007-000-000-000-000-000",
108
+ "key": "law_enforcement",
109
+ "title": "Law Enforcement",
110
+ "selectable": true,
111
+ "parentCode": null,
112
+ "childCodes": [],
113
+ "definition": "Provenance source 'law_enforcement' — the origin system/actor a value was derived from."
114
+ },
115
+ {
116
+ "code": "966-008-000-000-000-000-000",
117
+ "key": "id_document",
118
+ "title": "Id Document",
119
+ "selectable": true,
120
+ "parentCode": null,
121
+ "childCodes": [],
122
+ "definition": "Provenance source 'id_document' — the origin system/actor a value was derived from."
123
+ },
124
+ {
125
+ "code": "966-009-000-000-000-000-000",
126
+ "key": "social_profile",
127
+ "title": "Social Profile",
128
+ "selectable": true,
129
+ "parentCode": null,
130
+ "childCodes": [],
131
+ "definition": "Provenance source 'social_profile' — the origin system/actor a value was derived from."
132
+ }
133
+ ]
134
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "domain": "radius_bucket",
3
+ "name": "radiusBucket",
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": "Search radius bucket (miles)"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "967-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
+ "967-000-000-000-000-000-001",
20
+ "967-000-000-000-000-000-002",
21
+ "967-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "967-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "967-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The radius_bucket is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "967-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "967-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "967-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "967-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "967-001-000-000-000-000-000",
54
+ "key": "10",
55
+ "title": "10 miles",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "Search/proximity radius bucket: 10 miles."
60
+ },
61
+ {
62
+ "code": "967-002-000-000-000-000-000",
63
+ "key": "50",
64
+ "title": "50 miles",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "Search/proximity radius bucket: 50 miles."
69
+ },
70
+ {
71
+ "code": "967-003-000-000-000-000-000",
72
+ "key": "100",
73
+ "title": "100 miles",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Search/proximity radius bucket: 100 miles."
78
+ },
79
+ {
80
+ "code": "967-004-000-000-000-000-000",
81
+ "key": "250",
82
+ "title": "250 miles",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "Search/proximity radius bucket: 250 miles."
87
+ },
88
+ {
89
+ "code": "967-005-000-000-000-000-000",
90
+ "key": "500",
91
+ "title": "500 miles",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Search/proximity radius bucket: 500 miles."
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "domain": "roi_method",
3
+ "name": "roiMethod",
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": "ROI delivery method"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "970-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
+ "970-000-000-000-000-000-001",
20
+ "970-000-000-000-000-000-002",
21
+ "970-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "970-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "970-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The roi_method is unknown or cannot be determined."
33
+ },
34
+ {
35
+ "code": "970-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "970-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "970-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "970-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "970-001-000-000-000-000-000",
54
+ "key": "thread_caseshare",
55
+ "title": "Thread CaseShare",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "ROI delivered via a Thread CaseShare."
60
+ },
61
+ {
62
+ "code": "970-002-000-000-000-000-000",
63
+ "key": "thread_magic_link",
64
+ "title": "Thread magic link",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "ROI delivered via a Thread magic-link referral."
69
+ },
70
+ {
71
+ "code": "970-003-000-000-000-000-000",
72
+ "key": "email",
73
+ "title": "Email",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "ROI delivered by email."
78
+ },
79
+ {
80
+ "code": "970-004-000-000-000-000-000",
81
+ "key": "fax",
82
+ "title": "Fax",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "ROI delivered by fax."
87
+ },
88
+ {
89
+ "code": "970-005-000-000-000-000-000",
90
+ "key": "secure_portal",
91
+ "title": "Secure portal",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "ROI delivered via a secure portal."
96
+ },
97
+ {
98
+ "code": "970-006-000-000-000-000-000",
99
+ "key": "in_person",
100
+ "title": "In person",
101
+ "selectable": true,
102
+ "parentCode": null,
103
+ "childCodes": [],
104
+ "definition": "ROI delivered in person."
105
+ }
106
+ ]
107
+ }