@memberjunction/core-entities 5.6.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4676,6 +4676,121 @@ export declare const MJCompanySchema: z.ZodObject<{
|
|
|
4676
4676
|
Domain?: string;
|
|
4677
4677
|
}>;
|
|
4678
4678
|
export type MJCompanyEntityType = z.infer<typeof MJCompanySchema>;
|
|
4679
|
+
/**
|
|
4680
|
+
* zod schema definition for the entity MJ: Company Integration Entity Maps
|
|
4681
|
+
*/
|
|
4682
|
+
export declare const MJCompanyIntegrationEntityMapSchema: z.ZodObject<{
|
|
4683
|
+
ID: z.ZodString;
|
|
4684
|
+
CompanyIntegrationID: z.ZodString;
|
|
4685
|
+
ExternalObjectName: z.ZodString;
|
|
4686
|
+
ExternalObjectLabel: z.ZodNullable<z.ZodString>;
|
|
4687
|
+
EntityID: z.ZodString;
|
|
4688
|
+
SyncDirection: z.ZodUnion<[z.ZodLiteral<"Bidirectional">, z.ZodLiteral<"Pull">, z.ZodLiteral<"Push">]>;
|
|
4689
|
+
SyncEnabled: z.ZodBoolean;
|
|
4690
|
+
MatchStrategy: z.ZodNullable<z.ZodString>;
|
|
4691
|
+
ConflictResolution: z.ZodUnion<[z.ZodLiteral<"DestWins">, z.ZodLiteral<"Manual">, z.ZodLiteral<"MostRecent">, z.ZodLiteral<"SourceWins">]>;
|
|
4692
|
+
Priority: z.ZodNumber;
|
|
4693
|
+
DeleteBehavior: z.ZodUnion<[z.ZodLiteral<"DoNothing">, z.ZodLiteral<"HardDelete">, z.ZodLiteral<"SoftDelete">]>;
|
|
4694
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
|
|
4695
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
4696
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4697
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4698
|
+
CompanyIntegration: z.ZodString;
|
|
4699
|
+
Entity: z.ZodString;
|
|
4700
|
+
}, "strip", z.ZodTypeAny, {
|
|
4701
|
+
ID?: string;
|
|
4702
|
+
EntityID?: string;
|
|
4703
|
+
__mj_CreatedAt?: Date;
|
|
4704
|
+
__mj_UpdatedAt?: Date;
|
|
4705
|
+
Entity?: string;
|
|
4706
|
+
Status?: "Active" | "Inactive";
|
|
4707
|
+
Priority?: number;
|
|
4708
|
+
Configuration?: string;
|
|
4709
|
+
CompanyIntegrationID?: string;
|
|
4710
|
+
ExternalObjectName?: string;
|
|
4711
|
+
ExternalObjectLabel?: string;
|
|
4712
|
+
SyncDirection?: "Bidirectional" | "Pull" | "Push";
|
|
4713
|
+
SyncEnabled?: boolean;
|
|
4714
|
+
MatchStrategy?: string;
|
|
4715
|
+
ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
|
|
4716
|
+
DeleteBehavior?: "DoNothing" | "HardDelete" | "SoftDelete";
|
|
4717
|
+
CompanyIntegration?: string;
|
|
4718
|
+
}, {
|
|
4719
|
+
ID?: string;
|
|
4720
|
+
EntityID?: string;
|
|
4721
|
+
__mj_CreatedAt?: Date;
|
|
4722
|
+
__mj_UpdatedAt?: Date;
|
|
4723
|
+
Entity?: string;
|
|
4724
|
+
Status?: "Active" | "Inactive";
|
|
4725
|
+
Priority?: number;
|
|
4726
|
+
Configuration?: string;
|
|
4727
|
+
CompanyIntegrationID?: string;
|
|
4728
|
+
ExternalObjectName?: string;
|
|
4729
|
+
ExternalObjectLabel?: string;
|
|
4730
|
+
SyncDirection?: "Bidirectional" | "Pull" | "Push";
|
|
4731
|
+
SyncEnabled?: boolean;
|
|
4732
|
+
MatchStrategy?: string;
|
|
4733
|
+
ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
|
|
4734
|
+
DeleteBehavior?: "DoNothing" | "HardDelete" | "SoftDelete";
|
|
4735
|
+
CompanyIntegration?: string;
|
|
4736
|
+
}>;
|
|
4737
|
+
export type MJCompanyIntegrationEntityMapEntityType = z.infer<typeof MJCompanyIntegrationEntityMapSchema>;
|
|
4738
|
+
/**
|
|
4739
|
+
* zod schema definition for the entity MJ: Company Integration Field Maps
|
|
4740
|
+
*/
|
|
4741
|
+
export declare const MJCompanyIntegrationFieldMapSchema: z.ZodObject<{
|
|
4742
|
+
ID: z.ZodString;
|
|
4743
|
+
EntityMapID: z.ZodString;
|
|
4744
|
+
SourceFieldName: z.ZodString;
|
|
4745
|
+
SourceFieldLabel: z.ZodNullable<z.ZodString>;
|
|
4746
|
+
DestinationFieldName: z.ZodString;
|
|
4747
|
+
DestinationFieldLabel: z.ZodNullable<z.ZodString>;
|
|
4748
|
+
Direction: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"DestToSource">, z.ZodLiteral<"SourceToDest">]>;
|
|
4749
|
+
TransformPipeline: z.ZodNullable<z.ZodString>;
|
|
4750
|
+
IsKeyField: z.ZodBoolean;
|
|
4751
|
+
IsRequired: z.ZodBoolean;
|
|
4752
|
+
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
4753
|
+
Priority: z.ZodNumber;
|
|
4754
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
|
|
4755
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4756
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4757
|
+
EntityMap: z.ZodString;
|
|
4758
|
+
}, "strip", z.ZodTypeAny, {
|
|
4759
|
+
ID?: string;
|
|
4760
|
+
__mj_CreatedAt?: Date;
|
|
4761
|
+
__mj_UpdatedAt?: Date;
|
|
4762
|
+
Status?: "Active" | "Inactive";
|
|
4763
|
+
DefaultValue?: string;
|
|
4764
|
+
IsRequired?: boolean;
|
|
4765
|
+
Priority?: number;
|
|
4766
|
+
Direction?: "Both" | "DestToSource" | "SourceToDest";
|
|
4767
|
+
EntityMapID?: string;
|
|
4768
|
+
SourceFieldName?: string;
|
|
4769
|
+
SourceFieldLabel?: string;
|
|
4770
|
+
DestinationFieldName?: string;
|
|
4771
|
+
DestinationFieldLabel?: string;
|
|
4772
|
+
TransformPipeline?: string;
|
|
4773
|
+
IsKeyField?: boolean;
|
|
4774
|
+
EntityMap?: string;
|
|
4775
|
+
}, {
|
|
4776
|
+
ID?: string;
|
|
4777
|
+
__mj_CreatedAt?: Date;
|
|
4778
|
+
__mj_UpdatedAt?: Date;
|
|
4779
|
+
Status?: "Active" | "Inactive";
|
|
4780
|
+
DefaultValue?: string;
|
|
4781
|
+
IsRequired?: boolean;
|
|
4782
|
+
Priority?: number;
|
|
4783
|
+
Direction?: "Both" | "DestToSource" | "SourceToDest";
|
|
4784
|
+
EntityMapID?: string;
|
|
4785
|
+
SourceFieldName?: string;
|
|
4786
|
+
SourceFieldLabel?: string;
|
|
4787
|
+
DestinationFieldName?: string;
|
|
4788
|
+
DestinationFieldLabel?: string;
|
|
4789
|
+
TransformPipeline?: string;
|
|
4790
|
+
IsKeyField?: boolean;
|
|
4791
|
+
EntityMap?: string;
|
|
4792
|
+
}>;
|
|
4793
|
+
export type MJCompanyIntegrationFieldMapEntityType = z.infer<typeof MJCompanyIntegrationFieldMapSchema>;
|
|
4679
4794
|
/**
|
|
4680
4795
|
* zod schema definition for the entity MJ: Company Integration Record Maps
|
|
4681
4796
|
*/
|
|
@@ -4696,9 +4811,9 @@ export declare const MJCompanyIntegrationRecordMapSchema: z.ZodObject<{
|
|
|
4696
4811
|
__mj_UpdatedAt?: Date;
|
|
4697
4812
|
Entity?: string;
|
|
4698
4813
|
CompanyIntegrationID?: string;
|
|
4814
|
+
CompanyIntegration?: string;
|
|
4699
4815
|
ExternalSystemRecordID?: string;
|
|
4700
4816
|
EntityRecordID?: string;
|
|
4701
|
-
CompanyIntegration?: string;
|
|
4702
4817
|
}, {
|
|
4703
4818
|
ID?: string;
|
|
4704
4819
|
EntityID?: string;
|
|
@@ -4706,9 +4821,9 @@ export declare const MJCompanyIntegrationRecordMapSchema: z.ZodObject<{
|
|
|
4706
4821
|
__mj_UpdatedAt?: Date;
|
|
4707
4822
|
Entity?: string;
|
|
4708
4823
|
CompanyIntegrationID?: string;
|
|
4824
|
+
CompanyIntegration?: string;
|
|
4709
4825
|
ExternalSystemRecordID?: string;
|
|
4710
4826
|
EntityRecordID?: string;
|
|
4711
|
-
CompanyIntegration?: string;
|
|
4712
4827
|
}>;
|
|
4713
4828
|
export type MJCompanyIntegrationRecordMapEntityType = z.infer<typeof MJCompanyIntegrationRecordMapSchema>;
|
|
4714
4829
|
/**
|
|
@@ -4846,6 +4961,44 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
|
|
|
4846
4961
|
RunByUser?: string;
|
|
4847
4962
|
}>;
|
|
4848
4963
|
export type MJCompanyIntegrationRunEntityType = z.infer<typeof MJCompanyIntegrationRunSchema>;
|
|
4964
|
+
/**
|
|
4965
|
+
* zod schema definition for the entity MJ: Company Integration Sync Watermarks
|
|
4966
|
+
*/
|
|
4967
|
+
export declare const MJCompanyIntegrationSyncWatermarkSchema: z.ZodObject<{
|
|
4968
|
+
ID: z.ZodString;
|
|
4969
|
+
EntityMapID: z.ZodString;
|
|
4970
|
+
Direction: z.ZodUnion<[z.ZodLiteral<"Pull">, z.ZodLiteral<"Push">]>;
|
|
4971
|
+
WatermarkType: z.ZodUnion<[z.ZodLiteral<"ChangeToken">, z.ZodLiteral<"Cursor">, z.ZodLiteral<"Timestamp">, z.ZodLiteral<"Version">]>;
|
|
4972
|
+
WatermarkValue: z.ZodNullable<z.ZodString>;
|
|
4973
|
+
LastSyncAt: z.ZodNullable<z.ZodDate>;
|
|
4974
|
+
RecordsSynced: z.ZodNumber;
|
|
4975
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4976
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4977
|
+
EntityMap: z.ZodString;
|
|
4978
|
+
}, "strip", z.ZodTypeAny, {
|
|
4979
|
+
ID?: string;
|
|
4980
|
+
__mj_CreatedAt?: Date;
|
|
4981
|
+
__mj_UpdatedAt?: Date;
|
|
4982
|
+
Direction?: "Pull" | "Push";
|
|
4983
|
+
EntityMapID?: string;
|
|
4984
|
+
EntityMap?: string;
|
|
4985
|
+
WatermarkType?: "ChangeToken" | "Cursor" | "Timestamp" | "Version";
|
|
4986
|
+
WatermarkValue?: string;
|
|
4987
|
+
LastSyncAt?: Date;
|
|
4988
|
+
RecordsSynced?: number;
|
|
4989
|
+
}, {
|
|
4990
|
+
ID?: string;
|
|
4991
|
+
__mj_CreatedAt?: Date;
|
|
4992
|
+
__mj_UpdatedAt?: Date;
|
|
4993
|
+
Direction?: "Pull" | "Push";
|
|
4994
|
+
EntityMapID?: string;
|
|
4995
|
+
EntityMap?: string;
|
|
4996
|
+
WatermarkType?: "ChangeToken" | "Cursor" | "Timestamp" | "Version";
|
|
4997
|
+
WatermarkValue?: string;
|
|
4998
|
+
LastSyncAt?: Date;
|
|
4999
|
+
RecordsSynced?: number;
|
|
5000
|
+
}>;
|
|
5001
|
+
export type MJCompanyIntegrationSyncWatermarkEntityType = z.infer<typeof MJCompanyIntegrationSyncWatermarkSchema>;
|
|
4849
5002
|
/**
|
|
4850
5003
|
* zod schema definition for the entity MJ: Company Integrations
|
|
4851
5004
|
*/
|
|
@@ -4866,6 +5019,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4866
5019
|
__mj_CreatedAt: z.ZodDate;
|
|
4867
5020
|
__mj_UpdatedAt: z.ZodDate;
|
|
4868
5021
|
Name: z.ZodString;
|
|
5022
|
+
SourceTypeID: z.ZodNullable<z.ZodString>;
|
|
5023
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
5024
|
+
CredentialID: z.ZodNullable<z.ZodString>;
|
|
4869
5025
|
Company: z.ZodString;
|
|
4870
5026
|
Integration: z.ZodString;
|
|
4871
5027
|
DriverClassName: z.ZodNullable<z.ZodString>;
|
|
@@ -4881,7 +5037,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4881
5037
|
IsActive?: boolean;
|
|
4882
5038
|
CompanyID?: string;
|
|
4883
5039
|
Company?: string;
|
|
5040
|
+
Configuration?: string;
|
|
4884
5041
|
LastRunID?: string;
|
|
5042
|
+
CredentialID?: string;
|
|
4885
5043
|
DriverImportPath?: string;
|
|
4886
5044
|
APIKey?: string;
|
|
4887
5045
|
Integration?: string;
|
|
@@ -4894,6 +5052,7 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4894
5052
|
ClientID?: string;
|
|
4895
5053
|
ClientSecret?: string;
|
|
4896
5054
|
CustomAttribute1?: string;
|
|
5055
|
+
SourceTypeID?: string;
|
|
4897
5056
|
DriverClassName?: string;
|
|
4898
5057
|
LastRunStartedAt?: Date;
|
|
4899
5058
|
LastRunEndedAt?: Date;
|
|
@@ -4905,7 +5064,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4905
5064
|
IsActive?: boolean;
|
|
4906
5065
|
CompanyID?: string;
|
|
4907
5066
|
Company?: string;
|
|
5067
|
+
Configuration?: string;
|
|
4908
5068
|
LastRunID?: string;
|
|
5069
|
+
CredentialID?: string;
|
|
4909
5070
|
DriverImportPath?: string;
|
|
4910
5071
|
APIKey?: string;
|
|
4911
5072
|
Integration?: string;
|
|
@@ -4918,6 +5079,7 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4918
5079
|
ClientID?: string;
|
|
4919
5080
|
ClientSecret?: string;
|
|
4920
5081
|
CustomAttribute1?: string;
|
|
5082
|
+
SourceTypeID?: string;
|
|
4921
5083
|
DriverClassName?: string;
|
|
4922
5084
|
LastRunStartedAt?: Date;
|
|
4923
5085
|
LastRunEndedAt?: Date;
|
|
@@ -6769,8 +6931,8 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
6769
6931
|
__mj_UpdatedAt?: Date;
|
|
6770
6932
|
IsActive?: boolean;
|
|
6771
6933
|
CompanyIntegrationID?: string;
|
|
6772
|
-
ExternalSystemRecordID?: string;
|
|
6773
6934
|
CompanyIntegration?: string;
|
|
6935
|
+
ExternalSystemRecordID?: string;
|
|
6774
6936
|
EmployeeID?: string;
|
|
6775
6937
|
Employee?: string;
|
|
6776
6938
|
}, {
|
|
@@ -6779,8 +6941,8 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
6779
6941
|
__mj_UpdatedAt?: Date;
|
|
6780
6942
|
IsActive?: boolean;
|
|
6781
6943
|
CompanyIntegrationID?: string;
|
|
6782
|
-
ExternalSystemRecordID?: string;
|
|
6783
6944
|
CompanyIntegration?: string;
|
|
6945
|
+
ExternalSystemRecordID?: string;
|
|
6784
6946
|
EmployeeID?: string;
|
|
6785
6947
|
Employee?: string;
|
|
6786
6948
|
}>;
|
|
@@ -8612,6 +8774,38 @@ export declare const MJGeneratedCodeSchema: z.ZodObject<{
|
|
|
8612
8774
|
GeneratedByModel?: string;
|
|
8613
8775
|
}>;
|
|
8614
8776
|
export type MJGeneratedCodeEntityType = z.infer<typeof MJGeneratedCodeSchema>;
|
|
8777
|
+
/**
|
|
8778
|
+
* zod schema definition for the entity MJ: Integration Source Types
|
|
8779
|
+
*/
|
|
8780
|
+
export declare const MJIntegrationSourceTypeSchema: z.ZodObject<{
|
|
8781
|
+
ID: z.ZodString;
|
|
8782
|
+
Name: z.ZodString;
|
|
8783
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
8784
|
+
DriverClass: z.ZodString;
|
|
8785
|
+
IconClass: z.ZodNullable<z.ZodString>;
|
|
8786
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
|
|
8787
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8788
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8789
|
+
}, "strip", z.ZodTypeAny, {
|
|
8790
|
+
ID?: string;
|
|
8791
|
+
__mj_CreatedAt?: Date;
|
|
8792
|
+
__mj_UpdatedAt?: Date;
|
|
8793
|
+
Name?: string;
|
|
8794
|
+
Description?: string;
|
|
8795
|
+
Status?: "Active" | "Inactive";
|
|
8796
|
+
DriverClass?: string;
|
|
8797
|
+
IconClass?: string;
|
|
8798
|
+
}, {
|
|
8799
|
+
ID?: string;
|
|
8800
|
+
__mj_CreatedAt?: Date;
|
|
8801
|
+
__mj_UpdatedAt?: Date;
|
|
8802
|
+
Name?: string;
|
|
8803
|
+
Description?: string;
|
|
8804
|
+
Status?: "Active" | "Inactive";
|
|
8805
|
+
DriverClass?: string;
|
|
8806
|
+
IconClass?: string;
|
|
8807
|
+
}>;
|
|
8808
|
+
export type MJIntegrationSourceTypeEntityType = z.infer<typeof MJIntegrationSourceTypeSchema>;
|
|
8615
8809
|
/**
|
|
8616
8810
|
* zod schema definition for the entity MJ: Integration URL Formats
|
|
8617
8811
|
*/
|
|
@@ -8664,12 +8858,16 @@ export declare const MJIntegrationSchema: z.ZodObject<{
|
|
|
8664
8858
|
__mj_CreatedAt: z.ZodDate;
|
|
8665
8859
|
__mj_UpdatedAt: z.ZodDate;
|
|
8666
8860
|
ID: z.ZodString;
|
|
8861
|
+
CredentialTypeID: z.ZodNullable<z.ZodString>;
|
|
8862
|
+
CredentialType: z.ZodNullable<z.ZodString>;
|
|
8667
8863
|
}, "strip", z.ZodTypeAny, {
|
|
8668
8864
|
ID?: string;
|
|
8669
8865
|
__mj_CreatedAt?: Date;
|
|
8670
8866
|
__mj_UpdatedAt?: Date;
|
|
8671
8867
|
Name?: string;
|
|
8672
8868
|
Description?: string;
|
|
8869
|
+
CredentialTypeID?: string;
|
|
8870
|
+
CredentialType?: string;
|
|
8673
8871
|
ClassName?: string;
|
|
8674
8872
|
NavigationBaseURL?: string;
|
|
8675
8873
|
ImportPath?: string;
|
|
@@ -8681,6 +8879,8 @@ export declare const MJIntegrationSchema: z.ZodObject<{
|
|
|
8681
8879
|
__mj_UpdatedAt?: Date;
|
|
8682
8880
|
Name?: string;
|
|
8683
8881
|
Description?: string;
|
|
8882
|
+
CredentialTypeID?: string;
|
|
8883
|
+
CredentialType?: string;
|
|
8684
8884
|
ClassName?: string;
|
|
8685
8885
|
NavigationBaseURL?: string;
|
|
8686
8886
|
ImportPath?: string;
|
|
@@ -8932,8 +9132,8 @@ export declare const MJListSchema: z.ZodObject<{
|
|
|
8932
9132
|
CategoryID?: string;
|
|
8933
9133
|
Category?: string;
|
|
8934
9134
|
CompanyIntegrationID?: string;
|
|
8935
|
-
ExternalSystemRecordID?: string;
|
|
8936
9135
|
CompanyIntegration?: string;
|
|
9136
|
+
ExternalSystemRecordID?: string;
|
|
8937
9137
|
}, {
|
|
8938
9138
|
ID?: string;
|
|
8939
9139
|
EntityID?: string;
|
|
@@ -8947,8 +9147,8 @@ export declare const MJListSchema: z.ZodObject<{
|
|
|
8947
9147
|
CategoryID?: string;
|
|
8948
9148
|
Category?: string;
|
|
8949
9149
|
CompanyIntegrationID?: string;
|
|
8950
|
-
ExternalSystemRecordID?: string;
|
|
8951
9150
|
CompanyIntegration?: string;
|
|
9151
|
+
ExternalSystemRecordID?: string;
|
|
8952
9152
|
}>;
|
|
8953
9153
|
export type MJListEntityType = z.infer<typeof MJListSchema>;
|
|
8954
9154
|
/**
|
|
@@ -9209,12 +9409,12 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
9209
9409
|
IconClass?: string;
|
|
9210
9410
|
CredentialTypeID?: string;
|
|
9211
9411
|
CredentialType?: string;
|
|
9412
|
+
LastSyncAt?: Date;
|
|
9212
9413
|
ServerURL?: string;
|
|
9213
9414
|
Command?: string;
|
|
9214
9415
|
CommandArgs?: string;
|
|
9215
9416
|
TransportType?: string;
|
|
9216
9417
|
DefaultAuthType?: string;
|
|
9217
|
-
LastSyncAt?: Date;
|
|
9218
9418
|
RateLimitPerMinute?: number;
|
|
9219
9419
|
RateLimitPerHour?: number;
|
|
9220
9420
|
ConnectionTimeoutMs?: number;
|
|
@@ -9236,12 +9436,12 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
9236
9436
|
IconClass?: string;
|
|
9237
9437
|
CredentialTypeID?: string;
|
|
9238
9438
|
CredentialType?: string;
|
|
9439
|
+
LastSyncAt?: Date;
|
|
9239
9440
|
ServerURL?: string;
|
|
9240
9441
|
Command?: string;
|
|
9241
9442
|
CommandArgs?: string;
|
|
9242
9443
|
TransportType?: string;
|
|
9243
9444
|
DefaultAuthType?: string;
|
|
9244
|
-
LastSyncAt?: Date;
|
|
9245
9445
|
RateLimitPerMinute?: number;
|
|
9246
9446
|
RateLimitPerHour?: number;
|
|
9247
9447
|
ConnectionTimeoutMs?: number;
|
|
@@ -10056,7 +10256,7 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
|
|
|
10056
10256
|
Entity?: string;
|
|
10057
10257
|
QueryID?: string;
|
|
10058
10258
|
Query?: string;
|
|
10059
|
-
DetectionMethod?: "
|
|
10259
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10060
10260
|
AutoDetectConfidenceScore?: number;
|
|
10061
10261
|
}, {
|
|
10062
10262
|
ID?: string;
|
|
@@ -10066,7 +10266,7 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
|
|
|
10066
10266
|
Entity?: string;
|
|
10067
10267
|
QueryID?: string;
|
|
10068
10268
|
Query?: string;
|
|
10069
|
-
DetectionMethod?: "
|
|
10269
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10070
10270
|
AutoDetectConfidenceScore?: number;
|
|
10071
10271
|
}>;
|
|
10072
10272
|
export type MJQueryEntityEntityType = z.infer<typeof MJQueryEntitySchema>;
|
|
@@ -10100,14 +10300,14 @@ export declare const MJQueryFieldSchema: z.ZodObject<{
|
|
|
10100
10300
|
Name?: string;
|
|
10101
10301
|
Description?: string;
|
|
10102
10302
|
Sequence?: number;
|
|
10303
|
+
SourceFieldName?: string;
|
|
10103
10304
|
QueryID?: string;
|
|
10104
10305
|
Query?: string;
|
|
10105
|
-
DetectionMethod?: "
|
|
10306
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10106
10307
|
AutoDetectConfidenceScore?: number;
|
|
10107
10308
|
SQLBaseType?: string;
|
|
10108
10309
|
SQLFullType?: string;
|
|
10109
10310
|
SourceEntityID?: string;
|
|
10110
|
-
SourceFieldName?: string;
|
|
10111
10311
|
IsComputed?: boolean;
|
|
10112
10312
|
ComputationDescription?: string;
|
|
10113
10313
|
IsSummary?: boolean;
|
|
@@ -10120,14 +10320,14 @@ export declare const MJQueryFieldSchema: z.ZodObject<{
|
|
|
10120
10320
|
Name?: string;
|
|
10121
10321
|
Description?: string;
|
|
10122
10322
|
Sequence?: number;
|
|
10323
|
+
SourceFieldName?: string;
|
|
10123
10324
|
QueryID?: string;
|
|
10124
10325
|
Query?: string;
|
|
10125
|
-
DetectionMethod?: "
|
|
10326
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10126
10327
|
AutoDetectConfidenceScore?: number;
|
|
10127
10328
|
SQLBaseType?: string;
|
|
10128
10329
|
SQLFullType?: string;
|
|
10129
10330
|
SourceEntityID?: string;
|
|
10130
|
-
SourceFieldName?: string;
|
|
10131
10331
|
IsComputed?: boolean;
|
|
10132
10332
|
ComputationDescription?: string;
|
|
10133
10333
|
IsSummary?: boolean;
|
|
@@ -10164,7 +10364,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
|
|
|
10164
10364
|
IsRequired?: boolean;
|
|
10165
10365
|
QueryID?: string;
|
|
10166
10366
|
Query?: string;
|
|
10167
|
-
DetectionMethod?: "
|
|
10367
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10168
10368
|
AutoDetectConfidenceScore?: number;
|
|
10169
10369
|
SampleValue?: string;
|
|
10170
10370
|
ValidationFilters?: string;
|
|
@@ -10179,7 +10379,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
|
|
|
10179
10379
|
IsRequired?: boolean;
|
|
10180
10380
|
QueryID?: string;
|
|
10181
10381
|
Query?: string;
|
|
10182
|
-
DetectionMethod?: "
|
|
10382
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10183
10383
|
AutoDetectConfidenceScore?: number;
|
|
10184
10384
|
SampleValue?: string;
|
|
10185
10385
|
ValidationFilters?: string;
|
|
@@ -27373,6 +27573,350 @@ export declare class MJCompanyEntity extends BaseEntity<MJCompanyEntityType> {
|
|
|
27373
27573
|
*/
|
|
27374
27574
|
get __mj_UpdatedAt(): Date;
|
|
27375
27575
|
}
|
|
27576
|
+
/**
|
|
27577
|
+
* MJ: Company Integration Entity Maps - strongly typed entity sub-class
|
|
27578
|
+
* * Schema: __mj
|
|
27579
|
+
* * Base Table: CompanyIntegrationEntityMap
|
|
27580
|
+
* * Base View: vwCompanyIntegrationEntityMaps
|
|
27581
|
+
* * @description Maps an external object from a company integration to a MemberJunction entity, controlling sync direction, matching, and conflict resolution.
|
|
27582
|
+
* * Primary Key: ID
|
|
27583
|
+
* @extends {BaseEntity}
|
|
27584
|
+
* @class
|
|
27585
|
+
* @public
|
|
27586
|
+
*/
|
|
27587
|
+
export declare class MJCompanyIntegrationEntityMapEntity extends BaseEntity<MJCompanyIntegrationEntityMapEntityType> {
|
|
27588
|
+
/**
|
|
27589
|
+
* Loads the MJ: Company Integration Entity Maps record from the database
|
|
27590
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Entity Maps record.
|
|
27591
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
27592
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27593
|
+
* @public
|
|
27594
|
+
* @async
|
|
27595
|
+
* @memberof MJCompanyIntegrationEntityMapEntity
|
|
27596
|
+
* @method
|
|
27597
|
+
* @override
|
|
27598
|
+
*/
|
|
27599
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27600
|
+
/**
|
|
27601
|
+
* * Field Name: ID
|
|
27602
|
+
* * Display Name: ID
|
|
27603
|
+
* * SQL Data Type: uniqueidentifier
|
|
27604
|
+
* * Default Value: newsequentialid()
|
|
27605
|
+
*/
|
|
27606
|
+
get ID(): string;
|
|
27607
|
+
set ID(value: string);
|
|
27608
|
+
/**
|
|
27609
|
+
* * Field Name: CompanyIntegrationID
|
|
27610
|
+
* * Display Name: Company Integration
|
|
27611
|
+
* * SQL Data Type: uniqueidentifier
|
|
27612
|
+
* * Related Entity/Foreign Key: MJ: Company Integrations (vwCompanyIntegrations.ID)
|
|
27613
|
+
*/
|
|
27614
|
+
get CompanyIntegrationID(): string;
|
|
27615
|
+
set CompanyIntegrationID(value: string);
|
|
27616
|
+
/**
|
|
27617
|
+
* * Field Name: ExternalObjectName
|
|
27618
|
+
* * Display Name: External Object Name
|
|
27619
|
+
* * SQL Data Type: nvarchar(500)
|
|
27620
|
+
* * Description: The name of the object in the external system (e.g. table name, API resource name).
|
|
27621
|
+
*/
|
|
27622
|
+
get ExternalObjectName(): string;
|
|
27623
|
+
set ExternalObjectName(value: string);
|
|
27624
|
+
/**
|
|
27625
|
+
* * Field Name: ExternalObjectLabel
|
|
27626
|
+
* * Display Name: External Object Label
|
|
27627
|
+
* * SQL Data Type: nvarchar(500)
|
|
27628
|
+
* * Description: Optional human-friendly label for the external object.
|
|
27629
|
+
*/
|
|
27630
|
+
get ExternalObjectLabel(): string | null;
|
|
27631
|
+
set ExternalObjectLabel(value: string | null);
|
|
27632
|
+
/**
|
|
27633
|
+
* * Field Name: EntityID
|
|
27634
|
+
* * Display Name: Entity
|
|
27635
|
+
* * SQL Data Type: uniqueidentifier
|
|
27636
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
27637
|
+
*/
|
|
27638
|
+
get EntityID(): string;
|
|
27639
|
+
set EntityID(value: string);
|
|
27640
|
+
/**
|
|
27641
|
+
* * Field Name: SyncDirection
|
|
27642
|
+
* * Display Name: Sync Direction
|
|
27643
|
+
* * SQL Data Type: nvarchar(50)
|
|
27644
|
+
* * Default Value: Pull
|
|
27645
|
+
* * Value List Type: List
|
|
27646
|
+
* * Possible Values
|
|
27647
|
+
* * Bidirectional
|
|
27648
|
+
* * Pull
|
|
27649
|
+
* * Push
|
|
27650
|
+
* * Description: Whether data flows from external to MJ (Pull), MJ to external (Push), or both.
|
|
27651
|
+
*/
|
|
27652
|
+
get SyncDirection(): 'Bidirectional' | 'Pull' | 'Push';
|
|
27653
|
+
set SyncDirection(value: 'Bidirectional' | 'Pull' | 'Push');
|
|
27654
|
+
/**
|
|
27655
|
+
* * Field Name: SyncEnabled
|
|
27656
|
+
* * Display Name: Sync Enabled
|
|
27657
|
+
* * SQL Data Type: bit
|
|
27658
|
+
* * Default Value: 1
|
|
27659
|
+
* * Description: When true, this entity map is included in sync runs.
|
|
27660
|
+
*/
|
|
27661
|
+
get SyncEnabled(): boolean;
|
|
27662
|
+
set SyncEnabled(value: boolean);
|
|
27663
|
+
/**
|
|
27664
|
+
* * Field Name: MatchStrategy
|
|
27665
|
+
* * Display Name: Match Strategy
|
|
27666
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27667
|
+
* * Description: JSON configuration for the match engine describing how to identify existing records (key fields, fuzzy thresholds, etc.).
|
|
27668
|
+
*/
|
|
27669
|
+
get MatchStrategy(): string | null;
|
|
27670
|
+
set MatchStrategy(value: string | null);
|
|
27671
|
+
/**
|
|
27672
|
+
* * Field Name: ConflictResolution
|
|
27673
|
+
* * Display Name: Conflict Resolution
|
|
27674
|
+
* * SQL Data Type: nvarchar(50)
|
|
27675
|
+
* * Default Value: SourceWins
|
|
27676
|
+
* * Value List Type: List
|
|
27677
|
+
* * Possible Values
|
|
27678
|
+
* * DestWins
|
|
27679
|
+
* * Manual
|
|
27680
|
+
* * MostRecent
|
|
27681
|
+
* * SourceWins
|
|
27682
|
+
* * Description: How to handle conflicts when both source and destination have been modified. SourceWins, DestWins, MostRecent, or Manual.
|
|
27683
|
+
*/
|
|
27684
|
+
get ConflictResolution(): 'DestWins' | 'Manual' | 'MostRecent' | 'SourceWins';
|
|
27685
|
+
set ConflictResolution(value: 'DestWins' | 'Manual' | 'MostRecent' | 'SourceWins');
|
|
27686
|
+
/**
|
|
27687
|
+
* * Field Name: Priority
|
|
27688
|
+
* * Display Name: Priority
|
|
27689
|
+
* * SQL Data Type: int
|
|
27690
|
+
* * Default Value: 0
|
|
27691
|
+
* * Description: Processing order when multiple entity maps exist. Lower numbers are processed first.
|
|
27692
|
+
*/
|
|
27693
|
+
get Priority(): number;
|
|
27694
|
+
set Priority(value: number);
|
|
27695
|
+
/**
|
|
27696
|
+
* * Field Name: DeleteBehavior
|
|
27697
|
+
* * Display Name: Delete Behavior
|
|
27698
|
+
* * SQL Data Type: nvarchar(50)
|
|
27699
|
+
* * Default Value: SoftDelete
|
|
27700
|
+
* * Value List Type: List
|
|
27701
|
+
* * Possible Values
|
|
27702
|
+
* * DoNothing
|
|
27703
|
+
* * HardDelete
|
|
27704
|
+
* * SoftDelete
|
|
27705
|
+
* * Description: How to handle records that no longer exist in the source. SoftDelete, DoNothing, or HardDelete.
|
|
27706
|
+
*/
|
|
27707
|
+
get DeleteBehavior(): 'DoNothing' | 'HardDelete' | 'SoftDelete';
|
|
27708
|
+
set DeleteBehavior(value: 'DoNothing' | 'HardDelete' | 'SoftDelete');
|
|
27709
|
+
/**
|
|
27710
|
+
* * Field Name: Status
|
|
27711
|
+
* * Display Name: Status
|
|
27712
|
+
* * SQL Data Type: nvarchar(50)
|
|
27713
|
+
* * Default Value: Active
|
|
27714
|
+
* * Value List Type: List
|
|
27715
|
+
* * Possible Values
|
|
27716
|
+
* * Active
|
|
27717
|
+
* * Inactive
|
|
27718
|
+
* * Description: Whether this entity map is Active or Inactive.
|
|
27719
|
+
*/
|
|
27720
|
+
get Status(): 'Active' | 'Inactive';
|
|
27721
|
+
set Status(value: 'Active' | 'Inactive');
|
|
27722
|
+
/**
|
|
27723
|
+
* * Field Name: Configuration
|
|
27724
|
+
* * Display Name: Configuration
|
|
27725
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27726
|
+
* * Description: Optional JSON configuration specific to this entity mapping.
|
|
27727
|
+
*/
|
|
27728
|
+
get Configuration(): string | null;
|
|
27729
|
+
set Configuration(value: string | null);
|
|
27730
|
+
/**
|
|
27731
|
+
* * Field Name: __mj_CreatedAt
|
|
27732
|
+
* * Display Name: Created At
|
|
27733
|
+
* * SQL Data Type: datetimeoffset
|
|
27734
|
+
* * Default Value: getutcdate()
|
|
27735
|
+
*/
|
|
27736
|
+
get __mj_CreatedAt(): Date;
|
|
27737
|
+
/**
|
|
27738
|
+
* * Field Name: __mj_UpdatedAt
|
|
27739
|
+
* * Display Name: Updated At
|
|
27740
|
+
* * SQL Data Type: datetimeoffset
|
|
27741
|
+
* * Default Value: getutcdate()
|
|
27742
|
+
*/
|
|
27743
|
+
get __mj_UpdatedAt(): Date;
|
|
27744
|
+
/**
|
|
27745
|
+
* * Field Name: CompanyIntegration
|
|
27746
|
+
* * Display Name: Company Integration Name
|
|
27747
|
+
* * SQL Data Type: nvarchar(255)
|
|
27748
|
+
*/
|
|
27749
|
+
get CompanyIntegration(): string;
|
|
27750
|
+
/**
|
|
27751
|
+
* * Field Name: Entity
|
|
27752
|
+
* * Display Name: Entity Name
|
|
27753
|
+
* * SQL Data Type: nvarchar(255)
|
|
27754
|
+
*/
|
|
27755
|
+
get Entity(): string;
|
|
27756
|
+
}
|
|
27757
|
+
/**
|
|
27758
|
+
* MJ: Company Integration Field Maps - strongly typed entity sub-class
|
|
27759
|
+
* * Schema: __mj
|
|
27760
|
+
* * Base Table: CompanyIntegrationFieldMap
|
|
27761
|
+
* * Base View: vwCompanyIntegrationFieldMaps
|
|
27762
|
+
* * @description Maps individual fields between an external source object and a MemberJunction entity, with optional transform pipeline.
|
|
27763
|
+
* * Primary Key: ID
|
|
27764
|
+
* @extends {BaseEntity}
|
|
27765
|
+
* @class
|
|
27766
|
+
* @public
|
|
27767
|
+
*/
|
|
27768
|
+
export declare class MJCompanyIntegrationFieldMapEntity extends BaseEntity<MJCompanyIntegrationFieldMapEntityType> {
|
|
27769
|
+
/**
|
|
27770
|
+
* Loads the MJ: Company Integration Field Maps record from the database
|
|
27771
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Field Maps record.
|
|
27772
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
27773
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27774
|
+
* @public
|
|
27775
|
+
* @async
|
|
27776
|
+
* @memberof MJCompanyIntegrationFieldMapEntity
|
|
27777
|
+
* @method
|
|
27778
|
+
* @override
|
|
27779
|
+
*/
|
|
27780
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27781
|
+
/**
|
|
27782
|
+
* * Field Name: ID
|
|
27783
|
+
* * Display Name: ID
|
|
27784
|
+
* * SQL Data Type: uniqueidentifier
|
|
27785
|
+
* * Default Value: newsequentialid()
|
|
27786
|
+
*/
|
|
27787
|
+
get ID(): string;
|
|
27788
|
+
set ID(value: string);
|
|
27789
|
+
/**
|
|
27790
|
+
* * Field Name: EntityMapID
|
|
27791
|
+
* * Display Name: Entity Map ID
|
|
27792
|
+
* * SQL Data Type: uniqueidentifier
|
|
27793
|
+
* * Related Entity/Foreign Key: MJ: Company Integration Entity Maps (vwCompanyIntegrationEntityMaps.ID)
|
|
27794
|
+
*/
|
|
27795
|
+
get EntityMapID(): string;
|
|
27796
|
+
set EntityMapID(value: string);
|
|
27797
|
+
/**
|
|
27798
|
+
* * Field Name: SourceFieldName
|
|
27799
|
+
* * Display Name: Source Field Name
|
|
27800
|
+
* * SQL Data Type: nvarchar(500)
|
|
27801
|
+
* * Description: The field/column name in the external source system.
|
|
27802
|
+
*/
|
|
27803
|
+
get SourceFieldName(): string;
|
|
27804
|
+
set SourceFieldName(value: string);
|
|
27805
|
+
/**
|
|
27806
|
+
* * Field Name: SourceFieldLabel
|
|
27807
|
+
* * Display Name: Source Field Label
|
|
27808
|
+
* * SQL Data Type: nvarchar(500)
|
|
27809
|
+
* * Description: Optional human-friendly label for the source field.
|
|
27810
|
+
*/
|
|
27811
|
+
get SourceFieldLabel(): string | null;
|
|
27812
|
+
set SourceFieldLabel(value: string | null);
|
|
27813
|
+
/**
|
|
27814
|
+
* * Field Name: DestinationFieldName
|
|
27815
|
+
* * Display Name: Destination Field Name
|
|
27816
|
+
* * SQL Data Type: nvarchar(500)
|
|
27817
|
+
* * Description: The MJ entity field name this source field maps to.
|
|
27818
|
+
*/
|
|
27819
|
+
get DestinationFieldName(): string;
|
|
27820
|
+
set DestinationFieldName(value: string);
|
|
27821
|
+
/**
|
|
27822
|
+
* * Field Name: DestinationFieldLabel
|
|
27823
|
+
* * Display Name: Destination Field Label
|
|
27824
|
+
* * SQL Data Type: nvarchar(500)
|
|
27825
|
+
* * Description: Optional human-friendly label for the destination field.
|
|
27826
|
+
*/
|
|
27827
|
+
get DestinationFieldLabel(): string | null;
|
|
27828
|
+
set DestinationFieldLabel(value: string | null);
|
|
27829
|
+
/**
|
|
27830
|
+
* * Field Name: Direction
|
|
27831
|
+
* * Display Name: Direction
|
|
27832
|
+
* * SQL Data Type: nvarchar(50)
|
|
27833
|
+
* * Default Value: SourceToDest
|
|
27834
|
+
* * Value List Type: List
|
|
27835
|
+
* * Possible Values
|
|
27836
|
+
* * Both
|
|
27837
|
+
* * DestToSource
|
|
27838
|
+
* * SourceToDest
|
|
27839
|
+
* * Description: Direction of field mapping: SourceToDest, DestToSource, or Both.
|
|
27840
|
+
*/
|
|
27841
|
+
get Direction(): 'Both' | 'DestToSource' | 'SourceToDest';
|
|
27842
|
+
set Direction(value: 'Both' | 'DestToSource' | 'SourceToDest');
|
|
27843
|
+
/**
|
|
27844
|
+
* * Field Name: TransformPipeline
|
|
27845
|
+
* * Display Name: Transform Pipeline
|
|
27846
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27847
|
+
* * Description: JSON array of transform names to apply in order (e.g. ["trim", "uppercase"]). See FieldMappingEngine for available transforms.
|
|
27848
|
+
*/
|
|
27849
|
+
get TransformPipeline(): string | null;
|
|
27850
|
+
set TransformPipeline(value: string | null);
|
|
27851
|
+
/**
|
|
27852
|
+
* * Field Name: IsKeyField
|
|
27853
|
+
* * Display Name: Is Key Field
|
|
27854
|
+
* * SQL Data Type: bit
|
|
27855
|
+
* * Default Value: 0
|
|
27856
|
+
* * Description: When true, this field is used by the MatchEngine to find existing records during sync.
|
|
27857
|
+
*/
|
|
27858
|
+
get IsKeyField(): boolean;
|
|
27859
|
+
set IsKeyField(value: boolean);
|
|
27860
|
+
/**
|
|
27861
|
+
* * Field Name: IsRequired
|
|
27862
|
+
* * Display Name: Is Required
|
|
27863
|
+
* * SQL Data Type: bit
|
|
27864
|
+
* * Default Value: 0
|
|
27865
|
+
* * Description: When true, a sync record is rejected if this field has no value.
|
|
27866
|
+
*/
|
|
27867
|
+
get IsRequired(): boolean;
|
|
27868
|
+
set IsRequired(value: boolean);
|
|
27869
|
+
/**
|
|
27870
|
+
* * Field Name: DefaultValue
|
|
27871
|
+
* * Display Name: Default Value
|
|
27872
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27873
|
+
* * Description: Default value to use when the source field is null or missing.
|
|
27874
|
+
*/
|
|
27875
|
+
get DefaultValue(): string | null;
|
|
27876
|
+
set DefaultValue(value: string | null);
|
|
27877
|
+
/**
|
|
27878
|
+
* * Field Name: Priority
|
|
27879
|
+
* * Display Name: Priority
|
|
27880
|
+
* * SQL Data Type: int
|
|
27881
|
+
* * Default Value: 0
|
|
27882
|
+
* * Description: Processing order for this field mapping within the entity map.
|
|
27883
|
+
*/
|
|
27884
|
+
get Priority(): number;
|
|
27885
|
+
set Priority(value: number);
|
|
27886
|
+
/**
|
|
27887
|
+
* * Field Name: Status
|
|
27888
|
+
* * Display Name: Status
|
|
27889
|
+
* * SQL Data Type: nvarchar(50)
|
|
27890
|
+
* * Default Value: Active
|
|
27891
|
+
* * Value List Type: List
|
|
27892
|
+
* * Possible Values
|
|
27893
|
+
* * Active
|
|
27894
|
+
* * Inactive
|
|
27895
|
+
* * Description: Whether this field mapping is Active or Inactive.
|
|
27896
|
+
*/
|
|
27897
|
+
get Status(): 'Active' | 'Inactive';
|
|
27898
|
+
set Status(value: 'Active' | 'Inactive');
|
|
27899
|
+
/**
|
|
27900
|
+
* * Field Name: __mj_CreatedAt
|
|
27901
|
+
* * Display Name: Created At
|
|
27902
|
+
* * SQL Data Type: datetimeoffset
|
|
27903
|
+
* * Default Value: getutcdate()
|
|
27904
|
+
*/
|
|
27905
|
+
get __mj_CreatedAt(): Date;
|
|
27906
|
+
/**
|
|
27907
|
+
* * Field Name: __mj_UpdatedAt
|
|
27908
|
+
* * Display Name: Updated At
|
|
27909
|
+
* * SQL Data Type: datetimeoffset
|
|
27910
|
+
* * Default Value: getutcdate()
|
|
27911
|
+
*/
|
|
27912
|
+
get __mj_UpdatedAt(): Date;
|
|
27913
|
+
/**
|
|
27914
|
+
* * Field Name: EntityMap
|
|
27915
|
+
* * Display Name: Entity Map
|
|
27916
|
+
* * SQL Data Type: nvarchar(500)
|
|
27917
|
+
*/
|
|
27918
|
+
get EntityMap(): string;
|
|
27919
|
+
}
|
|
27376
27920
|
/**
|
|
27377
27921
|
* MJ: Company Integration Record Maps - strongly typed entity sub-class
|
|
27378
27922
|
* * Schema: __mj
|
|
@@ -27832,6 +28376,120 @@ export declare class MJCompanyIntegrationRunEntity extends BaseEntity<MJCompanyI
|
|
|
27832
28376
|
*/
|
|
27833
28377
|
get RunByUser(): string;
|
|
27834
28378
|
}
|
|
28379
|
+
/**
|
|
28380
|
+
* MJ: Company Integration Sync Watermarks - strongly typed entity sub-class
|
|
28381
|
+
* * Schema: __mj
|
|
28382
|
+
* * Base Table: CompanyIntegrationSyncWatermark
|
|
28383
|
+
* * Base View: vwCompanyIntegrationSyncWatermarks
|
|
28384
|
+
* * @description Tracks incremental sync progress per entity map and direction using watermarks (timestamp, cursor, change token, or version).
|
|
28385
|
+
* * Primary Key: ID
|
|
28386
|
+
* @extends {BaseEntity}
|
|
28387
|
+
* @class
|
|
28388
|
+
* @public
|
|
28389
|
+
*/
|
|
28390
|
+
export declare class MJCompanyIntegrationSyncWatermarkEntity extends BaseEntity<MJCompanyIntegrationSyncWatermarkEntityType> {
|
|
28391
|
+
/**
|
|
28392
|
+
* Loads the MJ: Company Integration Sync Watermarks record from the database
|
|
28393
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Sync Watermarks record.
|
|
28394
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28395
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28396
|
+
* @public
|
|
28397
|
+
* @async
|
|
28398
|
+
* @memberof MJCompanyIntegrationSyncWatermarkEntity
|
|
28399
|
+
* @method
|
|
28400
|
+
* @override
|
|
28401
|
+
*/
|
|
28402
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28403
|
+
/**
|
|
28404
|
+
* * Field Name: ID
|
|
28405
|
+
* * Display Name: ID
|
|
28406
|
+
* * SQL Data Type: uniqueidentifier
|
|
28407
|
+
* * Default Value: newsequentialid()
|
|
28408
|
+
*/
|
|
28409
|
+
get ID(): string;
|
|
28410
|
+
set ID(value: string);
|
|
28411
|
+
/**
|
|
28412
|
+
* * Field Name: EntityMapID
|
|
28413
|
+
* * Display Name: Entity Map
|
|
28414
|
+
* * SQL Data Type: uniqueidentifier
|
|
28415
|
+
* * Related Entity/Foreign Key: MJ: Company Integration Entity Maps (vwCompanyIntegrationEntityMaps.ID)
|
|
28416
|
+
*/
|
|
28417
|
+
get EntityMapID(): string;
|
|
28418
|
+
set EntityMapID(value: string);
|
|
28419
|
+
/**
|
|
28420
|
+
* * Field Name: Direction
|
|
28421
|
+
* * Display Name: Direction
|
|
28422
|
+
* * SQL Data Type: nvarchar(50)
|
|
28423
|
+
* * Default Value: Pull
|
|
28424
|
+
* * Value List Type: List
|
|
28425
|
+
* * Possible Values
|
|
28426
|
+
* * Pull
|
|
28427
|
+
* * Push
|
|
28428
|
+
* * Description: Sync direction this watermark tracks: Pull or Push.
|
|
28429
|
+
*/
|
|
28430
|
+
get Direction(): 'Pull' | 'Push';
|
|
28431
|
+
set Direction(value: 'Pull' | 'Push');
|
|
28432
|
+
/**
|
|
28433
|
+
* * Field Name: WatermarkType
|
|
28434
|
+
* * Display Name: Watermark Type
|
|
28435
|
+
* * SQL Data Type: nvarchar(50)
|
|
28436
|
+
* * Default Value: Timestamp
|
|
28437
|
+
* * Value List Type: List
|
|
28438
|
+
* * Possible Values
|
|
28439
|
+
* * ChangeToken
|
|
28440
|
+
* * Cursor
|
|
28441
|
+
* * Timestamp
|
|
28442
|
+
* * Version
|
|
28443
|
+
* * Description: The type of watermark: Timestamp, Cursor, ChangeToken, or Version.
|
|
28444
|
+
*/
|
|
28445
|
+
get WatermarkType(): 'ChangeToken' | 'Cursor' | 'Timestamp' | 'Version';
|
|
28446
|
+
set WatermarkType(value: 'ChangeToken' | 'Cursor' | 'Timestamp' | 'Version');
|
|
28447
|
+
/**
|
|
28448
|
+
* * Field Name: WatermarkValue
|
|
28449
|
+
* * Display Name: Watermark Value
|
|
28450
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28451
|
+
* * Description: The serialized watermark value used to resume incremental sync.
|
|
28452
|
+
*/
|
|
28453
|
+
get WatermarkValue(): string | null;
|
|
28454
|
+
set WatermarkValue(value: string | null);
|
|
28455
|
+
/**
|
|
28456
|
+
* * Field Name: LastSyncAt
|
|
28457
|
+
* * Display Name: Last Sync At
|
|
28458
|
+
* * SQL Data Type: datetimeoffset
|
|
28459
|
+
* * Description: Timestamp of the last successful sync for this watermark.
|
|
28460
|
+
*/
|
|
28461
|
+
get LastSyncAt(): Date | null;
|
|
28462
|
+
set LastSyncAt(value: Date | null);
|
|
28463
|
+
/**
|
|
28464
|
+
* * Field Name: RecordsSynced
|
|
28465
|
+
* * Display Name: Records Synced
|
|
28466
|
+
* * SQL Data Type: int
|
|
28467
|
+
* * Default Value: 0
|
|
28468
|
+
* * Description: Cumulative count of records synced through this watermark.
|
|
28469
|
+
*/
|
|
28470
|
+
get RecordsSynced(): number;
|
|
28471
|
+
set RecordsSynced(value: number);
|
|
28472
|
+
/**
|
|
28473
|
+
* * Field Name: __mj_CreatedAt
|
|
28474
|
+
* * Display Name: Created At
|
|
28475
|
+
* * SQL Data Type: datetimeoffset
|
|
28476
|
+
* * Default Value: getutcdate()
|
|
28477
|
+
*/
|
|
28478
|
+
get __mj_CreatedAt(): Date;
|
|
28479
|
+
/**
|
|
28480
|
+
* * Field Name: __mj_UpdatedAt
|
|
28481
|
+
* * Display Name: Updated At
|
|
28482
|
+
* * SQL Data Type: datetimeoffset
|
|
28483
|
+
* * Default Value: getutcdate()
|
|
28484
|
+
*/
|
|
28485
|
+
get __mj_UpdatedAt(): Date;
|
|
28486
|
+
/**
|
|
28487
|
+
* * Field Name: EntityMap
|
|
28488
|
+
* * Display Name: Entity Map Name
|
|
28489
|
+
* * SQL Data Type: nvarchar(500)
|
|
28490
|
+
*/
|
|
28491
|
+
get EntityMap(): string;
|
|
28492
|
+
}
|
|
27835
28493
|
/**
|
|
27836
28494
|
* MJ: Company Integrations - strongly typed entity sub-class
|
|
27837
28495
|
* * Schema: __mj
|
|
@@ -27984,14 +28642,40 @@ export declare class MJCompanyIntegrationEntity extends BaseEntity<MJCompanyInte
|
|
|
27984
28642
|
get Name(): string;
|
|
27985
28643
|
set Name(value: string);
|
|
27986
28644
|
/**
|
|
28645
|
+
* * Field Name: SourceTypeID
|
|
28646
|
+
* * Display Name: Source Type
|
|
28647
|
+
* * SQL Data Type: uniqueidentifier
|
|
28648
|
+
* * Related Entity/Foreign Key: MJ: Integration Source Types (vwIntegrationSourceTypes.ID)
|
|
28649
|
+
* * Description: Links this integration to its source type (SaaS API, Database, File Feed, etc.).
|
|
28650
|
+
*/
|
|
28651
|
+
get SourceTypeID(): string | null;
|
|
28652
|
+
set SourceTypeID(value: string | null);
|
|
28653
|
+
/**
|
|
28654
|
+
* * Field Name: Configuration
|
|
28655
|
+
* * Display Name: Configuration
|
|
28656
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28657
|
+
* * Description: JSON configuration for the integration connection (server, database, credentials reference, etc.).
|
|
28658
|
+
*/
|
|
28659
|
+
get Configuration(): string | null;
|
|
28660
|
+
set Configuration(value: string | null);
|
|
28661
|
+
/**
|
|
28662
|
+
* * Field Name: CredentialID
|
|
28663
|
+
* * Display Name: Credential
|
|
28664
|
+
* * SQL Data Type: uniqueidentifier
|
|
28665
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
|
|
28666
|
+
* * Description: Optional reference to a Credential record that stores encrypted authentication values for this company integration. Replaces the legacy inline auth fields (AccessToken, RefreshToken, APIKey, etc.).
|
|
28667
|
+
*/
|
|
28668
|
+
get CredentialID(): string | null;
|
|
28669
|
+
set CredentialID(value: string | null);
|
|
28670
|
+
/**
|
|
27987
28671
|
* * Field Name: Company
|
|
27988
|
-
* * Display Name: Company
|
|
28672
|
+
* * Display Name: Company Name
|
|
27989
28673
|
* * SQL Data Type: nvarchar(50)
|
|
27990
28674
|
*/
|
|
27991
28675
|
get Company(): string;
|
|
27992
28676
|
/**
|
|
27993
28677
|
* * Field Name: Integration
|
|
27994
|
-
* * Display Name: Integration
|
|
28678
|
+
* * Display Name: Integration Name
|
|
27995
28679
|
* * SQL Data Type: nvarchar(100)
|
|
27996
28680
|
*/
|
|
27997
28681
|
get Integration(): string;
|
|
@@ -28009,7 +28693,7 @@ export declare class MJCompanyIntegrationEntity extends BaseEntity<MJCompanyInte
|
|
|
28009
28693
|
get DriverImportPath(): string | null;
|
|
28010
28694
|
/**
|
|
28011
28695
|
* * Field Name: LastRunID
|
|
28012
|
-
* * Display Name: Last Run
|
|
28696
|
+
* * Display Name: Last Run
|
|
28013
28697
|
* * SQL Data Type: uniqueidentifier
|
|
28014
28698
|
*/
|
|
28015
28699
|
get LastRunID(): string | null;
|
|
@@ -38240,6 +38924,98 @@ export declare class MJGeneratedCodeEntity extends BaseEntity<MJGeneratedCodeEnt
|
|
|
38240
38924
|
*/
|
|
38241
38925
|
get LinkedEntity(): string | null;
|
|
38242
38926
|
}
|
|
38927
|
+
/**
|
|
38928
|
+
* MJ: Integration Source Types - strongly typed entity sub-class
|
|
38929
|
+
* * Schema: __mj
|
|
38930
|
+
* * Base Table: IntegrationSourceType
|
|
38931
|
+
* * Base View: vwIntegrationSourceTypes
|
|
38932
|
+
* * @description Defines categories of integration sources such as SaaS API, Relational Database, or File Feed.
|
|
38933
|
+
* * Primary Key: ID
|
|
38934
|
+
* @extends {BaseEntity}
|
|
38935
|
+
* @class
|
|
38936
|
+
* @public
|
|
38937
|
+
*/
|
|
38938
|
+
export declare class MJIntegrationSourceTypeEntity extends BaseEntity<MJIntegrationSourceTypeEntityType> {
|
|
38939
|
+
/**
|
|
38940
|
+
* Loads the MJ: Integration Source Types record from the database
|
|
38941
|
+
* @param ID: string - primary key value to load the MJ: Integration Source Types record.
|
|
38942
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38943
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38944
|
+
* @public
|
|
38945
|
+
* @async
|
|
38946
|
+
* @memberof MJIntegrationSourceTypeEntity
|
|
38947
|
+
* @method
|
|
38948
|
+
* @override
|
|
38949
|
+
*/
|
|
38950
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38951
|
+
/**
|
|
38952
|
+
* * Field Name: ID
|
|
38953
|
+
* * Display Name: ID
|
|
38954
|
+
* * SQL Data Type: uniqueidentifier
|
|
38955
|
+
* * Default Value: newsequentialid()
|
|
38956
|
+
*/
|
|
38957
|
+
get ID(): string;
|
|
38958
|
+
set ID(value: string);
|
|
38959
|
+
/**
|
|
38960
|
+
* * Field Name: Name
|
|
38961
|
+
* * Display Name: Name
|
|
38962
|
+
* * SQL Data Type: nvarchar(200)
|
|
38963
|
+
* * Description: Display name for this source type (e.g. SaaS API, Relational Database, File Feed).
|
|
38964
|
+
*/
|
|
38965
|
+
get Name(): string;
|
|
38966
|
+
set Name(value: string);
|
|
38967
|
+
/**
|
|
38968
|
+
* * Field Name: Description
|
|
38969
|
+
* * Display Name: Description
|
|
38970
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38971
|
+
* * Description: Optional longer description of this source type.
|
|
38972
|
+
*/
|
|
38973
|
+
get Description(): string | null;
|
|
38974
|
+
set Description(value: string | null);
|
|
38975
|
+
/**
|
|
38976
|
+
* * Field Name: DriverClass
|
|
38977
|
+
* * Display Name: Driver Class
|
|
38978
|
+
* * SQL Data Type: nvarchar(500)
|
|
38979
|
+
* * Description: Fully-qualified class name registered via @RegisterClass that implements BaseIntegrationConnector for this source type.
|
|
38980
|
+
*/
|
|
38981
|
+
get DriverClass(): string;
|
|
38982
|
+
set DriverClass(value: string);
|
|
38983
|
+
/**
|
|
38984
|
+
* * Field Name: IconClass
|
|
38985
|
+
* * Display Name: Icon Class
|
|
38986
|
+
* * SQL Data Type: nvarchar(200)
|
|
38987
|
+
* * Description: Font Awesome icon class for UI display.
|
|
38988
|
+
*/
|
|
38989
|
+
get IconClass(): string | null;
|
|
38990
|
+
set IconClass(value: string | null);
|
|
38991
|
+
/**
|
|
38992
|
+
* * Field Name: Status
|
|
38993
|
+
* * Display Name: Status
|
|
38994
|
+
* * SQL Data Type: nvarchar(50)
|
|
38995
|
+
* * Default Value: Active
|
|
38996
|
+
* * Value List Type: List
|
|
38997
|
+
* * Possible Values
|
|
38998
|
+
* * Active
|
|
38999
|
+
* * Inactive
|
|
39000
|
+
* * Description: Whether this source type is available for use. Active or Inactive.
|
|
39001
|
+
*/
|
|
39002
|
+
get Status(): 'Active' | 'Inactive';
|
|
39003
|
+
set Status(value: 'Active' | 'Inactive');
|
|
39004
|
+
/**
|
|
39005
|
+
* * Field Name: __mj_CreatedAt
|
|
39006
|
+
* * Display Name: Created At
|
|
39007
|
+
* * SQL Data Type: datetimeoffset
|
|
39008
|
+
* * Default Value: getutcdate()
|
|
39009
|
+
*/
|
|
39010
|
+
get __mj_CreatedAt(): Date;
|
|
39011
|
+
/**
|
|
39012
|
+
* * Field Name: __mj_UpdatedAt
|
|
39013
|
+
* * Display Name: Updated At
|
|
39014
|
+
* * SQL Data Type: datetimeoffset
|
|
39015
|
+
* * Default Value: getutcdate()
|
|
39016
|
+
*/
|
|
39017
|
+
get __mj_UpdatedAt(): Date;
|
|
39018
|
+
}
|
|
38243
39019
|
/**
|
|
38244
39020
|
* MJ: Integration URL Formats - strongly typed entity sub-class
|
|
38245
39021
|
* * Schema: __mj
|
|
@@ -38361,12 +39137,14 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
|
|
|
38361
39137
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38362
39138
|
/**
|
|
38363
39139
|
* * Field Name: Name
|
|
39140
|
+
* * Display Name: Name
|
|
38364
39141
|
* * SQL Data Type: nvarchar(100)
|
|
38365
39142
|
*/
|
|
38366
39143
|
get Name(): string;
|
|
38367
39144
|
set Name(value: string);
|
|
38368
39145
|
/**
|
|
38369
39146
|
* * Field Name: Description
|
|
39147
|
+
* * Display Name: Description
|
|
38370
39148
|
* * SQL Data Type: nvarchar(255)
|
|
38371
39149
|
*/
|
|
38372
39150
|
get Description(): string | null;
|
|
@@ -38429,11 +39207,27 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
|
|
|
38429
39207
|
get __mj_UpdatedAt(): Date;
|
|
38430
39208
|
/**
|
|
38431
39209
|
* * Field Name: ID
|
|
39210
|
+
* * Display Name: ID
|
|
38432
39211
|
* * SQL Data Type: uniqueidentifier
|
|
38433
39212
|
* * Default Value: newsequentialid()
|
|
38434
39213
|
*/
|
|
38435
39214
|
get ID(): string;
|
|
38436
39215
|
set ID(value: string);
|
|
39216
|
+
/**
|
|
39217
|
+
* * Field Name: CredentialTypeID
|
|
39218
|
+
* * Display Name: Credential Type
|
|
39219
|
+
* * SQL Data Type: uniqueidentifier
|
|
39220
|
+
* * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
|
|
39221
|
+
* * Description: Optional link to the credential type required by this integration. Used by the UI to pre-select the credential type when creating new credentials and to filter existing credentials.
|
|
39222
|
+
*/
|
|
39223
|
+
get CredentialTypeID(): string | null;
|
|
39224
|
+
set CredentialTypeID(value: string | null);
|
|
39225
|
+
/**
|
|
39226
|
+
* * Field Name: CredentialType
|
|
39227
|
+
* * Display Name: Credential Type Name
|
|
39228
|
+
* * SQL Data Type: nvarchar(100)
|
|
39229
|
+
*/
|
|
39230
|
+
get CredentialType(): string | null;
|
|
38437
39231
|
}
|
|
38438
39232
|
/**
|
|
38439
39233
|
* MJ: Libraries - strongly typed entity sub-class
|