@memberjunction/core-entities 5.41.0 → 5.42.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.
@@ -10883,6 +10883,12 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
10883
10883
  DeleteIDLocation: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"body">, z.ZodLiteral<"header">, z.ZodLiteral<"n/a">, z.ZodLiteral<"path">]>>;
10884
10884
  IncrementalWatermarkField: z.ZodNullable<z.ZodString>;
10885
10885
  MetadataSource: z.ZodUnion<[z.ZodLiteral<"Custom">, z.ZodLiteral<"Declared">, z.ZodLiteral<"Discovered">]>;
10886
+ SupportsCreate: z.ZodBoolean;
10887
+ SupportsUpdate: z.ZodBoolean;
10888
+ SupportsDelete: z.ZodBoolean;
10889
+ SyncStrategy: z.ZodNullable<z.ZodString>;
10890
+ ContentHashApplicable: z.ZodBoolean;
10891
+ StableOrderingKey: z.ZodNullable<z.ZodString>;
10886
10892
  Integration: z.ZodString;
10887
10893
  }, "strip", z.ZodTypeAny, {
10888
10894
  ID?: string;
@@ -10923,6 +10929,12 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
10923
10929
  DeleteAPIPath?: string;
10924
10930
  DeleteIDLocation?: "path" | "body" | "header" | "n/a";
10925
10931
  IncrementalWatermarkField?: string;
10932
+ SupportsCreate?: boolean;
10933
+ SupportsUpdate?: boolean;
10934
+ SupportsDelete?: boolean;
10935
+ SyncStrategy?: string;
10936
+ ContentHashApplicable?: boolean;
10937
+ StableOrderingKey?: string;
10926
10938
  }, {
10927
10939
  ID?: string;
10928
10940
  __mj_CreatedAt?: Date;
@@ -10962,6 +10974,12 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
10962
10974
  DeleteAPIPath?: string;
10963
10975
  DeleteIDLocation?: "path" | "body" | "header" | "n/a";
10964
10976
  IncrementalWatermarkField?: string;
10977
+ SupportsCreate?: boolean;
10978
+ SupportsUpdate?: boolean;
10979
+ SupportsDelete?: boolean;
10980
+ SyncStrategy?: string;
10981
+ ContentHashApplicable?: boolean;
10982
+ StableOrderingKey?: string;
10965
10983
  }>;
10966
10984
  export type MJIntegrationObjectEntityType = z.infer<typeof MJIntegrationObjectSchema>;
10967
10985
  /**
@@ -11050,6 +11068,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
11050
11068
  ID: z.ZodString;
11051
11069
  CredentialTypeID: z.ZodNullable<z.ZodString>;
11052
11070
  Icon: z.ZodNullable<z.ZodString>;
11071
+ Configuration: z.ZodNullable<z.ZodString>;
11053
11072
  CredentialType: z.ZodNullable<z.ZodString>;
11054
11073
  }, "strip", z.ZodTypeAny, {
11055
11074
  ID?: string;
@@ -11057,6 +11076,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
11057
11076
  __mj_UpdatedAt?: Date;
11058
11077
  Name?: string;
11059
11078
  Description?: string;
11079
+ Configuration?: string;
11060
11080
  Icon?: string;
11061
11081
  CredentialTypeID?: string;
11062
11082
  CredentialType?: string;
@@ -11071,6 +11091,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
11071
11091
  __mj_UpdatedAt?: Date;
11072
11092
  Name?: string;
11073
11093
  Description?: string;
11094
+ Configuration?: string;
11074
11095
  Icon?: string;
11075
11096
  CredentialTypeID?: string;
11076
11097
  CredentialType?: string;
@@ -12552,6 +12573,163 @@ export declare const MJPermissionDomainSchema: z.ZodObject<{
12552
12573
  SupportsHierarchyInheritance?: boolean;
12553
12574
  }>;
12554
12575
  export type MJPermissionDomainEntityType = z.infer<typeof MJPermissionDomainSchema>;
12576
+ /**
12577
+ * zod schema definition for the entity MJ: Process Run Details
12578
+ */
12579
+ export declare const MJProcessRunDetailSchema: z.ZodObject<{
12580
+ ID: z.ZodString;
12581
+ ProcessRunID: z.ZodString;
12582
+ EntityID: z.ZodString;
12583
+ RecordID: z.ZodString;
12584
+ Status: z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Skipped">, z.ZodLiteral<"Succeeded">]>;
12585
+ StartedAt: z.ZodNullable<z.ZodDate>;
12586
+ CompletedAt: z.ZodNullable<z.ZodDate>;
12587
+ DurationMs: z.ZodNullable<z.ZodNumber>;
12588
+ AttemptCount: z.ZodNumber;
12589
+ ResultPayload: z.ZodNullable<z.ZodString>;
12590
+ ErrorMessage: z.ZodNullable<z.ZodString>;
12591
+ ActionExecutionLogID: z.ZodNullable<z.ZodString>;
12592
+ AIAgentRunID: z.ZodNullable<z.ZodString>;
12593
+ __mj_CreatedAt: z.ZodDate;
12594
+ __mj_UpdatedAt: z.ZodDate;
12595
+ Entity: z.ZodString;
12596
+ ActionExecutionLog: z.ZodNullable<z.ZodString>;
12597
+ AIAgentRun: z.ZodNullable<z.ZodString>;
12598
+ }, "strip", z.ZodTypeAny, {
12599
+ ID?: string;
12600
+ EntityID?: string;
12601
+ RecordID?: string;
12602
+ __mj_CreatedAt?: Date;
12603
+ __mj_UpdatedAt?: Date;
12604
+ Entity?: string;
12605
+ Status?: "Pending" | "Failed" | "Skipped" | "Succeeded";
12606
+ StartedAt?: Date;
12607
+ CompletedAt?: Date;
12608
+ ErrorMessage?: string;
12609
+ DurationMs?: number;
12610
+ ProcessRunID?: string;
12611
+ AttemptCount?: number;
12612
+ ResultPayload?: string;
12613
+ ActionExecutionLogID?: string;
12614
+ AIAgentRunID?: string;
12615
+ ActionExecutionLog?: string;
12616
+ AIAgentRun?: string;
12617
+ }, {
12618
+ ID?: string;
12619
+ EntityID?: string;
12620
+ RecordID?: string;
12621
+ __mj_CreatedAt?: Date;
12622
+ __mj_UpdatedAt?: Date;
12623
+ Entity?: string;
12624
+ Status?: "Pending" | "Failed" | "Skipped" | "Succeeded";
12625
+ StartedAt?: Date;
12626
+ CompletedAt?: Date;
12627
+ ErrorMessage?: string;
12628
+ DurationMs?: number;
12629
+ ProcessRunID?: string;
12630
+ AttemptCount?: number;
12631
+ ResultPayload?: string;
12632
+ ActionExecutionLogID?: string;
12633
+ AIAgentRunID?: string;
12634
+ ActionExecutionLog?: string;
12635
+ AIAgentRun?: string;
12636
+ }>;
12637
+ export type MJProcessRunDetailEntityType = z.infer<typeof MJProcessRunDetailSchema>;
12638
+ /**
12639
+ * zod schema definition for the entity MJ: Process Runs
12640
+ */
12641
+ export declare const MJProcessRunSchema: z.ZodObject<{
12642
+ ID: z.ZodString;
12643
+ RecordProcessID: z.ZodNullable<z.ZodString>;
12644
+ EntityID: z.ZodNullable<z.ZodString>;
12645
+ TriggeredBy: z.ZodUnion<[z.ZodLiteral<"Manual">, z.ZodLiteral<"OnChange">, z.ZodLiteral<"OnDemand">, z.ZodLiteral<"Schedule">]>;
12646
+ SourceType: z.ZodUnion<[z.ZodLiteral<"Array">, z.ZodLiteral<"Filter">, z.ZodLiteral<"Keyset">, z.ZodLiteral<"List">, z.ZodLiteral<"SingleRecord">, z.ZodLiteral<"View">]>;
12647
+ SourceID: z.ZodNullable<z.ZodString>;
12648
+ SourceFilter: z.ZodNullable<z.ZodString>;
12649
+ ScheduledJobRunID: z.ZodNullable<z.ZodString>;
12650
+ Status: z.ZodUnion<[z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Paused">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Running">]>;
12651
+ StartTime: z.ZodNullable<z.ZodDate>;
12652
+ EndTime: z.ZodNullable<z.ZodDate>;
12653
+ TotalItemCount: z.ZodNullable<z.ZodNumber>;
12654
+ ProcessedItems: z.ZodNumber;
12655
+ SuccessCount: z.ZodNumber;
12656
+ ErrorCount: z.ZodNumber;
12657
+ SkippedCount: z.ZodNumber;
12658
+ LastProcessedOffset: z.ZodNullable<z.ZodNumber>;
12659
+ LastProcessedKey: z.ZodNullable<z.ZodString>;
12660
+ BatchSize: z.ZodNullable<z.ZodNumber>;
12661
+ CancellationRequested: z.ZodBoolean;
12662
+ Configuration: z.ZodNullable<z.ZodString>;
12663
+ ErrorMessage: z.ZodNullable<z.ZodString>;
12664
+ StartedByUserID: z.ZodNullable<z.ZodString>;
12665
+ __mj_CreatedAt: z.ZodDate;
12666
+ __mj_UpdatedAt: z.ZodDate;
12667
+ RecordProcess: z.ZodNullable<z.ZodString>;
12668
+ Entity: z.ZodNullable<z.ZodString>;
12669
+ ScheduledJobRun: z.ZodNullable<z.ZodString>;
12670
+ StartedByUser: z.ZodNullable<z.ZodString>;
12671
+ }, "strip", z.ZodTypeAny, {
12672
+ ID?: string;
12673
+ EntityID?: string;
12674
+ __mj_CreatedAt?: Date;
12675
+ __mj_UpdatedAt?: Date;
12676
+ Entity?: string;
12677
+ Status?: "Pending" | "Failed" | "Cancelled" | "Completed" | "Running" | "Paused";
12678
+ Configuration?: string;
12679
+ SourceType?: "View" | "List" | "Array" | "Filter" | "Keyset" | "SingleRecord";
12680
+ ErrorMessage?: string;
12681
+ ScheduledJobRunID?: string;
12682
+ ScheduledJobRun?: string;
12683
+ BatchSize?: number;
12684
+ ErrorCount?: number;
12685
+ StartTime?: Date;
12686
+ EndTime?: Date;
12687
+ SourceID?: string;
12688
+ ProcessedItems?: number;
12689
+ StartedByUserID?: string;
12690
+ TotalItemCount?: number;
12691
+ LastProcessedOffset?: number;
12692
+ CancellationRequested?: boolean;
12693
+ StartedByUser?: string;
12694
+ RecordProcessID?: string;
12695
+ TriggeredBy?: "OnDemand" | "Manual" | "OnChange" | "Schedule";
12696
+ SourceFilter?: string;
12697
+ SuccessCount?: number;
12698
+ SkippedCount?: number;
12699
+ LastProcessedKey?: string;
12700
+ RecordProcess?: string;
12701
+ }, {
12702
+ ID?: string;
12703
+ EntityID?: string;
12704
+ __mj_CreatedAt?: Date;
12705
+ __mj_UpdatedAt?: Date;
12706
+ Entity?: string;
12707
+ Status?: "Pending" | "Failed" | "Cancelled" | "Completed" | "Running" | "Paused";
12708
+ Configuration?: string;
12709
+ SourceType?: "View" | "List" | "Array" | "Filter" | "Keyset" | "SingleRecord";
12710
+ ErrorMessage?: string;
12711
+ ScheduledJobRunID?: string;
12712
+ ScheduledJobRun?: string;
12713
+ BatchSize?: number;
12714
+ ErrorCount?: number;
12715
+ StartTime?: Date;
12716
+ EndTime?: Date;
12717
+ SourceID?: string;
12718
+ ProcessedItems?: number;
12719
+ StartedByUserID?: string;
12720
+ TotalItemCount?: number;
12721
+ LastProcessedOffset?: number;
12722
+ CancellationRequested?: boolean;
12723
+ StartedByUser?: string;
12724
+ RecordProcessID?: string;
12725
+ TriggeredBy?: "OnDemand" | "Manual" | "OnChange" | "Schedule";
12726
+ SourceFilter?: string;
12727
+ SuccessCount?: number;
12728
+ SkippedCount?: number;
12729
+ LastProcessedKey?: string;
12730
+ RecordProcess?: string;
12731
+ }>;
12732
+ export type MJProcessRunEntityType = z.infer<typeof MJProcessRunSchema>;
12555
12733
  /**
12556
12734
  * zod schema definition for the entity MJ: Projects
12557
12735
  */
@@ -13630,6 +13808,316 @@ export declare const MJRecordMergeLogSchema: z.ZodObject<{
13630
13808
  InitiatedByUser?: string;
13631
13809
  }>;
13632
13810
  export type MJRecordMergeLogEntityType = z.infer<typeof MJRecordMergeLogSchema>;
13811
+ /**
13812
+ * zod schema definition for the entity MJ: Record Process Categories
13813
+ */
13814
+ export declare const MJRecordProcessCategorySchema: z.ZodObject<{
13815
+ ID: z.ZodString;
13816
+ Name: z.ZodString;
13817
+ Description: z.ZodNullable<z.ZodString>;
13818
+ ParentID: z.ZodNullable<z.ZodString>;
13819
+ __mj_CreatedAt: z.ZodDate;
13820
+ __mj_UpdatedAt: z.ZodDate;
13821
+ Parent: z.ZodNullable<z.ZodString>;
13822
+ RootParentID: z.ZodNullable<z.ZodString>;
13823
+ }, "strip", z.ZodTypeAny, {
13824
+ ID?: string;
13825
+ __mj_CreatedAt?: Date;
13826
+ __mj_UpdatedAt?: Date;
13827
+ Name?: string;
13828
+ Description?: string;
13829
+ ParentID?: string;
13830
+ Parent?: string;
13831
+ RootParentID?: string;
13832
+ }, {
13833
+ ID?: string;
13834
+ __mj_CreatedAt?: Date;
13835
+ __mj_UpdatedAt?: Date;
13836
+ Name?: string;
13837
+ Description?: string;
13838
+ ParentID?: string;
13839
+ Parent?: string;
13840
+ RootParentID?: string;
13841
+ }>;
13842
+ export type MJRecordProcessCategoryEntityType = z.infer<typeof MJRecordProcessCategorySchema>;
13843
+ /**
13844
+ * zod schema definition for the entity MJ: Record Process Watermarks
13845
+ */
13846
+ export declare const MJRecordProcessWatermarkSchema: z.ZodObject<{
13847
+ ID: z.ZodString;
13848
+ RecordProcessID: z.ZodString;
13849
+ EntityID: z.ZodString;
13850
+ RecordID: z.ZodString;
13851
+ Hash: z.ZodString;
13852
+ LastProcessedAt: z.ZodDate;
13853
+ __mj_CreatedAt: z.ZodDate;
13854
+ __mj_UpdatedAt: z.ZodDate;
13855
+ RecordProcess: z.ZodString;
13856
+ Entity: z.ZodString;
13857
+ }, "strip", z.ZodTypeAny, {
13858
+ ID?: string;
13859
+ EntityID?: string;
13860
+ RecordID?: string;
13861
+ __mj_CreatedAt?: Date;
13862
+ __mj_UpdatedAt?: Date;
13863
+ Entity?: string;
13864
+ Hash?: string;
13865
+ RecordProcessID?: string;
13866
+ RecordProcess?: string;
13867
+ LastProcessedAt?: Date;
13868
+ }, {
13869
+ ID?: string;
13870
+ EntityID?: string;
13871
+ RecordID?: string;
13872
+ __mj_CreatedAt?: Date;
13873
+ __mj_UpdatedAt?: Date;
13874
+ Entity?: string;
13875
+ Hash?: string;
13876
+ RecordProcessID?: string;
13877
+ RecordProcess?: string;
13878
+ LastProcessedAt?: Date;
13879
+ }>;
13880
+ export type MJRecordProcessWatermarkEntityType = z.infer<typeof MJRecordProcessWatermarkSchema>;
13881
+ /**
13882
+ * zod schema definition for the entity MJ: Record Processes
13883
+ */
13884
+ export declare const MJRecordProcessSchema: z.ZodObject<{
13885
+ ID: z.ZodString;
13886
+ Name: z.ZodString;
13887
+ Description: z.ZodNullable<z.ZodString>;
13888
+ CategoryID: z.ZodNullable<z.ZodString>;
13889
+ EntityID: z.ZodString;
13890
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Draft">]>;
13891
+ WorkType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Agent">, z.ZodLiteral<"Infer">]>;
13892
+ ActionID: z.ZodNullable<z.ZodString>;
13893
+ AgentID: z.ZodNullable<z.ZodString>;
13894
+ PromptID: z.ZodNullable<z.ZodString>;
13895
+ ScopeType: z.ZodUnion<[z.ZodLiteral<"Filter">, z.ZodLiteral<"List">, z.ZodLiteral<"SingleRecord">, z.ZodLiteral<"View">]>;
13896
+ ScopeViewID: z.ZodNullable<z.ZodString>;
13897
+ ScopeListID: z.ZodNullable<z.ZodString>;
13898
+ ScopeFilter: z.ZodNullable<z.ZodString>;
13899
+ OnChangeEnabled: z.ZodBoolean;
13900
+ OnChangeInvocationType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"AfterCreate">, z.ZodLiteral<"AfterDelete">, z.ZodLiteral<"AfterUpdate">, z.ZodLiteral<"Validate">]>>;
13901
+ OnChangeFilter: z.ZodNullable<z.ZodString>;
13902
+ ScheduleEnabled: z.ZodBoolean;
13903
+ CronExpression: z.ZodNullable<z.ZodString>;
13904
+ Timezone: z.ZodNullable<z.ZodString>;
13905
+ OnDemandEnabled: z.ZodBoolean;
13906
+ InputMapping: z.ZodNullable<z.ZodString>;
13907
+ OutputMapping: z.ZodNullable<z.ZodString>;
13908
+ SkipUnchanged: z.ZodBoolean;
13909
+ WatermarkStrategy: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Checksum">, z.ZodLiteral<"None">, z.ZodLiteral<"UpdatedAt">]>>;
13910
+ BatchSize: z.ZodNullable<z.ZodNumber>;
13911
+ MaxConcurrency: z.ZodNullable<z.ZodNumber>;
13912
+ __mj_CreatedAt: z.ZodDate;
13913
+ __mj_UpdatedAt: z.ZodDate;
13914
+ Category: z.ZodNullable<z.ZodString>;
13915
+ Entity: z.ZodString;
13916
+ Action: z.ZodNullable<z.ZodString>;
13917
+ Agent: z.ZodNullable<z.ZodString>;
13918
+ Prompt: z.ZodNullable<z.ZodString>;
13919
+ ScopeView: z.ZodNullable<z.ZodString>;
13920
+ ScopeList: z.ZodNullable<z.ZodString>;
13921
+ }, "strip", z.ZodTypeAny, {
13922
+ ID?: string;
13923
+ EntityID?: string;
13924
+ __mj_CreatedAt?: Date;
13925
+ __mj_UpdatedAt?: Date;
13926
+ Entity?: string;
13927
+ ActionID?: string;
13928
+ Action?: string;
13929
+ Name?: string;
13930
+ Description?: string;
13931
+ Status?: "Active" | "Disabled" | "Draft";
13932
+ CategoryID?: string;
13933
+ Category?: string;
13934
+ AgentID?: string;
13935
+ Agent?: string;
13936
+ PromptID?: string;
13937
+ Prompt?: string;
13938
+ BatchSize?: number;
13939
+ ScheduleEnabled?: boolean;
13940
+ CronExpression?: string;
13941
+ WorkType?: "Action" | "Agent" | "Infer";
13942
+ ScopeType?: "View" | "List" | "Filter" | "SingleRecord";
13943
+ ScopeViewID?: string;
13944
+ ScopeListID?: string;
13945
+ ScopeFilter?: string;
13946
+ OnChangeEnabled?: boolean;
13947
+ OnChangeInvocationType?: "AfterCreate" | "AfterDelete" | "AfterUpdate" | "Validate";
13948
+ OnChangeFilter?: string;
13949
+ Timezone?: string;
13950
+ OnDemandEnabled?: boolean;
13951
+ InputMapping?: string;
13952
+ OutputMapping?: string;
13953
+ SkipUnchanged?: boolean;
13954
+ WatermarkStrategy?: "None" | "Checksum" | "UpdatedAt";
13955
+ MaxConcurrency?: number;
13956
+ ScopeView?: string;
13957
+ ScopeList?: string;
13958
+ }, {
13959
+ ID?: string;
13960
+ EntityID?: string;
13961
+ __mj_CreatedAt?: Date;
13962
+ __mj_UpdatedAt?: Date;
13963
+ Entity?: string;
13964
+ ActionID?: string;
13965
+ Action?: string;
13966
+ Name?: string;
13967
+ Description?: string;
13968
+ Status?: "Active" | "Disabled" | "Draft";
13969
+ CategoryID?: string;
13970
+ Category?: string;
13971
+ AgentID?: string;
13972
+ Agent?: string;
13973
+ PromptID?: string;
13974
+ Prompt?: string;
13975
+ BatchSize?: number;
13976
+ ScheduleEnabled?: boolean;
13977
+ CronExpression?: string;
13978
+ WorkType?: "Action" | "Agent" | "Infer";
13979
+ ScopeType?: "View" | "List" | "Filter" | "SingleRecord";
13980
+ ScopeViewID?: string;
13981
+ ScopeListID?: string;
13982
+ ScopeFilter?: string;
13983
+ OnChangeEnabled?: boolean;
13984
+ OnChangeInvocationType?: "AfterCreate" | "AfterDelete" | "AfterUpdate" | "Validate";
13985
+ OnChangeFilter?: string;
13986
+ Timezone?: string;
13987
+ OnDemandEnabled?: boolean;
13988
+ InputMapping?: string;
13989
+ OutputMapping?: string;
13990
+ SkipUnchanged?: boolean;
13991
+ WatermarkStrategy?: "None" | "Checksum" | "UpdatedAt";
13992
+ MaxConcurrency?: number;
13993
+ ScopeView?: string;
13994
+ ScopeList?: string;
13995
+ }>;
13996
+ export type MJRecordProcessEntityType = z.infer<typeof MJRecordProcessSchema>;
13997
+ /**
13998
+ * zod schema definition for the entity MJ: Remote Operation Categories
13999
+ */
14000
+ export declare const MJRemoteOperationCategorySchema: z.ZodObject<{
14001
+ ID: z.ZodString;
14002
+ Name: z.ZodString;
14003
+ Description: z.ZodNullable<z.ZodString>;
14004
+ ParentID: z.ZodNullable<z.ZodString>;
14005
+ __mj_CreatedAt: z.ZodDate;
14006
+ __mj_UpdatedAt: z.ZodDate;
14007
+ Parent: z.ZodNullable<z.ZodString>;
14008
+ RootParentID: z.ZodNullable<z.ZodString>;
14009
+ }, "strip", z.ZodTypeAny, {
14010
+ ID?: string;
14011
+ __mj_CreatedAt?: Date;
14012
+ __mj_UpdatedAt?: Date;
14013
+ Name?: string;
14014
+ Description?: string;
14015
+ ParentID?: string;
14016
+ Parent?: string;
14017
+ RootParentID?: string;
14018
+ }, {
14019
+ ID?: string;
14020
+ __mj_CreatedAt?: Date;
14021
+ __mj_UpdatedAt?: Date;
14022
+ Name?: string;
14023
+ Description?: string;
14024
+ ParentID?: string;
14025
+ Parent?: string;
14026
+ RootParentID?: string;
14027
+ }>;
14028
+ export type MJRemoteOperationCategoryEntityType = z.infer<typeof MJRemoteOperationCategorySchema>;
14029
+ /**
14030
+ * zod schema definition for the entity MJ: Remote Operations
14031
+ */
14032
+ export declare const MJRemoteOperationSchema: z.ZodObject<{
14033
+ ID: z.ZodString;
14034
+ Name: z.ZodString;
14035
+ OperationKey: z.ZodString;
14036
+ CategoryID: z.ZodNullable<z.ZodString>;
14037
+ Description: z.ZodNullable<z.ZodString>;
14038
+ InputTypeName: z.ZodNullable<z.ZodString>;
14039
+ InputTypeDefinition: z.ZodNullable<z.ZodString>;
14040
+ InputTypeIsArray: z.ZodBoolean;
14041
+ OutputTypeName: z.ZodNullable<z.ZodString>;
14042
+ OutputTypeDefinition: z.ZodNullable<z.ZodString>;
14043
+ OutputTypeIsArray: z.ZodBoolean;
14044
+ ExecutionMode: z.ZodUnion<[z.ZodLiteral<"LongRunning">, z.ZodLiteral<"Sync">]>;
14045
+ RequiredScope: z.ZodNullable<z.ZodString>;
14046
+ RequiresSystemUser: z.ZodBoolean;
14047
+ GenerationType: z.ZodUnion<[z.ZodLiteral<"AI">, z.ZodLiteral<"Default">, z.ZodLiteral<"Manual">]>;
14048
+ Code: z.ZodNullable<z.ZodString>;
14049
+ CodeApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Rejected">]>;
14050
+ CodeApprovedByUserID: z.ZodNullable<z.ZodString>;
14051
+ CodeApprovedAt: z.ZodNullable<z.ZodDate>;
14052
+ ContractFingerprint: z.ZodNullable<z.ZodString>;
14053
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
14054
+ CacheTTLSeconds: z.ZodNullable<z.ZodNumber>;
14055
+ TimeoutMS: z.ZodNullable<z.ZodNumber>;
14056
+ MaxConcurrency: z.ZodNullable<z.ZodNumber>;
14057
+ __mj_CreatedAt: z.ZodDate;
14058
+ __mj_UpdatedAt: z.ZodDate;
14059
+ Category: z.ZodNullable<z.ZodString>;
14060
+ CodeApprovedByUser: z.ZodNullable<z.ZodString>;
14061
+ }, "strip", z.ZodTypeAny, {
14062
+ ID?: string;
14063
+ __mj_CreatedAt?: Date;
14064
+ __mj_UpdatedAt?: Date;
14065
+ Name?: string;
14066
+ Description?: string;
14067
+ Status?: "Active" | "Disabled" | "Pending";
14068
+ Code?: string;
14069
+ CategoryID?: string;
14070
+ CodeApprovalStatus?: "Pending" | "Approved" | "Rejected";
14071
+ CodeApprovedByUserID?: string;
14072
+ CodeApprovedAt?: Date;
14073
+ Category?: string;
14074
+ CodeApprovedByUser?: string;
14075
+ ExecutionMode?: "Sync" | "LongRunning";
14076
+ CacheTTLSeconds?: number;
14077
+ MaxConcurrency?: number;
14078
+ OperationKey?: string;
14079
+ InputTypeName?: string;
14080
+ InputTypeDefinition?: string;
14081
+ InputTypeIsArray?: boolean;
14082
+ OutputTypeName?: string;
14083
+ OutputTypeDefinition?: string;
14084
+ OutputTypeIsArray?: boolean;
14085
+ RequiredScope?: string;
14086
+ RequiresSystemUser?: boolean;
14087
+ GenerationType?: "Default" | "Manual" | "AI";
14088
+ ContractFingerprint?: string;
14089
+ TimeoutMS?: number;
14090
+ }, {
14091
+ ID?: string;
14092
+ __mj_CreatedAt?: Date;
14093
+ __mj_UpdatedAt?: Date;
14094
+ Name?: string;
14095
+ Description?: string;
14096
+ Status?: "Active" | "Disabled" | "Pending";
14097
+ Code?: string;
14098
+ CategoryID?: string;
14099
+ CodeApprovalStatus?: "Pending" | "Approved" | "Rejected";
14100
+ CodeApprovedByUserID?: string;
14101
+ CodeApprovedAt?: Date;
14102
+ Category?: string;
14103
+ CodeApprovedByUser?: string;
14104
+ ExecutionMode?: "Sync" | "LongRunning";
14105
+ CacheTTLSeconds?: number;
14106
+ MaxConcurrency?: number;
14107
+ OperationKey?: string;
14108
+ InputTypeName?: string;
14109
+ InputTypeDefinition?: string;
14110
+ InputTypeIsArray?: boolean;
14111
+ OutputTypeName?: string;
14112
+ OutputTypeDefinition?: string;
14113
+ OutputTypeIsArray?: boolean;
14114
+ RequiredScope?: string;
14115
+ RequiresSystemUser?: boolean;
14116
+ GenerationType?: "Default" | "Manual" | "AI";
14117
+ ContractFingerprint?: string;
14118
+ TimeoutMS?: number;
14119
+ }>;
14120
+ export type MJRemoteOperationEntityType = z.infer<typeof MJRemoteOperationSchema>;
13633
14121
  /**
13634
14122
  * zod schema definition for the entity MJ: Report Categories
13635
14123
  */
@@ -14298,12 +14786,12 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
14298
14786
  CronExpression?: string;
14299
14787
  LockedAt?: Date;
14300
14788
  LockedByInstance?: string;
14789
+ SuccessCount?: number;
14301
14790
  Timezone?: string;
14302
14791
  JobTypeID?: string;
14303
14792
  LastRunAt?: Date;
14304
14793
  NextRunAt?: Date;
14305
14794
  RunCount?: number;
14306
- SuccessCount?: number;
14307
14795
  FailureCount?: number;
14308
14796
  NotifyOnSuccess?: boolean;
14309
14797
  NotifyOnFailure?: boolean;
@@ -14332,12 +14820,12 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
14332
14820
  CronExpression?: string;
14333
14821
  LockedAt?: Date;
14334
14822
  LockedByInstance?: string;
14823
+ SuccessCount?: number;
14335
14824
  Timezone?: string;
14336
14825
  JobTypeID?: string;
14337
14826
  LastRunAt?: Date;
14338
14827
  NextRunAt?: Date;
14339
14828
  RunCount?: number;
14340
- SuccessCount?: number;
14341
14829
  FailureCount?: number;
14342
14830
  NotifyOnSuccess?: boolean;
14343
14831
  NotifyOnFailure?: boolean;
@@ -21360,7 +21848,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
21360
21848
  get SourceConversation(): string | null;
21361
21849
  /**
21362
21850
  * * Field Name: SourceConversationDetail
21363
- * * Display Name: Source Conversation Detail
21851
+ * * Display Name: Source Conversation Detail Name
21364
21852
  * * SQL Data Type: nvarchar(100)
21365
21853
  */
21366
21854
  get SourceConversationDetail(): string | null;
@@ -45444,6 +45932,16 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
45444
45932
  */
45445
45933
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
45446
45934
  /**
45935
+ * MJ: Entity Documents - Delete method override to wrap in transaction since CascadeDeletes is true.
45936
+ * Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
45937
+ * @public
45938
+ * @method
45939
+ * @override
45940
+ * @memberof MJEntityDocumentEntity
45941
+ * @returns {Promise<boolean>} - true if successful, false otherwise
45942
+ */
45943
+ Delete(options?: EntityDeleteOptions): Promise<boolean>;
45944
+ /**
45447
45945
  * Validate() method override for MJ: Entity Documents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
45448
45946
  * * Table-Level: This rule ensures that both the Potential Match Threshold and the Absolute Match Threshold are numbers between 0 and 1, inclusive. Additionally, the Potential Match Threshold must not be higher than the Absolute Match Threshold.
45449
45947
  * @public
@@ -49325,7 +49823,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
49325
49823
  set ID(value: string);
49326
49824
  /**
49327
49825
  * * Field Name: IntegrationID
49328
- * * Display Name: Integration
49826
+ * * Display Name: Integration ID
49329
49827
  * * SQL Data Type: uniqueidentifier
49330
49828
  * * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
49331
49829
  * * Description: Foreign key to the Integration that owns this object
@@ -49666,8 +50164,60 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
49666
50164
  get MetadataSource(): 'Custom' | 'Declared' | 'Discovered';
49667
50165
  set MetadataSource(value: 'Custom' | 'Declared' | 'Discovered');
49668
50166
  /**
50167
+ * * Field Name: SupportsCreate
50168
+ * * Display Name: Supports Create
50169
+ * * SQL Data Type: bit
50170
+ * * Default Value: 0
50171
+ * * Description: Whether this object supports record creation in the external system (per-operation granularity beyond SupportsWrite). Drives whether the generic CreateRecord path is wired and whether the object is offered for write-back create.
50172
+ */
50173
+ get SupportsCreate(): boolean;
50174
+ set SupportsCreate(value: boolean);
50175
+ /**
50176
+ * * Field Name: SupportsUpdate
50177
+ * * Display Name: Supports Update
50178
+ * * SQL Data Type: bit
50179
+ * * Default Value: 0
50180
+ * * Description: Whether this object supports record updates in the external system (per-operation granularity beyond SupportsWrite).
50181
+ */
50182
+ get SupportsUpdate(): boolean;
50183
+ set SupportsUpdate(value: boolean);
50184
+ /**
50185
+ * * Field Name: SupportsDelete
50186
+ * * Display Name: Supports Delete
50187
+ * * SQL Data Type: bit
50188
+ * * Default Value: 0
50189
+ * * Description: Whether this object supports record deletion/tombstoning in the external system (per-operation granularity beyond SupportsWrite).
50190
+ */
50191
+ get SupportsDelete(): boolean;
50192
+ set SupportsDelete(value: boolean);
50193
+ /**
50194
+ * * Field Name: SyncStrategy
50195
+ * * Display Name: Sync Strategy
50196
+ * * SQL Data Type: nvarchar(50)
50197
+ * * Description: Declared incremental sync strategy for this object (e.g. WatermarkIncremental, ContentHash, FullSnapshot). Informs how the engine narrows subsequent syncs.
50198
+ */
50199
+ get SyncStrategy(): string | null;
50200
+ set SyncStrategy(value: string | null);
50201
+ /**
50202
+ * * Field Name: ContentHashApplicable
50203
+ * * Display Name: Content Hash Applicable
50204
+ * * SQL Data Type: bit
50205
+ * * Default Value: 1
50206
+ * * Description: Whether per-record content hashing is meaningful for this object (false for append-only/event streams where every row is new). Controls whether the engine uses content-hash to skip unchanged-row writes.
50207
+ */
50208
+ get ContentHashApplicable(): boolean;
50209
+ set ContentHashApplicable(value: boolean);
50210
+ /**
50211
+ * * Field Name: StableOrderingKey
50212
+ * * Display Name: Stable Ordering Key
50213
+ * * SQL Data Type: nvarchar(255)
50214
+ * * Description: Stable, monotonic ordering column (usually the PK) used for keyset/no-watermark resume of a scan. Null when the object has no stable key.
50215
+ */
50216
+ get StableOrderingKey(): string | null;
50217
+ set StableOrderingKey(value: string | null);
50218
+ /**
49669
50219
  * * Field Name: Integration
49670
- * * Display Name: Integration Name
50220
+ * * Display Name: Integration
49671
50221
  * * SQL Data Type: nvarchar(100)
49672
50222
  */
49673
50223
  get Integration(): string;
@@ -49979,6 +50529,14 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
49979
50529
  get Icon(): string | null;
49980
50530
  set Icon(value: string | null);
49981
50531
  /**
50532
+ * * Field Name: Configuration
50533
+ * * Display Name: Configuration
50534
+ * * SQL Data Type: nvarchar(MAX)
50535
+ * * Description: Integration-level connector configuration JSON (e.g. out-of-scope object families, vendor-specific tuning). Free-form JSON the connector reads at runtime.
50536
+ */
50537
+ get Configuration(): string | null;
50538
+ set Configuration(value: string | null);
50539
+ /**
49982
50540
  * * Field Name: CredentialType
49983
50541
  * * Display Name: Credential Type Name
49984
50542
  * * SQL Data Type: nvarchar(100)
@@ -54031,6 +54589,458 @@ export declare class MJPermissionDomainEntity extends BaseEntity<MJPermissionDom
54031
54589
  */
54032
54590
  get __mj_UpdatedAt(): Date;
54033
54591
  }
54592
+ /**
54593
+ * MJ: Process Run Details - strongly typed entity sub-class
54594
+ * * Schema: __mj
54595
+ * * Base Table: ProcessRunDetail
54596
+ * * Base View: vwProcessRunDetails
54597
+ * * @description Per-record result within a Process Run: powers audit, resume (skip already-done records), and the run-viewer UX. One row per processed record. EXAMPLE: customer CUST-00417 -> Succeeded with ResultPayload {"satisfaction":"High","sentiment":0.82} and a link to its AI Agent Run; customer CUST-00418 -> Failed with ErrorMessage "Model timeout".
54598
+ * * Primary Key: ID
54599
+ * @extends {BaseEntity}
54600
+ * @class
54601
+ * @public
54602
+ */
54603
+ export declare class MJProcessRunDetailEntity extends BaseEntity<MJProcessRunDetailEntityType> {
54604
+ /**
54605
+ * Loads the MJ: Process Run Details record from the database
54606
+ * @param ID: string - primary key value to load the MJ: Process Run Details record.
54607
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
54608
+ * @returns {Promise<boolean>} - true if successful, false otherwise
54609
+ * @public
54610
+ * @async
54611
+ * @memberof MJProcessRunDetailEntity
54612
+ * @method
54613
+ * @override
54614
+ */
54615
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
54616
+ /**
54617
+ * * Field Name: ID
54618
+ * * Display Name: ID
54619
+ * * SQL Data Type: uniqueidentifier
54620
+ * * Default Value: newsequentialid()
54621
+ */
54622
+ get ID(): string;
54623
+ set ID(value: string);
54624
+ /**
54625
+ * * Field Name: ProcessRunID
54626
+ * * Display Name: Process Run
54627
+ * * SQL Data Type: uniqueidentifier
54628
+ * * Related Entity/Foreign Key: MJ: Process Runs (vwProcessRuns.ID)
54629
+ * * Description: Foreign key to the parent Process Run
54630
+ */
54631
+ get ProcessRunID(): string;
54632
+ set ProcessRunID(value: string);
54633
+ /**
54634
+ * * Field Name: EntityID
54635
+ * * Display Name: Entity ID
54636
+ * * SQL Data Type: uniqueidentifier
54637
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
54638
+ * * Description: Foreign key to the entity of the processed record. Stored (not inherited) because a single run may span entities for ad-hoc / engine-driven runs.
54639
+ */
54640
+ get EntityID(): string;
54641
+ set EntityID(value: string);
54642
+ /**
54643
+ * * Field Name: RecordID
54644
+ * * Display Name: Record ID
54645
+ * * SQL Data Type: nvarchar(450)
54646
+ * * Description: Primary key of the processed record, stored as text to remain composite-key safe
54647
+ */
54648
+ get RecordID(): string;
54649
+ set RecordID(value: string);
54650
+ /**
54651
+ * * Field Name: Status
54652
+ * * Display Name: Status
54653
+ * * SQL Data Type: nvarchar(20)
54654
+ * * Default Value: Pending
54655
+ * * Value List Type: List
54656
+ * * Possible Values
54657
+ * * Failed
54658
+ * * Pending
54659
+ * * Skipped
54660
+ * * Succeeded
54661
+ * * Description: Per-record status: Pending, Succeeded, Failed, or Skipped
54662
+ */
54663
+ get Status(): 'Failed' | 'Pending' | 'Skipped' | 'Succeeded';
54664
+ set Status(value: 'Failed' | 'Pending' | 'Skipped' | 'Succeeded');
54665
+ /**
54666
+ * * Field Name: StartedAt
54667
+ * * Display Name: Started At
54668
+ * * SQL Data Type: datetimeoffset
54669
+ * * Description: When processing of this record started
54670
+ */
54671
+ get StartedAt(): Date | null;
54672
+ set StartedAt(value: Date | null);
54673
+ /**
54674
+ * * Field Name: CompletedAt
54675
+ * * Display Name: Completed At
54676
+ * * SQL Data Type: datetimeoffset
54677
+ * * Description: When processing of this record completed
54678
+ */
54679
+ get CompletedAt(): Date | null;
54680
+ set CompletedAt(value: Date | null);
54681
+ /**
54682
+ * * Field Name: DurationMs
54683
+ * * Display Name: Duration (ms)
54684
+ * * SQL Data Type: int
54685
+ * * Description: Processing duration for this record in milliseconds
54686
+ */
54687
+ get DurationMs(): number | null;
54688
+ set DurationMs(value: number | null);
54689
+ /**
54690
+ * * Field Name: AttemptCount
54691
+ * * Display Name: Attempt Count
54692
+ * * SQL Data Type: int
54693
+ * * Default Value: 0
54694
+ * * Description: Number of processing attempts for this record (supports retry)
54695
+ */
54696
+ get AttemptCount(): number;
54697
+ set AttemptCount(value: number);
54698
+ /**
54699
+ * * Field Name: ResultPayload
54700
+ * * Display Name: Result Payload
54701
+ * * SQL Data Type: nvarchar(MAX)
54702
+ * * Description: Structured output payload (JSON) produced for this record
54703
+ */
54704
+ get ResultPayload(): string | null;
54705
+ set ResultPayload(value: string | null);
54706
+ /**
54707
+ * * Field Name: ErrorMessage
54708
+ * * Display Name: Error Message
54709
+ * * SQL Data Type: nvarchar(MAX)
54710
+ * * Description: Per-record error message when Status=Failed
54711
+ */
54712
+ get ErrorMessage(): string | null;
54713
+ set ErrorMessage(value: string | null);
54714
+ /**
54715
+ * * Field Name: ActionExecutionLogID
54716
+ * * Display Name: Action Execution Log ID
54717
+ * * SQL Data Type: uniqueidentifier
54718
+ * * Related Entity/Foreign Key: MJ: Action Execution Logs (vwActionExecutionLogs.ID)
54719
+ * * Description: Foreign key to the Action Execution Log for deep tracing, when the work was an Action
54720
+ */
54721
+ get ActionExecutionLogID(): string | null;
54722
+ set ActionExecutionLogID(value: string | null);
54723
+ /**
54724
+ * * Field Name: AIAgentRunID
54725
+ * * Display Name: AI Agent Run ID
54726
+ * * SQL Data Type: uniqueidentifier
54727
+ * * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
54728
+ * * Description: Foreign key to the AI Agent Run for deep tracing, when the work was an Agent
54729
+ */
54730
+ get AIAgentRunID(): string | null;
54731
+ set AIAgentRunID(value: string | null);
54732
+ /**
54733
+ * * Field Name: __mj_CreatedAt
54734
+ * * Display Name: Created At
54735
+ * * SQL Data Type: datetimeoffset
54736
+ * * Default Value: getutcdate()
54737
+ */
54738
+ get __mj_CreatedAt(): Date;
54739
+ /**
54740
+ * * Field Name: __mj_UpdatedAt
54741
+ * * Display Name: Updated At
54742
+ * * SQL Data Type: datetimeoffset
54743
+ * * Default Value: getutcdate()
54744
+ */
54745
+ get __mj_UpdatedAt(): Date;
54746
+ /**
54747
+ * * Field Name: Entity
54748
+ * * Display Name: Entity Name
54749
+ * * SQL Data Type: nvarchar(255)
54750
+ */
54751
+ get Entity(): string;
54752
+ /**
54753
+ * * Field Name: ActionExecutionLog
54754
+ * * Display Name: Action Execution Log
54755
+ * * SQL Data Type: nvarchar(425)
54756
+ */
54757
+ get ActionExecutionLog(): string | null;
54758
+ /**
54759
+ * * Field Name: AIAgentRun
54760
+ * * Display Name: AI Agent Run
54761
+ * * SQL Data Type: nvarchar(255)
54762
+ */
54763
+ get AIAgentRun(): string | null;
54764
+ }
54765
+ /**
54766
+ * MJ: Process Runs - strongly typed entity sub-class
54767
+ * * Schema: __mj
54768
+ * * Base Table: ProcessRun
54769
+ * * Base View: vwProcessRuns
54770
+ * * @description Source-agnostic header for one execution of any set-processing job. Deliberately generic: a Record Process run sets RecordProcessID, but legacy/engine-driven jobs (e.g., a geocoding sweep or vector sync) keep their own source tables and still record a run here with RecordProcessID = NULL, giving every batch a uniform audit + resume trail. EXAMPLE: the Saturday 2am run of "Weekly Customer Health Summary" over 1,284 active customers (RecordProcessID set, TriggeredBy=Schedule); or a nightly geocoding sweep (RecordProcessID NULL).
54771
+ * * Primary Key: ID
54772
+ * @extends {BaseEntity}
54773
+ * @class
54774
+ * @public
54775
+ */
54776
+ export declare class MJProcessRunEntity extends BaseEntity<MJProcessRunEntityType> {
54777
+ /**
54778
+ * Loads the MJ: Process Runs record from the database
54779
+ * @param ID: string - primary key value to load the MJ: Process Runs record.
54780
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
54781
+ * @returns {Promise<boolean>} - true if successful, false otherwise
54782
+ * @public
54783
+ * @async
54784
+ * @memberof MJProcessRunEntity
54785
+ * @method
54786
+ * @override
54787
+ */
54788
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
54789
+ /**
54790
+ * * Field Name: ID
54791
+ * * Display Name: ID
54792
+ * * SQL Data Type: uniqueidentifier
54793
+ * * Default Value: newsequentialid()
54794
+ */
54795
+ get ID(): string;
54796
+ set ID(value: string);
54797
+ /**
54798
+ * * Field Name: RecordProcessID
54799
+ * * Display Name: Record Process
54800
+ * * SQL Data Type: uniqueidentifier
54801
+ * * Related Entity/Foreign Key: MJ: Record Processes (vwRecordProcesses.ID)
54802
+ * * Description: Foreign key to the Record Process that spawned this run; NULL for ad-hoc / engine-driven runs not tied to a saved definition
54803
+ */
54804
+ get RecordProcessID(): string | null;
54805
+ set RecordProcessID(value: string | null);
54806
+ /**
54807
+ * * Field Name: EntityID
54808
+ * * Display Name: Entity
54809
+ * * SQL Data Type: uniqueidentifier
54810
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
54811
+ * * Description: Foreign key to the entity processed by this run, when the run is entity-scoped
54812
+ */
54813
+ get EntityID(): string | null;
54814
+ set EntityID(value: string | null);
54815
+ /**
54816
+ * * Field Name: TriggeredBy
54817
+ * * Display Name: Triggered By
54818
+ * * SQL Data Type: nvarchar(20)
54819
+ * * Value List Type: List
54820
+ * * Possible Values
54821
+ * * Manual
54822
+ * * OnChange
54823
+ * * OnDemand
54824
+ * * Schedule
54825
+ * * Description: What triggered this run: OnChange, Schedule, OnDemand, or Manual
54826
+ */
54827
+ get TriggeredBy(): 'Manual' | 'OnChange' | 'OnDemand' | 'Schedule';
54828
+ set TriggeredBy(value: 'Manual' | 'OnChange' | 'OnDemand' | 'Schedule');
54829
+ /**
54830
+ * * Field Name: SourceType
54831
+ * * Display Name: Source Type
54832
+ * * SQL Data Type: nvarchar(20)
54833
+ * * Value List Type: List
54834
+ * * Possible Values
54835
+ * * Array
54836
+ * * Filter
54837
+ * * Keyset
54838
+ * * List
54839
+ * * SingleRecord
54840
+ * * View
54841
+ * * Description: The kind of record-set source resolved for this run: View, List, Filter, Array, Keyset, or SingleRecord
54842
+ */
54843
+ get SourceType(): 'Array' | 'Filter' | 'Keyset' | 'List' | 'SingleRecord' | 'View';
54844
+ set SourceType(value: 'Array' | 'Filter' | 'Keyset' | 'List' | 'SingleRecord' | 'View');
54845
+ /**
54846
+ * * Field Name: SourceID
54847
+ * * Display Name: Source ID
54848
+ * * SQL Data Type: uniqueidentifier
54849
+ * * Description: Polymorphic source identifier (e.g., ViewID or ListID) when applicable; no FK because it spans entities
54850
+ */
54851
+ get SourceID(): string | null;
54852
+ set SourceID(value: string | null);
54853
+ /**
54854
+ * * Field Name: SourceFilter
54855
+ * * Display Name: Source Filter
54856
+ * * SQL Data Type: nvarchar(MAX)
54857
+ * * Description: Resolved filter snapshot used to materialize the record set for this run
54858
+ */
54859
+ get SourceFilter(): string | null;
54860
+ set SourceFilter(value: string | null);
54861
+ /**
54862
+ * * Field Name: ScheduledJobRunID
54863
+ * * Display Name: Scheduled Job Run
54864
+ * * SQL Data Type: uniqueidentifier
54865
+ * * Related Entity/Foreign Key: MJ: Scheduled Job Runs (vwScheduledJobRuns.ID)
54866
+ * * Description: Foreign key to the Scheduled Job Run that launched this run, when scheduler-launched
54867
+ */
54868
+ get ScheduledJobRunID(): string | null;
54869
+ set ScheduledJobRunID(value: string | null);
54870
+ /**
54871
+ * * Field Name: Status
54872
+ * * Display Name: Status
54873
+ * * SQL Data Type: nvarchar(20)
54874
+ * * Default Value: Pending
54875
+ * * Value List Type: List
54876
+ * * Possible Values
54877
+ * * Cancelled
54878
+ * * Completed
54879
+ * * Failed
54880
+ * * Paused
54881
+ * * Pending
54882
+ * * Running
54883
+ * * Description: Run status: Pending, Running, Paused, Completed, Failed, or Cancelled
54884
+ */
54885
+ get Status(): 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Pending' | 'Running';
54886
+ set Status(value: 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Pending' | 'Running');
54887
+ /**
54888
+ * * Field Name: StartTime
54889
+ * * Display Name: Start Time
54890
+ * * SQL Data Type: datetimeoffset
54891
+ * * Description: When the run started
54892
+ */
54893
+ get StartTime(): Date | null;
54894
+ set StartTime(value: Date | null);
54895
+ /**
54896
+ * * Field Name: EndTime
54897
+ * * Display Name: End Time
54898
+ * * SQL Data Type: datetimeoffset
54899
+ * * Description: When the run ended
54900
+ */
54901
+ get EndTime(): Date | null;
54902
+ set EndTime(value: Date | null);
54903
+ /**
54904
+ * * Field Name: TotalItemCount
54905
+ * * Display Name: Total Item Count
54906
+ * * SQL Data Type: int
54907
+ * * Description: Estimated or known total number of records to process
54908
+ */
54909
+ get TotalItemCount(): number | null;
54910
+ set TotalItemCount(value: number | null);
54911
+ /**
54912
+ * * Field Name: ProcessedItems
54913
+ * * Display Name: Processed Items
54914
+ * * SQL Data Type: int
54915
+ * * Default Value: 0
54916
+ * * Description: Count of records processed so far
54917
+ */
54918
+ get ProcessedItems(): number;
54919
+ set ProcessedItems(value: number);
54920
+ /**
54921
+ * * Field Name: SuccessCount
54922
+ * * Display Name: Success Count
54923
+ * * SQL Data Type: int
54924
+ * * Default Value: 0
54925
+ * * Description: Count of records processed successfully
54926
+ */
54927
+ get SuccessCount(): number;
54928
+ set SuccessCount(value: number);
54929
+ /**
54930
+ * * Field Name: ErrorCount
54931
+ * * Display Name: Error Count
54932
+ * * SQL Data Type: int
54933
+ * * Default Value: 0
54934
+ * * Description: Count of records that failed processing
54935
+ */
54936
+ get ErrorCount(): number;
54937
+ set ErrorCount(value: number);
54938
+ /**
54939
+ * * Field Name: SkippedCount
54940
+ * * Display Name: Skipped Count
54941
+ * * SQL Data Type: int
54942
+ * * Default Value: 0
54943
+ * * Description: Count of records skipped (e.g., unchanged per watermark)
54944
+ */
54945
+ get SkippedCount(): number;
54946
+ set SkippedCount(value: number);
54947
+ /**
54948
+ * * Field Name: LastProcessedOffset
54949
+ * * Display Name: Last Processed Offset
54950
+ * * SQL Data Type: int
54951
+ * * Description: Offset-based resume cursor (StartRow) for sources that paginate by offset
54952
+ */
54953
+ get LastProcessedOffset(): number | null;
54954
+ set LastProcessedOffset(value: number | null);
54955
+ /**
54956
+ * * Field Name: LastProcessedKey
54957
+ * * Display Name: Last Processed Key
54958
+ * * SQL Data Type: nvarchar(450)
54959
+ * * Description: Keyset-based resume cursor (AfterKey) for sources that paginate by seek
54960
+ */
54961
+ get LastProcessedKey(): string | null;
54962
+ set LastProcessedKey(value: string | null);
54963
+ /**
54964
+ * * Field Name: BatchSize
54965
+ * * Display Name: Batch Size
54966
+ * * SQL Data Type: int
54967
+ * * Description: Effective batch size for this run
54968
+ */
54969
+ get BatchSize(): number | null;
54970
+ set BatchSize(value: number | null);
54971
+ /**
54972
+ * * Field Name: CancellationRequested
54973
+ * * Display Name: Cancellation Requested
54974
+ * * SQL Data Type: bit
54975
+ * * Default Value: 0
54976
+ * * Description: Pause/cancel handshake flag honored by the processor between batches
54977
+ */
54978
+ get CancellationRequested(): boolean;
54979
+ set CancellationRequested(value: boolean);
54980
+ /**
54981
+ * * Field Name: Configuration
54982
+ * * Display Name: Configuration
54983
+ * * SQL Data Type: nvarchar(MAX)
54984
+ * * Description: JSON snapshot of the effective configuration for this run
54985
+ */
54986
+ get Configuration(): string | null;
54987
+ set Configuration(value: string | null);
54988
+ /**
54989
+ * * Field Name: ErrorMessage
54990
+ * * Display Name: Error Message
54991
+ * * SQL Data Type: nvarchar(MAX)
54992
+ * * Description: Run-level error message when Status=Failed
54993
+ */
54994
+ get ErrorMessage(): string | null;
54995
+ set ErrorMessage(value: string | null);
54996
+ /**
54997
+ * * Field Name: StartedByUserID
54998
+ * * Display Name: Started By User
54999
+ * * SQL Data Type: uniqueidentifier
55000
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
55001
+ * * Description: Foreign key to the user who started the run
55002
+ */
55003
+ get StartedByUserID(): string | null;
55004
+ set StartedByUserID(value: string | null);
55005
+ /**
55006
+ * * Field Name: __mj_CreatedAt
55007
+ * * Display Name: Created At
55008
+ * * SQL Data Type: datetimeoffset
55009
+ * * Default Value: getutcdate()
55010
+ */
55011
+ get __mj_CreatedAt(): Date;
55012
+ /**
55013
+ * * Field Name: __mj_UpdatedAt
55014
+ * * Display Name: Updated At
55015
+ * * SQL Data Type: datetimeoffset
55016
+ * * Default Value: getutcdate()
55017
+ */
55018
+ get __mj_UpdatedAt(): Date;
55019
+ /**
55020
+ * * Field Name: RecordProcess
55021
+ * * Display Name: Record Process Name
55022
+ * * SQL Data Type: nvarchar(255)
55023
+ */
55024
+ get RecordProcess(): string | null;
55025
+ /**
55026
+ * * Field Name: Entity
55027
+ * * Display Name: Entity Name
55028
+ * * SQL Data Type: nvarchar(255)
55029
+ */
55030
+ get Entity(): string | null;
55031
+ /**
55032
+ * * Field Name: ScheduledJobRun
55033
+ * * Display Name: Scheduled Job Run Name
55034
+ * * SQL Data Type: nvarchar(200)
55035
+ */
55036
+ get ScheduledJobRun(): string | null;
55037
+ /**
55038
+ * * Field Name: StartedByUser
55039
+ * * Display Name: Started By User Name
55040
+ * * SQL Data Type: nvarchar(100)
55041
+ */
55042
+ get StartedByUser(): string | null;
55043
+ }
54034
55044
  /**
54035
55045
  * MJ: Projects - strongly typed entity sub-class
54036
55046
  * * Schema: __mj
@@ -57012,6 +58022,885 @@ export declare class MJRecordMergeLogEntity extends BaseEntity<MJRecordMergeLogE
57012
58022
  */
57013
58023
  get ApprovedByUser(): string | null;
57014
58024
  }
58025
+ /**
58026
+ * MJ: Record Process Categories - strongly typed entity sub-class
58027
+ * * Schema: __mj
58028
+ * * Base Table: RecordProcessCategory
58029
+ * * Base View: vwRecordProcessCategories
58030
+ * * @description Hierarchical folder for organizing Record Processes in the UI. Example: "Customer Lifecycle" with a child category "Retention".
58031
+ * * Primary Key: ID
58032
+ * @extends {BaseEntity}
58033
+ * @class
58034
+ * @public
58035
+ */
58036
+ export declare class MJRecordProcessCategoryEntity extends BaseEntity<MJRecordProcessCategoryEntityType> {
58037
+ /**
58038
+ * Loads the MJ: Record Process Categories record from the database
58039
+ * @param ID: string - primary key value to load the MJ: Record Process Categories record.
58040
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
58041
+ * @returns {Promise<boolean>} - true if successful, false otherwise
58042
+ * @public
58043
+ * @async
58044
+ * @memberof MJRecordProcessCategoryEntity
58045
+ * @method
58046
+ * @override
58047
+ */
58048
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
58049
+ /**
58050
+ * * Field Name: ID
58051
+ * * Display Name: ID
58052
+ * * SQL Data Type: uniqueidentifier
58053
+ * * Default Value: newsequentialid()
58054
+ */
58055
+ get ID(): string;
58056
+ set ID(value: string);
58057
+ /**
58058
+ * * Field Name: Name
58059
+ * * Display Name: Name
58060
+ * * SQL Data Type: nvarchar(255)
58061
+ * * Description: Display name of the category
58062
+ */
58063
+ get Name(): string;
58064
+ set Name(value: string);
58065
+ /**
58066
+ * * Field Name: Description
58067
+ * * Display Name: Description
58068
+ * * SQL Data Type: nvarchar(MAX)
58069
+ * * Description: Optional description of what belongs in this category
58070
+ */
58071
+ get Description(): string | null;
58072
+ set Description(value: string | null);
58073
+ /**
58074
+ * * Field Name: ParentID
58075
+ * * Display Name: Parent Category
58076
+ * * SQL Data Type: uniqueidentifier
58077
+ * * Related Entity/Foreign Key: MJ: Record Process Categories (vwRecordProcessCategories.ID)
58078
+ * * Description: Self-referencing foreign key to the parent category, enabling a nested folder hierarchy (NULL for a top-level category)
58079
+ */
58080
+ get ParentID(): string | null;
58081
+ set ParentID(value: string | null);
58082
+ /**
58083
+ * * Field Name: __mj_CreatedAt
58084
+ * * Display Name: Created At
58085
+ * * SQL Data Type: datetimeoffset
58086
+ * * Default Value: getutcdate()
58087
+ */
58088
+ get __mj_CreatedAt(): Date;
58089
+ /**
58090
+ * * Field Name: __mj_UpdatedAt
58091
+ * * Display Name: Updated At
58092
+ * * SQL Data Type: datetimeoffset
58093
+ * * Default Value: getutcdate()
58094
+ */
58095
+ get __mj_UpdatedAt(): Date;
58096
+ /**
58097
+ * * Field Name: Parent
58098
+ * * Display Name: Parent Name
58099
+ * * SQL Data Type: nvarchar(255)
58100
+ */
58101
+ get Parent(): string | null;
58102
+ /**
58103
+ * * Field Name: RootParentID
58104
+ * * Display Name: Root Parent
58105
+ * * SQL Data Type: uniqueidentifier
58106
+ */
58107
+ get RootParentID(): string | null;
58108
+ }
58109
+ /**
58110
+ * MJ: Record Process Watermarks - strongly typed entity sub-class
58111
+ * * Schema: __mj
58112
+ * * Base Table: RecordProcessWatermark
58113
+ * * Base View: vwRecordProcessWatermarks
58114
+ * * @description Per-record change-detection watermark backing WatermarkStrategy=Checksum. Stores the last content hash a Record Process processed for a given record so unchanged records are skipped on the next run. Only used by Checksum mode; UpdatedAt mode compares __mj_UpdatedAt and stores nothing here.
58115
+ * * Primary Key: ID
58116
+ * @extends {BaseEntity}
58117
+ * @class
58118
+ * @public
58119
+ */
58120
+ export declare class MJRecordProcessWatermarkEntity extends BaseEntity<MJRecordProcessWatermarkEntityType> {
58121
+ /**
58122
+ * Loads the MJ: Record Process Watermarks record from the database
58123
+ * @param ID: string - primary key value to load the MJ: Record Process Watermarks record.
58124
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
58125
+ * @returns {Promise<boolean>} - true if successful, false otherwise
58126
+ * @public
58127
+ * @async
58128
+ * @memberof MJRecordProcessWatermarkEntity
58129
+ * @method
58130
+ * @override
58131
+ */
58132
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
58133
+ /**
58134
+ * * Field Name: ID
58135
+ * * Display Name: ID
58136
+ * * SQL Data Type: uniqueidentifier
58137
+ * * Default Value: newsequentialid()
58138
+ */
58139
+ get ID(): string;
58140
+ set ID(value: string);
58141
+ /**
58142
+ * * Field Name: RecordProcessID
58143
+ * * Display Name: Record Process
58144
+ * * SQL Data Type: uniqueidentifier
58145
+ * * Related Entity/Foreign Key: MJ: Record Processes (vwRecordProcesses.ID)
58146
+ * * Description: Foreign key to the Record Process this watermark belongs to
58147
+ */
58148
+ get RecordProcessID(): string;
58149
+ set RecordProcessID(value: string);
58150
+ /**
58151
+ * * Field Name: EntityID
58152
+ * * Display Name: Entity
58153
+ * * SQL Data Type: uniqueidentifier
58154
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
58155
+ * * Description: Foreign key to the entity of the watermarked record
58156
+ */
58157
+ get EntityID(): string;
58158
+ set EntityID(value: string);
58159
+ /**
58160
+ * * Field Name: RecordID
58161
+ * * Display Name: Record ID
58162
+ * * SQL Data Type: nvarchar(450)
58163
+ * * Description: Primary key of the watermarked record, stored as text to remain composite-key safe
58164
+ */
58165
+ get RecordID(): string;
58166
+ set RecordID(value: string);
58167
+ /**
58168
+ * * Field Name: Hash
58169
+ * * Display Name: Content Hash
58170
+ * * SQL Data Type: nvarchar(128)
58171
+ * * Description: Content hash of the record as of the last time it was processed by this Record Process
58172
+ */
58173
+ get Hash(): string;
58174
+ set Hash(value: string);
58175
+ /**
58176
+ * * Field Name: LastProcessedAt
58177
+ * * Display Name: Last Processed At
58178
+ * * SQL Data Type: datetimeoffset
58179
+ * * Description: When this record was last processed by this Record Process
58180
+ */
58181
+ get LastProcessedAt(): Date;
58182
+ set LastProcessedAt(value: Date);
58183
+ /**
58184
+ * * Field Name: __mj_CreatedAt
58185
+ * * Display Name: Created At
58186
+ * * SQL Data Type: datetimeoffset
58187
+ * * Default Value: getutcdate()
58188
+ */
58189
+ get __mj_CreatedAt(): Date;
58190
+ /**
58191
+ * * Field Name: __mj_UpdatedAt
58192
+ * * Display Name: Updated At
58193
+ * * SQL Data Type: datetimeoffset
58194
+ * * Default Value: getutcdate()
58195
+ */
58196
+ get __mj_UpdatedAt(): Date;
58197
+ /**
58198
+ * * Field Name: RecordProcess
58199
+ * * Display Name: Record Process Name
58200
+ * * SQL Data Type: nvarchar(255)
58201
+ */
58202
+ get RecordProcess(): string;
58203
+ /**
58204
+ * * Field Name: Entity
58205
+ * * Display Name: Entity Name
58206
+ * * SQL Data Type: nvarchar(255)
58207
+ */
58208
+ get Entity(): string;
58209
+ }
58210
+ /**
58211
+ * MJ: Record Processes - strongly typed entity sub-class
58212
+ * * Schema: __mj
58213
+ * * Base Table: RecordProcess
58214
+ * * Base View: vwRecordProcesses
58215
+ * * @description A declarative, reusable job definition that binds three axes of a business process: WORK (an Action or an Agent) x SCOPE (a single record, a User View, a List, or an ad-hoc Filter) x TRIGGER (on-change save hooks, a cron schedule, and/or on demand). One row is one configured process; each execution of it produces a Process Run with per-record Process Run Details. EXAMPLE: a "Weekly Customer Health Summary" row runs the "Customer Summarizer" agent over the "Active Customers" view every Saturday 2am, also whenever a customer's NPS/support fields change, and on demand; for each customer it infers {satisfaction, sentiment, personalityStyle, summary} and writes satisfaction/sentiment back onto the Customer plus a summary into a Customer Insights child row, skipping customers unchanged since the last run.
58216
+ * * Primary Key: ID
58217
+ * @extends {BaseEntity}
58218
+ * @class
58219
+ * @public
58220
+ */
58221
+ export declare class MJRecordProcessEntity extends BaseEntity<MJRecordProcessEntityType> {
58222
+ /**
58223
+ * Loads the MJ: Record Processes record from the database
58224
+ * @param ID: string - primary key value to load the MJ: Record Processes record.
58225
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
58226
+ * @returns {Promise<boolean>} - true if successful, false otherwise
58227
+ * @public
58228
+ * @async
58229
+ * @memberof MJRecordProcessEntity
58230
+ * @method
58231
+ * @override
58232
+ */
58233
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
58234
+ /**
58235
+ * * Field Name: ID
58236
+ * * Display Name: ID
58237
+ * * SQL Data Type: uniqueidentifier
58238
+ * * Default Value: newsequentialid()
58239
+ */
58240
+ get ID(): string;
58241
+ set ID(value: string);
58242
+ /**
58243
+ * * Field Name: Name
58244
+ * * Display Name: Name
58245
+ * * SQL Data Type: nvarchar(255)
58246
+ * * Description: Human-readable name of the process definition (e.g., "Weekly Customer Health Summary")
58247
+ */
58248
+ get Name(): string;
58249
+ set Name(value: string);
58250
+ /**
58251
+ * * Field Name: Description
58252
+ * * Display Name: Description
58253
+ * * SQL Data Type: nvarchar(MAX)
58254
+ * * Description: Optional description of what this process does
58255
+ */
58256
+ get Description(): string | null;
58257
+ set Description(value: string | null);
58258
+ /**
58259
+ * * Field Name: CategoryID
58260
+ * * Display Name: Category
58261
+ * * SQL Data Type: uniqueidentifier
58262
+ * * Related Entity/Foreign Key: MJ: Record Process Categories (vwRecordProcessCategories.ID)
58263
+ * * Description: Optional hierarchical category for organizing this process in the UI
58264
+ */
58265
+ get CategoryID(): string | null;
58266
+ set CategoryID(value: string | null);
58267
+ /**
58268
+ * * Field Name: EntityID
58269
+ * * Display Name: Entity
58270
+ * * SQL Data Type: uniqueidentifier
58271
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
58272
+ * * Description: Foreign key to the target entity whose records this process operates on
58273
+ */
58274
+ get EntityID(): string;
58275
+ set EntityID(value: string);
58276
+ /**
58277
+ * * Field Name: Status
58278
+ * * Display Name: Status
58279
+ * * SQL Data Type: nvarchar(20)
58280
+ * * Default Value: Draft
58281
+ * * Value List Type: List
58282
+ * * Possible Values
58283
+ * * Active
58284
+ * * Disabled
58285
+ * * Draft
58286
+ * * Description: Lifecycle status: Draft (not yet wired), Active (triggers live), or Disabled
58287
+ */
58288
+ get Status(): 'Active' | 'Disabled' | 'Draft';
58289
+ set Status(value: 'Active' | 'Disabled' | 'Draft');
58290
+ /**
58291
+ * * Field Name: WorkType
58292
+ * * Display Name: Work Type
58293
+ * * SQL Data Type: nvarchar(20)
58294
+ * * Value List Type: List
58295
+ * * Possible Values
58296
+ * * Action
58297
+ * * Agent
58298
+ * * Infer
58299
+ * * Description: Whether the work is an Action, an Agent, or an Infer (per-record AI Prompt). Agents are dispatched through the Execute Agent action and must be top-level + ExposeAsAction; Infer runs the AI Prompt named by PromptID for each record and writes its structured output back via OutputMapping.
58300
+ */
58301
+ get WorkType(): 'Action' | 'Agent' | 'Infer';
58302
+ set WorkType(value: 'Action' | 'Agent' | 'Infer');
58303
+ /**
58304
+ * * Field Name: ActionID
58305
+ * * Display Name: Action
58306
+ * * SQL Data Type: uniqueidentifier
58307
+ * * Related Entity/Foreign Key: MJ: Actions (vwActions.ID)
58308
+ * * Description: Foreign key to the Action to run, when WorkType=Action
58309
+ */
58310
+ get ActionID(): string | null;
58311
+ set ActionID(value: string | null);
58312
+ /**
58313
+ * * Field Name: AgentID
58314
+ * * Display Name: Agent
58315
+ * * SQL Data Type: uniqueidentifier
58316
+ * * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
58317
+ * * Description: Foreign key to the AI Agent to run, when WorkType=Agent
58318
+ */
58319
+ get AgentID(): string | null;
58320
+ set AgentID(value: string | null);
58321
+ /**
58322
+ * * Field Name: PromptID
58323
+ * * Display Name: Prompt
58324
+ * * SQL Data Type: uniqueidentifier
58325
+ * * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
58326
+ * * Description: Foreign key to the AI Prompt to run for each record, when WorkType=Infer. The prompt's structured output is written back to the data model via OutputMapping.
58327
+ */
58328
+ get PromptID(): string | null;
58329
+ set PromptID(value: string | null);
58330
+ /**
58331
+ * * Field Name: ScopeType
58332
+ * * Display Name: Scope Type
58333
+ * * SQL Data Type: nvarchar(20)
58334
+ * * Value List Type: List
58335
+ * * Possible Values
58336
+ * * Filter
58337
+ * * List
58338
+ * * SingleRecord
58339
+ * * View
58340
+ * * Description: How the record set is scoped for the Schedule and On-Demand triggers: SingleRecord, View, List, or Filter. The On-Change trigger is always single-record and ignores this.
58341
+ */
58342
+ get ScopeType(): 'Filter' | 'List' | 'SingleRecord' | 'View';
58343
+ set ScopeType(value: 'Filter' | 'List' | 'SingleRecord' | 'View');
58344
+ /**
58345
+ * * Field Name: ScopeViewID
58346
+ * * Display Name: Scope View
58347
+ * * SQL Data Type: uniqueidentifier
58348
+ * * Related Entity/Foreign Key: MJ: User Views (vwUserViews.ID)
58349
+ * * Description: Foreign key to the User View defining the scope, when ScopeType=View
58350
+ */
58351
+ get ScopeViewID(): string | null;
58352
+ set ScopeViewID(value: string | null);
58353
+ /**
58354
+ * * Field Name: ScopeListID
58355
+ * * Display Name: Scope List
58356
+ * * SQL Data Type: uniqueidentifier
58357
+ * * Related Entity/Foreign Key: MJ: Lists (vwLists.ID)
58358
+ * * Description: Foreign key to the List defining the scope, when ScopeType=List
58359
+ */
58360
+ get ScopeListID(): string | null;
58361
+ set ScopeListID(value: string | null);
58362
+ /**
58363
+ * * Field Name: ScopeFilter
58364
+ * * Display Name: Scope Filter
58365
+ * * SQL Data Type: nvarchar(MAX)
58366
+ * * Description: Ad-hoc WHERE clause used to resolve the record set, when ScopeType=Filter
58367
+ */
58368
+ get ScopeFilter(): string | null;
58369
+ set ScopeFilter(value: string | null);
58370
+ /**
58371
+ * * Field Name: OnChangeEnabled
58372
+ * * Display Name: On-Change Enabled
58373
+ * * SQL Data Type: bit
58374
+ * * Default Value: 0
58375
+ * * Description: When 1, the process runs per-record on save via an owned Entity Action
58376
+ */
58377
+ get OnChangeEnabled(): boolean;
58378
+ set OnChangeEnabled(value: boolean);
58379
+ /**
58380
+ * * Field Name: OnChangeInvocationType
58381
+ * * Display Name: On-Change Invocation Type
58382
+ * * SQL Data Type: nvarchar(30)
58383
+ * * Value List Type: List
58384
+ * * Possible Values
58385
+ * * AfterCreate
58386
+ * * AfterDelete
58387
+ * * AfterUpdate
58388
+ * * Validate
58389
+ * * Description: Which save event fires the on-change trigger: AfterCreate, AfterUpdate, AfterDelete, or Validate
58390
+ */
58391
+ get OnChangeInvocationType(): 'AfterCreate' | 'AfterDelete' | 'AfterUpdate' | 'Validate' | null;
58392
+ set OnChangeInvocationType(value: 'AfterCreate' | 'AfterDelete' | 'AfterUpdate' | 'Validate' | null);
58393
+ /**
58394
+ * * Field Name: OnChangeFilter
58395
+ * * Display Name: On-Change Filter
58396
+ * * SQL Data Type: nvarchar(MAX)
58397
+ * * Description: Gating expression evaluated against the changed record (with changed-fields context) that compiles into the owned Entity Action Filter; only when it passes does the on-change trigger fire
58398
+ */
58399
+ get OnChangeFilter(): string | null;
58400
+ set OnChangeFilter(value: string | null);
58401
+ /**
58402
+ * * Field Name: ScheduleEnabled
58403
+ * * Display Name: Schedule Enabled
58404
+ * * SQL Data Type: bit
58405
+ * * Default Value: 0
58406
+ * * Description: When 1, the process runs on a cron schedule via an owned Scheduled Job
58407
+ */
58408
+ get ScheduleEnabled(): boolean;
58409
+ set ScheduleEnabled(value: boolean);
58410
+ /**
58411
+ * * Field Name: CronExpression
58412
+ * * Display Name: Cron Expression
58413
+ * * SQL Data Type: nvarchar(120)
58414
+ * * Description: Cron expression for the schedule trigger, when ScheduleEnabled=1
58415
+ */
58416
+ get CronExpression(): string | null;
58417
+ set CronExpression(value: string | null);
58418
+ /**
58419
+ * * Field Name: Timezone
58420
+ * * Display Name: Timezone
58421
+ * * SQL Data Type: nvarchar(100)
58422
+ * * Default Value: UTC
58423
+ * * Description: IANA timezone for evaluating the cron expression (default UTC)
58424
+ */
58425
+ get Timezone(): string | null;
58426
+ set Timezone(value: string | null);
58427
+ /**
58428
+ * * Field Name: OnDemandEnabled
58429
+ * * Display Name: On-Demand Enabled
58430
+ * * SQL Data Type: bit
58431
+ * * Default Value: 1
58432
+ * * Description: When 1, the process can be run on demand (button / resolver)
58433
+ */
58434
+ get OnDemandEnabled(): boolean;
58435
+ set OnDemandEnabled(value: boolean);
58436
+ /**
58437
+ * * Field Name: InputMapping
58438
+ * * Display Name: Input Mapping
58439
+ * * SQL Data Type: nvarchar(MAX)
58440
+ * * Description: JSON mapping describing how a record maps to the work inputs (optionally including an EntityDocumentID for render-to-text)
58441
+ */
58442
+ get InputMapping(): string | null;
58443
+ set InputMapping(value: string | null);
58444
+ /**
58445
+ * * Field Name: OutputMapping
58446
+ * * Display Name: Output Mapping
58447
+ * * SQL Data Type: nvarchar(MAX)
58448
+ * * Description: JSON mapping describing how the structured output payload writes back (to fields, a child record, or tags)
58449
+ */
58450
+ get OutputMapping(): string | null;
58451
+ set OutputMapping(value: string | null);
58452
+ /**
58453
+ * * Field Name: SkipUnchanged
58454
+ * * Display Name: Skip Unchanged
58455
+ * * SQL Data Type: bit
58456
+ * * Default Value: 1
58457
+ * * Description: When 1, records whose watermark indicates no change since the last run are skipped
58458
+ */
58459
+ get SkipUnchanged(): boolean;
58460
+ set SkipUnchanged(value: boolean);
58461
+ /**
58462
+ * * Field Name: WatermarkStrategy
58463
+ * * Display Name: Watermark Strategy
58464
+ * * SQL Data Type: nvarchar(20)
58465
+ * * Value List Type: List
58466
+ * * Possible Values
58467
+ * * Checksum
58468
+ * * None
58469
+ * * UpdatedAt
58470
+ * * Description: How unchanged records are detected for SkipUnchanged: Checksum (per-record content hash, stored in RecordProcessWatermark), UpdatedAt (compares __mj_UpdatedAt, stores nothing), or None
58471
+ */
58472
+ get WatermarkStrategy(): 'Checksum' | 'None' | 'UpdatedAt' | null;
58473
+ set WatermarkStrategy(value: 'Checksum' | 'None' | 'UpdatedAt' | null);
58474
+ /**
58475
+ * * Field Name: BatchSize
58476
+ * * Display Name: Batch Size
58477
+ * * SQL Data Type: int
58478
+ * * Default Value: 100
58479
+ * * Description: Number of records processed per batch (default 100)
58480
+ */
58481
+ get BatchSize(): number | null;
58482
+ set BatchSize(value: number | null);
58483
+ /**
58484
+ * * Field Name: MaxConcurrency
58485
+ * * Display Name: Max Concurrency
58486
+ * * SQL Data Type: int
58487
+ * * Default Value: 1
58488
+ * * Description: Maximum number of records processed concurrently within a batch (default 1)
58489
+ */
58490
+ get MaxConcurrency(): number | null;
58491
+ set MaxConcurrency(value: number | null);
58492
+ /**
58493
+ * * Field Name: __mj_CreatedAt
58494
+ * * Display Name: Created At
58495
+ * * SQL Data Type: datetimeoffset
58496
+ * * Default Value: getutcdate()
58497
+ */
58498
+ get __mj_CreatedAt(): Date;
58499
+ /**
58500
+ * * Field Name: __mj_UpdatedAt
58501
+ * * Display Name: Updated At
58502
+ * * SQL Data Type: datetimeoffset
58503
+ * * Default Value: getutcdate()
58504
+ */
58505
+ get __mj_UpdatedAt(): Date;
58506
+ /**
58507
+ * * Field Name: Category
58508
+ * * Display Name: Category (Display)
58509
+ * * SQL Data Type: nvarchar(255)
58510
+ */
58511
+ get Category(): string | null;
58512
+ /**
58513
+ * * Field Name: Entity
58514
+ * * Display Name: Entity (Display)
58515
+ * * SQL Data Type: nvarchar(255)
58516
+ */
58517
+ get Entity(): string;
58518
+ /**
58519
+ * * Field Name: Action
58520
+ * * Display Name: Action (Display)
58521
+ * * SQL Data Type: nvarchar(425)
58522
+ */
58523
+ get Action(): string | null;
58524
+ /**
58525
+ * * Field Name: Agent
58526
+ * * Display Name: Agent (Display)
58527
+ * * SQL Data Type: nvarchar(255)
58528
+ */
58529
+ get Agent(): string | null;
58530
+ /**
58531
+ * * Field Name: Prompt
58532
+ * * Display Name: Prompt (Display)
58533
+ * * SQL Data Type: nvarchar(255)
58534
+ */
58535
+ get Prompt(): string | null;
58536
+ /**
58537
+ * * Field Name: ScopeView
58538
+ * * Display Name: Scope View (Display)
58539
+ * * SQL Data Type: nvarchar(100)
58540
+ */
58541
+ get ScopeView(): string | null;
58542
+ /**
58543
+ * * Field Name: ScopeList
58544
+ * * Display Name: Scope List (Display)
58545
+ * * SQL Data Type: nvarchar(100)
58546
+ */
58547
+ get ScopeList(): string | null;
58548
+ }
58549
+ /**
58550
+ * MJ: Remote Operation Categories - strongly typed entity sub-class
58551
+ * * Schema: __mj
58552
+ * * Base Table: RemoteOperationCategory
58553
+ * * Base View: vwRemoteOperationCategories
58554
+ * * @description Hierarchical folder for organizing Remote Operations in the UI. Example: "Record Processes" with a child category "Control" holding RunNow / Pause / Cancel.
58555
+ * * Primary Key: ID
58556
+ * @extends {BaseEntity}
58557
+ * @class
58558
+ * @public
58559
+ */
58560
+ export declare class MJRemoteOperationCategoryEntity extends BaseEntity<MJRemoteOperationCategoryEntityType> {
58561
+ /**
58562
+ * Loads the MJ: Remote Operation Categories record from the database
58563
+ * @param ID: string - primary key value to load the MJ: Remote Operation Categories record.
58564
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
58565
+ * @returns {Promise<boolean>} - true if successful, false otherwise
58566
+ * @public
58567
+ * @async
58568
+ * @memberof MJRemoteOperationCategoryEntity
58569
+ * @method
58570
+ * @override
58571
+ */
58572
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
58573
+ /**
58574
+ * * Field Name: ID
58575
+ * * Display Name: ID
58576
+ * * SQL Data Type: uniqueidentifier
58577
+ * * Default Value: newsequentialid()
58578
+ */
58579
+ get ID(): string;
58580
+ set ID(value: string);
58581
+ /**
58582
+ * * Field Name: Name
58583
+ * * Display Name: Name
58584
+ * * SQL Data Type: nvarchar(255)
58585
+ * * Description: Display name of the category
58586
+ */
58587
+ get Name(): string;
58588
+ set Name(value: string);
58589
+ /**
58590
+ * * Field Name: Description
58591
+ * * Display Name: Description
58592
+ * * SQL Data Type: nvarchar(MAX)
58593
+ * * Description: Optional description of what belongs in this category
58594
+ */
58595
+ get Description(): string | null;
58596
+ set Description(value: string | null);
58597
+ /**
58598
+ * * Field Name: ParentID
58599
+ * * Display Name: Parent Category
58600
+ * * SQL Data Type: uniqueidentifier
58601
+ * * Related Entity/Foreign Key: MJ: Remote Operation Categories (vwRemoteOperationCategories.ID)
58602
+ * * Description: Self-referencing foreign key to the parent category, enabling a nested folder hierarchy (NULL for a top-level category)
58603
+ */
58604
+ get ParentID(): string | null;
58605
+ set ParentID(value: string | null);
58606
+ /**
58607
+ * * Field Name: __mj_CreatedAt
58608
+ * * Display Name: Created At
58609
+ * * SQL Data Type: datetimeoffset
58610
+ * * Default Value: getutcdate()
58611
+ */
58612
+ get __mj_CreatedAt(): Date;
58613
+ /**
58614
+ * * Field Name: __mj_UpdatedAt
58615
+ * * Display Name: Updated At
58616
+ * * SQL Data Type: datetimeoffset
58617
+ * * Default Value: getutcdate()
58618
+ */
58619
+ get __mj_UpdatedAt(): Date;
58620
+ /**
58621
+ * * Field Name: Parent
58622
+ * * Display Name: Parent Name
58623
+ * * SQL Data Type: nvarchar(255)
58624
+ */
58625
+ get Parent(): string | null;
58626
+ /**
58627
+ * * Field Name: RootParentID
58628
+ * * Display Name: Root Parent
58629
+ * * SQL Data Type: uniqueidentifier
58630
+ */
58631
+ get RootParentID(): string | null;
58632
+ }
58633
+ /**
58634
+ * MJ: Remote Operations - strongly typed entity sub-class
58635
+ * * Schema: __mj
58636
+ * * Base Table: RemoteOperation
58637
+ * * Base View: vwRemoteOperations
58638
+ * * @description Definition of a typed, provider-routed server operation invoked identically from the client (marshalled over GraphQL) and the server (dispatched in-process) - the typed peer of BaseEntity (CRUD) and RunView (set reads) for arbitrary capabilities. Input/output types are declared here and emitted by CodeGen into a typed base class; the body may be hand-written or AI-authored from Description. EXAMPLE: "RecordProcess.RunNow" (ExecutionMode=LongRunning) takes {recordProcessID} and returns {processRunID}, authorized by the recordprocess:execute scope plus the caller's entity permissions.
58639
+ * * Primary Key: ID
58640
+ * @extends {BaseEntity}
58641
+ * @class
58642
+ * @public
58643
+ */
58644
+ export declare class MJRemoteOperationEntity extends BaseEntity<MJRemoteOperationEntityType> {
58645
+ /**
58646
+ * Loads the MJ: Remote Operations record from the database
58647
+ * @param ID: string - primary key value to load the MJ: Remote Operations record.
58648
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
58649
+ * @returns {Promise<boolean>} - true if successful, false otherwise
58650
+ * @public
58651
+ * @async
58652
+ * @memberof MJRemoteOperationEntity
58653
+ * @method
58654
+ * @override
58655
+ */
58656
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
58657
+ /**
58658
+ * * Field Name: ID
58659
+ * * Display Name: ID
58660
+ * * SQL Data Type: uniqueidentifier
58661
+ * * Default Value: newsequentialid()
58662
+ */
58663
+ get ID(): string;
58664
+ set ID(value: string);
58665
+ /**
58666
+ * * Field Name: Name
58667
+ * * Display Name: Name
58668
+ * * SQL Data Type: nvarchar(255)
58669
+ * * Description: Human-readable name of the operation
58670
+ */
58671
+ get Name(): string;
58672
+ set Name(value: string);
58673
+ /**
58674
+ * * Field Name: OperationKey
58675
+ * * Display Name: Operation Key
58676
+ * * SQL Data Type: nvarchar(255)
58677
+ * * Description: Stable, unique registry key and wire token used to dispatch the operation (e.g., "RecordProcess.RunNow"). Namespaced by convention.
58678
+ */
58679
+ get OperationKey(): string;
58680
+ set OperationKey(value: string);
58681
+ /**
58682
+ * * Field Name: CategoryID
58683
+ * * Display Name: Category
58684
+ * * SQL Data Type: uniqueidentifier
58685
+ * * Related Entity/Foreign Key: MJ: Remote Operation Categories (vwRemoteOperationCategories.ID)
58686
+ * * Description: Optional hierarchical category for organizing this operation in the UI
58687
+ */
58688
+ get CategoryID(): string | null;
58689
+ set CategoryID(value: string | null);
58690
+ /**
58691
+ * * Field Name: Description
58692
+ * * Display Name: Description
58693
+ * * SQL Data Type: nvarchar(MAX)
58694
+ * * Description: Human description of the operation; also the seed for AI-generated implementation code when GenerationType=AI
58695
+ */
58696
+ get Description(): string | null;
58697
+ set Description(value: string | null);
58698
+ /**
58699
+ * * Field Name: InputTypeName
58700
+ * * Display Name: Input Type Name
58701
+ * * SQL Data Type: nvarchar(255)
58702
+ * * Description: TypeScript type name for the operation input (emitted by CodeGen as the TInput interface)
58703
+ */
58704
+ get InputTypeName(): string | null;
58705
+ set InputTypeName(value: string | null);
58706
+ /**
58707
+ * * Field Name: InputTypeDefinition
58708
+ * * Display Name: Input Type Definition
58709
+ * * SQL Data Type: nvarchar(MAX)
58710
+ * * Description: Raw TypeScript interface/type source defining the input shape (same mechanism as EntityField JSON-type definitions)
58711
+ */
58712
+ get InputTypeDefinition(): string | null;
58713
+ set InputTypeDefinition(value: string | null);
58714
+ /**
58715
+ * * Field Name: InputTypeIsArray
58716
+ * * Display Name: Is Input Array
58717
+ * * SQL Data Type: bit
58718
+ * * Default Value: 0
58719
+ * * Description: When 1, the input type is emitted as an array (TInput[])
58720
+ */
58721
+ get InputTypeIsArray(): boolean;
58722
+ set InputTypeIsArray(value: boolean);
58723
+ /**
58724
+ * * Field Name: OutputTypeName
58725
+ * * Display Name: Output Type Name
58726
+ * * SQL Data Type: nvarchar(255)
58727
+ * * Description: TypeScript type name for the operation output (emitted by CodeGen as the TOutput interface)
58728
+ */
58729
+ get OutputTypeName(): string | null;
58730
+ set OutputTypeName(value: string | null);
58731
+ /**
58732
+ * * Field Name: OutputTypeDefinition
58733
+ * * Display Name: Output Type Definition
58734
+ * * SQL Data Type: nvarchar(MAX)
58735
+ * * Description: Raw TypeScript interface/type source defining the output shape
58736
+ */
58737
+ get OutputTypeDefinition(): string | null;
58738
+ set OutputTypeDefinition(value: string | null);
58739
+ /**
58740
+ * * Field Name: OutputTypeIsArray
58741
+ * * Display Name: Is Output Array
58742
+ * * SQL Data Type: bit
58743
+ * * Default Value: 0
58744
+ * * Description: When 1, the output type is emitted as an array (TOutput[])
58745
+ */
58746
+ get OutputTypeIsArray(): boolean;
58747
+ set OutputTypeIsArray(value: boolean);
58748
+ /**
58749
+ * * Field Name: ExecutionMode
58750
+ * * Display Name: Execution Mode
58751
+ * * SQL Data Type: nvarchar(20)
58752
+ * * Default Value: Sync
58753
+ * * Value List Type: List
58754
+ * * Possible Values
58755
+ * * LongRunning
58756
+ * * Sync
58757
+ * * Description: Sync (request/response) or LongRunning (returns a handle; supports detached and attached consumption)
58758
+ */
58759
+ get ExecutionMode(): 'LongRunning' | 'Sync';
58760
+ set ExecutionMode(value: 'LongRunning' | 'Sync');
58761
+ /**
58762
+ * * Field Name: RequiredScope
58763
+ * * Display Name: Required Scope
58764
+ * * SQL Data Type: nvarchar(255)
58765
+ * * Description: Optional API-key scope string (e.g., recordprocess:execute) enforced for API-key/MCP callers; NULL means no scope gate (interactive users are still bounded by their entity permissions)
58766
+ */
58767
+ get RequiredScope(): string | null;
58768
+ set RequiredScope(value: string | null);
58769
+ /**
58770
+ * * Field Name: RequiresSystemUser
58771
+ * * Display Name: Requires System User
58772
+ * * SQL Data Type: bit
58773
+ * * Default Value: 0
58774
+ * * Description: When 1, only the system user may invoke this operation
58775
+ */
58776
+ get RequiresSystemUser(): boolean;
58777
+ set RequiresSystemUser(value: boolean);
58778
+ /**
58779
+ * * Field Name: GenerationType
58780
+ * * Display Name: Generation Type
58781
+ * * SQL Data Type: nvarchar(20)
58782
+ * * Default Value: Manual
58783
+ * * Value List Type: List
58784
+ * * Possible Values
58785
+ * * AI
58786
+ * * Default
58787
+ * * Manual
58788
+ * * Description: How the server implementation is provided: Manual (hand-written subclass), AI (generated from Description), or Default (standard generated plumbing)
58789
+ */
58790
+ get GenerationType(): 'AI' | 'Default' | 'Manual';
58791
+ set GenerationType(value: 'AI' | 'Default' | 'Manual');
58792
+ /**
58793
+ * * Field Name: Code
58794
+ * * Display Name: Implementation Code
58795
+ * * SQL Data Type: nvarchar(MAX)
58796
+ * * Description: The AI-generated implementation body (when GenerationType=AI); regenerated only when Description changes
58797
+ */
58798
+ get Code(): string | null;
58799
+ set Code(value: string | null);
58800
+ /**
58801
+ * * Field Name: CodeApprovalStatus
58802
+ * * Display Name: Approval Status
58803
+ * * SQL Data Type: nvarchar(20)
58804
+ * * Default Value: Pending
58805
+ * * Value List Type: List
58806
+ * * Possible Values
58807
+ * * Approved
58808
+ * * Pending
58809
+ * * Rejected
58810
+ * * Description: Human approval gate for AI-generated code: Pending, Approved, or Rejected. Only Approved AI code is emitted and routable.
58811
+ */
58812
+ get CodeApprovalStatus(): 'Approved' | 'Pending' | 'Rejected';
58813
+ set CodeApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
58814
+ /**
58815
+ * * Field Name: CodeApprovedByUserID
58816
+ * * Display Name: Approved By User ID
58817
+ * * SQL Data Type: uniqueidentifier
58818
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
58819
+ * * Description: Foreign key to the user who approved the generated code
58820
+ */
58821
+ get CodeApprovedByUserID(): string | null;
58822
+ set CodeApprovedByUserID(value: string | null);
58823
+ /**
58824
+ * * Field Name: CodeApprovedAt
58825
+ * * Display Name: Approved At
58826
+ * * SQL Data Type: datetimeoffset
58827
+ * * Description: When the generated code was approved
58828
+ */
58829
+ get CodeApprovedAt(): Date | null;
58830
+ set CodeApprovedAt(value: Date | null);
58831
+ /**
58832
+ * * Field Name: ContractFingerprint
58833
+ * * Display Name: Contract Fingerprint
58834
+ * * SQL Data Type: nvarchar(100)
58835
+ * * Description: Fingerprint of the input/output contract; carried in the wire envelope so the server can reject a stale client loudly instead of mis-deserializing
58836
+ */
58837
+ get ContractFingerprint(): string | null;
58838
+ set ContractFingerprint(value: string | null);
58839
+ /**
58840
+ * * Field Name: Status
58841
+ * * Display Name: Status
58842
+ * * SQL Data Type: nvarchar(20)
58843
+ * * Default Value: Pending
58844
+ * * Value List Type: List
58845
+ * * Possible Values
58846
+ * * Active
58847
+ * * Disabled
58848
+ * * Pending
58849
+ * * Description: Lifecycle status: Active (routable), Disabled, or Pending. Only Active operations can be invoked.
58850
+ */
58851
+ get Status(): 'Active' | 'Disabled' | 'Pending';
58852
+ set Status(value: 'Active' | 'Disabled' | 'Pending');
58853
+ /**
58854
+ * * Field Name: CacheTTLSeconds
58855
+ * * Display Name: Cache TTL (Seconds)
58856
+ * * SQL Data Type: int
58857
+ * * Description: Optional result cache TTL in seconds (NULL = no caching)
58858
+ */
58859
+ get CacheTTLSeconds(): number | null;
58860
+ set CacheTTLSeconds(value: number | null);
58861
+ /**
58862
+ * * Field Name: TimeoutMS
58863
+ * * Display Name: Timeout (MS)
58864
+ * * SQL Data Type: int
58865
+ * * Description: Optional execution timeout in milliseconds
58866
+ */
58867
+ get TimeoutMS(): number | null;
58868
+ set TimeoutMS(value: number | null);
58869
+ /**
58870
+ * * Field Name: MaxConcurrency
58871
+ * * Display Name: Max Concurrency
58872
+ * * SQL Data Type: int
58873
+ * * Description: Optional cap on concurrent executions of this operation
58874
+ */
58875
+ get MaxConcurrency(): number | null;
58876
+ set MaxConcurrency(value: number | null);
58877
+ /**
58878
+ * * Field Name: __mj_CreatedAt
58879
+ * * Display Name: Created At
58880
+ * * SQL Data Type: datetimeoffset
58881
+ * * Default Value: getutcdate()
58882
+ */
58883
+ get __mj_CreatedAt(): Date;
58884
+ /**
58885
+ * * Field Name: __mj_UpdatedAt
58886
+ * * Display Name: Updated At
58887
+ * * SQL Data Type: datetimeoffset
58888
+ * * Default Value: getutcdate()
58889
+ */
58890
+ get __mj_UpdatedAt(): Date;
58891
+ /**
58892
+ * * Field Name: Category
58893
+ * * Display Name: Category Name
58894
+ * * SQL Data Type: nvarchar(255)
58895
+ */
58896
+ get Category(): string | null;
58897
+ /**
58898
+ * * Field Name: CodeApprovedByUser
58899
+ * * Display Name: Approved By User
58900
+ * * SQL Data Type: nvarchar(100)
58901
+ */
58902
+ get CodeApprovedByUser(): string | null;
58903
+ }
57015
58904
  /**
57016
58905
  * MJ: Report Categories - strongly typed entity sub-class
57017
58906
  * * Schema: __mj