@memberjunction/core-entities 6.2.0-edge.5 → 6.2.0-edge.6

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 (30) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/custom/MJConversationDetailEntityExtended.d.ts +27 -3
  3. package/dist/custom/MJConversationDetailEntityExtended.d.ts.map +1 -1
  4. package/dist/custom/MJConversationDetailEntityExtended.js +96 -13
  5. package/dist/custom/MJConversationDetailEntityExtended.js.map +1 -1
  6. package/dist/custom/MJQueryEntityExtended.d.ts +37 -1
  7. package/dist/custom/MJQueryEntityExtended.d.ts.map +1 -1
  8. package/dist/custom/MJQueryEntityExtended.js +92 -5
  9. package/dist/custom/MJQueryEntityExtended.js.map +1 -1
  10. package/dist/custom/MJUserViewEntityExtended.d.ts +39 -4
  11. package/dist/custom/MJUserViewEntityExtended.d.ts.map +1 -1
  12. package/dist/custom/MJUserViewEntityExtended.js +111 -18
  13. package/dist/custom/MJUserViewEntityExtended.js.map +1 -1
  14. package/dist/custom/approvals.d.ts +55 -0
  15. package/dist/custom/approvals.d.ts.map +1 -0
  16. package/dist/custom/approvals.js +120 -0
  17. package/dist/custom/approvals.js.map +1 -0
  18. package/dist/engines/knowledgeHubMetadata.d.ts +8 -3
  19. package/dist/engines/knowledgeHubMetadata.d.ts.map +1 -1
  20. package/dist/engines/knowledgeHubMetadata.js +19 -2
  21. package/dist/engines/knowledgeHubMetadata.js.map +1 -1
  22. package/dist/generated/entities/__mj.d.ts +2385 -72
  23. package/dist/generated/entities/__mj.d.ts.map +1 -1
  24. package/dist/generated/entities/__mj.js +3487 -67
  25. package/dist/generated/entities/__mj.js.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +1 -0
  29. package/dist/index.js.map +1 -1
  30. package/package.json +6 -6
@@ -1534,6 +1534,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1534
1534
  PlanMode: z.ZodBoolean;
1535
1535
  ExternalSessionID: z.ZodNullable<z.ZodString>;
1536
1536
  ContinuationDepth: z.ZodNumber;
1537
+ BoundActionParams: z.ZodNullable<z.ZodString>;
1537
1538
  Agent: z.ZodNullable<z.ZodString>;
1538
1539
  ParentRun: z.ZodNullable<z.ZodString>;
1539
1540
  Conversation: z.ZodNullable<z.ZodString>;
@@ -1610,6 +1611,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1610
1611
  PlanMode?: boolean;
1611
1612
  ExternalSessionID?: string;
1612
1613
  ContinuationDepth?: number;
1614
+ BoundActionParams?: string;
1613
1615
  ParentRun?: string;
1614
1616
  ConversationDetail?: string;
1615
1617
  LastRun?: string;
@@ -1681,6 +1683,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1681
1683
  PlanMode?: boolean;
1682
1684
  ExternalSessionID?: string;
1683
1685
  ContinuationDepth?: number;
1686
+ BoundActionParams?: string;
1684
1687
  ParentRun?: string;
1685
1688
  ConversationDetail?: string;
1686
1689
  LastRun?: string;
@@ -6696,6 +6699,94 @@ export declare const MJAuthorizationSchema: z.ZodObject<{
6696
6699
  UseAuditLog?: boolean;
6697
6700
  }>;
6698
6701
  export type MJAuthorizationEntityType = z.infer<typeof MJAuthorizationSchema>;
6702
+ /**
6703
+ * zod schema definition for the entity MJ: Calendar Event Links
6704
+ */
6705
+ export declare const MJCalendarEventLinkSchema: z.ZodObject<{
6706
+ ID: z.ZodString;
6707
+ CommunicationProviderID: z.ZodString;
6708
+ AccountIdentifier: z.ZodString;
6709
+ CalendarID: z.ZodNullable<z.ZodString>;
6710
+ ExternalEventID: z.ZodString;
6711
+ ExternalSeriesID: z.ZodNullable<z.ZodString>;
6712
+ ICalUID: z.ZodNullable<z.ZodString>;
6713
+ EntityID: z.ZodString;
6714
+ RecordID: z.ZodString;
6715
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Cancelled">]>;
6716
+ LastSyncedAt: z.ZodNullable<z.ZodDate>;
6717
+ __mj_CreatedAt: z.ZodDate;
6718
+ __mj_UpdatedAt: z.ZodDate;
6719
+ CommunicationProvider: z.ZodString;
6720
+ Entity: z.ZodString;
6721
+ }, "strip", z.ZodTypeAny, {
6722
+ ID?: string;
6723
+ __mj_CreatedAt?: Date;
6724
+ __mj_UpdatedAt?: Date;
6725
+ Status?: "Active" | "Cancelled";
6726
+ EntityID?: string;
6727
+ RecordID?: string;
6728
+ Entity?: string;
6729
+ CommunicationProviderID?: string;
6730
+ AccountIdentifier?: string;
6731
+ CalendarID?: string;
6732
+ ExternalEventID?: string;
6733
+ ExternalSeriesID?: string;
6734
+ ICalUID?: string;
6735
+ LastSyncedAt?: Date;
6736
+ CommunicationProvider?: string;
6737
+ }, {
6738
+ ID?: string;
6739
+ __mj_CreatedAt?: Date;
6740
+ __mj_UpdatedAt?: Date;
6741
+ Status?: "Active" | "Cancelled";
6742
+ EntityID?: string;
6743
+ RecordID?: string;
6744
+ Entity?: string;
6745
+ CommunicationProviderID?: string;
6746
+ AccountIdentifier?: string;
6747
+ CalendarID?: string;
6748
+ ExternalEventID?: string;
6749
+ ExternalSeriesID?: string;
6750
+ ICalUID?: string;
6751
+ LastSyncedAt?: Date;
6752
+ CommunicationProvider?: string;
6753
+ }>;
6754
+ export type MJCalendarEventLinkEntityType = z.infer<typeof MJCalendarEventLinkSchema>;
6755
+ /**
6756
+ * zod schema definition for the entity MJ: Calendar Sync States
6757
+ */
6758
+ export declare const MJCalendarSyncStateSchema: z.ZodObject<{
6759
+ ID: z.ZodString;
6760
+ CommunicationProviderID: z.ZodString;
6761
+ AccountIdentifier: z.ZodString;
6762
+ CalendarID: z.ZodNullable<z.ZodString>;
6763
+ SyncToken: z.ZodNullable<z.ZodString>;
6764
+ LastSyncedAt: z.ZodNullable<z.ZodDate>;
6765
+ __mj_CreatedAt: z.ZodDate;
6766
+ __mj_UpdatedAt: z.ZodDate;
6767
+ CommunicationProvider: z.ZodString;
6768
+ }, "strip", z.ZodTypeAny, {
6769
+ ID?: string;
6770
+ __mj_CreatedAt?: Date;
6771
+ __mj_UpdatedAt?: Date;
6772
+ CommunicationProviderID?: string;
6773
+ AccountIdentifier?: string;
6774
+ CalendarID?: string;
6775
+ LastSyncedAt?: Date;
6776
+ CommunicationProvider?: string;
6777
+ SyncToken?: string;
6778
+ }, {
6779
+ ID?: string;
6780
+ __mj_CreatedAt?: Date;
6781
+ __mj_UpdatedAt?: Date;
6782
+ CommunicationProviderID?: string;
6783
+ AccountIdentifier?: string;
6784
+ CalendarID?: string;
6785
+ LastSyncedAt?: Date;
6786
+ CommunicationProvider?: string;
6787
+ SyncToken?: string;
6788
+ }>;
6789
+ export type MJCalendarSyncStateEntityType = z.infer<typeof MJCalendarSyncStateSchema>;
6699
6790
  /**
6700
6791
  * zod schema definition for the entity MJ: Cluster Analysis
6701
6792
  */
@@ -6995,11 +7086,11 @@ export declare const MJCommunicationLogSchema: z.ZodObject<{
6995
7086
  Direction?: "Receiving" | "Sending";
6996
7087
  ErrorMessage?: string;
6997
7088
  CommunicationProviderID?: string;
7089
+ CommunicationProvider?: string;
6998
7090
  CommunicationProviderMessageTypeID?: string;
6999
7091
  CommunicationRunID?: string;
7000
7092
  MessageDate?: Date;
7001
7093
  MessageContent?: string;
7002
- CommunicationProvider?: string;
7003
7094
  CommunicationProviderMessageType?: string;
7004
7095
  CommunicationRun?: string;
7005
7096
  }, {
@@ -7010,11 +7101,11 @@ export declare const MJCommunicationLogSchema: z.ZodObject<{
7010
7101
  Direction?: "Receiving" | "Sending";
7011
7102
  ErrorMessage?: string;
7012
7103
  CommunicationProviderID?: string;
7104
+ CommunicationProvider?: string;
7013
7105
  CommunicationProviderMessageTypeID?: string;
7014
7106
  CommunicationRunID?: string;
7015
7107
  MessageDate?: Date;
7016
7108
  MessageContent?: string;
7017
- CommunicationProvider?: string;
7018
7109
  CommunicationProviderMessageType?: string;
7019
7110
  CommunicationRun?: string;
7020
7111
  }>;
@@ -7078,6 +7169,8 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7078
7169
  EnterpriseScopeMode: z.ZodUnion<[z.ZodLiteral<"SecurityGroupScoped">, z.ZodLiteral<"TenantWide">, z.ZodLiteral<"UtilityMailboxesOnly">]>;
7079
7170
  AllowedEmailDomains: z.ZodNullable<z.ZodString>;
7080
7171
  DefaultCredentialID: z.ZodNullable<z.ZodString>;
7172
+ AllowUserDelegatedOAuth: z.ZodBoolean;
7173
+ AllowedOAuthTenantIDs: z.ZodNullable<z.ZodString>;
7081
7174
  DefaultCredential: z.ZodNullable<z.ZodString>;
7082
7175
  }, "strip", z.ZodTypeAny, {
7083
7176
  ID?: string;
@@ -7097,6 +7190,8 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7097
7190
  EnterpriseScopeMode?: "SecurityGroupScoped" | "TenantWide" | "UtilityMailboxesOnly";
7098
7191
  AllowedEmailDomains?: string;
7099
7192
  DefaultCredentialID?: string;
7193
+ AllowUserDelegatedOAuth?: boolean;
7194
+ AllowedOAuthTenantIDs?: string;
7100
7195
  DefaultCredential?: string;
7101
7196
  }, {
7102
7197
  ID?: string;
@@ -7116,6 +7211,8 @@ export declare const MJCommunicationProviderSchema: z.ZodObject<{
7116
7211
  EnterpriseScopeMode?: "SecurityGroupScoped" | "TenantWide" | "UtilityMailboxesOnly";
7117
7212
  AllowedEmailDomains?: string;
7118
7213
  DefaultCredentialID?: string;
7214
+ AllowUserDelegatedOAuth?: boolean;
7215
+ AllowedOAuthTenantIDs?: string;
7119
7216
  DefaultCredential?: string;
7120
7217
  }>;
7121
7218
  export type MJCommunicationProviderEntityType = z.infer<typeof MJCommunicationProviderSchema>;
@@ -7307,6 +7404,298 @@ export declare const MJCompanyIntegrationFieldMapSchema: z.ZodObject<{
7307
7404
  EntityMap?: string;
7308
7405
  }>;
7309
7406
  export type MJCompanyIntegrationFieldMapEntityType = z.infer<typeof MJCompanyIntegrationFieldMapSchema>;
7407
+ /**
7408
+ * zod schema definition for the entity MJ: Company Integration Object Fields
7409
+ */
7410
+ export declare const MJCompanyIntegrationObjectFieldSchema: z.ZodObject<{
7411
+ ID: z.ZodString;
7412
+ Name: z.ZodString;
7413
+ DisplayName: z.ZodNullable<z.ZodString>;
7414
+ Description: z.ZodNullable<z.ZodString>;
7415
+ Category: z.ZodNullable<z.ZodString>;
7416
+ Type: z.ZodString;
7417
+ Length: z.ZodNullable<z.ZodNumber>;
7418
+ Precision: z.ZodNullable<z.ZodNumber>;
7419
+ Scale: z.ZodNullable<z.ZodNumber>;
7420
+ AllowsNull: z.ZodBoolean;
7421
+ DefaultValue: z.ZodNullable<z.ZodString>;
7422
+ IsPrimaryKey: z.ZodBoolean;
7423
+ IsUniqueKey: z.ZodBoolean;
7424
+ IsReadOnly: z.ZodBoolean;
7425
+ IsRequired: z.ZodBoolean;
7426
+ RelatedIntegrationObjectFieldName: z.ZodNullable<z.ZodString>;
7427
+ Sequence: z.ZodNumber;
7428
+ Configuration: z.ZodNullable<z.ZodString>;
7429
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
7430
+ IsCustom: z.ZodBoolean;
7431
+ MetadataSource: z.ZodUnion<[z.ZodLiteral<"Custom">, z.ZodLiteral<"Declared">, z.ZodLiteral<"Discovered">]>;
7432
+ CompanyIntegrationObjectID: z.ZodString;
7433
+ RelatedCompanyIntegrationObjectID: z.ZodNullable<z.ZodString>;
7434
+ IntegrationObjectFieldID: z.ZodNullable<z.ZodString>;
7435
+ ObservedMaxLength: z.ZodNullable<z.ZodNumber>;
7436
+ Provenance: z.ZodUnion<[z.ZodLiteral<"Declared">, z.ZodLiteral<"Endpoint">, z.ZodLiteral<"Sampled">]>;
7437
+ ProvenanceDetail: z.ZodNullable<z.ZodString>;
7438
+ IsSelected: z.ZodBoolean;
7439
+ SelectedAt: z.ZodNullable<z.ZodDate>;
7440
+ FirstSeenAt: z.ZodNullable<z.ZodDate>;
7441
+ LastSeenAt: z.ZodNullable<z.ZodDate>;
7442
+ LastSampledAt: z.ZodNullable<z.ZodDate>;
7443
+ __mj_CreatedAt: z.ZodDate;
7444
+ __mj_UpdatedAt: z.ZodDate;
7445
+ CompanyIntegrationObject: z.ZodString;
7446
+ RelatedCompanyIntegrationObject: z.ZodNullable<z.ZodString>;
7447
+ IntegrationObjectField: z.ZodNullable<z.ZodString>;
7448
+ }, "strip", z.ZodTypeAny, {
7449
+ ID?: string;
7450
+ Name?: string;
7451
+ Description?: string;
7452
+ __mj_CreatedAt?: Date;
7453
+ __mj_UpdatedAt?: Date;
7454
+ Status?: "Active" | "Disabled" | "Deprecated";
7455
+ Sequence?: number;
7456
+ IsRequired?: boolean;
7457
+ Type?: string;
7458
+ Configuration?: string;
7459
+ DisplayName?: string;
7460
+ Category?: string;
7461
+ DefaultValue?: string;
7462
+ Length?: number;
7463
+ Precision?: number;
7464
+ Scale?: number;
7465
+ AllowsNull?: boolean;
7466
+ IsPrimaryKey?: boolean;
7467
+ IsUniqueKey?: boolean;
7468
+ IsReadOnly?: boolean;
7469
+ RelatedIntegrationObjectFieldName?: string;
7470
+ IsCustom?: boolean;
7471
+ MetadataSource?: "Custom" | "Declared" | "Discovered";
7472
+ CompanyIntegrationObjectID?: string;
7473
+ RelatedCompanyIntegrationObjectID?: string;
7474
+ IntegrationObjectFieldID?: string;
7475
+ ObservedMaxLength?: number;
7476
+ Provenance?: "Endpoint" | "Declared" | "Sampled";
7477
+ ProvenanceDetail?: string;
7478
+ IsSelected?: boolean;
7479
+ SelectedAt?: Date;
7480
+ FirstSeenAt?: Date;
7481
+ LastSeenAt?: Date;
7482
+ LastSampledAt?: Date;
7483
+ CompanyIntegrationObject?: string;
7484
+ RelatedCompanyIntegrationObject?: string;
7485
+ IntegrationObjectField?: string;
7486
+ }, {
7487
+ ID?: string;
7488
+ Name?: string;
7489
+ Description?: string;
7490
+ __mj_CreatedAt?: Date;
7491
+ __mj_UpdatedAt?: Date;
7492
+ Status?: "Active" | "Disabled" | "Deprecated";
7493
+ Sequence?: number;
7494
+ IsRequired?: boolean;
7495
+ Type?: string;
7496
+ Configuration?: string;
7497
+ DisplayName?: string;
7498
+ Category?: string;
7499
+ DefaultValue?: string;
7500
+ Length?: number;
7501
+ Precision?: number;
7502
+ Scale?: number;
7503
+ AllowsNull?: boolean;
7504
+ IsPrimaryKey?: boolean;
7505
+ IsUniqueKey?: boolean;
7506
+ IsReadOnly?: boolean;
7507
+ RelatedIntegrationObjectFieldName?: string;
7508
+ IsCustom?: boolean;
7509
+ MetadataSource?: "Custom" | "Declared" | "Discovered";
7510
+ CompanyIntegrationObjectID?: string;
7511
+ RelatedCompanyIntegrationObjectID?: string;
7512
+ IntegrationObjectFieldID?: string;
7513
+ ObservedMaxLength?: number;
7514
+ Provenance?: "Endpoint" | "Declared" | "Sampled";
7515
+ ProvenanceDetail?: string;
7516
+ IsSelected?: boolean;
7517
+ SelectedAt?: Date;
7518
+ FirstSeenAt?: Date;
7519
+ LastSeenAt?: Date;
7520
+ LastSampledAt?: Date;
7521
+ CompanyIntegrationObject?: string;
7522
+ RelatedCompanyIntegrationObject?: string;
7523
+ IntegrationObjectField?: string;
7524
+ }>;
7525
+ export type MJCompanyIntegrationObjectFieldEntityType = z.infer<typeof MJCompanyIntegrationObjectFieldSchema>;
7526
+ /**
7527
+ * zod schema definition for the entity MJ: Company Integration Objects
7528
+ */
7529
+ export declare const MJCompanyIntegrationObjectSchema: z.ZodObject<{
7530
+ ID: z.ZodString;
7531
+ IntegrationID: z.ZodString;
7532
+ Name: z.ZodString;
7533
+ DisplayName: z.ZodNullable<z.ZodString>;
7534
+ Description: z.ZodNullable<z.ZodString>;
7535
+ Category: z.ZodNullable<z.ZodString>;
7536
+ APIPath: z.ZodString;
7537
+ ResponseDataKey: z.ZodNullable<z.ZodString>;
7538
+ DefaultPageSize: z.ZodNumber;
7539
+ SupportsPagination: z.ZodBoolean;
7540
+ PaginationType: z.ZodString;
7541
+ SupportsIncrementalSync: z.ZodBoolean;
7542
+ SupportsWrite: z.ZodBoolean;
7543
+ DefaultQueryParams: z.ZodNullable<z.ZodString>;
7544
+ Configuration: z.ZodNullable<z.ZodString>;
7545
+ Sequence: z.ZodNumber;
7546
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
7547
+ WriteAPIPath: z.ZodNullable<z.ZodString>;
7548
+ WriteMethod: z.ZodNullable<z.ZodString>;
7549
+ DeleteMethod: z.ZodNullable<z.ZodString>;
7550
+ IsCustom: z.ZodBoolean;
7551
+ CreateAPIPath: z.ZodNullable<z.ZodString>;
7552
+ CreateMethod: z.ZodNullable<z.ZodString>;
7553
+ CreateBodyShape: z.ZodNullable<z.ZodString>;
7554
+ CreateBodyKey: z.ZodNullable<z.ZodString>;
7555
+ CreateIDLocation: z.ZodNullable<z.ZodString>;
7556
+ UpdateAPIPath: z.ZodNullable<z.ZodString>;
7557
+ UpdateMethod: z.ZodNullable<z.ZodString>;
7558
+ UpdateBodyShape: z.ZodNullable<z.ZodString>;
7559
+ UpdateBodyKey: z.ZodNullable<z.ZodString>;
7560
+ UpdateIDLocation: z.ZodNullable<z.ZodString>;
7561
+ DeleteAPIPath: z.ZodNullable<z.ZodString>;
7562
+ DeleteIDLocation: z.ZodNullable<z.ZodString>;
7563
+ IncrementalWatermarkField: z.ZodNullable<z.ZodString>;
7564
+ MetadataSource: z.ZodUnion<[z.ZodLiteral<"Custom">, z.ZodLiteral<"Declared">, z.ZodLiteral<"Discovered">]>;
7565
+ SupportsCreate: z.ZodBoolean;
7566
+ SupportsUpdate: z.ZodBoolean;
7567
+ SupportsDelete: z.ZodBoolean;
7568
+ SyncStrategy: z.ZodNullable<z.ZodString>;
7569
+ ContentHashApplicable: z.ZodBoolean;
7570
+ StableOrderingKey: z.ZodNullable<z.ZodString>;
7571
+ CompanyIntegrationID: z.ZodString;
7572
+ IntegrationObjectID: z.ZodNullable<z.ZodString>;
7573
+ Provenance: z.ZodUnion<[z.ZodLiteral<"Declared">, z.ZodLiteral<"Endpoint">, z.ZodLiteral<"Sampled">]>;
7574
+ ProvenanceDetail: z.ZodNullable<z.ZodString>;
7575
+ IsSelected: z.ZodBoolean;
7576
+ SelectedAt: z.ZodNullable<z.ZodDate>;
7577
+ FirstSeenAt: z.ZodNullable<z.ZodDate>;
7578
+ LastSeenAt: z.ZodNullable<z.ZodDate>;
7579
+ LastSampledAt: z.ZodNullable<z.ZodDate>;
7580
+ __mj_CreatedAt: z.ZodDate;
7581
+ __mj_UpdatedAt: z.ZodDate;
7582
+ Integration: z.ZodString;
7583
+ CompanyIntegration: z.ZodString;
7584
+ IntegrationObject: z.ZodNullable<z.ZodString>;
7585
+ }, "strip", z.ZodTypeAny, {
7586
+ ID?: string;
7587
+ Name?: string;
7588
+ Description?: string;
7589
+ __mj_CreatedAt?: Date;
7590
+ __mj_UpdatedAt?: Date;
7591
+ Status?: "Active" | "Disabled" | "Deprecated";
7592
+ Sequence?: number;
7593
+ Configuration?: string;
7594
+ DisplayName?: string;
7595
+ Integration?: string;
7596
+ Category?: string;
7597
+ CompanyIntegrationID?: string;
7598
+ CompanyIntegration?: string;
7599
+ IsCustom?: boolean;
7600
+ MetadataSource?: "Custom" | "Declared" | "Discovered";
7601
+ Provenance?: "Endpoint" | "Declared" | "Sampled";
7602
+ ProvenanceDetail?: string;
7603
+ IsSelected?: boolean;
7604
+ SelectedAt?: Date;
7605
+ FirstSeenAt?: Date;
7606
+ LastSeenAt?: Date;
7607
+ LastSampledAt?: Date;
7608
+ IntegrationID?: string;
7609
+ APIPath?: string;
7610
+ ResponseDataKey?: string;
7611
+ DefaultPageSize?: number;
7612
+ SupportsPagination?: boolean;
7613
+ PaginationType?: string;
7614
+ SupportsIncrementalSync?: boolean;
7615
+ SupportsWrite?: boolean;
7616
+ DefaultQueryParams?: string;
7617
+ WriteAPIPath?: string;
7618
+ WriteMethod?: string;
7619
+ DeleteMethod?: string;
7620
+ CreateAPIPath?: string;
7621
+ CreateMethod?: string;
7622
+ CreateBodyShape?: string;
7623
+ CreateBodyKey?: string;
7624
+ CreateIDLocation?: string;
7625
+ UpdateAPIPath?: string;
7626
+ UpdateMethod?: string;
7627
+ UpdateBodyShape?: string;
7628
+ UpdateBodyKey?: string;
7629
+ UpdateIDLocation?: string;
7630
+ DeleteAPIPath?: string;
7631
+ DeleteIDLocation?: string;
7632
+ IncrementalWatermarkField?: string;
7633
+ SupportsCreate?: boolean;
7634
+ SupportsUpdate?: boolean;
7635
+ SupportsDelete?: boolean;
7636
+ SyncStrategy?: string;
7637
+ ContentHashApplicable?: boolean;
7638
+ StableOrderingKey?: string;
7639
+ IntegrationObjectID?: string;
7640
+ IntegrationObject?: string;
7641
+ }, {
7642
+ ID?: string;
7643
+ Name?: string;
7644
+ Description?: string;
7645
+ __mj_CreatedAt?: Date;
7646
+ __mj_UpdatedAt?: Date;
7647
+ Status?: "Active" | "Disabled" | "Deprecated";
7648
+ Sequence?: number;
7649
+ Configuration?: string;
7650
+ DisplayName?: string;
7651
+ Integration?: string;
7652
+ Category?: string;
7653
+ CompanyIntegrationID?: string;
7654
+ CompanyIntegration?: string;
7655
+ IsCustom?: boolean;
7656
+ MetadataSource?: "Custom" | "Declared" | "Discovered";
7657
+ Provenance?: "Endpoint" | "Declared" | "Sampled";
7658
+ ProvenanceDetail?: string;
7659
+ IsSelected?: boolean;
7660
+ SelectedAt?: Date;
7661
+ FirstSeenAt?: Date;
7662
+ LastSeenAt?: Date;
7663
+ LastSampledAt?: Date;
7664
+ IntegrationID?: string;
7665
+ APIPath?: string;
7666
+ ResponseDataKey?: string;
7667
+ DefaultPageSize?: number;
7668
+ SupportsPagination?: boolean;
7669
+ PaginationType?: string;
7670
+ SupportsIncrementalSync?: boolean;
7671
+ SupportsWrite?: boolean;
7672
+ DefaultQueryParams?: string;
7673
+ WriteAPIPath?: string;
7674
+ WriteMethod?: string;
7675
+ DeleteMethod?: string;
7676
+ CreateAPIPath?: string;
7677
+ CreateMethod?: string;
7678
+ CreateBodyShape?: string;
7679
+ CreateBodyKey?: string;
7680
+ CreateIDLocation?: string;
7681
+ UpdateAPIPath?: string;
7682
+ UpdateMethod?: string;
7683
+ UpdateBodyShape?: string;
7684
+ UpdateBodyKey?: string;
7685
+ UpdateIDLocation?: string;
7686
+ DeleteAPIPath?: string;
7687
+ DeleteIDLocation?: string;
7688
+ IncrementalWatermarkField?: string;
7689
+ SupportsCreate?: boolean;
7690
+ SupportsUpdate?: boolean;
7691
+ SupportsDelete?: boolean;
7692
+ SyncStrategy?: string;
7693
+ ContentHashApplicable?: boolean;
7694
+ StableOrderingKey?: string;
7695
+ IntegrationObjectID?: string;
7696
+ IntegrationObject?: string;
7697
+ }>;
7698
+ export type MJCompanyIntegrationObjectEntityType = z.infer<typeof MJCompanyIntegrationObjectSchema>;
7310
7699
  /**
7311
7700
  * zod schema definition for the entity MJ: Company Integration Record Maps
7312
7701
  */
@@ -7842,7 +8231,13 @@ export declare const MJComponentSchema: z.ZodObject<{
7842
8231
  HasRequiredCustomProps: z.ZodBoolean;
7843
8232
  FunctionalRequirementsVectorBinary: z.ZodNullable<z.ZodString>;
7844
8233
  TechnicalDesignVectorBinary: z.ZodNullable<z.ZodString>;
8234
+ ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Rejected">]>;
8235
+ ApprovalComments: z.ZodNullable<z.ZodString>;
8236
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
8237
+ ApprovedAt: z.ZodNullable<z.ZodDate>;
8238
+ ApprovedFingerprint: z.ZodNullable<z.ZodString>;
7845
8239
  SourceRegistry: z.ZodNullable<z.ZodString>;
8240
+ ApprovedByUser: z.ZodNullable<z.ZodString>;
7846
8241
  }, "strip", z.ZodTypeAny, {
7847
8242
  ID?: string;
7848
8243
  Name?: string;
@@ -7853,6 +8248,7 @@ export declare const MJComponentSchema: z.ZodObject<{
7853
8248
  Type?: "Dashboard" | "Other" | "Utility" | "Chart" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
7854
8249
  FunctionalRequirements?: string;
7855
8250
  TechnicalDesign?: string;
8251
+ LastSyncedAt?: Date;
7856
8252
  Version?: string;
7857
8253
  Namespace?: string;
7858
8254
  VersionSequence?: number;
@@ -7862,7 +8258,6 @@ export declare const MJComponentSchema: z.ZodObject<{
7862
8258
  DeveloperOrganization?: string;
7863
8259
  SourceRegistryID?: string;
7864
8260
  ReplicatedAt?: Date;
7865
- LastSyncedAt?: Date;
7866
8261
  Specification?: string;
7867
8262
  FunctionalRequirementsVector?: string;
7868
8263
  TechnicalDesignVector?: string;
@@ -7875,7 +8270,13 @@ export declare const MJComponentSchema: z.ZodObject<{
7875
8270
  HasRequiredCustomProps?: boolean;
7876
8271
  FunctionalRequirementsVectorBinary?: string;
7877
8272
  TechnicalDesignVectorBinary?: string;
8273
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
8274
+ ApprovalComments?: string;
8275
+ ApprovedByUserID?: string;
8276
+ ApprovedAt?: Date;
8277
+ ApprovedFingerprint?: string;
7878
8278
  SourceRegistry?: string;
8279
+ ApprovedByUser?: string;
7879
8280
  }, {
7880
8281
  ID?: string;
7881
8282
  Name?: string;
@@ -7886,6 +8287,7 @@ export declare const MJComponentSchema: z.ZodObject<{
7886
8287
  Type?: "Dashboard" | "Other" | "Utility" | "Chart" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
7887
8288
  FunctionalRequirements?: string;
7888
8289
  TechnicalDesign?: string;
8290
+ LastSyncedAt?: Date;
7889
8291
  Version?: string;
7890
8292
  Namespace?: string;
7891
8293
  VersionSequence?: number;
@@ -7895,7 +8297,6 @@ export declare const MJComponentSchema: z.ZodObject<{
7895
8297
  DeveloperOrganization?: string;
7896
8298
  SourceRegistryID?: string;
7897
8299
  ReplicatedAt?: Date;
7898
- LastSyncedAt?: Date;
7899
8300
  Specification?: string;
7900
8301
  FunctionalRequirementsVector?: string;
7901
8302
  TechnicalDesignVector?: string;
@@ -7908,7 +8309,13 @@ export declare const MJComponentSchema: z.ZodObject<{
7908
8309
  HasRequiredCustomProps?: boolean;
7909
8310
  FunctionalRequirementsVectorBinary?: string;
7910
8311
  TechnicalDesignVectorBinary?: string;
8312
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
8313
+ ApprovalComments?: string;
8314
+ ApprovedByUserID?: string;
8315
+ ApprovedAt?: Date;
8316
+ ApprovedFingerprint?: string;
7911
8317
  SourceRegistry?: string;
8318
+ ApprovedByUser?: string;
7912
8319
  }>;
7913
8320
  export type MJComponentEntityType = z.infer<typeof MJComponentSchema>;
7914
8321
  /**
@@ -7920,18 +8327,27 @@ export declare const MJContentFileTypeSchema: z.ZodObject<{
7920
8327
  FileExtension: z.ZodNullable<z.ZodString>;
7921
8328
  __mj_CreatedAt: z.ZodDate;
7922
8329
  __mj_UpdatedAt: z.ZodDate;
8330
+ ByteSignature: z.ZodNullable<z.ZodString>;
8331
+ IsText: z.ZodNullable<z.ZodBoolean>;
8332
+ ExtractorKey: z.ZodNullable<z.ZodString>;
7923
8333
  }, "strip", z.ZodTypeAny, {
7924
8334
  ID?: string;
7925
8335
  Name?: string;
7926
8336
  __mj_CreatedAt?: Date;
7927
8337
  __mj_UpdatedAt?: Date;
7928
8338
  FileExtension?: string;
8339
+ ByteSignature?: string;
8340
+ IsText?: boolean;
8341
+ ExtractorKey?: string;
7929
8342
  }, {
7930
8343
  ID?: string;
7931
8344
  Name?: string;
7932
8345
  __mj_CreatedAt?: Date;
7933
8346
  __mj_UpdatedAt?: Date;
7934
8347
  FileExtension?: string;
8348
+ ByteSignature?: string;
8349
+ IsText?: boolean;
8350
+ ExtractorKey?: string;
7935
8351
  }>;
7936
8352
  export type MJContentFileTypeEntityType = z.infer<typeof MJContentFileTypeSchema>;
7937
8353
  /**
@@ -7972,7 +8388,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
7972
8388
  Sequence: z.ZodNumber;
7973
8389
  Text: z.ZodNullable<z.ZodString>;
7974
8390
  VectorRecordID: z.ZodNullable<z.ZodString>;
7975
- EmbeddingStatus: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processed">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
8391
+ EmbeddingStatus: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"MetadataOnly">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processed">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
7976
8392
  TaggingStatus: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processed">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
7977
8393
  DeleteStatus: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Deleted">, z.ZodLiteral<"Pending">]>>;
7978
8394
  LastEmbeddedAt: z.ZodNullable<z.ZodDate>;
@@ -7991,6 +8407,8 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
7991
8407
  Transcript: z.ZodNullable<z.ZodString>;
7992
8408
  SegmenterKey: z.ZodNullable<z.ZodString>;
7993
8409
  ParentChunkID: z.ZodNullable<z.ZodString>;
8410
+ FieldConfidence: z.ZodNullable<z.ZodString>;
8411
+ Decorator: z.ZodNullable<z.ZodString>;
7994
8412
  ContentItem: z.ZodNullable<z.ZodString>;
7995
8413
  ParentChunk: z.ZodNullable<z.ZodString>;
7996
8414
  RootParentChunkID: z.ZodNullable<z.ZodString>;
@@ -8009,7 +8427,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
8009
8427
  ContentItemID?: string;
8010
8428
  ContentItem?: string;
8011
8429
  VectorRecordID?: string;
8012
- EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "Processed" | "Processing";
8430
+ EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "MetadataOnly" | "Processed" | "Processing";
8013
8431
  TaggingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "Processed" | "Processing";
8014
8432
  DeleteStatus?: "Pending" | "Deleted";
8015
8433
  LastEmbeddedAt?: Date;
@@ -8024,6 +8442,8 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
8024
8442
  Transcript?: string;
8025
8443
  SegmenterKey?: string;
8026
8444
  ParentChunkID?: string;
8445
+ FieldConfidence?: string;
8446
+ Decorator?: string;
8027
8447
  ParentChunk?: string;
8028
8448
  RootParentChunkID?: string;
8029
8449
  ParentChunkIDDepth?: number;
@@ -8041,7 +8461,7 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
8041
8461
  ContentItemID?: string;
8042
8462
  ContentItem?: string;
8043
8463
  VectorRecordID?: string;
8044
- EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "Processed" | "Processing";
8464
+ EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "MetadataOnly" | "Processed" | "Processing";
8045
8465
  TaggingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "Processed" | "Processing";
8046
8466
  DeleteStatus?: "Pending" | "Deleted";
8047
8467
  LastEmbeddedAt?: Date;
@@ -8056,6 +8476,8 @@ export declare const MJContentItemChunkSchema: z.ZodObject<{
8056
8476
  Transcript?: string;
8057
8477
  SegmenterKey?: string;
8058
8478
  ParentChunkID?: string;
8479
+ FieldConfidence?: string;
8480
+ Decorator?: string;
8059
8481
  ParentChunk?: string;
8060
8482
  RootParentChunkID?: string;
8061
8483
  ParentChunkIDDepth?: number;
@@ -8175,7 +8597,7 @@ export declare const MJContentItemSchema: z.ZodObject<{
8175
8597
  __mj_CreatedAt: z.ZodDate;
8176
8598
  __mj_UpdatedAt: z.ZodDate;
8177
8599
  EntityRecordDocumentID: z.ZodNullable<z.ZodString>;
8178
- EmbeddingStatus: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
8600
+ EmbeddingStatus: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"MetadataOnly">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processed">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
8179
8601
  LastEmbeddedAt: z.ZodNullable<z.ZodDate>;
8180
8602
  EmbeddingModelID: z.ZodNullable<z.ZodString>;
8181
8603
  TaggingStatus: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>;
@@ -8183,6 +8605,16 @@ export declare const MJContentItemSchema: z.ZodObject<{
8183
8605
  VectorRecordID: z.ZodNullable<z.ZodString>;
8184
8606
  ParentID: z.ZodNullable<z.ZodString>;
8185
8607
  DisplayLink: z.ZodNullable<z.ZodString>;
8608
+ FieldConfidence: z.ZodNullable<z.ZodString>;
8609
+ ExtractionStatus: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>>;
8610
+ SegmentationStatus: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Processing">, z.ZodLiteral<"Skipped">]>>;
8611
+ DeleteStatus: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Deleted">, z.ZodLiteral<"Pending">]>>;
8612
+ ExtractorKey: z.ZodNullable<z.ZodString>;
8613
+ ExtractorKeyOverride: z.ZodNullable<z.ZodString>;
8614
+ Modality: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"image">, z.ZodLiteral<"multimodal">, z.ZodLiteral<"text">, z.ZodLiteral<"video">]>>;
8615
+ Date: z.ZodNullable<z.ZodDate>;
8616
+ Decorator: z.ZodNullable<z.ZodString>;
8617
+ FileID: z.ZodNullable<z.ZodString>;
8186
8618
  ContentSource: z.ZodNullable<z.ZodString>;
8187
8619
  ContentType: z.ZodString;
8188
8620
  ContentSourceType: z.ZodString;
@@ -8190,6 +8622,7 @@ export declare const MJContentItemSchema: z.ZodObject<{
8190
8622
  EntityRecordDocument: z.ZodNullable<z.ZodString>;
8191
8623
  EmbeddingModel: z.ZodNullable<z.ZodString>;
8192
8624
  Parent: z.ZodNullable<z.ZodString>;
8625
+ File: z.ZodNullable<z.ZodString>;
8193
8626
  RootParentID: z.ZodNullable<z.ZodString>;
8194
8627
  ParentIDDepth: z.ZodNullable<z.ZodNumber>;
8195
8628
  ParentIDPath: z.ZodNullable<z.ZodString>;
@@ -8210,14 +8643,21 @@ export declare const MJContentItemSchema: z.ZodObject<{
8210
8643
  ParentIDChildCount?: number;
8211
8644
  EmbeddingModelID?: string;
8212
8645
  EmbeddingModel?: string;
8646
+ Modality?: "text" | "audio" | "image" | "multimodal" | "video";
8647
+ FileID?: string;
8648
+ File?: string;
8213
8649
  Text?: string;
8214
8650
  ContentType?: string;
8215
8651
  URL?: string;
8652
+ ExtractorKey?: string;
8216
8653
  VectorRecordID?: string;
8217
- EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8654
+ EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "MetadataOnly" | "Processed" | "Processing";
8218
8655
  TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8656
+ DeleteStatus?: "Pending" | "Deleted";
8219
8657
  LastEmbeddedAt?: Date;
8220
8658
  LastTaggedAt?: Date;
8659
+ FieldConfidence?: string;
8660
+ Decorator?: string;
8221
8661
  Checksum?: string;
8222
8662
  ContentSourceID?: string;
8223
8663
  ContentTypeID?: string;
@@ -8225,6 +8665,10 @@ export declare const MJContentItemSchema: z.ZodObject<{
8225
8665
  ContentFileTypeID?: string;
8226
8666
  EntityRecordDocumentID?: string;
8227
8667
  DisplayLink?: string;
8668
+ ExtractionStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8669
+ SegmentationStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8670
+ ExtractorKeyOverride?: string;
8671
+ Date?: Date;
8228
8672
  ContentSource?: string;
8229
8673
  ContentSourceType?: string;
8230
8674
  ContentFileType?: string;
@@ -8244,14 +8688,21 @@ export declare const MJContentItemSchema: z.ZodObject<{
8244
8688
  ParentIDChildCount?: number;
8245
8689
  EmbeddingModelID?: string;
8246
8690
  EmbeddingModel?: string;
8691
+ Modality?: "text" | "audio" | "image" | "multimodal" | "video";
8692
+ FileID?: string;
8693
+ File?: string;
8247
8694
  Text?: string;
8248
8695
  ContentType?: string;
8249
8696
  URL?: string;
8697
+ ExtractorKey?: string;
8250
8698
  VectorRecordID?: string;
8251
- EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8699
+ EmbeddingStatus?: "Active" | "Pending" | "Complete" | "Failed" | "Skipped" | "MetadataOnly" | "Processed" | "Processing";
8252
8700
  TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8701
+ DeleteStatus?: "Pending" | "Deleted";
8253
8702
  LastEmbeddedAt?: Date;
8254
8703
  LastTaggedAt?: Date;
8704
+ FieldConfidence?: string;
8705
+ Decorator?: string;
8255
8706
  Checksum?: string;
8256
8707
  ContentSourceID?: string;
8257
8708
  ContentTypeID?: string;
@@ -8259,6 +8710,10 @@ export declare const MJContentItemSchema: z.ZodObject<{
8259
8710
  ContentFileTypeID?: string;
8260
8711
  EntityRecordDocumentID?: string;
8261
8712
  DisplayLink?: string;
8713
+ ExtractionStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8714
+ SegmentationStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
8715
+ ExtractorKeyOverride?: string;
8716
+ Date?: Date;
8262
8717
  ContentSource?: string;
8263
8718
  ContentSourceType?: string;
8264
8719
  ContentFileType?: string;
@@ -8531,6 +8986,10 @@ export declare const MJContentSourceSchema: z.ZodObject<{
8531
8986
  SegmenterKey: z.ZodNullable<z.ZodString>;
8532
8987
  CleanerKey: z.ZodNullable<z.ZodString>;
8533
8988
  ScheduledJobID: z.ZodNullable<z.ZodString>;
8989
+ FieldConfidence: z.ZodNullable<z.ZodString>;
8990
+ ForceDiscovery: z.ZodBoolean;
8991
+ LastDiscoveredAt: z.ZodNullable<z.ZodDate>;
8992
+ LastSyncedAt: z.ZodNullable<z.ZodDate>;
8534
8993
  ContentType: z.ZodString;
8535
8994
  ContentSourceType: z.ZodString;
8536
8995
  ContentFileType: z.ZodString;
@@ -8550,9 +9009,11 @@ export declare const MJContentSourceSchema: z.ZodObject<{
8550
9009
  EntityID?: string;
8551
9010
  Entity?: string;
8552
9011
  ContentType?: string;
9012
+ LastSyncedAt?: Date;
8553
9013
  URL?: string;
8554
9014
  ScheduledJobID?: string;
8555
9015
  SegmenterKey?: string;
9016
+ FieldConfidence?: string;
8556
9017
  ContentTypeID?: string;
8557
9018
  ContentSourceTypeID?: string;
8558
9019
  ContentFileTypeID?: string;
@@ -8561,6 +9022,8 @@ export declare const MJContentSourceSchema: z.ZodObject<{
8561
9022
  VectorIndexID?: string;
8562
9023
  EntityDocumentID?: string;
8563
9024
  CleanerKey?: string;
9025
+ ForceDiscovery?: boolean;
9026
+ LastDiscoveredAt?: Date;
8564
9027
  VectorIndex?: string;
8565
9028
  EntityDocument?: string;
8566
9029
  ScheduledJob?: string;
@@ -8575,9 +9038,11 @@ export declare const MJContentSourceSchema: z.ZodObject<{
8575
9038
  EntityID?: string;
8576
9039
  Entity?: string;
8577
9040
  ContentType?: string;
9041
+ LastSyncedAt?: Date;
8578
9042
  URL?: string;
8579
9043
  ScheduledJobID?: string;
8580
9044
  SegmenterKey?: string;
9045
+ FieldConfidence?: string;
8581
9046
  ContentTypeID?: string;
8582
9047
  ContentSourceTypeID?: string;
8583
9048
  ContentFileTypeID?: string;
@@ -8586,6 +9051,8 @@ export declare const MJContentSourceSchema: z.ZodObject<{
8586
9051
  VectorIndexID?: string;
8587
9052
  EntityDocumentID?: string;
8588
9053
  CleanerKey?: string;
9054
+ ForceDiscovery?: boolean;
9055
+ LastDiscoveredAt?: Date;
8589
9056
  VectorIndex?: string;
8590
9057
  EntityDocument?: string;
8591
9058
  ScheduledJob?: string;
@@ -8637,6 +9104,7 @@ export declare const MJContentTypeSchema: z.ZodObject<{
8637
9104
  Configuration: z.ZodNullable<z.ZodAny>;
8638
9105
  SegmenterKey: z.ZodNullable<z.ZodString>;
8639
9106
  CleanerKey: z.ZodNullable<z.ZodString>;
9107
+ ExtractorKey: z.ZodNullable<z.ZodString>;
8640
9108
  AIModel: z.ZodString;
8641
9109
  EmbeddingModel: z.ZodNullable<z.ZodString>;
8642
9110
  VectorIndex: z.ZodNullable<z.ZodString>;
@@ -8651,6 +9119,7 @@ export declare const MJContentTypeSchema: z.ZodObject<{
8651
9119
  EmbeddingModel?: string;
8652
9120
  AIModelID?: string;
8653
9121
  AIModel?: string;
9122
+ ExtractorKey?: string;
8654
9123
  SegmenterKey?: string;
8655
9124
  VectorIndexID?: string;
8656
9125
  CleanerKey?: string;
@@ -8668,6 +9137,7 @@ export declare const MJContentTypeSchema: z.ZodObject<{
8668
9137
  EmbeddingModel?: string;
8669
9138
  AIModelID?: string;
8670
9139
  AIModel?: string;
9140
+ ExtractorKey?: string;
8671
9141
  SegmenterKey?: string;
8672
9142
  VectorIndexID?: string;
8673
9143
  CleanerKey?: string;
@@ -9872,10 +10342,16 @@ export declare const MJDashboardSchema: z.ZodObject<{
9872
10342
  DriverClass: z.ZodNullable<z.ZodString>;
9873
10343
  Code: z.ZodNullable<z.ZodString>;
9874
10344
  EnvironmentID: z.ZodString;
10345
+ ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Rejected">]>;
10346
+ ApprovalComments: z.ZodNullable<z.ZodString>;
10347
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
10348
+ ApprovedAt: z.ZodNullable<z.ZodDate>;
10349
+ ApprovedFingerprint: z.ZodNullable<z.ZodString>;
9875
10350
  User: z.ZodString;
9876
10351
  Category: z.ZodNullable<z.ZodString>;
9877
10352
  Application: z.ZodNullable<z.ZodString>;
9878
10353
  Environment: z.ZodString;
10354
+ ApprovedByUser: z.ZodNullable<z.ZodString>;
9879
10355
  }, "strip", z.ZodTypeAny, {
9880
10356
  ID?: string;
9881
10357
  Name?: string;
@@ -9894,6 +10370,12 @@ export declare const MJDashboardSchema: z.ZodObject<{
9894
10370
  Code?: string;
9895
10371
  EnvironmentID?: string;
9896
10372
  Environment?: string;
10373
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10374
+ ApprovalComments?: string;
10375
+ ApprovedByUserID?: string;
10376
+ ApprovedAt?: Date;
10377
+ ApprovedFingerprint?: string;
10378
+ ApprovedByUser?: string;
9897
10379
  UIConfigDetails?: string;
9898
10380
  Thumbnail?: string;
9899
10381
  }, {
@@ -9914,6 +10396,12 @@ export declare const MJDashboardSchema: z.ZodObject<{
9914
10396
  Code?: string;
9915
10397
  EnvironmentID?: string;
9916
10398
  Environment?: string;
10399
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10400
+ ApprovalComments?: string;
10401
+ ApprovedByUserID?: string;
10402
+ ApprovedAt?: Date;
10403
+ ApprovedFingerprint?: string;
10404
+ ApprovedByUser?: string;
9917
10405
  UIConfigDetails?: string;
9918
10406
  Thumbnail?: string;
9919
10407
  }>;
@@ -10116,6 +10604,7 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
10116
10604
  __mj_CreatedAt?: Date;
10117
10605
  __mj_UpdatedAt?: Date;
10118
10606
  Action?: string;
10607
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10119
10608
  AIPromptRunID?: string;
10120
10609
  AIPromptRun?: string;
10121
10610
  DuplicateRunDetailID?: string;
@@ -10123,7 +10612,6 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
10123
10612
  MatchRecordID?: string;
10124
10613
  MatchProbability?: number;
10125
10614
  MatchedAt?: Date;
10126
- ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10127
10615
  RecordMergeLogID?: string;
10128
10616
  MergeStatus?: "Pending" | "Complete" | "Error";
10129
10617
  MergedAt?: Date;
@@ -10142,6 +10630,7 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
10142
10630
  __mj_CreatedAt?: Date;
10143
10631
  __mj_UpdatedAt?: Date;
10144
10632
  Action?: string;
10633
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10145
10634
  AIPromptRunID?: string;
10146
10635
  AIPromptRun?: string;
10147
10636
  DuplicateRunDetailID?: string;
@@ -10149,7 +10638,6 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
10149
10638
  MatchRecordID?: string;
10150
10639
  MatchProbability?: number;
10151
10640
  MatchedAt?: Date;
10152
- ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10153
10641
  RecordMergeLogID?: string;
10154
10642
  MergeStatus?: "Pending" | "Complete" | "Error";
10155
10643
  MergedAt?: Date;
@@ -10237,10 +10725,12 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
10237
10725
  LastProcessedOffset: z.ZodNullable<z.ZodNumber>;
10238
10726
  BatchSize: z.ZodNullable<z.ZodNumber>;
10239
10727
  CancellationRequested: z.ZodBoolean;
10728
+ EntityDocumentID: z.ZodString;
10240
10729
  Entity: z.ZodString;
10241
10730
  StartedByUser: z.ZodString;
10242
10731
  SourceList: z.ZodNullable<z.ZodString>;
10243
10732
  ApprovedByUser: z.ZodNullable<z.ZodString>;
10733
+ EntityDocument: z.ZodString;
10244
10734
  }, "strip", z.ZodTypeAny, {
10245
10735
  ID?: string;
10246
10736
  __mj_CreatedAt?: Date;
@@ -10250,20 +10740,22 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
10250
10740
  EntityID?: string;
10251
10741
  Entity?: string;
10252
10742
  BatchSize?: number;
10743
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10744
+ ApprovalComments?: string;
10745
+ ApprovedByUserID?: string;
10746
+ ApprovedByUser?: string;
10253
10747
  StartedByUserID?: string;
10254
10748
  TotalItemCount?: number;
10255
10749
  LastProcessedOffset?: number;
10256
10750
  CancellationRequested?: boolean;
10257
10751
  StartedByUser?: string;
10258
- ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10752
+ EntityDocumentID?: string;
10753
+ EntityDocument?: string;
10259
10754
  SourceListID?: string;
10260
- ApprovalComments?: string;
10261
- ApprovedByUserID?: string;
10262
10755
  ProcessingStatus?: "Pending" | "Complete" | "Failed" | "In Progress";
10263
10756
  ProcessingErrorMessage?: string;
10264
10757
  ProcessedItemCount?: number;
10265
10758
  SourceList?: string;
10266
- ApprovedByUser?: string;
10267
10759
  }, {
10268
10760
  ID?: string;
10269
10761
  __mj_CreatedAt?: Date;
@@ -10273,20 +10765,22 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
10273
10765
  EntityID?: string;
10274
10766
  Entity?: string;
10275
10767
  BatchSize?: number;
10768
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10769
+ ApprovalComments?: string;
10770
+ ApprovedByUserID?: string;
10771
+ ApprovedByUser?: string;
10276
10772
  StartedByUserID?: string;
10277
10773
  TotalItemCount?: number;
10278
10774
  LastProcessedOffset?: number;
10279
10775
  CancellationRequested?: boolean;
10280
10776
  StartedByUser?: string;
10281
- ApprovalStatus?: "Pending" | "Approved" | "Rejected";
10777
+ EntityDocumentID?: string;
10778
+ EntityDocument?: string;
10282
10779
  SourceListID?: string;
10283
- ApprovalComments?: string;
10284
- ApprovedByUserID?: string;
10285
10780
  ProcessingStatus?: "Pending" | "Complete" | "Failed" | "In Progress";
10286
10781
  ProcessingErrorMessage?: string;
10287
10782
  ProcessedItemCount?: number;
10288
10783
  SourceList?: string;
10289
- ApprovedByUser?: string;
10290
10784
  }>;
10291
10785
  export type MJDuplicateRunEntityType = z.infer<typeof MJDuplicateRunSchema>;
10292
10786
  /**
@@ -11067,6 +11561,59 @@ export declare const MJEntityActionSchema: z.ZodObject<{
11067
11561
  ScopeEntity?: string;
11068
11562
  }>;
11069
11563
  export type MJEntityActionEntityType = z.infer<typeof MJEntityActionSchema>;
11564
+ /**
11565
+ * zod schema definition for the entity MJ: Entity Alternate Base Views
11566
+ */
11567
+ export declare const MJEntityAlternateBaseViewSchema: z.ZodObject<{
11568
+ ID: z.ZodString;
11569
+ EntityID: z.ZodString;
11570
+ ParentID: z.ZodNullable<z.ZodString>;
11571
+ Name: z.ZodString;
11572
+ DisplayName: z.ZodNullable<z.ZodString>;
11573
+ Description: z.ZodString;
11574
+ SchemaName: z.ZodNullable<z.ZodString>;
11575
+ ViewName: z.ZodString;
11576
+ CachePolicy: z.ZodUnion<[z.ZodLiteral<"Bypass">, z.ZodLiteral<"Default">]>;
11577
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
11578
+ Sequence: z.ZodNumber;
11579
+ __mj_CreatedAt: z.ZodDate;
11580
+ __mj_UpdatedAt: z.ZodDate;
11581
+ Entity: z.ZodString;
11582
+ Parent: z.ZodNullable<z.ZodString>;
11583
+ }, "strip", z.ZodTypeAny, {
11584
+ ID?: string;
11585
+ Name?: string;
11586
+ Description?: string;
11587
+ __mj_CreatedAt?: Date;
11588
+ __mj_UpdatedAt?: Date;
11589
+ Status?: "Active" | "Disabled" | "Deprecated";
11590
+ Sequence?: number;
11591
+ ParentID?: string;
11592
+ Parent?: string;
11593
+ DisplayName?: string;
11594
+ CachePolicy?: "Default" | "Bypass";
11595
+ EntityID?: string;
11596
+ Entity?: string;
11597
+ SchemaName?: string;
11598
+ ViewName?: string;
11599
+ }, {
11600
+ ID?: string;
11601
+ Name?: string;
11602
+ Description?: string;
11603
+ __mj_CreatedAt?: Date;
11604
+ __mj_UpdatedAt?: Date;
11605
+ Status?: "Active" | "Disabled" | "Deprecated";
11606
+ Sequence?: number;
11607
+ ParentID?: string;
11608
+ Parent?: string;
11609
+ DisplayName?: string;
11610
+ CachePolicy?: "Default" | "Bypass";
11611
+ EntityID?: string;
11612
+ Entity?: string;
11613
+ SchemaName?: string;
11614
+ ViewName?: string;
11615
+ }>;
11616
+ export type MJEntityAlternateBaseViewEntityType = z.infer<typeof MJEntityAlternateBaseViewSchema>;
11070
11617
  /**
11071
11618
  * zod schema definition for the entity MJ: Entity Communication Fields
11072
11619
  */
@@ -11488,6 +12035,11 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
11488
12035
  DefaultValue?: string;
11489
12036
  EntityCodeName?: string;
11490
12037
  EntityClassName?: string;
12038
+ Length?: number;
12039
+ Precision?: number;
12040
+ Scale?: number;
12041
+ AllowsNull?: boolean;
12042
+ IsPrimaryKey?: boolean;
11491
12043
  AutoUpdateDescription?: boolean;
11492
12044
  BaseTable?: string;
11493
12045
  BaseView?: string;
@@ -11496,12 +12048,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
11496
12048
  FullTextSearchEnabled?: boolean;
11497
12049
  ScopeDefault?: string;
11498
12050
  AutoUpdateFullTextSearch?: boolean;
11499
- IsPrimaryKey?: boolean;
11500
12051
  IsUnique?: boolean;
11501
- Length?: number;
11502
- Precision?: number;
11503
- Scale?: number;
11504
- AllowsNull?: boolean;
11505
12052
  AutoIncrement?: boolean;
11506
12053
  ValueListType?: "None" | "List" | "ListOrUserEntry";
11507
12054
  ExtendedType?: "Icon" | "Email" | "JSON" | "Markdown" | "Color" | "Code" | "Other" | "Image" | "URL" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "HTML" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
@@ -11570,6 +12117,11 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
11570
12117
  DefaultValue?: string;
11571
12118
  EntityCodeName?: string;
11572
12119
  EntityClassName?: string;
12120
+ Length?: number;
12121
+ Precision?: number;
12122
+ Scale?: number;
12123
+ AllowsNull?: boolean;
12124
+ IsPrimaryKey?: boolean;
11573
12125
  AutoUpdateDescription?: boolean;
11574
12126
  BaseTable?: string;
11575
12127
  BaseView?: string;
@@ -11578,12 +12130,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
11578
12130
  FullTextSearchEnabled?: boolean;
11579
12131
  ScopeDefault?: string;
11580
12132
  AutoUpdateFullTextSearch?: boolean;
11581
- IsPrimaryKey?: boolean;
11582
12133
  IsUnique?: boolean;
11583
- Length?: number;
11584
- Precision?: number;
11585
- Scale?: number;
11586
- AllowsNull?: boolean;
11587
12134
  AutoIncrement?: boolean;
11588
12135
  ValueListType?: "None" | "List" | "ListOrUserEntry";
11589
12136
  ExtendedType?: "Icon" | "Email" | "JSON" | "Markdown" | "Color" | "Code" | "Other" | "Image" | "URL" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "HTML" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
@@ -13467,19 +14014,19 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
13467
14014
  DisplayName?: string;
13468
14015
  Category?: string;
13469
14016
  DefaultValue?: string;
13470
- IsPrimaryKey?: boolean;
13471
14017
  Length?: number;
13472
14018
  Precision?: number;
13473
14019
  Scale?: number;
13474
14020
  AllowsNull?: boolean;
13475
- IntegrationObjectID?: string;
14021
+ IsPrimaryKey?: boolean;
13476
14022
  IsUniqueKey?: boolean;
13477
14023
  IsReadOnly?: boolean;
13478
- RelatedIntegrationObjectID?: string;
13479
14024
  RelatedIntegrationObjectFieldName?: string;
13480
14025
  IsCustom?: boolean;
13481
14026
  MetadataSource?: "Custom" | "Declared" | "Discovered";
14027
+ IntegrationObjectID?: string;
13482
14028
  IntegrationObject?: string;
14029
+ RelatedIntegrationObjectID?: string;
13483
14030
  RelatedIntegrationObject?: string;
13484
14031
  }, {
13485
14032
  ID?: string;
@@ -13495,19 +14042,19 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
13495
14042
  DisplayName?: string;
13496
14043
  Category?: string;
13497
14044
  DefaultValue?: string;
13498
- IsPrimaryKey?: boolean;
13499
14045
  Length?: number;
13500
14046
  Precision?: number;
13501
14047
  Scale?: number;
13502
14048
  AllowsNull?: boolean;
13503
- IntegrationObjectID?: string;
14049
+ IsPrimaryKey?: boolean;
13504
14050
  IsUniqueKey?: boolean;
13505
14051
  IsReadOnly?: boolean;
13506
- RelatedIntegrationObjectID?: string;
13507
14052
  RelatedIntegrationObjectFieldName?: string;
13508
14053
  IsCustom?: boolean;
13509
14054
  MetadataSource?: "Custom" | "Declared" | "Discovered";
14055
+ IntegrationObjectID?: string;
13510
14056
  IntegrationObject?: string;
14057
+ RelatedIntegrationObjectID?: string;
13511
14058
  RelatedIntegrationObject?: string;
13512
14059
  }>;
13513
14060
  export type MJIntegrationObjectFieldEntityType = z.infer<typeof MJIntegrationObjectFieldSchema>;
@@ -13571,9 +14118,9 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
13571
14118
  DisplayName?: string;
13572
14119
  Integration?: string;
13573
14120
  Category?: string;
13574
- IntegrationID?: string;
13575
14121
  IsCustom?: boolean;
13576
14122
  MetadataSource?: "Custom" | "Declared" | "Discovered";
14123
+ IntegrationID?: string;
13577
14124
  APIPath?: string;
13578
14125
  ResponseDataKey?: string;
13579
14126
  DefaultPageSize?: number;
@@ -13616,9 +14163,9 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
13616
14163
  DisplayName?: string;
13617
14164
  Integration?: string;
13618
14165
  Category?: string;
13619
- IntegrationID?: string;
13620
14166
  IsCustom?: boolean;
13621
14167
  MetadataSource?: "Custom" | "Declared" | "Discovered";
14168
+ IntegrationID?: string;
13622
14169
  APIPath?: string;
13623
14170
  ResponseDataKey?: string;
13624
14171
  DefaultPageSize?: number;
@@ -14485,6 +15032,7 @@ export declare const MJMCPServerToolSchema: z.ZodObject<{
14485
15032
  __mj_CreatedAt?: Date;
14486
15033
  __mj_UpdatedAt?: Date;
14487
15034
  Status?: string;
15035
+ LastSeenAt?: Date;
14488
15036
  MCPServerID?: string;
14489
15037
  MCPServer?: string;
14490
15038
  ToolName?: string;
@@ -14494,7 +15042,6 @@ export declare const MJMCPServerToolSchema: z.ZodObject<{
14494
15042
  OutputSchema?: string;
14495
15043
  Annotations?: string;
14496
15044
  DiscoveredAt?: Date;
14497
- LastSeenAt?: Date;
14498
15045
  GeneratedActionID?: string;
14499
15046
  GeneratedActionCategoryID?: string;
14500
15047
  GeneratedAction?: string;
@@ -14504,6 +15051,7 @@ export declare const MJMCPServerToolSchema: z.ZodObject<{
14504
15051
  __mj_CreatedAt?: Date;
14505
15052
  __mj_UpdatedAt?: Date;
14506
15053
  Status?: string;
15054
+ LastSeenAt?: Date;
14507
15055
  MCPServerID?: string;
14508
15056
  MCPServer?: string;
14509
15057
  ToolName?: string;
@@ -14513,7 +15061,6 @@ export declare const MJMCPServerToolSchema: z.ZodObject<{
14513
15061
  OutputSchema?: string;
14514
15062
  Annotations?: string;
14515
15063
  DiscoveredAt?: Date;
14516
- LastSeenAt?: Date;
14517
15064
  GeneratedActionID?: string;
14518
15065
  GeneratedActionCategoryID?: string;
14519
15066
  GeneratedAction?: string;
@@ -15335,10 +15882,10 @@ export declare const MJMaterializedResultSchema: z.ZodObject<{
15335
15882
  LastRefreshedAt?: Date;
15336
15883
  SchemaName?: string;
15337
15884
  RowCount?: number;
15885
+ ViewName?: string;
15338
15886
  SourceEntityID?: string;
15339
15887
  GeneratedEntityID?: string;
15340
15888
  TableName?: string;
15341
- ViewName?: string;
15342
15889
  ParamMode?: "None" | "BoundFixed" | "PerValueCache" | "RowFilterBroad";
15343
15890
  RefreshStrategy?: "DirtyGroupRecompute" | "FullRebuild" | "Incremental";
15344
15891
  RefreshSchedule?: string;
@@ -15363,10 +15910,10 @@ export declare const MJMaterializedResultSchema: z.ZodObject<{
15363
15910
  LastRefreshedAt?: Date;
15364
15911
  SchemaName?: string;
15365
15912
  RowCount?: number;
15913
+ ViewName?: string;
15366
15914
  SourceEntityID?: string;
15367
15915
  GeneratedEntityID?: string;
15368
15916
  TableName?: string;
15369
- ViewName?: string;
15370
15917
  ParamMode?: "None" | "BoundFixed" | "PerValueCache" | "RowFilterBroad";
15371
15918
  RefreshStrategy?: "DirtyGroupRecompute" | "FullRebuild" | "Incremental";
15372
15919
  RefreshSchedule?: string;
@@ -16415,10 +16962,15 @@ export declare const MJQuerySchema: z.ZodObject<{
16415
16962
  IsMaterialized: z.ZodBoolean;
16416
16963
  Configuration: z.ZodNullable<z.ZodAny>;
16417
16964
  EmbeddingVectorBinary: z.ZodNullable<z.ZodString>;
16965
+ ApprovalComments: z.ZodNullable<z.ZodString>;
16966
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
16967
+ ApprovedAt: z.ZodNullable<z.ZodDate>;
16968
+ ApprovedFingerprint: z.ZodNullable<z.ZodString>;
16418
16969
  Category: z.ZodNullable<z.ZodString>;
16419
16970
  EmbeddingModel: z.ZodNullable<z.ZodString>;
16420
16971
  SQLDialect: z.ZodString;
16421
16972
  ExternalDataSource: z.ZodNullable<z.ZodString>;
16973
+ ApprovedByUser: z.ZodNullable<z.ZodString>;
16422
16974
  }, "strip", z.ZodTypeAny, {
16423
16975
  ID?: string;
16424
16976
  Name?: string;
@@ -16433,6 +16985,11 @@ export declare const MJQuerySchema: z.ZodObject<{
16433
16985
  EmbeddingModel?: string;
16434
16986
  CategoryID?: string;
16435
16987
  Category?: string;
16988
+ ApprovalComments?: string;
16989
+ ApprovedByUserID?: string;
16990
+ ApprovedAt?: Date;
16991
+ ApprovedFingerprint?: string;
16992
+ ApprovedByUser?: string;
16436
16993
  SQL?: string;
16437
16994
  ExternalDataSourceID?: string;
16438
16995
  UserQuestion?: string;
@@ -16466,6 +17023,11 @@ export declare const MJQuerySchema: z.ZodObject<{
16466
17023
  EmbeddingModel?: string;
16467
17024
  CategoryID?: string;
16468
17025
  Category?: string;
17026
+ ApprovalComments?: string;
17027
+ ApprovedByUserID?: string;
17028
+ ApprovedAt?: Date;
17029
+ ApprovedFingerprint?: string;
17030
+ ApprovedByUser?: string;
16469
17031
  SQL?: string;
16470
17032
  ExternalDataSourceID?: string;
16471
17033
  UserQuestion?: string;
@@ -16601,8 +17163,10 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
16601
17163
  __mj_UpdatedAt: z.ZodDate;
16602
17164
  DetectionMethod: z.ZodUnion<[z.ZodLiteral<"AI">, z.ZodLiteral<"Manual">]>;
16603
17165
  AutoDetectConfidenceScore: z.ZodNullable<z.ZodNumber>;
17166
+ AlternateBaseViewID: z.ZodNullable<z.ZodString>;
16604
17167
  Query: z.ZodString;
16605
17168
  Entity: z.ZodString;
17169
+ AlternateBaseView: z.ZodNullable<z.ZodString>;
16606
17170
  }, "strip", z.ZodTypeAny, {
16607
17171
  ID?: string;
16608
17172
  __mj_CreatedAt?: Date;
@@ -16613,6 +17177,8 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
16613
17177
  QueryID?: string;
16614
17178
  Query?: string;
16615
17179
  AutoDetectConfidenceScore?: number;
17180
+ AlternateBaseViewID?: string;
17181
+ AlternateBaseView?: string;
16616
17182
  }, {
16617
17183
  ID?: string;
16618
17184
  __mj_CreatedAt?: Date;
@@ -16623,6 +17189,8 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
16623
17189
  QueryID?: string;
16624
17190
  Query?: string;
16625
17191
  AutoDetectConfidenceScore?: number;
17192
+ AlternateBaseViewID?: string;
17193
+ AlternateBaseView?: string;
16626
17194
  }>;
16627
17195
  export type MJQueryEntityEntityType = z.infer<typeof MJQueryEntitySchema>;
16628
17196
  /**
@@ -16707,6 +17275,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
16707
17275
  AutoDetectConfidenceScore: z.ZodNullable<z.ZodNumber>;
16708
17276
  __mj_CreatedAt: z.ZodDate;
16709
17277
  __mj_UpdatedAt: z.ZodDate;
17278
+ IsServerSet: z.ZodBoolean;
16710
17279
  Query: z.ZodString;
16711
17280
  }, "strip", z.ZodTypeAny, {
16712
17281
  ID?: string;
@@ -16723,6 +17292,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
16723
17292
  AutoDetectConfidenceScore?: number;
16724
17293
  SampleValue?: string;
16725
17294
  ValidationFilters?: string;
17295
+ IsServerSet?: boolean;
16726
17296
  }, {
16727
17297
  ID?: string;
16728
17298
  Name?: string;
@@ -16738,6 +17308,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
16738
17308
  AutoDetectConfidenceScore?: number;
16739
17309
  SampleValue?: string;
16740
17310
  ValidationFilters?: string;
17311
+ IsServerSet?: boolean;
16741
17312
  }>;
16742
17313
  export type MJQueryParameterEntityType = z.infer<typeof MJQueryParameterSchema>;
16743
17314
  /**
@@ -17387,9 +17958,9 @@ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
17387
17958
  EntityID?: string;
17388
17959
  RecordID?: string;
17389
17960
  Entity?: string;
17961
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
17390
17962
  Latitude?: number;
17391
17963
  Longitude?: number;
17392
- Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
17393
17964
  LocationType?: string;
17394
17965
  CountryID?: string;
17395
17966
  StateProvinceID?: string;
@@ -17408,9 +17979,9 @@ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
17408
17979
  EntityID?: string;
17409
17980
  RecordID?: string;
17410
17981
  Entity?: string;
17982
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
17411
17983
  Latitude?: number;
17412
17984
  Longitude?: number;
17413
- Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
17414
17985
  LocationType?: string;
17415
17986
  CountryID?: string;
17416
17987
  StateProvinceID?: string;
@@ -17526,8 +18097,8 @@ export declare const MJRecordMergeLogSchema: z.ZodObject<{
17526
18097
  Entity?: string;
17527
18098
  ApprovalStatus?: "Pending" | "Approved" | "Rejected";
17528
18099
  ApprovedByUserID?: string;
17529
- ProcessingStatus?: "Complete" | "Error" | "Started";
17530
18100
  ApprovedByUser?: string;
18101
+ ProcessingStatus?: "Complete" | "Error" | "Started";
17531
18102
  InitiatedByUserID?: string;
17532
18103
  InitiatedByUser?: string;
17533
18104
  ProcessingLog?: string;
@@ -17543,8 +18114,8 @@ export declare const MJRecordMergeLogSchema: z.ZodObject<{
17543
18114
  Entity?: string;
17544
18115
  ApprovalStatus?: "Pending" | "Approved" | "Rejected";
17545
18116
  ApprovedByUserID?: string;
17546
- ProcessingStatus?: "Complete" | "Error" | "Started";
17547
18117
  ApprovedByUser?: string;
18118
+ ProcessingStatus?: "Complete" | "Error" | "Started";
17548
18119
  InitiatedByUserID?: string;
17549
18120
  InitiatedByUser?: string;
17550
18121
  ProcessingLog?: string;
@@ -17645,7 +18216,7 @@ export declare const MJRecordProcessSchema: z.ZodObject<{
17645
18216
  CategoryID: z.ZodNullable<z.ZodString>;
17646
18217
  EntityID: z.ZodString;
17647
18218
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Draft">]>;
17648
- WorkType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Agent">, z.ZodLiteral<"Clone">, z.ZodLiteral<"FieldRules">, z.ZodLiteral<"Infer">, z.ZodLiteral<"ML Model">]>;
18219
+ WorkType: z.ZodUnion<[z.ZodLiteral<"Action">, z.ZodLiteral<"Agent">, z.ZodLiteral<"Clone">, z.ZodLiteral<"FieldRules">, z.ZodLiteral<"Infer">, z.ZodLiteral<"ML Model">, z.ZodLiteral<"Pipeline Stage">]>;
17649
18220
  ActionID: z.ZodNullable<z.ZodString>;
17650
18221
  AgentID: z.ZodNullable<z.ZodString>;
17651
18222
  PromptID: z.ZodNullable<z.ZodString>;
@@ -17697,7 +18268,7 @@ export declare const MJRecordProcessSchema: z.ZodObject<{
17697
18268
  BatchSize?: number;
17698
18269
  ScheduleEnabled?: boolean;
17699
18270
  CronExpression?: string;
17700
- WorkType?: "Agent" | "Action" | "Clone" | "FieldRules" | "Infer" | "ML Model";
18271
+ WorkType?: "Agent" | "Action" | "Clone" | "FieldRules" | "Infer" | "ML Model" | "Pipeline Stage";
17701
18272
  ScopeType?: "View" | "List" | "Filter" | "SingleRecord";
17702
18273
  ScopeViewID?: string;
17703
18274
  ScopeListID?: string;
@@ -17735,7 +18306,7 @@ export declare const MJRecordProcessSchema: z.ZodObject<{
17735
18306
  BatchSize?: number;
17736
18307
  ScheduleEnabled?: boolean;
17737
18308
  CronExpression?: string;
17738
- WorkType?: "Agent" | "Action" | "Clone" | "FieldRules" | "Infer" | "ML Model";
18309
+ WorkType?: "Agent" | "Action" | "Clone" | "FieldRules" | "Infer" | "ML Model" | "Pipeline Stage";
17739
18310
  ScopeType?: "View" | "List" | "Filter" | "SingleRecord";
17740
18311
  ScopeViewID?: string;
17741
18312
  ScopeListID?: string;
@@ -22205,6 +22776,12 @@ export declare const MJUserViewSchema: z.ZodObject<{
22205
22776
  CardState: z.ZodNullable<z.ZodAny>;
22206
22777
  DisplayState: z.ZodNullable<z.ZodAny>;
22207
22778
  ViewTypeID: z.ZodNullable<z.ZodString>;
22779
+ Properties: z.ZodNullable<z.ZodAny>;
22780
+ ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Rejected">]>;
22781
+ ApprovalComments: z.ZodNullable<z.ZodString>;
22782
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
22783
+ ApprovedAt: z.ZodNullable<z.ZodDate>;
22784
+ ApprovedFingerprint: z.ZodNullable<z.ZodString>;
22208
22785
  UserName: z.ZodString;
22209
22786
  UserFirstLast: z.ZodNullable<z.ZodString>;
22210
22787
  UserEmail: z.ZodString;
@@ -22222,6 +22799,11 @@ export declare const MJUserViewSchema: z.ZodObject<{
22222
22799
  CategoryID?: string;
22223
22800
  EntityID?: string;
22224
22801
  Entity?: string;
22802
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
22803
+ ApprovalComments?: string;
22804
+ ApprovedByUserID?: string;
22805
+ ApprovedAt?: Date;
22806
+ ApprovedFingerprint?: string;
22225
22807
  Thumbnail?: string;
22226
22808
  WhereClause?: string;
22227
22809
  EntityBaseView?: string;
@@ -22241,6 +22823,7 @@ export declare const MJUserViewSchema: z.ZodObject<{
22241
22823
  CardState?: any;
22242
22824
  DisplayState?: any;
22243
22825
  ViewTypeID?: string;
22826
+ Properties?: any;
22244
22827
  UserType?: string;
22245
22828
  }, {
22246
22829
  ID?: string;
@@ -22253,6 +22836,11 @@ export declare const MJUserViewSchema: z.ZodObject<{
22253
22836
  CategoryID?: string;
22254
22837
  EntityID?: string;
22255
22838
  Entity?: string;
22839
+ ApprovalStatus?: "Pending" | "Approved" | "Rejected";
22840
+ ApprovalComments?: string;
22841
+ ApprovedByUserID?: string;
22842
+ ApprovedAt?: Date;
22843
+ ApprovedFingerprint?: string;
22256
22844
  Thumbnail?: string;
22257
22845
  WhereClause?: string;
22258
22846
  EntityBaseView?: string;
@@ -22272,6 +22860,7 @@ export declare const MJUserViewSchema: z.ZodObject<{
22272
22860
  CardState?: any;
22273
22861
  DisplayState?: any;
22274
22862
  ViewTypeID?: string;
22863
+ Properties?: any;
22275
22864
  UserType?: string;
22276
22865
  }>;
22277
22866
  export type MJUserViewEntityType = z.infer<typeof MJUserViewSchema>;
@@ -28583,6 +29172,14 @@ each time the agent processes a prompt step.
28583
29172
  get ContinuationDepth(): number;
28584
29173
  set ContinuationDepth(value: number);
28585
29174
  /**
29175
+ * * Field Name: BoundActionParams
29176
+ * * Display Name: Bound Action Params
29177
+ * * SQL Data Type: nvarchar(MAX)
29178
+ * * Description: The run's bound action parameters (ExecuteAgentParams.boundActionParams) as JSON, keyed by Action ID and then parameter name. Written when the run starts, so a run resumed from a stored request applies the same bindings. Null when the run had none.
29179
+ */
29180
+ get BoundActionParams(): string | null;
29181
+ set BoundActionParams(value: string | null);
29182
+ /**
28586
29183
  * * Field Name: Agent
28587
29184
  * * Display Name: Agent Name
28588
29185
  * * SQL Data Type: nvarchar(255)
@@ -29633,7 +30230,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29633
30230
  * * Description: The media actually captured for this session, resolved at session start (runtime param > agent-level RecordingDefault > OFF). Values: None, Audio, AudioVideo. NULL/None = not recorded.
29634
30231
  */
29635
30232
  get RecordingMedia(): 'Audio' | 'AudioVideo' | 'None' | null;
29636
- set RecordingMedia(value: 'Audio' | 'AudioVideo' | 'None' | null);
29637
30233
  /**
29638
30234
  * * Field Name: RecordingStartedAt
29639
30235
  * * Display Name: Recording Started At
@@ -29649,7 +30245,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29649
30245
  * * Related Entity/Foreign Key: MJ: Files (vwFiles.ID)
29650
30246
  */
29651
30247
  get RecordingFileID(): string | null;
29652
- set RecordingFileID(value: string | null);
29653
30248
  /**
29654
30249
  * * Field Name: LinkedEntityID
29655
30250
  * * Display Name: Linked Entity ID
@@ -29681,7 +30276,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29681
30276
  * * Description: State of the server-side recording assembly for a client-direct session recorded as Opus shards: Pending (shards or a terminal signal are waiting to be assembled), Assembling (claimed by one server instance), Complete (recording.wav holds every captured sample), Partial (assembled with silent gaps, listed in RecordingGaps), Failed (a shard conflict or an assembly error needs a human). NULL when the session was not recorded this way.
29682
30277
  */
29683
30278
  get RecordingStatus(): 'Assembling' | 'Complete' | 'Failed' | 'Partial' | 'Pending' | null;
29684
- set RecordingStatus(value: 'Assembling' | 'Complete' | 'Failed' | 'Partial' | 'Pending' | null);
29685
30279
  /**
29686
30280
  * * Field Name: RecordingExpectedShards
29687
30281
  * * Display Name: Expected Shards
@@ -29689,7 +30283,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29689
30283
  * * Description: Number of recording shards the browser reported in its terminal signal (last shard index + 1). NULL until a terminal signal arrives.
29690
30284
  */
29691
30285
  get RecordingExpectedShards(): number | null;
29692
- set RecordingExpectedShards(value: number | null);
29693
30286
  /**
29694
30287
  * * Field Name: RecordingCapturedSamples
29695
30288
  * * Display Name: Captured Samples
@@ -29697,7 +30290,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29697
30290
  * * Description: Total audio samples (48 kHz mono) the browser captured, from its terminal signal. The assembled recording.wav is exactly this long. NULL until a terminal signal arrives.
29698
30291
  */
29699
30292
  get RecordingCapturedSamples(): number | null;
29700
- set RecordingCapturedSamples(value: number | null);
29701
30293
  /**
29702
30294
  * * Field Name: RecordingGaps
29703
30295
  * * Display Name: Recording Gaps
@@ -29705,7 +30297,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29705
30297
  * * Description: JSON array of the silent gaps in a Partial recording: [{startSample, sampleCount, indexes}], sample positions at 48 kHz and the shard indexes that were missing. Empty or NULL when nothing is missing.
29706
30298
  */
29707
30299
  get RecordingGaps(): string | null;
29708
- set RecordingGaps(value: string | null);
29709
30300
  /**
29710
30301
  * * Field Name: RecordingAssemblyVersion
29711
30302
  * * Display Name: Assembly Version
@@ -29714,7 +30305,6 @@ export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionE
29714
30305
  * * Description: Incremented by every assembly claim. The assembler finishes only if the version is still the one it claimed, so a newer assembly always wins over a slower older one.
29715
30306
  */
29716
30307
  get RecordingAssemblyVersion(): number;
29717
- set RecordingAssemblyVersion(value: number);
29718
30308
  /**
29719
30309
  * * Field Name: Agent
29720
30310
  * * Display Name: Agent
@@ -46742,6 +47332,244 @@ export declare class MJAuthorizationEntity extends BaseEntity<MJAuthorizationEnt
46742
47332
  */
46743
47333
  get ParentIDChildCount(): number | null;
46744
47334
  }
47335
+ /**
47336
+ * MJ: Calendar Event Links - strongly typed entity sub-class
47337
+ * * Schema: __mj
47338
+ * * Base Table: CalendarEventLink
47339
+ * * Base View: vwCalendarEventLinks
47340
+ * * @description Ties a record to an event in an external calendar (MS Graph, Google Calendar), so any record can be linked to an event without a calendar column on its own table.
47341
+ * * Primary Key: ID
47342
+ * @extends {BaseEntity}
47343
+ * @class
47344
+ * @public
47345
+ */
47346
+ export declare class MJCalendarEventLinkEntity extends BaseEntity<MJCalendarEventLinkEntityType> {
47347
+ /**
47348
+ * Loads the MJ: Calendar Event Links record from the database
47349
+ * @param ID: string - primary key value to load the MJ: Calendar Event Links record.
47350
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
47351
+ * @returns {Promise<boolean>} - true if successful, false otherwise
47352
+ * @public
47353
+ * @async
47354
+ * @memberof MJCalendarEventLinkEntity
47355
+ * @method
47356
+ * @override
47357
+ */
47358
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
47359
+ /**
47360
+ * * Field Name: ID
47361
+ * * Display Name: ID
47362
+ * * SQL Data Type: uniqueidentifier
47363
+ * * Default Value: newsequentialid()
47364
+ */
47365
+ get ID(): string;
47366
+ set ID(value: string);
47367
+ /**
47368
+ * * Field Name: CommunicationProviderID
47369
+ * * Display Name: Communication Provider ID
47370
+ * * SQL Data Type: uniqueidentifier
47371
+ * * Related Entity/Foreign Key: MJ: Communication Providers (vwCommunicationProviders.ID)
47372
+ */
47373
+ get CommunicationProviderID(): string;
47374
+ set CommunicationProviderID(value: string);
47375
+ /**
47376
+ * * Field Name: AccountIdentifier
47377
+ * * Display Name: Account Identifier
47378
+ * * SQL Data Type: nvarchar(255)
47379
+ * * Description: The calendar account the event lives in: a mailbox address for MS Graph, the account for Google. Later syncs and changes go to the same account.
47380
+ */
47381
+ get AccountIdentifier(): string;
47382
+ set AccountIdentifier(value: string);
47383
+ /**
47384
+ * * Field Name: CalendarID
47385
+ * * Display Name: Calendar ID
47386
+ * * SQL Data Type: nvarchar(500)
47387
+ * * Description: The calendar within the account. Null means the account's default calendar.
47388
+ */
47389
+ get CalendarID(): string | null;
47390
+ set CalendarID(value: string | null);
47391
+ /**
47392
+ * * Field Name: ExternalEventID
47393
+ * * Display Name: External Event ID
47394
+ * * SQL Data Type: nvarchar(500)
47395
+ * * Description: The provider's ID for the event in this account. It differs between attendees' calendars; match across calendars on ICalUID.
47396
+ */
47397
+ get ExternalEventID(): string;
47398
+ set ExternalEventID(value: string);
47399
+ /**
47400
+ * * Field Name: ExternalSeriesID
47401
+ * * Display Name: External Series ID
47402
+ * * SQL Data Type: nvarchar(500)
47403
+ * * Description: The provider's ID for the recurring series this event belongs to, when it is an occurrence or exception of one.
47404
+ */
47405
+ get ExternalSeriesID(): string | null;
47406
+ set ExternalSeriesID(value: string | null);
47407
+ /**
47408
+ * * Field Name: ICalUID
47409
+ * * Display Name: I Cal UID
47410
+ * * SQL Data Type: nvarchar(1000)
47411
+ * * Description: The event's iCalendar UID (Graph iCalUId, Google iCalUID). The same in every attendee's calendar, so other apps match an imported event to this link by it.
47412
+ */
47413
+ get ICalUID(): string | null;
47414
+ set ICalUID(value: string | null);
47415
+ /**
47416
+ * * Field Name: EntityID
47417
+ * * Display Name: Entity ID
47418
+ * * SQL Data Type: uniqueidentifier
47419
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
47420
+ * * Description: The entity of the linked record.
47421
+ */
47422
+ get EntityID(): string;
47423
+ set EntityID(value: string);
47424
+ /**
47425
+ * * Field Name: RecordID
47426
+ * * Display Name: Record ID
47427
+ * * SQL Data Type: nvarchar(450)
47428
+ * * Description: The linked record's primary key, in the compact URL-segment form (a bare value for a single-column key).
47429
+ */
47430
+ get RecordID(): string;
47431
+ set RecordID(value: string);
47432
+ /**
47433
+ * * Field Name: Status
47434
+ * * Display Name: Status
47435
+ * * SQL Data Type: nvarchar(20)
47436
+ * * Default Value: Active
47437
+ * * Value List Type: List
47438
+ * * Possible Values
47439
+ * * Active
47440
+ * * Cancelled
47441
+ * * Description: Active, or Cancelled once the event is cancelled, in the calendar or through MemberJunction.
47442
+ */
47443
+ get Status(): 'Active' | 'Cancelled';
47444
+ set Status(value: 'Active' | 'Cancelled');
47445
+ /**
47446
+ * * Field Name: LastSyncedAt
47447
+ * * Display Name: Last Synced At
47448
+ * * SQL Data Type: datetimeoffset
47449
+ * * Description: When a change to this event was last read from or written to the calendar.
47450
+ */
47451
+ get LastSyncedAt(): Date | null;
47452
+ set LastSyncedAt(value: Date | null);
47453
+ /**
47454
+ * * Field Name: __mj_CreatedAt
47455
+ * * Display Name: Created At
47456
+ * * SQL Data Type: datetimeoffset
47457
+ * * Default Value: getutcdate()
47458
+ */
47459
+ get __mj_CreatedAt(): Date;
47460
+ /**
47461
+ * * Field Name: __mj_UpdatedAt
47462
+ * * Display Name: Updated At
47463
+ * * SQL Data Type: datetimeoffset
47464
+ * * Default Value: getutcdate()
47465
+ */
47466
+ get __mj_UpdatedAt(): Date;
47467
+ /**
47468
+ * * Field Name: CommunicationProvider
47469
+ * * Display Name: Communication Provider
47470
+ * * SQL Data Type: nvarchar(255)
47471
+ */
47472
+ get CommunicationProvider(): string;
47473
+ /**
47474
+ * * Field Name: Entity
47475
+ * * Display Name: Entity
47476
+ * * SQL Data Type: nvarchar(255)
47477
+ */
47478
+ get Entity(): string;
47479
+ }
47480
+ /**
47481
+ * MJ: Calendar Sync States - strongly typed entity sub-class
47482
+ * * Schema: __mj
47483
+ * * Base Table: CalendarSyncState
47484
+ * * Base View: vwCalendarSyncStates
47485
+ * * @description One sync cursor per external calendar, so an incremental sync reads only what changed since the last one.
47486
+ * * Primary Key: ID
47487
+ * @extends {BaseEntity}
47488
+ * @class
47489
+ * @public
47490
+ */
47491
+ export declare class MJCalendarSyncStateEntity extends BaseEntity<MJCalendarSyncStateEntityType> {
47492
+ /**
47493
+ * Loads the MJ: Calendar Sync States record from the database
47494
+ * @param ID: string - primary key value to load the MJ: Calendar Sync States record.
47495
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
47496
+ * @returns {Promise<boolean>} - true if successful, false otherwise
47497
+ * @public
47498
+ * @async
47499
+ * @memberof MJCalendarSyncStateEntity
47500
+ * @method
47501
+ * @override
47502
+ */
47503
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
47504
+ /**
47505
+ * * Field Name: ID
47506
+ * * Display Name: ID
47507
+ * * SQL Data Type: uniqueidentifier
47508
+ * * Default Value: newsequentialid()
47509
+ */
47510
+ get ID(): string;
47511
+ set ID(value: string);
47512
+ /**
47513
+ * * Field Name: CommunicationProviderID
47514
+ * * Display Name: Communication Provider ID
47515
+ * * SQL Data Type: uniqueidentifier
47516
+ * * Related Entity/Foreign Key: MJ: Communication Providers (vwCommunicationProviders.ID)
47517
+ */
47518
+ get CommunicationProviderID(): string;
47519
+ set CommunicationProviderID(value: string);
47520
+ /**
47521
+ * * Field Name: AccountIdentifier
47522
+ * * Display Name: Account Identifier
47523
+ * * SQL Data Type: nvarchar(255)
47524
+ * * Description: The calendar account: a mailbox address for MS Graph, the account for Google.
47525
+ */
47526
+ get AccountIdentifier(): string;
47527
+ set AccountIdentifier(value: string);
47528
+ /**
47529
+ * * Field Name: CalendarID
47530
+ * * Display Name: Calendar ID
47531
+ * * SQL Data Type: nvarchar(500)
47532
+ * * Description: The calendar within the account. Null means the account's default calendar.
47533
+ */
47534
+ get CalendarID(): string | null;
47535
+ set CalendarID(value: string | null);
47536
+ /**
47537
+ * * Field Name: SyncToken
47538
+ * * Display Name: Sync Token
47539
+ * * SQL Data Type: nvarchar(MAX)
47540
+ * * Description: The provider's cursor for the next incremental sync: a Graph delta link or a Google sync token. Null until the first sync.
47541
+ */
47542
+ get SyncToken(): string | null;
47543
+ set SyncToken(value: string | null);
47544
+ /**
47545
+ * * Field Name: LastSyncedAt
47546
+ * * Display Name: Last Synced At
47547
+ * * SQL Data Type: datetimeoffset
47548
+ * * Description: When this calendar was last synced.
47549
+ */
47550
+ get LastSyncedAt(): Date | null;
47551
+ set LastSyncedAt(value: Date | null);
47552
+ /**
47553
+ * * Field Name: __mj_CreatedAt
47554
+ * * Display Name: Created At
47555
+ * * SQL Data Type: datetimeoffset
47556
+ * * Default Value: getutcdate()
47557
+ */
47558
+ get __mj_CreatedAt(): Date;
47559
+ /**
47560
+ * * Field Name: __mj_UpdatedAt
47561
+ * * Display Name: Updated At
47562
+ * * SQL Data Type: datetimeoffset
47563
+ * * Default Value: getutcdate()
47564
+ */
47565
+ get __mj_UpdatedAt(): Date;
47566
+ /**
47567
+ * * Field Name: CommunicationProvider
47568
+ * * Display Name: Communication Provider
47569
+ * * SQL Data Type: nvarchar(255)
47570
+ */
47571
+ get CommunicationProvider(): string;
47572
+ }
46745
47573
  /**
46746
47574
  * MJ: Cluster Analysis - strongly typed entity sub-class
46747
47575
  * * Schema: __mj
@@ -47913,6 +48741,23 @@ export declare class MJCommunicationProviderEntity extends BaseEntity<MJCommunic
47913
48741
  get DefaultCredentialID(): string | null;
47914
48742
  set DefaultCredentialID(value: string | null);
47915
48743
  /**
48744
+ * * Field Name: AllowUserDelegatedOAuth
48745
+ * * Display Name: Allow User Delegated O Auth
48746
+ * * SQL Data Type: bit
48747
+ * * Default Value: 0
48748
+ * * Description: Posture 3 master switch (Gate 1). When 1, users may connect their own mailbox/calendar to this provider through per-user delegated OAuth 2.0 (3LO) with PKCE, subject to AllowedEmailDomains and AllowedOAuthTenantIDs. Default 0: no user can initiate a personal OAuth flow.
48749
+ */
48750
+ get AllowUserDelegatedOAuth(): boolean;
48751
+ set AllowUserDelegatedOAuth(value: boolean);
48752
+ /**
48753
+ * * Field Name: AllowedOAuthTenantIDs
48754
+ * * Display Name: Allowed O Auth Tenant I Ds
48755
+ * * SQL Data Type: nvarchar(1000)
48756
+ * * Description: Optional comma-separated allowlist of identity tenant identifiers (Gate 3) that a user-delegated OAuth token must carry: Azure AD tenant IDs (tid) or Google Workspace hosted domains (hd). NULL means no tenant restriction beyond AllowedEmailDomains.
48757
+ */
48758
+ get AllowedOAuthTenantIDs(): string | null;
48759
+ set AllowedOAuthTenantIDs(value: string | null);
48760
+ /**
47916
48761
  * * Field Name: DefaultCredential
47917
48762
  * * Display Name: Default Credential
47918
48763
  * * SQL Data Type: nvarchar(200)
@@ -48460,6 +49305,835 @@ export declare class MJCompanyIntegrationFieldMapEntity extends BaseEntity<MJCom
48460
49305
  */
48461
49306
  get EntityMap(): string;
48462
49307
  }
49308
+ /**
49309
+ * MJ: Company Integration Object Fields - strongly typed entity sub-class
49310
+ * * Schema: __mj
49311
+ * * Base Table: CompanyIntegrationObjectField
49312
+ * * Base View: vwCompanyIntegrationObjectFields
49313
+ * * @description A field of a CompanyIntegrationObject: the declared field definition rebased with this connection's own discovery and sampling (observed width, provenance), with selection separate from Status.
49314
+ * * Primary Key: ID
49315
+ * @extends {BaseEntity}
49316
+ * @class
49317
+ * @public
49318
+ */
49319
+ export declare class MJCompanyIntegrationObjectFieldEntity extends BaseEntity<MJCompanyIntegrationObjectFieldEntityType> {
49320
+ /**
49321
+ * Loads the MJ: Company Integration Object Fields record from the database
49322
+ * @param ID: string - primary key value to load the MJ: Company Integration Object Fields record.
49323
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
49324
+ * @returns {Promise<boolean>} - true if successful, false otherwise
49325
+ * @public
49326
+ * @async
49327
+ * @memberof MJCompanyIntegrationObjectFieldEntity
49328
+ * @method
49329
+ * @override
49330
+ */
49331
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
49332
+ /**
49333
+ * * Field Name: ID
49334
+ * * Display Name: ID
49335
+ * * SQL Data Type: uniqueidentifier
49336
+ * * Default Value: newsequentialid()
49337
+ */
49338
+ get ID(): string;
49339
+ set ID(value: string);
49340
+ /**
49341
+ * * Field Name: Name
49342
+ * * Display Name: Name
49343
+ * * SQL Data Type: nvarchar(255)
49344
+ * * Description: Field name as returned by the external API
49345
+ */
49346
+ get Name(): string;
49347
+ set Name(value: string);
49348
+ /**
49349
+ * * Field Name: DisplayName
49350
+ * * Display Name: Display Name
49351
+ * * SQL Data Type: nvarchar(255)
49352
+ * * Description: Human-friendly display label for the field
49353
+ */
49354
+ get DisplayName(): string | null;
49355
+ set DisplayName(value: string | null);
49356
+ /**
49357
+ * * Field Name: Description
49358
+ * * Display Name: Description
49359
+ * * SQL Data Type: nvarchar(MAX)
49360
+ * * Description: Description of what this field represents
49361
+ */
49362
+ get Description(): string | null;
49363
+ set Description(value: string | null);
49364
+ /**
49365
+ * * Field Name: Category
49366
+ * * Display Name: Category
49367
+ * * SQL Data Type: nvarchar(100)
49368
+ * * Description: UI grouping category within the object
49369
+ */
49370
+ get Category(): string | null;
49371
+ set Category(value: string | null);
49372
+ /**
49373
+ * * Field Name: Type
49374
+ * * Display Name: Type
49375
+ * * SQL Data Type: nvarchar(100)
49376
+ * * Description: Data type of the field (e.g., nvarchar, int, datetime, decimal, bit). Uses same type vocabulary as EntityField.
49377
+ */
49378
+ get Type(): string;
49379
+ set Type(value: string);
49380
+ /**
49381
+ * * Field Name: Length
49382
+ * * Display Name: Length
49383
+ * * SQL Data Type: int
49384
+ * * Description: Maximum length for string types
49385
+ */
49386
+ get Length(): number | null;
49387
+ set Length(value: number | null);
49388
+ /**
49389
+ * * Field Name: Precision
49390
+ * * Display Name: Precision
49391
+ * * SQL Data Type: int
49392
+ * * Description: Numeric precision
49393
+ */
49394
+ get Precision(): number | null;
49395
+ set Precision(value: number | null);
49396
+ /**
49397
+ * * Field Name: Scale
49398
+ * * Display Name: Scale
49399
+ * * SQL Data Type: int
49400
+ * * Description: Numeric scale
49401
+ */
49402
+ get Scale(): number | null;
49403
+ set Scale(value: number | null);
49404
+ /**
49405
+ * * Field Name: AllowsNull
49406
+ * * Display Name: Allows Null
49407
+ * * SQL Data Type: bit
49408
+ * * Default Value: 1
49409
+ * * Description: Whether the field can contain NULL values
49410
+ */
49411
+ get AllowsNull(): boolean;
49412
+ set AllowsNull(value: boolean);
49413
+ /**
49414
+ * * Field Name: DefaultValue
49415
+ * * Display Name: Default Value
49416
+ * * SQL Data Type: nvarchar(255)
49417
+ * * Description: Default value from the source system
49418
+ */
49419
+ get DefaultValue(): string | null;
49420
+ set DefaultValue(value: string | null);
49421
+ /**
49422
+ * * Field Name: IsPrimaryKey
49423
+ * * Display Name: Is Primary Key
49424
+ * * SQL Data Type: bit
49425
+ * * Default Value: 0
49426
+ * * Description: Whether this field is part of the object primary key
49427
+ */
49428
+ get IsPrimaryKey(): boolean;
49429
+ set IsPrimaryKey(value: boolean);
49430
+ /**
49431
+ * * Field Name: IsUniqueKey
49432
+ * * Display Name: Is Unique Key
49433
+ * * SQL Data Type: bit
49434
+ * * Default Value: 0
49435
+ * * Description: Whether values must be unique across all records
49436
+ */
49437
+ get IsUniqueKey(): boolean;
49438
+ set IsUniqueKey(value: boolean);
49439
+ /**
49440
+ * * Field Name: IsReadOnly
49441
+ * * Display Name: Is Read Only
49442
+ * * SQL Data Type: bit
49443
+ * * Default Value: 0
49444
+ * * Description: Whether this field cannot be written back to the source system
49445
+ */
49446
+ get IsReadOnly(): boolean;
49447
+ set IsReadOnly(value: boolean);
49448
+ /**
49449
+ * * Field Name: IsRequired
49450
+ * * Display Name: Is Required
49451
+ * * SQL Data Type: bit
49452
+ * * Default Value: 0
49453
+ * * Description: Whether this field is required for create/update operations
49454
+ */
49455
+ get IsRequired(): boolean;
49456
+ set IsRequired(value: boolean);
49457
+ /**
49458
+ * * Field Name: RelatedIntegrationObjectFieldName
49459
+ * * Display Name: Related Integration Object Field Name
49460
+ * * SQL Data Type: nvarchar(255)
49461
+ * * Description: The field name on the related IntegrationObject that this FK points to (typically the PK field)
49462
+ */
49463
+ get RelatedIntegrationObjectFieldName(): string | null;
49464
+ set RelatedIntegrationObjectFieldName(value: string | null);
49465
+ /**
49466
+ * * Field Name: Sequence
49467
+ * * Display Name: Sequence
49468
+ * * SQL Data Type: int
49469
+ * * Default Value: 0
49470
+ * * Description: Display and processing order within the object. Lower numbers appear first.
49471
+ */
49472
+ get Sequence(): number;
49473
+ set Sequence(value: number);
49474
+ /**
49475
+ * * Field Name: Configuration
49476
+ * * Display Name: Configuration
49477
+ * * SQL Data Type: nvarchar(MAX)
49478
+ * * Description: Freeform JSON for connector-specific field configuration
49479
+ */
49480
+ get Configuration(): string | null;
49481
+ set Configuration(value: string | null);
49482
+ /**
49483
+ * * Field Name: Status
49484
+ * * Display Name: Status
49485
+ * * SQL Data Type: nvarchar(25)
49486
+ * * Default Value: Active
49487
+ * * Value List Type: List
49488
+ * * Possible Values
49489
+ * * Active
49490
+ * * Deprecated
49491
+ * * Disabled
49492
+ * * Description: Active, Deprecated, or Disabled. Mirrors EntityField status values.
49493
+ */
49494
+ get Status(): 'Active' | 'Deprecated' | 'Disabled';
49495
+ set Status(value: 'Active' | 'Deprecated' | 'Disabled');
49496
+ /**
49497
+ * * Field Name: IsCustom
49498
+ * * Display Name: Is Custom
49499
+ * * SQL Data Type: bit
49500
+ * * Default Value: 0
49501
+ * * Description: When true, this field was dynamically discovered by IntrospectSchema and is not defined in static connector metadata.
49502
+ */
49503
+ get IsCustom(): boolean;
49504
+ set IsCustom(value: boolean);
49505
+ /**
49506
+ * * Field Name: MetadataSource
49507
+ * * Display Name: Metadata Source
49508
+ * * SQL Data Type: nvarchar(20)
49509
+ * * Default Value: Declared
49510
+ * * Value List Type: List
49511
+ * * Possible Values
49512
+ * * Custom
49513
+ * * Declared
49514
+ * * Discovered
49515
+ * * Description: Provenance of this CompanyIntegrationObjectField row: Declared (from static research/docs), Discovered (from runtime API introspection), Custom (customer-defined custom field, e.g., HubSpot custom property on standard object). Drives merge precedence — discovered/runtime wins for type/constraints; declared wins for description/label/sequence/category.
49516
+ */
49517
+ get MetadataSource(): 'Custom' | 'Declared' | 'Discovered';
49518
+ set MetadataSource(value: 'Custom' | 'Declared' | 'Discovered');
49519
+ /**
49520
+ * * Field Name: CompanyIntegrationObjectID
49521
+ * * Display Name: Company Integration Object ID
49522
+ * * SQL Data Type: uniqueidentifier
49523
+ * * Related Entity/Foreign Key: MJ: Company Integration Objects (vwCompanyIntegrationObjects.ID)
49524
+ */
49525
+ get CompanyIntegrationObjectID(): string;
49526
+ set CompanyIntegrationObjectID(value: string);
49527
+ /**
49528
+ * * Field Name: RelatedCompanyIntegrationObjectID
49529
+ * * Display Name: Related Company Integration Object ID
49530
+ * * SQL Data Type: uniqueidentifier
49531
+ * * Related Entity/Foreign Key: MJ: Company Integration Objects (vwCompanyIntegrationObjects.ID)
49532
+ */
49533
+ get RelatedCompanyIntegrationObjectID(): string | null;
49534
+ set RelatedCompanyIntegrationObjectID(value: string | null);
49535
+ /**
49536
+ * * Field Name: IntegrationObjectFieldID
49537
+ * * Display Name: Integration Object Field ID
49538
+ * * SQL Data Type: uniqueidentifier
49539
+ * * Related Entity/Foreign Key: MJ: Integration Object Fields (vwIntegrationObjectFields.ID)
49540
+ */
49541
+ get IntegrationObjectFieldID(): string | null;
49542
+ set IntegrationObjectFieldID(value: string | null);
49543
+ /**
49544
+ * * Field Name: ObservedMaxLength
49545
+ * * Display Name: Observed Max Length
49546
+ * * SQL Data Type: int
49547
+ * * Description: The longest value sampling actually saw, kept SEPARATE from Length. Length carries the padded width the schema builder will use; this carries the evidence. Without both, a width cannot be audited and a truncation cannot be distinguished from a bad guess.
49548
+ */
49549
+ get ObservedMaxLength(): number | null;
49550
+ set ObservedMaxLength(value: number | null);
49551
+ /**
49552
+ * * Field Name: Provenance
49553
+ * * Display Name: Provenance
49554
+ * * SQL Data Type: nvarchar(20)
49555
+ * * Default Value: Declared
49556
+ * * Value List Type: List
49557
+ * * Possible Values
49558
+ * * Declared
49559
+ * * Endpoint
49560
+ * * Sampled
49561
+ * * Description: Where this row came from: Declared (the connector shipped catalog), Endpoint (the source listed it) or Sampled (only streaming records revealed it). Answers "whose is this" for a connection whose catalog no longer matches the connector default.
49562
+ */
49563
+ get Provenance(): 'Declared' | 'Endpoint' | 'Sampled';
49564
+ set Provenance(value: 'Declared' | 'Endpoint' | 'Sampled');
49565
+ /**
49566
+ * * Field Name: ProvenanceDetail
49567
+ * * Display Name: Provenance Detail
49568
+ * * SQL Data Type: nvarchar(MAX)
49569
+ * * Description: The per-attribute merge log for this row: which side won each overlay decision and why. The persist already computes this and throws it away, so the operator has never been able to see why a width or a key looks the way it does.
49570
+ */
49571
+ get ProvenanceDetail(): string | null;
49572
+ set ProvenanceDetail(value: string | null);
49573
+ /**
49574
+ * * Field Name: IsSelected
49575
+ * * Display Name: Is Selected
49576
+ * * SQL Data Type: bit
49577
+ * * Default Value: 0
49578
+ * * Description: Whether this connection syncs this item. THE AXIS THAT MAKES THE CONTRACT SATISFIABLE: Status says whether the item is in the catalog at all, IsSelected says whether the customer chose it. Conflating the two is why a newly discovered object had to arrive ENABLED — a disabled object was excluded from schema introspection, so it never reached key inference and never reached a migration.
49579
+ */
49580
+ get IsSelected(): boolean;
49581
+ set IsSelected(value: boolean);
49582
+ /**
49583
+ * * Field Name: SelectedAt
49584
+ * * Display Name: Selected At
49585
+ * * SQL Data Type: datetimeoffset
49586
+ * * Description: When the selection last changed. Lets the UI distinguish "never chosen" from "deliberately deselected".
49587
+ */
49588
+ get SelectedAt(): Date | null;
49589
+ set SelectedAt(value: Date | null);
49590
+ /**
49591
+ * * Field Name: FirstSeenAt
49592
+ * * Display Name: First Seen At
49593
+ * * SQL Data Type: datetimeoffset
49594
+ * * Description: When this connection first observed this item. Set once and never updated, so a catalog can be read as a history of what the source exposed and when.
49595
+ */
49596
+ get FirstSeenAt(): Date | null;
49597
+ set FirstSeenAt(value: Date | null);
49598
+ /**
49599
+ * * Field Name: LastSeenAt
49600
+ * * Display Name: Last Seen At
49601
+ * * SQL Data Type: datetimeoffset
49602
+ * * Description: When this connection most recently observed this item. A row whose LastSeenAt is older than the connection last discovery is what "absent from the source" means.
49603
+ */
49604
+ get LastSeenAt(): Date | null;
49605
+ set LastSeenAt(value: Date | null);
49606
+ /**
49607
+ * * Field Name: LastSampledAt
49608
+ * * Display Name: Last Sampled At
49609
+ * * SQL Data Type: datetimeoffset
49610
+ * * Description: When sampling last streamed records for this item. Distinct from LastSeenAt: an item can be listed by an endpoint without ever being sampled, and unsampled items are exactly the ones whose widths and keys came from the declared catalog rather than from data.
49611
+ */
49612
+ get LastSampledAt(): Date | null;
49613
+ set LastSampledAt(value: Date | null);
49614
+ /**
49615
+ * * Field Name: __mj_CreatedAt
49616
+ * * Display Name: Created At
49617
+ * * SQL Data Type: datetimeoffset
49618
+ * * Default Value: getutcdate()
49619
+ */
49620
+ get __mj_CreatedAt(): Date;
49621
+ /**
49622
+ * * Field Name: __mj_UpdatedAt
49623
+ * * Display Name: Updated At
49624
+ * * SQL Data Type: datetimeoffset
49625
+ * * Default Value: getutcdate()
49626
+ */
49627
+ get __mj_UpdatedAt(): Date;
49628
+ /**
49629
+ * * Field Name: CompanyIntegrationObject
49630
+ * * Display Name: Company Integration Object
49631
+ * * SQL Data Type: nvarchar(255)
49632
+ */
49633
+ get CompanyIntegrationObject(): string;
49634
+ /**
49635
+ * * Field Name: RelatedCompanyIntegrationObject
49636
+ * * Display Name: Related Company Integration Object
49637
+ * * SQL Data Type: nvarchar(255)
49638
+ */
49639
+ get RelatedCompanyIntegrationObject(): string | null;
49640
+ /**
49641
+ * * Field Name: IntegrationObjectField
49642
+ * * Display Name: Integration Object Field
49643
+ * * SQL Data Type: nvarchar(255)
49644
+ */
49645
+ get IntegrationObjectField(): string | null;
49646
+ }
49647
+ /**
49648
+ * MJ: Company Integration Objects - strongly typed entity sub-class
49649
+ * * Schema: __mj
49650
+ * * Base Table: CompanyIntegrationObject
49651
+ * * Base View: vwCompanyIntegrationObjects
49652
+ * * @description One connection's (CompanyIntegration's) own copy of an integration object: the vendor's declared definition rebased with what THIS connection discovered and sampled, with provenance, and with selection (IsSelected) as an axis separate from Status. Replaces reading IntegrationObject directly so two connections of one connector no longer overwrite each other.
49653
+ * * Primary Key: ID
49654
+ * @extends {BaseEntity}
49655
+ * @class
49656
+ * @public
49657
+ */
49658
+ export declare class MJCompanyIntegrationObjectEntity extends BaseEntity<MJCompanyIntegrationObjectEntityType> {
49659
+ /**
49660
+ * Loads the MJ: Company Integration Objects record from the database
49661
+ * @param ID: string - primary key value to load the MJ: Company Integration Objects record.
49662
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
49663
+ * @returns {Promise<boolean>} - true if successful, false otherwise
49664
+ * @public
49665
+ * @async
49666
+ * @memberof MJCompanyIntegrationObjectEntity
49667
+ * @method
49668
+ * @override
49669
+ */
49670
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
49671
+ /**
49672
+ * * Field Name: ID
49673
+ * * Display Name: ID
49674
+ * * SQL Data Type: uniqueidentifier
49675
+ * * Default Value: newsequentialid()
49676
+ */
49677
+ get ID(): string;
49678
+ set ID(value: string);
49679
+ /**
49680
+ * * Field Name: IntegrationID
49681
+ * * Display Name: Integration ID
49682
+ * * SQL Data Type: uniqueidentifier
49683
+ * * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
49684
+ * * Description: The integration (connector) this object belongs to. Always the IntegrationID of the owning CompanyIntegration, copied onto the row by the catalog writer so the per-connection catalog can be read through the same projection as the shared IntegrationObject catalog.
49685
+ */
49686
+ get IntegrationID(): string;
49687
+ set IntegrationID(value: string);
49688
+ /**
49689
+ * * Field Name: Name
49690
+ * * Display Name: Name
49691
+ * * SQL Data Type: nvarchar(255)
49692
+ * * Description: Internal/programmatic name of the external object (e.g., Members, Events)
49693
+ */
49694
+ get Name(): string;
49695
+ set Name(value: string);
49696
+ /**
49697
+ * * Field Name: DisplayName
49698
+ * * Display Name: Display Name
49699
+ * * SQL Data Type: nvarchar(255)
49700
+ * * Description: Human-friendly display label
49701
+ */
49702
+ get DisplayName(): string | null;
49703
+ set DisplayName(value: string | null);
49704
+ /**
49705
+ * * Field Name: Description
49706
+ * * Display Name: Description
49707
+ * * SQL Data Type: nvarchar(MAX)
49708
+ * * Description: Description of what this external object represents
49709
+ */
49710
+ get Description(): string | null;
49711
+ set Description(value: string | null);
49712
+ /**
49713
+ * * Field Name: Category
49714
+ * * Display Name: Category
49715
+ * * SQL Data Type: nvarchar(100)
49716
+ * * Description: UI grouping category (e.g., Membership, Events, Finance)
49717
+ */
49718
+ get Category(): string | null;
49719
+ set Category(value: string | null);
49720
+ /**
49721
+ * * Field Name: APIPath
49722
+ * * Display Name: API Path
49723
+ * * SQL Data Type: nvarchar(500)
49724
+ * * Description: API endpoint path, may include template variables like {ProfileID} that are resolved at runtime from parent object records
49725
+ */
49726
+ get APIPath(): string;
49727
+ set APIPath(value: string);
49728
+ /**
49729
+ * * Field Name: ResponseDataKey
49730
+ * * Display Name: Response Data Key
49731
+ * * SQL Data Type: nvarchar(255)
49732
+ * * Description: JSON key used to extract the data array from the API response envelope. NULL means the response is a root-level array.
49733
+ */
49734
+ get ResponseDataKey(): string | null;
49735
+ set ResponseDataKey(value: string | null);
49736
+ /**
49737
+ * * Field Name: DefaultPageSize
49738
+ * * Display Name: Default Page Size
49739
+ * * SQL Data Type: int
49740
+ * * Default Value: 100
49741
+ * * Description: Number of records to request per page from the API
49742
+ */
49743
+ get DefaultPageSize(): number;
49744
+ set DefaultPageSize(value: number);
49745
+ /**
49746
+ * * Field Name: SupportsPagination
49747
+ * * Display Name: Supports Pagination
49748
+ * * SQL Data Type: bit
49749
+ * * Default Value: 1
49750
+ * * Description: Whether this endpoint supports paginated fetching
49751
+ */
49752
+ get SupportsPagination(): boolean;
49753
+ set SupportsPagination(value: boolean);
49754
+ /**
49755
+ * * Field Name: PaginationType
49756
+ * * Display Name: Pagination Type
49757
+ * * SQL Data Type: nvarchar(20)
49758
+ * * Default Value: PageNumber
49759
+ * * Description: Pagination strategy: PageNumber (page index), Offset (record offset), Cursor (opaque token), or None
49760
+ */
49761
+ get PaginationType(): string;
49762
+ set PaginationType(value: string);
49763
+ /**
49764
+ * * Field Name: SupportsIncrementalSync
49765
+ * * Display Name: Supports Incremental Sync
49766
+ * * SQL Data Type: bit
49767
+ * * Default Value: 0
49768
+ * * Description: Whether this object supports watermark-based incremental sync
49769
+ */
49770
+ get SupportsIncrementalSync(): boolean;
49771
+ set SupportsIncrementalSync(value: boolean);
49772
+ /**
49773
+ * * Field Name: SupportsWrite
49774
+ * * Display Name: Supports Write
49775
+ * * SQL Data Type: bit
49776
+ * * Default Value: 0
49777
+ * * Description: Whether data can be pushed back to this object via the API
49778
+ */
49779
+ get SupportsWrite(): boolean;
49780
+ set SupportsWrite(value: boolean);
49781
+ /**
49782
+ * * Field Name: DefaultQueryParams
49783
+ * * Display Name: Default Query Params
49784
+ * * SQL Data Type: nvarchar(MAX)
49785
+ * * Description: JSON object of default query parameters to include with every API request for this object
49786
+ */
49787
+ get DefaultQueryParams(): string | null;
49788
+ set DefaultQueryParams(value: string | null);
49789
+ /**
49790
+ * * Field Name: Configuration
49791
+ * * Display Name: Configuration
49792
+ * * SQL Data Type: nvarchar(MAX)
49793
+ * * Description: Freeform JSON for connector-specific configuration not covered by standard columns
49794
+ */
49795
+ get Configuration(): string | null;
49796
+ set Configuration(value: string | null);
49797
+ /**
49798
+ * * Field Name: Sequence
49799
+ * * Display Name: Sequence
49800
+ * * SQL Data Type: int
49801
+ * * Default Value: 0
49802
+ * * Description: Processing and display order. Lower numbers are processed first.
49803
+ */
49804
+ get Sequence(): number;
49805
+ set Sequence(value: number);
49806
+ /**
49807
+ * * Field Name: Status
49808
+ * * Display Name: Status
49809
+ * * SQL Data Type: nvarchar(25)
49810
+ * * Default Value: Active
49811
+ * * Value List Type: List
49812
+ * * Possible Values
49813
+ * * Active
49814
+ * * Deprecated
49815
+ * * Disabled
49816
+ * * Description: Active, Deprecated, or Disabled. Mirrors EntityField status values.
49817
+ */
49818
+ get Status(): 'Active' | 'Deprecated' | 'Disabled';
49819
+ set Status(value: 'Active' | 'Deprecated' | 'Disabled');
49820
+ /**
49821
+ * * Field Name: WriteAPIPath
49822
+ * * Display Name: Write API Path
49823
+ * * SQL Data Type: nvarchar(500)
49824
+ * * Description: API path for create/update operations when different from the read APIPath. If NULL, the read APIPath is used for writes as well.
49825
+ */
49826
+ get WriteAPIPath(): string | null;
49827
+ set WriteAPIPath(value: string | null);
49828
+ /**
49829
+ * * Field Name: WriteMethod
49830
+ * * Display Name: Write Method
49831
+ * * SQL Data Type: nvarchar(10)
49832
+ * * Default Value: POST
49833
+ * * Description: HTTP method for create operations. Defaults to POST.
49834
+ */
49835
+ get WriteMethod(): string | null;
49836
+ set WriteMethod(value: string | null);
49837
+ /**
49838
+ * * Field Name: DeleteMethod
49839
+ * * Display Name: Delete Method
49840
+ * * SQL Data Type: nvarchar(10)
49841
+ * * Default Value: DELETE
49842
+ * * Description: HTTP method for delete operations. Defaults to DELETE.
49843
+ */
49844
+ get DeleteMethod(): string | null;
49845
+ set DeleteMethod(value: string | null);
49846
+ /**
49847
+ * * Field Name: IsCustom
49848
+ * * Display Name: Is Custom
49849
+ * * SQL Data Type: bit
49850
+ * * Default Value: 0
49851
+ * * Description: When true, this object was dynamically discovered by IntrospectSchema and is not defined in static connector metadata.
49852
+ */
49853
+ get IsCustom(): boolean;
49854
+ set IsCustom(value: boolean);
49855
+ /**
49856
+ * * Field Name: CreateAPIPath
49857
+ * * Display Name: Create API Path
49858
+ * * SQL Data Type: nvarchar(MAX)
49859
+ * * Description: HTTP path template for create operations. Generic CRUD in BaseRESTIntegrationConnector substitutes parent IDs into {var} placeholders. NULL means create not supported via metadata-driven path.
49860
+ */
49861
+ get CreateAPIPath(): string | null;
49862
+ set CreateAPIPath(value: string | null);
49863
+ /**
49864
+ * * Field Name: CreateMethod
49865
+ * * Display Name: Create Method
49866
+ * * SQL Data Type: nvarchar(20)
49867
+ * * Description: HTTP method for create (typically POST). NULL means create not supported via metadata-driven path.
49868
+ */
49869
+ get CreateMethod(): string | null;
49870
+ set CreateMethod(value: string | null);
49871
+ /**
49872
+ * * Field Name: CreateBodyShape
49873
+ * * Display Name: Create Body Shape
49874
+ * * SQL Data Type: nvarchar(50)
49875
+ * * Description: Request body shape for create: flat (top-level fields), wrapped (under CreateBodyKey), or literal (connector overrides CreateRecord and supplies own body).
49876
+ */
49877
+ get CreateBodyShape(): string | null;
49878
+ set CreateBodyShape(value: string | null);
49879
+ /**
49880
+ * * Field Name: CreateBodyKey
49881
+ * * Display Name: Create Body Key
49882
+ * * SQL Data Type: nvarchar(100)
49883
+ * * Description: Wrapper key for create body when CreateBodyShape=wrapped. Example: 'member' for YourMembership which wraps body as {member:{...}}.
49884
+ */
49885
+ get CreateBodyKey(): string | null;
49886
+ set CreateBodyKey(value: string | null);
49887
+ /**
49888
+ * * Field Name: CreateIDLocation
49889
+ * * Display Name: Create ID Location
49890
+ * * SQL Data Type: nvarchar(20)
49891
+ * * Description: Where the created record ID is found in the create response: path (URL of returned Location header), body (parsed from JSON response), header (specific named header).
49892
+ */
49893
+ get CreateIDLocation(): string | null;
49894
+ set CreateIDLocation(value: string | null);
49895
+ /**
49896
+ * * Field Name: UpdateAPIPath
49897
+ * * Display Name: Update API Path
49898
+ * * SQL Data Type: nvarchar(MAX)
49899
+ * * Description: HTTP path template for update operations. Typically contains {ID} placeholder substituted with the record ExternalID at runtime.
49900
+ */
49901
+ get UpdateAPIPath(): string | null;
49902
+ set UpdateAPIPath(value: string | null);
49903
+ /**
49904
+ * * Field Name: UpdateMethod
49905
+ * * Display Name: Update Method
49906
+ * * SQL Data Type: nvarchar(20)
49907
+ * * Description: HTTP method for update (typically PATCH or PUT).
49908
+ */
49909
+ get UpdateMethod(): string | null;
49910
+ set UpdateMethod(value: string | null);
49911
+ /**
49912
+ * * Field Name: UpdateBodyShape
49913
+ * * Display Name: Update Body Shape
49914
+ * * SQL Data Type: nvarchar(50)
49915
+ * * Description: Request body shape for update: flat | wrapped | literal. See CreateBodyShape.
49916
+ */
49917
+ get UpdateBodyShape(): string | null;
49918
+ set UpdateBodyShape(value: string | null);
49919
+ /**
49920
+ * * Field Name: UpdateBodyKey
49921
+ * * Display Name: Update Body Key
49922
+ * * SQL Data Type: nvarchar(100)
49923
+ * * Description: Wrapper key for update body when UpdateBodyShape=wrapped.
49924
+ */
49925
+ get UpdateBodyKey(): string | null;
49926
+ set UpdateBodyKey(value: string | null);
49927
+ /**
49928
+ * * Field Name: UpdateIDLocation
49929
+ * * Display Name: Update ID Location
49930
+ * * SQL Data Type: nvarchar(20)
49931
+ * * Description: For update: where the target record ID is located in the request — typically 'path' (substituted into UpdateAPIPath URL template).
49932
+ */
49933
+ get UpdateIDLocation(): string | null;
49934
+ set UpdateIDLocation(value: string | null);
49935
+ /**
49936
+ * * Field Name: DeleteAPIPath
49937
+ * * Display Name: Delete API Path
49938
+ * * SQL Data Type: nvarchar(MAX)
49939
+ * * Description: HTTP path template for delete operations. Typically contains {ID} placeholder. NULL means delete not supported via metadata-driven path. (Existing DeleteMethod column carries the verb.)
49940
+ */
49941
+ get DeleteAPIPath(): string | null;
49942
+ set DeleteAPIPath(value: string | null);
49943
+ /**
49944
+ * * Field Name: DeleteIDLocation
49945
+ * * Display Name: Delete ID Location
49946
+ * * SQL Data Type: nvarchar(20)
49947
+ * * Description: For delete: where the target record ID is located — typically 'path'.
49948
+ */
49949
+ get DeleteIDLocation(): string | null;
49950
+ set DeleteIDLocation(value: string | null);
49951
+ /**
49952
+ * * Field Name: IncrementalWatermarkField
49953
+ * * Display Name: Incremental Watermark Field
49954
+ * * SQL Data Type: nvarchar(255)
49955
+ * * Description: Vendor field name marking "last changed" — drives incremental sync filter when SupportsIncrementalSync=1. The exact filter syntax (e.g., $filter=Modified gt {value} or modified_since={value}) lives in Configuration.incrementalFilterFormat. Provable-only: leave NULL if docs do not name a watermark field.
49956
+ */
49957
+ get IncrementalWatermarkField(): string | null;
49958
+ set IncrementalWatermarkField(value: string | null);
49959
+ /**
49960
+ * * Field Name: MetadataSource
49961
+ * * Display Name: Metadata Source
49962
+ * * SQL Data Type: nvarchar(20)
49963
+ * * Default Value: Declared
49964
+ * * Value List Type: List
49965
+ * * Possible Values
49966
+ * * Custom
49967
+ * * Declared
49968
+ * * Discovered
49969
+ * * Description: Provenance of this CompanyIntegrationObject row: Declared (from static research/docs), Discovered (from runtime API introspection like Salesforce /describe), Custom (genuinely customer-created, e.g., HubSpot custom objects). Drives merge precedence in IntegrationSchemaSync.
49970
+ */
49971
+ get MetadataSource(): 'Custom' | 'Declared' | 'Discovered';
49972
+ set MetadataSource(value: 'Custom' | 'Declared' | 'Discovered');
49973
+ /**
49974
+ * * Field Name: SupportsCreate
49975
+ * * Display Name: Supports Create
49976
+ * * SQL Data Type: bit
49977
+ * * Default Value: 0
49978
+ * * Description: Whether this object supports record creation in the external system (per-operation granularity beyond SupportsWrite). Drives whether the generic CreateRecord path is wired and whether the object is offered for write-back create.
49979
+ */
49980
+ get SupportsCreate(): boolean;
49981
+ set SupportsCreate(value: boolean);
49982
+ /**
49983
+ * * Field Name: SupportsUpdate
49984
+ * * Display Name: Supports Update
49985
+ * * SQL Data Type: bit
49986
+ * * Default Value: 0
49987
+ * * Description: Whether this object supports record updates in the external system (per-operation granularity beyond SupportsWrite).
49988
+ */
49989
+ get SupportsUpdate(): boolean;
49990
+ set SupportsUpdate(value: boolean);
49991
+ /**
49992
+ * * Field Name: SupportsDelete
49993
+ * * Display Name: Supports Delete
49994
+ * * SQL Data Type: bit
49995
+ * * Default Value: 0
49996
+ * * Description: Whether this object supports record deletion/tombstoning in the external system (per-operation granularity beyond SupportsWrite).
49997
+ */
49998
+ get SupportsDelete(): boolean;
49999
+ set SupportsDelete(value: boolean);
50000
+ /**
50001
+ * * Field Name: SyncStrategy
50002
+ * * Display Name: Sync Strategy
50003
+ * * SQL Data Type: nvarchar(50)
50004
+ * * Description: Declared incremental sync strategy for this object (e.g. WatermarkIncremental, ContentHash, FullSnapshot). Informs how the engine narrows subsequent syncs.
50005
+ */
50006
+ get SyncStrategy(): string | null;
50007
+ set SyncStrategy(value: string | null);
50008
+ /**
50009
+ * * Field Name: ContentHashApplicable
50010
+ * * Display Name: Content Hash Applicable
50011
+ * * SQL Data Type: bit
50012
+ * * Default Value: 1
50013
+ * * Description: Whether per-record content hashing is meaningful for this object (false for append-only/event streams where every row is new). Controls whether the engine uses content-hash to skip unchanged-row writes.
50014
+ */
50015
+ get ContentHashApplicable(): boolean;
50016
+ set ContentHashApplicable(value: boolean);
50017
+ /**
50018
+ * * Field Name: StableOrderingKey
50019
+ * * Display Name: Stable Ordering Key
50020
+ * * SQL Data Type: nvarchar(255)
50021
+ * * Description: Stable, monotonic ordering column (usually the PK) used for keyset/no-watermark resume of a scan. Null when the object has no stable key.
50022
+ */
50023
+ get StableOrderingKey(): string | null;
50024
+ set StableOrderingKey(value: string | null);
50025
+ /**
50026
+ * * Field Name: CompanyIntegrationID
50027
+ * * Display Name: Company Integration ID
50028
+ * * SQL Data Type: uniqueidentifier
50029
+ * * Related Entity/Foreign Key: MJ: Company Integrations (vwCompanyIntegrations.ID)
50030
+ */
50031
+ get CompanyIntegrationID(): string;
50032
+ set CompanyIntegrationID(value: string);
50033
+ /**
50034
+ * * Field Name: IntegrationObjectID
50035
+ * * Display Name: Integration Object ID
50036
+ * * SQL Data Type: uniqueidentifier
50037
+ * * Related Entity/Foreign Key: MJ: Integration Objects (vwIntegrationObjects.ID)
50038
+ */
50039
+ get IntegrationObjectID(): string | null;
50040
+ set IntegrationObjectID(value: string | null);
50041
+ /**
50042
+ * * Field Name: Provenance
50043
+ * * Display Name: Provenance
50044
+ * * SQL Data Type: nvarchar(20)
50045
+ * * Default Value: Declared
50046
+ * * Value List Type: List
50047
+ * * Possible Values
50048
+ * * Declared
50049
+ * * Endpoint
50050
+ * * Sampled
50051
+ * * Description: Where this row came from: Declared (the connector shipped catalog), Endpoint (the source listed it) or Sampled (only streaming records revealed it). Answers "whose is this" for a connection whose catalog no longer matches the connector default.
50052
+ */
50053
+ get Provenance(): 'Declared' | 'Endpoint' | 'Sampled';
50054
+ set Provenance(value: 'Declared' | 'Endpoint' | 'Sampled');
50055
+ /**
50056
+ * * Field Name: ProvenanceDetail
50057
+ * * Display Name: Provenance Detail
50058
+ * * SQL Data Type: nvarchar(MAX)
50059
+ * * Description: The per-attribute merge log for this row: which side won each overlay decision and why. The persist already computes this and throws it away, so the operator has never been able to see why a width or a key looks the way it does.
50060
+ */
50061
+ get ProvenanceDetail(): string | null;
50062
+ set ProvenanceDetail(value: string | null);
50063
+ /**
50064
+ * * Field Name: IsSelected
50065
+ * * Display Name: Is Selected
50066
+ * * SQL Data Type: bit
50067
+ * * Default Value: 0
50068
+ * * Description: Whether this connection syncs this item. THE AXIS THAT MAKES THE CONTRACT SATISFIABLE: Status says whether the item is in the catalog at all, IsSelected says whether the customer chose it. Conflating the two is why a newly discovered object had to arrive ENABLED — a disabled object was excluded from schema introspection, so it never reached key inference and never reached a migration.
50069
+ */
50070
+ get IsSelected(): boolean;
50071
+ set IsSelected(value: boolean);
50072
+ /**
50073
+ * * Field Name: SelectedAt
50074
+ * * Display Name: Selected At
50075
+ * * SQL Data Type: datetimeoffset
50076
+ * * Description: When the selection last changed. Lets the UI distinguish "never chosen" from "deliberately deselected".
50077
+ */
50078
+ get SelectedAt(): Date | null;
50079
+ set SelectedAt(value: Date | null);
50080
+ /**
50081
+ * * Field Name: FirstSeenAt
50082
+ * * Display Name: First Seen At
50083
+ * * SQL Data Type: datetimeoffset
50084
+ * * Description: When this connection first observed this item. Set once and never updated, so a catalog can be read as a history of what the source exposed and when.
50085
+ */
50086
+ get FirstSeenAt(): Date | null;
50087
+ set FirstSeenAt(value: Date | null);
50088
+ /**
50089
+ * * Field Name: LastSeenAt
50090
+ * * Display Name: Last Seen At
50091
+ * * SQL Data Type: datetimeoffset
50092
+ * * Description: When this connection most recently observed this item. A row whose LastSeenAt is older than the connection last discovery is what "absent from the source" means.
50093
+ */
50094
+ get LastSeenAt(): Date | null;
50095
+ set LastSeenAt(value: Date | null);
50096
+ /**
50097
+ * * Field Name: LastSampledAt
50098
+ * * Display Name: Last Sampled At
50099
+ * * SQL Data Type: datetimeoffset
50100
+ * * Description: When sampling last streamed records for this item. Distinct from LastSeenAt: an item can be listed by an endpoint without ever being sampled, and unsampled items are exactly the ones whose widths and keys came from the declared catalog rather than from data.
50101
+ */
50102
+ get LastSampledAt(): Date | null;
50103
+ set LastSampledAt(value: Date | null);
50104
+ /**
50105
+ * * Field Name: __mj_CreatedAt
50106
+ * * Display Name: Created At
50107
+ * * SQL Data Type: datetimeoffset
50108
+ * * Default Value: getutcdate()
50109
+ */
50110
+ get __mj_CreatedAt(): Date;
50111
+ /**
50112
+ * * Field Name: __mj_UpdatedAt
50113
+ * * Display Name: Updated At
50114
+ * * SQL Data Type: datetimeoffset
50115
+ * * Default Value: getutcdate()
50116
+ */
50117
+ get __mj_UpdatedAt(): Date;
50118
+ /**
50119
+ * * Field Name: Integration
50120
+ * * Display Name: Integration
50121
+ * * SQL Data Type: nvarchar(100)
50122
+ */
50123
+ get Integration(): string;
50124
+ /**
50125
+ * * Field Name: CompanyIntegration
50126
+ * * Display Name: Company Integration
50127
+ * * SQL Data Type: nvarchar(255)
50128
+ */
50129
+ get CompanyIntegration(): string;
50130
+ /**
50131
+ * * Field Name: IntegrationObject
50132
+ * * Display Name: Integration Object
50133
+ * * SQL Data Type: nvarchar(255)
50134
+ */
50135
+ get IntegrationObject(): string | null;
50136
+ }
48463
50137
  /**
48464
50138
  * MJ: Company Integration Record Maps - strongly typed entity sub-class
48465
50139
  * * Schema: __mj
@@ -50150,11 +51824,64 @@ export declare class MJComponentEntity extends BaseEntity<MJComponentEntityType>
50150
51824
  get TechnicalDesignVectorBinary(): string | null;
50151
51825
  set TechnicalDesignVectorBinary(value: string | null);
50152
51826
  /**
51827
+ * * Field Name: ApprovalStatus
51828
+ * * Display Name: Approval Status
51829
+ * * SQL Data Type: nvarchar(20)
51830
+ * * Default Value: Pending
51831
+ * * Value List Type: List
51832
+ * * Possible Values
51833
+ * * Approved
51834
+ * * Pending
51835
+ * * Rejected
51836
+ * * Description: Whether this component version's definition is approved: Pending, Approved or Rejected. Separate from Status, which is publication. An approval is current only while ApprovedFingerprint matches the current definition.
51837
+ */
51838
+ get ApprovalStatus(): 'Approved' | 'Pending' | 'Rejected';
51839
+ set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
51840
+ /**
51841
+ * * Field Name: ApprovalComments
51842
+ * * Display Name: Approval Comments
51843
+ * * SQL Data Type: nvarchar(MAX)
51844
+ * * Description: Reviewer comments recorded with the approval decision, such as the tests the definition passed.
51845
+ */
51846
+ get ApprovalComments(): string | null;
51847
+ set ApprovalComments(value: string | null);
51848
+ /**
51849
+ * * Field Name: ApprovedByUserID
51850
+ * * Display Name: Approved By User ID
51851
+ * * SQL Data Type: uniqueidentifier
51852
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
51853
+ * * Description: The user who approved this component version.
51854
+ */
51855
+ get ApprovedByUserID(): string | null;
51856
+ set ApprovedByUserID(value: string | null);
51857
+ /**
51858
+ * * Field Name: ApprovedAt
51859
+ * * Display Name: Approved At
51860
+ * * SQL Data Type: datetimeoffset
51861
+ * * Description: When this component version was approved.
51862
+ */
51863
+ get ApprovedAt(): Date | null;
51864
+ set ApprovedAt(value: Date | null);
51865
+ /**
51866
+ * * Field Name: ApprovedFingerprint
51867
+ * * Display Name: Approved Fingerprint
51868
+ * * SQL Data Type: nvarchar(100)
51869
+ * * Description: SHA-256 fingerprint of the definition that was approved: the component's specification for this version. The approval is current only while this matches the fingerprint of the current definition.
51870
+ */
51871
+ get ApprovedFingerprint(): string | null;
51872
+ set ApprovedFingerprint(value: string | null);
51873
+ /**
50153
51874
  * * Field Name: SourceRegistry
50154
51875
  * * Display Name: Source Registry
50155
51876
  * * SQL Data Type: nvarchar(255)
50156
51877
  */
50157
51878
  get SourceRegistry(): string | null;
51879
+ /**
51880
+ * * Field Name: ApprovedByUser
51881
+ * * Display Name: Approved By User
51882
+ * * SQL Data Type: nvarchar(100)
51883
+ */
51884
+ get ApprovedByUser(): string | null;
50158
51885
  }
50159
51886
  /**
50160
51887
  * MJ: Content File Types - strongly typed entity sub-class
@@ -50217,6 +51944,30 @@ export declare class MJContentFileTypeEntity extends BaseEntity<MJContentFileTyp
50217
51944
  * * Default Value: getutcdate()
50218
51945
  */
50219
51946
  get __mj_UpdatedAt(): Date;
51947
+ /**
51948
+ * * Field Name: ByteSignature
51949
+ * * Display Name: Byte Signature
51950
+ * * SQL Data Type: nvarchar(MAX)
51951
+ * * Description: How this file type is recognised from its own content, as JSON. Either magic bytes - {"Magic":[37,80,68,70],"Offset":0,"Unambiguous":true} - or, for a text format, the characters it opens with: {"TextPrefix":["<!doctype html","<html"]}, matched after a byte-order mark and leading whitespace are stripped and case is folded. Unambiguous means a match may override a declared type; a container format such as zip recognises without identifying, so it may not.
51952
+ */
51953
+ get ByteSignature(): string | null;
51954
+ set ByteSignature(value: string | null);
51955
+ /**
51956
+ * * Field Name: IsText
51957
+ * * Display Name: Is Text
51958
+ * * SQL Data Type: bit
51959
+ * * Description: Whether this file type is text. Decides whether an unrecognised file is attempted as plain text or routed down the multi-modal path. NULL means unknown, and the pipeline falls back to inspecting the bytes.
51960
+ */
51961
+ get IsText(): boolean | null;
51962
+ set IsText(value: boolean | null);
51963
+ /**
51964
+ * * Field Name: ExtractorKey
51965
+ * * Display Name: Extractor Key
51966
+ * * SQL Data Type: nvarchar(100)
51967
+ * * Description: The registered content extractor that reads this file type. Lets a deployment add support for a format by pointing its file type at an extractor, rather than editing the extractor's own list of what it supports.
51968
+ */
51969
+ get ExtractorKey(): string | null;
51970
+ set ExtractorKey(value: string | null);
50220
51971
  }
50221
51972
  /**
50222
51973
  * MJ: Content Item Attributes - strongly typed entity sub-class
@@ -50368,14 +52119,15 @@ export declare class MJContentItemChunkEntity extends BaseEntity<MJContentItemCh
50368
52119
  * * Active
50369
52120
  * * Complete
50370
52121
  * * Failed
52122
+ * * MetadataOnly
50371
52123
  * * Pending
50372
52124
  * * Processed
50373
52125
  * * Processing
50374
52126
  * * Skipped
50375
52127
  * * Description: Embedding lifecycle state of this chunk: Pending (default), Processing, Active, Complete, Processed, Failed, or Skipped.
50376
52128
  */
50377
- get EmbeddingStatus(): 'Active' | 'Complete' | 'Failed' | 'Pending' | 'Processed' | 'Processing' | 'Skipped';
50378
- set EmbeddingStatus(value: 'Active' | 'Complete' | 'Failed' | 'Pending' | 'Processed' | 'Processing' | 'Skipped');
52129
+ get EmbeddingStatus(): 'Active' | 'Complete' | 'Failed' | 'MetadataOnly' | 'Pending' | 'Processed' | 'Processing' | 'Skipped';
52130
+ set EmbeddingStatus(value: 'Active' | 'Complete' | 'Failed' | 'MetadataOnly' | 'Pending' | 'Processed' | 'Processing' | 'Skipped');
50379
52131
  /**
50380
52132
  * * Field Name: TaggingStatus
50381
52133
  * * Display Name: Tagging Status
@@ -50542,6 +52294,22 @@ export declare class MJContentItemChunkEntity extends BaseEntity<MJContentItemCh
50542
52294
  get ParentChunkID(): string | null;
50543
52295
  set ParentChunkID(value: string | null);
50544
52296
  /**
52297
+ * * Field Name: FieldConfidence
52298
+ * * Display Name: Field Confidence
52299
+ * * SQL Data Type: nvarchar(MAX)
52300
+ * * Description: Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it.
52301
+ */
52302
+ get FieldConfidence(): string | null;
52303
+ set FieldConfidence(value: string | null);
52304
+ /**
52305
+ * * Field Name: Decorator
52306
+ * * Display Name: Decorator
52307
+ * * SQL Data Type: nvarchar(MAX)
52308
+ * * Description: Text that accompanies this chunk so it still makes sense retrieved on its own — normally inherited from its parent item. Kept as its own field rather than prefixed into Text so it stays separately searchable and can be revised without rewriting the chunk.
52309
+ */
52310
+ get Decorator(): string | null;
52311
+ set Decorator(value: string | null);
52312
+ /**
50545
52313
  * * Field Name: ContentItem
50546
52314
  * * Display Name: Content Item Name
50547
52315
  * * SQL Data Type: nvarchar(250)
@@ -50980,15 +52748,18 @@ export declare class MJContentItemEntity extends BaseEntity<MJContentItemEntityT
50980
52748
  * * Default Value: Pending
50981
52749
  * * Value List Type: List
50982
52750
  * * Possible Values
52751
+ * * Active
50983
52752
  * * Complete
50984
52753
  * * Failed
52754
+ * * MetadataOnly
50985
52755
  * * Pending
52756
+ * * Processed
50986
52757
  * * Processing
50987
52758
  * * Skipped
50988
52759
  * * Description: Vectorization status: Pending (not yet embedded), Processing (currently being embedded), Complete (vector stored), Failed (embedding error), Skipped (excluded from vectorization).
50989
52760
  */
50990
- get EmbeddingStatus(): 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped';
50991
- set EmbeddingStatus(value: 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped');
52761
+ get EmbeddingStatus(): 'Active' | 'Complete' | 'Failed' | 'MetadataOnly' | 'Pending' | 'Processed' | 'Processing' | 'Skipped';
52762
+ set EmbeddingStatus(value: 'Active' | 'Complete' | 'Failed' | 'MetadataOnly' | 'Pending' | 'Processed' | 'Processing' | 'Skipped');
50992
52763
  /**
50993
52764
  * * Field Name: LastEmbeddedAt
50994
52765
  * * Display Name: Last Embedded At
@@ -51056,6 +52827,112 @@ export declare class MJContentItemEntity extends BaseEntity<MJContentItemEntityT
51056
52827
  get DisplayLink(): string | null;
51057
52828
  set DisplayLink(value: string | null);
51058
52829
  /**
52830
+ * * Field Name: FieldConfidence
52831
+ * * Display Name: Field Confidence
52832
+ * * SQL Data Type: nvarchar(MAX)
52833
+ * * Description: Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it. Lets two stages that know nothing about each other resolve a shared field on merit rather than by running order.
52834
+ */
52835
+ get FieldConfidence(): string | null;
52836
+ set FieldConfidence(value: string | null);
52837
+ /**
52838
+ * * Field Name: ExtractionStatus
52839
+ * * Display Name: Extraction Status
52840
+ * * SQL Data Type: nvarchar(40)
52841
+ * * Value List Type: List
52842
+ * * Possible Values
52843
+ * * Complete
52844
+ * * Failed
52845
+ * * Pending
52846
+ * * Processing
52847
+ * * Skipped
52848
+ * * Description: Status of the Extract stage for this item: Pending, Processing, Complete, Failed or Skipped.
52849
+ */
52850
+ get ExtractionStatus(): 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped' | null;
52851
+ set ExtractionStatus(value: 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped' | null);
52852
+ /**
52853
+ * * Field Name: SegmentationStatus
52854
+ * * Display Name: Segmentation Status
52855
+ * * SQL Data Type: nvarchar(40)
52856
+ * * Value List Type: List
52857
+ * * Possible Values
52858
+ * * Complete
52859
+ * * Failed
52860
+ * * Pending
52861
+ * * Processing
52862
+ * * Skipped
52863
+ * * Description: Status of the Segment stage for this item: Pending, Processing, Complete, Failed or Skipped.
52864
+ */
52865
+ get SegmentationStatus(): 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped' | null;
52866
+ set SegmentationStatus(value: 'Complete' | 'Failed' | 'Pending' | 'Processing' | 'Skipped' | null);
52867
+ /**
52868
+ * * Field Name: DeleteStatus
52869
+ * * Display Name: Delete Status
52870
+ * * SQL Data Type: nvarchar(20)
52871
+ * * Value List Type: List
52872
+ * * Possible Values
52873
+ * * Deleted
52874
+ * * Pending
52875
+ * * Description: Soft-delete marker: Pending once something has been removed at the source, Deleted once the Delete stage has cleaned up everything downstream of it. Marking rather than deleting keeps the outside-system cleanup in one place and makes it retryable.
52876
+ */
52877
+ get DeleteStatus(): 'Deleted' | 'Pending' | null;
52878
+ set DeleteStatus(value: 'Deleted' | 'Pending' | null);
52879
+ /**
52880
+ * * Field Name: ExtractorKey
52881
+ * * Display Name: Extractor Key
52882
+ * * SQL Data Type: nvarchar(100)
52883
+ * * Description: The registered content extractor that actually read this item, recorded as a receipt of what ran. Distinct from the defaults on Content Type and in the source configuration, which say what should run.
52884
+ */
52885
+ get ExtractorKey(): string | null;
52886
+ set ExtractorKey(value: string | null);
52887
+ /**
52888
+ * * Field Name: ExtractorKeyOverride
52889
+ * * Display Name: Extractor Key Override
52890
+ * * SQL Data Type: nvarchar(100)
52891
+ * * Description: Forces a specific content extractor for this item, overriding every default in the cascade. Set by a splitting extractor that already knows what one of its own children is, and by an operator correcting a misrouted item.
52892
+ */
52893
+ get ExtractorKeyOverride(): string | null;
52894
+ set ExtractorKeyOverride(value: string | null);
52895
+ /**
52896
+ * * Field Name: Modality
52897
+ * * Display Name: Modality
52898
+ * * SQL Data Type: nvarchar(20)
52899
+ * * Value List Type: List
52900
+ * * Possible Values
52901
+ * * audio
52902
+ * * image
52903
+ * * multimodal
52904
+ * * text
52905
+ * * video
52906
+ * * Description: What kind of content this item holds: text, image, audio, video or multimodal. Determines whether the item can be embedded without extracted text.
52907
+ */
52908
+ get Modality(): 'audio' | 'image' | 'multimodal' | 'text' | 'video' | null;
52909
+ set Modality(value: 'audio' | 'image' | 'multimodal' | 'text' | 'video' | null);
52910
+ /**
52911
+ * * Field Name: Date
52912
+ * * Display Name: Content Date
52913
+ * * SQL Data Type: datetimeoffset
52914
+ * * Description: The date the content itself carries — published, issued or authored — as opposed to when this row was created.
52915
+ */
52916
+ get Date(): Date | null;
52917
+ set Date(value: Date | null);
52918
+ /**
52919
+ * * Field Name: Decorator
52920
+ * * Display Name: Decorator
52921
+ * * SQL Data Type: nvarchar(MAX)
52922
+ * * Description: Text that accompanies this item so it still makes sense retrieved on its own. Kept as its own field rather than prefixed into Text so it stays separately searchable and can be revised without rewriting the content.
52923
+ */
52924
+ get Decorator(): string | null;
52925
+ set Decorator(value: string | null);
52926
+ /**
52927
+ * * Field Name: FileID
52928
+ * * Display Name: File
52929
+ * * SQL Data Type: uniqueidentifier
52930
+ * * Related Entity/Foreign Key: MJ: Files (vwFiles.ID)
52931
+ * * Description: The durable copy of the fetched artifact, held as an MJ File so the bytes live in whichever storage provider the source is configured for rather than in this database.
52932
+ */
52933
+ get FileID(): string | null;
52934
+ set FileID(value: string | null);
52935
+ /**
51059
52936
  * * Field Name: ContentSource
51060
52937
  * * Display Name: Content Source Name
51061
52938
  * * SQL Data Type: nvarchar(255)
@@ -51098,6 +52975,12 @@ export declare class MJContentItemEntity extends BaseEntity<MJContentItemEntityT
51098
52975
  */
51099
52976
  get Parent(): string | null;
51100
52977
  /**
52978
+ * * Field Name: File
52979
+ * * Display Name: File Details
52980
+ * * SQL Data Type: nvarchar(500)
52981
+ */
52982
+ get File(): string | null;
52983
+ /**
51101
52984
  * * Field Name: RootParentID
51102
52985
  * * Display Name: Root Parent Content
51103
52986
  * * SQL Data Type: uniqueidentifier
@@ -52399,6 +54282,39 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
52399
54282
  get ScheduledJobID(): string | null;
52400
54283
  set ScheduledJobID(value: string | null);
52401
54284
  /**
54285
+ * * Field Name: FieldConfidence
54286
+ * * Display Name: Field Confidence
54287
+ * * SQL Data Type: nvarchar(MAX)
54288
+ * * Description: Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it.
54289
+ */
54290
+ get FieldConfidence(): string | null;
54291
+ set FieldConfidence(value: string | null);
54292
+ /**
54293
+ * * Field Name: ForceDiscovery
54294
+ * * Display Name: Force Discovery
54295
+ * * SQL Data Type: bit
54296
+ * * Default Value: 0
54297
+ * * Description: Walk this source on the next pass regardless of its schedule. A one-shot: the Discover stage clears it when the walk completes. Scheduling is deployment-owned and the shipped Discover process selects ForceDiscovery = 1, which is why there is no discovery status column to re-arm.
54298
+ */
54299
+ get ForceDiscovery(): boolean;
54300
+ set ForceDiscovery(value: boolean);
54301
+ /**
54302
+ * * Field Name: LastDiscoveredAt
54303
+ * * Display Name: Last Discovered At
54304
+ * * SQL Data Type: datetimeoffset
54305
+ * * Description: When this source was last walked by the Discover stage. Stamped with the time a completed walk started, and passed back as Since on subsequent incremental walks.
54306
+ */
54307
+ get LastDiscoveredAt(): Date | null;
54308
+ set LastDiscoveredAt(value: Date | null);
54309
+ /**
54310
+ * * Field Name: LastSyncedAt
54311
+ * * Display Name: Last Synced At
54312
+ * * SQL Data Type: datetimeoffset
54313
+ * * Description: When this source last completed a full Sync walk (reconciling removals). Stamped with the time a completed sync walk started. The shipped Sync Record Process selects sources by LastSyncedAt (LastSyncedAt IS NULL OR LastSyncedAt < DATEADD(day, -30, GETUTCDATE())), never by ForceDiscovery; to force a sync, set LastSyncedAt back or to NULL.
54314
+ */
54315
+ get LastSyncedAt(): Date | null;
54316
+ set LastSyncedAt(value: Date | null);
54317
+ /**
52402
54318
  * * Field Name: ContentType
52403
54319
  * * Display Name: Content Type Name
52404
54320
  * * SQL Data Type: nvarchar(255)
@@ -52798,6 +54714,14 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
52798
54714
  get CleanerKey(): string | null;
52799
54715
  set CleanerKey(value: string | null);
52800
54716
  /**
54717
+ * * Field Name: ExtractorKey
54718
+ * * Display Name: Extractor Key
54719
+ * * SQL Data Type: nvarchar(100)
54720
+ * * Description: The default content extractor for items of this content type, beside SegmenterKey and CleanerKey. A per-type default has no home in a source's Configuration, and reading it from a run's Options would make it per-run.
54721
+ */
54722
+ get ExtractorKey(): string | null;
54723
+ set ExtractorKey(value: string | null);
54724
+ /**
52801
54725
  * * Field Name: AIModel
52802
54726
  * * Display Name: AI Model Name
52803
54727
  * * SQL Data Type: nvarchar(50)
@@ -56345,6 +58269,53 @@ export declare class MJDashboardEntity extends BaseEntity<MJDashboardEntityType>
56345
58269
  get EnvironmentID(): string;
56346
58270
  set EnvironmentID(value: string);
56347
58271
  /**
58272
+ * * Field Name: ApprovalStatus
58273
+ * * Display Name: Approval Status
58274
+ * * SQL Data Type: nvarchar(20)
58275
+ * * Default Value: Pending
58276
+ * * Value List Type: List
58277
+ * * Possible Values
58278
+ * * Approved
58279
+ * * Pending
58280
+ * * Rejected
58281
+ * * Description: Whether this dashboard's definition is approved: Pending, Approved or Rejected. An approval is current only while ApprovedFingerprint matches the current definition.
58282
+ */
58283
+ get ApprovalStatus(): 'Approved' | 'Pending' | 'Rejected';
58284
+ set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
58285
+ /**
58286
+ * * Field Name: ApprovalComments
58287
+ * * Display Name: Approval Comments
58288
+ * * SQL Data Type: nvarchar(MAX)
58289
+ * * Description: Reviewer comments recorded with the approval decision, such as the tests the definition passed.
58290
+ */
58291
+ get ApprovalComments(): string | null;
58292
+ set ApprovalComments(value: string | null);
58293
+ /**
58294
+ * * Field Name: ApprovedByUserID
58295
+ * * Display Name: Approved By User ID
58296
+ * * SQL Data Type: uniqueidentifier
58297
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
58298
+ * * Description: The user who approved this dashboard.
58299
+ */
58300
+ get ApprovedByUserID(): string | null;
58301
+ set ApprovedByUserID(value: string | null);
58302
+ /**
58303
+ * * Field Name: ApprovedAt
58304
+ * * Display Name: Approved At
58305
+ * * SQL Data Type: datetimeoffset
58306
+ * * Description: When this dashboard was approved.
58307
+ */
58308
+ get ApprovedAt(): Date | null;
58309
+ set ApprovedAt(value: Date | null);
58310
+ /**
58311
+ * * Field Name: ApprovedFingerprint
58312
+ * * Display Name: Approved Fingerprint
58313
+ * * SQL Data Type: nvarchar(100)
58314
+ * * Description: SHA-256 fingerprint of the definition that was approved: its layout, parts, property mappings, wires and code. The approval is current only while this matches the fingerprint of the current definition.
58315
+ */
58316
+ get ApprovedFingerprint(): string | null;
58317
+ set ApprovedFingerprint(value: string | null);
58318
+ /**
56348
58319
  * * Field Name: User
56349
58320
  * * Display Name: User
56350
58321
  * * SQL Data Type: nvarchar(100)
@@ -56368,6 +58339,12 @@ export declare class MJDashboardEntity extends BaseEntity<MJDashboardEntityType>
56368
58339
  * * SQL Data Type: nvarchar(255)
56369
58340
  */
56370
58341
  get Environment(): string;
58342
+ /**
58343
+ * * Field Name: ApprovedByUser
58344
+ * * Display Name: Approved By User
58345
+ * * SQL Data Type: nvarchar(100)
58346
+ */
58347
+ get ApprovedByUser(): string | null;
56371
58348
  }
56372
58349
  /**
56373
58350
  * MJ: Data Context Items - strongly typed entity sub-class
@@ -57375,6 +59352,15 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
57375
59352
  get CancellationRequested(): boolean;
57376
59353
  set CancellationRequested(value: boolean);
57377
59354
  /**
59355
+ * * Field Name: EntityDocumentID
59356
+ * * Display Name: Entity Document
59357
+ * * SQL Data Type: uniqueidentifier
59358
+ * * Related Entity/Foreign Key: MJ: Entity Documents (vwEntityDocuments.ID)
59359
+ * * Description: The Entity Document this run used: its template, vectors, match thresholds and LLM reasoning settings produced the run's matches.
59360
+ */
59361
+ get EntityDocumentID(): string;
59362
+ set EntityDocumentID(value: string);
59363
+ /**
57378
59364
  * * Field Name: Entity
57379
59365
  * * Display Name: Entity Name
57380
59366
  * * SQL Data Type: nvarchar(255)
@@ -57398,6 +59384,12 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
57398
59384
  * * SQL Data Type: nvarchar(100)
57399
59385
  */
57400
59386
  get ApprovedByUser(): string | null;
59387
+ /**
59388
+ * * Field Name: EntityDocument
59389
+ * * Display Name: Entity Document Name
59390
+ * * SQL Data Type: nvarchar(250)
59391
+ */
59392
+ get EntityDocument(): string;
57401
59393
  }
57402
59394
  /**
57403
59395
  * MJ: Employee Company Integrations - strongly typed entity sub-class
@@ -60032,6 +62024,159 @@ export declare class MJEntityActionEntity extends BaseEntity<MJEntityActionEntit
60032
62024
  */
60033
62025
  get ScopeEntity(): string | null;
60034
62026
  }
62027
+ /**
62028
+ * MJ: Entity Alternate Base Views - strongly typed entity sub-class
62029
+ * * Schema: __mj
62030
+ * * Base Table: EntityAlternateBaseView
62031
+ * * Base View: vwEntityAlternateBaseViews
62032
+ * * @description Registers alternate base views for an entity: SQL views that expose the same columns as the entity's BaseView while returning a canonical row subset (such as Active Members or Open Orders).
62033
+ * * Primary Key: ID
62034
+ * @extends {BaseEntity}
62035
+ * @class
62036
+ * @public
62037
+ */
62038
+ export declare class MJEntityAlternateBaseViewEntity extends BaseEntity<MJEntityAlternateBaseViewEntityType> {
62039
+ /**
62040
+ * Loads the MJ: Entity Alternate Base Views record from the database
62041
+ * @param ID: string - primary key value to load the MJ: Entity Alternate Base Views record.
62042
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
62043
+ * @returns {Promise<boolean>} - true if successful, false otherwise
62044
+ * @public
62045
+ * @async
62046
+ * @memberof MJEntityAlternateBaseViewEntity
62047
+ * @method
62048
+ * @override
62049
+ */
62050
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
62051
+ /**
62052
+ * * Field Name: ID
62053
+ * * Display Name: ID
62054
+ * * SQL Data Type: uniqueidentifier
62055
+ * * Default Value: newsequentialid()
62056
+ */
62057
+ get ID(): string;
62058
+ set ID(value: string);
62059
+ /**
62060
+ * * Field Name: EntityID
62061
+ * * Display Name: Entity
62062
+ * * SQL Data Type: uniqueidentifier
62063
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
62064
+ * * Description: Owning entity whose column contract this alternate base view shares.
62065
+ */
62066
+ get EntityID(): string;
62067
+ set EntityID(value: string);
62068
+ /**
62069
+ * * Field Name: ParentID
62070
+ * * Display Name: Parent
62071
+ * * SQL Data Type: uniqueidentifier
62072
+ * * Related Entity/Foreign Key: MJ: Entity Alternate Base Views (vwEntityAlternateBaseViews.ID)
62073
+ * * Description: Optional parent alternate base view on the same entity that this view derives from (e.g. an Active Auto-Renew Members view built on top of Active Members). NULL when the view selects directly from the entity's BaseView. Automatically populated on save via SQL AST extraction when the view's FROM clause references another registered alternate base view.
62074
+ */
62075
+ get ParentID(): string | null;
62076
+ set ParentID(value: string | null);
62077
+ /**
62078
+ * * Field Name: Name
62079
+ * * Display Name: Name
62080
+ * * SQL Data Type: nvarchar(100)
62081
+ * * Description: Logical name of the alternate base view, unique per entity (case-insensitive). Cannot contain pipe (|) or colon (:) characters. Callers pass this name via RunViewParams.AlternateBaseView or pin it on a User View.
62082
+ */
62083
+ get Name(): string;
62084
+ set Name(value: string);
62085
+ /**
62086
+ * * Field Name: DisplayName
62087
+ * * Display Name: Display Name
62088
+ * * SQL Data Type: nvarchar(255)
62089
+ * * Description: Human-friendly label shown in UI pickers and badges. Falls back to Name when NULL.
62090
+ */
62091
+ get DisplayName(): string | null;
62092
+ set DisplayName(value: string | null);
62093
+ /**
62094
+ * * Field Name: Description
62095
+ * * Display Name: Description
62096
+ * * SQL Data Type: nvarchar(MAX)
62097
+ * * Description: Plain-language definition of which rows this alternate base view includes. Surfaced as help text in pickers and in agent and QueryGen discovery context.
62098
+ */
62099
+ get Description(): string;
62100
+ set Description(value: string);
62101
+ /**
62102
+ * * Field Name: SchemaName
62103
+ * * Display Name: Schema Name
62104
+ * * SQL Data Type: nvarchar(255)
62105
+ * * Description: Database schema of ViewName. When NULL, defaults to the owning entity's SchemaName. Cross-schema views allow an Open App to register an alternate view in its own schema on an upstream entity.
62106
+ */
62107
+ get SchemaName(): string | null;
62108
+ set SchemaName(value: string | null);
62109
+ /**
62110
+ * * Field Name: ViewName
62111
+ * * Display Name: View Name
62112
+ * * SQL Data Type: nvarchar(255)
62113
+ * * Description: Physical SQL view name in the database. Must select all columns from the owning entity's BaseView.
62114
+ */
62115
+ get ViewName(): string;
62116
+ set ViewName(value: string);
62117
+ /**
62118
+ * * Field Name: CachePolicy
62119
+ * * Display Name: Cache Policy
62120
+ * * SQL Data Type: nvarchar(20)
62121
+ * * Default Value: Default
62122
+ * * Value List Type: List
62123
+ * * Possible Values
62124
+ * * Bypass
62125
+ * * Default
62126
+ * * Description: Controls RunView caching for this alternate view: Default caches results under an isolated abv: fingerprint segment and invalidates on entity writes; Bypass disables caching for views whose predicates depend on the clock or other tables.
62127
+ */
62128
+ get CachePolicy(): 'Bypass' | 'Default';
62129
+ set CachePolicy(value: 'Bypass' | 'Default');
62130
+ /**
62131
+ * * Field Name: Status
62132
+ * * Display Name: Status
62133
+ * * SQL Data Type: nvarchar(20)
62134
+ * * Default Value: Active
62135
+ * * Value List Type: List
62136
+ * * Possible Values
62137
+ * * Active
62138
+ * * Deprecated
62139
+ * * Disabled
62140
+ * * Description: Lifecycle status of the alternate view: Active (selectable and shown in pickers and agent context), Deprecated (executable with a warning, hidden from pickers and agents), or Disabled (rejected at runtime).
62141
+ */
62142
+ get Status(): 'Active' | 'Deprecated' | 'Disabled';
62143
+ set Status(value: 'Active' | 'Deprecated' | 'Disabled');
62144
+ /**
62145
+ * * Field Name: Sequence
62146
+ * * Display Name: Sequence
62147
+ * * SQL Data Type: int
62148
+ * * Default Value: 0
62149
+ * * Description: Display ordering of this alternate view within its owning entity (lower numbers appear first).
62150
+ */
62151
+ get Sequence(): number;
62152
+ set Sequence(value: number);
62153
+ /**
62154
+ * * Field Name: __mj_CreatedAt
62155
+ * * Display Name: Created At
62156
+ * * SQL Data Type: datetimeoffset
62157
+ * * Default Value: getutcdate()
62158
+ */
62159
+ get __mj_CreatedAt(): Date;
62160
+ /**
62161
+ * * Field Name: __mj_UpdatedAt
62162
+ * * Display Name: Updated At
62163
+ * * SQL Data Type: datetimeoffset
62164
+ * * Default Value: getutcdate()
62165
+ */
62166
+ get __mj_UpdatedAt(): Date;
62167
+ /**
62168
+ * * Field Name: Entity
62169
+ * * Display Name: Entity Text
62170
+ * * SQL Data Type: nvarchar(255)
62171
+ */
62172
+ get Entity(): string;
62173
+ /**
62174
+ * * Field Name: Parent
62175
+ * * Display Name: Parent Text
62176
+ * * SQL Data Type: nvarchar(100)
62177
+ */
62178
+ get Parent(): string | null;
62179
+ }
60035
62180
  /**
60036
62181
  * MJ: Entity Communication Fields - strongly typed entity sub-class
60037
62182
  * * Schema: __mj
@@ -60451,16 +62596,6 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
60451
62596
  */
60452
62597
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
60453
62598
  /**
60454
- * MJ: Entity Documents - Delete method override to wrap in transaction since CascadeDeletes is true.
60455
- * Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
60456
- * @public
60457
- * @method
60458
- * @override
60459
- * @memberof MJEntityDocumentEntity
60460
- * @returns {Promise<boolean>} - true if successful, false otherwise
60461
- */
60462
- Delete(options?: EntityDeleteOptions): Promise<boolean>;
60463
- /**
60464
62599
  * Validate() method override for MJ: Entity Documents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
60465
62600
  * * Table-Level: This rule ensures that both the Potential Match Threshold and the Absolute Match Threshold are numbers between 0 and 1, inclusive. Additionally, the Potential Match Threshold must not be higher than the Absolute Match Threshold.
60466
62601
  * @public
@@ -75997,6 +78132,39 @@ export declare class MJQueryEntity extends BaseEntity<MJQueryEntityType> {
75997
78132
  get EmbeddingVectorBinary(): string | null;
75998
78133
  set EmbeddingVectorBinary(value: string | null);
75999
78134
  /**
78135
+ * * Field Name: ApprovalComments
78136
+ * * Display Name: Approval Comments
78137
+ * * SQL Data Type: nvarchar(MAX)
78138
+ * * Description: Reviewer comments recorded with the approval decision, such as the tests the definition passed.
78139
+ */
78140
+ get ApprovalComments(): string | null;
78141
+ set ApprovalComments(value: string | null);
78142
+ /**
78143
+ * * Field Name: ApprovedByUserID
78144
+ * * Display Name: Approved By User ID
78145
+ * * SQL Data Type: uniqueidentifier
78146
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
78147
+ * * Description: The user who approved this query.
78148
+ */
78149
+ get ApprovedByUserID(): string | null;
78150
+ set ApprovedByUserID(value: string | null);
78151
+ /**
78152
+ * * Field Name: ApprovedAt
78153
+ * * Display Name: Approved At
78154
+ * * SQL Data Type: datetimeoffset
78155
+ * * Description: When this query was approved.
78156
+ */
78157
+ get ApprovedAt(): Date | null;
78158
+ set ApprovedAt(value: Date | null);
78159
+ /**
78160
+ * * Field Name: ApprovedFingerprint
78161
+ * * Display Name: Approved Fingerprint
78162
+ * * SQL Data Type: nvarchar(100)
78163
+ * * Description: SHA-256 fingerprint of the definition that was approved: its SQL, dialect variants and parameter contract. The approval is current only while this matches the fingerprint of the current definition.
78164
+ */
78165
+ get ApprovedFingerprint(): string | null;
78166
+ set ApprovedFingerprint(value: string | null);
78167
+ /**
76000
78168
  * * Field Name: Category
76001
78169
  * * Display Name: Category Name
76002
78170
  * * SQL Data Type: nvarchar(50)
@@ -76020,6 +78188,12 @@ export declare class MJQueryEntity extends BaseEntity<MJQueryEntityType> {
76020
78188
  * * SQL Data Type: nvarchar(100)
76021
78189
  */
76022
78190
  get ExternalDataSource(): string | null;
78191
+ /**
78192
+ * * Field Name: ApprovedByUser
78193
+ * * Display Name: Approved By User
78194
+ * * SQL Data Type: nvarchar(100)
78195
+ */
78196
+ get ApprovedByUser(): string | null;
76023
78197
  }
76024
78198
  /**
76025
78199
  * MJ: Query Categories - strongly typed entity sub-class
@@ -76375,6 +78549,15 @@ export declare class MJQueryEntityEntity extends BaseEntity<MJQueryEntityEntityT
76375
78549
  get AutoDetectConfidenceScore(): number | null;
76376
78550
  set AutoDetectConfidenceScore(value: number | null);
76377
78551
  /**
78552
+ * * Field Name: AlternateBaseViewID
78553
+ * * Display Name: Alternate Base View
78554
+ * * SQL Data Type: uniqueidentifier
78555
+ * * Related Entity/Foreign Key: MJ: Entity Alternate Base Views (vwEntityAlternateBaseViews.ID)
78556
+ * * Description: When this query references an alternate base view rather than the entity's primary BaseView, records the specific MJ: Entity Alternate Base Views row while EntityID continues to reference the owning entity.
78557
+ */
78558
+ get AlternateBaseViewID(): string | null;
78559
+ set AlternateBaseViewID(value: string | null);
78560
+ /**
76378
78561
  * * Field Name: Query
76379
78562
  * * Display Name: Query
76380
78563
  * * SQL Data Type: nvarchar(255)
@@ -76386,6 +78569,12 @@ export declare class MJQueryEntityEntity extends BaseEntity<MJQueryEntityEntityT
76386
78569
  * * SQL Data Type: nvarchar(255)
76387
78570
  */
76388
78571
  get Entity(): string;
78572
+ /**
78573
+ * * Field Name: AlternateBaseView
78574
+ * * Display Name: Alternate Base View Name
78575
+ * * SQL Data Type: nvarchar(100)
78576
+ */
78577
+ get AlternateBaseView(): string | null;
76389
78578
  }
76390
78579
  /**
76391
78580
  * MJ: Query Fields - strongly typed entity sub-class
@@ -76703,6 +78892,15 @@ export declare class MJQueryParameterEntity extends BaseEntity<MJQueryParameterE
76703
78892
  */
76704
78893
  get __mj_UpdatedAt(): Date;
76705
78894
  /**
78895
+ * * Field Name: IsServerSet
78896
+ * * Display Name: Is Server Set
78897
+ * * SQL Data Type: bit
78898
+ * * Default Value: 0
78899
+ * * Description: When true, only server code may supply this parameter's value (RunQueryParams.ServerParameters). A value for it from a client is refused.
78900
+ */
78901
+ get IsServerSet(): boolean;
78902
+ set IsServerSet(value: boolean);
78903
+ /**
76706
78904
  * * Field Name: Query
76707
78905
  * * Display Name: Query
76708
78906
  * * SQL Data Type: nvarchar(255)
@@ -79442,10 +81640,11 @@ export declare class MJRecordProcessEntity extends BaseEntity<MJRecordProcessEnt
79442
81640
  * * FieldRules
79443
81641
  * * Infer
79444
81642
  * * ML Model
81643
+ * * Pipeline Stage
79445
81644
  * * Description: Whether the work is an Action, an Agent, or an Infer (per-record AI Prompt). Agents are dispatched through the Execute Agent action and must be top-level + ExposeAsAction; Infer runs the AI Prompt named by PromptID for each record and writes its structured output back via OutputMapping.
79446
81645
  */
79447
- get WorkType(): 'Action' | 'Agent' | 'Clone' | 'FieldRules' | 'Infer' | 'ML Model';
79448
- set WorkType(value: 'Action' | 'Agent' | 'Clone' | 'FieldRules' | 'Infer' | 'ML Model');
81646
+ get WorkType(): 'Action' | 'Agent' | 'Clone' | 'FieldRules' | 'Infer' | 'ML Model' | 'Pipeline Stage';
81647
+ set WorkType(value: 'Action' | 'Agent' | 'Clone' | 'FieldRules' | 'Infer' | 'ML Model' | 'Pipeline Stage');
79449
81648
  /**
79450
81649
  * * Field Name: ActionID
79451
81650
  * * Display Name: Action
@@ -93765,6 +95964,12 @@ export interface MJUserViewEntity_IDisplayState {
93765
95964
  cards?: MJUserViewEntity_IDisplayCardState;
93766
95965
  /** Grid-specific configuration */
93767
95966
  grid?: MJUserViewEntity_IGridDisplayState;
95967
+ /**
95968
+ * Logical name of an alternate base view (`MJ: Entity Alternate Base Views.Name`)
95969
+ * that this view reads from. When omitted or null, the view reads from the
95970
+ * entity's primary `BaseView`.
95971
+ */
95972
+ alternateBaseView?: string;
93768
95973
  /**
93769
95974
  * Per-view-type configuration, one entry per view type the user has configured.
93770
95975
  * Keyed by the `MJ: View Types` row ID so each type (Grid, Cards, Timeline, Map,
@@ -93832,6 +96037,48 @@ export interface MJUserViewEntity_IGridDisplayState {
93832
96037
  /** Enable text wrapping in grid cells — long text wraps and rows auto-size */
93833
96038
  wrapText?: boolean;
93834
96039
  }
96040
+ /**
96041
+ * One declared property of a User View: a named, typed input that adds one
96042
+ * predicate on a target field when a run gives it a value or it has a default.
96043
+ *
96044
+ * Stored as a JSON array in the `Properties` column of the `User Views` entity.
96045
+ * The same shape is exported from `@memberjunction/core` as `UserViewProperty`,
96046
+ * with the resolver that works out token defaults.
96047
+ */
96048
+ export interface MJUserViewEntity_IUserViewProperty {
96049
+ /** Unique within the view. */
96050
+ Name: string;
96051
+ /** The value's type. A value of another type is refused. */
96052
+ Type: 'string' | 'number' | 'boolean' | 'date' | 'uuid';
96053
+ /** Shown to whoever sets the property. */
96054
+ Description?: string;
96055
+ /** Used when a run gives no value: a fixed value or a context token. */
96056
+ Default?: MJUserViewEntity_IUserViewPropertyDefault;
96057
+ /** True: a run with no value and no default is refused. */
96058
+ IsRequired?: boolean;
96059
+ /** False: only server code may set it, and a client value is refused. Default true. */
96060
+ AllowOverride?: boolean;
96061
+ /** The predicate the value drives. */
96062
+ Target: MJUserViewEntity_IUserViewPropertyTarget;
96063
+ }
96064
+ /** A fixed value, or a token worked out when the value is used. */
96065
+ export interface MJUserViewEntity_IUserViewPropertyDefault {
96066
+ /** A fixed value. Set this or Token, not both. */
96067
+ Value?: string | number | boolean | null;
96068
+ /** A context token, worked out from the context user and the clock. */
96069
+ Token?: 'Context.UserID' | 'Context.UserEmail' | 'Context.UserName' | 'Context.Now' | 'Context.Today' | 'Context.StartOfWeek' | 'Context.StartOfMonth' | 'Context.StartOfQuarter' | 'Context.StartOfYear';
96070
+ /** Moves a date token; refused on a user token. */
96071
+ Offset?: {
96072
+ Amount: number;
96073
+ Unit: 'day' | 'week' | 'month' | 'quarter' | 'year';
96074
+ };
96075
+ }
96076
+ /** The field a property filters and how. */
96077
+ export interface MJUserViewEntity_IUserViewPropertyTarget {
96078
+ /** A field of the view's entity. */
96079
+ Field: string;
96080
+ Operator: '=' | '<>' | 'IN' | '>' | '>=' | '<' | '<=';
96081
+ }
93835
96082
  /**
93836
96083
  * MJ: User Views - strongly typed entity sub-class
93837
96084
  * * Schema: __mj
@@ -94106,6 +96353,72 @@ export declare class MJUserViewEntity extends BaseEntity<MJUserViewEntityType> {
94106
96353
  get ViewTypeID(): string | null;
94107
96354
  set ViewTypeID(value: string | null);
94108
96355
  /**
96356
+ * * Field Name: Properties
96357
+ * * Display Name: Properties
96358
+ * * SQL Data Type: nvarchar(MAX)
96359
+ * * JSON Type: Array<MJUserViewEntity_IUserViewProperty>
96360
+ * * Description: JSON array of the view's declared properties: named, typed inputs, each of which adds one predicate on a target field when a run gives it a value or it has a default. A property with AllowOverride false may be set only by server code. Null for a view with no properties.
96361
+ */
96362
+ get Properties(): string | null;
96363
+ set Properties(value: string | null);
96364
+ /**
96365
+ * Typed accessor for Properties — a live view of the parsed JSON as Array<MJUserViewEntity_IUserViewProperty>.
96366
+ * Edits made through it, at any depth (`obj.a.b = 1`, `arr.push(x)`, `delete obj.k`), update the
96367
+ * underlying Properties field, so it becomes dirty and Save() persists them. If the raw value changes by
96368
+ * any other route (Load, Set, revert) the next read re-parses, and objects obtained earlier are
96369
+ * detached: writing through one throws. To clone, structuredClone or postMessage the value use
96370
+ * ToPlainJSON() from @memberjunction/core.
96371
+ */
96372
+ get PropertiesObject(): Array<MJUserViewEntity_IUserViewProperty> | null;
96373
+ set PropertiesObject(value: Array<MJUserViewEntity_IUserViewProperty> | null);
96374
+ /**
96375
+ * * Field Name: ApprovalStatus
96376
+ * * Display Name: Approval Status
96377
+ * * SQL Data Type: nvarchar(20)
96378
+ * * Default Value: Pending
96379
+ * * Value List Type: List
96380
+ * * Possible Values
96381
+ * * Approved
96382
+ * * Pending
96383
+ * * Rejected
96384
+ * * Description: Whether this view's definition is approved: Pending, Approved or Rejected. An approval is current only while ApprovedFingerprint matches the current definition.
96385
+ */
96386
+ get ApprovalStatus(): 'Approved' | 'Pending' | 'Rejected';
96387
+ set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
96388
+ /**
96389
+ * * Field Name: ApprovalComments
96390
+ * * Display Name: Approval Comments
96391
+ * * SQL Data Type: nvarchar(MAX)
96392
+ * * Description: Reviewer comments recorded with the approval decision, such as the tests the definition passed.
96393
+ */
96394
+ get ApprovalComments(): string | null;
96395
+ set ApprovalComments(value: string | null);
96396
+ /**
96397
+ * * Field Name: ApprovedByUserID
96398
+ * * Display Name: Approved By User ID
96399
+ * * SQL Data Type: uniqueidentifier
96400
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
96401
+ * * Description: The user who approved this view.
96402
+ */
96403
+ get ApprovedByUserID(): string | null;
96404
+ set ApprovedByUserID(value: string | null);
96405
+ /**
96406
+ * * Field Name: ApprovedAt
96407
+ * * Display Name: Approved At
96408
+ * * SQL Data Type: datetimeoffset
96409
+ * * Description: When this view was approved.
96410
+ */
96411
+ get ApprovedAt(): Date | null;
96412
+ set ApprovedAt(value: Date | null);
96413
+ /**
96414
+ * * Field Name: ApprovedFingerprint
96415
+ * * Display Name: Approved Fingerprint
96416
+ * * SQL Data Type: nvarchar(100)
96417
+ * * Description: SHA-256 fingerprint of the definition that was approved: its entity, filters and properties. The approval is current only while this matches the fingerprint of the current definition.
96418
+ */
96419
+ get ApprovedFingerprint(): string | null;
96420
+ set ApprovedFingerprint(value: string | null);
96421
+ /**
94109
96422
  * * Field Name: UserName
94110
96423
  * * Display Name: User Name
94111
96424
  * * SQL Data Type: nvarchar(100)