@mj-biz-apps/common-entities 5.45.0 → 5.46.1

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.
@@ -24,6 +24,7 @@ export declare const mjBizAppsCommonActivitySchema: z.ZodObject<{
24
24
  AddressID: z.ZodNullable<z.ZodString>;
25
25
  ActivitySyncConnectionID: z.ZodNullable<z.ZodString>;
26
26
  Details: z.ZodNullable<z.ZodString>;
27
+ SentimentScore: z.ZodNullable<z.ZodNumber>;
27
28
  __mj_CreatedAt: z.ZodDate;
28
29
  __mj_UpdatedAt: z.ZodDate;
29
30
  ActivityType: z.ZodString;
@@ -59,6 +60,7 @@ export declare const mjBizAppsCommonActivitySchema: z.ZodObject<{
59
60
  AddressID?: string;
60
61
  ActivitySyncConnectionID?: string;
61
62
  Details?: string;
63
+ SentimentScore?: number;
62
64
  __mj_CreatedAt?: Date;
63
65
  __mj_UpdatedAt?: Date;
64
66
  ActivityType?: string;
@@ -94,6 +96,7 @@ export declare const mjBizAppsCommonActivitySchema: z.ZodObject<{
94
96
  AddressID?: string;
95
97
  ActivitySyncConnectionID?: string;
96
98
  Details?: string;
99
+ SentimentScore?: number;
97
100
  __mj_CreatedAt?: Date;
98
101
  __mj_UpdatedAt?: Date;
99
102
  ActivityType?: string;
@@ -978,6 +981,35 @@ export declare const mjBizAppsCommonContactTypeSchema: z.ZodObject<{
978
981
  DisplayRank?: number;
979
982
  }>;
980
983
  export type mjBizAppsCommonContactTypeEntityType = z.infer<typeof mjBizAppsCommonContactTypeSchema>;
984
+ /**
985
+ * zod schema definition for the entity MJ_BizApps_Common: Job Functions
986
+ */
987
+ export declare const mjBizAppsCommonJobFunctionSchema: z.ZodObject<{
988
+ ID: z.ZodString;
989
+ Name: z.ZodString;
990
+ Description: z.ZodNullable<z.ZodString>;
991
+ Sequence: z.ZodNumber;
992
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
993
+ __mj_CreatedAt: z.ZodDate;
994
+ __mj_UpdatedAt: z.ZodDate;
995
+ }, "strip", z.ZodTypeAny, {
996
+ ID?: string;
997
+ Description?: string;
998
+ Status?: "Active" | "Disabled";
999
+ __mj_CreatedAt?: Date;
1000
+ __mj_UpdatedAt?: Date;
1001
+ Sequence?: number;
1002
+ Name?: string;
1003
+ }, {
1004
+ ID?: string;
1005
+ Description?: string;
1006
+ Status?: "Active" | "Disabled";
1007
+ __mj_CreatedAt?: Date;
1008
+ __mj_UpdatedAt?: Date;
1009
+ Sequence?: number;
1010
+ Name?: string;
1011
+ }>;
1012
+ export type mjBizAppsCommonJobFunctionEntityType = z.infer<typeof mjBizAppsCommonJobFunctionSchema>;
981
1013
  /**
982
1014
  * zod schema definition for the entity MJ_BizApps_Common: Organization Types
983
1015
  */
@@ -1044,8 +1076,6 @@ export declare const mjBizAppsCommonOrganizationSchema: z.ZodObject<{
1044
1076
  PrimaryAddressCountry: z.ZodNullable<z.ZodString>;
1045
1077
  PrimaryAddressLatitude: z.ZodNullable<z.ZodNumber>;
1046
1078
  PrimaryAddressLongitude: z.ZodNullable<z.ZodNumber>;
1047
- __mj_Latitude: z.ZodNullable<z.ZodNumber>;
1048
- __mj_Longitude: z.ZodNullable<z.ZodNumber>;
1049
1079
  PrimaryAddressType: z.ZodNullable<z.ZodString>;
1050
1080
  PrimaryEmail: z.ZodNullable<z.ZodString>;
1051
1081
  PrimaryPhone: z.ZodNullable<z.ZodString>;
@@ -1057,8 +1087,6 @@ export declare const mjBizAppsCommonOrganizationSchema: z.ZodObject<{
1057
1087
  Status?: "Active" | "Dissolved" | "Inactive";
1058
1088
  __mj_CreatedAt?: Date;
1059
1089
  __mj_UpdatedAt?: Date;
1060
- __mj_Latitude?: number;
1061
- __mj_Longitude?: number;
1062
1090
  Email?: string;
1063
1091
  Phone?: string;
1064
1092
  Name?: string;
@@ -1095,8 +1123,6 @@ export declare const mjBizAppsCommonOrganizationSchema: z.ZodObject<{
1095
1123
  Status?: "Active" | "Dissolved" | "Inactive";
1096
1124
  __mj_CreatedAt?: Date;
1097
1125
  __mj_UpdatedAt?: Date;
1098
- __mj_Latitude?: number;
1099
- __mj_Longitude?: number;
1100
1126
  Email?: string;
1101
1127
  Phone?: string;
1102
1128
  Name?: string;
@@ -1152,7 +1178,9 @@ export declare const mjBizAppsCommonPersonSchema: z.ZodObject<{
1152
1178
  __mj_CreatedAt: z.ZodDate;
1153
1179
  __mj_UpdatedAt: z.ZodDate;
1154
1180
  DisplayName: z.ZodString;
1181
+ SeniorityLevelID: z.ZodNullable<z.ZodString>;
1155
1182
  LinkedUser: z.ZodNullable<z.ZodString>;
1183
+ SeniorityLevel: z.ZodNullable<z.ZodString>;
1156
1184
  PrimaryAddressLine1: z.ZodNullable<z.ZodString>;
1157
1185
  PrimaryAddressLine2: z.ZodNullable<z.ZodString>;
1158
1186
  PrimaryAddressCity: z.ZodNullable<z.ZodString>;
@@ -1161,22 +1189,20 @@ export declare const mjBizAppsCommonPersonSchema: z.ZodObject<{
1161
1189
  PrimaryAddressCountry: z.ZodNullable<z.ZodString>;
1162
1190
  PrimaryAddressLatitude: z.ZodNullable<z.ZodNumber>;
1163
1191
  PrimaryAddressLongitude: z.ZodNullable<z.ZodNumber>;
1164
- __mj_Latitude: z.ZodNullable<z.ZodNumber>;
1165
- __mj_Longitude: z.ZodNullable<z.ZodNumber>;
1166
1192
  PrimaryAddressType: z.ZodNullable<z.ZodString>;
1167
1193
  PrimaryEmail: z.ZodNullable<z.ZodString>;
1168
1194
  PrimaryPhone: z.ZodNullable<z.ZodString>;
1169
1195
  CurrentOrganizationID: z.ZodNullable<z.ZodString>;
1170
1196
  CurrentOrganizationName: z.ZodNullable<z.ZodString>;
1171
1197
  CurrentJobTitle: z.ZodNullable<z.ZodString>;
1198
+ PrimaryJobFunctionID: z.ZodNullable<z.ZodString>;
1199
+ PrimaryJobFunction: z.ZodNullable<z.ZodString>;
1172
1200
  }, "strip", z.ZodTypeAny, {
1173
1201
  ID?: string;
1174
1202
  Title?: string;
1175
1203
  Status?: "Active" | "Inactive" | "Deceased";
1176
1204
  __mj_CreatedAt?: Date;
1177
1205
  __mj_UpdatedAt?: Date;
1178
- __mj_Latitude?: number;
1179
- __mj_Longitude?: number;
1180
1206
  Email?: string;
1181
1207
  Phone?: string;
1182
1208
  PrimaryAddressLine1?: string;
@@ -1202,18 +1228,20 @@ export declare const mjBizAppsCommonPersonSchema: z.ZodObject<{
1202
1228
  Bio?: string;
1203
1229
  LinkedUserID?: string;
1204
1230
  DisplayName?: string;
1231
+ SeniorityLevelID?: string;
1205
1232
  LinkedUser?: string;
1233
+ SeniorityLevel?: string;
1206
1234
  CurrentOrganizationID?: string;
1207
1235
  CurrentOrganizationName?: string;
1208
1236
  CurrentJobTitle?: string;
1237
+ PrimaryJobFunctionID?: string;
1238
+ PrimaryJobFunction?: string;
1209
1239
  }, {
1210
1240
  ID?: string;
1211
1241
  Title?: string;
1212
1242
  Status?: "Active" | "Inactive" | "Deceased";
1213
1243
  __mj_CreatedAt?: Date;
1214
1244
  __mj_UpdatedAt?: Date;
1215
- __mj_Latitude?: number;
1216
- __mj_Longitude?: number;
1217
1245
  Email?: string;
1218
1246
  Phone?: string;
1219
1247
  PrimaryAddressLine1?: string;
@@ -1239,12 +1267,54 @@ export declare const mjBizAppsCommonPersonSchema: z.ZodObject<{
1239
1267
  Bio?: string;
1240
1268
  LinkedUserID?: string;
1241
1269
  DisplayName?: string;
1270
+ SeniorityLevelID?: string;
1242
1271
  LinkedUser?: string;
1272
+ SeniorityLevel?: string;
1243
1273
  CurrentOrganizationID?: string;
1244
1274
  CurrentOrganizationName?: string;
1245
1275
  CurrentJobTitle?: string;
1276
+ PrimaryJobFunctionID?: string;
1277
+ PrimaryJobFunction?: string;
1246
1278
  }>;
1247
1279
  export type mjBizAppsCommonPersonEntityType = z.infer<typeof mjBizAppsCommonPersonSchema>;
1280
+ /**
1281
+ * zod schema definition for the entity MJ_BizApps_Common: Person Job Functions
1282
+ */
1283
+ export declare const mjBizAppsCommonPersonJobFunctionSchema: z.ZodObject<{
1284
+ ID: z.ZodString;
1285
+ PersonID: z.ZodString;
1286
+ JobFunctionID: z.ZodString;
1287
+ Sequence: z.ZodNumber;
1288
+ Source: z.ZodUnion<[z.ZodLiteral<"Derived">, z.ZodLiteral<"Manual">]>;
1289
+ Confidence: z.ZodNullable<z.ZodNumber>;
1290
+ __mj_CreatedAt: z.ZodDate;
1291
+ __mj_UpdatedAt: z.ZodDate;
1292
+ Person: z.ZodString;
1293
+ JobFunction: z.ZodString;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ ID?: string;
1296
+ Source?: "Manual" | "Derived";
1297
+ __mj_CreatedAt?: Date;
1298
+ __mj_UpdatedAt?: Date;
1299
+ Sequence?: number;
1300
+ PersonID?: string;
1301
+ Person?: string;
1302
+ Confidence?: number;
1303
+ JobFunctionID?: string;
1304
+ JobFunction?: string;
1305
+ }, {
1306
+ ID?: string;
1307
+ Source?: "Manual" | "Derived";
1308
+ __mj_CreatedAt?: Date;
1309
+ __mj_UpdatedAt?: Date;
1310
+ Sequence?: number;
1311
+ PersonID?: string;
1312
+ Person?: string;
1313
+ Confidence?: number;
1314
+ JobFunctionID?: string;
1315
+ JobFunction?: string;
1316
+ }>;
1317
+ export type mjBizAppsCommonPersonJobFunctionEntityType = z.infer<typeof mjBizAppsCommonPersonJobFunctionSchema>;
1248
1318
  /**
1249
1319
  * zod schema definition for the entity MJ_BizApps_Common: Relationship Types
1250
1320
  */
@@ -1300,17 +1370,25 @@ export declare const mjBizAppsCommonRelationshipSchema: z.ZodObject<{
1300
1370
  Notes: z.ZodNullable<z.ZodString>;
1301
1371
  __mj_CreatedAt: z.ZodDate;
1302
1372
  __mj_UpdatedAt: z.ZodDate;
1373
+ JobFunctionID: z.ZodNullable<z.ZodString>;
1374
+ SeniorityLevelID: z.ZodNullable<z.ZodString>;
1303
1375
  RelationshipType: z.ZodString;
1304
1376
  FromPerson: z.ZodNullable<z.ZodString>;
1305
1377
  FromOrganization: z.ZodNullable<z.ZodString>;
1306
1378
  ToPerson: z.ZodNullable<z.ZodString>;
1307
1379
  ToOrganization: z.ZodNullable<z.ZodString>;
1380
+ JobFunction: z.ZodNullable<z.ZodString>;
1381
+ SeniorityLevel: z.ZodNullable<z.ZodString>;
1308
1382
  }, "strip", z.ZodTypeAny, {
1309
1383
  ID?: string;
1310
1384
  Title?: string;
1311
1385
  Status?: "Active" | "Inactive" | "Ended";
1312
1386
  __mj_CreatedAt?: Date;
1313
1387
  __mj_UpdatedAt?: Date;
1388
+ SeniorityLevelID?: string;
1389
+ SeniorityLevel?: string;
1390
+ JobFunctionID?: string;
1391
+ JobFunction?: string;
1314
1392
  RelationshipTypeID?: string;
1315
1393
  FromPersonID?: string;
1316
1394
  FromOrganizationID?: string;
@@ -1330,6 +1408,10 @@ export declare const mjBizAppsCommonRelationshipSchema: z.ZodObject<{
1330
1408
  Status?: "Active" | "Inactive" | "Ended";
1331
1409
  __mj_CreatedAt?: Date;
1332
1410
  __mj_UpdatedAt?: Date;
1411
+ SeniorityLevelID?: string;
1412
+ SeniorityLevel?: string;
1413
+ JobFunctionID?: string;
1414
+ JobFunction?: string;
1333
1415
  RelationshipTypeID?: string;
1334
1416
  FromPersonID?: string;
1335
1417
  FromOrganizationID?: string;
@@ -1345,6 +1427,35 @@ export declare const mjBizAppsCommonRelationshipSchema: z.ZodObject<{
1345
1427
  ToOrganization?: string;
1346
1428
  }>;
1347
1429
  export type mjBizAppsCommonRelationshipEntityType = z.infer<typeof mjBizAppsCommonRelationshipSchema>;
1430
+ /**
1431
+ * zod schema definition for the entity MJ_BizApps_Common: Seniority Levels
1432
+ */
1433
+ export declare const mjBizAppsCommonSeniorityLevelSchema: z.ZodObject<{
1434
+ ID: z.ZodString;
1435
+ Name: z.ZodString;
1436
+ Description: z.ZodNullable<z.ZodString>;
1437
+ Sequence: z.ZodNumber;
1438
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
1439
+ __mj_CreatedAt: z.ZodDate;
1440
+ __mj_UpdatedAt: z.ZodDate;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ ID?: string;
1443
+ Description?: string;
1444
+ Status?: "Active" | "Disabled";
1445
+ __mj_CreatedAt?: Date;
1446
+ __mj_UpdatedAt?: Date;
1447
+ Sequence?: number;
1448
+ Name?: string;
1449
+ }, {
1450
+ ID?: string;
1451
+ Description?: string;
1452
+ Status?: "Active" | "Disabled";
1453
+ __mj_CreatedAt?: Date;
1454
+ __mj_UpdatedAt?: Date;
1455
+ Sequence?: number;
1456
+ Name?: string;
1457
+ }>;
1458
+ export type mjBizAppsCommonSeniorityLevelEntityType = z.infer<typeof mjBizAppsCommonSeniorityLevelSchema>;
1348
1459
  /**
1349
1460
  * MJ_BizApps_Common: Activities - strongly typed entity sub-class
1350
1461
  * * Schema: __mj_BizAppsCommon
@@ -1389,27 +1500,27 @@ export declare class mjBizAppsCommonActivityEntity extends BaseEntity<mjBizAppsC
1389
1500
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
1390
1501
  /**
1391
1502
  * Validate() method override for MJ_BizApps_Common: Activities entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
1392
- * * Table-Level: The activity's end date and time must be greater than or equal to its start date and time, ensuring chronological integrity.
1393
- * * Table-Level: External ID and Source System must either both be provided or both be left blank to ensure data integrity when linking to external systems.
1503
+ * * Table-Level: The activity's end date and time must be on or after its start date and time.
1504
+ * * Table-Level: Both External ID and Source System must be provided together, or both must be left empty. This ensures that external records are fully identified with both their identifier and their system of origin.
1394
1505
  * @public
1395
1506
  * @method
1396
1507
  * @override
1397
1508
  */
1398
1509
  Validate(): ValidationResult;
1399
1510
  /**
1400
- * The activity's end date and time must be greater than or equal to its start date and time, ensuring chronological integrity.
1511
+ * The activity's end date and time must be on or after its start date and time.
1401
1512
  * @param result - the ValidationResult object to add any errors or warnings to
1402
1513
  * @public
1403
1514
  * @method
1404
1515
  */
1405
- ValidateEndedAtAfterOrEqualStartedAt(result: ValidationResult): void;
1516
+ ValidateEndedAtOnOrAfterStartedAt(result: ValidationResult): void;
1406
1517
  /**
1407
- * External ID and Source System must either both be provided or both be left blank to ensure data integrity when linking to external systems.
1518
+ * Both External ID and Source System must be provided together, or both must be left empty. This ensures that external records are fully identified with both their identifier and their system of origin.
1408
1519
  * @param result - the ValidationResult object to add any errors or warnings to
1409
1520
  * @public
1410
1521
  * @method
1411
1522
  */
1412
- ValidateExternalIDAndSourceSystemCoexistence(result: ValidationResult): void;
1523
+ ValidateExternalIdAndSourceSystemCoexistence(result: ValidationResult): void;
1413
1524
  /**
1414
1525
  * * Field Name: ID
1415
1526
  * * Display Name: ID
@@ -1604,6 +1715,14 @@ export declare class mjBizAppsCommonActivityEntity extends BaseEntity<mjBizAppsC
1604
1715
  get Details(): string | null;
1605
1716
  set Details(value: string | null);
1606
1717
  /**
1718
+ * * Field Name: SentimentScore
1719
+ * * Display Name: Sentiment Score
1720
+ * * SQL Data Type: decimal(4, 3)
1721
+ * * Description: Derived sentiment score for this activity, bounded between -1.000 and +1.000.
1722
+ */
1723
+ get SentimentScore(): number | null;
1724
+ set SentimentScore(value: number | null);
1725
+ /**
1607
1726
  * * Field Name: __mj_CreatedAt
1608
1727
  * * Display Name: Created At
1609
1728
  * * SQL Data Type: datetimeoffset
@@ -1813,14 +1932,14 @@ export declare class mjBizAppsCommonActivityLinkEntity extends BaseEntity<mjBizA
1813
1932
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
1814
1933
  /**
1815
1934
  * Validate() method override for MJ_BizApps_Common: Activity Links entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
1816
- * * Table-Level: The record must be associated with either an Entity (by providing both Entity ID and Record ID) or an Identity (by providing both Identity Kind and Identity Value), but not both, and partial definitions are not allowed.
1935
+ * * Table-Level: The record must be associated with either an internal entity (by providing both Entity ID and Record ID, while leaving Identity Kind and Identity Value empty) or an external identity (by providing both Identity Kind and Identity Value, while leaving Entity ID and Record ID empty). It cannot have a mix of both or have both sets of fields empty.
1817
1936
  * @public
1818
1937
  * @method
1819
1938
  * @override
1820
1939
  */
1821
1940
  Validate(): ValidationResult;
1822
1941
  /**
1823
- * The record must be associated with either an Entity (by providing both Entity ID and Record ID) or an Identity (by providing both Identity Kind and Identity Value), but not both, and partial definitions are not allowed.
1942
+ * The record must be associated with either an internal entity (by providing both Entity ID and Record ID, while leaving Identity Kind and Identity Value empty) or an external identity (by providing both Identity Kind and Identity Value, while leaving Entity ID and Record ID empty). It cannot have a mix of both or have both sets of fields empty.
1824
1943
  * @param result - the ValidationResult object to add any errors or warnings to
1825
1944
  * @public
1826
1945
  * @method
@@ -2060,29 +2179,6 @@ export declare class mjBizAppsCommonActivitySyncConnectionEntity extends BaseEnt
2060
2179
  */
2061
2180
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
2062
2181
  /**
2063
- * Validate() method override for MJ_BizApps_Common: Activity Sync Connections entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
2064
- * * MaxAttachmentBytes: The maximum attachment size limit, if specified, must be a positive number greater than zero.
2065
- * * Table-Level: The end date and time must be on or after the start date and time if both are specified.
2066
- * @public
2067
- * @method
2068
- * @override
2069
- */
2070
- Validate(): ValidationResult;
2071
- /**
2072
- * The maximum attachment size limit, if specified, must be a positive number greater than zero.
2073
- * @param result - the ValidationResult object to add any errors or warnings to
2074
- * @public
2075
- * @method
2076
- */
2077
- ValidateMaxAttachmentBytesGreaterThanZero(result: ValidationResult): void;
2078
- /**
2079
- * The end date and time must be on or after the start date and time if both are specified.
2080
- * @param result - the ValidationResult object to add any errors or warnings to
2081
- * @public
2082
- * @method
2083
- */
2084
- ValidateEndAtAfterOrEqualStartAt(result: ValidationResult): void;
2085
- /**
2086
2182
  * * Field Name: ID
2087
2183
  * * Display Name: ID
2088
2184
  * * SQL Data Type: uniqueidentifier
@@ -2314,21 +2410,6 @@ export declare class mjBizAppsCommonActivitySyncExclusionEntity extends BaseEnti
2314
2410
  */
2315
2411
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
2316
2412
  /**
2317
- * Validate() method override for MJ_BizApps_Common: Activity Sync Exclusions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
2318
- * * Table-Level: The end date (Effective To) must be on or after the start date (Effective From) if both dates are provided.
2319
- * @public
2320
- * @method
2321
- * @override
2322
- */
2323
- Validate(): ValidationResult;
2324
- /**
2325
- * The end date (Effective To) must be on or after the start date (Effective From) if both dates are provided.
2326
- * @param result - the ValidationResult object to add any errors or warnings to
2327
- * @public
2328
- * @method
2329
- */
2330
- ValidateEffectiveToAfterEffectiveFrom(result: ValidationResult): void;
2331
- /**
2332
2413
  * * Field Name: ID
2333
2414
  * * Display Name: ID
2334
2415
  * * SQL Data Type: uniqueidentifier
@@ -2385,6 +2466,7 @@ export declare class mjBizAppsCommonActivitySyncExclusionEntity extends BaseEnti
2385
2466
  * * Field Name: EffectiveFrom
2386
2467
  * * Display Name: Effective From
2387
2468
  * * SQL Data Type: datetimeoffset
2469
+ * * Description: Start of the window of MESSAGES this exclusion covers, matched against the item's own time -- when a message was sent or received, or when a meeting starts -- NOT against the current time. Leave empty for no lower bound. This is deliberately different from ActivitySyncConnection.StartAt, which is evaluated against the clock: setting this to today does not mean "exclude from today onwards", it means "exclude messages dated today or later", so a later backfill of older mail is not covered by it. Item time is also what keeps a re-run reproducible, so the run log can answer which rule excluded a message and give the same answer next time.
2388
2470
  */
2389
2471
  get EffectiveFrom(): Date | null;
2390
2472
  set EffectiveFrom(value: Date | null);
@@ -2392,6 +2474,7 @@ export declare class mjBizAppsCommonActivitySyncExclusionEntity extends BaseEnti
2392
2474
  * * Field Name: EffectiveTo
2393
2475
  * * Display Name: Effective To
2394
2476
  * * SQL Data Type: datetimeoffset
2477
+ * * Description: End of the window of MESSAGES this exclusion covers, matched against the item's own time -- when a message was sent or received, or when a meeting starts -- NOT against the current time. Leave empty for no upper bound. Inclusive of the instant given, matching how ActivitySyncRule DateFrom/DateTo compare. See EffectiveFrom for why this is item time rather than clock time.
2395
2478
  */
2396
2479
  get EffectiveTo(): Date | null;
2397
2480
  set EffectiveTo(value: Date | null);
@@ -2400,6 +2483,7 @@ export declare class mjBizAppsCommonActivitySyncExclusionEntity extends BaseEnti
2400
2483
  * * Display Name: Is Enabled
2401
2484
  * * SQL Data Type: bit
2402
2485
  * * Default Value: 1
2486
+ * * Description: Whether this exclusion is in force. Unchecked, it is ignored entirely and the messages it names are qualified as if it did not exist.
2403
2487
  */
2404
2488
  get IsEnabled(): boolean;
2405
2489
  set IsEnabled(value: boolean);
@@ -2455,21 +2539,6 @@ export declare class mjBizAppsCommonActivitySyncExtensionEntity extends BaseEnti
2455
2539
  */
2456
2540
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
2457
2541
  /**
2458
- * Validate() method override for MJ_BizApps_Common: Activity Sync Extensions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
2459
- * * TimeoutMS: The timeout value must be greater than 0 milliseconds and cannot exceed 300,000 milliseconds (5 minutes) to ensure system stability.
2460
- * @public
2461
- * @method
2462
- * @override
2463
- */
2464
- Validate(): ValidationResult;
2465
- /**
2466
- * The timeout value must be greater than 0 milliseconds and cannot exceed 300,000 milliseconds (5 minutes) to ensure system stability.
2467
- * @param result - the ValidationResult object to add any errors or warnings to
2468
- * @public
2469
- * @method
2470
- */
2471
- ValidateTimeoutMSRange(result: ValidationResult): void;
2472
- /**
2473
2542
  * * Field Name: ID
2474
2543
  * * Display Name: ID
2475
2544
  * * SQL Data Type: uniqueidentifier
@@ -2619,29 +2688,6 @@ export declare class mjBizAppsCommonActivitySyncProviderTypeEntity extends BaseE
2619
2688
  */
2620
2689
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
2621
2690
  /**
2622
- * Validate() method override for MJ_BizApps_Common: Activity Sync Provider Types entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
2623
- * * DefaultMaxAttachmentBytes: The default maximum attachment size must be greater than 0 bytes if it is specified.
2624
- * * Table-Level: A default encryption key must be provided unless the default skipped content policy is set to 'None'.
2625
- * @public
2626
- * @method
2627
- * @override
2628
- */
2629
- Validate(): ValidationResult;
2630
- /**
2631
- * The default maximum attachment size must be greater than 0 bytes if it is specified.
2632
- * @param result - the ValidationResult object to add any errors or warnings to
2633
- * @public
2634
- * @method
2635
- */
2636
- ValidateDefaultMaxAttachmentBytesGreaterThanZero(result: ValidationResult): void;
2637
- /**
2638
- * A default encryption key must be provided unless the default skipped content policy is set to 'None'.
2639
- * @param result - the ValidationResult object to add any errors or warnings to
2640
- * @public
2641
- * @method
2642
- */
2643
- ValidateDefaultEncryptionKeyIDBasedOnSkippedContentPolicy(result: ValidationResult): void;
2644
- /**
2645
2691
  * * Field Name: ID
2646
2692
  * * Display Name: ID
2647
2693
  * * SQL Data Type: uniqueidentifier
@@ -2762,6 +2808,7 @@ export declare class mjBizAppsCommonActivitySyncProviderTypeEntity extends BaseE
2762
2808
  * * Display Name: Is Active
2763
2809
  * * SQL Data Type: bit
2764
2810
  * * Default Value: 1
2811
+ * * Description: Whether this connector type may run. Unchecked, every connection using it refuses on its next fleet tick and reports Status = Error with the reason, rather than appearing to sync -- and each returns to Active by itself once the type is re-enabled and a run succeeds. Nothing is read from any mailbox while it is off.
2765
2812
  */
2766
2813
  get IsActive(): boolean;
2767
2814
  set IsActive(value: boolean);
@@ -2933,30 +2980,14 @@ export declare class mjBizAppsCommonActivitySyncRuleEntity extends BaseEntity<mj
2933
2980
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
2934
2981
  /**
2935
2982
  * Validate() method override for MJ_BizApps_Common: Activity Sync Rules entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
2936
- * * MaxAttachmentBytes: The maximum attachment size, if specified, must be a positive number greater than zero.
2937
- * * Table-Level: Exactly one of Activity Sync Rule Set or Activity Sync Connection must be specified. You cannot provide both, and you cannot leave both empty.
2938
- * * Table-Level: The end date must be on or after the start date when both dates are provided.
2983
+ * * Table-Level: The end date (DateTo) must be greater than or equal to the start date (DateFrom) when both dates are provided.
2939
2984
  * @public
2940
2985
  * @method
2941
2986
  * @override
2942
2987
  */
2943
2988
  Validate(): ValidationResult;
2944
2989
  /**
2945
- * The maximum attachment size, if specified, must be a positive number greater than zero.
2946
- * @param result - the ValidationResult object to add any errors or warnings to
2947
- * @public
2948
- * @method
2949
- */
2950
- ValidateMaxAttachmentBytesGreaterThanZero(result: ValidationResult): void;
2951
- /**
2952
- * Exactly one of Activity Sync Rule Set or Activity Sync Connection must be specified. You cannot provide both, and you cannot leave both empty.
2953
- * @param result - the ValidationResult object to add any errors or warnings to
2954
- * @public
2955
- * @method
2956
- */
2957
- ValidateActivitySyncRuleSetAndConnectionMutuallyExclusive(result: ValidationResult): void;
2958
- /**
2959
- * The end date must be on or after the start date when both dates are provided.
2990
+ * The end date (DateTo) must be greater than or equal to the start date (DateFrom) when both dates are provided.
2960
2991
  * @param result - the ValidationResult object to add any errors or warnings to
2961
2992
  * @public
2962
2993
  * @method
@@ -3161,37 +3192,6 @@ export declare class mjBizAppsCommonActivitySyncRunDetailEntity extends BaseEnti
3161
3192
  */
3162
3193
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
3163
3194
  /**
3164
- * Validate() method override for MJ_BizApps_Common: Activity Sync Run Details entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
3165
- * * Confidence: Confidence score, if provided, must be a value between 0 and 1 inclusive.
3166
- * * Table-Level: An activity can only be associated with this record if the decision is set to 'Included'.
3167
- * * Table-Level: Either both captured content and an encryption key must be provided, or both must be omitted to ensure secure data storage.
3168
- * @public
3169
- * @method
3170
- * @override
3171
- */
3172
- Validate(): ValidationResult;
3173
- /**
3174
- * Confidence score, if provided, must be a value between 0 and 1 inclusive.
3175
- * @param result - the ValidationResult object to add any errors or warnings to
3176
- * @public
3177
- * @method
3178
- */
3179
- ValidateConfidenceRange(result: ValidationResult): void;
3180
- /**
3181
- * An activity can only be associated with this record if the decision is set to 'Included'.
3182
- * @param result - the ValidationResult object to add any errors or warnings to
3183
- * @public
3184
- * @method
3185
- */
3186
- ValidateActivityIDRequiresIncludedDecision(result: ValidationResult): void;
3187
- /**
3188
- * Either both captured content and an encryption key must be provided, or both must be omitted to ensure secure data storage.
3189
- * @param result - the ValidationResult object to add any errors or warnings to
3190
- * @public
3191
- * @method
3192
- */
3193
- ValidateCapturedContentAndEncryptionKeyID(result: ValidationResult): void;
3194
- /**
3195
3195
  * * Field Name: ID
3196
3196
  * * Display Name: ID
3197
3197
  * * SQL Data Type: uniqueidentifier
@@ -3377,21 +3377,6 @@ export declare class mjBizAppsCommonActivitySyncRunEntity extends BaseEntity<mjB
3377
3377
  */
3378
3378
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
3379
3379
  /**
3380
- * Validate() method override for MJ_BizApps_Common: Activity Sync Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
3381
- * * Table-Level: A watermark after date cannot be specified when performing a dry run.
3382
- * @public
3383
- * @method
3384
- * @override
3385
- */
3386
- Validate(): ValidationResult;
3387
- /**
3388
- * A watermark after date cannot be specified when performing a dry run.
3389
- * @param result - the ValidationResult object to add any errors or warnings to
3390
- * @public
3391
- * @method
3392
- */
3393
- ValidateWatermarkAfterForDryRun(result: ValidationResult): void;
3394
- /**
3395
3380
  * * Field Name: ID
3396
3381
  * * Display Name: ID
3397
3382
  * * SQL Data Type: uniqueidentifier
@@ -4247,6 +4232,87 @@ export declare class mjBizAppsCommonContactTypeEntity extends BaseEntity<mjBizAp
4247
4232
  */
4248
4233
  get __mj_UpdatedAt(): Date;
4249
4234
  }
4235
+ /**
4236
+ * MJ_BizApps_Common: Job Functions - strongly typed entity sub-class
4237
+ * * Schema: __mj_BizAppsCommon
4238
+ * * Base Table: JobFunction
4239
+ * * Base View: vwJobFunctions
4240
+ * * @description Business job functions (Engineering, Marketing, Sales, etc.) for categorizing roles and career paths.
4241
+ * * Primary Key: ID
4242
+ * @extends {BaseEntity}
4243
+ * @class
4244
+ * @public
4245
+ */
4246
+ export declare class mjBizAppsCommonJobFunctionEntity extends BaseEntity<mjBizAppsCommonJobFunctionEntityType> {
4247
+ /**
4248
+ * Loads the MJ_BizApps_Common: Job Functions record from the database
4249
+ * @param ID: string - primary key value to load the MJ_BizApps_Common: Job Functions record.
4250
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4251
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4252
+ * @public
4253
+ * @async
4254
+ * @memberof mjBizAppsCommonJobFunctionEntity
4255
+ * @method
4256
+ * @override
4257
+ */
4258
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
4259
+ /**
4260
+ * * Field Name: ID
4261
+ * * Display Name: ID
4262
+ * * SQL Data Type: uniqueidentifier
4263
+ * * Default Value: newsequentialid()
4264
+ */
4265
+ get ID(): string;
4266
+ set ID(value: string);
4267
+ /**
4268
+ * * Field Name: Name
4269
+ * * Display Name: Name
4270
+ * * SQL Data Type: nvarchar(100)
4271
+ */
4272
+ get Name(): string;
4273
+ set Name(value: string);
4274
+ /**
4275
+ * * Field Name: Description
4276
+ * * Display Name: Description
4277
+ * * SQL Data Type: nvarchar(MAX)
4278
+ */
4279
+ get Description(): string | null;
4280
+ set Description(value: string | null);
4281
+ /**
4282
+ * * Field Name: Sequence
4283
+ * * Display Name: Sequence
4284
+ * * SQL Data Type: int
4285
+ * * Default Value: 0
4286
+ */
4287
+ get Sequence(): number;
4288
+ set Sequence(value: number);
4289
+ /**
4290
+ * * Field Name: Status
4291
+ * * Display Name: Status
4292
+ * * SQL Data Type: nvarchar(20)
4293
+ * * Default Value: Active
4294
+ * * Value List Type: List
4295
+ * * Possible Values
4296
+ * * Active
4297
+ * * Disabled
4298
+ */
4299
+ get Status(): 'Active' | 'Disabled';
4300
+ set Status(value: 'Active' | 'Disabled');
4301
+ /**
4302
+ * * Field Name: __mj_CreatedAt
4303
+ * * Display Name: Created At
4304
+ * * SQL Data Type: datetimeoffset
4305
+ * * Default Value: getutcdate()
4306
+ */
4307
+ get __mj_CreatedAt(): Date;
4308
+ /**
4309
+ * * Field Name: __mj_UpdatedAt
4310
+ * * Display Name: Updated At
4311
+ * * SQL Data Type: datetimeoffset
4312
+ * * Default Value: getutcdate()
4313
+ */
4314
+ get __mj_UpdatedAt(): Date;
4315
+ }
4250
4316
  /**
4251
4317
  * MJ_BizApps_Common: Organization Types - strongly typed entity sub-class
4252
4318
  * * Schema: __mj_BizAppsCommon
@@ -4525,7 +4591,7 @@ export declare class mjBizAppsCommonOrganizationEntity extends BaseEntity<mjBizA
4525
4591
  get Parent(): string | null;
4526
4592
  /**
4527
4593
  * * Field Name: RootParentID
4528
- * * Display Name: Root Organization
4594
+ * * Display Name: Root Parent
4529
4595
  * * SQL Data Type: uniqueidentifier
4530
4596
  */
4531
4597
  get RootParentID(): string | null;
@@ -4573,7 +4639,7 @@ export declare class mjBizAppsCommonOrganizationEntity extends BaseEntity<mjBizA
4573
4639
  get PrimaryAddressCity(): string | null;
4574
4640
  /**
4575
4641
  * * Field Name: PrimaryAddressState
4576
- * * Display Name: State
4642
+ * * Display Name: State/Province
4577
4643
  * * SQL Data Type: nvarchar(100)
4578
4644
  */
4579
4645
  get PrimaryAddressState(): string | null;
@@ -4591,29 +4657,17 @@ export declare class mjBizAppsCommonOrganizationEntity extends BaseEntity<mjBizA
4591
4657
  get PrimaryAddressCountry(): string | null;
4592
4658
  /**
4593
4659
  * * Field Name: PrimaryAddressLatitude
4594
- * * Display Name: Latitude
4660
+ * * Display Name: Primary Address Latitude
4595
4661
  * * SQL Data Type: decimal(9, 6)
4596
4662
  */
4597
4663
  get PrimaryAddressLatitude(): number | null;
4598
4664
  /**
4599
4665
  * * Field Name: PrimaryAddressLongitude
4600
- * * Display Name: Longitude
4666
+ * * Display Name: Primary Address Longitude
4601
4667
  * * SQL Data Type: decimal(9, 6)
4602
4668
  */
4603
4669
  get PrimaryAddressLongitude(): number | null;
4604
4670
  /**
4605
- * * Field Name: __mj_Latitude
4606
- * * Display Name: Latitude
4607
- * * SQL Data Type: decimal(9, 6)
4608
- */
4609
- get __mj_Latitude(): number | null;
4610
- /**
4611
- * * Field Name: __mj_Longitude
4612
- * * Display Name: Longitude
4613
- * * SQL Data Type: decimal(9, 6)
4614
- */
4615
- get __mj_Longitude(): number | null;
4616
- /**
4617
4671
  * * Field Name: PrimaryAddressType
4618
4672
  * * Display Name: Address Type
4619
4673
  * * SQL Data Type: nvarchar(100)
@@ -4633,7 +4687,7 @@ export declare class mjBizAppsCommonOrganizationEntity extends BaseEntity<mjBizA
4633
4687
  get PrimaryPhone(): string | null;
4634
4688
  /**
4635
4689
  * * Field Name: ActivePersonCount
4636
- * * Display Name: Active People Count
4690
+ * * Display Name: Active Staff Count
4637
4691
  * * SQL Data Type: int
4638
4692
  */
4639
4693
  get ActivePersonCount(): number | null;
@@ -4843,12 +4897,27 @@ export declare class mjBizAppsCommonPersonEntity extends BaseEntity<mjBizAppsCom
4843
4897
  */
4844
4898
  get DisplayName(): string;
4845
4899
  /**
4900
+ * * Field Name: SeniorityLevelID
4901
+ * * Display Name: Seniority Level
4902
+ * * SQL Data Type: uniqueidentifier
4903
+ * * Related Entity/Foreign Key: MJ_BizApps_Common: Seniority Levels (vwSeniorityLevels.ID)
4904
+ * * Description: Current primary seniority level for this person.
4905
+ */
4906
+ get SeniorityLevelID(): string | null;
4907
+ set SeniorityLevelID(value: string | null);
4908
+ /**
4846
4909
  * * Field Name: LinkedUser
4847
4910
  * * Display Name: Linked User
4848
4911
  * * SQL Data Type: nvarchar(100)
4849
4912
  */
4850
4913
  get LinkedUser(): string | null;
4851
4914
  /**
4915
+ * * Field Name: SeniorityLevel
4916
+ * * Display Name: Seniority Level
4917
+ * * SQL Data Type: nvarchar(100)
4918
+ */
4919
+ get SeniorityLevel(): string | null;
4920
+ /**
4852
4921
  * * Field Name: PrimaryAddressLine1
4853
4922
  * * Display Name: Primary Address Line 1
4854
4923
  * * SQL Data Type: nvarchar(255)
@@ -4897,18 +4966,6 @@ export declare class mjBizAppsCommonPersonEntity extends BaseEntity<mjBizAppsCom
4897
4966
  */
4898
4967
  get PrimaryAddressLongitude(): number | null;
4899
4968
  /**
4900
- * * Field Name: __mj_Latitude
4901
- * * Display Name: Latitude
4902
- * * SQL Data Type: decimal(9, 6)
4903
- */
4904
- get __mj_Latitude(): number | null;
4905
- /**
4906
- * * Field Name: __mj_Longitude
4907
- * * Display Name: Longitude
4908
- * * SQL Data Type: decimal(9, 6)
4909
- */
4910
- get __mj_Longitude(): number | null;
4911
- /**
4912
4969
  * * Field Name: PrimaryAddressType
4913
4970
  * * Display Name: Primary Address Type
4914
4971
  * * SQL Data Type: nvarchar(100)
@@ -4944,6 +5001,135 @@ export declare class mjBizAppsCommonPersonEntity extends BaseEntity<mjBizAppsCom
4944
5001
  * * SQL Data Type: nvarchar(255)
4945
5002
  */
4946
5003
  get CurrentJobTitle(): string | null;
5004
+ /**
5005
+ * * Field Name: PrimaryJobFunctionID
5006
+ * * Display Name: Primary Job Function
5007
+ * * SQL Data Type: uniqueidentifier
5008
+ */
5009
+ get PrimaryJobFunctionID(): string | null;
5010
+ /**
5011
+ * * Field Name: PrimaryJobFunction
5012
+ * * Display Name: Primary Job Function Name
5013
+ * * SQL Data Type: nvarchar(100)
5014
+ */
5015
+ get PrimaryJobFunction(): string | null;
5016
+ }
5017
+ /**
5018
+ * MJ_BizApps_Common: Person Job Functions - strongly typed entity sub-class
5019
+ * * Schema: __mj_BizAppsCommon
5020
+ * * Base Table: PersonJobFunction
5021
+ * * Base View: vwPersonJobFunctions
5022
+ * * @description 1:M assignment of job functions to a person, supporting plural functions and ranking order.
5023
+ * * Primary Key: ID
5024
+ * @extends {BaseEntity}
5025
+ * @class
5026
+ * @public
5027
+ */
5028
+ export declare class mjBizAppsCommonPersonJobFunctionEntity extends BaseEntity<mjBizAppsCommonPersonJobFunctionEntityType> {
5029
+ /**
5030
+ * Loads the MJ_BizApps_Common: Person Job Functions record from the database
5031
+ * @param ID: string - primary key value to load the MJ_BizApps_Common: Person Job Functions record.
5032
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5033
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5034
+ * @public
5035
+ * @async
5036
+ * @memberof mjBizAppsCommonPersonJobFunctionEntity
5037
+ * @method
5038
+ * @override
5039
+ */
5040
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
5041
+ /**
5042
+ * Validate() method override for MJ_BizApps_Common: Person Job Functions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
5043
+ * * Confidence: The confidence score, if provided, must be a decimal value between 0.0 and 1.0 (inclusive) representing a percentage from 0% to 100%.
5044
+ * @public
5045
+ * @method
5046
+ * @override
5047
+ */
5048
+ Validate(): ValidationResult;
5049
+ /**
5050
+ * The confidence score, if provided, must be a decimal value between 0.0 and 1.0 (inclusive) representing a percentage from 0% to 100%.
5051
+ * @param result - the ValidationResult object to add any errors or warnings to
5052
+ * @public
5053
+ * @method
5054
+ */
5055
+ ValidateConfidenceRange(result: ValidationResult): void;
5056
+ /**
5057
+ * * Field Name: ID
5058
+ * * Display Name: ID
5059
+ * * SQL Data Type: uniqueidentifier
5060
+ * * Default Value: newsequentialid()
5061
+ */
5062
+ get ID(): string;
5063
+ set ID(value: string);
5064
+ /**
5065
+ * * Field Name: PersonID
5066
+ * * Display Name: Person
5067
+ * * SQL Data Type: uniqueidentifier
5068
+ * * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
5069
+ */
5070
+ get PersonID(): string;
5071
+ set PersonID(value: string);
5072
+ /**
5073
+ * * Field Name: JobFunctionID
5074
+ * * Display Name: Job Function
5075
+ * * SQL Data Type: uniqueidentifier
5076
+ * * Related Entity/Foreign Key: MJ_BizApps_Common: Job Functions (vwJobFunctions.ID)
5077
+ */
5078
+ get JobFunctionID(): string;
5079
+ set JobFunctionID(value: string);
5080
+ /**
5081
+ * * Field Name: Sequence
5082
+ * * Display Name: Sequence
5083
+ * * SQL Data Type: int
5084
+ * * Default Value: 0
5085
+ */
5086
+ get Sequence(): number;
5087
+ set Sequence(value: number);
5088
+ /**
5089
+ * * Field Name: Source
5090
+ * * Display Name: Source
5091
+ * * SQL Data Type: nvarchar(20)
5092
+ * * Default Value: Manual
5093
+ * * Value List Type: List
5094
+ * * Possible Values
5095
+ * * Derived
5096
+ * * Manual
5097
+ */
5098
+ get Source(): 'Derived' | 'Manual';
5099
+ set Source(value: 'Derived' | 'Manual');
5100
+ /**
5101
+ * * Field Name: Confidence
5102
+ * * Display Name: Confidence
5103
+ * * SQL Data Type: decimal(5, 4)
5104
+ */
5105
+ get Confidence(): number | null;
5106
+ set Confidence(value: number | null);
5107
+ /**
5108
+ * * Field Name: __mj_CreatedAt
5109
+ * * Display Name: Created At
5110
+ * * SQL Data Type: datetimeoffset
5111
+ * * Default Value: getutcdate()
5112
+ */
5113
+ get __mj_CreatedAt(): Date;
5114
+ /**
5115
+ * * Field Name: __mj_UpdatedAt
5116
+ * * Display Name: Updated At
5117
+ * * SQL Data Type: datetimeoffset
5118
+ * * Default Value: getutcdate()
5119
+ */
5120
+ get __mj_UpdatedAt(): Date;
5121
+ /**
5122
+ * * Field Name: Person
5123
+ * * Display Name: Person Name
5124
+ * * SQL Data Type: nvarchar(201)
5125
+ */
5126
+ get Person(): string;
5127
+ /**
5128
+ * * Field Name: JobFunction
5129
+ * * Display Name: Job Function Name
5130
+ * * SQL Data Type: nvarchar(100)
5131
+ */
5132
+ get JobFunction(): string;
4947
5133
  }
4948
5134
  /**
4949
5135
  * MJ_BizApps_Common: Relationship Types - strongly typed entity sub-class
@@ -5211,6 +5397,24 @@ export declare class mjBizAppsCommonRelationshipEntity extends BaseEntity<mjBizA
5211
5397
  */
5212
5398
  get __mj_UpdatedAt(): Date;
5213
5399
  /**
5400
+ * * Field Name: JobFunctionID
5401
+ * * Display Name: Job Function
5402
+ * * SQL Data Type: uniqueidentifier
5403
+ * * Related Entity/Foreign Key: MJ_BizApps_Common: Job Functions (vwJobFunctions.ID)
5404
+ * * Description: Company-specific job function for this relationship/employment link.
5405
+ */
5406
+ get JobFunctionID(): string | null;
5407
+ set JobFunctionID(value: string | null);
5408
+ /**
5409
+ * * Field Name: SeniorityLevelID
5410
+ * * Display Name: Seniority Level
5411
+ * * SQL Data Type: uniqueidentifier
5412
+ * * Related Entity/Foreign Key: MJ_BizApps_Common: Seniority Levels (vwSeniorityLevels.ID)
5413
+ * * Description: Company-specific seniority level for this relationship/employment link.
5414
+ */
5415
+ get SeniorityLevelID(): string | null;
5416
+ set SeniorityLevelID(value: string | null);
5417
+ /**
5214
5418
  * * Field Name: RelationshipType
5215
5419
  * * Display Name: Relationship Type
5216
5420
  * * SQL Data Type: nvarchar(100)
@@ -5240,5 +5444,98 @@ export declare class mjBizAppsCommonRelationshipEntity extends BaseEntity<mjBizA
5240
5444
  * * SQL Data Type: nvarchar(255)
5241
5445
  */
5242
5446
  get ToOrganization(): string | null;
5447
+ /**
5448
+ * * Field Name: JobFunction
5449
+ * * Display Name: Job Function Name
5450
+ * * SQL Data Type: nvarchar(100)
5451
+ */
5452
+ get JobFunction(): string | null;
5453
+ /**
5454
+ * * Field Name: SeniorityLevel
5455
+ * * Display Name: Seniority Level Name
5456
+ * * SQL Data Type: nvarchar(100)
5457
+ */
5458
+ get SeniorityLevel(): string | null;
5459
+ }
5460
+ /**
5461
+ * MJ_BizApps_Common: Seniority Levels - strongly typed entity sub-class
5462
+ * * Schema: __mj_BizAppsCommon
5463
+ * * Base Table: SeniorityLevel
5464
+ * * Base View: vwSeniorityLevels
5465
+ * * @description Career seniority levels carrying rank order (IC, Manager, Director, VP, C-Level) for skill and scope classification.
5466
+ * * Primary Key: ID
5467
+ * @extends {BaseEntity}
5468
+ * @class
5469
+ * @public
5470
+ */
5471
+ export declare class mjBizAppsCommonSeniorityLevelEntity extends BaseEntity<mjBizAppsCommonSeniorityLevelEntityType> {
5472
+ /**
5473
+ * Loads the MJ_BizApps_Common: Seniority Levels record from the database
5474
+ * @param ID: string - primary key value to load the MJ_BizApps_Common: Seniority Levels record.
5475
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5476
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5477
+ * @public
5478
+ * @async
5479
+ * @memberof mjBizAppsCommonSeniorityLevelEntity
5480
+ * @method
5481
+ * @override
5482
+ */
5483
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
5484
+ /**
5485
+ * * Field Name: ID
5486
+ * * Display Name: ID
5487
+ * * SQL Data Type: uniqueidentifier
5488
+ * * Default Value: newsequentialid()
5489
+ */
5490
+ get ID(): string;
5491
+ set ID(value: string);
5492
+ /**
5493
+ * * Field Name: Name
5494
+ * * Display Name: Name
5495
+ * * SQL Data Type: nvarchar(100)
5496
+ */
5497
+ get Name(): string;
5498
+ set Name(value: string);
5499
+ /**
5500
+ * * Field Name: Description
5501
+ * * Display Name: Description
5502
+ * * SQL Data Type: nvarchar(MAX)
5503
+ */
5504
+ get Description(): string | null;
5505
+ set Description(value: string | null);
5506
+ /**
5507
+ * * Field Name: Sequence
5508
+ * * Display Name: Sequence
5509
+ * * SQL Data Type: int
5510
+ * * Default Value: 0
5511
+ */
5512
+ get Sequence(): number;
5513
+ set Sequence(value: number);
5514
+ /**
5515
+ * * Field Name: Status
5516
+ * * Display Name: Status
5517
+ * * SQL Data Type: nvarchar(20)
5518
+ * * Default Value: Active
5519
+ * * Value List Type: List
5520
+ * * Possible Values
5521
+ * * Active
5522
+ * * Disabled
5523
+ */
5524
+ get Status(): 'Active' | 'Disabled';
5525
+ set Status(value: 'Active' | 'Disabled');
5526
+ /**
5527
+ * * Field Name: __mj_CreatedAt
5528
+ * * Display Name: Created At
5529
+ * * SQL Data Type: datetimeoffset
5530
+ * * Default Value: getutcdate()
5531
+ */
5532
+ get __mj_CreatedAt(): Date;
5533
+ /**
5534
+ * * Field Name: __mj_UpdatedAt
5535
+ * * Display Name: Updated At
5536
+ * * SQL Data Type: datetimeoffset
5537
+ * * Default Value: getutcdate()
5538
+ */
5539
+ get __mj_UpdatedAt(): Date;
5243
5540
  }
5244
5541
  //# sourceMappingURL=__mj_BizAppsCommon.d.ts.map