@mj-biz-apps/common-server 5.53.1 → 5.54.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/dist/generated/graphql-schemas/__mj_BizAppsCommon.d.ts +3 -3
- package/dist/generated/graphql-schemas/__mj_BizAppsCommon.d.ts.map +1 -1
- package/dist/generated/graphql-schemas/__mj_BizAppsCommon.js +200 -198
- package/dist/generated/graphql-schemas/__mj_BizAppsCommon.js.map +1 -1
- package/package.json +5 -5
|
@@ -38,59 +38,59 @@ __decorate([
|
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], mjBizAppsCommonActivity_.prototype, "ActivityTypeID", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
Field({ nullable: true, description:
|
|
41
|
+
Field({ nullable: true, description: "Sort key for every timeline. Instant events use the date/time of the event." }),
|
|
42
42
|
__metadata("design:type", Date)
|
|
43
43
|
], mjBizAppsCommonActivity_.prototype, "StartedAt", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
Field({ nullable: true, description:
|
|
45
|
+
Field({ nullable: true, description: "End of a meeting/call. Leave null for a point-in-time log. Must be >= StartedAt when set. Duration is derived; do not store it." }),
|
|
46
46
|
__metadata("design:type", Date)
|
|
47
47
|
], mjBizAppsCommonActivity_.prototype, "EndedAt", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
Field({ nullable: true, description:
|
|
49
|
+
Field({ nullable: true, description: "Subject / one-line card title (e.g. Called Jane about renewal)." }),
|
|
50
50
|
MaxLength(500),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
52
|
], mjBizAppsCommonActivity_.prototype, "Title", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
Field({ nullable: true, description:
|
|
54
|
+
Field({ nullable: true, description: "Notes or a short excerpt. Not the full email body — that lives on an ActivityFile of Kind Body." }),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
56
|
], mjBizAppsCommonActivity_.prototype, "Description", void 0);
|
|
57
57
|
__decorate([
|
|
58
|
-
Field({ nullable: true, description:
|
|
58
|
+
Field({ nullable: true, description: "Inbound, Outbound, or Internal. Channel lives on ActivityType; direction lives here so inbound email is a filter, not a type explosion." }),
|
|
59
59
|
MaxLength(20),
|
|
60
60
|
__metadata("design:type", String)
|
|
61
61
|
], mjBizAppsCommonActivity_.prototype, "Direction", void 0);
|
|
62
62
|
__decorate([
|
|
63
|
-
Field({ nullable: true, description:
|
|
63
|
+
Field({ nullable: true, description: "Logged (default for a past event), Scheduled, Completed, Cancelled, or Failed." }),
|
|
64
64
|
MaxLength(20),
|
|
65
65
|
__metadata("design:type", String)
|
|
66
66
|
], mjBizAppsCommonActivity_.prototype, "Status", void 0);
|
|
67
67
|
__decorate([
|
|
68
|
-
Field({ nullable: true, description:
|
|
68
|
+
Field({ nullable: true, description: "Optional disposition: Connected, LeftVoicemail, NoAnswer, NoShow, Bounced, Interested, NotInterested. A filter, not a type." }),
|
|
69
69
|
MaxLength(40),
|
|
70
70
|
__metadata("design:type", String)
|
|
71
71
|
], mjBizAppsCommonActivity_.prototype, "Outcome", void 0);
|
|
72
72
|
__decorate([
|
|
73
|
-
Field({ nullable: true, description:
|
|
73
|
+
Field({ nullable: true, description: "Internal (anyone who can read a Regarding record) or Private (LoggedByUserID only, until a PermissionEngine domain exists). Manual default is Internal; synced mail should default Private in the engine." }),
|
|
74
74
|
MaxLength(20),
|
|
75
75
|
__metadata("design:type", String)
|
|
76
76
|
], mjBizAppsCommonActivity_.prototype, "Visibility", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
Field({ nullable: true, description:
|
|
78
|
+
Field({ nullable: true, description: "How the row was written: Manual, System, or Integration." }),
|
|
79
79
|
MaxLength(20),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], mjBizAppsCommonActivity_.prototype, "Source", void 0);
|
|
82
82
|
__decorate([
|
|
83
|
-
Field({ nullable: true, description:
|
|
83
|
+
Field({ nullable: true, description: "Provider name for idempotent sync (Microsoft365, Gmail, Zoom). Required when ExternalID is set." }),
|
|
84
84
|
MaxLength(80),
|
|
85
85
|
__metadata("design:type", String)
|
|
86
86
|
], mjBizAppsCommonActivity_.prototype, "SourceSystem", void 0);
|
|
87
87
|
__decorate([
|
|
88
|
-
Field({ nullable: true, description:
|
|
88
|
+
Field({ nullable: true, description: "Provider message/event id. Unique with SourceSystem where set — never dedup by subject." }),
|
|
89
89
|
MaxLength(400),
|
|
90
90
|
__metadata("design:type", String)
|
|
91
91
|
], mjBizAppsCommonActivity_.prototype, "ExternalID", void 0);
|
|
92
92
|
__decorate([
|
|
93
|
-
Field({ nullable: true, description:
|
|
93
|
+
Field({ nullable: true, description: "Email or calendar thread id used to group replies." }),
|
|
94
94
|
MaxLength(400),
|
|
95
95
|
__metadata("design:type", String)
|
|
96
96
|
], mjBizAppsCommonActivity_.prototype, "ExternalThreadID", void 0);
|
|
@@ -105,7 +105,7 @@ __decorate([
|
|
|
105
105
|
__metadata("design:type", String)
|
|
106
106
|
], mjBizAppsCommonActivity_.prototype, "LoggedByUserID", void 0);
|
|
107
107
|
__decorate([
|
|
108
|
-
Field({ nullable: true, description:
|
|
108
|
+
Field({ nullable: true, description: "Meeting place as text. Optional AddressID is the structured location." }),
|
|
109
109
|
MaxLength(500),
|
|
110
110
|
__metadata("design:type", String)
|
|
111
111
|
], mjBizAppsCommonActivity_.prototype, "Location", void 0);
|
|
@@ -120,7 +120,7 @@ __decorate([
|
|
|
120
120
|
__metadata("design:type", String)
|
|
121
121
|
], mjBizAppsCommonActivity_.prototype, "ActivitySyncConnectionID", void 0);
|
|
122
122
|
__decorate([
|
|
123
|
-
Field({ nullable: true, description:
|
|
123
|
+
Field({ nullable: true, description: "JSON extras that are not query predicates: MessageID, InReplyTo, MeetingURL, Mailbox, Folder, CalendarEventID. See ActivityDetails." }),
|
|
124
124
|
__metadata("design:type", String)
|
|
125
125
|
], mjBizAppsCommonActivity_.prototype, "Details", void 0);
|
|
126
126
|
__decorate([
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
__metadata("design:type", Date)
|
|
133
133
|
], mjBizAppsCommonActivity_.prototype, "_mj__UpdatedAt", void 0);
|
|
134
134
|
__decorate([
|
|
135
|
-
Field(() => Float, { nullable: true, description:
|
|
135
|
+
Field(() => Float, { nullable: true, description: "Derived sentiment score for this activity, bounded between -1.000 (most negative) and +1.000 (most positive). Populated by the Activity Tagging and Sentiment feature pipeline." }),
|
|
136
136
|
__metadata("design:type", Number)
|
|
137
137
|
], mjBizAppsCommonActivity_.prototype, "SentimentScore", void 0);
|
|
138
138
|
__decorate([
|
|
@@ -152,7 +152,7 @@ __decorate([
|
|
|
152
152
|
], mjBizAppsCommonActivity_.prototype, "LoggedByUser", void 0);
|
|
153
153
|
__decorate([
|
|
154
154
|
Field({ nullable: true }),
|
|
155
|
-
MaxLength(
|
|
155
|
+
MaxLength(400),
|
|
156
156
|
__metadata("design:type", String)
|
|
157
157
|
], mjBizAppsCommonActivity_.prototype, "Address", void 0);
|
|
158
158
|
__decorate([
|
|
@@ -160,14 +160,6 @@ __decorate([
|
|
|
160
160
|
MaxLength(200),
|
|
161
161
|
__metadata("design:type", String)
|
|
162
162
|
], mjBizAppsCommonActivity_.prototype, "ActivitySyncConnection", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
Field(() => Float, { nullable: true }),
|
|
165
|
-
__metadata("design:type", Number)
|
|
166
|
-
], mjBizAppsCommonActivity_.prototype, "_mj__Latitude", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
Field(() => Float, { nullable: true }),
|
|
169
|
-
__metadata("design:type", Number)
|
|
170
|
-
], mjBizAppsCommonActivity_.prototype, "_mj__Longitude", void 0);
|
|
171
163
|
__decorate([
|
|
172
164
|
Field({ nullable: true }),
|
|
173
165
|
MaxLength(36),
|
|
@@ -194,7 +186,7 @@ __decorate([
|
|
|
194
186
|
__metadata("design:type", Array)
|
|
195
187
|
], mjBizAppsCommonActivity_.prototype, "ReadableFields___", void 0);
|
|
196
188
|
mjBizAppsCommonActivity_ = __decorate([
|
|
197
|
-
ObjectType({ description:
|
|
189
|
+
ObjectType({ description: "One interaction that happened between people, about records. Timeline card — not a blob store, not a task, not field-level audit. Duration is derived from StartedAt/EndedAt." })
|
|
198
190
|
], mjBizAppsCommonActivity_);
|
|
199
191
|
export { mjBizAppsCommonActivity_ };
|
|
200
192
|
//****************************************************************************
|
|
@@ -557,12 +549,12 @@ __decorate([
|
|
|
557
549
|
__metadata("design:type", String)
|
|
558
550
|
], mjBizAppsCommonActivityFile_.prototype, "FileID", void 0);
|
|
559
551
|
__decorate([
|
|
560
|
-
Field({ nullable: true, description:
|
|
552
|
+
Field({ nullable: true, description: "Body (full MIME/HTML, at most one per activity), Attachment, or Ics." }),
|
|
561
553
|
MaxLength(20),
|
|
562
554
|
__metadata("design:type", String)
|
|
563
555
|
], mjBizAppsCommonActivityFile_.prototype, "Kind", void 0);
|
|
564
556
|
__decorate([
|
|
565
|
-
Field(() => Int, { nullable: true, description:
|
|
557
|
+
Field(() => Int, { nullable: true, description: "Display order of attachments." }),
|
|
566
558
|
__metadata("design:type", Number)
|
|
567
559
|
], mjBizAppsCommonActivityFile_.prototype, "Sequence", void 0);
|
|
568
560
|
__decorate([
|
|
@@ -588,7 +580,7 @@ __decorate([
|
|
|
588
580
|
__metadata("design:type", Array)
|
|
589
581
|
], mjBizAppsCommonActivityFile_.prototype, "ReadableFields___", void 0);
|
|
590
582
|
mjBizAppsCommonActivityFile_ = __decorate([
|
|
591
|
-
ObjectType({ description:
|
|
583
|
+
ObjectType({ description: "Join from an Activity to an MJ File. Kind Body is the full MIME/HTML (at most one per activity); Attachment and Ics are extras. Deleting the activity drops the join, not the File." })
|
|
592
584
|
], mjBizAppsCommonActivityFile_);
|
|
593
585
|
export { mjBizAppsCommonActivityFile_ };
|
|
594
586
|
//****************************************************************************
|
|
@@ -818,7 +810,7 @@ __decorate([
|
|
|
818
810
|
__metadata("design:type", String)
|
|
819
811
|
], mjBizAppsCommonActivityLink_.prototype, "ActivityID", void 0);
|
|
820
812
|
__decorate([
|
|
821
|
-
Field({ nullable: true, description:
|
|
813
|
+
Field({ nullable: true, description: "Why this record is on the activity: Regarding (what it is about), Participant, From/To/Cc/Bcc, Organizer/Attendee, or LoggedFor (the mailbox it was filed under)." }),
|
|
822
814
|
MaxLength(30),
|
|
823
815
|
__metadata("design:type", String)
|
|
824
816
|
], mjBizAppsCommonActivityLink_.prototype, "Role", void 0);
|
|
@@ -828,22 +820,22 @@ __decorate([
|
|
|
828
820
|
__metadata("design:type", String)
|
|
829
821
|
], mjBizAppsCommonActivityLink_.prototype, "EntityID", void 0);
|
|
830
822
|
__decorate([
|
|
831
|
-
Field({ nullable: true, description:
|
|
823
|
+
Field({ nullable: true, description: "Primary key of the resolved record. NVARCHAR so composite keys work. Required with EntityID; must be null when the link is an unresolved identity." }),
|
|
832
824
|
MaxLength(450),
|
|
833
825
|
__metadata("design:type", String)
|
|
834
826
|
], mjBizAppsCommonActivityLink_.prototype, "RecordID", void 0);
|
|
835
827
|
__decorate([
|
|
836
|
-
Field({ nullable: true, description:
|
|
828
|
+
Field({ nullable: true, description: "Email, Phone, or ExternalUser. Set with IdentityValue when the participant has not been matched to a Person/Org yet." }),
|
|
837
829
|
MaxLength(20),
|
|
838
830
|
__metadata("design:type", String)
|
|
839
831
|
], mjBizAppsCommonActivityLink_.prototype, "IdentityKind", void 0);
|
|
840
832
|
__decorate([
|
|
841
|
-
Field({ nullable: true, description:
|
|
833
|
+
Field({ nullable: true, description: "The unmatched address, phone, or provider user id. A later matcher stamps EntityID/RecordID from ContactMethod.Value and clears these." }),
|
|
842
834
|
MaxLength(320),
|
|
843
835
|
__metadata("design:type", String)
|
|
844
836
|
], mjBizAppsCommonActivityLink_.prototype, "IdentityValue", void 0);
|
|
845
837
|
__decorate([
|
|
846
|
-
Field(() => Int, { nullable: true, description:
|
|
838
|
+
Field(() => Int, { nullable: true, description: "Display order within a role (To, then Cc, …)." }),
|
|
847
839
|
__metadata("design:type", Number)
|
|
848
840
|
], mjBizAppsCommonActivityLink_.prototype, "Sequence", void 0);
|
|
849
841
|
__decorate([
|
|
@@ -869,7 +861,7 @@ __decorate([
|
|
|
869
861
|
__metadata("design:type", Array)
|
|
870
862
|
], mjBizAppsCommonActivityLink_.prototype, "ReadableFields___", void 0);
|
|
871
863
|
mjBizAppsCommonActivityLink_ = __decorate([
|
|
872
|
-
ObjectType({ description:
|
|
864
|
+
ObjectType({ description: "Attaches an Activity to a resolved MJ record (EntityID + RecordID) or an unresolved identity (email/phone/external user) the matcher has not stamped yet. Role says whether the link is Regarding, a participant, or an email/meeting mailbox role." })
|
|
873
865
|
], mjBizAppsCommonActivityLink_);
|
|
874
866
|
export { mjBizAppsCommonActivityLink_ };
|
|
875
867
|
//****************************************************************************
|
|
@@ -1123,7 +1115,7 @@ __decorate([
|
|
|
1123
1115
|
__metadata("design:type", String)
|
|
1124
1116
|
], mjBizAppsCommonActivitySyncConnectionRuleSet_.prototype, "ActivitySyncConnectionID", void 0);
|
|
1125
1117
|
__decorate([
|
|
1126
|
-
Field({ nullable: true, description:
|
|
1118
|
+
Field({ nullable: true, description: "The rule set bound to this connection. A mailbox composes several sets (org baseline, team overlay, mailbox-specific) through this join; Sequence on the binding is the evaluation order." }),
|
|
1127
1119
|
MaxLength(36),
|
|
1128
1120
|
__metadata("design:type", String)
|
|
1129
1121
|
], mjBizAppsCommonActivitySyncConnectionRuleSet_.prototype, "ActivitySyncRuleSetID", void 0);
|
|
@@ -1158,7 +1150,7 @@ __decorate([
|
|
|
1158
1150
|
__metadata("design:type", Array)
|
|
1159
1151
|
], mjBizAppsCommonActivitySyncConnectionRuleSet_.prototype, "ReadableFields___", void 0);
|
|
1160
1152
|
mjBizAppsCommonActivitySyncConnectionRuleSet_ = __decorate([
|
|
1161
|
-
ObjectType({ description:
|
|
1153
|
+
ObjectType({ description: "Binds a rule set to a connection, ordered. Many-to-many so a mailbox composes an org-wide baseline, a team overlay, and anything specific to itself — rather than owning one private copy of everything." })
|
|
1162
1154
|
], mjBizAppsCommonActivitySyncConnectionRuleSet_);
|
|
1163
1155
|
export { mjBizAppsCommonActivitySyncConnectionRuleSet_ };
|
|
1164
1156
|
//****************************************************************************
|
|
@@ -1383,22 +1375,22 @@ __decorate([
|
|
|
1383
1375
|
__metadata("design:type", String)
|
|
1384
1376
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "ID", void 0);
|
|
1385
1377
|
__decorate([
|
|
1386
|
-
Field({ nullable: true, description:
|
|
1378
|
+
Field({ nullable: true, description: "Display name of the connection (e.g. Amith / Microsoft 365)." }),
|
|
1387
1379
|
MaxLength(200),
|
|
1388
1380
|
__metadata("design:type", String)
|
|
1389
1381
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Name", void 0);
|
|
1390
1382
|
__decorate([
|
|
1391
|
-
Field({ nullable: true, description:
|
|
1383
|
+
Field({ nullable: true, description: "DEPRECATED — use ActivitySyncProviderTypeID. Retained nullable so a published host keeps working; removed in the next major." }),
|
|
1392
1384
|
MaxLength(40),
|
|
1393
1385
|
__metadata("design:type", String)
|
|
1394
1386
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Provider", void 0);
|
|
1395
1387
|
__decorate([
|
|
1396
|
-
Field({ nullable: true, description:
|
|
1388
|
+
Field({ nullable: true, description: "Active, Paused, Error, or Disabled." }),
|
|
1397
1389
|
MaxLength(20),
|
|
1398
1390
|
__metadata("design:type", String)
|
|
1399
1391
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Status", void 0);
|
|
1400
1392
|
__decorate([
|
|
1401
|
-
Field({ nullable: true, description:
|
|
1393
|
+
Field({ nullable: true, description: "Inbound (pull into CRM), Outbound, or Bidirectional." }),
|
|
1402
1394
|
MaxLength(20),
|
|
1403
1395
|
__metadata("design:type", String)
|
|
1404
1396
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Direction", void 0);
|
|
@@ -1408,25 +1400,25 @@ __decorate([
|
|
|
1408
1400
|
__metadata("design:type", String)
|
|
1409
1401
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "OwnerUserID", void 0);
|
|
1410
1402
|
__decorate([
|
|
1411
|
-
Field({ nullable: true, description:
|
|
1403
|
+
Field({ nullable: true, description: "MJ Credentials engine key. NEVER a secret value at rest." }),
|
|
1412
1404
|
MaxLength(200),
|
|
1413
1405
|
__metadata("design:type", String)
|
|
1414
1406
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "CredentialsRef", void 0);
|
|
1415
1407
|
__decorate([
|
|
1416
|
-
Field({ nullable: true, description:
|
|
1408
|
+
Field({ nullable: true, description: "Mailbox address this connection reads (jane@acme.com)." }),
|
|
1417
1409
|
MaxLength(320),
|
|
1418
1410
|
__metadata("design:type", String)
|
|
1419
1411
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Mailbox", void 0);
|
|
1420
1412
|
__decorate([
|
|
1421
|
-
Field({ nullable: true, description:
|
|
1413
|
+
Field({ nullable: true, description: "When the engine last completed a sync for this connection." }),
|
|
1422
1414
|
__metadata("design:type", Date)
|
|
1423
1415
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "LastSyncAt", void 0);
|
|
1424
1416
|
__decorate([
|
|
1425
|
-
Field({ nullable: true, description:
|
|
1417
|
+
Field({ nullable: true, description: "Most recent sync error, if Status is Error." }),
|
|
1426
1418
|
__metadata("design:type", String)
|
|
1427
1419
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "LastError", void 0);
|
|
1428
1420
|
__decorate([
|
|
1429
|
-
Field({ nullable: true, description:
|
|
1421
|
+
Field({ nullable: true, description: "JSON provider extras (TenantID, MailboxFolder, CalendarID, IncludeCalendar, IncludeMail). See ActivitySyncConnectionSettings." }),
|
|
1430
1422
|
__metadata("design:type", String)
|
|
1431
1423
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "Settings", void 0);
|
|
1432
1424
|
__decorate([
|
|
@@ -1438,20 +1430,20 @@ __decorate([
|
|
|
1438
1430
|
__metadata("design:type", Date)
|
|
1439
1431
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "_mj__UpdatedAt", void 0);
|
|
1440
1432
|
__decorate([
|
|
1441
|
-
Field({ nullable: true, description:
|
|
1433
|
+
Field({ nullable: true, description: "The provider type this connection reads. Supersedes the Provider string column, whose CHECK constraint made every new source a migration to Common." }),
|
|
1442
1434
|
MaxLength(36),
|
|
1443
1435
|
__metadata("design:type", String)
|
|
1444
1436
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "ActivitySyncProviderTypeID", void 0);
|
|
1445
1437
|
__decorate([
|
|
1446
|
-
Field({ nullable: true, description:
|
|
1438
|
+
Field({ nullable: true, description: "Activation window. Combines with Status: a connection syncs only when Status = Active AND now is within [StartAt, EndAt], treating either bound as open when null. Lets a mailbox be provisioned ahead of time, or retired on a date, without anyone remembering to flip a switch." }),
|
|
1447
1439
|
__metadata("design:type", Date)
|
|
1448
1440
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "StartAt", void 0);
|
|
1449
1441
|
__decorate([
|
|
1450
|
-
Field({ nullable: true, description:
|
|
1442
|
+
Field({ nullable: true, description: "End of the activation window; see StartAt. Null means open-ended." }),
|
|
1451
1443
|
__metadata("design:type", Date)
|
|
1452
1444
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "EndAt", void 0);
|
|
1453
1445
|
__decorate([
|
|
1454
|
-
Field({ nullable: true, description:
|
|
1446
|
+
Field({ nullable: true, description: "Per-connection override of the provider type's DefaultSkippedContentPolicy. Null inherits. This is the knob for \"this one mailbox is sensitive\" without changing the estate." }),
|
|
1455
1447
|
MaxLength(20),
|
|
1456
1448
|
__metadata("design:type", String)
|
|
1457
1449
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "SkippedContentPolicy", void 0);
|
|
@@ -1494,7 +1486,7 @@ __decorate([
|
|
|
1494
1486
|
__metadata("design:type", Array)
|
|
1495
1487
|
], mjBizAppsCommonActivitySyncConnection_.prototype, "ReadableFields___", void 0);
|
|
1496
1488
|
mjBizAppsCommonActivitySyncConnection_ = __decorate([
|
|
1497
|
-
ObjectType({ description:
|
|
1489
|
+
ObjectType({ description: "A mailbox, calendar, or other provider connection that writes Activities. CredentialsRef is an MJ Credentials engine key — never a secret at rest." })
|
|
1498
1490
|
], mjBizAppsCommonActivitySyncConnection_);
|
|
1499
1491
|
export { mjBizAppsCommonActivitySyncConnection_ };
|
|
1500
1492
|
//****************************************************************************
|
|
@@ -1823,7 +1815,7 @@ __decorate([
|
|
|
1823
1815
|
__metadata("design:type", String)
|
|
1824
1816
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "ID", void 0);
|
|
1825
1817
|
__decorate([
|
|
1826
|
-
Field({ nullable: true, description:
|
|
1818
|
+
Field({ nullable: true, description: "Optional rule set this exclusion belongs to. Null means global — the identity is never ingested on any connection. A legal hold or opt-out is usually global; a mailbox-specific mute is not." }),
|
|
1827
1819
|
MaxLength(36),
|
|
1828
1820
|
__metadata("design:type", String)
|
|
1829
1821
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "ActivitySyncRuleSetID", void 0);
|
|
@@ -1838,7 +1830,7 @@ __decorate([
|
|
|
1838
1830
|
__metadata("design:type", String)
|
|
1839
1831
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "IdentityValue", void 0);
|
|
1840
1832
|
__decorate([
|
|
1841
|
-
Field({ nullable: true, description:
|
|
1833
|
+
Field({ nullable: true, description: "Optional link to the Person this identity belongs to. Optional because an address is often excluded before anyone knows whose it is, and because a Person has several ContactMethods — the identity is the durable key here, not the record." }),
|
|
1842
1834
|
MaxLength(36),
|
|
1843
1835
|
__metadata("design:type", String)
|
|
1844
1836
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "PersonID", void 0);
|
|
@@ -1847,15 +1839,15 @@ __decorate([
|
|
|
1847
1839
|
__metadata("design:type", String)
|
|
1848
1840
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "Reason", void 0);
|
|
1849
1841
|
__decorate([
|
|
1850
|
-
Field({ nullable: true, description:
|
|
1842
|
+
Field({ nullable: true, 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." }),
|
|
1851
1843
|
__metadata("design:type", Date)
|
|
1852
1844
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "EffectiveFrom", void 0);
|
|
1853
1845
|
__decorate([
|
|
1854
|
-
Field({ nullable: true, description:
|
|
1846
|
+
Field({ nullable: true, 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." }),
|
|
1855
1847
|
__metadata("design:type", Date)
|
|
1856
1848
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "EffectiveTo", void 0);
|
|
1857
1849
|
__decorate([
|
|
1858
|
-
Field(() => Boolean, { nullable: true, description:
|
|
1850
|
+
Field(() => Boolean, { nullable: true, 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." }),
|
|
1859
1851
|
__metadata("design:type", Boolean)
|
|
1860
1852
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "IsEnabled", void 0);
|
|
1861
1853
|
__decorate([
|
|
@@ -1873,7 +1865,7 @@ __decorate([
|
|
|
1873
1865
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "ActivitySyncRuleSet", void 0);
|
|
1874
1866
|
__decorate([
|
|
1875
1867
|
Field({ nullable: true }),
|
|
1876
|
-
MaxLength(
|
|
1868
|
+
MaxLength(250),
|
|
1877
1869
|
__metadata("design:type", String)
|
|
1878
1870
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "Person", void 0);
|
|
1879
1871
|
__decorate([
|
|
@@ -1881,7 +1873,7 @@ __decorate([
|
|
|
1881
1873
|
__metadata("design:type", Array)
|
|
1882
1874
|
], mjBizAppsCommonActivitySyncExclusion_.prototype, "ReadableFields___", void 0);
|
|
1883
1875
|
mjBizAppsCommonActivitySyncExclusion_ = __decorate([
|
|
1884
|
-
ObjectType({ description:
|
|
1876
|
+
ObjectType({ description: "Never-ingest list, by identity: an email address, a phone number, a social handle, or a whole domain. Rows rather than a delimited string because an exclusion that cannot be queried cannot be audited, and this is precisely what a legal hold, an HR matter or an opt-out has to be able to prove. Scoped to a rule set, or global when ActivitySyncRuleSetID is null." })
|
|
1885
1877
|
], mjBizAppsCommonActivitySyncExclusion_);
|
|
1886
1878
|
export { mjBizAppsCommonActivitySyncExclusion_ };
|
|
1887
1879
|
//****************************************************************************
|
|
@@ -2157,16 +2149,16 @@ __decorate([
|
|
|
2157
2149
|
__metadata("design:type", String)
|
|
2158
2150
|
], mjBizAppsCommonActivitySyncExtension_.prototype, "ActivitySyncConnectionID", void 0);
|
|
2159
2151
|
__decorate([
|
|
2160
|
-
Field({ nullable: true, description:
|
|
2152
|
+
Field({ nullable: true, description: "Optional provider type this extension is registered for. Null means it runs on every connection. A deal-linker that only makes sense on email can bind here rather than being invoked for a phone transcript." }),
|
|
2161
2153
|
MaxLength(36),
|
|
2162
2154
|
__metadata("design:type", String)
|
|
2163
2155
|
], mjBizAppsCommonActivitySyncExtension_.prototype, "ActivitySyncProviderTypeID", void 0);
|
|
2164
2156
|
__decorate([
|
|
2165
|
-
Field(() => Int, { nullable: true, description:
|
|
2157
|
+
Field(() => Int, { nullable: true, description: "Ascending run order. REQUIRED rather than incidental: two extensions both adding links must not depend on registration order, which varies with package load order and is not reproducible." }),
|
|
2166
2158
|
__metadata("design:type", Number)
|
|
2167
2159
|
], mjBizAppsCommonActivitySyncExtension_.prototype, "Sequence", void 0);
|
|
2168
2160
|
__decorate([
|
|
2169
|
-
Field({ nullable: true, description:
|
|
2161
|
+
Field({ nullable: true, description: "What happens when this extension throws. Skip (the default) records the error and commits the activity without the enrichment; Abort rolls the whole write back. Skip is the default because the activity is worth more than the enrichment, and one buggy consumer app must not be able to halt ingestion for every other app on the host." }),
|
|
2170
2162
|
MaxLength(20),
|
|
2171
2163
|
__metadata("design:type", String)
|
|
2172
2164
|
], mjBizAppsCommonActivitySyncExtension_.prototype, "FailurePolicy", void 0);
|
|
@@ -2209,7 +2201,7 @@ __decorate([
|
|
|
2209
2201
|
__metadata("design:type", Array)
|
|
2210
2202
|
], mjBizAppsCommonActivitySyncExtension_.prototype, "ReadableFields___", void 0);
|
|
2211
2203
|
mjBizAppsCommonActivitySyncExtension_ = __decorate([
|
|
2212
|
-
ObjectType({ description:
|
|
2204
|
+
ObjectType({ description: "Registration of an in-process enrichment plugin that runs inside the Activity write transaction. Common ships this table; each consumer app ships its own rows, so a downstream app adds links (a deal, a campaign) without Common knowing it exists. Extensions ENRICH — they never veto an activity, because qualification has already run and capture must not depend on which apps are installed." })
|
|
2213
2205
|
], mjBizAppsCommonActivitySyncExtension_);
|
|
2214
2206
|
export { mjBizAppsCommonActivitySyncExtension_ };
|
|
2215
2207
|
//****************************************************************************
|
|
@@ -2518,12 +2510,12 @@ __decorate([
|
|
|
2518
2510
|
__metadata("design:type", String)
|
|
2519
2511
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "SupportedKinds", void 0);
|
|
2520
2512
|
__decorate([
|
|
2521
|
-
Field({ nullable: true, description:
|
|
2513
|
+
Field({ nullable: true, description: "What an Undecided qualification verdict means for this provider once every rule stage has abstained. Exclude (the default) fails CLOSED — correct for anything mailbox-shaped, where capturing a private message is worse than missing a business one." }),
|
|
2522
2514
|
MaxLength(20),
|
|
2523
2515
|
__metadata("design:type", String)
|
|
2524
2516
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "DefaultQualificationPolicy", void 0);
|
|
2525
2517
|
__decorate([
|
|
2526
|
-
Field({ nullable: true, description:
|
|
2518
|
+
Field({ nullable: true, description: "Whether a SKIPPED message may have content retained for audit, and how much. None keeps only the opaque external id and the decision. SubjectEncrypted and FullEncrypted additionally keep ciphertext, and are only valid with DefaultEncryptionKeyID set — enforced by CK_ActivitySyncProviderType_KeyRequired. Overridable per connection." }),
|
|
2527
2519
|
MaxLength(20),
|
|
2528
2520
|
__metadata("design:type", String)
|
|
2529
2521
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "DefaultSkippedContentPolicy", void 0);
|
|
@@ -2550,7 +2542,7 @@ __decorate([
|
|
|
2550
2542
|
__metadata("design:type", Boolean)
|
|
2551
2543
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "IsSystem", void 0);
|
|
2552
2544
|
__decorate([
|
|
2553
|
-
Field(() => Boolean, { nullable: true, description:
|
|
2545
|
+
Field(() => Boolean, { nullable: true, 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." }),
|
|
2554
2546
|
__metadata("design:type", Boolean)
|
|
2555
2547
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "IsActive", void 0);
|
|
2556
2548
|
__decorate([
|
|
@@ -2581,7 +2573,7 @@ __decorate([
|
|
|
2581
2573
|
__metadata("design:type", Array)
|
|
2582
2574
|
], mjBizAppsCommonActivitySyncProviderType_.prototype, "ReadableFields___", void 0);
|
|
2583
2575
|
mjBizAppsCommonActivitySyncProviderType_ = __decorate([
|
|
2584
|
-
ObjectType({ description:
|
|
2576
|
+
ObjectType({ description: "A kind of activity source (Microsoft365, Gmail, Twilio SMS, LinkedIn, …). Provider identity is DATA, not a CHECK constraint, so a new source is a new plugin package plus a metadata row — never a migration to Common. Also carries the DEFAULTS an operator should set once per provider rather than per mailbox: storage, encryption key, attachment cap, and what an undecided qualification verdict means." })
|
|
2585
2577
|
], mjBizAppsCommonActivitySyncProviderType_);
|
|
2586
2578
|
export { mjBizAppsCommonActivitySyncProviderType_ };
|
|
2587
2579
|
//****************************************************************************
|
|
@@ -2903,12 +2895,12 @@ __decorate([
|
|
|
2903
2895
|
__metadata("design:type", String)
|
|
2904
2896
|
], mjBizAppsCommonActivitySyncRuleSet_.prototype, "Description", void 0);
|
|
2905
2897
|
__decorate([
|
|
2906
|
-
Field({ nullable: true, description:
|
|
2898
|
+
Field({ nullable: true, description: "Optional provider type this rule set is written for. Null means the set applies regardless of source — an org-wide prohibition does not care whether the mailbox is Microsoft365 or Gmail." }),
|
|
2907
2899
|
MaxLength(36),
|
|
2908
2900
|
__metadata("design:type", String)
|
|
2909
2901
|
], mjBizAppsCommonActivitySyncRuleSet_.prototype, "ActivitySyncProviderTypeID", void 0);
|
|
2910
2902
|
__decorate([
|
|
2911
|
-
Field({ nullable: true, description:
|
|
2903
|
+
Field({ nullable: true, description: "JSON array of the domains this deployment considers INTERNAL, e.g. [\"bluecypress.io\"]. Required for any rule using ParticipantScope: \"internal\" is a property of the deployment, not of a message. Held on the rule set so one definition serves every mailbox bound to it." }),
|
|
2912
2904
|
__metadata("design:type", String)
|
|
2913
2905
|
], mjBizAppsCommonActivitySyncRuleSet_.prototype, "InternalDomains", void 0);
|
|
2914
2906
|
__decorate([
|
|
@@ -2941,7 +2933,7 @@ __decorate([
|
|
|
2941
2933
|
__metadata("design:type", Array)
|
|
2942
2934
|
], mjBizAppsCommonActivitySyncRuleSet_.prototype, "ReadableFields___", void 0);
|
|
2943
2935
|
mjBizAppsCommonActivitySyncRuleSet_ = __decorate([
|
|
2944
|
-
ObjectType({ description:
|
|
2936
|
+
ObjectType({ description: "A NAMED, REUSABLE set of rules bound to many connections. Rules used to hang off a single connection, so an org-wide prohibition had to be retyped for every mailbox and a new mailbox started with none — governance by copy-paste. A rule set is authored once and bound wherever it applies." })
|
|
2945
2937
|
], mjBizAppsCommonActivitySyncRuleSet_);
|
|
2946
2938
|
export { mjBizAppsCommonActivitySyncRuleSet_ };
|
|
2947
2939
|
//****************************************************************************
|
|
@@ -3195,20 +3187,20 @@ __decorate([
|
|
|
3195
3187
|
__metadata("design:type", String)
|
|
3196
3188
|
], mjBizAppsCommonActivitySyncRule_.prototype, "ActivitySyncConnectionID", void 0);
|
|
3197
3189
|
__decorate([
|
|
3198
|
-
Field({ nullable: true, description:
|
|
3190
|
+
Field({ nullable: true, description: "Display name of the rule." }),
|
|
3199
3191
|
MaxLength(200),
|
|
3200
3192
|
__metadata("design:type", String)
|
|
3201
3193
|
], mjBizAppsCommonActivitySyncRule_.prototype, "Name", void 0);
|
|
3202
3194
|
__decorate([
|
|
3203
|
-
Field(() => Boolean, { nullable: true, description:
|
|
3195
|
+
Field(() => Boolean, { nullable: true, description: "0 skips the rule without deleting it." }),
|
|
3204
3196
|
__metadata("design:type", Boolean)
|
|
3205
3197
|
], mjBizAppsCommonActivitySyncRule_.prototype, "IsEnabled", void 0);
|
|
3206
3198
|
__decorate([
|
|
3207
|
-
Field(() => Int, { nullable: true, description:
|
|
3199
|
+
Field(() => Int, { nullable: true, description: "Evaluation order within the connection. Lower first." }),
|
|
3208
3200
|
__metadata("design:type", Number)
|
|
3209
3201
|
], mjBizAppsCommonActivitySyncRule_.prototype, "Sequence", void 0);
|
|
3210
3202
|
__decorate([
|
|
3211
|
-
Field({ nullable: true, description:
|
|
3203
|
+
Field({ nullable: true, description: "Include or Exclude matching items. With no rules, the engine syncs everything the connection can see." }),
|
|
3212
3204
|
MaxLength(20),
|
|
3213
3205
|
__metadata("design:type", String)
|
|
3214
3206
|
], mjBizAppsCommonActivitySyncRule_.prototype, "Action", void 0);
|
|
@@ -3218,24 +3210,24 @@ __decorate([
|
|
|
3218
3210
|
__metadata("design:type", String)
|
|
3219
3211
|
], mjBizAppsCommonActivitySyncRule_.prototype, "ActivityTypeID", void 0);
|
|
3220
3212
|
__decorate([
|
|
3221
|
-
Field({ nullable: true, description:
|
|
3213
|
+
Field({ nullable: true, description: "Optional direction filter (Inbound / Outbound / Internal). Null = any." }),
|
|
3222
3214
|
MaxLength(20),
|
|
3223
3215
|
__metadata("design:type", String)
|
|
3224
3216
|
], mjBizAppsCommonActivitySyncRule_.prototype, "Direction", void 0);
|
|
3225
3217
|
__decorate([
|
|
3226
|
-
Field({ nullable: true, description:
|
|
3218
|
+
Field({ nullable: true, description: "Inclusive lower bound of the sync window. Null = no lower bound." }),
|
|
3227
3219
|
__metadata("design:type", Date)
|
|
3228
3220
|
], mjBizAppsCommonActivitySyncRule_.prototype, "DateFrom", void 0);
|
|
3229
3221
|
__decorate([
|
|
3230
|
-
Field({ nullable: true, description:
|
|
3222
|
+
Field({ nullable: true, description: "Inclusive upper bound of the sync window. Null = no upper bound." }),
|
|
3231
3223
|
__metadata("design:type", Date)
|
|
3232
3224
|
], mjBizAppsCommonActivitySyncRule_.prototype, "DateTo", void 0);
|
|
3233
3225
|
__decorate([
|
|
3234
|
-
Field(() => Boolean, { nullable: true, description:
|
|
3226
|
+
Field(() => Boolean, { nullable: true, description: "1 = also pull attachments into ActivityFile rows." }),
|
|
3235
3227
|
__metadata("design:type", Boolean)
|
|
3236
3228
|
], mjBizAppsCommonActivitySyncRule_.prototype, "IncludeAttachments", void 0);
|
|
3237
3229
|
__decorate([
|
|
3238
|
-
Field({ nullable: true, description:
|
|
3230
|
+
Field({ nullable: true, description: "JSON match extras: Folders, ExcludeFolders, Domains, ExcludeDomains, ParticipantMustMatchContactMethod, SubjectContains, SubjectExcludes. See ActivitySyncRuleFilter." }),
|
|
3239
3231
|
__metadata("design:type", String)
|
|
3240
3232
|
], mjBizAppsCommonActivitySyncRule_.prototype, "Filter", void 0);
|
|
3241
3233
|
__decorate([
|
|
@@ -3247,12 +3239,12 @@ __decorate([
|
|
|
3247
3239
|
__metadata("design:type", Date)
|
|
3248
3240
|
], mjBizAppsCommonActivitySyncRule_.prototype, "_mj__UpdatedAt", void 0);
|
|
3249
3241
|
__decorate([
|
|
3250
|
-
Field({ nullable: true, description:
|
|
3242
|
+
Field({ nullable: true, description: "The rule set this rule belongs to. Exactly one of ActivitySyncRuleSetID and ActivitySyncConnectionID is set (CK_ActivitySyncRule_Owner) — the connection form is the deprecated original and remains only so existing rows stay valid." }),
|
|
3251
3243
|
MaxLength(36),
|
|
3252
3244
|
__metadata("design:type", String)
|
|
3253
3245
|
], mjBizAppsCommonActivitySyncRule_.prototype, "ActivitySyncRuleSetID", void 0);
|
|
3254
3246
|
__decorate([
|
|
3255
|
-
Field({ nullable: true, description:
|
|
3247
|
+
Field({ nullable: true, description: "Which participants must be present for this rule to apply — the internal/external control. AllInternal excludes purely internal chatter; HasExternal catches a thread with any outside party on it; Mixed is the case an all-or-nothing rule gets wrong. Requires the rule set to define InternalDomains. Null means the rule does not test participants." }),
|
|
3256
3248
|
MaxLength(30),
|
|
3257
3249
|
__metadata("design:type", String)
|
|
3258
3250
|
], mjBizAppsCommonActivitySyncRule_.prototype, "ParticipantScope", void 0);
|
|
@@ -3280,7 +3272,7 @@ __decorate([
|
|
|
3280
3272
|
__metadata("design:type", Array)
|
|
3281
3273
|
], mjBizAppsCommonActivitySyncRule_.prototype, "ReadableFields___", void 0);
|
|
3282
3274
|
mjBizAppsCommonActivitySyncRule_ = __decorate([
|
|
3283
|
-
ObjectType({ description:
|
|
3275
|
+
ObjectType({ description: "Include/exclude rule for an ActivitySyncConnection: type, direction, date window, attachments, plus a JSON Filter (folders, domains, participant-must-match-ContactMethod)." })
|
|
3284
3276
|
], mjBizAppsCommonActivitySyncRule_);
|
|
3285
3277
|
export { mjBizAppsCommonActivitySyncRule_ };
|
|
3286
3278
|
//****************************************************************************
|
|
@@ -3609,7 +3601,7 @@ __decorate([
|
|
|
3609
3601
|
__metadata("design:type", String)
|
|
3610
3602
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "Decision", void 0);
|
|
3611
3603
|
__decorate([
|
|
3612
|
-
Field({ nullable: true, description:
|
|
3604
|
+
Field({ nullable: true, description: "Which stage of the qualification cascade decided — a rule set name, KnownParticipant, Inference, or DefaultPolicy. Paired with Reason it explains an outcome without retaining the message that produced it." }),
|
|
3613
3605
|
MaxLength(100),
|
|
3614
3606
|
__metadata("design:type", String)
|
|
3615
3607
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "DecidedByStage", void 0);
|
|
@@ -3632,7 +3624,7 @@ __decorate([
|
|
|
3632
3624
|
__metadata("design:type", Number)
|
|
3633
3625
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "Confidence", void 0);
|
|
3634
3626
|
__decorate([
|
|
3635
|
-
Field({ nullable: true, description:
|
|
3627
|
+
Field({ nullable: true, description: "The MJ: AI Prompt Run behind an inference-stage verdict. Non-null only when a model actually decided this item, which is the audit trail for every automated judgement the engine makes." }),
|
|
3636
3628
|
MaxLength(36),
|
|
3637
3629
|
__metadata("design:type", String)
|
|
3638
3630
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "AIPromptRunID", void 0);
|
|
@@ -3642,7 +3634,7 @@ __decorate([
|
|
|
3642
3634
|
__metadata("design:type", String)
|
|
3643
3635
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "ActivityID", void 0);
|
|
3644
3636
|
__decorate([
|
|
3645
|
-
Field({ nullable: true, description:
|
|
3637
|
+
Field({ nullable: true, description: "Ciphertext, always — never plaintext, whatever the policy. Present only when the effective SkippedContentPolicy allows retention, and always paired with the EncryptionKeyID that opens it (CK_ActivitySyncRunDetail_ContentKey). Encrypted through MJ's EncryptionEngine against an MJ: Encryption Keys row; this app never implements its own crypto. ROTATING THAT KEY MAKES EXISTING ROWS UNREADABLE: rotation re-encrypts only fields declared with Encrypt = 1, this column is encrypted by calling the engine directly, and the stored value records which key opened it but not which version — so a rotation skips these rows silently and the next read of them fails. Retain content here only for as long as the key behind it will not be rotated, or rotate with a plan for this column. Tracked upstream as MemberJunction/MJ#4580." }),
|
|
3646
3638
|
__metadata("design:type", String)
|
|
3647
3639
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "CapturedContent", void 0);
|
|
3648
3640
|
__decorate([
|
|
@@ -3683,7 +3675,7 @@ __decorate([
|
|
|
3683
3675
|
__metadata("design:type", Array)
|
|
3684
3676
|
], mjBizAppsCommonActivitySyncRunDetail_.prototype, "ReadableFields___", void 0);
|
|
3685
3677
|
mjBizAppsCommonActivitySyncRunDetail_ = __decorate([
|
|
3686
|
-
ObjectType({ description:
|
|
3678
|
+
ObjectType({ description: "The decision made about ONE message, written for every item considered INCLUDING every skip — which is what makes \"why did my email not appear\" answerable. ExternalID and the decision are always safe to keep: an opaque provider id and the name of a rule, not content. CapturedContent is different in kind and is governed by the effective SkippedContentPolicy. Give this entity permissions DISTINCT from Activity: it can hold fragments of messages that were deliberately not ingested." })
|
|
3687
3679
|
], mjBizAppsCommonActivitySyncRunDetail_);
|
|
3688
3680
|
export { mjBizAppsCommonActivitySyncRunDetail_ };
|
|
3689
3681
|
//****************************************************************************
|
|
@@ -4068,7 +4060,7 @@ __decorate([
|
|
|
4068
4060
|
__metadata("design:type", Array)
|
|
4069
4061
|
], mjBizAppsCommonActivitySyncRun_.prototype, "ReadableFields___", void 0);
|
|
4070
4062
|
mjBizAppsCommonActivitySyncRun_ = __decorate([
|
|
4071
|
-
ObjectType({ description:
|
|
4063
|
+
ObjectType({ description: "One sync pass over one connection: what it fetched, what it decided, and whether it earned the right to move the watermark. A dry run is a real row with IsDryRun set — it evaluates and reports without writing an Activity or advancing the connection." })
|
|
4072
4064
|
], mjBizAppsCommonActivitySyncRun_);
|
|
4073
4065
|
export { mjBizAppsCommonActivitySyncRun_ };
|
|
4074
4066
|
//****************************************************************************
|
|
@@ -4381,17 +4373,17 @@ __decorate([
|
|
|
4381
4373
|
__metadata("design:type", String)
|
|
4382
4374
|
], mjBizAppsCommonActivityType_.prototype, "ID", void 0);
|
|
4383
4375
|
__decorate([
|
|
4384
|
-
Field({ nullable: true, description:
|
|
4376
|
+
Field({ nullable: true, description: "Stable key targeted by sync and code (Email, Call, Meeting, Note, SMS, Chat). Unique. Names can be renamed; codes cannot." }),
|
|
4385
4377
|
MaxLength(50),
|
|
4386
4378
|
__metadata("design:type", String)
|
|
4387
4379
|
], mjBizAppsCommonActivityType_.prototype, "Code", void 0);
|
|
4388
4380
|
__decorate([
|
|
4389
|
-
Field({ nullable: true, description:
|
|
4381
|
+
Field({ nullable: true, description: "Display name for the picker and timeline." }),
|
|
4390
4382
|
MaxLength(100),
|
|
4391
4383
|
__metadata("design:type", String)
|
|
4392
4384
|
], mjBizAppsCommonActivityType_.prototype, "Name", void 0);
|
|
4393
4385
|
__decorate([
|
|
4394
|
-
Field({ nullable: true, description:
|
|
4386
|
+
Field({ nullable: true, description: "Optional longer description of the type." }),
|
|
4395
4387
|
__metadata("design:type", String)
|
|
4396
4388
|
], mjBizAppsCommonActivityType_.prototype, "Description", void 0);
|
|
4397
4389
|
__decorate([
|
|
@@ -4400,25 +4392,25 @@ __decorate([
|
|
|
4400
4392
|
__metadata("design:type", String)
|
|
4401
4393
|
], mjBizAppsCommonActivityType_.prototype, "ParentID", void 0);
|
|
4402
4394
|
__decorate([
|
|
4403
|
-
Field({ nullable: true, description:
|
|
4395
|
+
Field({ nullable: true, description: "Font Awesome class for timeline chrome (e.g. fa-solid fa-envelope)." }),
|
|
4404
4396
|
MaxLength(100),
|
|
4405
4397
|
__metadata("design:type", String)
|
|
4406
4398
|
], mjBizAppsCommonActivityType_.prototype, "IconClass", void 0);
|
|
4407
4399
|
__decorate([
|
|
4408
|
-
Field({ nullable: true, description:
|
|
4400
|
+
Field({ nullable: true, description: "Optional categorical color for timeline chrome. Not a design-token — this is stored per type." }),
|
|
4409
4401
|
MaxLength(30),
|
|
4410
4402
|
__metadata("design:type", String)
|
|
4411
4403
|
], mjBizAppsCommonActivityType_.prototype, "Color", void 0);
|
|
4412
4404
|
__decorate([
|
|
4413
|
-
Field(() => Int, { nullable: true, description:
|
|
4405
|
+
Field(() => Int, { nullable: true, description: "Picker sort order. Lower first." }),
|
|
4414
4406
|
__metadata("design:type", Number)
|
|
4415
4407
|
], mjBizAppsCommonActivityType_.prototype, "Sequence", void 0);
|
|
4416
4408
|
__decorate([
|
|
4417
|
-
Field(() => Boolean, { nullable: true, description:
|
|
4409
|
+
Field(() => Boolean, { nullable: true, description: "1 = seeded system type the sync engine may assume (Email, Call, Meeting, Note, SMS, Chat). Clients add children with IsSystem = 0." }),
|
|
4418
4410
|
__metadata("design:type", Boolean)
|
|
4419
4411
|
], mjBizAppsCommonActivityType_.prototype, "IsSystem", void 0);
|
|
4420
4412
|
__decorate([
|
|
4421
|
-
Field(() => Boolean, { nullable: true, description:
|
|
4413
|
+
Field(() => Boolean, { nullable: true, description: "0 hides the type from the picker without deleting historical activities." }),
|
|
4422
4414
|
__metadata("design:type", Boolean)
|
|
4423
4415
|
], mjBizAppsCommonActivityType_.prototype, "IsActive", void 0);
|
|
4424
4416
|
__decorate([
|
|
@@ -4460,7 +4452,7 @@ __decorate([
|
|
|
4460
4452
|
__metadata("design:type", Array)
|
|
4461
4453
|
], mjBizAppsCommonActivityType_.prototype, "ReadableFields___", void 0);
|
|
4462
4454
|
mjBizAppsCommonActivityType_ = __decorate([
|
|
4463
|
-
ObjectType({ description:
|
|
4455
|
+
ObjectType({ description: "Lookup of interaction channels (Email, Call, Meeting, Note, SMS, Chat). Hierarchy is picker-only; direction lives on Activity. Code is the stable key — sync and code target Code, never Name." })
|
|
4464
4456
|
], mjBizAppsCommonActivityType_);
|
|
4465
4457
|
export { mjBizAppsCommonActivityType_ };
|
|
4466
4458
|
//****************************************************************************
|
|
@@ -4735,7 +4727,7 @@ __decorate([
|
|
|
4735
4727
|
__metadata("design:type", String)
|
|
4736
4728
|
], mjBizAppsCommonAddressLink_.prototype, "EntityID", void 0);
|
|
4737
4729
|
__decorate([
|
|
4738
|
-
Field({ nullable: true, description:
|
|
4730
|
+
Field({ nullable: true, description: "Primary key value(s) of the linked record. NVARCHAR(700) to support concatenated composite keys for entities without single-valued primary keys" }),
|
|
4739
4731
|
MaxLength(700),
|
|
4740
4732
|
__metadata("design:type", String)
|
|
4741
4733
|
], mjBizAppsCommonAddressLink_.prototype, "RecordID", void 0);
|
|
@@ -4745,11 +4737,11 @@ __decorate([
|
|
|
4745
4737
|
__metadata("design:type", String)
|
|
4746
4738
|
], mjBizAppsCommonAddressLink_.prototype, "AddressTypeID", void 0);
|
|
4747
4739
|
__decorate([
|
|
4748
|
-
Field(() => Boolean, { nullable: true, description:
|
|
4740
|
+
Field(() => Boolean, { nullable: true, description: "Whether this is the primary address for the linked record. Only one address per entity record should be marked primary" }),
|
|
4749
4741
|
__metadata("design:type", Boolean)
|
|
4750
4742
|
], mjBizAppsCommonAddressLink_.prototype, "IsPrimary", void 0);
|
|
4751
4743
|
__decorate([
|
|
4752
|
-
Field(() => Int, { nullable: true, description:
|
|
4744
|
+
Field(() => Int, { nullable: true, description: "Sort order override for this specific link. When NULL, falls back to AddressType.DefaultRank. Lower values appear first" }),
|
|
4753
4745
|
__metadata("design:type", Number)
|
|
4754
4746
|
], mjBizAppsCommonAddressLink_.prototype, "Rank", void 0);
|
|
4755
4747
|
__decorate([
|
|
@@ -4762,7 +4754,7 @@ __decorate([
|
|
|
4762
4754
|
], mjBizAppsCommonAddressLink_.prototype, "_mj__UpdatedAt", void 0);
|
|
4763
4755
|
__decorate([
|
|
4764
4756
|
Field({ nullable: true }),
|
|
4765
|
-
MaxLength(
|
|
4757
|
+
MaxLength(400),
|
|
4766
4758
|
__metadata("design:type", String)
|
|
4767
4759
|
], mjBizAppsCommonAddressLink_.prototype, "Address", void 0);
|
|
4768
4760
|
__decorate([
|
|
@@ -4780,7 +4772,7 @@ __decorate([
|
|
|
4780
4772
|
__metadata("design:type", Array)
|
|
4781
4773
|
], mjBizAppsCommonAddressLink_.prototype, "ReadableFields___", void 0);
|
|
4782
4774
|
mjBizAppsCommonAddressLink_ = __decorate([
|
|
4783
|
-
ObjectType({ description:
|
|
4775
|
+
ObjectType({ description: "Polymorphic link table connecting Address records to any entity record in the system via EntityID and RecordID" })
|
|
4784
4776
|
], mjBizAppsCommonAddressLink_);
|
|
4785
4777
|
export { mjBizAppsCommonAddressLink_ };
|
|
4786
4778
|
//****************************************************************************
|
|
@@ -5021,25 +5013,25 @@ __decorate([
|
|
|
5021
5013
|
__metadata("design:type", String)
|
|
5022
5014
|
], mjBizAppsCommonAddressType_.prototype, "ID", void 0);
|
|
5023
5015
|
__decorate([
|
|
5024
|
-
Field({ nullable: true, description:
|
|
5016
|
+
Field({ nullable: true, description: "Display name for the address type" }),
|
|
5025
5017
|
MaxLength(100),
|
|
5026
5018
|
__metadata("design:type", String)
|
|
5027
5019
|
], mjBizAppsCommonAddressType_.prototype, "Name", void 0);
|
|
5028
5020
|
__decorate([
|
|
5029
|
-
Field({ nullable: true, description:
|
|
5021
|
+
Field({ nullable: true, description: "Detailed description of this address type" }),
|
|
5030
5022
|
__metadata("design:type", String)
|
|
5031
5023
|
], mjBizAppsCommonAddressType_.prototype, "Description", void 0);
|
|
5032
5024
|
__decorate([
|
|
5033
|
-
Field({ nullable: true, description:
|
|
5025
|
+
Field({ nullable: true, description: "Font Awesome icon class for UI display" }),
|
|
5034
5026
|
MaxLength(100),
|
|
5035
5027
|
__metadata("design:type", String)
|
|
5036
5028
|
], mjBizAppsCommonAddressType_.prototype, "IconClass", void 0);
|
|
5037
5029
|
__decorate([
|
|
5038
|
-
Field(() => Int, { nullable: true, description:
|
|
5030
|
+
Field(() => Int, { nullable: true, description: "Default sort order for this address type in dropdown lists. Lower values appear first. Can be overridden per-record via AddressLink.Rank" }),
|
|
5039
5031
|
__metadata("design:type", Number)
|
|
5040
5032
|
], mjBizAppsCommonAddressType_.prototype, "DefaultRank", void 0);
|
|
5041
5033
|
__decorate([
|
|
5042
|
-
Field(() => Boolean, { nullable: true, description:
|
|
5034
|
+
Field(() => Boolean, { nullable: true, description: "Whether this type is available for selection in the UI. Inactive types are hidden from dropdowns but preserved for existing records" }),
|
|
5043
5035
|
__metadata("design:type", Boolean)
|
|
5044
5036
|
], mjBizAppsCommonAddressType_.prototype, "IsActive", void 0);
|
|
5045
5037
|
__decorate([
|
|
@@ -5055,7 +5047,7 @@ __decorate([
|
|
|
5055
5047
|
__metadata("design:type", Array)
|
|
5056
5048
|
], mjBizAppsCommonAddressType_.prototype, "ReadableFields___", void 0);
|
|
5057
5049
|
mjBizAppsCommonAddressType_ = __decorate([
|
|
5058
|
-
ObjectType({ description:
|
|
5050
|
+
ObjectType({ description: "Categories of addresses such as Home, Work, Mailing, Billing" })
|
|
5059
5051
|
], mjBizAppsCommonAddressType_);
|
|
5060
5052
|
export { mjBizAppsCommonAddressType_ };
|
|
5061
5053
|
//****************************************************************************
|
|
@@ -5288,46 +5280,46 @@ __decorate([
|
|
|
5288
5280
|
__metadata("design:type", String)
|
|
5289
5281
|
], mjBizAppsCommonAddress_.prototype, "ID", void 0);
|
|
5290
5282
|
__decorate([
|
|
5291
|
-
Field({ nullable: true, description:
|
|
5283
|
+
Field({ nullable: true, description: "Street address line 1. Optional: an address may record only a location (country, region, postal code) before a street line is known." }),
|
|
5292
5284
|
MaxLength(255),
|
|
5293
5285
|
__metadata("design:type", String)
|
|
5294
5286
|
], mjBizAppsCommonAddress_.prototype, "Line1", void 0);
|
|
5295
5287
|
__decorate([
|
|
5296
|
-
Field({ nullable: true, description:
|
|
5288
|
+
Field({ nullable: true, description: "Street address line 2 (suite, apt, etc.)" }),
|
|
5297
5289
|
MaxLength(255),
|
|
5298
5290
|
__metadata("design:type", String)
|
|
5299
5291
|
], mjBizAppsCommonAddress_.prototype, "Line2", void 0);
|
|
5300
5292
|
__decorate([
|
|
5301
|
-
Field({ nullable: true, description:
|
|
5293
|
+
Field({ nullable: true, description: "Street address line 3 (additional detail)" }),
|
|
5302
5294
|
MaxLength(255),
|
|
5303
5295
|
__metadata("design:type", String)
|
|
5304
5296
|
], mjBizAppsCommonAddress_.prototype, "Line3", void 0);
|
|
5305
5297
|
__decorate([
|
|
5306
|
-
Field({ nullable: true, description:
|
|
5298
|
+
Field({ nullable: true, description: "City or locality name. Optional: an address may record only a location (country, region, postal code) before a city is known." }),
|
|
5307
5299
|
MaxLength(100),
|
|
5308
5300
|
__metadata("design:type", String)
|
|
5309
5301
|
], mjBizAppsCommonAddress_.prototype, "City", void 0);
|
|
5310
5302
|
__decorate([
|
|
5311
|
-
Field({ nullable: true, description:
|
|
5303
|
+
Field({ nullable: true, description: "State, province, or region" }),
|
|
5312
5304
|
MaxLength(100),
|
|
5313
5305
|
__metadata("design:type", String)
|
|
5314
5306
|
], mjBizAppsCommonAddress_.prototype, "StateProvince", void 0);
|
|
5315
5307
|
__decorate([
|
|
5316
|
-
Field({ nullable: true, description:
|
|
5308
|
+
Field({ nullable: true, description: "Postal or ZIP code" }),
|
|
5317
5309
|
MaxLength(20),
|
|
5318
5310
|
__metadata("design:type", String)
|
|
5319
5311
|
], mjBizAppsCommonAddress_.prototype, "PostalCode", void 0);
|
|
5320
5312
|
__decorate([
|
|
5321
|
-
Field({ nullable: true, description:
|
|
5313
|
+
Field({ nullable: true, description: "Country code or name, defaults to US" }),
|
|
5322
5314
|
MaxLength(100),
|
|
5323
5315
|
__metadata("design:type", String)
|
|
5324
5316
|
], mjBizAppsCommonAddress_.prototype, "Country", void 0);
|
|
5325
5317
|
__decorate([
|
|
5326
|
-
Field(() => Float, { nullable: true, description:
|
|
5318
|
+
Field(() => Float, { nullable: true, description: "Geographic latitude for mapping" }),
|
|
5327
5319
|
__metadata("design:type", Number)
|
|
5328
5320
|
], mjBizAppsCommonAddress_.prototype, "Latitude", void 0);
|
|
5329
5321
|
__decorate([
|
|
5330
|
-
Field(() => Float, { nullable: true, description:
|
|
5322
|
+
Field(() => Float, { nullable: true, description: "Geographic longitude for mapping" }),
|
|
5331
5323
|
__metadata("design:type", Number)
|
|
5332
5324
|
], mjBizAppsCommonAddress_.prototype, "Longitude", void 0);
|
|
5333
5325
|
__decorate([
|
|
@@ -5338,6 +5330,11 @@ __decorate([
|
|
|
5338
5330
|
Field(),
|
|
5339
5331
|
__metadata("design:type", Date)
|
|
5340
5332
|
], mjBizAppsCommonAddress_.prototype, "_mj__UpdatedAt", void 0);
|
|
5333
|
+
__decorate([
|
|
5334
|
+
Field({ nullable: true, description: "One-line label for the address in US order: Line1, City, State PostalCode, Country. Blank parts are skipped; NULL when every part is blank. Computed and stored; this is the entity name field." }),
|
|
5335
|
+
MaxLength(400),
|
|
5336
|
+
__metadata("design:type", String)
|
|
5337
|
+
], mjBizAppsCommonAddress_.prototype, "DisplayName", void 0);
|
|
5341
5338
|
__decorate([
|
|
5342
5339
|
Field(() => Float, { nullable: true }),
|
|
5343
5340
|
__metadata("design:type", Number)
|
|
@@ -5351,7 +5348,7 @@ __decorate([
|
|
|
5351
5348
|
__metadata("design:type", Array)
|
|
5352
5349
|
], mjBizAppsCommonAddress_.prototype, "ReadableFields___", void 0);
|
|
5353
5350
|
mjBizAppsCommonAddress_ = __decorate([
|
|
5354
|
-
ObjectType({ description:
|
|
5351
|
+
ObjectType({ description: "Standalone physical address records linked to entities via AddressLink for sharing across people and organizations" })
|
|
5355
5352
|
], mjBizAppsCommonAddress_);
|
|
5356
5353
|
export { mjBizAppsCommonAddress_ };
|
|
5357
5354
|
//****************************************************************************
|
|
@@ -5631,17 +5628,17 @@ __decorate([
|
|
|
5631
5628
|
__metadata("design:type", String)
|
|
5632
5629
|
], mjBizAppsCommonContactMethod_.prototype, "ContactTypeID", void 0);
|
|
5633
5630
|
__decorate([
|
|
5634
|
-
Field({ nullable: true, description:
|
|
5631
|
+
Field({ nullable: true, description: "The contact value: phone number, email address, URL, social media handle, etc." }),
|
|
5635
5632
|
MaxLength(500),
|
|
5636
5633
|
__metadata("design:type", String)
|
|
5637
5634
|
], mjBizAppsCommonContactMethod_.prototype, "Value", void 0);
|
|
5638
5635
|
__decorate([
|
|
5639
|
-
Field({ nullable: true, description:
|
|
5636
|
+
Field({ nullable: true, description: "Descriptive label such as Work cell, Personal Gmail, Corporate LinkedIn" }),
|
|
5640
5637
|
MaxLength(100),
|
|
5641
5638
|
__metadata("design:type", String)
|
|
5642
5639
|
], mjBizAppsCommonContactMethod_.prototype, "Label", void 0);
|
|
5643
5640
|
__decorate([
|
|
5644
|
-
Field(() => Boolean, { nullable: true, description:
|
|
5641
|
+
Field(() => Boolean, { nullable: true, description: "Whether this is the primary contact method of its type for the linked person or organization" }),
|
|
5645
5642
|
__metadata("design:type", Boolean)
|
|
5646
5643
|
], mjBizAppsCommonContactMethod_.prototype, "IsPrimary", void 0);
|
|
5647
5644
|
__decorate([
|
|
@@ -5654,7 +5651,7 @@ __decorate([
|
|
|
5654
5651
|
], mjBizAppsCommonContactMethod_.prototype, "_mj__UpdatedAt", void 0);
|
|
5655
5652
|
__decorate([
|
|
5656
5653
|
Field({ nullable: true }),
|
|
5657
|
-
MaxLength(
|
|
5654
|
+
MaxLength(250),
|
|
5658
5655
|
__metadata("design:type", String)
|
|
5659
5656
|
], mjBizAppsCommonContactMethod_.prototype, "Person", void 0);
|
|
5660
5657
|
__decorate([
|
|
@@ -5672,7 +5669,7 @@ __decorate([
|
|
|
5672
5669
|
__metadata("design:type", Array)
|
|
5673
5670
|
], mjBizAppsCommonContactMethod_.prototype, "ReadableFields___", void 0);
|
|
5674
5671
|
mjBizAppsCommonContactMethod_ = __decorate([
|
|
5675
|
-
ObjectType({ description:
|
|
5672
|
+
ObjectType({ description: "Additional contact methods for people and organizations beyond the primary email and phone fields" })
|
|
5676
5673
|
], mjBizAppsCommonContactMethod_);
|
|
5677
5674
|
export { mjBizAppsCommonContactMethod_ };
|
|
5678
5675
|
//****************************************************************************
|
|
@@ -5913,25 +5910,25 @@ __decorate([
|
|
|
5913
5910
|
__metadata("design:type", String)
|
|
5914
5911
|
], mjBizAppsCommonContactType_.prototype, "ID", void 0);
|
|
5915
5912
|
__decorate([
|
|
5916
|
-
Field({ nullable: true, description:
|
|
5913
|
+
Field({ nullable: true, description: "Display name for the contact type" }),
|
|
5917
5914
|
MaxLength(100),
|
|
5918
5915
|
__metadata("design:type", String)
|
|
5919
5916
|
], mjBizAppsCommonContactType_.prototype, "Name", void 0);
|
|
5920
5917
|
__decorate([
|
|
5921
|
-
Field({ nullable: true, description:
|
|
5918
|
+
Field({ nullable: true, description: "Detailed description of this contact type" }),
|
|
5922
5919
|
__metadata("design:type", String)
|
|
5923
5920
|
], mjBizAppsCommonContactType_.prototype, "Description", void 0);
|
|
5924
5921
|
__decorate([
|
|
5925
|
-
Field({ nullable: true, description:
|
|
5922
|
+
Field({ nullable: true, description: "Font Awesome icon class for UI display" }),
|
|
5926
5923
|
MaxLength(100),
|
|
5927
5924
|
__metadata("design:type", String)
|
|
5928
5925
|
], mjBizAppsCommonContactType_.prototype, "IconClass", void 0);
|
|
5929
5926
|
__decorate([
|
|
5930
|
-
Field(() => Int, { nullable: true, description:
|
|
5927
|
+
Field(() => Int, { nullable: true, description: "Sort order in dropdown lists. Lower values appear first" }),
|
|
5931
5928
|
__metadata("design:type", Number)
|
|
5932
5929
|
], mjBizAppsCommonContactType_.prototype, "DisplayRank", void 0);
|
|
5933
5930
|
__decorate([
|
|
5934
|
-
Field(() => Boolean, { nullable: true, description:
|
|
5931
|
+
Field(() => Boolean, { nullable: true, description: "Whether this type is available for selection in the UI. Inactive types are hidden from dropdowns but preserved for existing records" }),
|
|
5935
5932
|
__metadata("design:type", Boolean)
|
|
5936
5933
|
], mjBizAppsCommonContactType_.prototype, "IsActive", void 0);
|
|
5937
5934
|
__decorate([
|
|
@@ -5947,7 +5944,7 @@ __decorate([
|
|
|
5947
5944
|
__metadata("design:type", Array)
|
|
5948
5945
|
], mjBizAppsCommonContactType_.prototype, "ReadableFields___", void 0);
|
|
5949
5946
|
mjBizAppsCommonContactType_ = __decorate([
|
|
5950
|
-
ObjectType({ description:
|
|
5947
|
+
ObjectType({ description: "Categories of contact methods such as Phone, Mobile, Email, LinkedIn, Website" })
|
|
5951
5948
|
], mjBizAppsCommonContactType_);
|
|
5952
5949
|
export { mjBizAppsCommonContactType_ };
|
|
5953
5950
|
//****************************************************************************
|
|
@@ -6180,20 +6177,20 @@ __decorate([
|
|
|
6180
6177
|
__metadata("design:type", String)
|
|
6181
6178
|
], mjBizAppsCommonJobFunction_.prototype, "ID", void 0);
|
|
6182
6179
|
__decorate([
|
|
6183
|
-
Field({ nullable: true, description:
|
|
6180
|
+
Field({ nullable: true, description: "Unique display name of the job function." }),
|
|
6184
6181
|
MaxLength(100),
|
|
6185
6182
|
__metadata("design:type", String)
|
|
6186
6183
|
], mjBizAppsCommonJobFunction_.prototype, "Name", void 0);
|
|
6187
6184
|
__decorate([
|
|
6188
|
-
Field({ nullable: true, description:
|
|
6185
|
+
Field({ nullable: true, description: "Detailed description of the job function and the roles it encompasses." }),
|
|
6189
6186
|
__metadata("design:type", String)
|
|
6190
6187
|
], mjBizAppsCommonJobFunction_.prototype, "Description", void 0);
|
|
6191
6188
|
__decorate([
|
|
6192
|
-
Field(() => Int, { nullable: true, description:
|
|
6189
|
+
Field(() => Int, { nullable: true, description: "Display sort sequence order." }),
|
|
6193
6190
|
__metadata("design:type", Number)
|
|
6194
6191
|
], mjBizAppsCommonJobFunction_.prototype, "Sequence", void 0);
|
|
6195
6192
|
__decorate([
|
|
6196
|
-
Field({ nullable: true, description:
|
|
6193
|
+
Field({ nullable: true, description: "Lifecycle status (Active, Inactive) of the job function." }),
|
|
6197
6194
|
MaxLength(20),
|
|
6198
6195
|
__metadata("design:type", String)
|
|
6199
6196
|
], mjBizAppsCommonJobFunction_.prototype, "Status", void 0);
|
|
@@ -6210,7 +6207,7 @@ __decorate([
|
|
|
6210
6207
|
__metadata("design:type", Array)
|
|
6211
6208
|
], mjBizAppsCommonJobFunction_.prototype, "ReadableFields___", void 0);
|
|
6212
6209
|
mjBizAppsCommonJobFunction_ = __decorate([
|
|
6213
|
-
ObjectType({ description:
|
|
6210
|
+
ObjectType({ description: "Business job functions (Engineering, Marketing, Sales, etc.) for categorizing roles and career paths." })
|
|
6214
6211
|
], mjBizAppsCommonJobFunction_);
|
|
6215
6212
|
export { mjBizAppsCommonJobFunction_ };
|
|
6216
6213
|
//****************************************************************************
|
|
@@ -6435,25 +6432,25 @@ __decorate([
|
|
|
6435
6432
|
__metadata("design:type", String)
|
|
6436
6433
|
], mjBizAppsCommonOrganizationType_.prototype, "ID", void 0);
|
|
6437
6434
|
__decorate([
|
|
6438
|
-
Field({ nullable: true, description:
|
|
6435
|
+
Field({ nullable: true, description: "Display name for the organization type" }),
|
|
6439
6436
|
MaxLength(100),
|
|
6440
6437
|
__metadata("design:type", String)
|
|
6441
6438
|
], mjBizAppsCommonOrganizationType_.prototype, "Name", void 0);
|
|
6442
6439
|
__decorate([
|
|
6443
|
-
Field({ nullable: true, description:
|
|
6440
|
+
Field({ nullable: true, description: "Detailed description of this organization type" }),
|
|
6444
6441
|
__metadata("design:type", String)
|
|
6445
6442
|
], mjBizAppsCommonOrganizationType_.prototype, "Description", void 0);
|
|
6446
6443
|
__decorate([
|
|
6447
|
-
Field({ nullable: true, description:
|
|
6444
|
+
Field({ nullable: true, description: "Font Awesome icon class for UI display" }),
|
|
6448
6445
|
MaxLength(100),
|
|
6449
6446
|
__metadata("design:type", String)
|
|
6450
6447
|
], mjBizAppsCommonOrganizationType_.prototype, "IconClass", void 0);
|
|
6451
6448
|
__decorate([
|
|
6452
|
-
Field(() => Int, { nullable: true, description:
|
|
6449
|
+
Field(() => Int, { nullable: true, description: "Sort order in dropdown lists. Lower values appear first" }),
|
|
6453
6450
|
__metadata("design:type", Number)
|
|
6454
6451
|
], mjBizAppsCommonOrganizationType_.prototype, "DisplayRank", void 0);
|
|
6455
6452
|
__decorate([
|
|
6456
|
-
Field(() => Boolean, { nullable: true, description:
|
|
6453
|
+
Field(() => Boolean, { nullable: true, description: "Whether this type is available for selection in the UI. Inactive types are hidden from dropdowns but preserved for existing records" }),
|
|
6457
6454
|
__metadata("design:type", Boolean)
|
|
6458
6455
|
], mjBizAppsCommonOrganizationType_.prototype, "IsActive", void 0);
|
|
6459
6456
|
__decorate([
|
|
@@ -6469,7 +6466,7 @@ __decorate([
|
|
|
6469
6466
|
__metadata("design:type", Array)
|
|
6470
6467
|
], mjBizAppsCommonOrganizationType_.prototype, "ReadableFields___", void 0);
|
|
6471
6468
|
mjBizAppsCommonOrganizationType_ = __decorate([
|
|
6472
|
-
ObjectType({ description:
|
|
6469
|
+
ObjectType({ description: "Categories of organizations such as Company, Non-Profit, Association, Government" })
|
|
6473
6470
|
], mjBizAppsCommonOrganizationType_);
|
|
6474
6471
|
export { mjBizAppsCommonOrganizationType_ };
|
|
6475
6472
|
//****************************************************************************
|
|
@@ -6702,12 +6699,12 @@ __decorate([
|
|
|
6702
6699
|
__metadata("design:type", String)
|
|
6703
6700
|
], mjBizAppsCommonOrganization_.prototype, "ID", void 0);
|
|
6704
6701
|
__decorate([
|
|
6705
|
-
Field({ nullable: true, description:
|
|
6702
|
+
Field({ nullable: true, description: "Common or display name of the organization" }),
|
|
6706
6703
|
MaxLength(255),
|
|
6707
6704
|
__metadata("design:type", String)
|
|
6708
6705
|
], mjBizAppsCommonOrganization_.prototype, "Name", void 0);
|
|
6709
6706
|
__decorate([
|
|
6710
|
-
Field({ nullable: true, description:
|
|
6707
|
+
Field({ nullable: true, description: "Full legal name if different from display name" }),
|
|
6711
6708
|
MaxLength(255),
|
|
6712
6709
|
__metadata("design:type", String)
|
|
6713
6710
|
], mjBizAppsCommonOrganization_.prototype, "LegalName", void 0);
|
|
@@ -6722,39 +6719,39 @@ __decorate([
|
|
|
6722
6719
|
__metadata("design:type", String)
|
|
6723
6720
|
], mjBizAppsCommonOrganization_.prototype, "ParentID", void 0);
|
|
6724
6721
|
__decorate([
|
|
6725
|
-
Field({ nullable: true, description:
|
|
6722
|
+
Field({ nullable: true, description: "Primary website URL" }),
|
|
6726
6723
|
MaxLength(1000),
|
|
6727
6724
|
__metadata("design:type", String)
|
|
6728
6725
|
], mjBizAppsCommonOrganization_.prototype, "Website", void 0);
|
|
6729
6726
|
__decorate([
|
|
6730
|
-
Field({ nullable: true, description:
|
|
6727
|
+
Field({ nullable: true, description: "Organization logo. May be an HTTP(S) URL or an inline data URI (NVARCHAR(MAX))." }),
|
|
6731
6728
|
__metadata("design:type", String)
|
|
6732
6729
|
], mjBizAppsCommonOrganization_.prototype, "LogoURL", void 0);
|
|
6733
6730
|
__decorate([
|
|
6734
|
-
Field({ nullable: true, description:
|
|
6731
|
+
Field({ nullable: true, description: "Description of the organization purpose and scope" }),
|
|
6735
6732
|
__metadata("design:type", String)
|
|
6736
6733
|
], mjBizAppsCommonOrganization_.prototype, "Description", void 0);
|
|
6737
6734
|
__decorate([
|
|
6738
|
-
Field({ nullable: true, description:
|
|
6735
|
+
Field({ nullable: true, description: "Primary contact email address" }),
|
|
6739
6736
|
MaxLength(255),
|
|
6740
6737
|
__metadata("design:type", String)
|
|
6741
6738
|
], mjBizAppsCommonOrganization_.prototype, "Email", void 0);
|
|
6742
6739
|
__decorate([
|
|
6743
|
-
Field({ nullable: true, description:
|
|
6740
|
+
Field({ nullable: true, description: "Primary phone number" }),
|
|
6744
6741
|
MaxLength(50),
|
|
6745
6742
|
__metadata("design:type", String)
|
|
6746
6743
|
], mjBizAppsCommonOrganization_.prototype, "Phone", void 0);
|
|
6747
6744
|
__decorate([
|
|
6748
|
-
Field({ nullable: true, description:
|
|
6745
|
+
Field({ nullable: true, description: "Date the organization was founded or incorporated" }),
|
|
6749
6746
|
__metadata("design:type", Date)
|
|
6750
6747
|
], mjBizAppsCommonOrganization_.prototype, "FoundedDate", void 0);
|
|
6751
6748
|
__decorate([
|
|
6752
|
-
Field({ nullable: true, description:
|
|
6749
|
+
Field({ nullable: true, description: "Tax identification number such as EIN" }),
|
|
6753
6750
|
MaxLength(50),
|
|
6754
6751
|
__metadata("design:type", String)
|
|
6755
6752
|
], mjBizAppsCommonOrganization_.prototype, "TaxID", void 0);
|
|
6756
6753
|
__decorate([
|
|
6757
|
-
Field({ nullable: true, description:
|
|
6754
|
+
Field({ nullable: true, description: "Current status: Active, Inactive, or Dissolved" }),
|
|
6758
6755
|
MaxLength(50),
|
|
6759
6756
|
__metadata("design:type", String)
|
|
6760
6757
|
], mjBizAppsCommonOrganization_.prototype, "Status", void 0);
|
|
@@ -6863,7 +6860,7 @@ __decorate([
|
|
|
6863
6860
|
__metadata("design:type", Array)
|
|
6864
6861
|
], mjBizAppsCommonOrganization_.prototype, "ReadableFields___", void 0);
|
|
6865
6862
|
mjBizAppsCommonOrganization_ = __decorate([
|
|
6866
|
-
ObjectType({ description:
|
|
6863
|
+
ObjectType({ description: "Companies, associations, government bodies, and other organizations with hierarchy support" })
|
|
6867
6864
|
], mjBizAppsCommonOrganization_);
|
|
6868
6865
|
export { mjBizAppsCommonOrganization_ };
|
|
6869
6866
|
//****************************************************************************
|
|
@@ -7152,74 +7149,74 @@ __decorate([
|
|
|
7152
7149
|
__metadata("design:type", String)
|
|
7153
7150
|
], mjBizAppsCommonPerson_.prototype, "ID", void 0);
|
|
7154
7151
|
__decorate([
|
|
7155
|
-
Field({ nullable: true, description:
|
|
7152
|
+
Field({ nullable: true, description: "First (given) name" }),
|
|
7156
7153
|
MaxLength(100),
|
|
7157
7154
|
__metadata("design:type", String)
|
|
7158
7155
|
], mjBizAppsCommonPerson_.prototype, "FirstName", void 0);
|
|
7159
7156
|
__decorate([
|
|
7160
|
-
Field({ nullable: true, description:
|
|
7157
|
+
Field({ nullable: true, description: "Last (family) name" }),
|
|
7161
7158
|
MaxLength(100),
|
|
7162
7159
|
__metadata("design:type", String)
|
|
7163
7160
|
], mjBizAppsCommonPerson_.prototype, "LastName", void 0);
|
|
7164
7161
|
__decorate([
|
|
7165
|
-
Field({ nullable: true, description:
|
|
7162
|
+
Field({ nullable: true, description: "Middle name or initial" }),
|
|
7166
7163
|
MaxLength(100),
|
|
7167
7164
|
__metadata("design:type", String)
|
|
7168
7165
|
], mjBizAppsCommonPerson_.prototype, "MiddleName", void 0);
|
|
7169
7166
|
__decorate([
|
|
7170
|
-
Field({ nullable: true, description:
|
|
7167
|
+
Field({ nullable: true, description: "Name prefix such as Dr., Mr., Ms., Rev." }),
|
|
7171
7168
|
MaxLength(20),
|
|
7172
7169
|
__metadata("design:type", String)
|
|
7173
7170
|
], mjBizAppsCommonPerson_.prototype, "Prefix", void 0);
|
|
7174
7171
|
__decorate([
|
|
7175
|
-
Field({ nullable: true, description:
|
|
7172
|
+
Field({ nullable: true, description: "Name suffix such as Jr., III, PhD, Esq." }),
|
|
7176
7173
|
MaxLength(20),
|
|
7177
7174
|
__metadata("design:type", String)
|
|
7178
7175
|
], mjBizAppsCommonPerson_.prototype, "Suffix", void 0);
|
|
7179
7176
|
__decorate([
|
|
7180
|
-
Field({ nullable: true, description:
|
|
7177
|
+
Field({ nullable: true, description: "Nickname or preferred name the person goes by" }),
|
|
7181
7178
|
MaxLength(100),
|
|
7182
7179
|
__metadata("design:type", String)
|
|
7183
7180
|
], mjBizAppsCommonPerson_.prototype, "PreferredName", void 0);
|
|
7184
7181
|
__decorate([
|
|
7185
|
-
Field({ nullable: true, description:
|
|
7182
|
+
Field({ nullable: true, description: "Professional or job title, e.g. VP of Engineering, Board Director" }),
|
|
7186
7183
|
MaxLength(200),
|
|
7187
7184
|
__metadata("design:type", String)
|
|
7188
7185
|
], mjBizAppsCommonPerson_.prototype, "Title", void 0);
|
|
7189
7186
|
__decorate([
|
|
7190
|
-
Field({ nullable: true, description:
|
|
7187
|
+
Field({ nullable: true, description: "Primary email address for this person" }),
|
|
7191
7188
|
MaxLength(255),
|
|
7192
7189
|
__metadata("design:type", String)
|
|
7193
7190
|
], mjBizAppsCommonPerson_.prototype, "Email", void 0);
|
|
7194
7191
|
__decorate([
|
|
7195
|
-
Field({ nullable: true, description:
|
|
7192
|
+
Field({ nullable: true, description: "Primary phone number for this person" }),
|
|
7196
7193
|
MaxLength(50),
|
|
7197
7194
|
__metadata("design:type", String)
|
|
7198
7195
|
], mjBizAppsCommonPerson_.prototype, "Phone", void 0);
|
|
7199
7196
|
__decorate([
|
|
7200
|
-
Field({ nullable: true, description:
|
|
7197
|
+
Field({ nullable: true, description: "Date of birth" }),
|
|
7201
7198
|
__metadata("design:type", Date)
|
|
7202
7199
|
], mjBizAppsCommonPerson_.prototype, "DateOfBirth", void 0);
|
|
7203
7200
|
__decorate([
|
|
7204
|
-
Field({ nullable: true, description:
|
|
7201
|
+
Field({ nullable: true, description: "Gender identity" }),
|
|
7205
7202
|
MaxLength(50),
|
|
7206
7203
|
__metadata("design:type", String)
|
|
7207
7204
|
], mjBizAppsCommonPerson_.prototype, "Gender", void 0);
|
|
7208
7205
|
__decorate([
|
|
7209
|
-
Field({ nullable: true, description:
|
|
7206
|
+
Field({ nullable: true, description: "Profile photo or avatar. May be an HTTP(S) URL or an inline data URI (NVARCHAR(MAX))." }),
|
|
7210
7207
|
__metadata("design:type", String)
|
|
7211
7208
|
], mjBizAppsCommonPerson_.prototype, "PhotoURL", void 0);
|
|
7212
7209
|
__decorate([
|
|
7213
|
-
Field({ nullable: true, description:
|
|
7210
|
+
Field({ nullable: true, description: "Biographical text or notes about this person" }),
|
|
7214
7211
|
__metadata("design:type", String)
|
|
7215
7212
|
], mjBizAppsCommonPerson_.prototype, "Bio", void 0);
|
|
7216
7213
|
__decorate([
|
|
7217
|
-
Field({ nullable: true, description:
|
|
7214
|
+
Field({ nullable: true, description: "DEPRECATED: Do not use. bizapps-common no longer reads or writes this column; person-to-MJ-User bindings are owned by platform-layer IS-A subtypes of Person (e.g., BCSaaS 'BC: People'). Retained only for backward compatibility and scheduled for removal in the next major release." }),
|
|
7218
7215
|
MaxLength(36),
|
|
7219
7216
|
__metadata("design:type", String)
|
|
7220
7217
|
], mjBizAppsCommonPerson_.prototype, "LinkedUserID", void 0);
|
|
7221
7218
|
__decorate([
|
|
7222
|
-
Field({ nullable: true, description:
|
|
7219
|
+
Field({ nullable: true, description: "Current status: Active, Inactive, or Deceased" }),
|
|
7223
7220
|
MaxLength(50),
|
|
7224
7221
|
__metadata("design:type", String)
|
|
7225
7222
|
], mjBizAppsCommonPerson_.prototype, "Status", void 0);
|
|
@@ -7232,15 +7229,15 @@ __decorate([
|
|
|
7232
7229
|
__metadata("design:type", Date)
|
|
7233
7230
|
], mjBizAppsCommonPerson_.prototype, "_mj__UpdatedAt", void 0);
|
|
7234
7231
|
__decorate([
|
|
7235
|
-
Field({ nullable: true }),
|
|
7236
|
-
MaxLength(201),
|
|
7237
|
-
__metadata("design:type", String)
|
|
7238
|
-
], mjBizAppsCommonPerson_.prototype, "DisplayName", void 0);
|
|
7239
|
-
__decorate([
|
|
7240
|
-
Field({ nullable: true, description: `Current primary seniority level for this person.` }),
|
|
7232
|
+
Field({ nullable: true, description: "Current primary seniority level for this person." }),
|
|
7241
7233
|
MaxLength(36),
|
|
7242
7234
|
__metadata("design:type", String)
|
|
7243
7235
|
], mjBizAppsCommonPerson_.prototype, "SeniorityLevelID", void 0);
|
|
7236
|
+
__decorate([
|
|
7237
|
+
Field({ nullable: true, description: "Full name for display: FirstName LastName Suffix (\"John Smith Jr.\"). Blank parts are skipped; empty when every part is blank. Computed and stored; this is the entity name field." }),
|
|
7238
|
+
MaxLength(250),
|
|
7239
|
+
__metadata("design:type", String)
|
|
7240
|
+
], mjBizAppsCommonPerson_.prototype, "DisplayName", void 0);
|
|
7244
7241
|
__decorate([
|
|
7245
7242
|
Field({ nullable: true }),
|
|
7246
7243
|
MaxLength(100),
|
|
@@ -7334,7 +7331,7 @@ __decorate([
|
|
|
7334
7331
|
__metadata("design:type", Array)
|
|
7335
7332
|
], mjBizAppsCommonPerson_.prototype, "ReadableFields___", void 0);
|
|
7336
7333
|
mjBizAppsCommonPerson_ = __decorate([
|
|
7337
|
-
ObjectType({ description:
|
|
7334
|
+
ObjectType({ description: "Individual people, optionally linked to MJ system user accounts" })
|
|
7338
7335
|
], mjBizAppsCommonPerson_);
|
|
7339
7336
|
export { mjBizAppsCommonPerson_ };
|
|
7340
7337
|
//****************************************************************************
|
|
@@ -7665,16 +7662,16 @@ __decorate([
|
|
|
7665
7662
|
__metadata("design:type", String)
|
|
7666
7663
|
], mjBizAppsCommonPersonJobFunction_.prototype, "JobFunctionID", void 0);
|
|
7667
7664
|
__decorate([
|
|
7668
|
-
Field(() => Int, { nullable: true, description:
|
|
7665
|
+
Field(() => Int, { nullable: true, description: "Rank order sequence for a person with multiple job functions (Sequence 1 = primary)." }),
|
|
7669
7666
|
__metadata("design:type", Number)
|
|
7670
7667
|
], mjBizAppsCommonPersonJobFunction_.prototype, "Sequence", void 0);
|
|
7671
7668
|
__decorate([
|
|
7672
|
-
Field({ nullable: true, description:
|
|
7669
|
+
Field({ nullable: true, description: "Provenance of this function assignment (Manual by user, or Derived by automated pipeline)." }),
|
|
7673
7670
|
MaxLength(20),
|
|
7674
7671
|
__metadata("design:type", String)
|
|
7675
7672
|
], mjBizAppsCommonPersonJobFunction_.prototype, "Source", void 0);
|
|
7676
7673
|
__decorate([
|
|
7677
|
-
Field(() => Float, { nullable: true, description:
|
|
7674
|
+
Field(() => Float, { nullable: true, description: "Confidence score between 0.0 and 1.0 when derived by an AI feature pipeline." }),
|
|
7678
7675
|
__metadata("design:type", Number)
|
|
7679
7676
|
], mjBizAppsCommonPersonJobFunction_.prototype, "Confidence", void 0);
|
|
7680
7677
|
__decorate([
|
|
@@ -7687,7 +7684,7 @@ __decorate([
|
|
|
7687
7684
|
], mjBizAppsCommonPersonJobFunction_.prototype, "_mj__UpdatedAt", void 0);
|
|
7688
7685
|
__decorate([
|
|
7689
7686
|
Field({ nullable: true }),
|
|
7690
|
-
MaxLength(
|
|
7687
|
+
MaxLength(250),
|
|
7691
7688
|
__metadata("design:type", String)
|
|
7692
7689
|
], mjBizAppsCommonPersonJobFunction_.prototype, "Person", void 0);
|
|
7693
7690
|
__decorate([
|
|
@@ -7700,7 +7697,7 @@ __decorate([
|
|
|
7700
7697
|
__metadata("design:type", Array)
|
|
7701
7698
|
], mjBizAppsCommonPersonJobFunction_.prototype, "ReadableFields___", void 0);
|
|
7702
7699
|
mjBizAppsCommonPersonJobFunction_ = __decorate([
|
|
7703
|
-
ObjectType({ description:
|
|
7700
|
+
ObjectType({ description: "1:M assignment of job functions to a person, supporting plural functions and ranking order." })
|
|
7704
7701
|
], mjBizAppsCommonPersonJobFunction_);
|
|
7705
7702
|
export { mjBizAppsCommonPersonJobFunction_ };
|
|
7706
7703
|
//****************************************************************************
|
|
@@ -7933,35 +7930,35 @@ __decorate([
|
|
|
7933
7930
|
__metadata("design:type", String)
|
|
7934
7931
|
], mjBizAppsCommonRelationshipType_.prototype, "ID", void 0);
|
|
7935
7932
|
__decorate([
|
|
7936
|
-
Field({ nullable: true, description:
|
|
7933
|
+
Field({ nullable: true, description: "Display name for the relationship type, e.g. Employee, Spouse, Partner" }),
|
|
7937
7934
|
MaxLength(100),
|
|
7938
7935
|
__metadata("design:type", String)
|
|
7939
7936
|
], mjBizAppsCommonRelationshipType_.prototype, "Name", void 0);
|
|
7940
7937
|
__decorate([
|
|
7941
|
-
Field({ nullable: true, description:
|
|
7938
|
+
Field({ nullable: true, description: "Detailed description of this relationship type" }),
|
|
7942
7939
|
__metadata("design:type", String)
|
|
7943
7940
|
], mjBizAppsCommonRelationshipType_.prototype, "Description", void 0);
|
|
7944
7941
|
__decorate([
|
|
7945
|
-
Field({ nullable: true, description:
|
|
7942
|
+
Field({ nullable: true, description: "Which entity types this relationship connects: PersonToPerson, PersonToOrganization, or OrganizationToOrganization" }),
|
|
7946
7943
|
MaxLength(50),
|
|
7947
7944
|
__metadata("design:type", String)
|
|
7948
7945
|
], mjBizAppsCommonRelationshipType_.prototype, "Category", void 0);
|
|
7949
7946
|
__decorate([
|
|
7950
|
-
Field(() => Boolean, { nullable: true, description:
|
|
7947
|
+
Field(() => Boolean, { nullable: true, description: "Whether the relationship has a direction. False for symmetric relationships like Spouse or Partner" }),
|
|
7951
7948
|
__metadata("design:type", Boolean)
|
|
7952
7949
|
], mjBizAppsCommonRelationshipType_.prototype, "IsDirectional", void 0);
|
|
7953
7950
|
__decorate([
|
|
7954
|
-
Field({ nullable: true, description:
|
|
7951
|
+
Field({ nullable: true, description: "Label describing the From-to-To direction, e.g. is employee of, is parent of" }),
|
|
7955
7952
|
MaxLength(100),
|
|
7956
7953
|
__metadata("design:type", String)
|
|
7957
7954
|
], mjBizAppsCommonRelationshipType_.prototype, "ForwardLabel", void 0);
|
|
7958
7955
|
__decorate([
|
|
7959
|
-
Field({ nullable: true, description:
|
|
7956
|
+
Field({ nullable: true, description: "Label describing the To-to-From direction, e.g. employs, is child of" }),
|
|
7960
7957
|
MaxLength(100),
|
|
7961
7958
|
__metadata("design:type", String)
|
|
7962
7959
|
], mjBizAppsCommonRelationshipType_.prototype, "ReverseLabel", void 0);
|
|
7963
7960
|
__decorate([
|
|
7964
|
-
Field(() => Boolean, { nullable: true, description:
|
|
7961
|
+
Field(() => Boolean, { nullable: true, description: "Whether this type is available for selection in the UI. Inactive types are hidden from dropdowns but preserved for existing records" }),
|
|
7965
7962
|
__metadata("design:type", Boolean)
|
|
7966
7963
|
], mjBizAppsCommonRelationshipType_.prototype, "IsActive", void 0);
|
|
7967
7964
|
__decorate([
|
|
@@ -7977,7 +7974,7 @@ __decorate([
|
|
|
7977
7974
|
__metadata("design:type", Array)
|
|
7978
7975
|
], mjBizAppsCommonRelationshipType_.prototype, "ReadableFields___", void 0);
|
|
7979
7976
|
mjBizAppsCommonRelationshipType_ = __decorate([
|
|
7980
|
-
ObjectType({ description:
|
|
7977
|
+
ObjectType({ description: "Defines types of relationships between people and organizations with directionality and labeling" })
|
|
7981
7978
|
], mjBizAppsCommonRelationshipType_);
|
|
7982
7979
|
export { mjBizAppsCommonRelationshipType_ };
|
|
7983
7980
|
//****************************************************************************
|
|
@@ -8251,25 +8248,25 @@ __decorate([
|
|
|
8251
8248
|
__metadata("design:type", String)
|
|
8252
8249
|
], mjBizAppsCommonRelationship_.prototype, "ToOrganizationID", void 0);
|
|
8253
8250
|
__decorate([
|
|
8254
|
-
Field({ nullable: true, description:
|
|
8251
|
+
Field({ nullable: true, description: "Contextual title for this specific relationship, e.g. CEO, Primary Contact, Founding Member" }),
|
|
8255
8252
|
MaxLength(255),
|
|
8256
8253
|
__metadata("design:type", String)
|
|
8257
8254
|
], mjBizAppsCommonRelationship_.prototype, "Title", void 0);
|
|
8258
8255
|
__decorate([
|
|
8259
|
-
Field({ nullable: true, description:
|
|
8256
|
+
Field({ nullable: true, description: "Date the relationship began" }),
|
|
8260
8257
|
__metadata("design:type", Date)
|
|
8261
8258
|
], mjBizAppsCommonRelationship_.prototype, "StartDate", void 0);
|
|
8262
8259
|
__decorate([
|
|
8263
|
-
Field({ nullable: true, description:
|
|
8260
|
+
Field({ nullable: true, description: "Date the relationship ended, if applicable" }),
|
|
8264
8261
|
__metadata("design:type", Date)
|
|
8265
8262
|
], mjBizAppsCommonRelationship_.prototype, "EndDate", void 0);
|
|
8266
8263
|
__decorate([
|
|
8267
|
-
Field({ nullable: true, description:
|
|
8264
|
+
Field({ nullable: true, description: "Current status: Active, Inactive, or Ended" }),
|
|
8268
8265
|
MaxLength(50),
|
|
8269
8266
|
__metadata("design:type", String)
|
|
8270
8267
|
], mjBizAppsCommonRelationship_.prototype, "Status", void 0);
|
|
8271
8268
|
__decorate([
|
|
8272
|
-
Field({ nullable: true, description:
|
|
8269
|
+
Field({ nullable: true, description: "Additional notes about this relationship" }),
|
|
8273
8270
|
__metadata("design:type", String)
|
|
8274
8271
|
], mjBizAppsCommonRelationship_.prototype, "Notes", void 0);
|
|
8275
8272
|
__decorate([
|
|
@@ -8281,12 +8278,12 @@ __decorate([
|
|
|
8281
8278
|
__metadata("design:type", Date)
|
|
8282
8279
|
], mjBizAppsCommonRelationship_.prototype, "_mj__UpdatedAt", void 0);
|
|
8283
8280
|
__decorate([
|
|
8284
|
-
Field({ nullable: true, description:
|
|
8281
|
+
Field({ nullable: true, description: "Company-specific job function for this relationship/employment link." }),
|
|
8285
8282
|
MaxLength(36),
|
|
8286
8283
|
__metadata("design:type", String)
|
|
8287
8284
|
], mjBizAppsCommonRelationship_.prototype, "JobFunctionID", void 0);
|
|
8288
8285
|
__decorate([
|
|
8289
|
-
Field({ nullable: true, description:
|
|
8286
|
+
Field({ nullable: true, description: "Company-specific seniority level for this relationship/employment link." }),
|
|
8290
8287
|
MaxLength(36),
|
|
8291
8288
|
__metadata("design:type", String)
|
|
8292
8289
|
], mjBizAppsCommonRelationship_.prototype, "SeniorityLevelID", void 0);
|
|
@@ -8297,7 +8294,7 @@ __decorate([
|
|
|
8297
8294
|
], mjBizAppsCommonRelationship_.prototype, "RelationshipType", void 0);
|
|
8298
8295
|
__decorate([
|
|
8299
8296
|
Field({ nullable: true }),
|
|
8300
|
-
MaxLength(
|
|
8297
|
+
MaxLength(250),
|
|
8301
8298
|
__metadata("design:type", String)
|
|
8302
8299
|
], mjBizAppsCommonRelationship_.prototype, "FromPerson", void 0);
|
|
8303
8300
|
__decorate([
|
|
@@ -8307,7 +8304,7 @@ __decorate([
|
|
|
8307
8304
|
], mjBizAppsCommonRelationship_.prototype, "FromOrganization", void 0);
|
|
8308
8305
|
__decorate([
|
|
8309
8306
|
Field({ nullable: true }),
|
|
8310
|
-
MaxLength(
|
|
8307
|
+
MaxLength(250),
|
|
8311
8308
|
__metadata("design:type", String)
|
|
8312
8309
|
], mjBizAppsCommonRelationship_.prototype, "ToPerson", void 0);
|
|
8313
8310
|
__decorate([
|
|
@@ -8325,12 +8322,17 @@ __decorate([
|
|
|
8325
8322
|
MaxLength(100),
|
|
8326
8323
|
__metadata("design:type", String)
|
|
8327
8324
|
], mjBizAppsCommonRelationship_.prototype, "SeniorityLevel", void 0);
|
|
8325
|
+
__decorate([
|
|
8326
|
+
Field({ nullable: true }),
|
|
8327
|
+
MaxLength(1000),
|
|
8328
|
+
__metadata("design:type", String)
|
|
8329
|
+
], mjBizAppsCommonRelationship_.prototype, "DisplayName", void 0);
|
|
8328
8330
|
__decorate([
|
|
8329
8331
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
8330
8332
|
__metadata("design:type", Array)
|
|
8331
8333
|
], mjBizAppsCommonRelationship_.prototype, "ReadableFields___", void 0);
|
|
8332
8334
|
mjBizAppsCommonRelationship_ = __decorate([
|
|
8333
|
-
ObjectType({ description:
|
|
8335
|
+
ObjectType({ description: "Typed, directional links between people and organizations supporting Person-to-Person, Person-to-Organization, and Organization-to-Organization relationships" })
|
|
8334
8336
|
], mjBizAppsCommonRelationship_);
|
|
8335
8337
|
export { mjBizAppsCommonRelationship_ };
|
|
8336
8338
|
//****************************************************************************
|
|
@@ -8619,20 +8621,20 @@ __decorate([
|
|
|
8619
8621
|
__metadata("design:type", String)
|
|
8620
8622
|
], mjBizAppsCommonSeniorityLevel_.prototype, "ID", void 0);
|
|
8621
8623
|
__decorate([
|
|
8622
|
-
Field({ nullable: true, description:
|
|
8624
|
+
Field({ nullable: true, description: "Unique display name of the seniority level." }),
|
|
8623
8625
|
MaxLength(100),
|
|
8624
8626
|
__metadata("design:type", String)
|
|
8625
8627
|
], mjBizAppsCommonSeniorityLevel_.prototype, "Name", void 0);
|
|
8626
8628
|
__decorate([
|
|
8627
|
-
Field({ nullable: true, description:
|
|
8629
|
+
Field({ nullable: true, description: "Detailed description of the seniority level and role expectations." }),
|
|
8628
8630
|
__metadata("design:type", String)
|
|
8629
8631
|
], mjBizAppsCommonSeniorityLevel_.prototype, "Description", void 0);
|
|
8630
8632
|
__decorate([
|
|
8631
|
-
Field(() => Int, { nullable: true, description:
|
|
8633
|
+
Field(() => Int, { nullable: true, description: "Rank order sequence from entry-level/IC to executive/C-level." }),
|
|
8632
8634
|
__metadata("design:type", Number)
|
|
8633
8635
|
], mjBizAppsCommonSeniorityLevel_.prototype, "Sequence", void 0);
|
|
8634
8636
|
__decorate([
|
|
8635
|
-
Field({ nullable: true, description:
|
|
8637
|
+
Field({ nullable: true, description: "Lifecycle status (Active, Inactive) of the seniority level." }),
|
|
8636
8638
|
MaxLength(20),
|
|
8637
8639
|
__metadata("design:type", String)
|
|
8638
8640
|
], mjBizAppsCommonSeniorityLevel_.prototype, "Status", void 0);
|
|
@@ -8649,7 +8651,7 @@ __decorate([
|
|
|
8649
8651
|
__metadata("design:type", Array)
|
|
8650
8652
|
], mjBizAppsCommonSeniorityLevel_.prototype, "ReadableFields___", void 0);
|
|
8651
8653
|
mjBizAppsCommonSeniorityLevel_ = __decorate([
|
|
8652
|
-
ObjectType({ description:
|
|
8654
|
+
ObjectType({ description: "Career seniority levels carrying rank order (IC, Manager, Director, VP, C-Level) for skill and scope classification." })
|
|
8653
8655
|
], mjBizAppsCommonSeniorityLevel_);
|
|
8654
8656
|
export { mjBizAppsCommonSeniorityLevel_ };
|
|
8655
8657
|
//****************************************************************************
|