@htilabs/platform-common-models 0.12.1 → 0.12.3
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/{cvcEntry-0BIB9sen.d.cts → cvcEntry-ctHTp2df.d.cts} +36 -36
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-ctHTp2df.d.ts} +36 -36
- package/dist/cvcs/index.cjs +245 -4
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +533 -274
- package/dist/cvcs/index.d.ts +533 -274
- package/dist/cvcs/index.js +244 -4
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +17 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +24 -3
- package/dist/enums/index.d.ts +24 -3
- package/dist/enums/index.js +16 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +317 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +310 -11
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.cjs +41 -7
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +116 -12
- package/dist/schemas/index.d.ts +116 -12
- package/dist/schemas/index.js +38 -7
- package/dist/schemas/index.js.map +1 -1
- package/dist/{cvc-Cp4uWnAa.d.cts → team-C4LJ5Tex.d.cts} +36 -1
- package/dist/{cvc-Cp4uWnAa.d.ts → team-C4LJ5Tex.d.ts} +36 -1
- package/dist/validation/index.cjs +155 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +1 -1
- package/dist/validation/index.d.ts +1 -1
- package/dist/validation/index.js +153 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +27 -26
- package/src/__tests__/__snapshots__/cvc-sot.snap +8 -0
- package/src/__tests__/core-information-scope-invariant.test.ts +125 -2
- package/src/__tests__/cvc-drift-gate.test.ts +18 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +17 -0
- package/src/__tests__/cvc-structural.test.ts +5 -0
- package/src/__tests__/share-response-reason-invariant.test.ts +167 -0
- package/src/__tests__/team-directory-fields.test.ts +252 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +21 -4
- package/src/cvcs/index.ts +4 -0
- package/src/cvcs/shareResponseReason.v1.0.0.json +220 -0
- package/src/generated/cvc-enums.ts +25 -2
- package/src/index.ts +7 -0
- package/src/schemas/index.ts +8 -0
- package/src/schemas/team.ts +118 -0
- package/src/validation/index.ts +1 -0
- package/src/validation/team.ts +48 -0
package/dist/enums/index.cjs
CHANGED
|
@@ -171,6 +171,7 @@ __export(cvc_enums_exports, {
|
|
|
171
171
|
SeverityFollowUpKeys: () => SeverityFollowUpKeys,
|
|
172
172
|
SexProviderSubroleKeys: () => SexProviderSubroleKeys,
|
|
173
173
|
SharePurposeKeys: () => SharePurposeKeys,
|
|
174
|
+
ShareResponseReasonKeys: () => ShareResponseReasonKeys,
|
|
174
175
|
SignatureMethodKeys: () => SignatureMethodKeys,
|
|
175
176
|
SignatureTypeKeys: () => SignatureTypeKeys,
|
|
176
177
|
SmtBodyLocationKeys: () => SmtBodyLocationKeys,
|
|
@@ -898,6 +899,20 @@ var CaseShareStateKeys = {
|
|
|
898
899
|
declined: "925-005-000-000-000-000-000",
|
|
899
900
|
rejected: "925-006-000-000-000-000-000"
|
|
900
901
|
};
|
|
902
|
+
var ShareResponseReasonKeys = {
|
|
903
|
+
missingness_root: "306-000-000-000-000-000-000",
|
|
904
|
+
unknown: "306-000-000-000-000-000-001",
|
|
905
|
+
information_incorrect: "306-001-000-000-000-000-000",
|
|
906
|
+
not_relevant_for_client: "306-002-000-000-000-000-000",
|
|
907
|
+
duplicate_already_have: "306-003-000-000-000-000-000",
|
|
908
|
+
client_declined_recording: "306-004-000-000-000-000-000",
|
|
909
|
+
wrong_agency_service_area: "306-005-000-000-000-000-000",
|
|
910
|
+
not_our_client: "306-006-000-000-000-000-000",
|
|
911
|
+
sent_in_error: "306-007-000-000-000-000-000",
|
|
912
|
+
no_capacity: "306-008-000-000-000-000-000",
|
|
913
|
+
cannot_verify_conflicts: "306-009-000-000-000-000-000",
|
|
914
|
+
wrong_person: "306-010-000-000-000-000-000"
|
|
915
|
+
};
|
|
901
916
|
var FacilitatorEntityTypeKeys = {
|
|
902
917
|
missingness_root: "165-000-000-000-000-000-000",
|
|
903
918
|
unknown: "165-000-000-000-000-000-001",
|
|
@@ -3110,6 +3125,7 @@ var CoreInformationScopeKeys = {
|
|
|
3110
3125
|
contact: "236-003-000-000-000-000-000",
|
|
3111
3126
|
contact_info: "236-003-001-000-000-000-000",
|
|
3112
3127
|
safe_locations: "236-003-002-000-000-000-000",
|
|
3128
|
+
priorities_safety: "236-003-003-000-000-000-000",
|
|
3113
3129
|
services: "236-004-000-000-000-000-000",
|
|
3114
3130
|
contact_history: "236-004-001-000-000-000-000",
|
|
3115
3131
|
service_history: "236-004-002-000-000-000-000",
|
|
@@ -4525,6 +4541,7 @@ var CriminalOrgCategoryKeys = {
|
|
|
4525
4541
|
SeverityFollowUpKeys,
|
|
4526
4542
|
SexProviderSubroleKeys,
|
|
4527
4543
|
SharePurposeKeys,
|
|
4544
|
+
ShareResponseReasonKeys,
|
|
4528
4545
|
SignatureMethodKeys,
|
|
4529
4546
|
SignatureTypeKeys,
|
|
4530
4547
|
SmtBodyLocationKeys,
|