@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/index.d.cts CHANGED
@@ -2602,7 +2602,7 @@ type HopeScaleTierKey = keyof typeof HopeScaleTierKeys;
2602
2602
  /**
2603
2603
  * Key → positional code map for the `identification_status` CVC domain.
2604
2604
  *
2605
- * Domain: `identification_status` · Version: 1.0.0 · Entries: 7
2605
+ * Domain: `identification_status` · Version: 1.0.0 · Entries: 9
2606
2606
  */
2607
2607
  declare const IdentificationStatusKeys: {
2608
2608
  readonly missingness_root: "929-000-000-000-000-000-000";
@@ -2612,6 +2612,8 @@ declare const IdentificationStatusKeys: {
2612
2612
  readonly identified: "929-001-000-000-000-000-000";
2613
2613
  readonly unidentified: "929-002-000-000-000-000-000";
2614
2614
  readonly anonymous_posture: "929-003-000-000-000-000-000";
2615
+ readonly estimated_persona: "929-004-000-000-000-000-000";
2616
+ readonly confirmed: "929-005-000-000-000-000-000";
2615
2617
  };
2616
2618
  type IdentificationStatusKey = keyof typeof IdentificationStatusKeys;
2617
2619
  /**
@@ -3186,7 +3188,7 @@ type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
3186
3188
  /**
3187
3189
  * Key → positional code map for the `ht_type` CVC domain.
3188
3190
  *
3189
- * Domain: `ht_type` · Version: 1.0.0 · Entries: 7
3191
+ * Domain: `ht_type` · Version: 1.0.0 · Entries: 8
3190
3192
  */
3191
3193
  declare const HtTypeKeys: {
3192
3194
  readonly missingness_root: "072-000-000-000-000-000-000";
@@ -3196,6 +3198,7 @@ declare const HtTypeKeys: {
3196
3198
  readonly sex: "072-001-000-000-000-000-000";
3197
3199
  readonly labor: "072-002-000-000-000-000-000";
3198
3200
  readonly sex_and_labor: "072-003-000-000-000-000-000";
3201
+ readonly none: "072-004-000-000-000-000-000";
3199
3202
  };
3200
3203
  type HtTypeKey = keyof typeof HtTypeKeys;
3201
3204
  /**
package/dist/index.d.ts CHANGED
@@ -2602,7 +2602,7 @@ type HopeScaleTierKey = keyof typeof HopeScaleTierKeys;
2602
2602
  /**
2603
2603
  * Key → positional code map for the `identification_status` CVC domain.
2604
2604
  *
2605
- * Domain: `identification_status` · Version: 1.0.0 · Entries: 7
2605
+ * Domain: `identification_status` · Version: 1.0.0 · Entries: 9
2606
2606
  */
2607
2607
  declare const IdentificationStatusKeys: {
2608
2608
  readonly missingness_root: "929-000-000-000-000-000-000";
@@ -2612,6 +2612,8 @@ declare const IdentificationStatusKeys: {
2612
2612
  readonly identified: "929-001-000-000-000-000-000";
2613
2613
  readonly unidentified: "929-002-000-000-000-000-000";
2614
2614
  readonly anonymous_posture: "929-003-000-000-000-000-000";
2615
+ readonly estimated_persona: "929-004-000-000-000-000-000";
2616
+ readonly confirmed: "929-005-000-000-000-000-000";
2615
2617
  };
2616
2618
  type IdentificationStatusKey = keyof typeof IdentificationStatusKeys;
2617
2619
  /**
@@ -3186,7 +3188,7 @@ type VictimAbuseTypesKey = keyof typeof VictimAbuseTypesKeys;
3186
3188
  /**
3187
3189
  * Key → positional code map for the `ht_type` CVC domain.
3188
3190
  *
3189
- * Domain: `ht_type` · Version: 1.0.0 · Entries: 7
3191
+ * Domain: `ht_type` · Version: 1.0.0 · Entries: 8
3190
3192
  */
3191
3193
  declare const HtTypeKeys: {
3192
3194
  readonly missingness_root: "072-000-000-000-000-000-000";
@@ -3196,6 +3198,7 @@ declare const HtTypeKeys: {
3196
3198
  readonly sex: "072-001-000-000-000-000-000";
3197
3199
  readonly labor: "072-002-000-000-000-000-000";
3198
3200
  readonly sex_and_labor: "072-003-000-000-000-000-000";
3201
+ readonly none: "072-004-000-000-000-000-000";
3199
3202
  };
3200
3203
  type HtTypeKey = keyof typeof HtTypeKeys;
3201
3204
  /**
package/dist/index.js CHANGED
@@ -8729,7 +8729,9 @@ var IdentificationStatusKeys = {
8729
8729
  data_not_collected: "929-000-000-000-000-000-003",
8730
8730
  identified: "929-001-000-000-000-000-000",
8731
8731
  unidentified: "929-002-000-000-000-000-000",
8732
- anonymous_posture: "929-003-000-000-000-000-000"
8732
+ anonymous_posture: "929-003-000-000-000-000-000",
8733
+ estimated_persona: "929-004-000-000-000-000-000",
8734
+ confirmed: "929-005-000-000-000-000-000"
8733
8735
  };
8734
8736
  var InvestigativeRequestTypeKeys = {
8735
8737
  missingness_root: "931-000-000-000-000-000-000",
@@ -9133,7 +9135,8 @@ var HtTypeKeys = {
9133
9135
  data_not_collected: "072-000-000-000-000-000-003",
9134
9136
  sex: "072-001-000-000-000-000-000",
9135
9137
  labor: "072-002-000-000-000-000-000",
9136
- sex_and_labor: "072-003-000-000-000-000-000"
9138
+ sex_and_labor: "072-003-000-000-000-000-000",
9139
+ none: "072-004-000-000-000-000-000"
9137
9140
  };
9138
9141
  var RelationshipConcernKeys = {
9139
9142
  missingness_root: "231-000-000-000-000-000-000",
@@ -28805,6 +28808,24 @@ var identificationStatus_v1_0_0_default = {
28805
28808
  parentCode: null,
28806
28809
  childCodes: [],
28807
28810
  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."
28811
+ },
28812
+ {
28813
+ code: "929-004-000-000-000-000-000",
28814
+ key: "estimated_persona",
28815
+ title: "Estimated persona",
28816
+ selectable: true,
28817
+ parentCode: null,
28818
+ childCodes: [],
28819
+ 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."
28820
+ },
28821
+ {
28822
+ code: "929-005-000-000-000-000-000",
28823
+ key: "confirmed",
28824
+ title: "Confirmed (identity unknown)",
28825
+ selectable: true,
28826
+ parentCode: null,
28827
+ childCodes: [],
28828
+ 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."
28808
28829
  }
28809
28830
  ]
28810
28831
  };
@@ -32932,6 +32953,15 @@ var htType_v1_0_0_default = {
32932
32953
  parentCode: null,
32933
32954
  childCodes: [],
32934
32955
  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."
32956
+ },
32957
+ {
32958
+ code: "072-004-000-000-000-000-000",
32959
+ key: "none",
32960
+ title: "None",
32961
+ selectable: true,
32962
+ parentCode: null,
32963
+ childCodes: [],
32964
+ 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."
32935
32965
  }
32936
32966
  ]
32937
32967
  };