@htilabs/platform-common-models 0.8.14 → 0.8.16

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.
@@ -32,6 +32,7 @@ __export(cvcs_exports, {
32
32
  assertionDomainSot: () => assertionDomain_v1_1_0_default,
33
33
  assertionStatusSot: () => assertionStatus_v1_0_0_default,
34
34
  basisQuickPicksSot: () => basisQuickPicks_v1_0_0_default,
35
+ caseShareStateSot: () => caseShareState_v1_0_0_default,
35
36
  checkInActivitySot: () => checkInActivity_v1_0_0_default,
36
37
  checkInPhaseSot: () => checkInPhase_v1_1_0_default,
37
38
  childBehavioralConcernsSot: () => childBehavioralConcerns_v1_0_0_default,
@@ -48,6 +49,7 @@ __export(cvcs_exports, {
48
49
  coreIndicatorsSot: () => coreIndicators_v1_0_0_default,
49
50
  coreReferralOutcomeSot: () => coreReferralOutcome_v1_0_0_default,
50
51
  createdBySystemSot: () => createdBySystem_v1_0_0_default,
52
+ criminalOrgCategorySot: () => criminalOrgCategory_v1_0_0_default,
51
53
  daIncidentArchiveReasonSot: () => daIncidentArchiveReason_v1_0_0_default,
52
54
  daIncidentConfidenceSot: () => daIncidentConfidence_v1_0_0_default,
53
55
  daIncidentDayApproxSot: () => daIncidentDayApprox_v1_0_0_default,
@@ -137,6 +139,7 @@ __export(cvcs_exports, {
137
139
  recencyBandSot: () => recencyBand_v1_0_0_default,
138
140
  referenceLinkTypeSot: () => referenceLinkType_v1_0_0_default,
139
141
  referralEntityCategorySot: () => referralEntityCategory_v1_0_0_default,
142
+ referralOriginSot: () => referralOrigin_v1_0_0_default,
140
143
  relationshipConcernSot: () => relationshipConcern_v1_0_0_default,
141
144
  relationshipDynamicsSot: () => relationshipDynamics_v1_0_0_default,
142
145
  relationshipStatusCurrentSot: () => relationshipStatusCurrent_v1_0_0_default,
@@ -7414,6 +7417,98 @@ var sharePurpose_v1_0_0_default = {
7414
7417
  ]
7415
7418
  };
7416
7419
 
7420
+ // src/cvcs/referralOrigin.v1.0.0.json
7421
+ var referralOrigin_v1_0_0_default = {
7422
+ domain: "referral_origin",
7423
+ name: "Core Referral Origin",
7424
+ version: "1.0.0",
7425
+ levels: { "1": "Origin" },
7426
+ entries: [
7427
+ {
7428
+ code: "909-001-000-000-000-000-000",
7429
+ key: "internal",
7430
+ title: "Internal",
7431
+ selectable: true,
7432
+ parentCode: null,
7433
+ childCodes: [],
7434
+ definition: "A referral whose sending and receiving parties sit within the same agency or account boundary, so completing it involves no disclosure of client information across an organizational boundary."
7435
+ },
7436
+ {
7437
+ code: "909-002-000-000-000-000-000",
7438
+ key: "external",
7439
+ title: "External",
7440
+ selectable: true,
7441
+ parentCode: null,
7442
+ childCodes: [],
7443
+ definition: "A referral whose receiving party is a different agency, making acceptance a cross-agency disclosure of client information. Where an implementation cannot positively determine the origin, it must treat the referral as external, so that the stronger disclosure controls apply by default rather than the weaker ones."
7444
+ }
7445
+ ]
7446
+ };
7447
+
7448
+ // src/cvcs/caseShareState.v1.0.0.json
7449
+ var caseShareState_v1_0_0_default = {
7450
+ domain: "case_share_state",
7451
+ name: "Core Case Share State",
7452
+ version: "1.0.0",
7453
+ levels: { "1": "State" },
7454
+ entries: [
7455
+ {
7456
+ code: "925-001-000-000-000-000-000",
7457
+ key: "pending",
7458
+ title: "Pending",
7459
+ selectable: true,
7460
+ parentCode: null,
7461
+ childCodes: [],
7462
+ definition: "The share has been delivered to the receiving party and is awaiting a claim. No one on the receiving side has taken responsibility for it yet, and no client content has been disclosed."
7463
+ },
7464
+ {
7465
+ code: "925-002-000-000-000-000-000",
7466
+ key: "claimed",
7467
+ title: "Claimed",
7468
+ selectable: true,
7469
+ parentCode: null,
7470
+ childCodes: [],
7471
+ definition: "A team on the receiving side has taken custody of the share but has not yet accepted it. Claiming assigns responsibility only; it discloses no client content, so a claimed share is still outstanding work rather than a completed exchange."
7472
+ },
7473
+ {
7474
+ code: "925-003-000-000-000-000-000",
7475
+ key: "accepted_awaiting_review",
7476
+ title: "Accepted \u2014 awaiting review",
7477
+ selectable: true,
7478
+ parentCode: null,
7479
+ childCodes: [],
7480
+ definition: "The share has been accepted and its content disclosed, but one or more delivered persons matched an existing record ambiguously and are held for a human decision before the receiving record is linked."
7481
+ },
7482
+ {
7483
+ code: "925-004-000-000-000-000-000",
7484
+ key: "accepted",
7485
+ title: "Accepted",
7486
+ selectable: true,
7487
+ parentCode: null,
7488
+ childCodes: [],
7489
+ definition: "The share has been accepted, its content disclosed, and the link to the receiving party's record written. Terminal."
7490
+ },
7491
+ {
7492
+ code: "925-005-000-000-000-000-000",
7493
+ key: "declined",
7494
+ title: "Declined",
7495
+ selectable: true,
7496
+ parentCode: null,
7497
+ childCodes: [],
7498
+ definition: "The receiving party refused the share at the claim decision point, BEFORE its content was disclosed. Distinct from rejected: no client information was released, so the refusal carries no disclosure to account for. Terminal."
7499
+ },
7500
+ {
7501
+ code: "925-006-000-000-000-000-000",
7502
+ key: "rejected",
7503
+ title: "Rejected",
7504
+ selectable: true,
7505
+ parentCode: null,
7506
+ childCodes: [],
7507
+ definition: "The receiving party refused the share AFTER accepting it and reviewing its content. Distinct from declined: the disclosure already occurred and remains subject to the receiving party's retention and audit obligations. Terminal."
7508
+ }
7509
+ ]
7510
+ };
7511
+
7417
7512
  // src/cvcs/facilitatorEntityType.v1.0.0.json
7418
7513
  var facilitatorEntityType_v1_0_0_default = {
7419
7514
  domain: "facilitator_entity_type",
@@ -37565,6 +37660,124 @@ var hmisSex_v1_0_0_default = {
37565
37660
  }
37566
37661
  ]
37567
37662
  };
37663
+
37664
+ // src/cvcs/criminalOrgCategory.v1.0.0.json
37665
+ var criminalOrgCategory_v1_0_0_default = {
37666
+ domain: "criminal_org_category",
37667
+ name: "Criminal Organization Category",
37668
+ version: "1.0.0",
37669
+ _status: "DRAFT \u2014 TEMPORARY: net-new value-CVC not yet in Notion; provisional 990 numbering; codes from prototype/data/cvcs/core_criminal_org_category.yaml (WIKI 7-type taxonomy, name signed off Crysta-proxy 2026-06-06); PENDING canonical Notion authoring. Categorizes each criminal-organization registry record; the registry (org records) is reference data seeded separately, keyed by this category code.",
37670
+ _source: "prototype/data/cvcs/core_criminal_org_category.yaml",
37671
+ levels: {
37672
+ "0": "Unknown or Missing",
37673
+ "1": "Criminal organization category"
37674
+ },
37675
+ entries: [
37676
+ {
37677
+ code: "990-000-000-000-000-000-000",
37678
+ key: "missingness_root",
37679
+ title: "Unknown, Redacted, or Missing",
37680
+ selectable: false,
37681
+ parentCode: null,
37682
+ childCodes: [
37683
+ "990-000-000-000-000-000-001",
37684
+ "990-000-000-000-000-000-002",
37685
+ "990-000-000-000-000-000-003"
37686
+ ],
37687
+ definition: "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic. The prototype YAML's single UNK sentinel (organization category cannot be determined) maps to the unknown child."
37688
+ },
37689
+ {
37690
+ code: "990-000-000-000-000-000-001",
37691
+ key: "unknown",
37692
+ title: "Unknown",
37693
+ selectable: true,
37694
+ parentCode: "990-000-000-000-000-000-000",
37695
+ childCodes: [],
37696
+ definition: "Organization category cannot be determined at time of entry. Carries the prototype's UNK case."
37697
+ },
37698
+ {
37699
+ code: "990-000-000-000-000-000-002",
37700
+ key: "anonymous",
37701
+ title: "Anonymous / declined to answer",
37702
+ selectable: true,
37703
+ parentCode: "990-000-000-000-000-000-000",
37704
+ childCodes: [],
37705
+ definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
37706
+ },
37707
+ {
37708
+ code: "990-000-000-000-000-000-003",
37709
+ key: "data_not_collected",
37710
+ title: "Data not collected",
37711
+ selectable: true,
37712
+ parentCode: "990-000-000-000-000-000-000",
37713
+ childCodes: [],
37714
+ definition: "No attempt was made to collect the value."
37715
+ },
37716
+ {
37717
+ code: "990-001-000-000-000-000-000",
37718
+ key: "street_gang",
37719
+ title: "Street gang / neighborhood-based gang",
37720
+ selectable: true,
37721
+ parentCode: null,
37722
+ childCodes: [],
37723
+ definition: "Territorial, often city/neighborhood-based; multi-generational. Examples: Bloods, Crips, Latin Kings, Gangster Disciples. WIKI subtypes: African-American, Latino/Hispanic, hybrid/multiracial, Asian street gangs. A trafficking street gang stays street_gang (structure, not activity)."
37724
+ },
37725
+ {
37726
+ code: "990-002-000-000-000-000-000",
37727
+ key: "prison_gang",
37728
+ title: "Prison gang",
37729
+ selectable: true,
37730
+ parentCode: null,
37731
+ childCodes: [],
37732
+ definition: "Originate and operate primarily inside prisons; influence street gangs. Often racialized; can be linked with cartels or domestic groups. Examples: Aryan Brotherhood, Mexican Mafia (La Eme), Black Guerrilla Family."
37733
+ },
37734
+ {
37735
+ code: "990-003-000-000-000-000-000",
37736
+ key: "outlaw_motorcycle_gang",
37737
+ title: "Outlaw motorcycle gang (OMG)",
37738
+ selectable: true,
37739
+ parentCode: null,
37740
+ childCodes: [],
37741
+ definition: "Highly structured; emphasize brotherhood and loyalty. Often involved in drug and weapons trafficking, extortion, and FBI/DOJ-documented prostitution rackets. Examples: Hells Angels, Mongols, Bandidos, Outlaws."
37742
+ },
37743
+ {
37744
+ code: "990-004-000-000-000-000-000",
37745
+ key: "tco_cartel",
37746
+ title: "Transnational criminal organization (TCO) / cartel",
37747
+ selectable: true,
37748
+ parentCode: null,
37749
+ childCodes: [],
37750
+ definition: "Operate across borders; organized hierarchies; high levels of violence and corruption. Examples: Sinaloa Cartel, CJNG, Gulf Cartel (CDG), MS-13 (hybrid). WIKI subtypes: Mexican cartels, Central American groups, Colombian cartels, Asian cartels (e.g. Triads, Yakuza). A trafficking cartel stays tco_cartel (structure, not activity)."
37751
+ },
37752
+ {
37753
+ code: "990-005-000-000-000-000-000",
37754
+ key: "white_supremacist_extremist",
37755
+ title: "White supremacist / extremist gang",
37756
+ selectable: true,
37757
+ parentCode: null,
37758
+ childCodes: [],
37759
+ definition: "Blend gang culture with hate ideology; often recruit in prisons. Some are considered both prison and extremist gangs. Examples: Peckerwoods, Aryan Circle, Nazi Low Riders."
37760
+ },
37761
+ {
37762
+ code: "990-006-000-000-000-000-000",
37763
+ key: "organized_crime_family",
37764
+ title: "Organized crime family (traditional mafia)",
37765
+ selectable: true,
37766
+ parentCode: null,
37767
+ childCodes: [],
37768
+ definition: "Focus on racketeering, gambling, extortion; more secretive and hierarchical. Tends to be older, less visible but still active. Examples: Italian-American Mafia (e.g. Gambino family), Russian Mafia."
37769
+ },
37770
+ {
37771
+ code: "990-007-000-000-000-000-000",
37772
+ key: "familial_or_independent_trafficking_network",
37773
+ title: "Familial or independent trafficking network",
37774
+ selectable: true,
37775
+ parentCode: null,
37776
+ childCodes: [],
37777
+ definition: "STRUCTURAL category (renamed 2026-06-08 from human_trafficking_smuggling_network to restore mutual exclusivity): a family-based or standalone trafficking/smuggling network that is NOT a street/prison gang, cartel/TCO, outlaw motorcycle gang, organized crime family, or extremist organization. Examples: Tenancingo-style familial sex-trafficking networks (e.g. Rendon-Reyes, Granados); ethnic standalone networks (e.g. Thai/Intarathong). This category \u2014 or documented trafficking/prostitution activity on any org \u2014 is the load-bearing signal for the facilitator model's stronger trafficking-affiliation leaf."
37778
+ }
37779
+ ]
37780
+ };
37568
37781
  // Annotate the CommonJS export names for ESM import in node:
37569
37782
  0 && (module.exports = {
37570
37783
  accommodationTypeSot,
@@ -37579,6 +37792,7 @@ var hmisSex_v1_0_0_default = {
37579
37792
  assertionDomainSot,
37580
37793
  assertionStatusSot,
37581
37794
  basisQuickPicksSot,
37795
+ caseShareStateSot,
37582
37796
  checkInActivitySot,
37583
37797
  checkInPhaseSot,
37584
37798
  childBehavioralConcernsSot,
@@ -37595,6 +37809,7 @@ var hmisSex_v1_0_0_default = {
37595
37809
  coreIndicatorsSot,
37596
37810
  coreReferralOutcomeSot,
37597
37811
  createdBySystemSot,
37812
+ criminalOrgCategorySot,
37598
37813
  daIncidentArchiveReasonSot,
37599
37814
  daIncidentConfidenceSot,
37600
37815
  daIncidentDayApproxSot,
@@ -37684,6 +37899,7 @@ var hmisSex_v1_0_0_default = {
37684
37899
  recencyBandSot,
37685
37900
  referenceLinkTypeSot,
37686
37901
  referralEntityCategorySot,
37902
+ referralOriginSot,
37687
37903
  relationshipConcernSot,
37688
37904
  relationshipDynamicsSot,
37689
37905
  relationshipStatusCurrentSot,