@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.
@@ -5950,12 +5950,13 @@ var ORG_RECORD_FIELD_NAMES = Object.freeze([
5950
5950
  "vspPrivateNonprofit",
5951
5951
  "reviewStatus",
5952
5952
  "addedInApp",
5953
- "addedByUserId",
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
- addedByUserId: { type: String },
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
- addedByUserId: "String",
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"