@htilabs/platform-common-models 0.59.0 → 0.60.0
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/README.md +18 -1
- package/dist/index.cjs +10 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/org-directory/index.cjs +5 -4
- package/dist/org-directory/index.cjs.map +1 -1
- package/dist/org-directory/index.d.cts +15 -7
- package/dist/org-directory/index.d.ts +15 -7
- package/dist/org-directory/index.js +5 -4
- package/dist/org-directory/index.js.map +1 -1
- package/dist/points-of-contact/index.cjs +4 -3
- package/dist/points-of-contact/index.cjs.map +1 -1
- package/dist/points-of-contact/index.js +4 -3
- package/dist/points-of-contact/index.js.map +1 -1
- package/dist/schemas/index.cjs +10 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +8 -4
- package/dist/schemas/index.d.ts +8 -4
- package/dist/schemas/index.js +10 -6
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/src/orgDirectory/__tests__/orgRecord.test.ts +6 -3
- package/src/orgDirectory/orgRecord.ts +14 -6
- package/src/orgDirectory/rules.ts +3 -2
- package/src/schemas/organization.ts +7 -4
package/dist/schemas/index.cjs
CHANGED
|
@@ -5950,12 +5950,13 @@ var ORG_RECORD_FIELD_NAMES = Object.freeze([
|
|
|
5950
5950
|
"vspPrivateNonprofit",
|
|
5951
5951
|
"reviewStatus",
|
|
5952
5952
|
"addedInApp",
|
|
5953
|
-
"
|
|
5954
|
-
"addedInSession"
|
|
5953
|
+
"addedBy"
|
|
5955
5954
|
]);
|
|
5956
5955
|
var ORG_AS_BUILT_FIELD_NAMES = Object.freeze([
|
|
5957
5956
|
"requiresROI",
|
|
5958
5957
|
"isCustom",
|
|
5958
|
+
"addedByUserId",
|
|
5959
|
+
"addedInSession",
|
|
5959
5960
|
"division",
|
|
5960
5961
|
"typeOverride",
|
|
5961
5962
|
"typeKey"
|
|
@@ -6047,13 +6048,15 @@ var orgRecordSchemaDefinition = {
|
|
|
6047
6048
|
/** The app it was added in (`thread`, `pave`, `leads`, `platform`). */
|
|
6048
6049
|
addedInApp: { type: String },
|
|
6049
6050
|
/** The adding user's platform `users._id`. */
|
|
6050
|
-
|
|
6051
|
-
addedInSession: { type: String }
|
|
6051
|
+
addedBy: { type: String }
|
|
6052
6052
|
};
|
|
6053
6053
|
var orgAsBuiltSchemaDefinition = {
|
|
6054
6054
|
/** Informational only: the release check reads the sender's `vsp` (GDR § 5.17 clause 2). */
|
|
6055
6055
|
requiresROI: { type: Boolean },
|
|
6056
6056
|
isCustom: { type: Boolean },
|
|
6057
|
+
/** The pre-0.60 spelling of `addedBy`; PAVE 2.0 rows carry it. */
|
|
6058
|
+
addedByUserId: { type: String },
|
|
6059
|
+
addedInSession: { type: String },
|
|
6057
6060
|
division: { type: String },
|
|
6058
6061
|
typeOverride: { type: String },
|
|
6059
6062
|
/** The CVC-48 key PAVE writes beside a numeric `type`; retires with the type migration. */
|
|
@@ -6078,10 +6081,11 @@ var EXPECTED_INSTANCE = {
|
|
|
6078
6081
|
vspPrivateNonprofit: "Boolean",
|
|
6079
6082
|
reviewStatus: "String",
|
|
6080
6083
|
addedInApp: "String",
|
|
6081
|
-
|
|
6082
|
-
addedInSession: "String",
|
|
6084
|
+
addedBy: "String",
|
|
6083
6085
|
requiresROI: "Boolean",
|
|
6084
6086
|
isCustom: "Boolean",
|
|
6087
|
+
addedByUserId: "String",
|
|
6088
|
+
addedInSession: "String",
|
|
6085
6089
|
division: "String",
|
|
6086
6090
|
typeOverride: "String",
|
|
6087
6091
|
typeKey: "String"
|