@htilabs/platform-common-models 0.8.4 → 0.8.6
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 +27 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +30 -0
- package/dist/cvcs/index.d.ts +30 -0
- package/dist/cvcs/index.js +27 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +32 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +32 -2
- 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 +5 -5
- package/src/cvcs/htType.v1.0.0.json +9 -0
- package/src/cvcs/identificationStatus.v1.0.0.json +18 -0
- package/src/generated/cvc-enums.ts +5 -2
package/dist/cvcs/index.d.cts
CHANGED
|
@@ -21262,6 +21262,26 @@ var entries$z = [
|
|
|
21262
21262
|
childCodes: [
|
|
21263
21263
|
],
|
|
21264
21264
|
definition: "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
|
|
21265
|
+
},
|
|
21266
|
+
{
|
|
21267
|
+
code: "929-004-000-000-000-000-000",
|
|
21268
|
+
key: "estimated_persona",
|
|
21269
|
+
title: "Estimated persona",
|
|
21270
|
+
selectable: true,
|
|
21271
|
+
parentCode: null,
|
|
21272
|
+
childCodes: [
|
|
21273
|
+
],
|
|
21274
|
+
definition: "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
|
|
21275
|
+
},
|
|
21276
|
+
{
|
|
21277
|
+
code: "929-005-000-000-000-000-000",
|
|
21278
|
+
key: "confirmed",
|
|
21279
|
+
title: "Confirmed (identity unknown)",
|
|
21280
|
+
selectable: true,
|
|
21281
|
+
parentCode: null,
|
|
21282
|
+
childCodes: [
|
|
21283
|
+
],
|
|
21284
|
+
definition: "Confirmed to be a real person, but the specific identity is unknown — the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
|
|
21265
21285
|
}
|
|
21266
21286
|
];
|
|
21267
21287
|
var identificationStatus_v1_0_0 = {
|
|
@@ -25934,6 +25954,16 @@ var entries$3 = [
|
|
|
25934
25954
|
childCodes: [
|
|
25935
25955
|
],
|
|
25936
25956
|
definition: "Both sex trafficking and labor trafficking are asserted to apply, either concurrently or across the relevant time window. Use when credible assertions exist for both sex and labor trafficking for the same subject / time context."
|
|
25957
|
+
},
|
|
25958
|
+
{
|
|
25959
|
+
code: "072-004-000-000-000-000-000",
|
|
25960
|
+
key: "none",
|
|
25961
|
+
title: "None",
|
|
25962
|
+
selectable: true,
|
|
25963
|
+
parentCode: null,
|
|
25964
|
+
childCodes: [
|
|
25965
|
+
],
|
|
25966
|
+
definition: "No trafficking type asserted — an explicit NEGATIVE determination rather than a trafficking type. The picker surfaces `none` alongside the substantive codes (sex / labor / sex_and_labor) so an advocate can assert 'this person is not a trafficking victim of any specific type.' Pair with victim_status_family = no_indication when the negative determination spans the victim assertion. Canonical per Crysta directive 2026-05-27 (core_ht_type.yaml), which overrides the 2026-04-26 bundle's prior 'remove None from canonical' recommendation."
|
|
25937
25967
|
}
|
|
25938
25968
|
];
|
|
25939
25969
|
var htType_v1_0_0 = {
|
package/dist/cvcs/index.d.ts
CHANGED
|
@@ -21262,6 +21262,26 @@ var entries$z = [
|
|
|
21262
21262
|
childCodes: [
|
|
21263
21263
|
],
|
|
21264
21264
|
definition: "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
|
|
21265
|
+
},
|
|
21266
|
+
{
|
|
21267
|
+
code: "929-004-000-000-000-000-000",
|
|
21268
|
+
key: "estimated_persona",
|
|
21269
|
+
title: "Estimated persona",
|
|
21270
|
+
selectable: true,
|
|
21271
|
+
parentCode: null,
|
|
21272
|
+
childCodes: [
|
|
21273
|
+
],
|
|
21274
|
+
definition: "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
|
|
21275
|
+
},
|
|
21276
|
+
{
|
|
21277
|
+
code: "929-005-000-000-000-000-000",
|
|
21278
|
+
key: "confirmed",
|
|
21279
|
+
title: "Confirmed (identity unknown)",
|
|
21280
|
+
selectable: true,
|
|
21281
|
+
parentCode: null,
|
|
21282
|
+
childCodes: [
|
|
21283
|
+
],
|
|
21284
|
+
definition: "Confirmed to be a real person, but the specific identity is unknown — the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
|
|
21265
21285
|
}
|
|
21266
21286
|
];
|
|
21267
21287
|
var identificationStatus_v1_0_0 = {
|
|
@@ -25934,6 +25954,16 @@ var entries$3 = [
|
|
|
25934
25954
|
childCodes: [
|
|
25935
25955
|
],
|
|
25936
25956
|
definition: "Both sex trafficking and labor trafficking are asserted to apply, either concurrently or across the relevant time window. Use when credible assertions exist for both sex and labor trafficking for the same subject / time context."
|
|
25957
|
+
},
|
|
25958
|
+
{
|
|
25959
|
+
code: "072-004-000-000-000-000-000",
|
|
25960
|
+
key: "none",
|
|
25961
|
+
title: "None",
|
|
25962
|
+
selectable: true,
|
|
25963
|
+
parentCode: null,
|
|
25964
|
+
childCodes: [
|
|
25965
|
+
],
|
|
25966
|
+
definition: "No trafficking type asserted — an explicit NEGATIVE determination rather than a trafficking type. The picker surfaces `none` alongside the substantive codes (sex / labor / sex_and_labor) so an advocate can assert 'this person is not a trafficking victim of any specific type.' Pair with victim_status_family = no_indication when the negative determination spans the victim assertion. Canonical per Crysta directive 2026-05-27 (core_ht_type.yaml), which overrides the 2026-04-26 bundle's prior 'remove None from canonical' recommendation."
|
|
25937
25967
|
}
|
|
25938
25968
|
];
|
|
25939
25969
|
var htType_v1_0_0 = {
|
package/dist/cvcs/index.js
CHANGED
|
@@ -19241,6 +19241,24 @@ var identificationStatus_v1_0_0_default = {
|
|
|
19241
19241
|
parentCode: null,
|
|
19242
19242
|
childCodes: [],
|
|
19243
19243
|
definition: "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
|
|
19244
|
+
},
|
|
19245
|
+
{
|
|
19246
|
+
code: "929-004-000-000-000-000-000",
|
|
19247
|
+
key: "estimated_persona",
|
|
19248
|
+
title: "Estimated persona",
|
|
19249
|
+
selectable: true,
|
|
19250
|
+
parentCode: null,
|
|
19251
|
+
childCodes: [],
|
|
19252
|
+
definition: "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
|
|
19253
|
+
},
|
|
19254
|
+
{
|
|
19255
|
+
code: "929-005-000-000-000-000-000",
|
|
19256
|
+
key: "confirmed",
|
|
19257
|
+
title: "Confirmed (identity unknown)",
|
|
19258
|
+
selectable: true,
|
|
19259
|
+
parentCode: null,
|
|
19260
|
+
childCodes: [],
|
|
19261
|
+
definition: "Confirmed to be a real person, but the specific identity is unknown \u2014 the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
|
|
19244
19262
|
}
|
|
19245
19263
|
]
|
|
19246
19264
|
};
|
|
@@ -23368,6 +23386,15 @@ var htType_v1_0_0_default = {
|
|
|
23368
23386
|
parentCode: null,
|
|
23369
23387
|
childCodes: [],
|
|
23370
23388
|
definition: "Both sex trafficking and labor trafficking are asserted to apply, either concurrently or across the relevant time window. Use when credible assertions exist for both sex and labor trafficking for the same subject / time context."
|
|
23389
|
+
},
|
|
23390
|
+
{
|
|
23391
|
+
code: "072-004-000-000-000-000-000",
|
|
23392
|
+
key: "none",
|
|
23393
|
+
title: "None",
|
|
23394
|
+
selectable: true,
|
|
23395
|
+
parentCode: null,
|
|
23396
|
+
childCodes: [],
|
|
23397
|
+
definition: "No trafficking type asserted \u2014 an explicit NEGATIVE determination rather than a trafficking type. The picker surfaces `none` alongside the substantive codes (sex / labor / sex_and_labor) so an advocate can assert 'this person is not a trafficking victim of any specific type.' Pair with victim_status_family = no_indication when the negative determination spans the victim assertion. Canonical per Crysta directive 2026-05-27 (core_ht_type.yaml), which overrides the 2026-04-26 bundle's prior 'remove None from canonical' recommendation."
|
|
23371
23398
|
}
|
|
23372
23399
|
]
|
|
23373
23400
|
};
|