@memberjunction/core-entities 6.3.0-edge.1 → 6.3.0-edge.2

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.
Files changed (113) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/custom/ArtifactPermissionDelegate.d.ts +27 -6
  3. package/dist/custom/ArtifactPermissionDelegate.d.ts.map +1 -1
  4. package/dist/custom/ArtifactPermissionDelegate.js +845 -298
  5. package/dist/custom/ArtifactPermissionDelegate.js.map +1 -1
  6. package/dist/custom/ConversationWriteAccess.d.ts +9 -0
  7. package/dist/custom/ConversationWriteAccess.d.ts.map +1 -1
  8. package/dist/custom/ConversationWriteAccess.js +56 -1
  9. package/dist/custom/ConversationWriteAccess.js.map +1 -1
  10. package/dist/custom/Permissions/BaseShareEntityExtended.d.ts +9 -0
  11. package/dist/custom/Permissions/BaseShareEntityExtended.d.ts.map +1 -1
  12. package/dist/custom/Permissions/BaseShareEntityExtended.js +11 -0
  13. package/dist/custom/Permissions/BaseShareEntityExtended.js.map +1 -1
  14. package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.d.ts.map +1 -1
  15. package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.js +15 -3
  16. package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.js.map +1 -1
  17. package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.d.ts +1 -0
  18. package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.d.ts.map +1 -1
  19. package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.js +45 -13
  20. package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.js.map +1 -1
  21. package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.d.ts +3 -1
  22. package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.d.ts.map +1 -1
  23. package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.js +83 -19
  24. package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.js.map +1 -1
  25. package/dist/custom/Permissions/shareNotification.d.ts +14 -1
  26. package/dist/custom/Permissions/shareNotification.d.ts.map +1 -1
  27. package/dist/custom/Permissions/shareNotification.js +62 -8
  28. package/dist/custom/Permissions/shareNotification.js.map +1 -1
  29. package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.d.ts.map +1 -1
  30. package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js +120 -38
  31. package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js.map +1 -1
  32. package/dist/custom/SlideDeckEngine.d.ts +45 -3
  33. package/dist/custom/SlideDeckEngine.d.ts.map +1 -1
  34. package/dist/custom/SlideDeckEngine.js +509 -10
  35. package/dist/custom/SlideDeckEngine.js.map +1 -1
  36. package/dist/custom/SlideDeckPptxEngine.d.ts.map +1 -1
  37. package/dist/custom/SlideDeckPptxEngine.js +91 -17
  38. package/dist/custom/SlideDeckPptxEngine.js.map +1 -1
  39. package/dist/custom/SpreadsheetEngine.d.ts +7 -0
  40. package/dist/custom/SpreadsheetEngine.d.ts.map +1 -1
  41. package/dist/custom/SpreadsheetEngine.js +72 -0
  42. package/dist/custom/SpreadsheetEngine.js.map +1 -1
  43. package/dist/custom/approvals.d.ts +24 -0
  44. package/dist/custom/approvals.d.ts.map +1 -1
  45. package/dist/custom/approvals.js +34 -1
  46. package/dist/custom/approvals.js.map +1 -1
  47. package/dist/engines/CanonGraphEngine.d.ts +114 -1
  48. package/dist/engines/CanonGraphEngine.d.ts.map +1 -1
  49. package/dist/engines/CanonGraphEngine.js +240 -20
  50. package/dist/engines/CanonGraphEngine.js.map +1 -1
  51. package/dist/engines/conversations.d.ts +20 -4
  52. package/dist/engines/conversations.d.ts.map +1 -1
  53. package/dist/engines/conversations.js +61 -12
  54. package/dist/engines/conversations.js.map +1 -1
  55. package/dist/generated/entities/__mj.d.ts +6973 -399
  56. package/dist/generated/entities/__mj.d.ts.map +1 -1
  57. package/dist/generated/entities/__mj.js +35452 -27348
  58. package/dist/generated/entities/__mj.js.map +1 -1
  59. package/dist/generated/remote_operations.d.ts +745 -65
  60. package/dist/generated/remote_operations.d.ts.map +1 -1
  61. package/dist/generated/remote_operations.js +248 -8
  62. package/dist/generated/remote_operations.js.map +1 -1
  63. package/dist/generated/schemas/__mj.d.ts +2156 -230
  64. package/dist/generated/schemas/__mj.d.ts.map +1 -1
  65. package/dist/generated/schemas/__mj.js +3385 -26
  66. package/dist/generated/schemas/__mj.js.map +1 -1
  67. package/dist/graph/BaseGraphEdgeProvider.d.ts +33 -1
  68. package/dist/graph/BaseGraphEdgeProvider.d.ts.map +1 -1
  69. package/dist/graph/BaseGraphEdgeProvider.js +18 -3
  70. package/dist/graph/BaseGraphEdgeProvider.js.map +1 -1
  71. package/dist/graph/CanonDocumentRenderer.d.ts +43 -0
  72. package/dist/graph/CanonDocumentRenderer.d.ts.map +1 -0
  73. package/dist/graph/CanonDocumentRenderer.js +627 -0
  74. package/dist/graph/CanonDocumentRenderer.js.map +1 -0
  75. package/dist/graph/DomainClustering.d.ts +88 -0
  76. package/dist/graph/DomainClustering.d.ts.map +1 -0
  77. package/dist/graph/DomainClustering.js +327 -0
  78. package/dist/graph/DomainClustering.js.map +1 -0
  79. package/dist/graph/DomainProposalWriter.d.ts +25 -0
  80. package/dist/graph/DomainProposalWriter.d.ts.map +1 -0
  81. package/dist/graph/DomainProposalWriter.js +107 -0
  82. package/dist/graph/DomainProposalWriter.js.map +1 -0
  83. package/dist/graph/GraphAccessPolicy.d.ts +111 -0
  84. package/dist/graph/GraphAccessPolicy.d.ts.map +1 -0
  85. package/dist/graph/GraphAccessPolicy.js +123 -0
  86. package/dist/graph/GraphAccessPolicy.js.map +1 -0
  87. package/dist/graph/GraphEngine.d.ts +99 -10
  88. package/dist/graph/GraphEngine.d.ts.map +1 -1
  89. package/dist/graph/GraphEngine.js +359 -53
  90. package/dist/graph/GraphEngine.js.map +1 -1
  91. package/dist/graph/RecordRelations.d.ts +52 -0
  92. package/dist/graph/RecordRelations.d.ts.map +1 -0
  93. package/dist/graph/RecordRelations.js +90 -0
  94. package/dist/graph/RecordRelations.js.map +1 -0
  95. package/dist/graph/index.d.ts +9 -1
  96. package/dist/graph/index.d.ts.map +1 -1
  97. package/dist/graph/index.js +13 -1
  98. package/dist/graph/index.js.map +1 -1
  99. package/dist/graph/policies/ProvenanceAccessPolicies.d.ts +56 -0
  100. package/dist/graph/policies/ProvenanceAccessPolicies.d.ts.map +1 -0
  101. package/dist/graph/policies/ProvenanceAccessPolicies.js +228 -0
  102. package/dist/graph/policies/ProvenanceAccessPolicies.js.map +1 -0
  103. package/dist/graph/providers/QueryEdgeProvider.d.ts.map +1 -1
  104. package/dist/graph/providers/QueryEdgeProvider.js +2 -2
  105. package/dist/graph/providers/QueryEdgeProvider.js.map +1 -1
  106. package/dist/graph/providers/RecordLinkEdgeProvider.d.ts.map +1 -1
  107. package/dist/graph/providers/RecordLinkEdgeProvider.js +2 -2
  108. package/dist/graph/providers/RecordLinkEdgeProvider.js.map +1 -1
  109. package/dist/graph/providers/SharedConceptEdgeProvider.d.ts +54 -0
  110. package/dist/graph/providers/SharedConceptEdgeProvider.d.ts.map +1 -0
  111. package/dist/graph/providers/SharedConceptEdgeProvider.js +282 -0
  112. package/dist/graph/providers/SharedConceptEdgeProvider.js.map +1 -0
  113. package/package.json +6 -6
@@ -1161,6 +1161,8 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1161
1161
  ResumingAgentRunID: z.ZodNullable<z.ZodString>;
1162
1162
  ResponseSource: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"API">, z.ZodLiteral<"Conversation">, z.ZodLiteral<"Dashboard">]>>;
1163
1163
  OriginatingTaskID: z.ZodNullable<z.ZodString>;
1164
+ HumanTaskProvider: z.ZodNullable<z.ZodString>;
1165
+ HumanTaskExternalReference: z.ZodNullable<z.ZodString>;
1164
1166
  Agent: z.ZodNullable<z.ZodString>;
1165
1167
  RequestForUser: z.ZodNullable<z.ZodString>;
1166
1168
  ResponseByUser: z.ZodNullable<z.ZodString>;
@@ -1193,6 +1195,8 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1193
1195
  ResumingAgentRunID?: string;
1194
1196
  ResponseSource?: "API" | "Conversation" | "Dashboard";
1195
1197
  OriginatingTaskID?: string;
1198
+ HumanTaskProvider?: string;
1199
+ HumanTaskExternalReference?: string;
1196
1200
  RequestForUser?: string;
1197
1201
  ResponseByUser?: string;
1198
1202
  RequestType?: string;
@@ -1224,6 +1228,8 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1224
1228
  ResumingAgentRunID?: string;
1225
1229
  ResponseSource?: "API" | "Conversation" | "Dashboard";
1226
1230
  OriginatingTaskID?: string;
1231
+ HumanTaskProvider?: string;
1232
+ HumanTaskExternalReference?: string;
1227
1233
  RequestForUser?: string;
1228
1234
  ResponseByUser?: string;
1229
1235
  RequestType?: string;
@@ -1233,6 +1239,65 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1233
1239
  OriginatingTask?: string;
1234
1240
  }>;
1235
1241
  export type MJAIAgentRequestEntityType = z.infer<typeof MJAIAgentRequestSchema>;
1242
+ /**
1243
+ * zod schema definition for the entity MJ: AI Agent Rhythm Templates
1244
+ */
1245
+ export declare const MJAIAgentRhythmTemplateSchema: z.ZodObject<{
1246
+ ID: z.ZodString;
1247
+ AgentID: z.ZodString;
1248
+ SkillID: z.ZodNullable<z.ZodString>;
1249
+ Name: z.ZodString;
1250
+ WorkstreamKey: z.ZodString;
1251
+ Description: z.ZodNullable<z.ZodString>;
1252
+ DefaultCronExpression: z.ZodString;
1253
+ DefaultWakeGate: z.ZodNullable<z.ZodString>;
1254
+ WakeReason: z.ZodString;
1255
+ OfferAt: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Install">, z.ZodLiteral<"Onboarding">]>;
1256
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
1257
+ __mj_CreatedAt: z.ZodDate;
1258
+ __mj_UpdatedAt: z.ZodDate;
1259
+ DefaultAgentConfigurationID: z.ZodNullable<z.ZodString>;
1260
+ Agent: z.ZodNullable<z.ZodString>;
1261
+ Skill: z.ZodNullable<z.ZodString>;
1262
+ DefaultAgentConfiguration: z.ZodNullable<z.ZodString>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ ID?: string;
1265
+ Name?: string;
1266
+ Description?: string;
1267
+ __mj_CreatedAt?: Date;
1268
+ __mj_UpdatedAt?: Date;
1269
+ AgentID?: string;
1270
+ Status?: "Active" | "Inactive";
1271
+ Agent?: string;
1272
+ SkillID?: string;
1273
+ WorkstreamKey?: string;
1274
+ DefaultCronExpression?: string;
1275
+ DefaultWakeGate?: string;
1276
+ WakeReason?: string;
1277
+ OfferAt?: "Both" | "Install" | "Onboarding";
1278
+ DefaultAgentConfigurationID?: string;
1279
+ Skill?: string;
1280
+ DefaultAgentConfiguration?: string;
1281
+ }, {
1282
+ ID?: string;
1283
+ Name?: string;
1284
+ Description?: string;
1285
+ __mj_CreatedAt?: Date;
1286
+ __mj_UpdatedAt?: Date;
1287
+ AgentID?: string;
1288
+ Status?: "Active" | "Inactive";
1289
+ Agent?: string;
1290
+ SkillID?: string;
1291
+ WorkstreamKey?: string;
1292
+ DefaultCronExpression?: string;
1293
+ DefaultWakeGate?: string;
1294
+ WakeReason?: string;
1295
+ OfferAt?: "Both" | "Install" | "Onboarding";
1296
+ DefaultAgentConfigurationID?: string;
1297
+ Skill?: string;
1298
+ DefaultAgentConfiguration?: string;
1299
+ }>;
1300
+ export type MJAIAgentRhythmTemplateEntityType = z.infer<typeof MJAIAgentRhythmTemplateSchema>;
1236
1301
  /**
1237
1302
  * zod schema definition for the entity MJ: AI Agent Rubrics
1238
1303
  */
@@ -1423,7 +1488,7 @@ export declare const MJAIAgentRunStepSchema: z.ZodObject<{
1423
1488
  AgentRunID?: string;
1424
1489
  AgentRun?: string;
1425
1490
  StepNumber?: number;
1426
- StepType?: "Prompt" | "Actions" | "Chat" | "Compaction" | "Decision" | "ForEach" | "Handoff" | "Plan" | "Skill" | "Sub-Agent" | "TaskGraph" | "Tool" | "Validation" | "While";
1491
+ StepType?: "Prompt" | "Skill" | "Actions" | "Chat" | "Compaction" | "Decision" | "ForEach" | "Handoff" | "Plan" | "Sub-Agent" | "TaskGraph" | "Tool" | "Validation" | "While";
1427
1492
  StepName?: string;
1428
1493
  TargetID?: string;
1429
1494
  CompletedAt?: Date;
@@ -1462,7 +1527,7 @@ export declare const MJAIAgentRunStepSchema: z.ZodObject<{
1462
1527
  AgentRunID?: string;
1463
1528
  AgentRun?: string;
1464
1529
  StepNumber?: number;
1465
- StepType?: "Prompt" | "Actions" | "Chat" | "Compaction" | "Decision" | "ForEach" | "Handoff" | "Plan" | "Skill" | "Sub-Agent" | "TaskGraph" | "Tool" | "Validation" | "While";
1530
+ StepType?: "Prompt" | "Skill" | "Actions" | "Chat" | "Compaction" | "Decision" | "ForEach" | "Handoff" | "Plan" | "Sub-Agent" | "TaskGraph" | "Tool" | "Validation" | "While";
1466
1531
  StepName?: string;
1467
1532
  TargetID?: string;
1468
1533
  CompletedAt?: Date;
@@ -1738,7 +1803,7 @@ export declare const MJAIAgentSearchScopeSchema: z.ZodObject<{
1738
1803
  Priority?: number;
1739
1804
  IsDefault?: boolean;
1740
1805
  SearchScopeID?: string;
1741
- Phase?: "AgentInvoked" | "Both" | "PreExecution";
1806
+ Phase?: "Both" | "AgentInvoked" | "PreExecution";
1742
1807
  StartAt?: Date;
1743
1808
  EndAt?: Date;
1744
1809
  MaxResults?: number;
@@ -1757,7 +1822,7 @@ export declare const MJAIAgentSearchScopeSchema: z.ZodObject<{
1757
1822
  Priority?: number;
1758
1823
  IsDefault?: boolean;
1759
1824
  SearchScopeID?: string;
1760
- Phase?: "AgentInvoked" | "Both" | "PreExecution";
1825
+ Phase?: "Both" | "AgentInvoked" | "PreExecution";
1761
1826
  StartAt?: Date;
1762
1827
  EndAt?: Date;
1763
1828
  MaxResults?: number;
@@ -2067,6 +2132,7 @@ export declare const MJAIAgentSkillSchema: z.ZodObject<{
2067
2132
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
2068
2133
  __mj_CreatedAt: z.ZodDate;
2069
2134
  __mj_UpdatedAt: z.ZodDate;
2135
+ AllowMetadataSyncUpdate: z.ZodBoolean;
2070
2136
  Agent: z.ZodNullable<z.ZodString>;
2071
2137
  Skill: z.ZodNullable<z.ZodString>;
2072
2138
  }, "strip", z.ZodTypeAny, {
@@ -2076,8 +2142,9 @@ export declare const MJAIAgentSkillSchema: z.ZodObject<{
2076
2142
  AgentID?: string;
2077
2143
  Status?: "Active" | "Pending" | "Revoked";
2078
2144
  Agent?: string;
2079
- Skill?: string;
2080
2145
  SkillID?: string;
2146
+ Skill?: string;
2147
+ AllowMetadataSyncUpdate?: boolean;
2081
2148
  }, {
2082
2149
  ID?: string;
2083
2150
  __mj_CreatedAt?: Date;
@@ -2085,8 +2152,9 @@ export declare const MJAIAgentSkillSchema: z.ZodObject<{
2085
2152
  AgentID?: string;
2086
2153
  Status?: "Active" | "Pending" | "Revoked";
2087
2154
  Agent?: string;
2088
- Skill?: string;
2089
2155
  SkillID?: string;
2156
+ Skill?: string;
2157
+ AllowMetadataSyncUpdate?: boolean;
2090
2158
  }>;
2091
2159
  export type MJAIAgentSkillEntityType = z.infer<typeof MJAIAgentSkillSchema>;
2092
2160
  /**
@@ -2138,7 +2206,7 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
2138
2206
  AgentID: z.ZodString;
2139
2207
  Name: z.ZodString;
2140
2208
  Description: z.ZodNullable<z.ZodString>;
2141
- StepType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Decision">, z.ZodLiteral<"ForEach">, z.ZodLiteral<"Human">, z.ZodLiteral<"Prompt">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"While">]>;
2209
+ StepType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Decision">, z.ZodLiteral<"External">, z.ZodLiteral<"ForEach">, z.ZodLiteral<"Human">, z.ZodLiteral<"Prompt">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"Wait">, z.ZodLiteral<"While">]>;
2142
2210
  StartingStep: z.ZodBoolean;
2143
2211
  TimeoutSeconds: z.ZodNullable<z.ZodNumber>;
2144
2212
  RetryCount: z.ZodNumber;
@@ -2179,7 +2247,7 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
2179
2247
  SubAgent?: string;
2180
2248
  Width?: number;
2181
2249
  Height?: number;
2182
- StepType?: "Action" | "Prompt" | "Decision" | "ForEach" | "Sub-Agent" | "While" | "Human";
2250
+ StepType?: "Action" | "Prompt" | "Decision" | "ForEach" | "Sub-Agent" | "While" | "External" | "Human" | "Wait";
2183
2251
  StartingStep?: boolean;
2184
2252
  TimeoutSeconds?: number;
2185
2253
  RetryCount?: number;
@@ -2207,7 +2275,7 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
2207
2275
  SubAgent?: string;
2208
2276
  Width?: number;
2209
2277
  Height?: number;
2210
- StepType?: "Action" | "Prompt" | "Decision" | "ForEach" | "Sub-Agent" | "While" | "Human";
2278
+ StepType?: "Action" | "Prompt" | "Decision" | "ForEach" | "Sub-Agent" | "While" | "External" | "Human" | "Wait";
2211
2279
  StartingStep?: boolean;
2212
2280
  TimeoutSeconds?: number;
2213
2281
  RetryCount?: number;
@@ -2219,6 +2287,53 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
2219
2287
  LoopBodyType?: "Action" | "Prompt" | "Sub-Agent";
2220
2288
  }>;
2221
2289
  export type MJAIAgentStepEntityType = z.infer<typeof MJAIAgentStepSchema>;
2290
+ /**
2291
+ * zod schema definition for the entity MJ: AI Agent Suggestions
2292
+ */
2293
+ export declare const MJAIAgentSuggestionSchema: z.ZodObject<{
2294
+ ID: z.ZodString;
2295
+ AgentID: z.ZodString;
2296
+ UserID: z.ZodString;
2297
+ Kind: z.ZodUnion<[z.ZodLiteral<"Behavior">, z.ZodLiteral<"Integration">, z.ZodLiteral<"Rhythm">, z.ZodLiteral<"Skill">]>;
2298
+ TargetKey: z.ZodString;
2299
+ Summary: z.ZodString;
2300
+ Status: z.ZodUnion<[z.ZodLiteral<"Accepted">, z.ZodLiteral<"Declined">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Offered">]>;
2301
+ OfferedAt: z.ZodDate;
2302
+ RespondedAt: z.ZodNullable<z.ZodDate>;
2303
+ __mj_CreatedAt: z.ZodDate;
2304
+ __mj_UpdatedAt: z.ZodDate;
2305
+ Agent: z.ZodNullable<z.ZodString>;
2306
+ User: z.ZodNullable<z.ZodString>;
2307
+ }, "strip", z.ZodTypeAny, {
2308
+ ID?: string;
2309
+ __mj_CreatedAt?: Date;
2310
+ __mj_UpdatedAt?: Date;
2311
+ AgentID?: string;
2312
+ Status?: "Expired" | "Accepted" | "Declined" | "Offered";
2313
+ Agent?: string;
2314
+ UserID?: string;
2315
+ User?: string;
2316
+ RespondedAt?: Date;
2317
+ Kind?: "Integration" | "Skill" | "Behavior" | "Rhythm";
2318
+ TargetKey?: string;
2319
+ Summary?: string;
2320
+ OfferedAt?: Date;
2321
+ }, {
2322
+ ID?: string;
2323
+ __mj_CreatedAt?: Date;
2324
+ __mj_UpdatedAt?: Date;
2325
+ AgentID?: string;
2326
+ Status?: "Expired" | "Accepted" | "Declined" | "Offered";
2327
+ Agent?: string;
2328
+ UserID?: string;
2329
+ User?: string;
2330
+ RespondedAt?: Date;
2331
+ Kind?: "Integration" | "Skill" | "Behavior" | "Rhythm";
2332
+ TargetKey?: string;
2333
+ Summary?: string;
2334
+ OfferedAt?: Date;
2335
+ }>;
2336
+ export type MJAIAgentSuggestionEntityType = z.infer<typeof MJAIAgentSuggestionSchema>;
2222
2337
  /**
2223
2338
  * zod schema definition for the entity MJ: AI Agent Types
2224
2339
  */
@@ -2486,6 +2601,11 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2486
2601
  ConversationSummaryPromptID: z.ZodNullable<z.ZodString>;
2487
2602
  DeclareActionsAsNativeTools: z.ZodBoolean;
2488
2603
  MaxSubAgentConsultRounds: z.ZodNullable<z.ZodNumber>;
2604
+ Isolation: z.ZodUnion<[z.ZodLiteral<"Container">, z.ZodLiteral<"InProcess">, z.ZodLiteral<"Process">, z.ZodLiteral<"Worker">]>;
2605
+ BaseAgentID: z.ZodNullable<z.ZodString>;
2606
+ InstantiationMode: z.ZodUnion<[z.ZodLiteral<"None">, z.ZodLiteral<"Optional">, z.ZodLiteral<"Required">]>;
2607
+ AdditionalInstructions: z.ZodNullable<z.ZodString>;
2608
+ IsPrimaryInstance: z.ZodBoolean;
2489
2609
  Parent: z.ZodNullable<z.ZodString>;
2490
2610
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
2491
2611
  Type: z.ZodNullable<z.ZodString>;
@@ -2498,11 +2618,17 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2498
2618
  RecordingStorageProvider: z.ZodNullable<z.ZodString>;
2499
2619
  DefaultMediaCollection: z.ZodNullable<z.ZodString>;
2500
2620
  ConversationSummaryPrompt: z.ZodNullable<z.ZodString>;
2621
+ BaseAgent: z.ZodNullable<z.ZodString>;
2501
2622
  RootParentID: z.ZodNullable<z.ZodString>;
2502
2623
  ParentIDDepth: z.ZodNullable<z.ZodNumber>;
2503
2624
  ParentIDPath: z.ZodNullable<z.ZodString>;
2504
2625
  ParentIDIsLeaf: z.ZodNullable<z.ZodBoolean>;
2505
2626
  ParentIDChildCount: z.ZodNullable<z.ZodNumber>;
2627
+ RootBaseAgentID: z.ZodNullable<z.ZodString>;
2628
+ BaseAgentIDDepth: z.ZodNullable<z.ZodNumber>;
2629
+ BaseAgentIDPath: z.ZodNullable<z.ZodString>;
2630
+ BaseAgentIDIsLeaf: z.ZodNullable<z.ZodBoolean>;
2631
+ BaseAgentIDChildCount: z.ZodNullable<z.ZodNumber>;
2506
2632
  }, "strip", z.ZodTypeAny, {
2507
2633
  ID?: string;
2508
2634
  Name?: string;
@@ -2596,6 +2722,11 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2596
2722
  RequirePlanMode?: boolean;
2597
2723
  DeclareActionsAsNativeTools?: boolean;
2598
2724
  MaxSubAgentConsultRounds?: number;
2725
+ Isolation?: "Container" | "InProcess" | "Process" | "Worker";
2726
+ BaseAgentID?: string;
2727
+ InstantiationMode?: "None" | "Optional" | "Required";
2728
+ AdditionalInstructions?: string;
2729
+ IsPrimaryInstance?: boolean;
2599
2730
  DefaultArtifactType?: string;
2600
2731
  OwnerUser?: string;
2601
2732
  AttachmentStorageProvider?: string;
@@ -2603,6 +2734,12 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2603
2734
  DefaultCoAgent?: string;
2604
2735
  RecordingStorageProvider?: string;
2605
2736
  DefaultMediaCollection?: string;
2737
+ BaseAgent?: string;
2738
+ RootBaseAgentID?: string;
2739
+ BaseAgentIDDepth?: number;
2740
+ BaseAgentIDPath?: string;
2741
+ BaseAgentIDIsLeaf?: boolean;
2742
+ BaseAgentIDChildCount?: number;
2606
2743
  }, {
2607
2744
  ID?: string;
2608
2745
  Name?: string;
@@ -2696,6 +2833,11 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2696
2833
  RequirePlanMode?: boolean;
2697
2834
  DeclareActionsAsNativeTools?: boolean;
2698
2835
  MaxSubAgentConsultRounds?: number;
2836
+ Isolation?: "Container" | "InProcess" | "Process" | "Worker";
2837
+ BaseAgentID?: string;
2838
+ InstantiationMode?: "None" | "Optional" | "Required";
2839
+ AdditionalInstructions?: string;
2840
+ IsPrimaryInstance?: boolean;
2699
2841
  DefaultArtifactType?: string;
2700
2842
  OwnerUser?: string;
2701
2843
  AttachmentStorageProvider?: string;
@@ -2703,6 +2845,12 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2703
2845
  DefaultCoAgent?: string;
2704
2846
  RecordingStorageProvider?: string;
2705
2847
  DefaultMediaCollection?: string;
2848
+ BaseAgent?: string;
2849
+ RootBaseAgentID?: string;
2850
+ BaseAgentIDDepth?: number;
2851
+ BaseAgentIDPath?: string;
2852
+ BaseAgentIDIsLeaf?: boolean;
2853
+ BaseAgentIDChildCount?: number;
2706
2854
  }>;
2707
2855
  export type MJAIAgentEntityType = z.infer<typeof MJAIAgentSchema>;
2708
2856
  /**
@@ -4579,6 +4727,7 @@ export declare const MJAISkillActionSchema: z.ZodObject<{
4579
4727
  __mj_CreatedAt: z.ZodDate;
4580
4728
  __mj_UpdatedAt: z.ZodDate;
4581
4729
  ExposeToModel: z.ZodBoolean;
4730
+ Role: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Briefing">, z.ZodLiteral<"Tool">]>;
4582
4731
  Skill: z.ZodNullable<z.ZodString>;
4583
4732
  Action: z.ZodNullable<z.ZodString>;
4584
4733
  }, "strip", z.ZodTypeAny, {
@@ -4587,8 +4736,9 @@ export declare const MJAISkillActionSchema: z.ZodObject<{
4587
4736
  __mj_UpdatedAt?: Date;
4588
4737
  ActionID?: string;
4589
4738
  Action?: string;
4590
- Skill?: string;
4739
+ Role?: "Both" | "Tool" | "Briefing";
4591
4740
  SkillID?: string;
4741
+ Skill?: string;
4592
4742
  ExposeToModel?: boolean;
4593
4743
  }, {
4594
4744
  ID?: string;
@@ -4596,8 +4746,9 @@ export declare const MJAISkillActionSchema: z.ZodObject<{
4596
4746
  __mj_UpdatedAt?: Date;
4597
4747
  ActionID?: string;
4598
4748
  Action?: string;
4599
- Skill?: string;
4749
+ Role?: "Both" | "Tool" | "Briefing";
4600
4750
  SkillID?: string;
4751
+ Skill?: string;
4601
4752
  ExposeToModel?: boolean;
4602
4753
  }>;
4603
4754
  export type MJAISkillActionEntityType = z.infer<typeof MJAISkillActionSchema>;
@@ -4632,8 +4783,8 @@ export declare const MJAISkillPermissionSchema: z.ZodObject<{
4632
4783
  CanEdit?: boolean;
4633
4784
  CanDelete?: boolean;
4634
4785
  Role?: string;
4635
- Skill?: string;
4636
4786
  SkillID?: string;
4787
+ Skill?: string;
4637
4788
  }, {
4638
4789
  ID?: string;
4639
4790
  __mj_CreatedAt?: Date;
@@ -4647,8 +4798,8 @@ export declare const MJAISkillPermissionSchema: z.ZodObject<{
4647
4798
  CanEdit?: boolean;
4648
4799
  CanDelete?: boolean;
4649
4800
  Role?: string;
4650
- Skill?: string;
4651
4801
  SkillID?: string;
4802
+ Skill?: string;
4652
4803
  }>;
4653
4804
  export type MJAISkillPermissionEntityType = z.infer<typeof MJAISkillPermissionSchema>;
4654
4805
  /**
@@ -4674,12 +4825,12 @@ export declare const MJAISkillSearchScopeSchema: z.ZodObject<{
4674
4825
  Status?: "Active" | "Inactive";
4675
4826
  Priority?: number;
4676
4827
  IsDefault?: boolean;
4828
+ SkillID?: string;
4677
4829
  Skill?: string;
4678
4830
  SearchScopeID?: string;
4679
4831
  StartAt?: Date;
4680
4832
  EndAt?: Date;
4681
4833
  SearchScope?: string;
4682
- SkillID?: string;
4683
4834
  }, {
4684
4835
  ID?: string;
4685
4836
  __mj_CreatedAt?: Date;
@@ -4687,12 +4838,12 @@ export declare const MJAISkillSearchScopeSchema: z.ZodObject<{
4687
4838
  Status?: "Active" | "Inactive";
4688
4839
  Priority?: number;
4689
4840
  IsDefault?: boolean;
4841
+ SkillID?: string;
4690
4842
  Skill?: string;
4691
4843
  SearchScopeID?: string;
4692
4844
  StartAt?: Date;
4693
4845
  EndAt?: Date;
4694
4846
  SearchScope?: string;
4695
- SkillID?: string;
4696
4847
  }>;
4697
4848
  export type MJAISkillSearchScopeEntityType = z.infer<typeof MJAISkillSearchScopeSchema>;
4698
4849
  /**
@@ -4712,16 +4863,16 @@ export declare const MJAISkillSubAgentSchema: z.ZodObject<{
4712
4863
  __mj_UpdatedAt?: Date;
4713
4864
  SubAgentID?: string;
4714
4865
  SubAgent?: string;
4715
- Skill?: string;
4716
4866
  SkillID?: string;
4867
+ Skill?: string;
4717
4868
  }, {
4718
4869
  ID?: string;
4719
4870
  __mj_CreatedAt?: Date;
4720
4871
  __mj_UpdatedAt?: Date;
4721
4872
  SubAgentID?: string;
4722
4873
  SubAgent?: string;
4723
- Skill?: string;
4724
4874
  SkillID?: string;
4875
+ Skill?: string;
4725
4876
  }>;
4726
4877
  export type MJAISkillSubAgentEntityType = z.infer<typeof MJAISkillSubAgentSchema>;
4727
4878
  /**
@@ -5745,6 +5896,184 @@ export declare const MJActionSchema: z.ZodObject<{
5745
5896
  CompensationAction?: string;
5746
5897
  }>;
5747
5898
  export type MJActionEntityType = z.infer<typeof MJActionSchema>;
5899
+ /**
5900
+ * zod schema definition for the entity MJ: Agent Channel Participants
5901
+ */
5902
+ export declare const MJAgentChannelParticipantSchema: z.ZodObject<{
5903
+ ID: z.ZodString;
5904
+ AgentChannelID: z.ZodString;
5905
+ UserID: z.ZodString;
5906
+ AgentID: z.ZodString;
5907
+ Role: z.ZodUnion<[z.ZodLiteral<"Initiator">, z.ZodLiteral<"Participant">]>;
5908
+ LastSeenDetailID: z.ZodNullable<z.ZodString>;
5909
+ JoinedAt: z.ZodDate;
5910
+ __mj_CreatedAt: z.ZodDate;
5911
+ __mj_UpdatedAt: z.ZodDate;
5912
+ AgentChannel: z.ZodNullable<z.ZodString>;
5913
+ User: z.ZodNullable<z.ZodString>;
5914
+ Agent: z.ZodNullable<z.ZodString>;
5915
+ LastSeenDetail: z.ZodNullable<z.ZodString>;
5916
+ }, "strip", z.ZodTypeAny, {
5917
+ ID?: string;
5918
+ __mj_CreatedAt?: Date;
5919
+ __mj_UpdatedAt?: Date;
5920
+ AgentID?: string;
5921
+ Agent?: string;
5922
+ UserID?: string;
5923
+ User?: string;
5924
+ Role?: "Participant" | "Initiator";
5925
+ JoinedAt?: Date;
5926
+ AgentChannelID?: string;
5927
+ LastSeenDetailID?: string;
5928
+ AgentChannel?: string;
5929
+ LastSeenDetail?: string;
5930
+ }, {
5931
+ ID?: string;
5932
+ __mj_CreatedAt?: Date;
5933
+ __mj_UpdatedAt?: Date;
5934
+ AgentID?: string;
5935
+ Agent?: string;
5936
+ UserID?: string;
5937
+ User?: string;
5938
+ Role?: "Participant" | "Initiator";
5939
+ JoinedAt?: Date;
5940
+ AgentChannelID?: string;
5941
+ LastSeenDetailID?: string;
5942
+ AgentChannel?: string;
5943
+ LastSeenDetail?: string;
5944
+ }>;
5945
+ export type MJAgentChannelParticipantEntityType = z.infer<typeof MJAgentChannelParticipantSchema>;
5946
+ /**
5947
+ * zod schema definition for the entity MJ: Agent Channels
5948
+ */
5949
+ export declare const MJAgentChannelSchema: z.ZodObject<{
5950
+ ID: z.ZodString;
5951
+ Topic: z.ZodString;
5952
+ ChannelStatus: z.ZodUnion<[z.ZodLiteral<"Open">, z.ZodLiteral<"Paused For Human">, z.ZodLiteral<"Resolved">]>;
5953
+ ReplyBy: z.ZodNullable<z.ZodDate>;
5954
+ ConsecutiveAgentTurns: z.ZodNumber;
5955
+ MaxConsecutiveAgentTurns: z.ZodNumber;
5956
+ LastHumanMessageAt: z.ZodNullable<z.ZodDate>;
5957
+ HourlyWakeCount: z.ZodNumber;
5958
+ HourlyWakeWindowStart: z.ZodNullable<z.ZodDate>;
5959
+ MaxHourlyWakes: z.ZodNumber;
5960
+ __mj_CreatedAt: z.ZodDate;
5961
+ __mj_UpdatedAt: z.ZodDate;
5962
+ UserID: z.ZodString;
5963
+ ExternalID: z.ZodNullable<z.ZodString>;
5964
+ Name: z.ZodNullable<z.ZodString>;
5965
+ Description: z.ZodNullable<z.ZodString>;
5966
+ IsArchived: z.ZodBoolean;
5967
+ LinkedEntityID: z.ZodNullable<z.ZodString>;
5968
+ LinkedRecordID: z.ZodNullable<z.ZodString>;
5969
+ DataContextID: z.ZodNullable<z.ZodString>;
5970
+ Status: z.ZodString;
5971
+ EnvironmentID: z.ZodString;
5972
+ ProjectID: z.ZodNullable<z.ZodString>;
5973
+ IsPinned: z.ZodBoolean;
5974
+ TestRunID: z.ZodNullable<z.ZodString>;
5975
+ ApplicationScope: z.ZodString;
5976
+ ApplicationID: z.ZodNullable<z.ZodString>;
5977
+ DefaultAgentID: z.ZodNullable<z.ZodString>;
5978
+ AdditionalData: z.ZodNullable<z.ZodString>;
5979
+ RecordingFileID: z.ZodNullable<z.ZodString>;
5980
+ EgressID: z.ZodNullable<z.ZodString>;
5981
+ VisitorKey: z.ZodNullable<z.ZodString>;
5982
+ LastConversationID: z.ZodNullable<z.ZodString>;
5983
+ AnchorType: z.ZodNullable<z.ZodString>;
5984
+ AnchorKey: z.ZodNullable<z.ZodString>;
5985
+ AnchorMetadata: z.ZodNullable<z.ZodString>;
5986
+ IsResolved: z.ZodBoolean;
5987
+ ResolvedByUserID: z.ZodNullable<z.ZodString>;
5988
+ ResolvedAt: z.ZodNullable<z.ZodDate>;
5989
+ TypeID: z.ZodString;
5990
+ ParentID: z.ZodNullable<z.ZodString>;
5991
+ }, "strip", z.ZodTypeAny, {
5992
+ ID?: string;
5993
+ Name?: string;
5994
+ Description?: string;
5995
+ __mj_CreatedAt?: Date;
5996
+ __mj_UpdatedAt?: Date;
5997
+ Status?: string;
5998
+ ParentID?: string;
5999
+ UserID?: string;
6000
+ TestRunID?: string;
6001
+ RecordingFileID?: string;
6002
+ LinkedEntityID?: string;
6003
+ LinkedRecordID?: string;
6004
+ TypeID?: string;
6005
+ ApplicationID?: string;
6006
+ Topic?: string;
6007
+ ChannelStatus?: "Open" | "Paused For Human" | "Resolved";
6008
+ ReplyBy?: Date;
6009
+ ConsecutiveAgentTurns?: number;
6010
+ MaxConsecutiveAgentTurns?: number;
6011
+ LastHumanMessageAt?: Date;
6012
+ HourlyWakeCount?: number;
6013
+ HourlyWakeWindowStart?: Date;
6014
+ MaxHourlyWakes?: number;
6015
+ ExternalID?: string;
6016
+ IsArchived?: boolean;
6017
+ DataContextID?: string;
6018
+ EnvironmentID?: string;
6019
+ ProjectID?: string;
6020
+ IsPinned?: boolean;
6021
+ ApplicationScope?: string;
6022
+ DefaultAgentID?: string;
6023
+ AdditionalData?: string;
6024
+ EgressID?: string;
6025
+ VisitorKey?: string;
6026
+ LastConversationID?: string;
6027
+ AnchorType?: string;
6028
+ AnchorKey?: string;
6029
+ AnchorMetadata?: string;
6030
+ IsResolved?: boolean;
6031
+ ResolvedByUserID?: string;
6032
+ ResolvedAt?: Date;
6033
+ }, {
6034
+ ID?: string;
6035
+ Name?: string;
6036
+ Description?: string;
6037
+ __mj_CreatedAt?: Date;
6038
+ __mj_UpdatedAt?: Date;
6039
+ Status?: string;
6040
+ ParentID?: string;
6041
+ UserID?: string;
6042
+ TestRunID?: string;
6043
+ RecordingFileID?: string;
6044
+ LinkedEntityID?: string;
6045
+ LinkedRecordID?: string;
6046
+ TypeID?: string;
6047
+ ApplicationID?: string;
6048
+ Topic?: string;
6049
+ ChannelStatus?: "Open" | "Paused For Human" | "Resolved";
6050
+ ReplyBy?: Date;
6051
+ ConsecutiveAgentTurns?: number;
6052
+ MaxConsecutiveAgentTurns?: number;
6053
+ LastHumanMessageAt?: Date;
6054
+ HourlyWakeCount?: number;
6055
+ HourlyWakeWindowStart?: Date;
6056
+ MaxHourlyWakes?: number;
6057
+ ExternalID?: string;
6058
+ IsArchived?: boolean;
6059
+ DataContextID?: string;
6060
+ EnvironmentID?: string;
6061
+ ProjectID?: string;
6062
+ IsPinned?: boolean;
6063
+ ApplicationScope?: string;
6064
+ DefaultAgentID?: string;
6065
+ AdditionalData?: string;
6066
+ EgressID?: string;
6067
+ VisitorKey?: string;
6068
+ LastConversationID?: string;
6069
+ AnchorType?: string;
6070
+ AnchorKey?: string;
6071
+ AnchorMetadata?: string;
6072
+ IsResolved?: boolean;
6073
+ ResolvedByUserID?: string;
6074
+ ResolvedAt?: Date;
6075
+ }>;
6076
+ export type MJAgentChannelEntityType = z.infer<typeof MJAgentChannelSchema>;
5748
6077
  /**
5749
6078
  * zod schema definition for the entity MJ: Application Entities
5750
6079
  */
@@ -7310,6 +7639,7 @@ export declare const MJCommentSchema: z.ZodObject<{
7310
7639
  ResolvedByUserID: z.ZodNullable<z.ZodString>;
7311
7640
  ResolvedAt: z.ZodNullable<z.ZodDate>;
7312
7641
  TypeID: z.ZodString;
7642
+ ParentID: z.ZodNullable<z.ZodString>;
7313
7643
  CommentType: z.ZodNullable<z.ZodString>;
7314
7644
  }, "strip", z.ZodTypeAny, {
7315
7645
  ID?: string;
@@ -7318,6 +7648,7 @@ export declare const MJCommentSchema: z.ZodObject<{
7318
7648
  __mj_CreatedAt?: Date;
7319
7649
  __mj_UpdatedAt?: Date;
7320
7650
  Status?: string;
7651
+ ParentID?: string;
7321
7652
  UserID?: string;
7322
7653
  TestRunID?: string;
7323
7654
  RecordingFileID?: string;
@@ -7325,11 +7656,10 @@ export declare const MJCommentSchema: z.ZodObject<{
7325
7656
  LinkedRecordID?: string;
7326
7657
  TypeID?: string;
7327
7658
  ApplicationID?: string;
7328
- EnvironmentID?: string;
7329
- CommentTypeID?: string;
7330
7659
  ExternalID?: string;
7331
7660
  IsArchived?: boolean;
7332
7661
  DataContextID?: string;
7662
+ EnvironmentID?: string;
7333
7663
  ProjectID?: string;
7334
7664
  IsPinned?: boolean;
7335
7665
  ApplicationScope?: string;
@@ -7344,6 +7674,7 @@ export declare const MJCommentSchema: z.ZodObject<{
7344
7674
  IsResolved?: boolean;
7345
7675
  ResolvedByUserID?: string;
7346
7676
  ResolvedAt?: Date;
7677
+ CommentTypeID?: string;
7347
7678
  CommentType?: string;
7348
7679
  }, {
7349
7680
  ID?: string;
@@ -7352,6 +7683,7 @@ export declare const MJCommentSchema: z.ZodObject<{
7352
7683
  __mj_CreatedAt?: Date;
7353
7684
  __mj_UpdatedAt?: Date;
7354
7685
  Status?: string;
7686
+ ParentID?: string;
7355
7687
  UserID?: string;
7356
7688
  TestRunID?: string;
7357
7689
  RecordingFileID?: string;
@@ -7359,11 +7691,10 @@ export declare const MJCommentSchema: z.ZodObject<{
7359
7691
  LinkedRecordID?: string;
7360
7692
  TypeID?: string;
7361
7693
  ApplicationID?: string;
7362
- EnvironmentID?: string;
7363
- CommentTypeID?: string;
7364
7694
  ExternalID?: string;
7365
7695
  IsArchived?: boolean;
7366
7696
  DataContextID?: string;
7697
+ EnvironmentID?: string;
7367
7698
  ProjectID?: string;
7368
7699
  IsPinned?: boolean;
7369
7700
  ApplicationScope?: string;
@@ -7378,91 +7709,710 @@ export declare const MJCommentSchema: z.ZodObject<{
7378
7709
  IsResolved?: boolean;
7379
7710
  ResolvedByUserID?: string;
7380
7711
  ResolvedAt?: Date;
7712
+ CommentTypeID?: string;
7381
7713
  CommentType?: string;
7382
7714
  }>;
7383
7715
  export type MJCommentEntityType = z.infer<typeof MJCommentSchema>;
7384
7716
  /**
7385
- * zod schema definition for the entity MJ: Communication Base Message Types
7717
+ * zod schema definition for the entity MJ: Communication Activities
7386
7718
  */
7387
- export declare const MJCommunicationBaseMessageTypeSchema: z.ZodObject<{
7719
+ export declare const MJCommunicationActivitySchema: z.ZodObject<{
7388
7720
  ID: z.ZodString;
7389
- Type: z.ZodString;
7390
- SupportsAttachments: z.ZodBoolean;
7391
- SupportsSubjectLine: z.ZodBoolean;
7392
- SupportsHtml: z.ZodBoolean;
7393
- MaxBytes: z.ZodNullable<z.ZodNumber>;
7721
+ CommunicationLogID: z.ZodNullable<z.ZodString>;
7722
+ CommunicationEndpointID: z.ZodNullable<z.ZodString>;
7723
+ CommunicationSenderID: z.ZodNullable<z.ZodString>;
7724
+ CommunicationProviderID: z.ZodString;
7725
+ EventType: z.ZodUnion<[z.ZodLiteral<"Clicked">, z.ZodLiteral<"Deferred">, z.ZodLiteral<"Delivered">, z.ZodLiteral<"Dropped">, z.ZodLiteral<"Hard Bounce">, z.ZodLiteral<"Opened">, z.ZodLiteral<"Queued">, z.ZodLiteral<"Sent">, z.ZodLiteral<"Soft Bounce">, z.ZodLiteral<"Spam Complaint">, z.ZodLiteral<"Unsubscribed">]>;
7726
+ OccurredAt: z.ZodDate;
7727
+ ReceivedAt: z.ZodDate;
7728
+ ProviderEventID: z.ZodNullable<z.ZodString>;
7729
+ ProviderMessageID: z.ZodNullable<z.ZodString>;
7730
+ TargetURL: z.ZodNullable<z.ZodString>;
7731
+ BounceCode: z.ZodNullable<z.ZodString>;
7732
+ BounceReason: z.ZodNullable<z.ZodString>;
7733
+ IsMachineEvent: z.ZodBoolean;
7734
+ IPAddress: z.ZodNullable<z.ZodString>;
7735
+ UserAgent: z.ZodNullable<z.ZodString>;
7736
+ CorrelationData: z.ZodNullable<z.ZodString>;
7737
+ RawPayload: z.ZodNullable<z.ZodString>;
7394
7738
  __mj_CreatedAt: z.ZodDate;
7395
7739
  __mj_UpdatedAt: z.ZodDate;
7740
+ CommunicationLog: z.ZodNullable<z.ZodDate>;
7741
+ CommunicationSender: z.ZodNullable<z.ZodString>;
7742
+ CommunicationProvider: z.ZodNullable<z.ZodString>;
7396
7743
  }, "strip", z.ZodTypeAny, {
7397
7744
  ID?: string;
7398
7745
  __mj_CreatedAt?: Date;
7399
7746
  __mj_UpdatedAt?: Date;
7400
- Type?: string;
7401
- SupportsAttachments?: boolean;
7402
- SupportsSubjectLine?: boolean;
7403
- SupportsHtml?: boolean;
7404
- MaxBytes?: number;
7747
+ ReceivedAt?: Date;
7748
+ IPAddress?: string;
7749
+ UserAgent?: string;
7750
+ CommunicationProviderID?: string;
7751
+ CommunicationProvider?: string;
7752
+ CommunicationLogID?: string;
7753
+ CommunicationEndpointID?: string;
7754
+ CommunicationSenderID?: string;
7755
+ EventType?: "Opened" | "Clicked" | "Deferred" | "Delivered" | "Dropped" | "Hard Bounce" | "Queued" | "Sent" | "Soft Bounce" | "Spam Complaint" | "Unsubscribed";
7756
+ OccurredAt?: Date;
7757
+ ProviderEventID?: string;
7758
+ ProviderMessageID?: string;
7759
+ TargetURL?: string;
7760
+ BounceCode?: string;
7761
+ BounceReason?: string;
7762
+ IsMachineEvent?: boolean;
7763
+ CorrelationData?: string;
7764
+ RawPayload?: string;
7765
+ CommunicationLog?: Date;
7766
+ CommunicationSender?: string;
7405
7767
  }, {
7406
7768
  ID?: string;
7407
7769
  __mj_CreatedAt?: Date;
7408
7770
  __mj_UpdatedAt?: Date;
7409
- Type?: string;
7410
- SupportsAttachments?: boolean;
7771
+ ReceivedAt?: Date;
7772
+ IPAddress?: string;
7773
+ UserAgent?: string;
7774
+ CommunicationProviderID?: string;
7775
+ CommunicationProvider?: string;
7776
+ CommunicationLogID?: string;
7777
+ CommunicationEndpointID?: string;
7778
+ CommunicationSenderID?: string;
7779
+ EventType?: "Opened" | "Clicked" | "Deferred" | "Delivered" | "Dropped" | "Hard Bounce" | "Queued" | "Sent" | "Soft Bounce" | "Spam Complaint" | "Unsubscribed";
7780
+ OccurredAt?: Date;
7781
+ ProviderEventID?: string;
7782
+ ProviderMessageID?: string;
7783
+ TargetURL?: string;
7784
+ BounceCode?: string;
7785
+ BounceReason?: string;
7786
+ IsMachineEvent?: boolean;
7787
+ CorrelationData?: string;
7788
+ RawPayload?: string;
7789
+ CommunicationLog?: Date;
7790
+ CommunicationSender?: string;
7791
+ }>;
7792
+ export type MJCommunicationActivityEntityType = z.infer<typeof MJCommunicationActivitySchema>;
7793
+ /**
7794
+ * zod schema definition for the entity MJ: Communication Base Message Types
7795
+ */
7796
+ export declare const MJCommunicationBaseMessageTypeSchema: z.ZodObject<{
7797
+ ID: z.ZodString;
7798
+ Type: z.ZodString;
7799
+ SupportsAttachments: z.ZodBoolean;
7800
+ SupportsSubjectLine: z.ZodBoolean;
7801
+ SupportsHtml: z.ZodBoolean;
7802
+ MaxBytes: z.ZodNullable<z.ZodNumber>;
7803
+ __mj_CreatedAt: z.ZodDate;
7804
+ __mj_UpdatedAt: z.ZodDate;
7805
+ }, "strip", z.ZodTypeAny, {
7806
+ ID?: string;
7807
+ __mj_CreatedAt?: Date;
7808
+ __mj_UpdatedAt?: Date;
7809
+ Type?: string;
7810
+ SupportsAttachments?: boolean;
7411
7811
  SupportsSubjectLine?: boolean;
7412
7812
  SupportsHtml?: boolean;
7413
7813
  MaxBytes?: number;
7814
+ }, {
7815
+ ID?: string;
7816
+ __mj_CreatedAt?: Date;
7817
+ __mj_UpdatedAt?: Date;
7818
+ Type?: string;
7819
+ SupportsAttachments?: boolean;
7820
+ SupportsSubjectLine?: boolean;
7821
+ SupportsHtml?: boolean;
7822
+ MaxBytes?: number;
7823
+ }>;
7824
+ export type MJCommunicationBaseMessageTypeEntityType = z.infer<typeof MJCommunicationBaseMessageTypeSchema>;
7825
+ /**
7826
+ * zod schema definition for the entity MJ: Communication Compliance Regime Jurisdictions
7827
+ */
7828
+ export declare const MJCommunicationComplianceRegimeJurisdictionSchema: z.ZodObject<{
7829
+ ID: z.ZodString;
7830
+ CommunicationComplianceRegimeID: z.ZodString;
7831
+ JurisdictionID: z.ZodString;
7832
+ __mj_CreatedAt: z.ZodDate;
7833
+ __mj_UpdatedAt: z.ZodDate;
7834
+ CommunicationComplianceRegime: z.ZodNullable<z.ZodString>;
7835
+ Jurisdiction: z.ZodNullable<z.ZodString>;
7836
+ }, "strip", z.ZodTypeAny, {
7837
+ ID?: string;
7838
+ __mj_CreatedAt?: Date;
7839
+ __mj_UpdatedAt?: Date;
7840
+ CommunicationComplianceRegimeID?: string;
7841
+ JurisdictionID?: string;
7842
+ CommunicationComplianceRegime?: string;
7843
+ Jurisdiction?: string;
7844
+ }, {
7845
+ ID?: string;
7846
+ __mj_CreatedAt?: Date;
7847
+ __mj_UpdatedAt?: Date;
7848
+ CommunicationComplianceRegimeID?: string;
7849
+ JurisdictionID?: string;
7850
+ CommunicationComplianceRegime?: string;
7851
+ Jurisdiction?: string;
7852
+ }>;
7853
+ export type MJCommunicationComplianceRegimeJurisdictionEntityType = z.infer<typeof MJCommunicationComplianceRegimeJurisdictionSchema>;
7854
+ /**
7855
+ * zod schema definition for the entity MJ: Communication Compliance Regime Rules
7856
+ */
7857
+ export declare const MJCommunicationComplianceRegimeRuleSchema: z.ZodObject<{
7858
+ ID: z.ZodString;
7859
+ CommunicationComplianceRegimeID: z.ZodString;
7860
+ CommunicationComplianceRuleTypeID: z.ZodString;
7861
+ BaseMessageTypeID: z.ZodNullable<z.ZodString>;
7862
+ MessageClass: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Marketing">, z.ZodLiteral<"Operational">, z.ZodLiteral<"Transactional">]>>;
7863
+ Parameters: z.ZodNullable<z.ZodString>;
7864
+ Notes: z.ZodNullable<z.ZodString>;
7865
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
7866
+ __mj_CreatedAt: z.ZodDate;
7867
+ __mj_UpdatedAt: z.ZodDate;
7868
+ CommunicationComplianceRegime: z.ZodNullable<z.ZodString>;
7869
+ CommunicationComplianceRuleType: z.ZodNullable<z.ZodString>;
7870
+ BaseMessageType: z.ZodNullable<z.ZodString>;
7871
+ }, "strip", z.ZodTypeAny, {
7872
+ ID?: string;
7873
+ __mj_CreatedAt?: Date;
7874
+ __mj_UpdatedAt?: Date;
7875
+ Status?: "Active" | "Disabled";
7876
+ Parameters?: string;
7877
+ Notes?: string;
7878
+ CommunicationComplianceRegimeID?: string;
7879
+ CommunicationComplianceRegime?: string;
7880
+ CommunicationComplianceRuleTypeID?: string;
7881
+ BaseMessageTypeID?: string;
7882
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
7883
+ CommunicationComplianceRuleType?: string;
7884
+ BaseMessageType?: string;
7885
+ }, {
7886
+ ID?: string;
7887
+ __mj_CreatedAt?: Date;
7888
+ __mj_UpdatedAt?: Date;
7889
+ Status?: "Active" | "Disabled";
7890
+ Parameters?: string;
7891
+ Notes?: string;
7892
+ CommunicationComplianceRegimeID?: string;
7893
+ CommunicationComplianceRegime?: string;
7894
+ CommunicationComplianceRuleTypeID?: string;
7895
+ BaseMessageTypeID?: string;
7896
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
7897
+ CommunicationComplianceRuleType?: string;
7898
+ BaseMessageType?: string;
7899
+ }>;
7900
+ export type MJCommunicationComplianceRegimeRuleEntityType = z.infer<typeof MJCommunicationComplianceRegimeRuleSchema>;
7901
+ /**
7902
+ * zod schema definition for the entity MJ: Communication Compliance Regimes
7903
+ */
7904
+ export declare const MJCommunicationComplianceRegimeSchema: z.ZodObject<{
7905
+ ID: z.ZodString;
7906
+ Name: z.ZodString;
7907
+ Description: z.ZodNullable<z.ZodString>;
7908
+ AppliesBy: z.ZodUnion<[z.ZodLiteral<"Recipient">, z.ZodLiteral<"Recipient or Sender">, z.ZodLiteral<"Sender">]>;
7909
+ AppliesWhenJurisdictionUnknown: z.ZodBoolean;
7910
+ ReferenceURL: z.ZodNullable<z.ZodString>;
7911
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
7912
+ __mj_CreatedAt: z.ZodDate;
7913
+ __mj_UpdatedAt: z.ZodDate;
7914
+ }, "strip", z.ZodTypeAny, {
7915
+ ID?: string;
7916
+ Name?: string;
7917
+ Description?: string;
7918
+ __mj_CreatedAt?: Date;
7919
+ __mj_UpdatedAt?: Date;
7920
+ Status?: "Active" | "Disabled";
7921
+ AppliesBy?: "Recipient" | "Recipient or Sender" | "Sender";
7922
+ AppliesWhenJurisdictionUnknown?: boolean;
7923
+ ReferenceURL?: string;
7924
+ }, {
7925
+ ID?: string;
7926
+ Name?: string;
7927
+ Description?: string;
7928
+ __mj_CreatedAt?: Date;
7929
+ __mj_UpdatedAt?: Date;
7930
+ Status?: "Active" | "Disabled";
7931
+ AppliesBy?: "Recipient" | "Recipient or Sender" | "Sender";
7932
+ AppliesWhenJurisdictionUnknown?: boolean;
7933
+ ReferenceURL?: string;
7934
+ }>;
7935
+ export type MJCommunicationComplianceRegimeEntityType = z.infer<typeof MJCommunicationComplianceRegimeSchema>;
7936
+ /**
7937
+ * zod schema definition for the entity MJ: Communication Compliance Rule Types
7938
+ */
7939
+ export declare const MJCommunicationComplianceRuleTypeSchema: z.ZodObject<{
7940
+ ID: z.ZodString;
7941
+ Name: z.ZodString;
7942
+ Description: z.ZodNullable<z.ZodString>;
7943
+ DriverClass: z.ZodString;
7944
+ ParameterSchema: z.ZodNullable<z.ZodString>;
7945
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
7946
+ __mj_CreatedAt: z.ZodDate;
7947
+ __mj_UpdatedAt: z.ZodDate;
7948
+ }, "strip", z.ZodTypeAny, {
7949
+ ID?: string;
7950
+ Name?: string;
7951
+ Description?: string;
7952
+ __mj_CreatedAt?: Date;
7953
+ __mj_UpdatedAt?: Date;
7954
+ Status?: "Active" | "Disabled";
7955
+ DriverClass?: string;
7956
+ ParameterSchema?: string;
7957
+ }, {
7958
+ ID?: string;
7959
+ Name?: string;
7960
+ Description?: string;
7961
+ __mj_CreatedAt?: Date;
7962
+ __mj_UpdatedAt?: Date;
7963
+ Status?: "Active" | "Disabled";
7964
+ DriverClass?: string;
7965
+ ParameterSchema?: string;
7966
+ }>;
7967
+ export type MJCommunicationComplianceRuleTypeEntityType = z.infer<typeof MJCommunicationComplianceRuleTypeSchema>;
7968
+ /**
7969
+ * zod schema definition for the entity MJ: Communication Consent Audit Logs
7970
+ */
7971
+ export declare const MJCommunicationConsentAuditLogSchema: z.ZodObject<{
7972
+ ID: z.ZodString;
7973
+ CommunicationSuppressionID: z.ZodNullable<z.ZodString>;
7974
+ CommunicationPrincipalPreferenceID: z.ZodNullable<z.ZodString>;
7975
+ Action: z.ZodUnion<[z.ZodLiteral<"Confirmed">, z.ZodLiteral<"Created">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Revoked">, z.ZodLiteral<"Updated">]>;
7976
+ PreviousValue: z.ZodNullable<z.ZodString>;
7977
+ NewValue: z.ZodNullable<z.ZodString>;
7978
+ Source: z.ZodUnion<[z.ZodLiteral<"API">, z.ZodLiteral<"Admin">, z.ZodLiteral<"Import">, z.ZodLiteral<"One-Click Header">, z.ZodLiteral<"Policy">, z.ZodLiteral<"Preference Center">, z.ZodLiteral<"Provider Webhook">, z.ZodLiteral<"Signup Form">, z.ZodLiteral<"System">]>;
7979
+ CommunicationLogID: z.ZodNullable<z.ZodString>;
7980
+ IPAddress: z.ZodNullable<z.ZodString>;
7981
+ UserAgent: z.ZodNullable<z.ZodString>;
7982
+ ChangedByUserID: z.ZodNullable<z.ZodString>;
7983
+ ChangedAt: z.ZodDate;
7984
+ __mj_CreatedAt: z.ZodDate;
7985
+ __mj_UpdatedAt: z.ZodDate;
7986
+ CommunicationLog: z.ZodNullable<z.ZodDate>;
7987
+ ChangedByUser: z.ZodNullable<z.ZodString>;
7988
+ }, "strip", z.ZodTypeAny, {
7989
+ ID?: string;
7990
+ __mj_CreatedAt?: Date;
7991
+ __mj_UpdatedAt?: Date;
7992
+ Action?: "Revoked" | "Expired" | "Confirmed" | "Created" | "Updated";
7993
+ Source?: "API" | "System" | "Admin" | "Import" | "One-Click Header" | "Policy" | "Preference Center" | "Provider Webhook" | "Signup Form";
7994
+ IPAddress?: string;
7995
+ UserAgent?: string;
7996
+ CommunicationLogID?: string;
7997
+ CommunicationLog?: Date;
7998
+ CommunicationSuppressionID?: string;
7999
+ CommunicationPrincipalPreferenceID?: string;
8000
+ PreviousValue?: string;
8001
+ NewValue?: string;
8002
+ ChangedByUserID?: string;
8003
+ ChangedAt?: Date;
8004
+ ChangedByUser?: string;
8005
+ }, {
8006
+ ID?: string;
8007
+ __mj_CreatedAt?: Date;
8008
+ __mj_UpdatedAt?: Date;
8009
+ Action?: "Revoked" | "Expired" | "Confirmed" | "Created" | "Updated";
8010
+ Source?: "API" | "System" | "Admin" | "Import" | "One-Click Header" | "Policy" | "Preference Center" | "Provider Webhook" | "Signup Form";
8011
+ IPAddress?: string;
8012
+ UserAgent?: string;
8013
+ CommunicationLogID?: string;
8014
+ CommunicationLog?: Date;
8015
+ CommunicationSuppressionID?: string;
8016
+ CommunicationPrincipalPreferenceID?: string;
8017
+ PreviousValue?: string;
8018
+ NewValue?: string;
8019
+ ChangedByUserID?: string;
8020
+ ChangedAt?: Date;
8021
+ ChangedByUser?: string;
8022
+ }>;
8023
+ export type MJCommunicationConsentAuditLogEntityType = z.infer<typeof MJCommunicationConsentAuditLogSchema>;
8024
+ /**
8025
+ * zod schema definition for the entity MJ: Communication Endpoint Principals
8026
+ */
8027
+ export declare const MJCommunicationEndpointPrincipalSchema: z.ZodObject<{
8028
+ ID: z.ZodString;
8029
+ CommunicationEndpointID: z.ZodString;
8030
+ EntityID: z.ZodString;
8031
+ RecordID: z.ZodString;
8032
+ FirstSeenAt: z.ZodDate;
8033
+ LastSeenAt: z.ZodDate;
8034
+ __mj_CreatedAt: z.ZodDate;
8035
+ __mj_UpdatedAt: z.ZodDate;
8036
+ Entity: z.ZodNullable<z.ZodString>;
8037
+ }, "strip", z.ZodTypeAny, {
8038
+ ID?: string;
8039
+ __mj_CreatedAt?: Date;
8040
+ __mj_UpdatedAt?: Date;
8041
+ EntityID?: string;
8042
+ RecordID?: string;
8043
+ Entity?: string;
8044
+ CommunicationEndpointID?: string;
8045
+ FirstSeenAt?: Date;
8046
+ LastSeenAt?: Date;
8047
+ }, {
8048
+ ID?: string;
8049
+ __mj_CreatedAt?: Date;
8050
+ __mj_UpdatedAt?: Date;
8051
+ EntityID?: string;
8052
+ RecordID?: string;
8053
+ Entity?: string;
8054
+ CommunicationEndpointID?: string;
8055
+ FirstSeenAt?: Date;
8056
+ LastSeenAt?: Date;
8057
+ }>;
8058
+ export type MJCommunicationEndpointPrincipalEntityType = z.infer<typeof MJCommunicationEndpointPrincipalSchema>;
8059
+ /**
8060
+ * zod schema definition for the entity MJ: Communication Endpoints
8061
+ */
8062
+ export declare const MJCommunicationEndpointSchema: z.ZodObject<{
8063
+ ID: z.ZodString;
8064
+ BaseMessageTypeID: z.ZodString;
8065
+ NormalizedValue: z.ZodNullable<z.ZodString>;
8066
+ ValueHash: z.ZodString;
8067
+ Domain: z.ZodNullable<z.ZodString>;
8068
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Complained">, z.ZodLiteral<"Erased">, z.ZodLiteral<"Hard Bounced">, z.ZodLiteral<"Invalid">, z.ZodLiteral<"Soft Bouncing">]>;
8069
+ SoftBounceCount: z.ZodNumber;
8070
+ LastSentAt: z.ZodNullable<z.ZodDate>;
8071
+ LastDeliveredAt: z.ZodNullable<z.ZodDate>;
8072
+ LastBouncedAt: z.ZodNullable<z.ZodDate>;
8073
+ LastEngagedAt: z.ZodNullable<z.ZodDate>;
8074
+ __mj_CreatedAt: z.ZodDate;
8075
+ __mj_UpdatedAt: z.ZodDate;
8076
+ BaseMessageType: z.ZodNullable<z.ZodString>;
8077
+ }, "strip", z.ZodTypeAny, {
8078
+ ID?: string;
8079
+ __mj_CreatedAt?: Date;
8080
+ __mj_UpdatedAt?: Date;
8081
+ Status?: "Active" | "Invalid" | "Complained" | "Erased" | "Hard Bounced" | "Soft Bouncing";
8082
+ Domain?: string;
8083
+ BaseMessageTypeID?: string;
8084
+ BaseMessageType?: string;
8085
+ NormalizedValue?: string;
8086
+ ValueHash?: string;
8087
+ SoftBounceCount?: number;
8088
+ LastSentAt?: Date;
8089
+ LastDeliveredAt?: Date;
8090
+ LastBouncedAt?: Date;
8091
+ LastEngagedAt?: Date;
8092
+ }, {
8093
+ ID?: string;
8094
+ __mj_CreatedAt?: Date;
8095
+ __mj_UpdatedAt?: Date;
8096
+ Status?: "Active" | "Invalid" | "Complained" | "Erased" | "Hard Bounced" | "Soft Bouncing";
8097
+ Domain?: string;
8098
+ BaseMessageTypeID?: string;
8099
+ BaseMessageType?: string;
8100
+ NormalizedValue?: string;
8101
+ ValueHash?: string;
8102
+ SoftBounceCount?: number;
8103
+ LastSentAt?: Date;
8104
+ LastDeliveredAt?: Date;
8105
+ LastBouncedAt?: Date;
8106
+ LastEngagedAt?: Date;
8107
+ }>;
8108
+ export type MJCommunicationEndpointEntityType = z.infer<typeof MJCommunicationEndpointSchema>;
8109
+ /**
8110
+ * zod schema definition for the entity MJ: Communication Logs
8111
+ */
8112
+ export declare const MJCommunicationLogSchema: z.ZodObject<{
8113
+ ID: z.ZodString;
8114
+ CommunicationProviderID: z.ZodString;
8115
+ CommunicationProviderMessageTypeID: z.ZodString;
8116
+ CommunicationRunID: z.ZodNullable<z.ZodString>;
8117
+ Direction: z.ZodUnion<[z.ZodLiteral<"Receiving">, z.ZodLiteral<"Sending">]>;
8118
+ MessageDate: z.ZodDate;
8119
+ Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Pending">]>;
8120
+ MessageContent: z.ZodNullable<z.ZodString>;
8121
+ ErrorMessage: z.ZodNullable<z.ZodString>;
8122
+ __mj_CreatedAt: z.ZodDate;
8123
+ __mj_UpdatedAt: z.ZodDate;
8124
+ EntityID: z.ZodNullable<z.ZodString>;
8125
+ RecordID: z.ZodNullable<z.ZodString>;
8126
+ CommunicationEndpointID: z.ZodNullable<z.ZodString>;
8127
+ RecipientAddress: z.ZodNullable<z.ZodString>;
8128
+ CommunicationSenderID: z.ZodNullable<z.ZodString>;
8129
+ CommunicationPreferenceID: z.ZodNullable<z.ZodString>;
8130
+ MessageClass: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Marketing">, z.ZodLiteral<"Operational">, z.ZodLiteral<"Transactional">]>>;
8131
+ ScheduledAt: z.ZodNullable<z.ZodDate>;
8132
+ ProviderMessageID: z.ZodNullable<z.ZodString>;
8133
+ UnsubscribeToken: z.ZodNullable<z.ZodString>;
8134
+ TrackingToken: z.ZodNullable<z.ZodString>;
8135
+ CorrelationData: z.ZodNullable<z.ZodString>;
8136
+ ComplianceDecision: z.ZodNullable<z.ZodString>;
8137
+ IsDryRun: z.ZodBoolean;
8138
+ DeferredPayload: z.ZodNullable<z.ZodString>;
8139
+ CommunicationProvider: z.ZodNullable<z.ZodString>;
8140
+ CommunicationProviderMessageType: z.ZodNullable<z.ZodString>;
8141
+ CommunicationRun: z.ZodNullable<z.ZodString>;
8142
+ Entity: z.ZodNullable<z.ZodString>;
8143
+ CommunicationSender: z.ZodNullable<z.ZodString>;
8144
+ CommunicationPreference: z.ZodNullable<z.ZodString>;
8145
+ }, "strip", z.ZodTypeAny, {
8146
+ ID?: string;
8147
+ __mj_CreatedAt?: Date;
8148
+ __mj_UpdatedAt?: Date;
8149
+ Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
8150
+ Direction?: "Receiving" | "Sending";
8151
+ ErrorMessage?: string;
8152
+ EntityID?: string;
8153
+ RecordID?: string;
8154
+ Entity?: string;
8155
+ CommunicationProviderID?: string;
8156
+ CommunicationProvider?: string;
8157
+ CommunicationEndpointID?: string;
8158
+ CommunicationSenderID?: string;
8159
+ ProviderMessageID?: string;
8160
+ CorrelationData?: string;
8161
+ CommunicationSender?: string;
8162
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
8163
+ CommunicationProviderMessageTypeID?: string;
8164
+ CommunicationRunID?: string;
8165
+ MessageDate?: Date;
8166
+ MessageContent?: string;
8167
+ RecipientAddress?: string;
8168
+ CommunicationPreferenceID?: string;
8169
+ ScheduledAt?: Date;
8170
+ UnsubscribeToken?: string;
8171
+ TrackingToken?: string;
8172
+ ComplianceDecision?: string;
8173
+ IsDryRun?: boolean;
8174
+ DeferredPayload?: string;
8175
+ CommunicationProviderMessageType?: string;
8176
+ CommunicationRun?: string;
8177
+ CommunicationPreference?: string;
8178
+ }, {
8179
+ ID?: string;
8180
+ __mj_CreatedAt?: Date;
8181
+ __mj_UpdatedAt?: Date;
8182
+ Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
8183
+ Direction?: "Receiving" | "Sending";
8184
+ ErrorMessage?: string;
8185
+ EntityID?: string;
8186
+ RecordID?: string;
8187
+ Entity?: string;
8188
+ CommunicationProviderID?: string;
8189
+ CommunicationProvider?: string;
8190
+ CommunicationEndpointID?: string;
8191
+ CommunicationSenderID?: string;
8192
+ ProviderMessageID?: string;
8193
+ CorrelationData?: string;
8194
+ CommunicationSender?: string;
8195
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
8196
+ CommunicationProviderMessageTypeID?: string;
8197
+ CommunicationRunID?: string;
8198
+ MessageDate?: Date;
8199
+ MessageContent?: string;
8200
+ RecipientAddress?: string;
8201
+ CommunicationPreferenceID?: string;
8202
+ ScheduledAt?: Date;
8203
+ UnsubscribeToken?: string;
8204
+ TrackingToken?: string;
8205
+ ComplianceDecision?: string;
8206
+ IsDryRun?: boolean;
8207
+ DeferredPayload?: string;
8208
+ CommunicationProviderMessageType?: string;
8209
+ CommunicationRun?: string;
8210
+ CommunicationPreference?: string;
8211
+ }>;
8212
+ export type MJCommunicationLogEntityType = z.infer<typeof MJCommunicationLogSchema>;
8213
+ /**
8214
+ * zod schema definition for the entity MJ: Communication Preferences
8215
+ */
8216
+ export declare const MJCommunicationPreferenceSchema: z.ZodObject<{
8217
+ ID: z.ZodString;
8218
+ CommunicationSenderID: z.ZodNullable<z.ZodString>;
8219
+ Name: z.ZodString;
8220
+ Description: z.ZodNullable<z.ZodString>;
8221
+ Category: z.ZodNullable<z.ZodString>;
8222
+ MessageClass: z.ZodUnion<[z.ZodLiteral<"Marketing">, z.ZodLiteral<"Operational">, z.ZodLiteral<"Transactional">]>;
8223
+ DefaultState: z.ZodUnion<[z.ZodLiteral<"Opted In">, z.ZodLiteral<"Opted Out">]>;
8224
+ BaseMessageTypeID: z.ZodNullable<z.ZodString>;
8225
+ IsUserVisible: z.ZodBoolean;
8226
+ DisplayOrder: z.ZodNumber;
8227
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
8228
+ __mj_CreatedAt: z.ZodDate;
8229
+ __mj_UpdatedAt: z.ZodDate;
8230
+ CommunicationSender: z.ZodNullable<z.ZodString>;
8231
+ BaseMessageType: z.ZodNullable<z.ZodString>;
8232
+ }, "strip", z.ZodTypeAny, {
8233
+ ID?: string;
8234
+ Name?: string;
8235
+ Description?: string;
8236
+ __mj_CreatedAt?: Date;
8237
+ __mj_UpdatedAt?: Date;
8238
+ Status?: "Active" | "Disabled";
8239
+ DisplayOrder?: number;
8240
+ Category?: string;
8241
+ CommunicationSenderID?: string;
8242
+ CommunicationSender?: string;
8243
+ BaseMessageTypeID?: string;
8244
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
8245
+ BaseMessageType?: string;
8246
+ DefaultState?: "Opted In" | "Opted Out";
8247
+ IsUserVisible?: boolean;
8248
+ }, {
8249
+ ID?: string;
8250
+ Name?: string;
8251
+ Description?: string;
8252
+ __mj_CreatedAt?: Date;
8253
+ __mj_UpdatedAt?: Date;
8254
+ Status?: "Active" | "Disabled";
8255
+ DisplayOrder?: number;
8256
+ Category?: string;
8257
+ CommunicationSenderID?: string;
8258
+ CommunicationSender?: string;
8259
+ BaseMessageTypeID?: string;
8260
+ MessageClass?: "Marketing" | "Operational" | "Transactional";
8261
+ BaseMessageType?: string;
8262
+ DefaultState?: "Opted In" | "Opted Out";
8263
+ IsUserVisible?: boolean;
8264
+ }>;
8265
+ export type MJCommunicationPreferenceEntityType = z.infer<typeof MJCommunicationPreferenceSchema>;
8266
+ /**
8267
+ * zod schema definition for the entity MJ: Communication Principal Preferences
8268
+ */
8269
+ export declare const MJCommunicationPrincipalPreferenceSchema: z.ZodObject<{
8270
+ ID: z.ZodString;
8271
+ EntityID: z.ZodString;
8272
+ RecordID: z.ZodString;
8273
+ CommunicationPreferenceID: z.ZodString;
8274
+ CommunicationSenderID: z.ZodNullable<z.ZodString>;
8275
+ State: z.ZodUnion<[z.ZodLiteral<"Opted In">, z.ZodLiteral<"Opted Out">, z.ZodLiteral<"Pending">]>;
8276
+ OptInMethod: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Double">, z.ZodLiteral<"Single">]>>;
8277
+ ConfirmedAt: z.ZodNullable<z.ZodDate>;
8278
+ ConfirmationToken: z.ZodNullable<z.ZodString>;
8279
+ ConsentSource: z.ZodUnion<[z.ZodLiteral<"API">, z.ZodLiteral<"Admin">, z.ZodLiteral<"Import">, z.ZodLiteral<"One-Click Header">, z.ZodLiteral<"Preference Center">, z.ZodLiteral<"Provider Webhook">, z.ZodLiteral<"Signup Form">]>;
8280
+ ConsentAt: z.ZodDate;
8281
+ ConsentText: z.ZodNullable<z.ZodString>;
8282
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
8283
+ CommunicationLogID: z.ZodNullable<z.ZodString>;
8284
+ IPAddress: z.ZodNullable<z.ZodString>;
8285
+ UserAgent: z.ZodNullable<z.ZodString>;
8286
+ ChangedByUserID: z.ZodNullable<z.ZodString>;
8287
+ __mj_CreatedAt: z.ZodDate;
8288
+ __mj_UpdatedAt: z.ZodDate;
8289
+ Entity: z.ZodNullable<z.ZodString>;
8290
+ CommunicationPreference: z.ZodNullable<z.ZodString>;
8291
+ CommunicationSender: z.ZodNullable<z.ZodString>;
8292
+ CommunicationLog: z.ZodNullable<z.ZodDate>;
8293
+ ChangedByUser: z.ZodNullable<z.ZodString>;
8294
+ }, "strip", z.ZodTypeAny, {
8295
+ ID?: string;
8296
+ __mj_CreatedAt?: Date;
8297
+ __mj_UpdatedAt?: Date;
8298
+ ExpiresAt?: Date;
8299
+ IPAddress?: string;
8300
+ UserAgent?: string;
8301
+ EntityID?: string;
8302
+ RecordID?: string;
8303
+ Entity?: string;
8304
+ CommunicationLogID?: string;
8305
+ CommunicationSenderID?: string;
8306
+ CommunicationLog?: Date;
8307
+ CommunicationSender?: string;
8308
+ ChangedByUserID?: string;
8309
+ ChangedByUser?: string;
8310
+ CommunicationPreferenceID?: string;
8311
+ CommunicationPreference?: string;
8312
+ State?: "Pending" | "Opted In" | "Opted Out";
8313
+ OptInMethod?: "Single" | "Double";
8314
+ ConfirmedAt?: Date;
8315
+ ConfirmationToken?: string;
8316
+ ConsentSource?: "API" | "Admin" | "Import" | "One-Click Header" | "Preference Center" | "Provider Webhook" | "Signup Form";
8317
+ ConsentAt?: Date;
8318
+ ConsentText?: string;
8319
+ }, {
8320
+ ID?: string;
8321
+ __mj_CreatedAt?: Date;
8322
+ __mj_UpdatedAt?: Date;
8323
+ ExpiresAt?: Date;
8324
+ IPAddress?: string;
8325
+ UserAgent?: string;
8326
+ EntityID?: string;
8327
+ RecordID?: string;
8328
+ Entity?: string;
8329
+ CommunicationLogID?: string;
8330
+ CommunicationSenderID?: string;
8331
+ CommunicationLog?: Date;
8332
+ CommunicationSender?: string;
8333
+ ChangedByUserID?: string;
8334
+ ChangedByUser?: string;
8335
+ CommunicationPreferenceID?: string;
8336
+ CommunicationPreference?: string;
8337
+ State?: "Pending" | "Opted In" | "Opted Out";
8338
+ OptInMethod?: "Single" | "Double";
8339
+ ConfirmedAt?: Date;
8340
+ ConfirmationToken?: string;
8341
+ ConsentSource?: "API" | "Admin" | "Import" | "One-Click Header" | "Preference Center" | "Provider Webhook" | "Signup Form";
8342
+ ConsentAt?: Date;
8343
+ ConsentText?: string;
8344
+ }>;
8345
+ export type MJCommunicationPrincipalPreferenceEntityType = z.infer<typeof MJCommunicationPrincipalPreferenceSchema>;
8346
+ /**
8347
+ * zod schema definition for the entity MJ: Communication Principals
8348
+ */
8349
+ export declare const MJCommunicationPrincipalSchema: z.ZodObject<{
8350
+ ID: z.ZodString;
8351
+ EntityID: z.ZodString;
8352
+ Name: z.ZodString;
8353
+ Description: z.ZodNullable<z.ZodString>;
8354
+ DriverClass: z.ZodNullable<z.ZodString>;
8355
+ Configuration: z.ZodNullable<z.ZodString>;
8356
+ DisplayOrder: z.ZodNumber;
8357
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
8358
+ __mj_CreatedAt: z.ZodDate;
8359
+ __mj_UpdatedAt: z.ZodDate;
8360
+ Entity: z.ZodNullable<z.ZodString>;
8361
+ }, "strip", z.ZodTypeAny, {
8362
+ ID?: string;
8363
+ Name?: string;
8364
+ Description?: string;
8365
+ __mj_CreatedAt?: Date;
8366
+ __mj_UpdatedAt?: Date;
8367
+ Status?: "Active" | "Disabled";
8368
+ Configuration?: string;
8369
+ DriverClass?: string;
8370
+ DisplayOrder?: number;
8371
+ EntityID?: string;
8372
+ Entity?: string;
8373
+ }, {
8374
+ ID?: string;
8375
+ Name?: string;
8376
+ Description?: string;
8377
+ __mj_CreatedAt?: Date;
8378
+ __mj_UpdatedAt?: Date;
8379
+ Status?: "Active" | "Disabled";
8380
+ Configuration?: string;
8381
+ DriverClass?: string;
8382
+ DisplayOrder?: number;
8383
+ EntityID?: string;
8384
+ Entity?: string;
7414
8385
  }>;
7415
- export type MJCommunicationBaseMessageTypeEntityType = z.infer<typeof MJCommunicationBaseMessageTypeSchema>;
8386
+ export type MJCommunicationPrincipalEntityType = z.infer<typeof MJCommunicationPrincipalSchema>;
7416
8387
  /**
7417
- * zod schema definition for the entity MJ: Communication Logs
8388
+ * zod schema definition for the entity MJ: Communication Provider Events
7418
8389
  */
7419
- export declare const MJCommunicationLogSchema: z.ZodObject<{
8390
+ export declare const MJCommunicationProviderEventSchema: z.ZodObject<{
7420
8391
  ID: z.ZodString;
7421
8392
  CommunicationProviderID: z.ZodString;
7422
- CommunicationProviderMessageTypeID: z.ZodString;
7423
- CommunicationRunID: z.ZodNullable<z.ZodString>;
7424
- Direction: z.ZodUnion<[z.ZodLiteral<"Receiving">, z.ZodLiteral<"Sending">]>;
7425
- MessageDate: z.ZodDate;
7426
- Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Pending">]>;
7427
- MessageContent: z.ZodNullable<z.ZodString>;
7428
- ErrorMessage: z.ZodNullable<z.ZodString>;
8393
+ ProviderEventID: z.ZodString;
8394
+ ReceivedAt: z.ZodDate;
7429
8395
  __mj_CreatedAt: z.ZodDate;
7430
8396
  __mj_UpdatedAt: z.ZodDate;
7431
8397
  CommunicationProvider: z.ZodNullable<z.ZodString>;
7432
- CommunicationProviderMessageType: z.ZodNullable<z.ZodString>;
7433
- CommunicationRun: z.ZodNullable<z.ZodString>;
7434
8398
  }, "strip", z.ZodTypeAny, {
7435
8399
  ID?: string;
7436
8400
  __mj_CreatedAt?: Date;
7437
8401
  __mj_UpdatedAt?: Date;
7438
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
7439
- Direction?: "Receiving" | "Sending";
7440
- ErrorMessage?: string;
8402
+ ReceivedAt?: Date;
7441
8403
  CommunicationProviderID?: string;
7442
8404
  CommunicationProvider?: string;
7443
- CommunicationProviderMessageTypeID?: string;
7444
- CommunicationRunID?: string;
7445
- MessageDate?: Date;
7446
- MessageContent?: string;
7447
- CommunicationProviderMessageType?: string;
7448
- CommunicationRun?: string;
8405
+ ProviderEventID?: string;
7449
8406
  }, {
7450
8407
  ID?: string;
7451
8408
  __mj_CreatedAt?: Date;
7452
8409
  __mj_UpdatedAt?: Date;
7453
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
7454
- Direction?: "Receiving" | "Sending";
7455
- ErrorMessage?: string;
8410
+ ReceivedAt?: Date;
7456
8411
  CommunicationProviderID?: string;
7457
8412
  CommunicationProvider?: string;
7458
- CommunicationProviderMessageTypeID?: string;
7459
- CommunicationRunID?: string;
7460
- MessageDate?: Date;
7461
- MessageContent?: string;
7462
- CommunicationProviderMessageType?: string;
7463
- CommunicationRun?: string;
8413
+ ProviderEventID?: string;
7464
8414
  }>;
7465
- export type MJCommunicationLogEntityType = z.infer<typeof MJCommunicationLogSchema>;
8415
+ export type MJCommunicationProviderEventEntityType = z.infer<typeof MJCommunicationProviderEventSchema>;
7466
8416
  /**
7467
8417
  * zod schema definition for the entity MJ: Communication Provider Message Types
7468
8418
  */
@@ -7524,6 +8474,8 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7524
8474
  DefaultCredentialID: z.ZodNullable<z.ZodString>;
7525
8475
  AllowUserDelegatedOAuth: z.ZodBoolean;
7526
8476
  AllowedOAuthTenantIDs: z.ZodNullable<z.ZodString>;
8477
+ RequireVerifiedDomain: z.ZodBoolean;
8478
+ DeliveryGuarantee: z.ZodUnion<[z.ZodLiteral<"At Least Once">, z.ZodLiteral<"At Most Once">]>;
7527
8479
  DefaultCredential: z.ZodNullable<z.ZodString>;
7528
8480
  }, "strip", z.ZodTypeAny, {
7529
8481
  ID?: string;
@@ -7545,6 +8497,8 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7545
8497
  DefaultCredentialID?: string;
7546
8498
  AllowUserDelegatedOAuth?: boolean;
7547
8499
  AllowedOAuthTenantIDs?: string;
8500
+ RequireVerifiedDomain?: boolean;
8501
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
7548
8502
  DefaultCredential?: string;
7549
8503
  }, {
7550
8504
  ID?: string;
@@ -7566,50 +8520,447 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7566
8520
  DefaultCredentialID?: string;
7567
8521
  AllowUserDelegatedOAuth?: boolean;
7568
8522
  AllowedOAuthTenantIDs?: string;
8523
+ RequireVerifiedDomain?: boolean;
8524
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
7569
8525
  DefaultCredential?: string;
7570
8526
  }>;
7571
8527
  export type MJCommunicationProviderEntityType = z.infer<typeof MJCommunicationProviderSchema>;
8528
+ /**
8529
+ * zod schema definition for the entity MJ: Communication Run Chunks
8530
+ */
8531
+ export declare const MJCommunicationRunChunkSchema: z.ZodObject<{
8532
+ ID: z.ZodString;
8533
+ CommunicationRunID: z.ZodString;
8534
+ ChunkIndex: z.ZodNumber;
8535
+ Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
8536
+ RecipientCount: z.ZodNumber;
8537
+ CompletedAt: z.ZodDate;
8538
+ ErrorMessage: z.ZodNullable<z.ZodString>;
8539
+ __mj_CreatedAt: z.ZodDate;
8540
+ __mj_UpdatedAt: z.ZodDate;
8541
+ CommunicationRun: z.ZodNullable<z.ZodString>;
8542
+ }, "strip", z.ZodTypeAny, {
8543
+ ID?: string;
8544
+ __mj_CreatedAt?: Date;
8545
+ __mj_UpdatedAt?: Date;
8546
+ Status?: "Complete" | "Failed";
8547
+ CompletedAt?: Date;
8548
+ ErrorMessage?: string;
8549
+ CommunicationRunID?: string;
8550
+ CommunicationRun?: string;
8551
+ ChunkIndex?: number;
8552
+ RecipientCount?: number;
8553
+ }, {
8554
+ ID?: string;
8555
+ __mj_CreatedAt?: Date;
8556
+ __mj_UpdatedAt?: Date;
8557
+ Status?: "Complete" | "Failed";
8558
+ CompletedAt?: Date;
8559
+ ErrorMessage?: string;
8560
+ CommunicationRunID?: string;
8561
+ CommunicationRun?: string;
8562
+ ChunkIndex?: number;
8563
+ RecipientCount?: number;
8564
+ }>;
8565
+ export type MJCommunicationRunChunkEntityType = z.infer<typeof MJCommunicationRunChunkSchema>;
7572
8566
  /**
7573
8567
  * zod schema definition for the entity MJ: Communication Runs
7574
8568
  */
7575
8569
  export declare const MJCommunicationRunSchema: z.ZodObject<{
7576
8570
  ID: z.ZodString;
7577
- UserID: z.ZodString;
7578
- Direction: z.ZodUnion<[z.ZodLiteral<"Receiving">, z.ZodLiteral<"Sending">]>;
7579
- Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Pending">]>;
7580
- StartedAt: z.ZodNullable<z.ZodDate>;
7581
- EndedAt: z.ZodNullable<z.ZodDate>;
7582
- Comments: z.ZodNullable<z.ZodString>;
7583
- ErrorMessage: z.ZodNullable<z.ZodString>;
8571
+ UserID: z.ZodString;
8572
+ Direction: z.ZodUnion<[z.ZodLiteral<"Receiving">, z.ZodLiteral<"Sending">]>;
8573
+ Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Pending">]>;
8574
+ StartedAt: z.ZodNullable<z.ZodDate>;
8575
+ EndedAt: z.ZodNullable<z.ZodDate>;
8576
+ Comments: z.ZodNullable<z.ZodString>;
8577
+ ErrorMessage: z.ZodNullable<z.ZodString>;
8578
+ __mj_CreatedAt: z.ZodDate;
8579
+ __mj_UpdatedAt: z.ZodDate;
8580
+ ChunkCount: z.ZodNullable<z.ZodNumber>;
8581
+ DeliveryGuarantee: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"At Least Once">, z.ZodLiteral<"At Most Once">]>>;
8582
+ User: z.ZodNullable<z.ZodString>;
8583
+ }, "strip", z.ZodTypeAny, {
8584
+ ID?: string;
8585
+ __mj_CreatedAt?: Date;
8586
+ __mj_UpdatedAt?: Date;
8587
+ Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
8588
+ UserID?: string;
8589
+ Comments?: string;
8590
+ User?: string;
8591
+ StartedAt?: Date;
8592
+ EndedAt?: Date;
8593
+ Direction?: "Receiving" | "Sending";
8594
+ ErrorMessage?: string;
8595
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
8596
+ ChunkCount?: number;
8597
+ }, {
8598
+ ID?: string;
8599
+ __mj_CreatedAt?: Date;
8600
+ __mj_UpdatedAt?: Date;
8601
+ Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
8602
+ UserID?: string;
8603
+ Comments?: string;
8604
+ User?: string;
8605
+ StartedAt?: Date;
8606
+ EndedAt?: Date;
8607
+ Direction?: "Receiving" | "Sending";
8608
+ ErrorMessage?: string;
8609
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
8610
+ ChunkCount?: number;
8611
+ }>;
8612
+ export type MJCommunicationRunEntityType = z.infer<typeof MJCommunicationRunSchema>;
8613
+ /**
8614
+ * zod schema definition for the entity MJ: Communication Sender Permissions
8615
+ */
8616
+ export declare const MJCommunicationSenderPermissionSchema: z.ZodObject<{
8617
+ ID: z.ZodString;
8618
+ CommunicationSenderID: z.ZodString;
8619
+ RoleID: z.ZodNullable<z.ZodString>;
8620
+ UserID: z.ZodNullable<z.ZodString>;
8621
+ PermissionLevel: z.ZodUnion<[z.ZodLiteral<"Manage">, z.ZodLiteral<"Send">, z.ZodLiteral<"View">]>;
8622
+ AppliesToChildSenders: z.ZodBoolean;
8623
+ __mj_CreatedAt: z.ZodDate;
8624
+ __mj_UpdatedAt: z.ZodDate;
8625
+ CommunicationSender: z.ZodNullable<z.ZodString>;
8626
+ Role: z.ZodNullable<z.ZodString>;
8627
+ User: z.ZodNullable<z.ZodString>;
8628
+ }, "strip", z.ZodTypeAny, {
8629
+ ID?: string;
8630
+ __mj_CreatedAt?: Date;
8631
+ __mj_UpdatedAt?: Date;
8632
+ UserID?: string;
8633
+ User?: string;
8634
+ RoleID?: string;
8635
+ Role?: string;
8636
+ CommunicationSenderID?: string;
8637
+ CommunicationSender?: string;
8638
+ PermissionLevel?: "Manage" | "Send" | "View";
8639
+ AppliesToChildSenders?: boolean;
8640
+ }, {
8641
+ ID?: string;
8642
+ __mj_CreatedAt?: Date;
8643
+ __mj_UpdatedAt?: Date;
8644
+ UserID?: string;
8645
+ User?: string;
8646
+ RoleID?: string;
8647
+ Role?: string;
8648
+ CommunicationSenderID?: string;
8649
+ CommunicationSender?: string;
8650
+ PermissionLevel?: "Manage" | "Send" | "View";
8651
+ AppliesToChildSenders?: boolean;
8652
+ }>;
8653
+ export type MJCommunicationSenderPermissionEntityType = z.infer<typeof MJCommunicationSenderPermissionSchema>;
8654
+ /**
8655
+ * zod schema definition for the entity MJ: Communication Sender Types
8656
+ */
8657
+ export declare const MJCommunicationSenderTypeSchema: z.ZodObject<{
8658
+ ID: z.ZodString;
8659
+ Name: z.ZodString;
8660
+ Description: z.ZodNullable<z.ZodString>;
8661
+ EntityID: z.ZodNullable<z.ZodString>;
8662
+ DriverClass: z.ZodNullable<z.ZodString>;
8663
+ Configuration: z.ZodNullable<z.ZodString>;
8664
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
8665
+ __mj_CreatedAt: z.ZodDate;
8666
+ __mj_UpdatedAt: z.ZodDate;
8667
+ Entity: z.ZodNullable<z.ZodString>;
8668
+ }, "strip", z.ZodTypeAny, {
8669
+ ID?: string;
8670
+ Name?: string;
8671
+ Description?: string;
8672
+ __mj_CreatedAt?: Date;
8673
+ __mj_UpdatedAt?: Date;
8674
+ Status?: "Active" | "Disabled";
8675
+ Configuration?: string;
8676
+ DriverClass?: string;
8677
+ EntityID?: string;
8678
+ Entity?: string;
8679
+ }, {
8680
+ ID?: string;
8681
+ Name?: string;
8682
+ Description?: string;
8683
+ __mj_CreatedAt?: Date;
8684
+ __mj_UpdatedAt?: Date;
8685
+ Status?: "Active" | "Disabled";
8686
+ Configuration?: string;
8687
+ DriverClass?: string;
8688
+ EntityID?: string;
8689
+ Entity?: string;
8690
+ }>;
8691
+ export type MJCommunicationSenderTypeEntityType = z.infer<typeof MJCommunicationSenderTypeSchema>;
8692
+ /**
8693
+ * zod schema definition for the entity MJ: Communication Senders
8694
+ */
8695
+ export declare const MJCommunicationSenderSchema: z.ZodObject<{
8696
+ ID: z.ZodString;
8697
+ CommunicationSenderTypeID: z.ZodString;
8698
+ RecordID: z.ZodNullable<z.ZodString>;
8699
+ ParentSenderID: z.ZodNullable<z.ZodString>;
8700
+ Name: z.ZodString;
8701
+ Description: z.ZodNullable<z.ZodString>;
8702
+ IsDefault: z.ZodBoolean;
8703
+ FromEmail: z.ZodNullable<z.ZodString>;
8704
+ FromName: z.ZodNullable<z.ZodString>;
8705
+ ReplyToEmail: z.ZodNullable<z.ZodString>;
8706
+ FromPhone: z.ZodNullable<z.ZodString>;
8707
+ SendingDomain: z.ZodNullable<z.ZodString>;
8708
+ PostalAddress: z.ZodNullable<z.ZodString>;
8709
+ JurisdictionID: z.ZodNullable<z.ZodString>;
8710
+ CommunicationProviderID: z.ZodNullable<z.ZodString>;
8711
+ CredentialID: z.ZodNullable<z.ZodString>;
8712
+ PreferenceCenterURL: z.ZodNullable<z.ZodString>;
8713
+ TemplateContext: z.ZodNullable<z.ZodString>;
8714
+ Configuration: z.ZodNullable<z.ZodString>;
8715
+ EnforcementMode: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Enforce">, z.ZodLiteral<"Off">, z.ZodLiteral<"Shadow">]>>;
8716
+ DeliveryGuarantee: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"At Least Once">, z.ZodLiteral<"At Most Once">]>>;
8717
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Suspended">]>;
8718
+ __mj_CreatedAt: z.ZodDate;
8719
+ __mj_UpdatedAt: z.ZodDate;
8720
+ CommunicationSenderType: z.ZodNullable<z.ZodString>;
8721
+ ParentSender: z.ZodNullable<z.ZodString>;
8722
+ Jurisdiction: z.ZodNullable<z.ZodString>;
8723
+ CommunicationProvider: z.ZodNullable<z.ZodString>;
8724
+ Credential: z.ZodNullable<z.ZodString>;
8725
+ }, "strip", z.ZodTypeAny, {
8726
+ ID?: string;
8727
+ Name?: string;
8728
+ Description?: string;
8729
+ __mj_CreatedAt?: Date;
8730
+ __mj_UpdatedAt?: Date;
8731
+ Status?: "Active" | "Disabled" | "Suspended";
8732
+ IsDefault?: boolean;
8733
+ Configuration?: string;
8734
+ CredentialID?: string;
8735
+ Credential?: string;
8736
+ RecordID?: string;
8737
+ CommunicationProviderID?: string;
8738
+ CommunicationProvider?: string;
8739
+ JurisdictionID?: string;
8740
+ Jurisdiction?: string;
8741
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
8742
+ CommunicationSenderTypeID?: string;
8743
+ ParentSenderID?: string;
8744
+ FromEmail?: string;
8745
+ FromName?: string;
8746
+ ReplyToEmail?: string;
8747
+ FromPhone?: string;
8748
+ SendingDomain?: string;
8749
+ PostalAddress?: string;
8750
+ PreferenceCenterURL?: string;
8751
+ TemplateContext?: string;
8752
+ EnforcementMode?: "Enforce" | "Off" | "Shadow";
8753
+ CommunicationSenderType?: string;
8754
+ ParentSender?: string;
8755
+ }, {
8756
+ ID?: string;
8757
+ Name?: string;
8758
+ Description?: string;
8759
+ __mj_CreatedAt?: Date;
8760
+ __mj_UpdatedAt?: Date;
8761
+ Status?: "Active" | "Disabled" | "Suspended";
8762
+ IsDefault?: boolean;
8763
+ Configuration?: string;
8764
+ CredentialID?: string;
8765
+ Credential?: string;
8766
+ RecordID?: string;
8767
+ CommunicationProviderID?: string;
8768
+ CommunicationProvider?: string;
8769
+ JurisdictionID?: string;
8770
+ Jurisdiction?: string;
8771
+ DeliveryGuarantee?: "At Least Once" | "At Most Once";
8772
+ CommunicationSenderTypeID?: string;
8773
+ ParentSenderID?: string;
8774
+ FromEmail?: string;
8775
+ FromName?: string;
8776
+ ReplyToEmail?: string;
8777
+ FromPhone?: string;
8778
+ SendingDomain?: string;
8779
+ PostalAddress?: string;
8780
+ PreferenceCenterURL?: string;
8781
+ TemplateContext?: string;
8782
+ EnforcementMode?: "Enforce" | "Off" | "Shadow";
8783
+ CommunicationSenderType?: string;
8784
+ ParentSender?: string;
8785
+ }>;
8786
+ export type MJCommunicationSenderEntityType = z.infer<typeof MJCommunicationSenderSchema>;
8787
+ /**
8788
+ * zod schema definition for the entity MJ: Communication Sending Domains
8789
+ */
8790
+ export declare const MJCommunicationSendingDomainSchema: z.ZodObject<{
8791
+ ID: z.ZodString;
8792
+ CommunicationProviderID: z.ZodString;
8793
+ CredentialID: z.ZodNullable<z.ZodString>;
8794
+ Domain: z.ZodString;
8795
+ ProviderDomainID: z.ZodNullable<z.ZodString>;
8796
+ Status: z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">, z.ZodLiteral<"Verified">]>;
8797
+ DNSRecords: z.ZodNullable<z.ZodString>;
8798
+ LastVerifiedAt: z.ZodNullable<z.ZodDate>;
8799
+ VerifiedAt: z.ZodNullable<z.ZodDate>;
8800
+ __mj_CreatedAt: z.ZodDate;
8801
+ __mj_UpdatedAt: z.ZodDate;
8802
+ CommunicationProvider: z.ZodNullable<z.ZodString>;
8803
+ Credential: z.ZodNullable<z.ZodString>;
8804
+ }, "strip", z.ZodTypeAny, {
8805
+ ID?: string;
8806
+ __mj_CreatedAt?: Date;
8807
+ __mj_UpdatedAt?: Date;
8808
+ Status?: "Pending" | "Revoked" | "Failed" | "Verified";
8809
+ CredentialID?: string;
8810
+ Credential?: string;
8811
+ Domain?: string;
8812
+ CommunicationProviderID?: string;
8813
+ CommunicationProvider?: string;
8814
+ ProviderDomainID?: string;
8815
+ DNSRecords?: string;
8816
+ LastVerifiedAt?: Date;
8817
+ VerifiedAt?: Date;
8818
+ }, {
8819
+ ID?: string;
8820
+ __mj_CreatedAt?: Date;
8821
+ __mj_UpdatedAt?: Date;
8822
+ Status?: "Pending" | "Revoked" | "Failed" | "Verified";
8823
+ CredentialID?: string;
8824
+ Credential?: string;
8825
+ Domain?: string;
8826
+ CommunicationProviderID?: string;
8827
+ CommunicationProvider?: string;
8828
+ ProviderDomainID?: string;
8829
+ DNSRecords?: string;
8830
+ LastVerifiedAt?: Date;
8831
+ VerifiedAt?: Date;
8832
+ }>;
8833
+ export type MJCommunicationSendingDomainEntityType = z.infer<typeof MJCommunicationSendingDomainSchema>;
8834
+ /**
8835
+ * zod schema definition for the entity MJ: Communication Suppression Policies
8836
+ */
8837
+ export declare const MJCommunicationSuppressionPolicySchema: z.ZodObject<{
8838
+ ID: z.ZodString;
8839
+ Name: z.ZodString;
8840
+ Description: z.ZodNullable<z.ZodString>;
8841
+ DriverClass: z.ZodString;
8842
+ Parameters: z.ZodNullable<z.ZodString>;
8843
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
8844
+ __mj_CreatedAt: z.ZodDate;
8845
+ __mj_UpdatedAt: z.ZodDate;
8846
+ }, "strip", z.ZodTypeAny, {
8847
+ ID?: string;
8848
+ Name?: string;
8849
+ Description?: string;
8850
+ __mj_CreatedAt?: Date;
8851
+ __mj_UpdatedAt?: Date;
8852
+ Status?: "Active" | "Disabled";
8853
+ Parameters?: string;
8854
+ DriverClass?: string;
8855
+ }, {
8856
+ ID?: string;
8857
+ Name?: string;
8858
+ Description?: string;
8859
+ __mj_CreatedAt?: Date;
8860
+ __mj_UpdatedAt?: Date;
8861
+ Status?: "Active" | "Disabled";
8862
+ Parameters?: string;
8863
+ DriverClass?: string;
8864
+ }>;
8865
+ export type MJCommunicationSuppressionPolicyEntityType = z.infer<typeof MJCommunicationSuppressionPolicySchema>;
8866
+ /**
8867
+ * zod schema definition for the entity MJ: Communication Suppressions
8868
+ */
8869
+ export declare const MJCommunicationSuppressionSchema: z.ZodObject<{
8870
+ ID: z.ZodString;
8871
+ CommunicationEndpointID: z.ZodNullable<z.ZodString>;
8872
+ EntityID: z.ZodNullable<z.ZodString>;
8873
+ RecordID: z.ZodNullable<z.ZodString>;
8874
+ CommunicationSenderID: z.ZodNullable<z.ZodString>;
8875
+ CommunicationPreferenceID: z.ZodNullable<z.ZodString>;
8876
+ BaseMessageTypeID: z.ZodNullable<z.ZodString>;
8877
+ Reason: z.ZodUnion<[z.ZodLiteral<"Admin Block">, z.ZodLiteral<"Hard Bounce">, z.ZodLiteral<"Invalid Address">, z.ZodLiteral<"Policy">, z.ZodLiteral<"Spam Complaint">, z.ZodLiteral<"User Unsubscribe">]>;
8878
+ Source: z.ZodUnion<[z.ZodLiteral<"API">, z.ZodLiteral<"Admin">, z.ZodLiteral<"Import">, z.ZodLiteral<"One-Click Header">, z.ZodLiteral<"Policy">, z.ZodLiteral<"Preference Center">, z.ZodLiteral<"Provider Webhook">]>;
8879
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Revoked">]>;
8880
+ EffectiveAt: z.ZodDate;
8881
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
8882
+ RevokedAt: z.ZodNullable<z.ZodDate>;
8883
+ RevokedByUserID: z.ZodNullable<z.ZodString>;
8884
+ CommunicationLogID: z.ZodNullable<z.ZodString>;
8885
+ CommunicationSuppressionPolicyID: z.ZodNullable<z.ZodString>;
8886
+ IPAddress: z.ZodNullable<z.ZodString>;
8887
+ UserAgent: z.ZodNullable<z.ZodString>;
8888
+ Notes: z.ZodNullable<z.ZodString>;
8889
+ CreatedByUserID: z.ZodNullable<z.ZodString>;
7584
8890
  __mj_CreatedAt: z.ZodDate;
7585
8891
  __mj_UpdatedAt: z.ZodDate;
7586
- User: z.ZodNullable<z.ZodString>;
8892
+ Entity: z.ZodNullable<z.ZodString>;
8893
+ CommunicationSender: z.ZodNullable<z.ZodString>;
8894
+ CommunicationPreference: z.ZodNullable<z.ZodString>;
8895
+ BaseMessageType: z.ZodNullable<z.ZodString>;
8896
+ RevokedByUser: z.ZodNullable<z.ZodString>;
8897
+ CommunicationLog: z.ZodNullable<z.ZodDate>;
8898
+ CommunicationSuppressionPolicy: z.ZodNullable<z.ZodString>;
8899
+ CreatedByUser: z.ZodNullable<z.ZodString>;
7587
8900
  }, "strip", z.ZodTypeAny, {
7588
8901
  ID?: string;
7589
8902
  __mj_CreatedAt?: Date;
7590
8903
  __mj_UpdatedAt?: Date;
7591
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
7592
- UserID?: string;
7593
- Comments?: string;
7594
- User?: string;
7595
- StartedAt?: Date;
7596
- EndedAt?: Date;
7597
- Direction?: "Receiving" | "Sending";
7598
- ErrorMessage?: string;
8904
+ Status?: "Active" | "Revoked" | "Expired";
8905
+ ExpiresAt?: Date;
8906
+ Notes?: string;
8907
+ Source?: "API" | "Admin" | "Import" | "One-Click Header" | "Policy" | "Preference Center" | "Provider Webhook";
8908
+ CreatedByUserID?: string;
8909
+ CreatedByUser?: string;
8910
+ IPAddress?: string;
8911
+ UserAgent?: string;
8912
+ EntityID?: string;
8913
+ RecordID?: string;
8914
+ Entity?: string;
8915
+ CommunicationLogID?: string;
8916
+ CommunicationEndpointID?: string;
8917
+ CommunicationSenderID?: string;
8918
+ CommunicationLog?: Date;
8919
+ CommunicationSender?: string;
8920
+ BaseMessageTypeID?: string;
8921
+ BaseMessageType?: string;
8922
+ CommunicationPreferenceID?: string;
8923
+ CommunicationPreference?: string;
8924
+ Reason?: "Hard Bounce" | "Spam Complaint" | "Policy" | "Admin Block" | "Invalid Address" | "User Unsubscribe";
8925
+ EffectiveAt?: Date;
8926
+ RevokedAt?: Date;
8927
+ RevokedByUserID?: string;
8928
+ CommunicationSuppressionPolicyID?: string;
8929
+ RevokedByUser?: string;
8930
+ CommunicationSuppressionPolicy?: string;
7599
8931
  }, {
7600
8932
  ID?: string;
7601
8933
  __mj_CreatedAt?: Date;
7602
8934
  __mj_UpdatedAt?: Date;
7603
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
7604
- UserID?: string;
7605
- Comments?: string;
7606
- User?: string;
7607
- StartedAt?: Date;
7608
- EndedAt?: Date;
7609
- Direction?: "Receiving" | "Sending";
7610
- ErrorMessage?: string;
8935
+ Status?: "Active" | "Revoked" | "Expired";
8936
+ ExpiresAt?: Date;
8937
+ Notes?: string;
8938
+ Source?: "API" | "Admin" | "Import" | "One-Click Header" | "Policy" | "Preference Center" | "Provider Webhook";
8939
+ CreatedByUserID?: string;
8940
+ CreatedByUser?: string;
8941
+ IPAddress?: string;
8942
+ UserAgent?: string;
8943
+ EntityID?: string;
8944
+ RecordID?: string;
8945
+ Entity?: string;
8946
+ CommunicationLogID?: string;
8947
+ CommunicationEndpointID?: string;
8948
+ CommunicationSenderID?: string;
8949
+ CommunicationLog?: Date;
8950
+ CommunicationSender?: string;
8951
+ BaseMessageTypeID?: string;
8952
+ BaseMessageType?: string;
8953
+ CommunicationPreferenceID?: string;
8954
+ CommunicationPreference?: string;
8955
+ Reason?: "Hard Bounce" | "Spam Complaint" | "Policy" | "Admin Block" | "Invalid Address" | "User Unsubscribe";
8956
+ EffectiveAt?: Date;
8957
+ RevokedAt?: Date;
8958
+ RevokedByUserID?: string;
8959
+ CommunicationSuppressionPolicyID?: string;
8960
+ RevokedByUser?: string;
8961
+ CommunicationSuppressionPolicy?: string;
7611
8962
  }>;
7612
- export type MJCommunicationRunEntityType = z.infer<typeof MJCommunicationRunSchema>;
8963
+ export type MJCommunicationSuppressionEntityType = z.infer<typeof MJCommunicationSuppressionSchema>;
7613
8964
  /**
7614
8965
  * zod schema definition for the entity MJ: Companies
7615
8966
  */
@@ -7812,6 +9163,8 @@ export declare const MJCompanyIntegrationObjectFieldSchema: z.ZodObject<{
7812
9163
  DisplayName?: string;
7813
9164
  Category?: string;
7814
9165
  DefaultValue?: string;
9166
+ FirstSeenAt?: Date;
9167
+ LastSeenAt?: Date;
7815
9168
  Length?: number;
7816
9169
  Precision?: number;
7817
9170
  Scale?: number;
@@ -7830,8 +9183,6 @@ export declare const MJCompanyIntegrationObjectFieldSchema: z.ZodObject<{
7830
9183
  ProvenanceDetail?: string;
7831
9184
  IsSelected?: boolean;
7832
9185
  SelectedAt?: Date;
7833
- FirstSeenAt?: Date;
7834
- LastSeenAt?: Date;
7835
9186
  LastSampledAt?: Date;
7836
9187
  CompanyIntegrationObject?: string;
7837
9188
  RelatedCompanyIntegrationObject?: string;
@@ -7850,6 +9201,8 @@ export declare const MJCompanyIntegrationObjectFieldSchema: z.ZodObject<{
7850
9201
  DisplayName?: string;
7851
9202
  Category?: string;
7852
9203
  DefaultValue?: string;
9204
+ FirstSeenAt?: Date;
9205
+ LastSeenAt?: Date;
7853
9206
  Length?: number;
7854
9207
  Precision?: number;
7855
9208
  Scale?: number;
@@ -7868,8 +9221,6 @@ export declare const MJCompanyIntegrationObjectFieldSchema: z.ZodObject<{
7868
9221
  ProvenanceDetail?: string;
7869
9222
  IsSelected?: boolean;
7870
9223
  SelectedAt?: Date;
7871
- FirstSeenAt?: Date;
7872
- LastSeenAt?: Date;
7873
9224
  LastSampledAt?: Date;
7874
9225
  CompanyIntegrationObject?: string;
7875
9226
  RelatedCompanyIntegrationObject?: string;
@@ -7947,6 +9298,8 @@ export declare const MJCompanyIntegrationObjectSchema: z.ZodObject<{
7947
9298
  DisplayName?: string;
7948
9299
  Integration?: string;
7949
9300
  Category?: string;
9301
+ FirstSeenAt?: Date;
9302
+ LastSeenAt?: Date;
7950
9303
  CompanyIntegrationID?: string;
7951
9304
  CompanyIntegration?: string;
7952
9305
  IsCustom?: boolean;
@@ -7955,8 +9308,6 @@ export declare const MJCompanyIntegrationObjectSchema: z.ZodObject<{
7955
9308
  ProvenanceDetail?: string;
7956
9309
  IsSelected?: boolean;
7957
9310
  SelectedAt?: Date;
7958
- FirstSeenAt?: Date;
7959
- LastSeenAt?: Date;
7960
9311
  LastSampledAt?: Date;
7961
9312
  IntegrationID?: string;
7962
9313
  APIPath?: string;
@@ -8003,6 +9354,8 @@ export declare const MJCompanyIntegrationObjectSchema: z.ZodObject<{
8003
9354
  DisplayName?: string;
8004
9355
  Integration?: string;
8005
9356
  Category?: string;
9357
+ FirstSeenAt?: Date;
9358
+ LastSeenAt?: Date;
8006
9359
  CompanyIntegrationID?: string;
8007
9360
  CompanyIntegration?: string;
8008
9361
  IsCustom?: boolean;
@@ -8011,8 +9364,6 @@ export declare const MJCompanyIntegrationObjectSchema: z.ZodObject<{
8011
9364
  ProvenanceDetail?: string;
8012
9365
  IsSelected?: boolean;
8013
9366
  SelectedAt?: Date;
8014
- FirstSeenAt?: Date;
8015
- LastSeenAt?: Date;
8016
9367
  LastSampledAt?: Date;
8017
9368
  IntegrationID?: string;
8018
9369
  APIPath?: string;
@@ -8073,7 +9424,7 @@ export declare const MJCompanyIntegrationRecordMapSchema: z.ZodObject<{
8073
9424
  CompanyIntegration?: string;
8074
9425
  ExternalSystemRecordID?: string;
8075
9426
  EntityRecordID?: string;
8076
- Origin?: "Adopted" | "Created";
9427
+ Origin?: "Created" | "Adopted";
8077
9428
  }, {
8078
9429
  ID?: string;
8079
9430
  __mj_CreatedAt?: Date;
@@ -8084,7 +9435,7 @@ export declare const MJCompanyIntegrationRecordMapSchema: z.ZodObject<{
8084
9435
  CompanyIntegration?: string;
8085
9436
  ExternalSystemRecordID?: string;
8086
9437
  EntityRecordID?: string;
8087
- Origin?: "Adopted" | "Created";
9438
+ Origin?: "Created" | "Adopted";
8088
9439
  }>;
8089
9440
  export type MJCompanyIntegrationRecordMapEntityType = z.infer<typeof MJCompanyIntegrationRecordMapSchema>;
8090
9441
  /**
@@ -8199,7 +9550,7 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
8199
9550
  ID?: string;
8200
9551
  __mj_CreatedAt?: Date;
8201
9552
  __mj_UpdatedAt?: Date;
8202
- Status?: "Pending" | "Failed" | "Success" | "Cancelled" | "In Progress" | "Queued";
9553
+ Status?: "Pending" | "Failed" | "Success" | "Cancelled" | "Queued" | "In Progress";
8203
9554
  Integration?: string;
8204
9555
  Comments?: string;
8205
9556
  Company?: string;
@@ -8222,7 +9573,7 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
8222
9573
  ID?: string;
8223
9574
  __mj_CreatedAt?: Date;
8224
9575
  __mj_UpdatedAt?: Date;
8225
- Status?: "Pending" | "Failed" | "Success" | "Cancelled" | "In Progress" | "Queued";
9576
+ Status?: "Pending" | "Failed" | "Success" | "Cancelled" | "Queued" | "In Progress";
8226
9577
  Integration?: string;
8227
9578
  Comments?: string;
8228
9579
  Company?: string;
@@ -9654,9 +11005,9 @@ export declare const MJConversationBranchSchema: z.ZodObject<{
9654
11005
  User?: string;
9655
11006
  Conversation?: string;
9656
11007
  ConversationID?: string;
11008
+ Kind?: "Edit" | "Fork" | "Regenerate";
9657
11009
  ParentBranchID?: string;
9658
11010
  ForkFromSequence?: number;
9659
- Kind?: "Edit" | "Fork" | "Regenerate";
9660
11011
  SourceDetailID?: string;
9661
11012
  ParentBranch?: string;
9662
11013
  }, {
@@ -9668,9 +11019,9 @@ export declare const MJConversationBranchSchema: z.ZodObject<{
9668
11019
  User?: string;
9669
11020
  Conversation?: string;
9670
11021
  ConversationID?: string;
11022
+ Kind?: "Edit" | "Fork" | "Regenerate";
9671
11023
  ParentBranchID?: string;
9672
11024
  ForkFromSequence?: number;
9673
- Kind?: "Edit" | "Fork" | "Regenerate";
9674
11025
  SourceDetailID?: string;
9675
11026
  ParentBranch?: string;
9676
11027
  }>;
@@ -9920,12 +11271,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
9920
11271
  TestRun?: string;
9921
11272
  Error?: string;
9922
11273
  CompletionTime?: number;
11274
+ ExternalID?: string;
11275
+ IsPinned?: boolean;
9923
11276
  ArtifactID?: string;
9924
11277
  ArtifactVersionID?: string;
9925
11278
  Artifact?: string;
9926
11279
  ArtifactVersion?: string;
9927
- ExternalID?: string;
9928
- IsPinned?: boolean;
9929
11280
  HiddenToUser?: boolean;
9930
11281
  UserRating?: number;
9931
11282
  UserFeedback?: string;
@@ -9969,12 +11320,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
9969
11320
  TestRun?: string;
9970
11321
  Error?: string;
9971
11322
  CompletionTime?: number;
11323
+ ExternalID?: string;
11324
+ IsPinned?: boolean;
9972
11325
  ArtifactID?: string;
9973
11326
  ArtifactVersionID?: string;
9974
11327
  Artifact?: string;
9975
11328
  ArtifactVersion?: string;
9976
- ExternalID?: string;
9977
- IsPinned?: boolean;
9978
11329
  HiddenToUser?: boolean;
9979
11330
  UserRating?: number;
9980
11331
  UserFeedback?: string;
@@ -10016,9 +11367,9 @@ export declare const MJConversationSkillSchema: z.ZodObject<{
10016
11367
  Status?: "Active" | "Ended";
10017
11368
  EndedAt?: Date;
10018
11369
  Conversation?: string;
11370
+ SkillID?: string;
10019
11371
  Skill?: string;
10020
11372
  ConversationID?: string;
10021
- SkillID?: string;
10022
11373
  ActivatedByRunID?: string;
10023
11374
  ActivatedByRun?: string;
10024
11375
  }, {
@@ -10028,9 +11379,9 @@ export declare const MJConversationSkillSchema: z.ZodObject<{
10028
11379
  Status?: "Active" | "Ended";
10029
11380
  EndedAt?: Date;
10030
11381
  Conversation?: string;
11382
+ SkillID?: string;
10031
11383
  Skill?: string;
10032
11384
  ConversationID?: string;
10033
- SkillID?: string;
10034
11385
  ActivatedByRunID?: string;
10035
11386
  ActivatedByRun?: string;
10036
11387
  }>;
@@ -10176,6 +11527,7 @@ export declare const MJConversationSchema: z.ZodObject<{
10176
11527
  ResolvedByUserID: z.ZodNullable<z.ZodString>;
10177
11528
  ResolvedAt: z.ZodNullable<z.ZodDate>;
10178
11529
  TypeID: z.ZodString;
11530
+ ParentID: z.ZodNullable<z.ZodString>;
10179
11531
  User: z.ZodNullable<z.ZodString>;
10180
11532
  LinkedEntity: z.ZodNullable<z.ZodString>;
10181
11533
  DataContext: z.ZodNullable<z.ZodString>;
@@ -10188,6 +11540,12 @@ export declare const MJConversationSchema: z.ZodObject<{
10188
11540
  LastConversation: z.ZodNullable<z.ZodString>;
10189
11541
  ResolvedByUser: z.ZodNullable<z.ZodString>;
10190
11542
  Type: z.ZodNullable<z.ZodString>;
11543
+ Parent: z.ZodNullable<z.ZodString>;
11544
+ RootParentID: z.ZodNullable<z.ZodString>;
11545
+ ParentIDDepth: z.ZodNullable<z.ZodNumber>;
11546
+ ParentIDPath: z.ZodNullable<z.ZodString>;
11547
+ ParentIDIsLeaf: z.ZodNullable<z.ZodBoolean>;
11548
+ ParentIDChildCount: z.ZodNullable<z.ZodNumber>;
10191
11549
  }, "strip", z.ZodTypeAny, {
10192
11550
  ID?: string;
10193
11551
  Name?: string;
@@ -10195,6 +11553,13 @@ export declare const MJConversationSchema: z.ZodObject<{
10195
11553
  __mj_CreatedAt?: Date;
10196
11554
  __mj_UpdatedAt?: Date;
10197
11555
  Status?: "Processing" | "Available";
11556
+ ParentID?: string;
11557
+ Parent?: string;
11558
+ RootParentID?: string;
11559
+ ParentIDDepth?: number;
11560
+ ParentIDPath?: string;
11561
+ ParentIDIsLeaf?: boolean;
11562
+ ParentIDChildCount?: number;
10198
11563
  Type?: string;
10199
11564
  UserID?: string;
10200
11565
  User?: string;
@@ -10208,11 +11573,10 @@ export declare const MJConversationSchema: z.ZodObject<{
10208
11573
  TypeID?: string;
10209
11574
  ApplicationID?: string;
10210
11575
  Application?: string;
10211
- EnvironmentID?: string;
10212
- Environment?: string;
10213
11576
  ExternalID?: string;
10214
11577
  IsArchived?: boolean;
10215
11578
  DataContextID?: string;
11579
+ EnvironmentID?: string;
10216
11580
  ProjectID?: string;
10217
11581
  IsPinned?: boolean;
10218
11582
  ApplicationScope?: "Both" | "Application" | "Global";
@@ -10227,6 +11591,7 @@ export declare const MJConversationSchema: z.ZodObject<{
10227
11591
  IsResolved?: boolean;
10228
11592
  ResolvedByUserID?: string;
10229
11593
  ResolvedAt?: Date;
11594
+ Environment?: string;
10230
11595
  ResolvedByUser?: string;
10231
11596
  DataContext?: string;
10232
11597
  Project?: string;
@@ -10239,6 +11604,13 @@ export declare const MJConversationSchema: z.ZodObject<{
10239
11604
  __mj_CreatedAt?: Date;
10240
11605
  __mj_UpdatedAt?: Date;
10241
11606
  Status?: "Processing" | "Available";
11607
+ ParentID?: string;
11608
+ Parent?: string;
11609
+ RootParentID?: string;
11610
+ ParentIDDepth?: number;
11611
+ ParentIDPath?: string;
11612
+ ParentIDIsLeaf?: boolean;
11613
+ ParentIDChildCount?: number;
10242
11614
  Type?: string;
10243
11615
  UserID?: string;
10244
11616
  User?: string;
@@ -10252,11 +11624,10 @@ export declare const MJConversationSchema: z.ZodObject<{
10252
11624
  TypeID?: string;
10253
11625
  ApplicationID?: string;
10254
11626
  Application?: string;
10255
- EnvironmentID?: string;
10256
- Environment?: string;
10257
11627
  ExternalID?: string;
10258
11628
  IsArchived?: boolean;
10259
11629
  DataContextID?: string;
11630
+ EnvironmentID?: string;
10260
11631
  ProjectID?: string;
10261
11632
  IsPinned?: boolean;
10262
11633
  ApplicationScope?: "Both" | "Application" | "Global";
@@ -10271,6 +11642,7 @@ export declare const MJConversationSchema: z.ZodObject<{
10271
11642
  IsResolved?: boolean;
10272
11643
  ResolvedByUserID?: string;
10273
11644
  ResolvedAt?: Date;
11645
+ Environment?: string;
10274
11646
  ResolvedByUser?: string;
10275
11647
  DataContext?: string;
10276
11648
  Project?: string;
@@ -10871,6 +12243,7 @@ export declare const MJDataContextItemSchema: z.ZodObject<{
10871
12243
  RecordID?: string;
10872
12244
  Entity?: string;
10873
12245
  DataContextID?: string;
12246
+ View?: string;
10874
12247
  DataContext?: string;
10875
12248
  ViewID?: string;
10876
12249
  QueryID?: string;
@@ -10878,7 +12251,6 @@ export declare const MJDataContextItemSchema: z.ZodObject<{
10878
12251
  DataJSON?: string;
10879
12252
  LastRefreshedAt?: Date;
10880
12253
  CodeName?: string;
10881
- View?: string;
10882
12254
  Query?: string;
10883
12255
  }, {
10884
12256
  ID?: string;
@@ -10890,6 +12262,7 @@ export declare const MJDataContextItemSchema: z.ZodObject<{
10890
12262
  RecordID?: string;
10891
12263
  Entity?: string;
10892
12264
  DataContextID?: string;
12265
+ View?: string;
10893
12266
  DataContext?: string;
10894
12267
  ViewID?: string;
10895
12268
  QueryID?: string;
@@ -10897,7 +12270,6 @@ export declare const MJDataContextItemSchema: z.ZodObject<{
10897
12270
  DataJSON?: string;
10898
12271
  LastRefreshedAt?: Date;
10899
12272
  CodeName?: string;
10900
- View?: string;
10901
12273
  Query?: string;
10902
12274
  }>;
10903
12275
  export type MJDataContextItemEntityType = z.infer<typeof MJDataContextItemSchema>;
@@ -11048,7 +12420,7 @@ export declare const MJDiagnosticBundleSchema: z.ZodObject<{
11048
12420
  Description?: string;
11049
12421
  __mj_CreatedAt?: Date;
11050
12422
  __mj_UpdatedAt?: Date;
11051
- Status?: "Failed" | "Expired" | "Receiving" | "Sending" | "Building" | "Ready" | "Sent";
12423
+ Status?: "Failed" | "Expired" | "Sent" | "Receiving" | "Sending" | "Building" | "Ready";
11052
12424
  Data?: string;
11053
12425
  CompanyID?: string;
11054
12426
  ExpiresAt?: Date;
@@ -11084,7 +12456,7 @@ export declare const MJDiagnosticBundleSchema: z.ZodObject<{
11084
12456
  Description?: string;
11085
12457
  __mj_CreatedAt?: Date;
11086
12458
  __mj_UpdatedAt?: Date;
11087
- Status?: "Failed" | "Expired" | "Receiving" | "Sending" | "Building" | "Ready" | "Sent";
12459
+ Status?: "Failed" | "Expired" | "Sent" | "Receiving" | "Sending" | "Building" | "Ready";
11088
12460
  Data?: string;
11089
12461
  CompanyID?: string;
11090
12462
  ExpiresAt?: Date;
@@ -11144,6 +12516,7 @@ export declare const MJDiagnosticSenderRegistrationSchema: z.ZodObject<{
11144
12516
  Status?: "Active" | "Pending" | "Revoked";
11145
12517
  Comments?: string;
11146
12518
  LastSeenAt?: Date;
12519
+ RevokedAt?: Date;
11147
12520
  InstallID?: string;
11148
12521
  KeyAlgorithm?: "Ed25519";
11149
12522
  KeyID?: string;
@@ -11151,7 +12524,6 @@ export declare const MJDiagnosticSenderRegistrationSchema: z.ZodObject<{
11151
12524
  RegistrationCodeHash?: string;
11152
12525
  RegistrationCodeExpiresAt?: Date;
11153
12526
  EnrolledAt?: Date;
11154
- RevokedAt?: Date;
11155
12527
  MaxBundlesPerDay?: number;
11156
12528
  }, {
11157
12529
  ID?: string;
@@ -11161,6 +12533,7 @@ export declare const MJDiagnosticSenderRegistrationSchema: z.ZodObject<{
11161
12533
  Status?: "Active" | "Pending" | "Revoked";
11162
12534
  Comments?: string;
11163
12535
  LastSeenAt?: Date;
12536
+ RevokedAt?: Date;
11164
12537
  InstallID?: string;
11165
12538
  KeyAlgorithm?: "Ed25519";
11166
12539
  KeyID?: string;
@@ -11168,7 +12541,6 @@ export declare const MJDiagnosticSenderRegistrationSchema: z.ZodObject<{
11168
12541
  RegistrationCodeHash?: string;
11169
12542
  RegistrationCodeExpiresAt?: Date;
11170
12543
  EnrolledAt?: Date;
11171
- RevokedAt?: Date;
11172
12544
  MaxBundlesPerDay?: number;
11173
12545
  }>;
11174
12546
  export type MJDiagnosticSenderRegistrationEntityType = z.infer<typeof MJDiagnosticSenderRegistrationSchema>;
@@ -11254,8 +12626,8 @@ export declare const MJDiagnosticSessionSchema: z.ZodObject<{
11254
12626
  CreatedByUserID?: string;
11255
12627
  CreatedByUser?: string;
11256
12628
  MaxBytes?: number;
11257
- ScrubLiterals?: boolean;
11258
12629
  Reason?: string;
12630
+ ScrubLiterals?: boolean;
11259
12631
  ScopeType?: "APIKeys" | "BrowserSession" | "Instance" | "Operations" | "Users";
11260
12632
  ScopeJSON?: any;
11261
12633
  Level?: "Standard" | "Verbose" | "Debug";
@@ -11274,8 +12646,8 @@ export declare const MJDiagnosticSessionSchema: z.ZodObject<{
11274
12646
  CreatedByUserID?: string;
11275
12647
  CreatedByUser?: string;
11276
12648
  MaxBytes?: number;
11277
- ScrubLiterals?: boolean;
11278
12649
  Reason?: string;
12650
+ ScrubLiterals?: boolean;
11279
12651
  ScopeType?: "APIKeys" | "BrowserSession" | "Instance" | "Operations" | "Users";
11280
12652
  ScopeJSON?: any;
11281
12653
  Level?: "Standard" | "Verbose" | "Debug";
@@ -11602,16 +12974,16 @@ export declare const MJEmployeeSkillSchema: z.ZodObject<{
11602
12974
  ID?: string;
11603
12975
  __mj_CreatedAt?: Date;
11604
12976
  __mj_UpdatedAt?: Date;
11605
- Skill?: string;
11606
12977
  SkillID?: string;
12978
+ Skill?: string;
11607
12979
  EmployeeID?: string;
11608
12980
  Employee?: string;
11609
12981
  }, {
11610
12982
  ID?: string;
11611
12983
  __mj_CreatedAt?: Date;
11612
12984
  __mj_UpdatedAt?: Date;
11613
- Skill?: string;
11614
12985
  SkillID?: string;
12986
+ Skill?: string;
11615
12987
  EmployeeID?: string;
11616
12988
  Employee?: string;
11617
12989
  }>;
@@ -12396,8 +13768,10 @@ export declare const MJEntityCommunicationMessageTypeSchema: z.ZodObject<{
12396
13768
  IsActive: z.ZodBoolean;
12397
13769
  __mj_CreatedAt: z.ZodDate;
12398
13770
  __mj_UpdatedAt: z.ZodDate;
13771
+ CommunicationPrincipalID: z.ZodNullable<z.ZodString>;
12399
13772
  Entity: z.ZodNullable<z.ZodString>;
12400
13773
  BaseMessageType: z.ZodNullable<z.ZodString>;
13774
+ CommunicationPrincipal: z.ZodNullable<z.ZodString>;
12401
13775
  }, "strip", z.ZodTypeAny, {
12402
13776
  ID?: string;
12403
13777
  IsActive?: boolean;
@@ -12407,6 +13781,8 @@ export declare const MJEntityCommunicationMessageTypeSchema: z.ZodObject<{
12407
13781
  Entity?: string;
12408
13782
  BaseMessageTypeID?: string;
12409
13783
  BaseMessageType?: string;
13784
+ CommunicationPrincipalID?: string;
13785
+ CommunicationPrincipal?: string;
12410
13786
  }, {
12411
13787
  ID?: string;
12412
13788
  IsActive?: boolean;
@@ -12416,6 +13792,8 @@ export declare const MJEntityCommunicationMessageTypeSchema: z.ZodObject<{
12416
13792
  Entity?: string;
12417
13793
  BaseMessageTypeID?: string;
12418
13794
  BaseMessageType?: string;
13795
+ CommunicationPrincipalID?: string;
13796
+ CommunicationPrincipal?: string;
12419
13797
  }>;
12420
13798
  export type MJEntityCommunicationMessageTypeEntityType = z.infer<typeof MJEntityCommunicationMessageTypeSchema>;
12421
13799
  /**
@@ -14117,7 +15495,7 @@ export type MJFeatureValueCacheEntityType = z.infer<typeof MJFeatureValueCacheSc
14117
15495
  */
14118
15496
  export declare const MJFeatureValueSchema: z.ZodObject<{
14119
15497
  ID: z.ZodString;
14120
- RecordProcessID: z.ZodString;
15498
+ RecordProcessID: z.ZodNullable<z.ZodString>;
14121
15499
  EntityID: z.ZodString;
14122
15500
  RecordID: z.ZodString;
14123
15501
  FeatureName: z.ZodString;
@@ -14143,17 +15521,21 @@ export declare const MJFeatureValueSchema: z.ZodObject<{
14143
15521
  ParametersHash: z.ZodNullable<z.ZodString>;
14144
15522
  InputHash: z.ZodNullable<z.ZodString>;
14145
15523
  ValueKeyHash: z.ZodNullable<z.ZodString>;
14146
- Source: z.ZodUnion<[z.ZodLiteral<"Human">, z.ZodLiteral<"Pipeline">]>;
15524
+ Source: z.ZodUnion<[z.ZodLiteral<"Human">, z.ZodLiteral<"Model">, z.ZodLiteral<"Pipeline">]>;
14147
15525
  EffectiveAsOf: z.ZodNullable<z.ZodDate>;
14148
15526
  InputAsOf: z.ZodNullable<z.ZodDate>;
14149
15527
  Role: z.ZodUnion<[z.ZodLiteral<"Challenger">, z.ZodLiteral<"Champion">]>;
14150
15528
  MLModelID: z.ZodNullable<z.ZodString>;
15529
+ MLModelScoringBindingID: z.ZodNullable<z.ZodString>;
15530
+ MLScoringRunID: z.ZodNullable<z.ZodString>;
15531
+ InTraining: z.ZodNullable<z.ZodBoolean>;
14151
15532
  RecordProcess: z.ZodNullable<z.ZodString>;
14152
15533
  Entity: z.ZodNullable<z.ZodString>;
14153
15534
  Prompt: z.ZodNullable<z.ZodString>;
14154
15535
  ProcessRunDetail: z.ZodNullable<z.ZodString>;
14155
15536
  FeatureValueCache: z.ZodNullable<z.ZodString>;
14156
15537
  AIModel: z.ZodNullable<z.ZodString>;
15538
+ MLModelScoringBinding: z.ZodNullable<z.ZodString>;
14157
15539
  }, "strip", z.ZodTypeAny, {
14158
15540
  ID?: string;
14159
15541
  __mj_CreatedAt?: Date;
@@ -14163,7 +15545,7 @@ export declare const MJFeatureValueSchema: z.ZodObject<{
14163
15545
  Role?: "Challenger" | "Champion";
14164
15546
  PromptID?: string;
14165
15547
  Prompt?: string;
14166
- Source?: "Human" | "Pipeline";
15548
+ Source?: "Model" | "Human" | "Pipeline";
14167
15549
  EntityID?: string;
14168
15550
  RecordID?: string;
14169
15551
  Entity?: string;
@@ -14191,8 +15573,12 @@ export declare const MJFeatureValueSchema: z.ZodObject<{
14191
15573
  EffectiveAsOf?: Date;
14192
15574
  InputAsOf?: Date;
14193
15575
  MLModelID?: string;
15576
+ MLModelScoringBindingID?: string;
15577
+ MLScoringRunID?: string;
15578
+ InTraining?: boolean;
14194
15579
  ProcessRunDetail?: string;
14195
15580
  FeatureValueCache?: string;
15581
+ MLModelScoringBinding?: string;
14196
15582
  }, {
14197
15583
  ID?: string;
14198
15584
  __mj_CreatedAt?: Date;
@@ -14202,7 +15588,7 @@ export declare const MJFeatureValueSchema: z.ZodObject<{
14202
15588
  Role?: "Challenger" | "Champion";
14203
15589
  PromptID?: string;
14204
15590
  Prompt?: string;
14205
- Source?: "Human" | "Pipeline";
15591
+ Source?: "Model" | "Human" | "Pipeline";
14206
15592
  EntityID?: string;
14207
15593
  RecordID?: string;
14208
15594
  Entity?: string;
@@ -14230,8 +15616,12 @@ export declare const MJFeatureValueSchema: z.ZodObject<{
14230
15616
  EffectiveAsOf?: Date;
14231
15617
  InputAsOf?: Date;
14232
15618
  MLModelID?: string;
15619
+ MLModelScoringBindingID?: string;
15620
+ MLScoringRunID?: string;
15621
+ InTraining?: boolean;
14233
15622
  ProcessRunDetail?: string;
14234
15623
  FeatureValueCache?: string;
15624
+ MLModelScoringBinding?: string;
14235
15625
  }>;
14236
15626
  export type MJFeatureValueEntityType = z.infer<typeof MJFeatureValueSchema>;
14237
15627
  /**
@@ -14275,6 +15665,7 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14275
15665
  ResolvedByUserID: z.ZodNullable<z.ZodString>;
14276
15666
  ResolvedAt: z.ZodNullable<z.ZodDate>;
14277
15667
  TypeID: z.ZodString;
15668
+ ParentID: z.ZodNullable<z.ZodString>;
14278
15669
  AIPromptRun: z.ZodNullable<z.ZodString>;
14279
15670
  }, "strip", z.ZodTypeAny, {
14280
15671
  ID?: string;
@@ -14283,6 +15674,7 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14283
15674
  __mj_CreatedAt?: Date;
14284
15675
  __mj_UpdatedAt?: Date;
14285
15676
  Status?: string;
15677
+ ParentID?: string;
14286
15678
  UserID?: string;
14287
15679
  TestRunID?: string;
14288
15680
  RecordingFileID?: string;
@@ -14291,11 +15683,10 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14291
15683
  TypeID?: string;
14292
15684
  Source?: "Agent" | "Integration" | "LLM" | "Person";
14293
15685
  ApplicationID?: string;
14294
- EnvironmentID?: string;
14295
- CommentTypeID?: string;
14296
15686
  ExternalID?: string;
14297
15687
  IsArchived?: boolean;
14298
15688
  DataContextID?: string;
15689
+ EnvironmentID?: string;
14299
15690
  ProjectID?: string;
14300
15691
  IsPinned?: boolean;
14301
15692
  ApplicationScope?: string;
@@ -14310,6 +15701,7 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14310
15701
  IsResolved?: boolean;
14311
15702
  ResolvedByUserID?: string;
14312
15703
  ResolvedAt?: Date;
15704
+ CommentTypeID?: string;
14313
15705
  AIPromptRunID?: string;
14314
15706
  AIPromptRun?: string;
14315
15707
  Confidence?: number;
@@ -14322,6 +15714,7 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14322
15714
  __mj_CreatedAt?: Date;
14323
15715
  __mj_UpdatedAt?: Date;
14324
15716
  Status?: string;
15717
+ ParentID?: string;
14325
15718
  UserID?: string;
14326
15719
  TestRunID?: string;
14327
15720
  RecordingFileID?: string;
@@ -14330,11 +15723,10 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14330
15723
  TypeID?: string;
14331
15724
  Source?: "Agent" | "Integration" | "LLM" | "Person";
14332
15725
  ApplicationID?: string;
14333
- EnvironmentID?: string;
14334
- CommentTypeID?: string;
14335
15726
  ExternalID?: string;
14336
15727
  IsArchived?: boolean;
14337
15728
  DataContextID?: string;
15729
+ EnvironmentID?: string;
14338
15730
  ProjectID?: string;
14339
15731
  IsPinned?: boolean;
14340
15732
  ApplicationScope?: string;
@@ -14349,6 +15741,7 @@ export declare const MJFieldSuggestionSchema: z.ZodObject<{
14349
15741
  IsResolved?: boolean;
14350
15742
  ResolvedByUserID?: string;
14351
15743
  ResolvedAt?: Date;
15744
+ CommentTypeID?: string;
14352
15745
  AIPromptRunID?: string;
14353
15746
  AIPromptRun?: string;
14354
15747
  Confidence?: number;
@@ -14832,6 +16225,7 @@ export declare const MJGraphConceptSchema: z.ZodObject<{
14832
16225
  Status: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Draft">, z.ZodLiteral<"Proposed">]>;
14833
16226
  __mj_CreatedAt: z.ZodDate;
14834
16227
  __mj_UpdatedAt: z.ZodDate;
16228
+ Origin: z.ZodUnion<[z.ZodLiteral<"Declared">, z.ZodLiteral<"Inferred">]>;
14835
16229
  Graph: z.ZodNullable<z.ZodString>;
14836
16230
  Parent: z.ZodNullable<z.ZodString>;
14837
16231
  ConceptType: z.ZodNullable<z.ZodString>;
@@ -14845,6 +16239,7 @@ export declare const MJGraphConceptSchema: z.ZodObject<{
14845
16239
  Status?: "Deprecated" | "Approved" | "Draft" | "Proposed";
14846
16240
  ParentID?: string;
14847
16241
  Parent?: string;
16242
+ Origin?: "Declared" | "Inferred";
14848
16243
  Specification?: string;
14849
16244
  GraphID?: string;
14850
16245
  Graph?: string;
@@ -14862,6 +16257,7 @@ export declare const MJGraphConceptSchema: z.ZodObject<{
14862
16257
  Status?: "Deprecated" | "Approved" | "Draft" | "Proposed";
14863
16258
  ParentID?: string;
14864
16259
  Parent?: string;
16260
+ Origin?: "Declared" | "Inferred";
14865
16261
  Specification?: string;
14866
16262
  GraphID?: string;
14867
16263
  Graph?: string;
@@ -15064,6 +16460,10 @@ export declare const MJGraphTypeSchema: z.ZodObject<{
15064
16460
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
15065
16461
  __mj_CreatedAt: z.ZodDate;
15066
16462
  __mj_UpdatedAt: z.ZodDate;
16463
+ DefaultAuthorityTierID: z.ZodNullable<z.ZodString>;
16464
+ DefaultConceptTaxonomyMode: z.ZodUnion<[z.ZodLiteral<"Auto Grow">, z.ZodLiteral<"Constrained">, z.ZodLiteral<"Propose Only">]>;
16465
+ DefaultGroundingMode: z.ZodUnion<[z.ZodLiteral<"Full Canon">, z.ZodLiteral<"None">, z.ZodLiteral<"Schema and Queries">]>;
16466
+ DefaultAuthorityTier: z.ZodNullable<z.ZodString>;
15067
16467
  }, "strip", z.ZodTypeAny, {
15068
16468
  ID?: string;
15069
16469
  Name?: string;
@@ -15074,6 +16474,10 @@ export declare const MJGraphTypeSchema: z.ZodObject<{
15074
16474
  IconClass?: string;
15075
16475
  Rank?: number;
15076
16476
  IsCanon?: boolean;
16477
+ DefaultAuthorityTierID?: string;
16478
+ DefaultConceptTaxonomyMode?: "Auto Grow" | "Constrained" | "Propose Only";
16479
+ DefaultGroundingMode?: "None" | "Full Canon" | "Schema and Queries";
16480
+ DefaultAuthorityTier?: string;
15077
16481
  }, {
15078
16482
  ID?: string;
15079
16483
  Name?: string;
@@ -15084,6 +16488,10 @@ export declare const MJGraphTypeSchema: z.ZodObject<{
15084
16488
  IconClass?: string;
15085
16489
  Rank?: number;
15086
16490
  IsCanon?: boolean;
16491
+ DefaultAuthorityTierID?: string;
16492
+ DefaultConceptTaxonomyMode?: "Auto Grow" | "Constrained" | "Propose Only";
16493
+ DefaultGroundingMode?: "None" | "Full Canon" | "Schema and Queries";
16494
+ DefaultAuthorityTier?: string;
15087
16495
  }>;
15088
16496
  export type MJGraphTypeEntityType = z.infer<typeof MJGraphTypeSchema>;
15089
16497
  /**
@@ -15622,9 +17030,9 @@ export declare const MJInteractionEventSchema: z.ZodObject<{
15622
17030
  __mj_CreatedAt?: Date;
15623
17031
  __mj_UpdatedAt?: Date;
15624
17032
  Details?: string;
15625
- InteractionID?: string;
15626
- EventType?: "Created" | "Queued" | "Ended" | "Accepted" | "Abandoned" | "Answered" | "Declined" | "Escalated" | "Held" | "Offered" | "RecordingStarted" | "RecordingStopped" | "Resumed" | "Transferred";
17033
+ EventType?: "Accepted" | "Declined" | "Offered" | "Queued" | "Created" | "Ended" | "Abandoned" | "Answered" | "Escalated" | "Held" | "RecordingStarted" | "RecordingStopped" | "Resumed" | "Transferred";
15627
17034
  OccurredAt?: Date;
17035
+ InteractionID?: string;
15628
17036
  ActorUserID?: string;
15629
17037
  ActorAgentID?: string;
15630
17038
  ActorUser?: string;
@@ -15634,9 +17042,9 @@ export declare const MJInteractionEventSchema: z.ZodObject<{
15634
17042
  __mj_CreatedAt?: Date;
15635
17043
  __mj_UpdatedAt?: Date;
15636
17044
  Details?: string;
15637
- InteractionID?: string;
15638
- EventType?: "Created" | "Queued" | "Ended" | "Accepted" | "Abandoned" | "Answered" | "Declined" | "Escalated" | "Held" | "Offered" | "RecordingStarted" | "RecordingStopped" | "Resumed" | "Transferred";
17045
+ EventType?: "Accepted" | "Declined" | "Offered" | "Queued" | "Created" | "Ended" | "Abandoned" | "Answered" | "Escalated" | "Held" | "RecordingStarted" | "RecordingStopped" | "Resumed" | "Transferred";
15639
17046
  OccurredAt?: Date;
17047
+ InteractionID?: string;
15640
17048
  ActorUserID?: string;
15641
17049
  ActorAgentID?: string;
15642
17050
  ActorUser?: string;
@@ -15702,14 +17110,14 @@ export declare const MJInteractionOfferSchema: z.ZodObject<{
15702
17110
  Status?: "Pending" | "Expired" | "Cancelled" | "Accepted" | "Declined";
15703
17111
  ExpiresAt?: Date;
15704
17112
  RespondedAt?: Date;
17113
+ Summary?: string;
17114
+ OfferedAt?: Date;
15705
17115
  Mode?: "Blind" | "Warm";
15706
17116
  InteractionID?: string;
15707
17117
  TargetUserID?: string;
15708
17118
  OfferedByAgentID?: string;
15709
17119
  RoomName?: string;
15710
17120
  CallerLabel?: string;
15711
- Summary?: string;
15712
- OfferedAt?: Date;
15713
17121
  TargetUser?: string;
15714
17122
  OfferedByAgent?: string;
15715
17123
  }, {
@@ -15719,14 +17127,14 @@ export declare const MJInteractionOfferSchema: z.ZodObject<{
15719
17127
  Status?: "Pending" | "Expired" | "Cancelled" | "Accepted" | "Declined";
15720
17128
  ExpiresAt?: Date;
15721
17129
  RespondedAt?: Date;
17130
+ Summary?: string;
17131
+ OfferedAt?: Date;
15722
17132
  Mode?: "Blind" | "Warm";
15723
17133
  InteractionID?: string;
15724
17134
  TargetUserID?: string;
15725
17135
  OfferedByAgentID?: string;
15726
17136
  RoomName?: string;
15727
17137
  CallerLabel?: string;
15728
- Summary?: string;
15729
- OfferedAt?: Date;
15730
17138
  TargetUser?: string;
15731
17139
  OfferedByAgent?: string;
15732
17140
  }>;
@@ -15793,6 +17201,73 @@ export declare const MJInteractionSchema: z.ZodObject<{
15793
17201
  CostEstimate?: number;
15794
17202
  }>;
15795
17203
  export type MJInteractionEntityType = z.infer<typeof MJInteractionSchema>;
17204
+ /**
17205
+ * zod schema definition for the entity MJ: Jurisdiction Members
17206
+ */
17207
+ export declare const MJJurisdictionMemberSchema: z.ZodObject<{
17208
+ ID: z.ZodString;
17209
+ GroupJurisdictionID: z.ZodString;
17210
+ MemberJurisdictionID: z.ZodString;
17211
+ __mj_CreatedAt: z.ZodDate;
17212
+ __mj_UpdatedAt: z.ZodDate;
17213
+ GroupJurisdiction: z.ZodNullable<z.ZodString>;
17214
+ MemberJurisdiction: z.ZodNullable<z.ZodString>;
17215
+ }, "strip", z.ZodTypeAny, {
17216
+ ID?: string;
17217
+ __mj_CreatedAt?: Date;
17218
+ __mj_UpdatedAt?: Date;
17219
+ GroupJurisdictionID?: string;
17220
+ MemberJurisdictionID?: string;
17221
+ GroupJurisdiction?: string;
17222
+ MemberJurisdiction?: string;
17223
+ }, {
17224
+ ID?: string;
17225
+ __mj_CreatedAt?: Date;
17226
+ __mj_UpdatedAt?: Date;
17227
+ GroupJurisdictionID?: string;
17228
+ MemberJurisdictionID?: string;
17229
+ GroupJurisdiction?: string;
17230
+ MemberJurisdiction?: string;
17231
+ }>;
17232
+ export type MJJurisdictionMemberEntityType = z.infer<typeof MJJurisdictionMemberSchema>;
17233
+ /**
17234
+ * zod schema definition for the entity MJ: Jurisdictions
17235
+ */
17236
+ export declare const MJJurisdictionSchema: z.ZodObject<{
17237
+ ID: z.ZodString;
17238
+ Code: z.ZodString;
17239
+ Name: z.ZodString;
17240
+ Description: z.ZodNullable<z.ZodString>;
17241
+ Type: z.ZodUnion<[z.ZodLiteral<"Country">, z.ZodLiteral<"Group">, z.ZodLiteral<"Subdivision">]>;
17242
+ CountryID: z.ZodNullable<z.ZodString>;
17243
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
17244
+ __mj_CreatedAt: z.ZodDate;
17245
+ __mj_UpdatedAt: z.ZodDate;
17246
+ Country: z.ZodNullable<z.ZodString>;
17247
+ }, "strip", z.ZodTypeAny, {
17248
+ ID?: string;
17249
+ Name?: string;
17250
+ Description?: string;
17251
+ __mj_CreatedAt?: Date;
17252
+ __mj_UpdatedAt?: Date;
17253
+ Status?: "Active" | "Disabled";
17254
+ Type?: "Group" | "Country" | "Subdivision";
17255
+ Code?: string;
17256
+ Country?: string;
17257
+ CountryID?: string;
17258
+ }, {
17259
+ ID?: string;
17260
+ Name?: string;
17261
+ Description?: string;
17262
+ __mj_CreatedAt?: Date;
17263
+ __mj_UpdatedAt?: Date;
17264
+ Status?: "Active" | "Disabled";
17265
+ Type?: "Group" | "Country" | "Subdivision";
17266
+ Code?: string;
17267
+ Country?: string;
17268
+ CountryID?: string;
17269
+ }>;
17270
+ export type MJJurisdictionEntityType = z.infer<typeof MJJurisdictionSchema>;
15796
17271
  /**
15797
17272
  * zod schema definition for the entity MJ: Knowledge Hub Saved Searches
15798
17273
  */
@@ -15833,7 +17308,72 @@ export declare const MJKnowledgeHubSavedSearchSchema: z.ZodObject<{
15833
17308
  Filters?: string;
15834
17309
  NotifyOnNewResults?: boolean;
15835
17310
  }>;
15836
- export type MJKnowledgeHubSavedSearchEntityType = z.infer<typeof MJKnowledgeHubSavedSearchSchema>;
17311
+ export type MJKnowledgeHubSavedSearchEntityType = z.infer<typeof MJKnowledgeHubSavedSearchSchema>;
17312
+ /**
17313
+ * zod schema definition for the entity MJ: Latest Feature Values
17314
+ */
17315
+ export declare const MJvwLatestFeatureValuesSchema: z.ZodObject<{
17316
+ ID: z.ZodString;
17317
+ EntityID: z.ZodString;
17318
+ RecordID: z.ZodString;
17319
+ FeatureName: z.ZodString;
17320
+ Source: z.ZodString;
17321
+ Role: z.ZodString;
17322
+ EffectiveAsOf: z.ZodNullable<z.ZodDate>;
17323
+ ComputedAt: z.ZodDate;
17324
+ MLModelScoringBindingID: z.ZodNullable<z.ZodString>;
17325
+ MLModelID: z.ZodNullable<z.ZodString>;
17326
+ MLScoringRunID: z.ZodNullable<z.ZodString>;
17327
+ InTraining: z.ZodNullable<z.ZodBoolean>;
17328
+ RecordProcessID: z.ZodNullable<z.ZodString>;
17329
+ ValueText: z.ZodNullable<z.ZodString>;
17330
+ ValueNumeric: z.ZodNullable<z.ZodNumber>;
17331
+ ValueDate: z.ZodNullable<z.ZodDate>;
17332
+ ValueBoolean: z.ZodNullable<z.ZodBoolean>;
17333
+ ValueJSON: z.ZodNullable<z.ZodString>;
17334
+ Confidence: z.ZodNullable<z.ZodNumber>;
17335
+ }, "strip", z.ZodTypeAny, {
17336
+ ID?: string;
17337
+ Role?: string;
17338
+ Source?: string;
17339
+ EntityID?: string;
17340
+ RecordID?: string;
17341
+ RecordProcessID?: string;
17342
+ ComputedAt?: Date;
17343
+ FeatureName?: string;
17344
+ ValueText?: string;
17345
+ ValueNumeric?: number;
17346
+ ValueDate?: Date;
17347
+ ValueBoolean?: boolean;
17348
+ ValueJSON?: string;
17349
+ Confidence?: number;
17350
+ EffectiveAsOf?: Date;
17351
+ MLModelID?: string;
17352
+ MLModelScoringBindingID?: string;
17353
+ MLScoringRunID?: string;
17354
+ InTraining?: boolean;
17355
+ }, {
17356
+ ID?: string;
17357
+ Role?: string;
17358
+ Source?: string;
17359
+ EntityID?: string;
17360
+ RecordID?: string;
17361
+ RecordProcessID?: string;
17362
+ ComputedAt?: Date;
17363
+ FeatureName?: string;
17364
+ ValueText?: string;
17365
+ ValueNumeric?: number;
17366
+ ValueDate?: Date;
17367
+ ValueBoolean?: boolean;
17368
+ ValueJSON?: string;
17369
+ Confidence?: number;
17370
+ EffectiveAsOf?: Date;
17371
+ MLModelID?: string;
17372
+ MLModelScoringBindingID?: string;
17373
+ MLScoringRunID?: string;
17374
+ InTraining?: boolean;
17375
+ }>;
17376
+ export type MJvwLatestFeatureValuesEntityType = z.infer<typeof MJvwLatestFeatureValuesSchema>;
15837
17377
  /**
15838
17378
  * zod schema definition for the entity MJ: Libraries
15839
17379
  */
@@ -16764,51 +18304,143 @@ export declare const MJMLEvaluationProtocolSchema: z.ZodObject<{
16764
18304
  LineageRoot?: string;
16765
18305
  }>;
16766
18306
  export type MJMLEvaluationProtocolEntityType = z.infer<typeof MJMLEvaluationProtocolSchema>;
18307
+ /**
18308
+ * zod schema definition for the entity MJ: ML Model Publish Records
18309
+ */
18310
+ export declare const MJMLModelPublishRecordSchema: z.ZodObject<{
18311
+ ID: z.ZodString;
18312
+ ModelID: z.ZodNullable<z.ZodString>;
18313
+ TrainingRunID: z.ZodNullable<z.ZodString>;
18314
+ Kind: z.ZodUnion<[z.ZodLiteral<"publish">, z.ZodLiteral<"refusal">, z.ZodLiteral<"sign-off">]>;
18315
+ Purpose: z.ZodUnion<[z.ZodLiteral<"adopt">, z.ZodLiteral<"evaluate">, z.ZodLiteral<"publish">, z.ZodLiteral<"rollback">]>;
18316
+ ApproverKind: z.ZodString;
18317
+ UserID: z.ZodNullable<z.ZodString>;
18318
+ Initiator: z.ZodAny;
18319
+ RecordedAt: z.ZodDate;
18320
+ Decision: z.ZodNullable<z.ZodString>;
18321
+ Reason: z.ZodNullable<z.ZodString>;
18322
+ GateDecision: z.ZodNullable<z.ZodAny>;
18323
+ Evidence: z.ZodNullable<z.ZodAny>;
18324
+ EvidenceSha256: z.ZodNullable<z.ZodString>;
18325
+ OverridesFlags: z.ZodString;
18326
+ SignOffID: z.ZodNullable<z.ZodString>;
18327
+ ReplacesModelID: z.ZodNullable<z.ZodString>;
18328
+ Refusal: z.ZodNullable<z.ZodAny>;
18329
+ Transient: z.ZodBoolean;
18330
+ __mj_CreatedAt: z.ZodDate;
18331
+ __mj_UpdatedAt: z.ZodDate;
18332
+ User: z.ZodNullable<z.ZodString>;
18333
+ }, "strip", z.ZodTypeAny, {
18334
+ ID?: string;
18335
+ __mj_CreatedAt?: Date;
18336
+ __mj_UpdatedAt?: Date;
18337
+ Purpose?: "publish" | "adopt" | "evaluate" | "rollback";
18338
+ UserID?: string;
18339
+ User?: string;
18340
+ ModelID?: string;
18341
+ Decision?: string;
18342
+ Kind?: "publish" | "refusal" | "sign-off";
18343
+ Initiator?: any;
18344
+ Reason?: string;
18345
+ TrainingRunID?: string;
18346
+ ApproverKind?: string;
18347
+ RecordedAt?: Date;
18348
+ GateDecision?: any;
18349
+ Evidence?: any;
18350
+ EvidenceSha256?: string;
18351
+ OverridesFlags?: string;
18352
+ SignOffID?: string;
18353
+ ReplacesModelID?: string;
18354
+ Refusal?: any;
18355
+ Transient?: boolean;
18356
+ }, {
18357
+ ID?: string;
18358
+ __mj_CreatedAt?: Date;
18359
+ __mj_UpdatedAt?: Date;
18360
+ Purpose?: "publish" | "adopt" | "evaluate" | "rollback";
18361
+ UserID?: string;
18362
+ User?: string;
18363
+ ModelID?: string;
18364
+ Decision?: string;
18365
+ Kind?: "publish" | "refusal" | "sign-off";
18366
+ Initiator?: any;
18367
+ Reason?: string;
18368
+ TrainingRunID?: string;
18369
+ ApproverKind?: string;
18370
+ RecordedAt?: Date;
18371
+ GateDecision?: any;
18372
+ Evidence?: any;
18373
+ EvidenceSha256?: string;
18374
+ OverridesFlags?: string;
18375
+ SignOffID?: string;
18376
+ ReplacesModelID?: string;
18377
+ Refusal?: any;
18378
+ Transient?: boolean;
18379
+ }>;
18380
+ export type MJMLModelPublishRecordEntityType = z.infer<typeof MJMLModelPublishRecordSchema>;
16767
18381
  /**
16768
18382
  * zod schema definition for the entity MJ: ML Model Scoring Bindings
16769
18383
  */
16770
18384
  export declare const MJMLModelScoringBindingSchema: z.ZodObject<{
16771
18385
  ID: z.ZodString;
16772
- MLModelID: z.ZodString;
16773
18386
  RecordProcessID: z.ZodNullable<z.ZodString>;
16774
18387
  TargetEntityID: z.ZodNullable<z.ZodString>;
16775
18388
  TargetColumn: z.ZodNullable<z.ZodString>;
16776
- Mode: z.ZodUnion<[z.ZodLiteral<"Materialized">, z.ZodLiteral<"OnDemand">, z.ZodLiteral<"Scheduled">]>;
16777
- MaterializedResultID: z.ZodNullable<z.ZodString>;
18389
+ Mode: z.ZodUnion<[z.ZodLiteral<"OnDemand">, z.ZodLiteral<"Scheduled">]>;
16778
18390
  LastScoredAt: z.ZodNullable<z.ZodDate>;
16779
18391
  LastRowCount: z.ZodNullable<z.ZodNumber>;
16780
18392
  __mj_CreatedAt: z.ZodDate;
16781
18393
  __mj_UpdatedAt: z.ZodDate;
18394
+ MLTrainingPipelineID: z.ZodString;
18395
+ FeatureName: z.ZodString;
18396
+ TargetColumnSource: z.ZodNullable<z.ZodString>;
18397
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Withdrawn">]>;
18398
+ ViewAuthorizationID: z.ZodNullable<z.ZodString>;
18399
+ RetentionDays: z.ZodNullable<z.ZodNumber>;
16782
18400
  RecordProcess: z.ZodNullable<z.ZodString>;
16783
18401
  TargetEntity: z.ZodNullable<z.ZodString>;
18402
+ MLTrainingPipeline: z.ZodNullable<z.ZodString>;
18403
+ ViewAuthorization: z.ZodNullable<z.ZodString>;
16784
18404
  }, "strip", z.ZodTypeAny, {
16785
18405
  ID?: string;
16786
18406
  __mj_CreatedAt?: Date;
16787
18407
  __mj_UpdatedAt?: Date;
18408
+ Status?: "Active" | "Withdrawn";
16788
18409
  TargetEntityID?: string;
16789
18410
  TargetEntity?: string;
16790
- Mode?: "OnDemand" | "Scheduled" | "Materialized";
18411
+ Mode?: "OnDemand" | "Scheduled";
18412
+ RetentionDays?: number;
16791
18413
  RecordProcessID?: string;
16792
18414
  RecordProcess?: string;
16793
- MLModelID?: string;
18415
+ FeatureName?: string;
16794
18416
  TargetColumn?: string;
16795
- MaterializedResultID?: string;
16796
18417
  LastScoredAt?: Date;
16797
18418
  LastRowCount?: number;
18419
+ MLTrainingPipelineID?: string;
18420
+ TargetColumnSource?: string;
18421
+ ViewAuthorizationID?: string;
18422
+ MLTrainingPipeline?: string;
18423
+ ViewAuthorization?: string;
16798
18424
  }, {
16799
18425
  ID?: string;
16800
18426
  __mj_CreatedAt?: Date;
16801
18427
  __mj_UpdatedAt?: Date;
18428
+ Status?: "Active" | "Withdrawn";
16802
18429
  TargetEntityID?: string;
16803
18430
  TargetEntity?: string;
16804
- Mode?: "OnDemand" | "Scheduled" | "Materialized";
18431
+ Mode?: "OnDemand" | "Scheduled";
18432
+ RetentionDays?: number;
16805
18433
  RecordProcessID?: string;
16806
18434
  RecordProcess?: string;
16807
- MLModelID?: string;
18435
+ FeatureName?: string;
16808
18436
  TargetColumn?: string;
16809
- MaterializedResultID?: string;
16810
18437
  LastScoredAt?: Date;
16811
18438
  LastRowCount?: number;
18439
+ MLTrainingPipelineID?: string;
18440
+ TargetColumnSource?: string;
18441
+ ViewAuthorizationID?: string;
18442
+ MLTrainingPipeline?: string;
18443
+ ViewAuthorization?: string;
16812
18444
  }>;
16813
18445
  export type MJMLModelScoringBindingEntityType = z.infer<typeof MJMLModelScoringBindingSchema>;
16814
18446
  /**
@@ -16831,21 +18463,39 @@ export declare const MJMLModelSchema: z.ZodObject<{
16831
18463
  TrainedAt: z.ZodNullable<z.ZodDate>;
16832
18464
  TrainingDurationSec: z.ZodNullable<z.ZodNumber>;
16833
18465
  TrainingRowCount: z.ZodNullable<z.ZodNumber>;
16834
- Status: z.ZodUnion<[z.ZodLiteral<"Archived">, z.ZodLiteral<"Draft">, z.ZodLiteral<"Published">, z.ZodLiteral<"Validated">]>;
18466
+ Status: z.ZodUnion<[z.ZodLiteral<"Archived">, z.ZodLiteral<"Draft">, z.ZodLiteral<"KeepBaseline">, z.ZodLiteral<"Published">, z.ZodLiteral<"Unevaluated">, z.ZodLiteral<"Validated">]>;
16835
18467
  __mj_CreatedAt: z.ZodDate;
16836
18468
  __mj_UpdatedAt: z.ZodDate;
18469
+ PredictionUnitID: z.ZodNullable<z.ZodString>;
18470
+ EvaluationProtocolID: z.ZodNullable<z.ZodString>;
18471
+ TrainingSnapshotID: z.ZodNullable<z.ZodString>;
18472
+ TrainingRunID: z.ZodNullable<z.ZodString>;
18473
+ ArtifactSha256: z.ZodNullable<z.ZodString>;
18474
+ SnapshotHash: z.ZodNullable<z.ZodString>;
18475
+ CodeVersion: z.ZodNullable<z.ZodAny>;
18476
+ FeatureSchemaHash: z.ZodNullable<z.ZodString>;
18477
+ OutputSemantics: z.ZodNullable<z.ZodAny>;
18478
+ Delivery: z.ZodNullable<z.ZodAny>;
18479
+ StatusReason: z.ZodNullable<z.ZodString>;
18480
+ ArtifactStatus: z.ZodUnion<[z.ZodLiteral<"hash-mismatch">, z.ZodLiteral<"legacy-local">, z.ZodLiteral<"missing">, z.ZodLiteral<"unverified">, z.ZodLiteral<"verified">]>;
18481
+ ArtifactCheckedAt: z.ZodNullable<z.ZodDate>;
18482
+ ServingWhileUnevaluated: z.ZodBoolean;
16837
18483
  Pipeline: z.ZodNullable<z.ZodString>;
16838
18484
  Algorithm: z.ZodNullable<z.ZodString>;
16839
18485
  ArtifactFile: z.ZodNullable<z.ZodString>;
18486
+ PredictionUnit: z.ZodNullable<z.ZodString>;
18487
+ EvaluationProtocol: z.ZodNullable<z.ZodString>;
18488
+ TrainingSnapshot: z.ZodNullable<z.ZodString>;
16840
18489
  }, "strip", z.ZodTypeAny, {
16841
18490
  ID?: string;
16842
18491
  __mj_CreatedAt?: Date;
16843
18492
  __mj_UpdatedAt?: Date;
16844
- Status?: "Archived" | "Draft" | "Published" | "Validated";
18493
+ Status?: "Archived" | "Draft" | "Published" | "KeepBaseline" | "Unevaluated" | "Validated";
16845
18494
  Algorithm?: string;
16846
18495
  Metrics?: string;
16847
18496
  Version?: number;
16848
18497
  Pipeline?: string;
18498
+ TrainingRunID?: string;
16849
18499
  PipelineID?: string;
16850
18500
  AlgorithmID?: string;
16851
18501
  ArtifactFileID?: string;
@@ -16859,16 +18509,33 @@ export declare const MJMLModelSchema: z.ZodObject<{
16859
18509
  TrainedAt?: Date;
16860
18510
  TrainingDurationSec?: number;
16861
18511
  TrainingRowCount?: number;
18512
+ PredictionUnitID?: string;
18513
+ EvaluationProtocolID?: string;
18514
+ TrainingSnapshotID?: string;
18515
+ ArtifactSha256?: string;
18516
+ SnapshotHash?: string;
18517
+ CodeVersion?: any;
18518
+ FeatureSchemaHash?: string;
18519
+ OutputSemantics?: any;
18520
+ Delivery?: any;
18521
+ StatusReason?: string;
18522
+ ArtifactStatus?: "hash-mismatch" | "legacy-local" | "missing" | "unverified" | "verified";
18523
+ ArtifactCheckedAt?: Date;
18524
+ ServingWhileUnevaluated?: boolean;
16862
18525
  ArtifactFile?: string;
18526
+ PredictionUnit?: string;
18527
+ EvaluationProtocol?: string;
18528
+ TrainingSnapshot?: string;
16863
18529
  }, {
16864
18530
  ID?: string;
16865
18531
  __mj_CreatedAt?: Date;
16866
18532
  __mj_UpdatedAt?: Date;
16867
- Status?: "Archived" | "Draft" | "Published" | "Validated";
18533
+ Status?: "Archived" | "Draft" | "Published" | "KeepBaseline" | "Unevaluated" | "Validated";
16868
18534
  Algorithm?: string;
16869
18535
  Metrics?: string;
16870
18536
  Version?: number;
16871
18537
  Pipeline?: string;
18538
+ TrainingRunID?: string;
16872
18539
  PipelineID?: string;
16873
18540
  AlgorithmID?: string;
16874
18541
  ArtifactFileID?: string;
@@ -16882,9 +18549,143 @@ export declare const MJMLModelSchema: z.ZodObject<{
16882
18549
  TrainedAt?: Date;
16883
18550
  TrainingDurationSec?: number;
16884
18551
  TrainingRowCount?: number;
18552
+ PredictionUnitID?: string;
18553
+ EvaluationProtocolID?: string;
18554
+ TrainingSnapshotID?: string;
18555
+ ArtifactSha256?: string;
18556
+ SnapshotHash?: string;
18557
+ CodeVersion?: any;
18558
+ FeatureSchemaHash?: string;
18559
+ OutputSemantics?: any;
18560
+ Delivery?: any;
18561
+ StatusReason?: string;
18562
+ ArtifactStatus?: "hash-mismatch" | "legacy-local" | "missing" | "unverified" | "verified";
18563
+ ArtifactCheckedAt?: Date;
18564
+ ServingWhileUnevaluated?: boolean;
16885
18565
  ArtifactFile?: string;
18566
+ PredictionUnit?: string;
18567
+ EvaluationProtocol?: string;
18568
+ TrainingSnapshot?: string;
16886
18569
  }>;
16887
18570
  export type MJMLModelEntityType = z.infer<typeof MJMLModelSchema>;
18571
+ /**
18572
+ * zod schema definition for the entity MJ: ML Monitoring Results
18573
+ */
18574
+ export declare const MJMLMonitoringResultSchema: z.ZodObject<{
18575
+ ID: z.ZodString;
18576
+ ModelID: z.ZodString;
18577
+ ScheduledJobRunID: z.ZodNullable<z.ZodString>;
18578
+ Period: z.ZodDate;
18579
+ PeriodGrain: z.ZodUnion<[z.ZodLiteral<"month">, z.ZodLiteral<"quarter">, z.ZodLiteral<"week">, z.ZodLiteral<"year">]>;
18580
+ State: z.ZodUnion<[z.ZodLiteral<"evaluated">, z.ZodLiteral<"failed">, z.ZodLiteral<"insufficient-rows">, z.ZodLiteral<"window-open">]>;
18581
+ ScoredRows: z.ZodNumber;
18582
+ JoinedRows: z.ZodNumber;
18583
+ ExcludedInTrainingRows: z.ZodNumber;
18584
+ PrimaryScore: z.ZodNullable<z.ZodAny>;
18585
+ PrimaryValue: z.ZodNullable<z.ZodNumber>;
18586
+ PrimaryLower: z.ZodNullable<z.ZodNumber>;
18587
+ PrimaryUpper: z.ZodNullable<z.ZodNumber>;
18588
+ TrackedMetrics: z.ZodNullable<z.ZodAny>;
18589
+ Calibration: z.ZodNullable<z.ZodAny>;
18590
+ DriftLook: z.ZodNullable<z.ZodAny>;
18591
+ DriftAlarms: z.ZodAny;
18592
+ Parity: z.ZodNullable<z.ZodAny>;
18593
+ TriggersFired: z.ZodAny;
18594
+ ChallengerRunID: z.ZodNullable<z.ZodString>;
18595
+ ChallengerResult: z.ZodNullable<z.ZodAny>;
18596
+ RollbackCheck: z.ZodNullable<z.ZodAny>;
18597
+ ErrorMessage: z.ZodNullable<z.ZodString>;
18598
+ __mj_CreatedAt: z.ZodDate;
18599
+ __mj_UpdatedAt: z.ZodDate;
18600
+ ScheduledJobRun: z.ZodNullable<z.ZodString>;
18601
+ }, "strip", z.ZodTypeAny, {
18602
+ ID?: string;
18603
+ __mj_CreatedAt?: Date;
18604
+ __mj_UpdatedAt?: Date;
18605
+ ModelID?: string;
18606
+ ErrorMessage?: string;
18607
+ ScheduledJobRunID?: string;
18608
+ ScheduledJobRun?: string;
18609
+ State?: "evaluated" | "failed" | "insufficient-rows" | "window-open";
18610
+ PrimaryScore?: any;
18611
+ Calibration?: any;
18612
+ Period?: Date;
18613
+ PeriodGrain?: "month" | "quarter" | "week" | "year";
18614
+ ScoredRows?: number;
18615
+ JoinedRows?: number;
18616
+ ExcludedInTrainingRows?: number;
18617
+ PrimaryValue?: number;
18618
+ PrimaryLower?: number;
18619
+ PrimaryUpper?: number;
18620
+ TrackedMetrics?: any;
18621
+ DriftLook?: any;
18622
+ DriftAlarms?: any;
18623
+ Parity?: any;
18624
+ TriggersFired?: any;
18625
+ ChallengerRunID?: string;
18626
+ ChallengerResult?: any;
18627
+ RollbackCheck?: any;
18628
+ }, {
18629
+ ID?: string;
18630
+ __mj_CreatedAt?: Date;
18631
+ __mj_UpdatedAt?: Date;
18632
+ ModelID?: string;
18633
+ ErrorMessage?: string;
18634
+ ScheduledJobRunID?: string;
18635
+ ScheduledJobRun?: string;
18636
+ State?: "evaluated" | "failed" | "insufficient-rows" | "window-open";
18637
+ PrimaryScore?: any;
18638
+ Calibration?: any;
18639
+ Period?: Date;
18640
+ PeriodGrain?: "month" | "quarter" | "week" | "year";
18641
+ ScoredRows?: number;
18642
+ JoinedRows?: number;
18643
+ ExcludedInTrainingRows?: number;
18644
+ PrimaryValue?: number;
18645
+ PrimaryLower?: number;
18646
+ PrimaryUpper?: number;
18647
+ TrackedMetrics?: any;
18648
+ DriftLook?: any;
18649
+ DriftAlarms?: any;
18650
+ Parity?: any;
18651
+ TriggersFired?: any;
18652
+ ChallengerRunID?: string;
18653
+ ChallengerResult?: any;
18654
+ RollbackCheck?: any;
18655
+ }>;
18656
+ export type MJMLMonitoringResultEntityType = z.infer<typeof MJMLMonitoringResultSchema>;
18657
+ /**
18658
+ * zod schema definition for the entity MJ: ML Output Bindings
18659
+ */
18660
+ export declare const MJMLOutputBindingSchema: z.ZodObject<{
18661
+ ID: z.ZodString;
18662
+ ModelID: z.ZodString;
18663
+ Surface: z.ZodUnion<[z.ZodLiteral<"at-risk-list">, z.ZodLiteral<"predictions-grid">, z.ZodLiteral<"record-panel">, z.ZodLiteral<"why-badge">]>;
18664
+ SortsBy: z.ZodUnion<[z.ZodLiteral<"adverse-probability-desc">, z.ZodLiteral<"none">, z.ZodLiteral<"score-asc">, z.ZodLiteral<"score-desc">]>;
18665
+ DriverDirectionRelativeTo: z.ZodUnion<[z.ZodLiteral<"adverse-class">, z.ZodLiteral<"raw-contribution">]>;
18666
+ Label: z.ZodString;
18667
+ __mj_CreatedAt: z.ZodDate;
18668
+ __mj_UpdatedAt: z.ZodDate;
18669
+ }, "strip", z.ZodTypeAny, {
18670
+ ID?: string;
18671
+ __mj_CreatedAt?: Date;
18672
+ __mj_UpdatedAt?: Date;
18673
+ ModelID?: string;
18674
+ Label?: string;
18675
+ Surface?: "at-risk-list" | "predictions-grid" | "record-panel" | "why-badge";
18676
+ SortsBy?: "adverse-probability-desc" | "none" | "score-asc" | "score-desc";
18677
+ DriverDirectionRelativeTo?: "adverse-class" | "raw-contribution";
18678
+ }, {
18679
+ ID?: string;
18680
+ __mj_CreatedAt?: Date;
18681
+ __mj_UpdatedAt?: Date;
18682
+ ModelID?: string;
18683
+ Label?: string;
18684
+ Surface?: "at-risk-list" | "predictions-grid" | "record-panel" | "why-badge";
18685
+ SortsBy?: "adverse-probability-desc" | "none" | "score-asc" | "score-desc";
18686
+ DriverDirectionRelativeTo?: "adverse-class" | "raw-contribution";
18687
+ }>;
18688
+ export type MJMLOutputBindingEntityType = z.infer<typeof MJMLOutputBindingSchema>;
16888
18689
  /**
16889
18690
  * zod schema definition for the entity MJ: ML Prediction Units
16890
18691
  */
@@ -16956,6 +18757,113 @@ export declare const MJMLPredictionUnitSchema: z.ZodObject<{
16956
18757
  IncumbentHeuristic?: string;
16957
18758
  }>;
16958
18759
  export type MJMLPredictionUnitEntityType = z.infer<typeof MJMLPredictionUnitSchema>;
18760
+ /**
18761
+ * zod schema definition for the entity MJ: ML Scoring Runs
18762
+ */
18763
+ export declare const MJMLScoringRunSchema: z.ZodObject<{
18764
+ ID: z.ZodString;
18765
+ ModelID: z.ZodNullable<z.ZodString>;
18766
+ ModelVersion: z.ZodNullable<z.ZodNumber>;
18767
+ MLModelScoringBindingID: z.ZodNullable<z.ZodString>;
18768
+ ArtifactSha256: z.ZodNullable<z.ZodString>;
18769
+ FeatureSchemaHash: z.ZodNullable<z.ZodString>;
18770
+ Path: z.ZodUnion<[z.ZodLiteral<"monitoring">, z.ZodLiteral<"parity">, z.ZodLiteral<"predict">, z.ZodLiteral<"record-process">, z.ZodLiteral<"score-record-set">]>;
18771
+ ScopeKind: z.ZodUnion<[z.ZodLiteral<"filter">, z.ZodLiteral<"record-ids">, z.ZodLiteral<"view">]>;
18772
+ ScopeEntityID: z.ZodString;
18773
+ Scope: z.ZodAny;
18774
+ EntityMapping: z.ZodNullable<z.ZodAny>;
18775
+ AsOfDate: z.ZodDate;
18776
+ ReadPolicy: z.ZodAny;
18777
+ DryRun: z.ZodBoolean;
18778
+ RequestedBy: z.ZodAny;
18779
+ RequestedByUserID: z.ZodNullable<z.ZodString>;
18780
+ ProcessRunID: z.ZodNullable<z.ZodString>;
18781
+ ScheduledJobRunID: z.ZodNullable<z.ZodString>;
18782
+ Status: z.ZodUnion<[z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"refused">, z.ZodLiteral<"running">]>;
18783
+ Refusal: z.ZodNullable<z.ZodAny>;
18784
+ Total: z.ZodNumber;
18785
+ Written: z.ZodNumber;
18786
+ Failed: z.ZodNumber;
18787
+ Skipped: z.ZodNumber;
18788
+ FirstErrors: z.ZodNullable<z.ZodAny>;
18789
+ StartedAt: z.ZodDate;
18790
+ EndedAt: z.ZodNullable<z.ZodDate>;
18791
+ __mj_CreatedAt: z.ZodDate;
18792
+ __mj_UpdatedAt: z.ZodDate;
18793
+ MLModelScoringBinding: z.ZodNullable<z.ZodString>;
18794
+ ScopeEntity: z.ZodNullable<z.ZodString>;
18795
+ RequestedByUser: z.ZodNullable<z.ZodString>;
18796
+ ScheduledJobRun: z.ZodNullable<z.ZodString>;
18797
+ }, "strip", z.ZodTypeAny, {
18798
+ ID?: string;
18799
+ __mj_CreatedAt?: Date;
18800
+ __mj_UpdatedAt?: Date;
18801
+ Status?: "failed" | "completed" | "refused" | "running";
18802
+ StartedAt?: Date;
18803
+ EndedAt?: Date;
18804
+ Failed?: number;
18805
+ ModelID?: string;
18806
+ ScheduledJobRunID?: string;
18807
+ ScheduledJobRun?: string;
18808
+ Scope?: any;
18809
+ Path?: "monitoring" | "parity" | "predict" | "record-process" | "score-record-set";
18810
+ Skipped?: number;
18811
+ ScopeEntityID?: string;
18812
+ ScopeEntity?: string;
18813
+ ProcessRunID?: string;
18814
+ MLModelScoringBindingID?: string;
18815
+ MLModelScoringBinding?: string;
18816
+ Refusal?: any;
18817
+ ArtifactSha256?: string;
18818
+ FeatureSchemaHash?: string;
18819
+ ModelVersion?: number;
18820
+ ScopeKind?: "filter" | "view" | "record-ids";
18821
+ EntityMapping?: any;
18822
+ AsOfDate?: Date;
18823
+ ReadPolicy?: any;
18824
+ DryRun?: boolean;
18825
+ RequestedBy?: any;
18826
+ RequestedByUserID?: string;
18827
+ Total?: number;
18828
+ Written?: number;
18829
+ FirstErrors?: any;
18830
+ RequestedByUser?: string;
18831
+ }, {
18832
+ ID?: string;
18833
+ __mj_CreatedAt?: Date;
18834
+ __mj_UpdatedAt?: Date;
18835
+ Status?: "failed" | "completed" | "refused" | "running";
18836
+ StartedAt?: Date;
18837
+ EndedAt?: Date;
18838
+ Failed?: number;
18839
+ ModelID?: string;
18840
+ ScheduledJobRunID?: string;
18841
+ ScheduledJobRun?: string;
18842
+ Scope?: any;
18843
+ Path?: "monitoring" | "parity" | "predict" | "record-process" | "score-record-set";
18844
+ Skipped?: number;
18845
+ ScopeEntityID?: string;
18846
+ ScopeEntity?: string;
18847
+ ProcessRunID?: string;
18848
+ MLModelScoringBindingID?: string;
18849
+ MLModelScoringBinding?: string;
18850
+ Refusal?: any;
18851
+ ArtifactSha256?: string;
18852
+ FeatureSchemaHash?: string;
18853
+ ModelVersion?: number;
18854
+ ScopeKind?: "filter" | "view" | "record-ids";
18855
+ EntityMapping?: any;
18856
+ AsOfDate?: Date;
18857
+ ReadPolicy?: any;
18858
+ DryRun?: boolean;
18859
+ RequestedBy?: any;
18860
+ RequestedByUserID?: string;
18861
+ Total?: number;
18862
+ Written?: number;
18863
+ FirstErrors?: any;
18864
+ RequestedByUser?: string;
18865
+ }>;
18866
+ export type MJMLScoringRunEntityType = z.infer<typeof MJMLScoringRunSchema>;
16959
18867
  /**
16960
18868
  * zod schema definition for the entity MJ: ML Training Pipelines
16961
18869
  */
@@ -16997,16 +18905,16 @@ export declare const MJMLTrainingPipelineSchema: z.ZodObject<{
16997
18905
  AlgorithmID?: string;
16998
18906
  TargetVariable?: string;
16999
18907
  ProblemType?: "classification" | "regression";
18908
+ PredictionUnitID?: string;
18909
+ EvaluationProtocolID?: string;
18910
+ PredictionUnit?: string;
18911
+ EvaluationProtocol?: string;
17000
18912
  Hyperparameters?: string;
17001
18913
  SourceBindings?: string;
17002
18914
  FeatureSteps?: string;
17003
18915
  AsOfStrategy?: string;
17004
18916
  LeakageGuard?: string;
17005
18917
  ValidationStrategy?: string;
17006
- PredictionUnitID?: string;
17007
- EvaluationProtocolID?: string;
17008
- PredictionUnit?: string;
17009
- EvaluationProtocol?: string;
17010
18918
  }, {
17011
18919
  ID?: string;
17012
18920
  Name?: string;
@@ -17021,16 +18929,16 @@ export declare const MJMLTrainingPipelineSchema: z.ZodObject<{
17021
18929
  AlgorithmID?: string;
17022
18930
  TargetVariable?: string;
17023
18931
  ProblemType?: "classification" | "regression";
18932
+ PredictionUnitID?: string;
18933
+ EvaluationProtocolID?: string;
18934
+ PredictionUnit?: string;
18935
+ EvaluationProtocol?: string;
17024
18936
  Hyperparameters?: string;
17025
18937
  SourceBindings?: string;
17026
18938
  FeatureSteps?: string;
17027
18939
  AsOfStrategy?: string;
17028
18940
  LeakageGuard?: string;
17029
18941
  ValidationStrategy?: string;
17030
- PredictionUnitID?: string;
17031
- EvaluationProtocolID?: string;
17032
- PredictionUnit?: string;
17033
- EvaluationProtocol?: string;
17034
18942
  }>;
17035
18943
  export type MJMLTrainingPipelineEntityType = z.infer<typeof MJMLTrainingPipelineSchema>;
17036
18944
  /**
@@ -17076,18 +18984,18 @@ export declare const MJMLTrainingRunSchema: z.ZodObject<{
17076
18984
  Pipeline?: string;
17077
18985
  PipelineID?: string;
17078
18986
  AlgorithmID?: string;
17079
- Hyperparameters?: string;
17080
18987
  EvaluationProtocolID?: string;
18988
+ TrainingSnapshotID?: string;
18989
+ CodeVersion?: string;
17081
18990
  EvaluationProtocol?: string;
18991
+ TrainingSnapshot?: string;
18992
+ Hyperparameters?: string;
17082
18993
  ResultingModelID?: string;
17083
18994
  ExperimentSessionIterationID?: string;
17084
18995
  FeaturesUsed?: string;
17085
18996
  ValidationResults?: string;
17086
- TrainingSnapshotID?: string;
17087
- CodeVersion?: string;
17088
18997
  ComputeSeconds?: number;
17089
18998
  ExperimentSessionIteration?: string;
17090
- TrainingSnapshot?: string;
17091
18999
  }, {
17092
19000
  ID?: string;
17093
19001
  __mj_CreatedAt?: Date;
@@ -17102,18 +19010,18 @@ export declare const MJMLTrainingRunSchema: z.ZodObject<{
17102
19010
  Pipeline?: string;
17103
19011
  PipelineID?: string;
17104
19012
  AlgorithmID?: string;
17105
- Hyperparameters?: string;
17106
19013
  EvaluationProtocolID?: string;
19014
+ TrainingSnapshotID?: string;
19015
+ CodeVersion?: string;
17107
19016
  EvaluationProtocol?: string;
19017
+ TrainingSnapshot?: string;
19018
+ Hyperparameters?: string;
17108
19019
  ResultingModelID?: string;
17109
19020
  ExperimentSessionIterationID?: string;
17110
19021
  FeaturesUsed?: string;
17111
19022
  ValidationResults?: string;
17112
- TrainingSnapshotID?: string;
17113
- CodeVersion?: string;
17114
19023
  ComputeSeconds?: number;
17115
19024
  ExperimentSessionIteration?: string;
17116
- TrainingSnapshot?: string;
17117
19025
  }>;
17118
19026
  export type MJMLTrainingRunEntityType = z.infer<typeof MJMLTrainingRunSchema>;
17119
19027
  /**
@@ -17171,11 +19079,12 @@ export declare const MJMLTrainingSnapshotSchema: z.ZodObject<{
17171
19079
  Pipeline?: string;
17172
19080
  PipelineID?: string;
17173
19081
  FeatureSchema?: string;
17174
- LabelVersion?: number;
17175
19082
  PredictionUnitID?: string;
17176
19083
  EvaluationProtocolID?: string;
19084
+ FeatureSchemaHash?: string;
17177
19085
  PredictionUnit?: string;
17178
19086
  EvaluationProtocol?: string;
19087
+ LabelVersion?: number;
17179
19088
  FeatureSpecVersion?: number;
17180
19089
  StorageProviderID?: string;
17181
19090
  MatrixFileID?: string;
@@ -17190,7 +19099,6 @@ export declare const MJMLTrainingSnapshotSchema: z.ZodObject<{
17190
19099
  ManifestRowCount?: number;
17191
19100
  HoldoutRowCount?: number;
17192
19101
  FeatureSpec?: string;
17193
- FeatureSchemaHash?: string;
17194
19102
  ColumnProvenance?: string;
17195
19103
  PinnedFeatureVersions?: string;
17196
19104
  RowsRead?: number;
@@ -17215,11 +19123,12 @@ export declare const MJMLTrainingSnapshotSchema: z.ZodObject<{
17215
19123
  Pipeline?: string;
17216
19124
  PipelineID?: string;
17217
19125
  FeatureSchema?: string;
17218
- LabelVersion?: number;
17219
19126
  PredictionUnitID?: string;
17220
19127
  EvaluationProtocolID?: string;
19128
+ FeatureSchemaHash?: string;
17221
19129
  PredictionUnit?: string;
17222
19130
  EvaluationProtocol?: string;
19131
+ LabelVersion?: number;
17223
19132
  FeatureSpecVersion?: number;
17224
19133
  StorageProviderID?: string;
17225
19134
  MatrixFileID?: string;
@@ -17234,7 +19143,6 @@ export declare const MJMLTrainingSnapshotSchema: z.ZodObject<{
17234
19143
  ManifestRowCount?: number;
17235
19144
  HoldoutRowCount?: number;
17236
19145
  FeatureSpec?: string;
17237
- FeatureSchemaHash?: string;
17238
19146
  ColumnProvenance?: string;
17239
19147
  PinnedFeatureVersions?: string;
17240
19148
  RowsRead?: number;
@@ -17384,13 +19292,13 @@ export declare const MJMagicLinkInviteSchema: z.ZodObject<{
17384
19292
  ExpiresAt?: Date;
17385
19293
  RoleID?: string;
17386
19294
  Role?: string;
19295
+ Kind?: "anonymous-embed" | "app-session" | "resource-share";
17387
19296
  Email?: string;
17388
19297
  CreatedByUserID?: string;
17389
19298
  CreatedByUser?: string;
17390
19299
  ApplicationID?: string;
17391
19300
  Application?: string;
17392
19301
  ResourceType?: string;
17393
- Kind?: "anonymous-embed" | "app-session" | "resource-share";
17394
19302
  TokenHash?: string;
17395
19303
  ConsumedAt?: Date;
17396
19304
  MaxUses?: number;
@@ -17406,13 +19314,13 @@ export declare const MJMagicLinkInviteSchema: z.ZodObject<{
17406
19314
  ExpiresAt?: Date;
17407
19315
  RoleID?: string;
17408
19316
  Role?: string;
19317
+ Kind?: "anonymous-embed" | "app-session" | "resource-share";
17409
19318
  Email?: string;
17410
19319
  CreatedByUserID?: string;
17411
19320
  CreatedByUser?: string;
17412
19321
  ApplicationID?: string;
17413
19322
  Application?: string;
17414
19323
  ResourceType?: string;
17415
- Kind?: "anonymous-embed" | "app-session" | "resource-share";
17416
19324
  TokenHash?: string;
17417
19325
  ConsumedAt?: Date;
17418
19326
  MaxUses?: number;
@@ -17676,7 +19584,7 @@ export declare const MJMeetingSchema: z.ZodObject<{
17676
19584
  AllowPhoneDialIn?: boolean;
17677
19585
  DialInPhoneNumberID?: string;
17678
19586
  DialInCode?: string;
17679
- RecordingPolicy?: "Allowed" | "Automatic" | "Off";
19587
+ RecordingPolicy?: "Allowed" | "Off" | "Automatic";
17680
19588
  HostUser?: string;
17681
19589
  DialInPhoneNumber?: string;
17682
19590
  }, {
@@ -17697,7 +19605,7 @@ export declare const MJMeetingSchema: z.ZodObject<{
17697
19605
  AllowPhoneDialIn?: boolean;
17698
19606
  DialInPhoneNumberID?: string;
17699
19607
  DialInCode?: string;
17700
- RecordingPolicy?: "Allowed" | "Automatic" | "Off";
19608
+ RecordingPolicy?: "Allowed" | "Off" | "Automatic";
17701
19609
  HostUser?: string;
17702
19610
  DialInPhoneNumber?: string;
17703
19611
  }>;
@@ -18046,9 +19954,9 @@ export declare const MJOpenAppInstallHistorySchema: z.ZodObject<{
18046
19954
  Success?: boolean;
18047
19955
  DurationSeconds?: number;
18048
19956
  ErrorMessage?: string;
19957
+ Summary?: string;
18049
19958
  Version?: string;
18050
19959
  ManifestJSON?: string;
18051
- Summary?: string;
18052
19960
  OpenAppID?: string;
18053
19961
  OpenApp?: string;
18054
19962
  PreviousVersion?: string;
@@ -18065,9 +19973,9 @@ export declare const MJOpenAppInstallHistorySchema: z.ZodObject<{
18065
19973
  Success?: boolean;
18066
19974
  DurationSeconds?: number;
18067
19975
  ErrorMessage?: string;
19976
+ Summary?: string;
18068
19977
  Version?: string;
18069
19978
  ManifestJSON?: string;
18070
- Summary?: string;
18071
19979
  OpenAppID?: string;
18072
19980
  OpenApp?: string;
18073
19981
  PreviousVersion?: string;
@@ -18424,12 +20332,12 @@ export declare const MJProcessRunSchema: z.ZodObject<{
18424
20332
  StartedByUser?: string;
18425
20333
  RecordProcessID?: string;
18426
20334
  RecordProcess?: string;
20335
+ DryRun?: boolean;
18427
20336
  TriggeredBy?: "OnDemand" | "Manual" | "OnChange" | "Schedule";
18428
20337
  SourceFilter?: string;
18429
20338
  SuccessCount?: number;
18430
20339
  SkippedCount?: number;
18431
20340
  LastProcessedKey?: string;
18432
- DryRun?: boolean;
18433
20341
  ResultSummary?: string;
18434
20342
  }, {
18435
20343
  ID?: string;
@@ -18456,12 +20364,12 @@ export declare const MJProcessRunSchema: z.ZodObject<{
18456
20364
  StartedByUser?: string;
18457
20365
  RecordProcessID?: string;
18458
20366
  RecordProcess?: string;
20367
+ DryRun?: boolean;
18459
20368
  TriggeredBy?: "OnDemand" | "Manual" | "OnChange" | "Schedule";
18460
20369
  SourceFilter?: string;
18461
20370
  SuccessCount?: number;
18462
20371
  SkippedCount?: number;
18463
20372
  LastProcessedKey?: string;
18464
- DryRun?: boolean;
18465
20373
  ResultSummary?: string;
18466
20374
  }>;
18467
20375
  export type MJProcessRunEntityType = z.infer<typeof MJProcessRunSchema>;
@@ -18505,9 +20413,9 @@ export declare const MJProjectSchema: z.ZodObject<{
18505
20413
  OwnerUserID?: string;
18506
20414
  OwnerUser?: string;
18507
20415
  Color?: string;
20416
+ IsArchived?: boolean;
18508
20417
  EnvironmentID?: string;
18509
20418
  Environment?: string;
18510
- IsArchived?: boolean;
18511
20419
  }, {
18512
20420
  ID?: string;
18513
20421
  Name?: string;
@@ -18525,9 +20433,9 @@ export declare const MJProjectSchema: z.ZodObject<{
18525
20433
  OwnerUserID?: string;
18526
20434
  OwnerUser?: string;
18527
20435
  Color?: string;
20436
+ IsArchived?: boolean;
18528
20437
  EnvironmentID?: string;
18529
20438
  Environment?: string;
18530
- IsArchived?: boolean;
18531
20439
  }>;
18532
20440
  export type MJProjectEntityType = z.infer<typeof MJProjectSchema>;
18533
20441
  /**
@@ -19400,7 +21308,7 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
19400
21308
  RecordID: z.ZodString;
19401
21309
  UserID: z.ZodString;
19402
21310
  Type: z.ZodUnion<[z.ZodLiteral<"Create">, z.ZodLiteral<"Delete">, z.ZodLiteral<"Snapshot">, z.ZodLiteral<"Update">]>;
19403
- Source: z.ZodUnion<[z.ZodLiteral<"Clone">, z.ZodLiteral<"External">, z.ZodLiteral<"Internal">, z.ZodLiteral<"Restore">]>;
21311
+ Source: z.ZodUnion<[z.ZodLiteral<"Clone">, z.ZodLiteral<"External">, z.ZodLiteral<"Internal">, z.ZodLiteral<"Restore">, z.ZodLiteral<"Sync">]>;
19404
21312
  ChangedAt: z.ZodDate;
19405
21313
  ChangesJSON: z.ZodString;
19406
21314
  ChangesDescription: z.ZodString;
@@ -19428,13 +21336,13 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
19428
21336
  UserID?: string;
19429
21337
  Comments?: string;
19430
21338
  User?: string;
19431
- Source?: "Internal" | "Clone" | "External" | "Restore";
21339
+ Source?: "External" | "Internal" | "Sync" | "Clone" | "Restore";
19432
21340
  EntityID?: string;
19433
21341
  RecordID?: string;
19434
21342
  Entity?: string;
19435
21343
  ErrorLog?: string;
19436
- IntegrationID?: string;
19437
21344
  ChangedAt?: Date;
21345
+ IntegrationID?: string;
19438
21346
  ChangesJSON?: string;
19439
21347
  ChangesDescription?: string;
19440
21348
  FullRecordJSON?: string;
@@ -19454,13 +21362,13 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
19454
21362
  UserID?: string;
19455
21363
  Comments?: string;
19456
21364
  User?: string;
19457
- Source?: "Internal" | "Clone" | "External" | "Restore";
21365
+ Source?: "External" | "Internal" | "Sync" | "Clone" | "Restore";
19458
21366
  EntityID?: string;
19459
21367
  RecordID?: string;
19460
21368
  Entity?: string;
19461
21369
  ErrorLog?: string;
19462
- IntegrationID?: string;
19463
21370
  ChangedAt?: Date;
21371
+ IntegrationID?: string;
19464
21372
  ChangesJSON?: string;
19465
21373
  ChangesDescription?: string;
19466
21374
  FullRecordJSON?: string;
@@ -19626,7 +21534,7 @@ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
19626
21534
  ID?: string;
19627
21535
  __mj_CreatedAt?: Date;
19628
21536
  __mj_UpdatedAt?: Date;
19629
- Status?: "success" | "failed" | "pending";
21537
+ Status?: "failed" | "success" | "pending";
19630
21538
  ErrorMessage?: string;
19631
21539
  RetryCount?: number;
19632
21540
  EntityID?: string;
@@ -19635,19 +21543,19 @@ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
19635
21543
  Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
19636
21544
  Latitude?: number;
19637
21545
  Longitude?: number;
19638
- LocationType?: string;
21546
+ Country?: string;
19639
21547
  CountryID?: string;
21548
+ LocationType?: string;
19640
21549
  StateProvinceID?: string;
19641
21550
  SourceFieldHash?: string;
19642
21551
  GeocodedAt?: Date;
19643
21552
  GeocodingSource?: "reverse" | "geocodio" | "google" | "here" | "ip_geolocation" | "manual" | "native" | "reference_data";
19644
- Country?: string;
19645
21553
  StateProvince?: string;
19646
21554
  }, {
19647
21555
  ID?: string;
19648
21556
  __mj_CreatedAt?: Date;
19649
21557
  __mj_UpdatedAt?: Date;
19650
- Status?: "success" | "failed" | "pending";
21558
+ Status?: "failed" | "success" | "pending";
19651
21559
  ErrorMessage?: string;
19652
21560
  RetryCount?: number;
19653
21561
  EntityID?: string;
@@ -19656,13 +21564,13 @@ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
19656
21564
  Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
19657
21565
  Latitude?: number;
19658
21566
  Longitude?: number;
19659
- LocationType?: string;
21567
+ Country?: string;
19660
21568
  CountryID?: string;
21569
+ LocationType?: string;
19661
21570
  StateProvinceID?: string;
19662
21571
  SourceFieldHash?: string;
19663
21572
  GeocodedAt?: Date;
19664
21573
  GeocodingSource?: "reverse" | "geocodio" | "google" | "here" | "ip_geolocation" | "manual" | "native" | "reference_data";
19665
- Country?: string;
19666
21574
  StateProvince?: string;
19667
21575
  }>;
19668
21576
  export type MJRecordGeoCodeEntityType = z.infer<typeof MJRecordGeoCodeSchema>;
@@ -20216,11 +22124,11 @@ export declare const MJResourcePermissionSchema: z.ZodObject<{
20216
22124
  ResourceType?: string;
20217
22125
  SharedByUserID?: string;
20218
22126
  SharedByUser?: string;
22127
+ PermissionLevel?: "Owner" | "View" | "Edit";
20219
22128
  ResourceTypeID?: string;
20220
22129
  ResourceRecordID?: string;
20221
22130
  StartSharingAt?: Date;
20222
22131
  EndSharingAt?: Date;
20223
- PermissionLevel?: "Owner" | "Edit" | "View";
20224
22132
  }, {
20225
22133
  ID?: string;
20226
22134
  __mj_CreatedAt?: Date;
@@ -20234,11 +22142,11 @@ export declare const MJResourcePermissionSchema: z.ZodObject<{
20234
22142
  ResourceType?: string;
20235
22143
  SharedByUserID?: string;
20236
22144
  SharedByUser?: string;
22145
+ PermissionLevel?: "Owner" | "View" | "Edit";
20237
22146
  ResourceTypeID?: string;
20238
22147
  ResourceRecordID?: string;
20239
22148
  StartSharingAt?: Date;
20240
22149
  EndSharingAt?: Date;
20241
- PermissionLevel?: "Owner" | "Edit" | "View";
20242
22150
  }>;
20243
22151
  export type MJResourcePermissionEntityType = z.infer<typeof MJResourcePermissionSchema>;
20244
22152
  /**
@@ -20324,6 +22232,7 @@ export declare const MJRowLevelSecurityFilterSchema: z.ZodObject<{
20324
22232
  FilterText: z.ZodNullable<z.ZodString>;
20325
22233
  __mj_CreatedAt: z.ZodDate;
20326
22234
  __mj_UpdatedAt: z.ZodDate;
22235
+ PlatformVariants: z.ZodNullable<z.ZodString>;
20327
22236
  }, "strip", z.ZodTypeAny, {
20328
22237
  ID?: string;
20329
22238
  Name?: string;
@@ -20331,6 +22240,7 @@ export declare const MJRowLevelSecurityFilterSchema: z.ZodObject<{
20331
22240
  __mj_CreatedAt?: Date;
20332
22241
  __mj_UpdatedAt?: Date;
20333
22242
  FilterText?: string;
22243
+ PlatformVariants?: string;
20334
22244
  }, {
20335
22245
  ID?: string;
20336
22246
  Name?: string;
@@ -20338,6 +22248,7 @@ export declare const MJRowLevelSecurityFilterSchema: z.ZodObject<{
20338
22248
  __mj_CreatedAt?: Date;
20339
22249
  __mj_UpdatedAt?: Date;
20340
22250
  FilterText?: string;
22251
+ PlatformVariants?: string;
20341
22252
  }>;
20342
22253
  export type MJRowLevelSecurityFilterEntityType = z.infer<typeof MJRowLevelSecurityFilterSchema>;
20343
22254
  /**
@@ -20599,6 +22510,7 @@ export declare const MJRubricEvaluationScoreSchema: z.ZodObject<{
20599
22510
  IsComputed?: boolean;
20600
22511
  Rationale?: string;
20601
22512
  Confidence?: number;
22513
+ Evidence?: any;
20602
22514
  Criterion?: string;
20603
22515
  CriterionID?: string;
20604
22516
  ScaleLevelID?: string;
@@ -20611,7 +22523,6 @@ export declare const MJRubricEvaluationScoreSchema: z.ZodObject<{
20611
22523
  OverallContribution?: number;
20612
22524
  GateFailed?: boolean;
20613
22525
  Completeness?: number;
20614
- Evidence?: any;
20615
22526
  CriterionKey?: string;
20616
22527
  CriterionNodeType?: string;
20617
22528
  CriterionParentID?: string;
@@ -20638,6 +22549,7 @@ export declare const MJRubricEvaluationScoreSchema: z.ZodObject<{
20638
22549
  IsComputed?: boolean;
20639
22550
  Rationale?: string;
20640
22551
  Confidence?: number;
22552
+ Evidence?: any;
20641
22553
  Criterion?: string;
20642
22554
  CriterionID?: string;
20643
22555
  ScaleLevelID?: string;
@@ -20650,7 +22562,6 @@ export declare const MJRubricEvaluationScoreSchema: z.ZodObject<{
20650
22562
  OverallContribution?: number;
20651
22563
  GateFailed?: boolean;
20652
22564
  Completeness?: number;
20653
- Evidence?: any;
20654
22565
  CriterionKey?: string;
20655
22566
  CriterionNodeType?: string;
20656
22567
  CriterionParentID?: string;
@@ -20734,7 +22645,7 @@ export declare const MJRubricEvaluationSchema: z.ZodObject<{
20734
22645
  ID?: string;
20735
22646
  __mj_CreatedAt?: Date;
20736
22647
  __mj_UpdatedAt?: Date;
20737
- Status?: "Failed" | "Draft" | "Superseded" | "Submitted" | "Withdrawn";
22648
+ Status?: "Failed" | "Draft" | "Superseded" | "Withdrawn" | "Submitted";
20738
22649
  RubricID?: string;
20739
22650
  Rubric?: string;
20740
22651
  Metadata?: any;
@@ -20749,7 +22660,7 @@ export declare const MJRubricEvaluationSchema: z.ZodObject<{
20749
22660
  NormalizedScore?: number;
20750
22661
  GateFailed?: boolean;
20751
22662
  Completeness?: number;
20752
- EvaluatorType?: "Agent" | "Human" | "AIPrompt" | "External" | "Deterministic" | "Self";
22663
+ EvaluatorType?: "Agent" | "External" | "Human" | "AIPrompt" | "Deterministic" | "Self";
20753
22664
  EvaluatorUserID?: string;
20754
22665
  SubjectEntityID?: string;
20755
22666
  SubjectRecordID?: string;
@@ -20790,7 +22701,7 @@ export declare const MJRubricEvaluationSchema: z.ZodObject<{
20790
22701
  ID?: string;
20791
22702
  __mj_CreatedAt?: Date;
20792
22703
  __mj_UpdatedAt?: Date;
20793
- Status?: "Failed" | "Draft" | "Superseded" | "Submitted" | "Withdrawn";
22704
+ Status?: "Failed" | "Draft" | "Superseded" | "Withdrawn" | "Submitted";
20794
22705
  RubricID?: string;
20795
22706
  Rubric?: string;
20796
22707
  Metadata?: any;
@@ -20805,7 +22716,7 @@ export declare const MJRubricEvaluationSchema: z.ZodObject<{
20805
22716
  NormalizedScore?: number;
20806
22717
  GateFailed?: boolean;
20807
22718
  Completeness?: number;
20808
- EvaluatorType?: "Agent" | "Human" | "AIPrompt" | "External" | "Deterministic" | "Self";
22719
+ EvaluatorType?: "Agent" | "External" | "Human" | "AIPrompt" | "Deterministic" | "Self";
20809
22720
  EvaluatorUserID?: string;
20810
22721
  SubjectEntityID?: string;
20811
22722
  SubjectRecordID?: string;
@@ -20866,9 +22777,9 @@ export declare const MJRubricScaleLevelSchema: z.ZodObject<{
20866
22777
  Sequence?: number;
20867
22778
  Label?: string;
20868
22779
  Value?: number;
22780
+ NormalizedValue?: number;
20869
22781
  Scale?: string;
20870
22782
  ScaleID?: string;
20871
- NormalizedValue?: number;
20872
22783
  }, {
20873
22784
  ID?: string;
20874
22785
  Description?: string;
@@ -20877,9 +22788,9 @@ export declare const MJRubricScaleLevelSchema: z.ZodObject<{
20877
22788
  Sequence?: number;
20878
22789
  Label?: string;
20879
22790
  Value?: number;
22791
+ NormalizedValue?: number;
20880
22792
  Scale?: string;
20881
22793
  ScaleID?: string;
20882
- NormalizedValue?: number;
20883
22794
  }>;
20884
22795
  export type MJRubricScaleLevelEntityType = z.infer<typeof MJRubricScaleLevelSchema>;
20885
22796
  /**
@@ -21767,7 +23678,7 @@ export declare const MJSearchScopePermissionSchema: z.ZodObject<{
21767
23678
  StartAt?: Date;
21768
23679
  EndAt?: Date;
21769
23680
  SearchScope?: string;
21770
- PermissionLevel?: "None" | "Search" | "Read" | "Manage";
23681
+ PermissionLevel?: "None" | "Manage" | "Search" | "Read";
21771
23682
  }, {
21772
23683
  ID?: string;
21773
23684
  __mj_CreatedAt?: Date;
@@ -21781,7 +23692,7 @@ export declare const MJSearchScopePermissionSchema: z.ZodObject<{
21781
23692
  StartAt?: Date;
21782
23693
  EndAt?: Date;
21783
23694
  SearchScope?: string;
21784
- PermissionLevel?: "None" | "Search" | "Read" | "Manage";
23695
+ PermissionLevel?: "None" | "Manage" | "Search" | "Read";
21785
23696
  }>;
21786
23697
  export type MJSearchScopePermissionEntityType = z.infer<typeof MJSearchScopePermissionSchema>;
21787
23698
  /**
@@ -22151,7 +24062,7 @@ export declare const MJSignatureRequestRecipientSchema: z.ZodObject<{
22151
24062
  Name?: string;
22152
24063
  __mj_CreatedAt?: Date;
22153
24064
  __mj_UpdatedAt?: Date;
22154
- Status?: "Created" | "Sent" | "Declined" | "Signed" | "Delivered";
24065
+ Status?: "Declined" | "Delivered" | "Sent" | "Created" | "Signed";
22155
24066
  Role?: string;
22156
24067
  Email?: string;
22157
24068
  SignatureRequestID?: string;
@@ -22164,7 +24075,7 @@ export declare const MJSignatureRequestRecipientSchema: z.ZodObject<{
22164
24075
  Name?: string;
22165
24076
  __mj_CreatedAt?: Date;
22166
24077
  __mj_UpdatedAt?: Date;
22167
- Status?: "Created" | "Sent" | "Declined" | "Signed" | "Delivered";
24078
+ Status?: "Declined" | "Delivered" | "Sent" | "Created" | "Signed";
22168
24079
  Role?: string;
22169
24080
  Email?: string;
22170
24081
  SignatureRequestID?: string;
@@ -22198,7 +24109,7 @@ export declare const MJSignatureRequestSchema: z.ZodObject<{
22198
24109
  Name?: string;
22199
24110
  __mj_CreatedAt?: Date;
22200
24111
  __mj_UpdatedAt?: Date;
22201
- Status?: "Completed" | "Draft" | "Sent" | "Declined" | "Signed" | "Delivered" | "Voided";
24112
+ Status?: "Completed" | "Declined" | "Delivered" | "Sent" | "Draft" | "Signed" | "Voided";
22202
24113
  CompletedAt?: Date;
22203
24114
  Message?: string;
22204
24115
  EntityID?: string;
@@ -22214,7 +24125,7 @@ export declare const MJSignatureRequestSchema: z.ZodObject<{
22214
24125
  Name?: string;
22215
24126
  __mj_CreatedAt?: Date;
22216
24127
  __mj_UpdatedAt?: Date;
22217
- Status?: "Completed" | "Draft" | "Sent" | "Declined" | "Signed" | "Delivered" | "Voided";
24128
+ Status?: "Completed" | "Declined" | "Delivered" | "Sent" | "Draft" | "Signed" | "Voided";
22218
24129
  CompletedAt?: Date;
22219
24130
  Message?: string;
22220
24131
  EntityID?: string;
@@ -22294,8 +24205,8 @@ export declare const MJStateProvinceSchema: z.ZodObject<{
22294
24205
  Longitude?: number;
22295
24206
  BoundaryGeoJSON?: string;
22296
24207
  CommonAliases?: string;
22297
- CountryID?: string;
22298
24208
  Country?: string;
24209
+ CountryID?: string;
22299
24210
  ISO3166_2?: string;
22300
24211
  }, {
22301
24212
  ID?: string;
@@ -22307,8 +24218,8 @@ export declare const MJStateProvinceSchema: z.ZodObject<{
22307
24218
  Longitude?: number;
22308
24219
  BoundaryGeoJSON?: string;
22309
24220
  CommonAliases?: string;
22310
- CountryID?: string;
22311
24221
  Country?: string;
24222
+ CountryID?: string;
22312
24223
  ISO3166_2?: string;
22313
24224
  }>;
22314
24225
  export type MJStateProvinceEntityType = z.infer<typeof MJStateProvinceSchema>;
@@ -22675,7 +24586,7 @@ export declare const MJTaskDependencySchema: z.ZodObject<{
22675
24586
  Condition?: string;
22676
24587
  TaskID?: string;
22677
24588
  DependsOnTaskID?: string;
22678
- DependencyType?: "Corequisite" | "Optional" | "Prerequisite";
24589
+ DependencyType?: "Optional" | "Corequisite" | "Prerequisite";
22679
24590
  ExclusiveGroup?: string;
22680
24591
  Task?: string;
22681
24592
  DependsOnTask?: string;
@@ -22688,7 +24599,7 @@ export declare const MJTaskDependencySchema: z.ZodObject<{
22688
24599
  Condition?: string;
22689
24600
  TaskID?: string;
22690
24601
  DependsOnTaskID?: string;
22691
- DependencyType?: "Corequisite" | "Optional" | "Prerequisite";
24602
+ DependencyType?: "Optional" | "Corequisite" | "Prerequisite";
22692
24603
  ExclusiveGroup?: string;
22693
24604
  Task?: string;
22694
24605
  DependsOnTask?: string;
@@ -22745,11 +24656,14 @@ export declare const MJTaskSchema: z.ZodObject<{
22745
24656
  ClaimedBy: z.ZodNullable<z.ZodString>;
22746
24657
  ClaimExpiresAt: z.ZodNullable<z.ZodDate>;
22747
24658
  ActionID: z.ZodNullable<z.ZodString>;
22748
- StepType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Agent">, z.ZodLiteral<"Decision">, z.ZodLiteral<"External">, z.ZodLiteral<"ForEach">, z.ZodLiteral<"Human">, z.ZodLiteral<"Prompt">, z.ZodLiteral<"While">]>>;
24659
+ StepType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Agent">, z.ZodLiteral<"Decision">, z.ZodLiteral<"External">, z.ZodLiteral<"ForEach">, z.ZodLiteral<"Human">, z.ZodLiteral<"Prompt">, z.ZodLiteral<"Wait">, z.ZodLiteral<"While">]>>;
22749
24660
  PromptID: z.ZodNullable<z.ZodString>;
22750
24661
  Configuration: z.ZodNullable<z.ZodAny>;
22751
24662
  SecurityEnvelope: z.ZodNullable<z.ZodString>;
22752
24663
  CompensatesTaskID: z.ZodNullable<z.ZodString>;
24664
+ CorrelationKey: z.ZodNullable<z.ZodString>;
24665
+ AttemptCount: z.ZodNumber;
24666
+ NextAttemptAt: z.ZodNullable<z.ZodDate>;
22753
24667
  Parent: z.ZodNullable<z.ZodString>;
22754
24668
  Type: z.ZodNullable<z.ZodString>;
22755
24669
  Environment: z.ZodNullable<z.ZodString>;
@@ -22774,7 +24688,7 @@ export declare const MJTaskSchema: z.ZodObject<{
22774
24688
  __mj_UpdatedAt?: Date;
22775
24689
  AgentID?: string;
22776
24690
  ActionID?: string;
22777
- Status?: "Pending" | "Complete" | "Failed" | "Cancelled" | "Skipped" | "In Progress" | "Blocked" | "Deferred";
24691
+ Status?: "Pending" | "Complete" | "Failed" | "Cancelled" | "Skipped" | "Deferred" | "In Progress" | "Blocked";
22778
24692
  Agent?: string;
22779
24693
  Action?: string;
22780
24694
  ParentID?: string;
@@ -22793,16 +24707,17 @@ export declare const MJTaskSchema: z.ZodObject<{
22793
24707
  Prompt?: string;
22794
24708
  AgentRunID?: string;
22795
24709
  AgentRun?: string;
22796
- StepType?: "Agent" | "Action" | "Prompt" | "Decision" | "ForEach" | "While" | "Human" | "External";
24710
+ StepType?: "Agent" | "Action" | "Prompt" | "Decision" | "ForEach" | "While" | "External" | "Human" | "Wait";
22797
24711
  CompletedAt?: Date;
22798
24712
  ErrorMessage?: string;
22799
24713
  ConversationDetailID?: string;
22800
24714
  ConversationDetail?: string;
22801
24715
  TypeID?: string;
22802
24716
  EnvironmentID?: string;
22803
- Environment?: string;
22804
24717
  ProjectID?: string;
24718
+ Environment?: string;
22805
24719
  Project?: string;
24720
+ AttemptCount?: number;
22806
24721
  PercentComplete?: number;
22807
24722
  DueAt?: Date;
22808
24723
  InputPayload?: string;
@@ -22811,6 +24726,8 @@ export declare const MJTaskSchema: z.ZodObject<{
22811
24726
  ClaimExpiresAt?: Date;
22812
24727
  SecurityEnvelope?: string;
22813
24728
  CompensatesTaskID?: string;
24729
+ CorrelationKey?: string;
24730
+ NextAttemptAt?: Date;
22814
24731
  CompensatesTask?: string;
22815
24732
  }, {
22816
24733
  ID?: string;
@@ -22820,7 +24737,7 @@ export declare const MJTaskSchema: z.ZodObject<{
22820
24737
  __mj_UpdatedAt?: Date;
22821
24738
  AgentID?: string;
22822
24739
  ActionID?: string;
22823
- Status?: "Pending" | "Complete" | "Failed" | "Cancelled" | "Skipped" | "In Progress" | "Blocked" | "Deferred";
24740
+ Status?: "Pending" | "Complete" | "Failed" | "Cancelled" | "Skipped" | "Deferred" | "In Progress" | "Blocked";
22824
24741
  Agent?: string;
22825
24742
  Action?: string;
22826
24743
  ParentID?: string;
@@ -22839,16 +24756,17 @@ export declare const MJTaskSchema: z.ZodObject<{
22839
24756
  Prompt?: string;
22840
24757
  AgentRunID?: string;
22841
24758
  AgentRun?: string;
22842
- StepType?: "Agent" | "Action" | "Prompt" | "Decision" | "ForEach" | "While" | "Human" | "External";
24759
+ StepType?: "Agent" | "Action" | "Prompt" | "Decision" | "ForEach" | "While" | "External" | "Human" | "Wait";
22843
24760
  CompletedAt?: Date;
22844
24761
  ErrorMessage?: string;
22845
24762
  ConversationDetailID?: string;
22846
24763
  ConversationDetail?: string;
22847
24764
  TypeID?: string;
22848
24765
  EnvironmentID?: string;
22849
- Environment?: string;
22850
24766
  ProjectID?: string;
24767
+ Environment?: string;
22851
24768
  Project?: string;
24769
+ AttemptCount?: number;
22852
24770
  PercentComplete?: number;
22853
24771
  DueAt?: Date;
22854
24772
  InputPayload?: string;
@@ -22857,6 +24775,8 @@ export declare const MJTaskSchema: z.ZodObject<{
22857
24775
  ClaimExpiresAt?: Date;
22858
24776
  SecurityEnvelope?: string;
22859
24777
  CompensatesTaskID?: string;
24778
+ CorrelationKey?: string;
24779
+ NextAttemptAt?: Date;
22860
24780
  CompensatesTask?: string;
22861
24781
  }>;
22862
24782
  export type MJTaskEntityType = z.infer<typeof MJTaskSchema>;
@@ -24209,10 +26129,12 @@ export declare const MJUserRoutineSchema: z.ZodObject<{
24209
26129
  ScheduleMode: z.ZodUnion<[z.ZodLiteral<"Adaptive">, z.ZodLiteral<"OneShot">, z.ZodLiteral<"Recurring">]>;
24210
26130
  WakeConfiguration: z.ZodNullable<z.ZodAny>;
24211
26131
  LastCheckedAt: z.ZodNullable<z.ZodDate>;
26132
+ AgentConfigurationID: z.ZodNullable<z.ZodString>;
24212
26133
  User: z.ZodNullable<z.ZodString>;
24213
26134
  Environment: z.ZodNullable<z.ZodString>;
24214
26135
  NotificationTemplate: z.ZodNullable<z.ZodString>;
24215
26136
  Conversation: z.ZodNullable<z.ZodString>;
26137
+ AgentConfiguration: z.ZodNullable<z.ZodString>;
24216
26138
  }, "strip", z.ZodTypeAny, {
24217
26139
  ID?: string;
24218
26140
  Name?: string;
@@ -24247,7 +26169,9 @@ export declare const MJUserRoutineSchema: z.ZodObject<{
24247
26169
  ScheduleMode?: "Adaptive" | "OneShot" | "Recurring";
24248
26170
  WakeConfiguration?: any;
24249
26171
  LastCheckedAt?: Date;
26172
+ AgentConfigurationID?: string;
24250
26173
  NotificationTemplate?: string;
26174
+ AgentConfiguration?: string;
24251
26175
  }, {
24252
26176
  ID?: string;
24253
26177
  Name?: string;
@@ -24282,7 +26206,9 @@ export declare const MJUserRoutineSchema: z.ZodObject<{
24282
26206
  ScheduleMode?: "Adaptive" | "OneShot" | "Recurring";
24283
26207
  WakeConfiguration?: any;
24284
26208
  LastCheckedAt?: Date;
26209
+ AgentConfigurationID?: string;
24285
26210
  NotificationTemplate?: string;
26211
+ AgentConfiguration?: string;
24286
26212
  }>;
24287
26213
  export type MJUserRoutineEntityType = z.infer<typeof MJUserRoutineSchema>;
24288
26214
  /**
@@ -24957,7 +26883,7 @@ export declare const MJVideoArchetypeSchema: z.ZodObject<{
24957
26883
  Status?: "Active" | "Inactive";
24958
26884
  CompanyID?: string;
24959
26885
  Company?: string;
24960
- Category?: "Announcement" | "Briefing" | "DataStory" | "Explainer" | "Product" | "Social" | "Tutorial";
26886
+ Category?: "Briefing" | "Announcement" | "DataStory" | "Explainer" | "Product" | "Social" | "Tutorial";
24961
26887
  Guidance?: string;
24962
26888
  DefaultDurationSeconds?: number;
24963
26889
  MinDurationSeconds?: number;
@@ -24975,7 +26901,7 @@ export declare const MJVideoArchetypeSchema: z.ZodObject<{
24975
26901
  Status?: "Active" | "Inactive";
24976
26902
  CompanyID?: string;
24977
26903
  Company?: string;
24978
- Category?: "Announcement" | "Briefing" | "DataStory" | "Explainer" | "Product" | "Social" | "Tutorial";
26904
+ Category?: "Briefing" | "Announcement" | "DataStory" | "Explainer" | "Product" | "Social" | "Tutorial";
24979
26905
  Guidance?: string;
24980
26906
  DefaultDurationSeconds?: number;
24981
26907
  MinDurationSeconds?: number;
@@ -25105,20 +27031,20 @@ export declare const MJWorkQueueDeduplicationSchema: z.ZodObject<{
25105
27031
  __mj_UpdatedAt?: Date;
25106
27032
  Status?: "Confirmed" | "Reserved";
25107
27033
  ExpiresAt?: Date;
27034
+ Topic?: string;
25108
27035
  TopicID?: string;
25109
27036
  DeduplicationKey?: string;
25110
27037
  MessageID?: string;
25111
- Topic?: string;
25112
27038
  }, {
25113
27039
  ID?: string;
25114
27040
  __mj_CreatedAt?: Date;
25115
27041
  __mj_UpdatedAt?: Date;
25116
27042
  Status?: "Confirmed" | "Reserved";
25117
27043
  ExpiresAt?: Date;
27044
+ Topic?: string;
25118
27045
  TopicID?: string;
25119
27046
  DeduplicationKey?: string;
25120
27047
  MessageID?: string;
25121
- Topic?: string;
25122
27048
  }>;
25123
27049
  export type MJWorkQueueDeduplicationEntityType = z.infer<typeof MJWorkQueueDeduplicationSchema>;
25124
27050
  /**
@@ -25227,12 +27153,12 @@ export declare const MJWorkQueueMessageSchema: z.ZodObject<{
25227
27153
  __mj_CreatedAt?: Date;
25228
27154
  __mj_UpdatedAt?: Date;
25229
27155
  Payload?: string;
27156
+ Topic?: string;
25230
27157
  Attributes?: string;
25231
27158
  PublishedAt?: Date;
25232
27159
  PublishedByUserID?: string;
25233
27160
  PublishedByUser?: string;
25234
27161
  TopicID?: string;
25235
- Topic?: string;
25236
27162
  PartitionKey?: string;
25237
27163
  PublishOrdinal?: number;
25238
27164
  PayloadRef?: string;
@@ -25242,12 +27168,12 @@ export declare const MJWorkQueueMessageSchema: z.ZodObject<{
25242
27168
  __mj_CreatedAt?: Date;
25243
27169
  __mj_UpdatedAt?: Date;
25244
27170
  Payload?: string;
27171
+ Topic?: string;
25245
27172
  Attributes?: string;
25246
27173
  PublishedAt?: Date;
25247
27174
  PublishedByUserID?: string;
25248
27175
  PublishedByUser?: string;
25249
27176
  TopicID?: string;
25250
- Topic?: string;
25251
27177
  PartitionKey?: string;
25252
27178
  PublishOrdinal?: number;
25253
27179
  PayloadRef?: string;
@@ -25285,9 +27211,9 @@ export declare const MJWorkQueueSubscriptionSchema: z.ZodObject<{
25285
27211
  __mj_CreatedAt?: Date;
25286
27212
  __mj_UpdatedAt?: Date;
25287
27213
  Status?: "Active" | "Disabled" | "Paused";
27214
+ Topic?: string;
25288
27215
  Filter?: string;
25289
27216
  TopicID?: string;
25290
- Topic?: string;
25291
27217
  PartitionMode?: "None" | "Exclusive" | "Ordered";
25292
27218
  MaxAttempts?: number;
25293
27219
  BackoffBaseSeconds?: number;
@@ -25306,9 +27232,9 @@ export declare const MJWorkQueueSubscriptionSchema: z.ZodObject<{
25306
27232
  __mj_CreatedAt?: Date;
25307
27233
  __mj_UpdatedAt?: Date;
25308
27234
  Status?: "Active" | "Disabled" | "Paused";
27235
+ Topic?: string;
25309
27236
  Filter?: string;
25310
27237
  TopicID?: string;
25311
- Topic?: string;
25312
27238
  PartitionMode?: "None" | "Exclusive" | "Ordered";
25313
27239
  MaxAttempts?: number;
25314
27240
  BackoffBaseSeconds?: number;