@htilabs/platform-common-models 0.8.21 → 0.8.23

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 (36) hide show
  1. package/dist/constants/index.cjs +5 -1
  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 +5 -1
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +33 -1
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +36 -1
  10. package/dist/cvcs/index.d.ts +36 -1
  11. package/dist/cvcs/index.js +33 -1
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/index.cjs +43 -4
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +6 -3
  16. package/dist/index.d.ts +6 -3
  17. package/dist/index.js +43 -4
  18. package/dist/index.js.map +1 -1
  19. package/dist/{platform-auth-CvQkzOy1.d.cts → platform-auth-91Hcl8F8.d.cts} +3 -2
  20. package/dist/{platform-auth-CvQkzOy1.d.ts → platform-auth-91Hcl8F8.d.ts} +3 -2
  21. package/dist/schemas/index.cjs +5 -1
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.d.cts +24 -24
  24. package/dist/schemas/index.d.ts +24 -24
  25. package/dist/schemas/index.js +5 -1
  26. package/dist/schemas/index.js.map +1 -1
  27. package/dist/types/index.d.cts +2 -2
  28. package/dist/types/index.d.ts +2 -2
  29. package/package.json +1 -1
  30. package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
  31. package/src/__tests__/cvc-drift-gate.test.ts +4 -4
  32. package/src/__tests__/cvc-sot-snapshot.test.ts +5 -3
  33. package/src/constants/ic.ts +4 -0
  34. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
  35. package/src/cvcs/sessionTemplate.v1.0.0.json +22 -0
  36. package/src/generated/cvc-enums.ts +5 -2
package/dist/index.cjs CHANGED
@@ -2093,6 +2093,7 @@ var INCIDENT_PARTICIPATION_ROLE = {
2093
2093
  DATA_ENTRY: "data_entry",
2094
2094
  OTHER_INCIDENT_RESPONDER: "other_incident_responder",
2095
2095
  RESPONDING_OFFICER: "responding_officer",
2096
+ LEGAL_PROFESSIONAL: "legal_professional",
2096
2097
  UNKNOWN: "unknown",
2097
2098
  ANONYMOUS: "anonymous",
2098
2099
  DATA_NOT_COLLECTED: "data_not_collected"
@@ -2109,6 +2110,7 @@ var INCIDENT_PARTICIPATION_ROLE_VALUES = [
2109
2110
  INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY,
2110
2111
  INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
2111
2112
  INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
2113
+ INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
2112
2114
  INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
2113
2115
  INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
2114
2116
  INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED
@@ -2125,6 +2127,7 @@ var INCIDENT_PARTICIPATION_ROLE_LABELS = {
2125
2127
  [INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY]: "Data Entry / Editor",
2126
2128
  [INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: "VSP or Other Incident Responder",
2127
2129
  [INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
2130
+ [INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
2128
2131
  [INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
2129
2132
  [INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
2130
2133
  [INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected"
@@ -2142,7 +2145,8 @@ var PARTICIPATION_ROLE_CATEGORIES = {
2142
2145
  ],
2143
2146
  SYSTEM_PROFESSIONAL: [
2144
2147
  INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF,
2145
- INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF
2148
+ INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF,
2149
+ INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL
2146
2150
  ]
2147
2151
  };
2148
2152
  var CALLER_IS_VICTIM_ROLES = [
@@ -7912,7 +7916,8 @@ var IncidentParticipationRoleKeys = {
7912
7916
  medical_provider_staff: "069-004-002-000-000-000-000",
7913
7917
  data_entry: "069-004-003-000-000-000-000",
7914
7918
  other_incident_responder: "069-004-004-000-000-000-000",
7915
- responding_officer: "069-004-005-000-000-000-000"
7919
+ responding_officer: "069-004-005-000-000-000-000",
7920
+ legal_professional: "069-004-006-000-000-000-000"
7916
7921
  };
7917
7922
  var IncidentInvolvementRoleKeys = {
7918
7923
  missingness_root: "130-000-000-000-000-000-000",
@@ -11190,7 +11195,9 @@ var SessionTemplateKeys = {
11190
11195
  cst_leads_new_report: "217-016-000-000-000-000-000",
11191
11196
  cst_leads_new_case: "217-017-000-000-000-000-000",
11192
11197
  cst_leads_new_lead_tip: "217-018-000-000-000-000-000",
11193
- cst_unk_other_virtual: "217-019-000-000-000-000-000"
11198
+ cst_unk_other_virtual: "217-019-000-000-000-000-000",
11199
+ cst_pave_inbound_share: "217-020-000-000-000-000-000",
11200
+ cst_thread_inbound_share: "217-021-000-000-000-000-000"
11194
11201
  };
11195
11202
  var ServiceDeliveryChannelKeys = {
11196
11203
  missingness_root: "047-000-000-000-000-000-000",
@@ -14752,7 +14759,8 @@ var incidentParticipationRoles_v1_0_0_default = {
14752
14759
  "069-004-002-000-000-000-000",
14753
14760
  "069-004-003-000-000-000-000",
14754
14761
  "069-004-004-000-000-000-000",
14755
- "069-004-005-000-000-000-000"
14762
+ "069-004-005-000-000-000-000",
14763
+ "069-004-006-000-000-000-000"
14756
14764
  ],
14757
14765
  definition: "Group of participation roles identifying system-side professionals involved in the incident."
14758
14766
  },
@@ -14800,6 +14808,15 @@ var incidentParticipationRoles_v1_0_0_default = {
14800
14808
  parentCode: "069-004-000-000-000-000-000",
14801
14809
  childCodes: [],
14802
14810
  definition: "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
14811
+ },
14812
+ {
14813
+ code: "069-004-006-000-000-000-000",
14814
+ key: "legal_professional",
14815
+ title: "Legal professional",
14816
+ selectable: true,
14817
+ parentCode: "069-004-000-000-000-000-000",
14818
+ childCodes: [],
14819
+ definition: "An attorney or other legal professional (e.g., legal advocate, paralegal) acting in a legal capacity in relation to the incident."
14803
14820
  }
14804
14821
  ]
14805
14822
  };
@@ -45631,6 +45648,28 @@ var sessionTemplate_v1_0_0_default = {
45631
45648
  childCodes: [],
45632
45649
  definition: "Catch-all session template for non-field, non-hotline interactions conducted virtually (video or other virtual meeting formats) when no more specific template applies.",
45633
45650
  canonicalCode: "CST-UNK-OTHER_VIRTUAL"
45651
+ },
45652
+ {
45653
+ code: "217-020-000-000-000-000-000",
45654
+ key: "cst_pave_inbound_share",
45655
+ title: "Inbound Share",
45656
+ selectable: true,
45657
+ parentCode: null,
45658
+ childCodes: [],
45659
+ definition: "Review a case another agency shared with your team \u2014 claim, set up the record, decide field by field.",
45660
+ canonicalCode: "CST-PAVE-INBOUND_SHARE",
45661
+ application: "PAVE"
45662
+ },
45663
+ {
45664
+ code: "217-021-000-000-000-000-000",
45665
+ key: "cst_thread_inbound_share",
45666
+ title: "Inbound Share",
45667
+ selectable: true,
45668
+ parentCode: null,
45669
+ childCodes: [],
45670
+ definition: "Review a case another agency shared with your team \u2014 claim, set up the record, decide field by field.",
45671
+ canonicalCode: "CST-THREAD-INBOUND_SHARE",
45672
+ application: "Thread"
45634
45673
  }
45635
45674
  ]
45636
45675
  };