@memberjunction/core-entities 5.51.0 → 6.1.0-edge.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.
@@ -194,8 +194,16 @@ export declare const MJActionExecutionLogSchema: z.ZodObject<{
194
194
  __mj_CreatedAt: z.ZodDate;
195
195
  __mj_UpdatedAt: z.ZodDate;
196
196
  Message: z.ZodNullable<z.ZodString>;
197
+ EntityActionID: z.ZodNullable<z.ZodString>;
198
+ EntityActionInvocationTypeID: z.ZodNullable<z.ZodString>;
199
+ TargetEntityID: z.ZodNullable<z.ZodString>;
200
+ TargetRecordID: z.ZodNullable<z.ZodString>;
201
+ ResultParams: z.ZodNullable<z.ZodString>;
197
202
  Action: z.ZodString;
198
203
  User: z.ZodString;
204
+ EntityAction: z.ZodNullable<z.ZodString>;
205
+ EntityActionInvocationType: z.ZodNullable<z.ZodString>;
206
+ TargetEntity: z.ZodNullable<z.ZodString>;
199
207
  }, "strip", z.ZodTypeAny, {
200
208
  ID?: string;
201
209
  User?: string;
@@ -210,6 +218,14 @@ export declare const MJActionExecutionLogSchema: z.ZodObject<{
210
218
  UserID?: string;
211
219
  RetentionPeriod?: number;
212
220
  Message?: string;
221
+ EntityActionID?: string;
222
+ EntityActionInvocationTypeID?: string;
223
+ TargetEntityID?: string;
224
+ TargetRecordID?: string;
225
+ ResultParams?: string;
226
+ EntityAction?: string;
227
+ EntityActionInvocationType?: string;
228
+ TargetEntity?: string;
213
229
  }, {
214
230
  ID?: string;
215
231
  User?: string;
@@ -224,6 +240,14 @@ export declare const MJActionExecutionLogSchema: z.ZodObject<{
224
240
  UserID?: string;
225
241
  RetentionPeriod?: number;
226
242
  Message?: string;
243
+ EntityActionID?: string;
244
+ EntityActionInvocationTypeID?: string;
245
+ TargetEntityID?: string;
246
+ TargetRecordID?: string;
247
+ ResultParams?: string;
248
+ EntityAction?: string;
249
+ EntityActionInvocationType?: string;
250
+ TargetEntity?: string;
227
251
  }>;
228
252
  export type MJActionExecutionLogEntityType = z.infer<typeof MJActionExecutionLogSchema>;
229
253
  /**
@@ -303,6 +327,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
303
327
  __mj_CreatedAt: z.ZodDate;
304
328
  __mj_UpdatedAt: z.ZodDate;
305
329
  MediaModality: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Audio">, z.ZodLiteral<"Image">, z.ZodLiteral<"Video">]>>;
330
+ LogValue: z.ZodBoolean;
306
331
  Action: z.ZodString;
307
332
  }, "strip", z.ZodTypeAny, {
308
333
  ID?: string;
@@ -318,6 +343,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
318
343
  IsArray?: boolean;
319
344
  IsRequired?: boolean;
320
345
  MediaModality?: "Audio" | "Image" | "Video";
346
+ LogValue?: boolean;
321
347
  }, {
322
348
  ID?: string;
323
349
  __mj_CreatedAt?: Date;
@@ -332,6 +358,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
332
358
  IsArray?: boolean;
333
359
  IsRequired?: boolean;
334
360
  MediaModality?: "Audio" | "Image" | "Video";
361
+ LogValue?: boolean;
335
362
  }>;
336
363
  export type MJActionParamEntityType = z.infer<typeof MJActionParamSchema>;
337
364
  /**
@@ -4673,8 +4700,10 @@ export declare const MJAPIApplicationScopeSchema: z.ZodObject<{
4673
4700
  Priority: z.ZodNumber;
4674
4701
  __mj_CreatedAt: z.ZodDate;
4675
4702
  __mj_UpdatedAt: z.ZodDate;
4703
+ RowFilterID: z.ZodNullable<z.ZodString>;
4676
4704
  Application: z.ZodString;
4677
4705
  Scope: z.ZodString;
4706
+ RowFilter: z.ZodNullable<z.ZodString>;
4678
4707
  }, "strip", z.ZodTypeAny, {
4679
4708
  ID?: string;
4680
4709
  __mj_CreatedAt?: Date;
@@ -4685,8 +4714,10 @@ export declare const MJAPIApplicationScopeSchema: z.ZodObject<{
4685
4714
  ResourcePattern?: string;
4686
4715
  PatternType?: "Exclude" | "Include";
4687
4716
  IsDeny?: boolean;
4717
+ RowFilterID?: string;
4688
4718
  Application?: string;
4689
4719
  Scope?: string;
4720
+ RowFilter?: string;
4690
4721
  }, {
4691
4722
  ID?: string;
4692
4723
  __mj_CreatedAt?: Date;
@@ -4697,8 +4728,10 @@ export declare const MJAPIApplicationScopeSchema: z.ZodObject<{
4697
4728
  ResourcePattern?: string;
4698
4729
  PatternType?: "Exclude" | "Include";
4699
4730
  IsDeny?: boolean;
4731
+ RowFilterID?: string;
4700
4732
  Application?: string;
4701
4733
  Scope?: string;
4734
+ RowFilter?: string;
4702
4735
  }>;
4703
4736
  export type MJAPIApplicationScopeEntityType = z.infer<typeof MJAPIApplicationScopeSchema>;
4704
4737
  /**
@@ -4769,8 +4802,10 @@ export declare const MJAPIKeyScopeSchema: z.ZodObject<{
4769
4802
  PatternType: z.ZodUnion<[z.ZodLiteral<"Exclude">, z.ZodLiteral<"Include">]>;
4770
4803
  IsDeny: z.ZodBoolean;
4771
4804
  Priority: z.ZodNumber;
4805
+ RowFilterID: z.ZodNullable<z.ZodString>;
4772
4806
  APIKey: z.ZodString;
4773
4807
  Scope: z.ZodString;
4808
+ RowFilter: z.ZodNullable<z.ZodString>;
4774
4809
  }, "strip", z.ZodTypeAny, {
4775
4810
  ID?: string;
4776
4811
  __mj_CreatedAt?: Date;
@@ -4780,7 +4815,9 @@ export declare const MJAPIKeyScopeSchema: z.ZodObject<{
4780
4815
  ResourcePattern?: string;
4781
4816
  PatternType?: "Exclude" | "Include";
4782
4817
  IsDeny?: boolean;
4818
+ RowFilterID?: string;
4783
4819
  Scope?: string;
4820
+ RowFilter?: string;
4784
4821
  APIKeyID?: string;
4785
4822
  APIKey?: string;
4786
4823
  }, {
@@ -4792,7 +4829,9 @@ export declare const MJAPIKeyScopeSchema: z.ZodObject<{
4792
4829
  ResourcePattern?: string;
4793
4830
  PatternType?: "Exclude" | "Include";
4794
4831
  IsDeny?: boolean;
4832
+ RowFilterID?: string;
4795
4833
  Scope?: string;
4834
+ RowFilter?: string;
4796
4835
  APIKeyID?: string;
4797
4836
  APIKey?: string;
4798
4837
  }>;
@@ -7062,6 +7101,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
7062
7101
  SegmenterKey: z.ZodNullable<z.ZodString>;
7063
7102
  ParentChunkID: z.ZodNullable<z.ZodString>;
7064
7103
  ContentItem: z.ZodNullable<z.ZodString>;
7104
+ ParentChunk: z.ZodNullable<z.ZodString>;
7065
7105
  RootParentChunkID: z.ZodNullable<z.ZodString>;
7066
7106
  }, "strip", z.ZodTypeAny, {
7067
7107
  ID?: string;
@@ -7089,6 +7129,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
7089
7129
  Transcript?: string;
7090
7130
  SegmenterKey?: string;
7091
7131
  ParentChunkID?: string;
7132
+ ParentChunk?: string;
7092
7133
  RootParentChunkID?: string;
7093
7134
  }, {
7094
7135
  ID?: string;
@@ -7116,6 +7157,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
7116
7157
  Transcript?: string;
7117
7158
  SegmenterKey?: string;
7118
7159
  ParentChunkID?: string;
7160
+ ParentChunk?: string;
7119
7161
  RootParentChunkID?: string;
7120
7162
  }>;
7121
7163
  export type MJContentItemChunkEntityType = z.infer<typeof MJContentItemChunkSchema>;
@@ -9557,6 +9599,10 @@ export declare const MJEntitySchema: z.ZodObject<{
9557
9599
  DetectExternalChanges: z.ZodBoolean;
9558
9600
  ExternalDataSourceID: z.ZodNullable<z.ZodString>;
9559
9601
  ExternalObjectName: z.ZodNullable<z.ZodString>;
9602
+ GeneratedBaseViewName: z.ZodNullable<z.ZodString>;
9603
+ AllowDirectSQLInsert: z.ZodBoolean;
9604
+ AllowDirectSQLUpdate: z.ZodBoolean;
9605
+ AllowDirectSQLDelete: z.ZodBoolean;
9560
9606
  CodeName: z.ZodNullable<z.ZodString>;
9561
9607
  ClassName: z.ZodNullable<z.ZodString>;
9562
9608
  BaseTableCodeName: z.ZodNullable<z.ZodString>;
@@ -9634,6 +9680,10 @@ export declare const MJEntitySchema: z.ZodObject<{
9634
9680
  AllowCaching?: boolean;
9635
9681
  DetectExternalChanges?: boolean;
9636
9682
  ExternalDataSourceID?: string;
9683
+ GeneratedBaseViewName?: string;
9684
+ AllowDirectSQLInsert?: boolean;
9685
+ AllowDirectSQLUpdate?: boolean;
9686
+ AllowDirectSQLDelete?: boolean;
9637
9687
  BaseTableCodeName?: string;
9638
9688
  ParentEntity?: string;
9639
9689
  ParentBaseTable?: string;
@@ -9709,6 +9759,10 @@ export declare const MJEntitySchema: z.ZodObject<{
9709
9759
  AllowCaching?: boolean;
9710
9760
  DetectExternalChanges?: boolean;
9711
9761
  ExternalDataSourceID?: string;
9762
+ GeneratedBaseViewName?: string;
9763
+ AllowDirectSQLInsert?: boolean;
9764
+ AllowDirectSQLUpdate?: boolean;
9765
+ AllowDirectSQLDelete?: boolean;
9712
9766
  BaseTableCodeName?: string;
9713
9767
  ParentEntity?: string;
9714
9768
  ParentBaseTable?: string;
@@ -9734,20 +9788,20 @@ export declare const MJEntityActionFilterSchema: z.ZodObject<{
9734
9788
  __mj_CreatedAt?: Date;
9735
9789
  __mj_UpdatedAt?: Date;
9736
9790
  Status?: "Active" | "Disabled" | "Pending";
9737
- Sequence?: number;
9738
9791
  EntityActionID?: string;
9739
- ActionFilterID?: string;
9740
9792
  EntityAction?: string;
9793
+ Sequence?: number;
9794
+ ActionFilterID?: string;
9741
9795
  ActionFilter?: string;
9742
9796
  }, {
9743
9797
  ID?: string;
9744
9798
  __mj_CreatedAt?: Date;
9745
9799
  __mj_UpdatedAt?: Date;
9746
9800
  Status?: "Active" | "Disabled" | "Pending";
9747
- Sequence?: number;
9748
9801
  EntityActionID?: string;
9749
- ActionFilterID?: string;
9750
9802
  EntityAction?: string;
9803
+ Sequence?: number;
9804
+ ActionFilterID?: string;
9751
9805
  ActionFilter?: string;
9752
9806
  }>;
9753
9807
  export type MJEntityActionFilterEntityType = z.infer<typeof MJEntityActionFilterSchema>;
@@ -9819,11 +9873,12 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
9819
9873
  ID: z.ZodString;
9820
9874
  EntityActionID: z.ZodString;
9821
9875
  ActionParamID: z.ZodString;
9822
- ValueType: z.ZodUnion<[z.ZodLiteral<"Entity Field">, z.ZodLiteral<"Entity Object">, z.ZodLiteral<"Script">, z.ZodLiteral<"Static">]>;
9876
+ ValueType: z.ZodUnion<[z.ZodLiteral<"Entity Field">, z.ZodLiteral<"Entity Object">, z.ZodLiteral<"Entity Object Data">, z.ZodLiteral<"Script">, z.ZodLiteral<"Static">]>;
9823
9877
  Value: z.ZodNullable<z.ZodString>;
9824
9878
  Comments: z.ZodNullable<z.ZodString>;
9825
9879
  __mj_CreatedAt: z.ZodDate;
9826
9880
  __mj_UpdatedAt: z.ZodDate;
9881
+ LogValue: z.ZodNullable<z.ZodBoolean>;
9827
9882
  EntityAction: z.ZodString;
9828
9883
  ActionParam: z.ZodString;
9829
9884
  }, "strip", z.ZodTypeAny, {
@@ -9831,10 +9886,11 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
9831
9886
  __mj_CreatedAt?: Date;
9832
9887
  __mj_UpdatedAt?: Date;
9833
9888
  Comments?: string;
9834
- ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
9835
- Value?: string;
9836
9889
  EntityActionID?: string;
9837
9890
  EntityAction?: string;
9891
+ ValueType?: "Entity Field" | "Entity Object" | "Entity Object Data" | "Script" | "Static";
9892
+ LogValue?: boolean;
9893
+ Value?: string;
9838
9894
  ActionParamID?: string;
9839
9895
  ActionParam?: string;
9840
9896
  }, {
@@ -9842,10 +9898,11 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
9842
9898
  __mj_CreatedAt?: Date;
9843
9899
  __mj_UpdatedAt?: Date;
9844
9900
  Comments?: string;
9845
- ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
9846
- Value?: string;
9847
9901
  EntityActionID?: string;
9848
9902
  EntityAction?: string;
9903
+ ValueType?: "Entity Field" | "Entity Object" | "Entity Object Data" | "Script" | "Static";
9904
+ LogValue?: boolean;
9905
+ Value?: string;
9849
9906
  ActionParamID?: string;
9850
9907
  ActionParam?: string;
9851
9908
  }>;
@@ -9860,8 +9917,13 @@ export declare const MJEntityActionSchema: z.ZodObject<{
9860
9917
  __mj_CreatedAt: z.ZodDate;
9861
9918
  __mj_UpdatedAt: z.ZodDate;
9862
9919
  ID: z.ZodString;
9920
+ Sequence: z.ZodNumber;
9921
+ ScopeEntityID: z.ZodNullable<z.ZodString>;
9922
+ ScopeRecordID: z.ZodNullable<z.ZodString>;
9923
+ LoggingMode: z.ZodUnion<[z.ZodLiteral<"All">, z.ZodLiteral<"FailuresOnly">, z.ZodLiteral<"None">]>;
9863
9924
  Entity: z.ZodString;
9864
9925
  Action: z.ZodString;
9926
+ ScopeEntity: z.ZodNullable<z.ZodString>;
9865
9927
  }, "strip", z.ZodTypeAny, {
9866
9928
  ID?: string;
9867
9929
  EntityID?: string;
@@ -9871,6 +9933,11 @@ export declare const MJEntityActionSchema: z.ZodObject<{
9871
9933
  ActionID?: string;
9872
9934
  Action?: string;
9873
9935
  Status?: "Active" | "Disabled" | "Pending";
9936
+ Sequence?: number;
9937
+ ScopeEntityID?: string;
9938
+ ScopeRecordID?: string;
9939
+ LoggingMode?: "None" | "All" | "FailuresOnly";
9940
+ ScopeEntity?: string;
9874
9941
  }, {
9875
9942
  ID?: string;
9876
9943
  EntityID?: string;
@@ -9880,6 +9947,11 @@ export declare const MJEntityActionSchema: z.ZodObject<{
9880
9947
  ActionID?: string;
9881
9948
  Action?: string;
9882
9949
  Status?: "Active" | "Disabled" | "Pending";
9950
+ Sequence?: number;
9951
+ ScopeEntityID?: string;
9952
+ ScopeRecordID?: string;
9953
+ LoggingMode?: "None" | "All" | "FailuresOnly";
9954
+ ScopeEntity?: string;
9883
9955
  }>;
9884
9956
  export type MJEntityActionEntityType = z.infer<typeof MJEntityActionSchema>;
9885
9957
  /**
@@ -13065,30 +13137,30 @@ export declare const MJMLModelScoringBindingSchema: z.ZodObject<{
13065
13137
  ID?: string;
13066
13138
  __mj_CreatedAt?: Date;
13067
13139
  __mj_UpdatedAt?: Date;
13140
+ TargetEntityID?: string;
13141
+ TargetEntity?: string;
13068
13142
  Mode?: "OnDemand" | "Scheduled" | "Materialized";
13069
13143
  MLModelID?: string;
13070
13144
  RecordProcessID?: string;
13071
- TargetEntityID?: string;
13072
13145
  TargetColumn?: string;
13073
13146
  MaterializedResultID?: string;
13074
13147
  LastScoredAt?: Date;
13075
13148
  LastRowCount?: number;
13076
13149
  RecordProcess?: string;
13077
- TargetEntity?: string;
13078
13150
  }, {
13079
13151
  ID?: string;
13080
13152
  __mj_CreatedAt?: Date;
13081
13153
  __mj_UpdatedAt?: Date;
13154
+ TargetEntityID?: string;
13155
+ TargetEntity?: string;
13082
13156
  Mode?: "OnDemand" | "Scheduled" | "Materialized";
13083
13157
  MLModelID?: string;
13084
13158
  RecordProcessID?: string;
13085
- TargetEntityID?: string;
13086
13159
  TargetColumn?: string;
13087
13160
  MaterializedResultID?: string;
13088
13161
  LastScoredAt?: Date;
13089
13162
  LastRowCount?: number;
13090
13163
  RecordProcess?: string;
13091
- TargetEntity?: string;
13092
13164
  }>;
13093
13165
  export type MJMLModelScoringBindingEntityType = z.infer<typeof MJMLModelScoringBindingSchema>;
13094
13166
  /**
@@ -13195,10 +13267,10 @@ export declare const MJMLTrainingPipelineSchema: z.ZodObject<{
13195
13267
  Name?: string;
13196
13268
  Description?: string;
13197
13269
  Status?: "Archived" | "Draft" | "Published";
13198
- Algorithm?: string;
13199
- Version?: number;
13200
13270
  TargetEntityID?: string;
13201
13271
  TargetEntity?: string;
13272
+ Algorithm?: string;
13273
+ Version?: number;
13202
13274
  AlgorithmID?: string;
13203
13275
  TargetVariable?: string;
13204
13276
  ProblemType?: "classification" | "regression";
@@ -13215,10 +13287,10 @@ export declare const MJMLTrainingPipelineSchema: z.ZodObject<{
13215
13287
  Name?: string;
13216
13288
  Description?: string;
13217
13289
  Status?: "Archived" | "Draft" | "Published";
13218
- Algorithm?: string;
13219
- Version?: number;
13220
13290
  TargetEntityID?: string;
13221
13291
  TargetEntity?: string;
13292
+ Algorithm?: string;
13293
+ Version?: number;
13222
13294
  AlgorithmID?: string;
13223
13295
  TargetVariable?: string;
13224
13296
  ProblemType?: "classification" | "regression";
@@ -14974,27 +15046,27 @@ export declare const MJRecordLinkSchema: z.ZodObject<{
14974
15046
  ID?: string;
14975
15047
  __mj_CreatedAt?: Date;
14976
15048
  __mj_UpdatedAt?: Date;
14977
- Sequence?: number;
14978
- Metadata?: string;
14979
15049
  TargetEntityID?: string;
15050
+ TargetRecordID?: string;
14980
15051
  TargetEntity?: string;
15052
+ Sequence?: number;
15053
+ Metadata?: string;
14981
15054
  SourceEntityID?: string;
14982
15055
  SourceEntity?: string;
14983
15056
  SourceRecordID?: string;
14984
- TargetRecordID?: string;
14985
15057
  LinkType?: string;
14986
15058
  }, {
14987
15059
  ID?: string;
14988
15060
  __mj_CreatedAt?: Date;
14989
15061
  __mj_UpdatedAt?: Date;
14990
- Sequence?: number;
14991
- Metadata?: string;
14992
15062
  TargetEntityID?: string;
15063
+ TargetRecordID?: string;
14993
15064
  TargetEntity?: string;
15065
+ Sequence?: number;
15066
+ Metadata?: string;
14994
15067
  SourceEntityID?: string;
14995
15068
  SourceEntity?: string;
14996
15069
  SourceRecordID?: string;
14997
- TargetRecordID?: string;
14998
15070
  LinkType?: string;
14999
15071
  }>;
15000
15072
  export type MJRecordLinkEntityType = z.infer<typeof MJRecordLinkSchema>;
@@ -19053,6 +19125,7 @@ export declare const MJUserViewRunDetailSchema: z.ZodObject<{
19053
19125
  RecordID: z.ZodString;
19054
19126
  __mj_CreatedAt: z.ZodDate;
19055
19127
  __mj_UpdatedAt: z.ZodDate;
19128
+ UserViewRun: z.ZodString;
19056
19129
  UserViewID: z.ZodString;
19057
19130
  EntityID: z.ZodString;
19058
19131
  }, "strip", z.ZodTypeAny, {
@@ -19062,6 +19135,7 @@ export declare const MJUserViewRunDetailSchema: z.ZodObject<{
19062
19135
  __mj_CreatedAt?: Date;
19063
19136
  __mj_UpdatedAt?: Date;
19064
19137
  UserViewRunID?: string;
19138
+ UserViewRun?: string;
19065
19139
  UserViewID?: string;
19066
19140
  }, {
19067
19141
  ID?: string;
@@ -19070,6 +19144,7 @@ export declare const MJUserViewRunDetailSchema: z.ZodObject<{
19070
19144
  __mj_CreatedAt?: Date;
19071
19145
  __mj_UpdatedAt?: Date;
19072
19146
  UserViewRunID?: string;
19147
+ UserViewRun?: string;
19073
19148
  UserViewID?: string;
19074
19149
  }>;
19075
19150
  export type MJUserViewRunDetailEntityType = z.infer<typeof MJUserViewRunDetailSchema>;
@@ -20345,7 +20420,7 @@ export declare class MJActionExecutionLogEntity extends BaseEntity<MJActionExecu
20345
20420
  * * Field Name: Params
20346
20421
  * * Display Name: Params
20347
20422
  * * SQL Data Type: nvarchar(MAX)
20348
- * * Description: JSON-formatted input parameters passed to the action during execution, storing the exact values used for this specific run.
20423
+ * * Description: JSON-formatted input parameters AS THE ACTION WAS CALLED, captured once when execution starts and never overwritten. Custom and Generated actions mutate their parameter array in place, so this is the only durable record of the values actually passed in; the final state lives in ResultParams. Parameter values may be redacted per ActionParam.LogValue / EntityActionParam.LogValue, and whole-record value types are never written - see the parameter's own documentation.
20349
20424
  */
20350
20425
  get Params(): string | null;
20351
20426
  set Params(value: string | null);
@@ -20391,11 +20466,54 @@ export declare class MJActionExecutionLogEntity extends BaseEntity<MJActionExecu
20391
20466
  * * Field Name: Message
20392
20467
  * * Display Name: Message
20393
20468
  * * SQL Data Type: nvarchar(MAX)
20394
- * * Description: JSON-formatted output data or response from the action execution
20469
+ * * Description: Human-readable summary message returned by the action - the reason for a refusal, or a short description of what was done. Not the action's output data: parameter values live in Params and ResultParams, and the outcome code in ResultCode.
20395
20470
  */
20396
20471
  get Message(): string | null;
20397
20472
  set Message(value: string | null);
20398
20473
  /**
20474
+ * * Field Name: EntityActionID
20475
+ * * Display Name: Entity Action ID
20476
+ * * SQL Data Type: uniqueidentifier
20477
+ * * Related Entity/Foreign Key: MJ: Entity Actions (vwEntityActions.ID)
20478
+ * * Description: Optional. The Entity Action binding that caused this run. NULL when the action was invoked directly - from a resolver, a script, an agent step or a scheduled action.
20479
+ */
20480
+ get EntityActionID(): string | null;
20481
+ set EntityActionID(value: string | null);
20482
+ /**
20483
+ * * Field Name: EntityActionInvocationTypeID
20484
+ * * Display Name: Entity Action Invocation Type ID
20485
+ * * SQL Data Type: uniqueidentifier
20486
+ * * Related Entity/Foreign Key: MJ: Entity Action Invocation Types (vwEntityActionInvocationTypes.ID)
20487
+ * * Description: Optional. Which lifecycle event fired the binding - AfterUpdate, Validate, List and so on. Recorded separately from EntityActionID because one binding may be attached to several invocation types, and telling a Validate refusal apart from an AfterUpdate side effect is the first question anyone asks of this log.
20488
+ */
20489
+ get EntityActionInvocationTypeID(): string | null;
20490
+ set EntityActionInvocationTypeID(value: string | null);
20491
+ /**
20492
+ * * Field Name: TargetEntityID
20493
+ * * Display Name: Target Entity ID
20494
+ * * SQL Data Type: uniqueidentifier
20495
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
20496
+ * * Description: Optional. The entity of the record this run operated on. Deliberately denormalized rather than joined through EntityActionID: it survives the binding being deleted or retargeted, and it lets the log be queried by record with no join. Kept generic because every invoker has a subject - not only Entity Actions.
20497
+ */
20498
+ get TargetEntityID(): string | null;
20499
+ set TargetEntityID(value: string | null);
20500
+ /**
20501
+ * * Field Name: TargetRecordID
20502
+ * * Display Name: Target Record ID
20503
+ * * SQL Data Type: nvarchar(450)
20504
+ * * Description: Optional. The primary key of the record this run operated on, as text, paired with TargetEntityID. For multi-record invocation types (List, View) one log row is written per record, so this is always a single record.
20505
+ */
20506
+ get TargetRecordID(): string | null;
20507
+ set TargetRecordID(value: string | null);
20508
+ /**
20509
+ * * Field Name: ResultParams
20510
+ * * Display Name: Result Params
20511
+ * * SQL Data Type: nvarchar(MAX)
20512
+ * * Description: JSON-formatted FINAL parameter set captured when the action finished - the inputs as the action left them, plus any output parameters it produced. Written on FAILURE exactly as on success, under the same redaction rules: a failed run's partially-mutated inputs are usually the most diagnostic thing available, and an audit trail that records only successes is not an audit trail. Distinct from Params, which holds the values the action was called with and is never overwritten. NULL means one thing only - the run never finished (process died, host killed) - so it is a signal rather than an absence, and must not be backfilled.
20513
+ */
20514
+ get ResultParams(): string | null;
20515
+ set ResultParams(value: string | null);
20516
+ /**
20399
20517
  * * Field Name: Action
20400
20518
  * * Display Name: Action
20401
20519
  * * SQL Data Type: nvarchar(425)
@@ -20407,6 +20525,24 @@ export declare class MJActionExecutionLogEntity extends BaseEntity<MJActionExecu
20407
20525
  * * SQL Data Type: nvarchar(100)
20408
20526
  */
20409
20527
  get User(): string;
20528
+ /**
20529
+ * * Field Name: EntityAction
20530
+ * * Display Name: Entity Action
20531
+ * * SQL Data Type: nvarchar(425)
20532
+ */
20533
+ get EntityAction(): string | null;
20534
+ /**
20535
+ * * Field Name: EntityActionInvocationType
20536
+ * * Display Name: Entity Action Invocation Type
20537
+ * * SQL Data Type: nvarchar(255)
20538
+ */
20539
+ get EntityActionInvocationType(): string | null;
20540
+ /**
20541
+ * * Field Name: TargetEntity
20542
+ * * Display Name: Target Entity
20543
+ * * SQL Data Type: nvarchar(255)
20544
+ */
20545
+ get TargetEntity(): string | null;
20410
20546
  }
20411
20547
  /**
20412
20548
  * MJ: Action Filters - strongly typed entity sub-class
@@ -20710,6 +20846,15 @@ export declare class MJActionParamEntity extends BaseEntity<MJActionParamEntityT
20710
20846
  get MediaModality(): 'Audio' | 'Image' | 'Video' | null;
20711
20847
  set MediaModality(value: 'Audio' | 'Image' | 'Video' | null);
20712
20848
  /**
20849
+ * * Field Name: LogValue
20850
+ * * Display Name: Log Value
20851
+ * * SQL Data Type: bit
20852
+ * * Default Value: 1
20853
+ * * Description: Whether this parameter's VALUE may be written to ActionExecutionLog.Params. Default 1. Set to 0 for parameters that carry records, credentials or personal data - for example the Data payload of Execute Agent. Independent of the hard rule that Entity Action params of ValueType 'Entity Object' or 'Entity Object Data' are never logged regardless of this flag. When logging is suppressed the log records the parameter name, its type and a redaction marker, never the value.
20854
+ */
20855
+ get LogValue(): boolean;
20856
+ set LogValue(value: boolean);
20857
+ /**
20713
20858
  * * Field Name: Action
20714
20859
  * * Display Name: Action
20715
20860
  * * SQL Data Type: nvarchar(425)
@@ -34285,6 +34430,15 @@ export declare class MJAPIApplicationScopeEntity extends BaseEntity<MJAPIApplica
34285
34430
  */
34286
34431
  get __mj_UpdatedAt(): Date;
34287
34432
  /**
34433
+ * * Field Name: RowFilterID
34434
+ * * Display Name: Row Filter ID
34435
+ * * SQL Data Type: uniqueidentifier
34436
+ * * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
34437
+ * * Description: Optional row-level filter acting as a CEILING for every API key operating under this application — a restriction keys inherit and cannot widen. Composes with the per-key filter (APIKeyScope.RowFilterID) and with role-based RLS using AND, never OR, so no layer can broaden another. References the same RowLevelSecurityFilter catalog used by role-based RLS. NULL (the default) means the application imposes no row ceiling. The same authoring constraints as APIKeyScope.RowFilterID apply: exact single-entity resource pattern, all referenced columns must exist on that entity, and all referrers of the filter record must resolve to the same entity.
34438
+ */
34439
+ get RowFilterID(): string | null;
34440
+ set RowFilterID(value: string | null);
34441
+ /**
34288
34442
  * * Field Name: Application
34289
34443
  * * Display Name: Application Name
34290
34444
  * * SQL Data Type: nvarchar(100)
@@ -34296,6 +34450,12 @@ export declare class MJAPIApplicationScopeEntity extends BaseEntity<MJAPIApplica
34296
34450
  * * SQL Data Type: nvarchar(100)
34297
34451
  */
34298
34452
  get Scope(): string;
34453
+ /**
34454
+ * * Field Name: RowFilter
34455
+ * * Display Name: Row Filter
34456
+ * * SQL Data Type: nvarchar(100)
34457
+ */
34458
+ get RowFilter(): string | null;
34299
34459
  }
34300
34460
  /**
34301
34461
  * MJ: API Applications - strongly typed entity sub-class
@@ -34548,6 +34708,15 @@ export declare class MJAPIKeyScopeEntity extends BaseEntity<MJAPIKeyScopeEntityT
34548
34708
  get Priority(): number;
34549
34709
  set Priority(value: number);
34550
34710
  /**
34711
+ * * Field Name: RowFilterID
34712
+ * * Display Name: Row Filter ID
34713
+ * * SQL Data Type: uniqueidentifier
34714
+ * * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
34715
+ * * Description: Optional row-level filter narrowing WHICH RECORDS this scope grant applies to, in addition to the resource pattern that governs which entities. References the same RowLevelSecurityFilter catalog used by role-based RLS, so the filter text flows through the standard {{Token}} substitution engine and every existing RLS enforcement point (RunView, Load by primary key, save, delete, search). NULL (the default) means no row restriction — behavior identical to before this column existed. When set, the rule's ResourcePattern must name a single exact entity (no wildcards, no comma-separated lists), every column the filter references must resolve to a real non-virtual field on that entity, and every other referrer of the same filter record must resolve to that same entity. Critically, this filter is evaluated INDEPENDENTLY of the role-RLS exemption: a user exempt from role RLS is still bound by their key's filter, because narrowing a principal below what their roles allow is the entire purpose of a key ceiling.
34716
+ */
34717
+ get RowFilterID(): string | null;
34718
+ set RowFilterID(value: string | null);
34719
+ /**
34551
34720
  * * Field Name: APIKey
34552
34721
  * * Display Name: API Key
34553
34722
  * * SQL Data Type: nvarchar(255)
@@ -34559,6 +34728,12 @@ export declare class MJAPIKeyScopeEntity extends BaseEntity<MJAPIKeyScopeEntityT
34559
34728
  * * SQL Data Type: nvarchar(100)
34560
34729
  */
34561
34730
  get Scope(): string;
34731
+ /**
34732
+ * * Field Name: RowFilter
34733
+ * * Display Name: Row Filter
34734
+ * * SQL Data Type: nvarchar(100)
34735
+ */
34736
+ get RowFilter(): string | null;
34562
34737
  }
34563
34738
  /**
34564
34739
  * MJ: API Key Usage Logs - strongly typed entity sub-class
@@ -41076,7 +41251,7 @@ export declare class MJContentItemChunkEntity extends BaseEntity<MJContentItemCh
41076
41251
  set EndOffset(value: number | null);
41077
41252
  /**
41078
41253
  * * Field Name: StartMs
41079
- * * Display Name: Start (ms)
41254
+ * * Display Name: Start Milliseconds
41080
41255
  * * SQL Data Type: int
41081
41256
  * * Description: Start of this chunk's time window, in milliseconds from the beginning of the parent audio or video asset. Set by transcript- or window-based segmentation; enables time-windowed playback deep-links from a search result (for example 14:22-15:05 of a session recording). NULL for text segments.
41082
41257
  */
@@ -41084,7 +41259,7 @@ export declare class MJContentItemChunkEntity extends BaseEntity<MJContentItemCh
41084
41259
  set StartMs(value: number | null);
41085
41260
  /**
41086
41261
  * * Field Name: EndMs
41087
- * * Display Name: End (ms)
41262
+ * * Display Name: End Milliseconds
41088
41263
  * * SQL Data Type: int
41089
41264
  * * Description: End of this chunk's time window, in milliseconds from the beginning of the parent audio or video asset. See StartMs. NULL for text segments.
41090
41265
  */
@@ -41141,11 +41316,17 @@ export declare class MJContentItemChunkEntity extends BaseEntity<MJContentItemCh
41141
41316
  set ParentChunkID(value: string | null);
41142
41317
  /**
41143
41318
  * * Field Name: ContentItem
41144
- * * Display Name: Content Item
41319
+ * * Display Name: Content Item Name
41145
41320
  * * SQL Data Type: nvarchar(250)
41146
41321
  */
41147
41322
  get ContentItem(): string | null;
41148
41323
  /**
41324
+ * * Field Name: ParentChunk
41325
+ * * Display Name: Parent Chunk Name
41326
+ * * SQL Data Type: nvarchar(500)
41327
+ */
41328
+ get ParentChunk(): string | null;
41329
+ /**
41149
41330
  * * Field Name: RootParentChunkID
41150
41331
  * * Display Name: Root Parent Chunk
41151
41332
  * * SQL Data Type: uniqueidentifier
@@ -48348,6 +48529,10 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
48348
48529
  /**
48349
48530
  * Validate() method override for MJ: Entities entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
48350
48531
  * * Table-Level: This rule ensures that if deleting via the API is allowed and the delete type is set to 'Soft', then record merging must also be allowed. In other words, you cannot allow API deletes with a soft delete type without also allowing record merging.
48532
+ * * Table-Level: If direct SQL deletion is allowed, the delete type must be set to 'Hard' to ensure data integrity.
48533
+ * * Table-Level: Direct SQL operations (Insert, Update, and Delete) must be disabled if Track Record Changes or Trust Server Cache Completely is enabled, ensuring that cache integrity and change tracking are not bypassed.
48534
+ * * Table-Level: If the base view is marked as generated, the generated base view name must be null. A generated base view name can only be set when the base view is not marked as generated.
48535
+ * * Table-Level: If a generated base view name is specified, a base view must also be defined, and the generated base view name cannot be the same as the base view name to prevent naming conflicts.
48351
48536
  * @public
48352
48537
  * @method
48353
48538
  * @override
@@ -48361,6 +48546,34 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
48361
48546
  */
48362
48547
  ValidateAllowRecordMergeForSoftDeleteAPI(result: ValidationResult): void;
48363
48548
  /**
48549
+ * If direct SQL deletion is allowed, the delete type must be set to 'Hard' to ensure data integrity.
48550
+ * @param result - the ValidationResult object to add any errors or warnings to
48551
+ * @public
48552
+ * @method
48553
+ */
48554
+ ValidateDeleteTypeForDirectSQLDelete(result: ValidationResult): void;
48555
+ /**
48556
+ * Direct SQL operations (Insert, Update, and Delete) must be disabled if Track Record Changes or Trust Server Cache Completely is enabled, ensuring that cache integrity and change tracking are not bypassed.
48557
+ * @param result - the ValidationResult object to add any errors or warnings to
48558
+ * @public
48559
+ * @method
48560
+ */
48561
+ ValidateDirectSQLAndTrackingConstraints(result: ValidationResult): void;
48562
+ /**
48563
+ * If the base view is marked as generated, the generated base view name must be null. A generated base view name can only be set when the base view is not marked as generated.
48564
+ * @param result - the ValidationResult object to add any errors or warnings to
48565
+ * @public
48566
+ * @method
48567
+ */
48568
+ ValidateGeneratedBaseViewNameAndBaseViewGenerated(result: ValidationResult): void;
48569
+ /**
48570
+ * If a generated base view name is specified, a base view must also be defined, and the generated base view name cannot be the same as the base view name to prevent naming conflicts.
48571
+ * @param result - the ValidationResult object to add any errors or warnings to
48572
+ * @public
48573
+ * @method
48574
+ */
48575
+ ValidateGeneratedBaseViewNameDifferentFromBaseView(result: ValidationResult): void;
48576
+ /**
48364
48577
  * * Field Name: ID
48365
48578
  * * Display Name: ID
48366
48579
  * * SQL Data Type: uniqueidentifier
@@ -48939,7 +49152,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
48939
49152
  set DetectExternalChanges(value: boolean);
48940
49153
  /**
48941
49154
  * * Field Name: ExternalDataSourceID
48942
- * * Display Name: External Data Source ID
49155
+ * * Display Name: External Data Source
48943
49156
  * * SQL Data Type: uniqueidentifier
48944
49157
  * * Related Entity/Foreign Key: MJ: External Data Sources (vwExternalDataSources.ID)
48945
49158
  */
@@ -48954,6 +49167,41 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
48954
49167
  get ExternalObjectName(): string | null;
48955
49168
  set ExternalObjectName(value: string | null);
48956
49169
  /**
49170
+ * * Field Name: GeneratedBaseViewName
49171
+ * * Display Name: Generated Base View Name
49172
+ * * SQL Data Type: nvarchar(255)
49173
+ * * Description: When set, CodeGen generates the entity's full base view under THIS name instead of BaseView, and the application owns BaseView — which is expected to wrap it (SELECT g.*, <extras> FROM <GeneratedBaseViewName> g). This gives an entity a custom base view WITHOUT inheriting the generated SQL: related-entity display joins, geo columns and recursive root-ID columns keep regenerating underneath, so a foreign key added later still appears. NULL (the default, and every pre-existing row) means the previous all-or-nothing behaviour: BaseViewGenerated alone decides whether CodeGen writes BaseView, and there is no second view. BaseView remains the public surface — entity field discovery, permissions and the generated CRUD procedures all target it. SQL SERVER ONLY: layering relies on sp_refreshview to re-resolve the application-owned outer view's SELECT * against a regenerated inner view. PostgreSQL freezes a view's column list at creation and has no refresh equivalent, so CodeGen rejects this column on PostgreSQL rather than let the outer view go silently stale.
49174
+ */
49175
+ get GeneratedBaseViewName(): string | null;
49176
+ set GeneratedBaseViewName(value: string | null);
49177
+ /**
49178
+ * * Field Name: AllowDirectSQLInsert
49179
+ * * Display Name: Allow Direct SQL Insert
49180
+ * * SQL Data Type: bit
49181
+ * * Default Value: 0
49182
+ * * Description: When 1, this entity may be populated by INSERT statements that do not go through BaseEntity.Save() — bulk loads, ETL/integration sync, or rows created as a side effect of a stored procedure. Default 0, meaning every insert is expected to flow through BaseEntity so that record-change tracking, entity actions, validation and cache invalidation all run. This column DECLARES intent for the code paths and tooling that consult it; it does not and cannot prevent anyone from executing SQL. Requires TrackRecordChanges = 0 and TrustServerCacheCompletely = 0, because a direct insert produces neither an audit row nor a cache-invalidation event.
49183
+ */
49184
+ get AllowDirectSQLInsert(): boolean;
49185
+ set AllowDirectSQLInsert(value: boolean);
49186
+ /**
49187
+ * * Field Name: AllowDirectSQLUpdate
49188
+ * * Display Name: Allow Direct SQL Update
49189
+ * * SQL Data Type: bit
49190
+ * * Default Value: 0
49191
+ * * Description: When 1, this entity may be modified by UPDATE statements that do not go through BaseEntity.Save() — bulk backfills, integration sync, or maintenance routines. Default 0, meaning every update is expected to flow through BaseEntity so that record-change tracking, entity actions, validation and cache invalidation all run. This column DECLARES intent for the code paths and tooling that consult it; it does not and cannot prevent anyone from executing SQL. Requires TrackRecordChanges = 0 and TrustServerCacheCompletely = 0, because a direct update produces neither an audit row nor a cache-invalidation event.
49192
+ */
49193
+ get AllowDirectSQLUpdate(): boolean;
49194
+ set AllowDirectSQLUpdate(value: boolean);
49195
+ /**
49196
+ * * Field Name: AllowDirectSQLDelete
49197
+ * * Display Name: Allow Direct SQL Delete
49198
+ * * SQL Data Type: bit
49199
+ * * Default Value: 0
49200
+ * * Description: When 1, this entity may have rows removed by DELETE statements that do not go through BaseEntity.Delete() — purge and retention routines, or integration sync reconciling a remote source. Default 0, meaning every delete is expected to flow through BaseEntity so that record-change tracking, entity actions, cascade handling and cache invalidation all run. This column DECLARES intent for the code paths and tooling that consult it; it does not and cannot prevent anyone from executing SQL. Requires TrackRecordChanges = 0 and TrustServerCacheCompletely = 0, and additionally requires DeleteType = 'Hard' — a direct DELETE removes the row outright rather than setting DeletedAt, which would defeat soft delete.
49201
+ */
49202
+ get AllowDirectSQLDelete(): boolean;
49203
+ set AllowDirectSQLDelete(value: boolean);
49204
+ /**
48957
49205
  * * Field Name: CodeName
48958
49206
  * * Display Name: Code Name
48959
49207
  * * SQL Data Type: nvarchar(MAX)
@@ -49320,12 +49568,13 @@ export declare class MJEntityActionParamEntity extends BaseEntity<MJEntityAction
49320
49568
  * * Possible Values
49321
49569
  * * Entity Field
49322
49570
  * * Entity Object
49571
+ * * Entity Object Data
49323
49572
  * * Script
49324
49573
  * * Static
49325
- * * Description: Type of the value, which can be Static, Entity Object, or Script.
49574
+ * * Description: How the parameter value is produced at invocation time. Static = the literal Value (parsed as JSON when it parses). Entity Object = the live BaseEntity instance, for actions that call entity methods. Entity Object Data = entity.GetAll(), a plain object - use this for any action that SERIALIZES the value, such as the Data payload of Execute Agent, because a BaseEntity serializes to {} (its fields are getters, not enumerable own properties). Entity Field = the named field's value. Script = evaluated expression with the entity in scope.
49326
49575
  */
49327
- get ValueType(): 'Entity Field' | 'Entity Object' | 'Script' | 'Static';
49328
- set ValueType(value: 'Entity Field' | 'Entity Object' | 'Script' | 'Static');
49576
+ get ValueType(): 'Entity Field' | 'Entity Object' | 'Entity Object Data' | 'Script' | 'Static';
49577
+ set ValueType(value: 'Entity Field' | 'Entity Object' | 'Entity Object Data' | 'Script' | 'Static');
49329
49578
  /**
49330
49579
  * * Field Name: Value
49331
49580
  * * Display Name: Value
@@ -49357,6 +49606,14 @@ export declare class MJEntityActionParamEntity extends BaseEntity<MJEntityAction
49357
49606
  */
49358
49607
  get __mj_UpdatedAt(): Date;
49359
49608
  /**
49609
+ * * Field Name: LogValue
49610
+ * * Display Name: Log Value
49611
+ * * SQL Data Type: bit
49612
+ * * Description: Optional per-binding override of ActionParam.LogValue. NULL (the default) inherits the parameter definition. Set to 0 when this particular binding passes something sensitive through a parameter that is ordinarily safe to log - a message body through a generic Text parameter, for instance. Cannot re-enable logging for a value type the hard rule suppresses.
49613
+ */
49614
+ get LogValue(): boolean | null;
49615
+ set LogValue(value: boolean | null);
49616
+ /**
49360
49617
  * * Field Name: EntityAction
49361
49618
  * * Display Name: Entity Action
49362
49619
  * * SQL Data Type: nvarchar(425)
@@ -49394,6 +49651,21 @@ export declare class MJEntityActionEntity extends BaseEntity<MJEntityActionEntit
49394
49651
  */
49395
49652
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
49396
49653
  /**
49654
+ * Validate() method override for MJ: Entity Actions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
49655
+ * * Table-Level: Both Scope Entity and Scope Record must be provided together, or both must be left blank. You cannot specify one without the other.
49656
+ * @public
49657
+ * @method
49658
+ * @override
49659
+ */
49660
+ Validate(): ValidationResult;
49661
+ /**
49662
+ * Both Scope Entity and Scope Record must be provided together, or both must be left blank. You cannot specify one without the other.
49663
+ * @param result - the ValidationResult object to add any errors or warnings to
49664
+ * @public
49665
+ * @method
49666
+ */
49667
+ ValidateScopeEntityAndRecordCoexistence(result: ValidationResult): void;
49668
+ /**
49397
49669
  * * Field Name: EntityID
49398
49670
  * * Display Name: Entity ID
49399
49671
  * * SQL Data Type: uniqueidentifier
@@ -49446,6 +49718,46 @@ export declare class MJEntityActionEntity extends BaseEntity<MJEntityActionEntit
49446
49718
  get ID(): string;
49447
49719
  set ID(value: string);
49448
49720
  /**
49721
+ * * Field Name: Sequence
49722
+ * * Display Name: Sequence
49723
+ * * SQL Data Type: int
49724
+ * * Default Value: 0
49725
+ * * Description: Execution order when multiple Entity Actions are bound to the same entity and invocation type. Lower runs first; ties fall back to creation order. Defaults to 0 so existing rows are unaffected.
49726
+ */
49727
+ get Sequence(): number;
49728
+ set Sequence(value: number);
49729
+ /**
49730
+ * * Field Name: ScopeEntityID
49731
+ * * Display Name: Scope Entity ID
49732
+ * * SQL Data Type: uniqueidentifier
49733
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
49734
+ * * Description: Optional. Together with ScopeRecordID, narrows this Entity Action to records related to ONE specific record - for example a single Deal Type, Contract Type, Pipeline or Company - rather than every record of EntityID. NULL (the default) means the action applies to all records, which is the pre-existing behaviour. How a scope record relates to the subject record is resolved by the app that owns the scope entity; the framework only stores and filters on the pair.
49735
+ */
49736
+ get ScopeEntityID(): string | null;
49737
+ set ScopeEntityID(value: string | null);
49738
+ /**
49739
+ * * Field Name: ScopeRecordID
49740
+ * * Display Name: Scope Record ID
49741
+ * * SQL Data Type: nvarchar(450)
49742
+ * * Description: Optional. The primary key of the scope record, as text, paired with ScopeEntityID. Both columns are NULL or both are set (CK_EntityAction_Scope). Lets a configuration record such as a Deal Type surface "the workflows bound to me" as a real relationship rather than something buried in filter code.
49743
+ */
49744
+ get ScopeRecordID(): string | null;
49745
+ set ScopeRecordID(value: string | null);
49746
+ /**
49747
+ * * Field Name: LoggingMode
49748
+ * * Display Name: Logging Mode
49749
+ * * SQL Data Type: nvarchar(20)
49750
+ * * Default Value: All
49751
+ * * Value List Type: List
49752
+ * * Possible Values
49753
+ * * All
49754
+ * * FailuresOnly
49755
+ * * None
49756
+ * * Description: How much of this binding's activity reaches ActionExecutionLog. All (default) writes a row per invocation. FailuresOnly writes only runs that did not succeed - the right setting for a high-frequency binding on a busy entity, where the successful runs are noise. None disables logging for the binding entirely and should be rare, because it also removes the failure record.
49757
+ */
49758
+ get LoggingMode(): 'All' | 'FailuresOnly' | 'None';
49759
+ set LoggingMode(value: 'All' | 'FailuresOnly' | 'None');
49760
+ /**
49449
49761
  * * Field Name: Entity
49450
49762
  * * Display Name: Entity
49451
49763
  * * SQL Data Type: nvarchar(255)
@@ -49457,6 +49769,12 @@ export declare class MJEntityActionEntity extends BaseEntity<MJEntityActionEntit
49457
49769
  * * SQL Data Type: nvarchar(425)
49458
49770
  */
49459
49771
  get Action(): string;
49772
+ /**
49773
+ * * Field Name: ScopeEntity
49774
+ * * Display Name: Scope Entity
49775
+ * * SQL Data Type: nvarchar(255)
49776
+ */
49777
+ get ScopeEntity(): string | null;
49460
49778
  }
49461
49779
  /**
49462
49780
  * MJ: Entity AI Actions - strongly typed entity sub-class
@@ -75134,6 +75452,7 @@ export declare class MJUserViewRunDetailEntity extends BaseEntity<MJUserViewRunD
75134
75452
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
75135
75453
  /**
75136
75454
  * * Field Name: ID
75455
+ * * Display Name: ID
75137
75456
  * * SQL Data Type: uniqueidentifier
75138
75457
  * * Default Value: newsequentialid()
75139
75458
  */
@@ -75141,7 +75460,7 @@ export declare class MJUserViewRunDetailEntity extends BaseEntity<MJUserViewRunD
75141
75460
  set ID(value: string);
75142
75461
  /**
75143
75462
  * * Field Name: UserViewRunID
75144
- * * Display Name: User View Run ID
75463
+ * * Display Name: User View Run
75145
75464
  * * SQL Data Type: uniqueidentifier
75146
75465
  * * Related Entity/Foreign Key: MJ: User View Runs (vwUserViewRuns.ID)
75147
75466
  */
@@ -75170,6 +75489,12 @@ export declare class MJUserViewRunDetailEntity extends BaseEntity<MJUserViewRunD
75170
75489
  */
75171
75490
  get __mj_UpdatedAt(): Date;
75172
75491
  /**
75492
+ * * Field Name: UserViewRun
75493
+ * * Display Name: User View Run Name
75494
+ * * SQL Data Type: nvarchar(100)
75495
+ */
75496
+ get UserViewRun(): string;
75497
+ /**
75173
75498
  * * Field Name: UserViewID
75174
75499
  * * Display Name: User View
75175
75500
  * * SQL Data Type: uniqueidentifier