@memberjunction/core-entities 5.7.0 → 5.9.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.
- package/dist/generated/entity_subclasses.d.ts +1519 -21
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +2366 -113
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -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,19 @@ 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>;
|
|
5025
|
+
ScheduleEnabled: z.ZodBoolean;
|
|
5026
|
+
ScheduleType: z.ZodUnion<[z.ZodLiteral<"Cron">, z.ZodLiteral<"Interval">, z.ZodLiteral<"Manual">]>;
|
|
5027
|
+
ScheduleIntervalMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5028
|
+
CronExpression: z.ZodNullable<z.ZodString>;
|
|
5029
|
+
NextScheduledRunAt: z.ZodNullable<z.ZodDate>;
|
|
5030
|
+
LastScheduledRunAt: z.ZodNullable<z.ZodDate>;
|
|
5031
|
+
IsLocked: z.ZodBoolean;
|
|
5032
|
+
LockedAt: z.ZodNullable<z.ZodDate>;
|
|
5033
|
+
LockedByInstance: z.ZodNullable<z.ZodString>;
|
|
5034
|
+
LockExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
4869
5035
|
Company: z.ZodString;
|
|
4870
5036
|
Integration: z.ZodString;
|
|
4871
5037
|
DriverClassName: z.ZodNullable<z.ZodString>;
|
|
@@ -4881,7 +5047,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4881
5047
|
IsActive?: boolean;
|
|
4882
5048
|
CompanyID?: string;
|
|
4883
5049
|
Company?: string;
|
|
5050
|
+
Configuration?: string;
|
|
4884
5051
|
LastRunID?: string;
|
|
5052
|
+
CredentialID?: string;
|
|
4885
5053
|
DriverImportPath?: string;
|
|
4886
5054
|
APIKey?: string;
|
|
4887
5055
|
Integration?: string;
|
|
@@ -4894,6 +5062,17 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4894
5062
|
ClientID?: string;
|
|
4895
5063
|
ClientSecret?: string;
|
|
4896
5064
|
CustomAttribute1?: string;
|
|
5065
|
+
SourceTypeID?: string;
|
|
5066
|
+
ScheduleEnabled?: boolean;
|
|
5067
|
+
ScheduleType?: "Manual" | "Cron" | "Interval";
|
|
5068
|
+
ScheduleIntervalMinutes?: number;
|
|
5069
|
+
CronExpression?: string;
|
|
5070
|
+
NextScheduledRunAt?: Date;
|
|
5071
|
+
LastScheduledRunAt?: Date;
|
|
5072
|
+
IsLocked?: boolean;
|
|
5073
|
+
LockedAt?: Date;
|
|
5074
|
+
LockedByInstance?: string;
|
|
5075
|
+
LockExpiresAt?: Date;
|
|
4897
5076
|
DriverClassName?: string;
|
|
4898
5077
|
LastRunStartedAt?: Date;
|
|
4899
5078
|
LastRunEndedAt?: Date;
|
|
@@ -4905,7 +5084,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4905
5084
|
IsActive?: boolean;
|
|
4906
5085
|
CompanyID?: string;
|
|
4907
5086
|
Company?: string;
|
|
5087
|
+
Configuration?: string;
|
|
4908
5088
|
LastRunID?: string;
|
|
5089
|
+
CredentialID?: string;
|
|
4909
5090
|
DriverImportPath?: string;
|
|
4910
5091
|
APIKey?: string;
|
|
4911
5092
|
Integration?: string;
|
|
@@ -4918,6 +5099,17 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
4918
5099
|
ClientID?: string;
|
|
4919
5100
|
ClientSecret?: string;
|
|
4920
5101
|
CustomAttribute1?: string;
|
|
5102
|
+
SourceTypeID?: string;
|
|
5103
|
+
ScheduleEnabled?: boolean;
|
|
5104
|
+
ScheduleType?: "Manual" | "Cron" | "Interval";
|
|
5105
|
+
ScheduleIntervalMinutes?: number;
|
|
5106
|
+
CronExpression?: string;
|
|
5107
|
+
NextScheduledRunAt?: Date;
|
|
5108
|
+
LastScheduledRunAt?: Date;
|
|
5109
|
+
IsLocked?: boolean;
|
|
5110
|
+
LockedAt?: Date;
|
|
5111
|
+
LockedByInstance?: string;
|
|
5112
|
+
LockExpiresAt?: Date;
|
|
4921
5113
|
DriverClassName?: string;
|
|
4922
5114
|
LastRunStartedAt?: Date;
|
|
4923
5115
|
LastRunEndedAt?: Date;
|
|
@@ -6769,8 +6961,8 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
6769
6961
|
__mj_UpdatedAt?: Date;
|
|
6770
6962
|
IsActive?: boolean;
|
|
6771
6963
|
CompanyIntegrationID?: string;
|
|
6772
|
-
ExternalSystemRecordID?: string;
|
|
6773
6964
|
CompanyIntegration?: string;
|
|
6965
|
+
ExternalSystemRecordID?: string;
|
|
6774
6966
|
EmployeeID?: string;
|
|
6775
6967
|
Employee?: string;
|
|
6776
6968
|
}, {
|
|
@@ -6779,8 +6971,8 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
6779
6971
|
__mj_UpdatedAt?: Date;
|
|
6780
6972
|
IsActive?: boolean;
|
|
6781
6973
|
CompanyIntegrationID?: string;
|
|
6782
|
-
ExternalSystemRecordID?: string;
|
|
6783
6974
|
CompanyIntegration?: string;
|
|
6975
|
+
ExternalSystemRecordID?: string;
|
|
6784
6976
|
EmployeeID?: string;
|
|
6785
6977
|
Employee?: string;
|
|
6786
6978
|
}>;
|
|
@@ -8612,6 +8804,189 @@ export declare const MJGeneratedCodeSchema: z.ZodObject<{
|
|
|
8612
8804
|
GeneratedByModel?: string;
|
|
8613
8805
|
}>;
|
|
8614
8806
|
export type MJGeneratedCodeEntityType = z.infer<typeof MJGeneratedCodeSchema>;
|
|
8807
|
+
/**
|
|
8808
|
+
* zod schema definition for the entity MJ: Integration Object Fields
|
|
8809
|
+
*/
|
|
8810
|
+
export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
|
|
8811
|
+
ID: z.ZodString;
|
|
8812
|
+
IntegrationObjectID: z.ZodString;
|
|
8813
|
+
Name: z.ZodString;
|
|
8814
|
+
DisplayName: z.ZodNullable<z.ZodString>;
|
|
8815
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
8816
|
+
Category: z.ZodNullable<z.ZodString>;
|
|
8817
|
+
Type: z.ZodString;
|
|
8818
|
+
Length: z.ZodNullable<z.ZodNumber>;
|
|
8819
|
+
Precision: z.ZodNullable<z.ZodNumber>;
|
|
8820
|
+
Scale: z.ZodNullable<z.ZodNumber>;
|
|
8821
|
+
AllowsNull: z.ZodBoolean;
|
|
8822
|
+
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
8823
|
+
IsPrimaryKey: z.ZodBoolean;
|
|
8824
|
+
IsUniqueKey: z.ZodBoolean;
|
|
8825
|
+
IsReadOnly: z.ZodBoolean;
|
|
8826
|
+
IsRequired: z.ZodBoolean;
|
|
8827
|
+
RelatedIntegrationObjectID: z.ZodNullable<z.ZodString>;
|
|
8828
|
+
RelatedIntegrationObjectFieldName: z.ZodNullable<z.ZodString>;
|
|
8829
|
+
Sequence: z.ZodNumber;
|
|
8830
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
8831
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
|
|
8832
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8833
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8834
|
+
IntegrationObject: z.ZodString;
|
|
8835
|
+
RelatedIntegrationObject: z.ZodNullable<z.ZodString>;
|
|
8836
|
+
}, "strip", z.ZodTypeAny, {
|
|
8837
|
+
ID?: string;
|
|
8838
|
+
__mj_CreatedAt?: Date;
|
|
8839
|
+
__mj_UpdatedAt?: Date;
|
|
8840
|
+
Name?: string;
|
|
8841
|
+
Description?: string;
|
|
8842
|
+
Status?: "Active" | "Disabled" | "Deprecated";
|
|
8843
|
+
DefaultValue?: string;
|
|
8844
|
+
Type?: string;
|
|
8845
|
+
IsRequired?: boolean;
|
|
8846
|
+
Category?: string;
|
|
8847
|
+
Sequence?: number;
|
|
8848
|
+
DisplayName?: string;
|
|
8849
|
+
Configuration?: string;
|
|
8850
|
+
IsPrimaryKey?: boolean;
|
|
8851
|
+
Length?: number;
|
|
8852
|
+
Precision?: number;
|
|
8853
|
+
Scale?: number;
|
|
8854
|
+
AllowsNull?: boolean;
|
|
8855
|
+
IntegrationObjectID?: string;
|
|
8856
|
+
IsUniqueKey?: boolean;
|
|
8857
|
+
IsReadOnly?: boolean;
|
|
8858
|
+
RelatedIntegrationObjectID?: string;
|
|
8859
|
+
RelatedIntegrationObjectFieldName?: string;
|
|
8860
|
+
IntegrationObject?: string;
|
|
8861
|
+
RelatedIntegrationObject?: string;
|
|
8862
|
+
}, {
|
|
8863
|
+
ID?: string;
|
|
8864
|
+
__mj_CreatedAt?: Date;
|
|
8865
|
+
__mj_UpdatedAt?: Date;
|
|
8866
|
+
Name?: string;
|
|
8867
|
+
Description?: string;
|
|
8868
|
+
Status?: "Active" | "Disabled" | "Deprecated";
|
|
8869
|
+
DefaultValue?: string;
|
|
8870
|
+
Type?: string;
|
|
8871
|
+
IsRequired?: boolean;
|
|
8872
|
+
Category?: string;
|
|
8873
|
+
Sequence?: number;
|
|
8874
|
+
DisplayName?: string;
|
|
8875
|
+
Configuration?: string;
|
|
8876
|
+
IsPrimaryKey?: boolean;
|
|
8877
|
+
Length?: number;
|
|
8878
|
+
Precision?: number;
|
|
8879
|
+
Scale?: number;
|
|
8880
|
+
AllowsNull?: boolean;
|
|
8881
|
+
IntegrationObjectID?: string;
|
|
8882
|
+
IsUniqueKey?: boolean;
|
|
8883
|
+
IsReadOnly?: boolean;
|
|
8884
|
+
RelatedIntegrationObjectID?: string;
|
|
8885
|
+
RelatedIntegrationObjectFieldName?: string;
|
|
8886
|
+
IntegrationObject?: string;
|
|
8887
|
+
RelatedIntegrationObject?: string;
|
|
8888
|
+
}>;
|
|
8889
|
+
export type MJIntegrationObjectFieldEntityType = z.infer<typeof MJIntegrationObjectFieldSchema>;
|
|
8890
|
+
/**
|
|
8891
|
+
* zod schema definition for the entity MJ: Integration Objects
|
|
8892
|
+
*/
|
|
8893
|
+
export declare const MJIntegrationObjectSchema: z.ZodObject<{
|
|
8894
|
+
ID: z.ZodString;
|
|
8895
|
+
IntegrationID: z.ZodString;
|
|
8896
|
+
Name: z.ZodString;
|
|
8897
|
+
DisplayName: z.ZodNullable<z.ZodString>;
|
|
8898
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
8899
|
+
Category: z.ZodNullable<z.ZodString>;
|
|
8900
|
+
APIPath: z.ZodString;
|
|
8901
|
+
ResponseDataKey: z.ZodNullable<z.ZodString>;
|
|
8902
|
+
DefaultPageSize: z.ZodNumber;
|
|
8903
|
+
SupportsPagination: z.ZodBoolean;
|
|
8904
|
+
PaginationType: z.ZodUnion<[z.ZodLiteral<"Cursor">, z.ZodLiteral<"None">, z.ZodLiteral<"Offset">, z.ZodLiteral<"PageNumber">]>;
|
|
8905
|
+
SupportsIncrementalSync: z.ZodBoolean;
|
|
8906
|
+
SupportsWrite: z.ZodBoolean;
|
|
8907
|
+
DefaultQueryParams: z.ZodNullable<z.ZodString>;
|
|
8908
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
8909
|
+
Sequence: z.ZodNumber;
|
|
8910
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
|
|
8911
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8912
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8913
|
+
Integration: z.ZodString;
|
|
8914
|
+
}, "strip", z.ZodTypeAny, {
|
|
8915
|
+
ID?: string;
|
|
8916
|
+
__mj_CreatedAt?: Date;
|
|
8917
|
+
__mj_UpdatedAt?: Date;
|
|
8918
|
+
Name?: string;
|
|
8919
|
+
Description?: string;
|
|
8920
|
+
Status?: "Active" | "Disabled" | "Deprecated";
|
|
8921
|
+
Category?: string;
|
|
8922
|
+
Sequence?: number;
|
|
8923
|
+
DisplayName?: string;
|
|
8924
|
+
Configuration?: string;
|
|
8925
|
+
Integration?: string;
|
|
8926
|
+
IntegrationID?: string;
|
|
8927
|
+
APIPath?: string;
|
|
8928
|
+
ResponseDataKey?: string;
|
|
8929
|
+
DefaultPageSize?: number;
|
|
8930
|
+
SupportsPagination?: boolean;
|
|
8931
|
+
PaginationType?: "None" | "Cursor" | "Offset" | "PageNumber";
|
|
8932
|
+
SupportsIncrementalSync?: boolean;
|
|
8933
|
+
SupportsWrite?: boolean;
|
|
8934
|
+
DefaultQueryParams?: string;
|
|
8935
|
+
}, {
|
|
8936
|
+
ID?: string;
|
|
8937
|
+
__mj_CreatedAt?: Date;
|
|
8938
|
+
__mj_UpdatedAt?: Date;
|
|
8939
|
+
Name?: string;
|
|
8940
|
+
Description?: string;
|
|
8941
|
+
Status?: "Active" | "Disabled" | "Deprecated";
|
|
8942
|
+
Category?: string;
|
|
8943
|
+
Sequence?: number;
|
|
8944
|
+
DisplayName?: string;
|
|
8945
|
+
Configuration?: string;
|
|
8946
|
+
Integration?: string;
|
|
8947
|
+
IntegrationID?: string;
|
|
8948
|
+
APIPath?: string;
|
|
8949
|
+
ResponseDataKey?: string;
|
|
8950
|
+
DefaultPageSize?: number;
|
|
8951
|
+
SupportsPagination?: boolean;
|
|
8952
|
+
PaginationType?: "None" | "Cursor" | "Offset" | "PageNumber";
|
|
8953
|
+
SupportsIncrementalSync?: boolean;
|
|
8954
|
+
SupportsWrite?: boolean;
|
|
8955
|
+
DefaultQueryParams?: string;
|
|
8956
|
+
}>;
|
|
8957
|
+
export type MJIntegrationObjectEntityType = z.infer<typeof MJIntegrationObjectSchema>;
|
|
8958
|
+
/**
|
|
8959
|
+
* zod schema definition for the entity MJ: Integration Source Types
|
|
8960
|
+
*/
|
|
8961
|
+
export declare const MJIntegrationSourceTypeSchema: z.ZodObject<{
|
|
8962
|
+
ID: z.ZodString;
|
|
8963
|
+
Name: z.ZodString;
|
|
8964
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
8965
|
+
DriverClass: z.ZodString;
|
|
8966
|
+
IconClass: z.ZodNullable<z.ZodString>;
|
|
8967
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Inactive">]>;
|
|
8968
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8969
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8970
|
+
}, "strip", z.ZodTypeAny, {
|
|
8971
|
+
ID?: string;
|
|
8972
|
+
__mj_CreatedAt?: Date;
|
|
8973
|
+
__mj_UpdatedAt?: Date;
|
|
8974
|
+
Name?: string;
|
|
8975
|
+
Description?: string;
|
|
8976
|
+
Status?: "Active" | "Inactive";
|
|
8977
|
+
DriverClass?: string;
|
|
8978
|
+
IconClass?: string;
|
|
8979
|
+
}, {
|
|
8980
|
+
ID?: string;
|
|
8981
|
+
__mj_CreatedAt?: Date;
|
|
8982
|
+
__mj_UpdatedAt?: Date;
|
|
8983
|
+
Name?: string;
|
|
8984
|
+
Description?: string;
|
|
8985
|
+
Status?: "Active" | "Inactive";
|
|
8986
|
+
DriverClass?: string;
|
|
8987
|
+
IconClass?: string;
|
|
8988
|
+
}>;
|
|
8989
|
+
export type MJIntegrationSourceTypeEntityType = z.infer<typeof MJIntegrationSourceTypeSchema>;
|
|
8615
8990
|
/**
|
|
8616
8991
|
* zod schema definition for the entity MJ: Integration URL Formats
|
|
8617
8992
|
*/
|
|
@@ -8664,12 +9039,16 @@ export declare const MJIntegrationSchema: z.ZodObject<{
|
|
|
8664
9039
|
__mj_CreatedAt: z.ZodDate;
|
|
8665
9040
|
__mj_UpdatedAt: z.ZodDate;
|
|
8666
9041
|
ID: z.ZodString;
|
|
9042
|
+
CredentialTypeID: z.ZodNullable<z.ZodString>;
|
|
9043
|
+
CredentialType: z.ZodNullable<z.ZodString>;
|
|
8667
9044
|
}, "strip", z.ZodTypeAny, {
|
|
8668
9045
|
ID?: string;
|
|
8669
9046
|
__mj_CreatedAt?: Date;
|
|
8670
9047
|
__mj_UpdatedAt?: Date;
|
|
8671
9048
|
Name?: string;
|
|
8672
9049
|
Description?: string;
|
|
9050
|
+
CredentialTypeID?: string;
|
|
9051
|
+
CredentialType?: string;
|
|
8673
9052
|
ClassName?: string;
|
|
8674
9053
|
NavigationBaseURL?: string;
|
|
8675
9054
|
ImportPath?: string;
|
|
@@ -8681,6 +9060,8 @@ export declare const MJIntegrationSchema: z.ZodObject<{
|
|
|
8681
9060
|
__mj_UpdatedAt?: Date;
|
|
8682
9061
|
Name?: string;
|
|
8683
9062
|
Description?: string;
|
|
9063
|
+
CredentialTypeID?: string;
|
|
9064
|
+
CredentialType?: string;
|
|
8684
9065
|
ClassName?: string;
|
|
8685
9066
|
NavigationBaseURL?: string;
|
|
8686
9067
|
ImportPath?: string;
|
|
@@ -8932,8 +9313,8 @@ export declare const MJListSchema: z.ZodObject<{
|
|
|
8932
9313
|
CategoryID?: string;
|
|
8933
9314
|
Category?: string;
|
|
8934
9315
|
CompanyIntegrationID?: string;
|
|
8935
|
-
ExternalSystemRecordID?: string;
|
|
8936
9316
|
CompanyIntegration?: string;
|
|
9317
|
+
ExternalSystemRecordID?: string;
|
|
8937
9318
|
}, {
|
|
8938
9319
|
ID?: string;
|
|
8939
9320
|
EntityID?: string;
|
|
@@ -8947,8 +9328,8 @@ export declare const MJListSchema: z.ZodObject<{
|
|
|
8947
9328
|
CategoryID?: string;
|
|
8948
9329
|
Category?: string;
|
|
8949
9330
|
CompanyIntegrationID?: string;
|
|
8950
|
-
ExternalSystemRecordID?: string;
|
|
8951
9331
|
CompanyIntegration?: string;
|
|
9332
|
+
ExternalSystemRecordID?: string;
|
|
8952
9333
|
}>;
|
|
8953
9334
|
export type MJListEntityType = z.infer<typeof MJListSchema>;
|
|
8954
9335
|
/**
|
|
@@ -9209,12 +9590,12 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
9209
9590
|
IconClass?: string;
|
|
9210
9591
|
CredentialTypeID?: string;
|
|
9211
9592
|
CredentialType?: string;
|
|
9593
|
+
LastSyncAt?: Date;
|
|
9212
9594
|
ServerURL?: string;
|
|
9213
9595
|
Command?: string;
|
|
9214
9596
|
CommandArgs?: string;
|
|
9215
9597
|
TransportType?: string;
|
|
9216
9598
|
DefaultAuthType?: string;
|
|
9217
|
-
LastSyncAt?: Date;
|
|
9218
9599
|
RateLimitPerMinute?: number;
|
|
9219
9600
|
RateLimitPerHour?: number;
|
|
9220
9601
|
ConnectionTimeoutMs?: number;
|
|
@@ -9236,12 +9617,12 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
9236
9617
|
IconClass?: string;
|
|
9237
9618
|
CredentialTypeID?: string;
|
|
9238
9619
|
CredentialType?: string;
|
|
9620
|
+
LastSyncAt?: Date;
|
|
9239
9621
|
ServerURL?: string;
|
|
9240
9622
|
Command?: string;
|
|
9241
9623
|
CommandArgs?: string;
|
|
9242
9624
|
TransportType?: string;
|
|
9243
9625
|
DefaultAuthType?: string;
|
|
9244
|
-
LastSyncAt?: Date;
|
|
9245
9626
|
RateLimitPerMinute?: number;
|
|
9246
9627
|
RateLimitPerHour?: number;
|
|
9247
9628
|
ConnectionTimeoutMs?: number;
|
|
@@ -10056,7 +10437,7 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
|
|
|
10056
10437
|
Entity?: string;
|
|
10057
10438
|
QueryID?: string;
|
|
10058
10439
|
Query?: string;
|
|
10059
|
-
DetectionMethod?: "
|
|
10440
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10060
10441
|
AutoDetectConfidenceScore?: number;
|
|
10061
10442
|
}, {
|
|
10062
10443
|
ID?: string;
|
|
@@ -10066,7 +10447,7 @@ export declare const MJQueryEntitySchema: z.ZodObject<{
|
|
|
10066
10447
|
Entity?: string;
|
|
10067
10448
|
QueryID?: string;
|
|
10068
10449
|
Query?: string;
|
|
10069
|
-
DetectionMethod?: "
|
|
10450
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10070
10451
|
AutoDetectConfidenceScore?: number;
|
|
10071
10452
|
}>;
|
|
10072
10453
|
export type MJQueryEntityEntityType = z.infer<typeof MJQueryEntitySchema>;
|
|
@@ -10100,14 +10481,14 @@ export declare const MJQueryFieldSchema: z.ZodObject<{
|
|
|
10100
10481
|
Name?: string;
|
|
10101
10482
|
Description?: string;
|
|
10102
10483
|
Sequence?: number;
|
|
10484
|
+
SourceFieldName?: string;
|
|
10103
10485
|
QueryID?: string;
|
|
10104
10486
|
Query?: string;
|
|
10105
|
-
DetectionMethod?: "
|
|
10487
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10106
10488
|
AutoDetectConfidenceScore?: number;
|
|
10107
10489
|
SQLBaseType?: string;
|
|
10108
10490
|
SQLFullType?: string;
|
|
10109
10491
|
SourceEntityID?: string;
|
|
10110
|
-
SourceFieldName?: string;
|
|
10111
10492
|
IsComputed?: boolean;
|
|
10112
10493
|
ComputationDescription?: string;
|
|
10113
10494
|
IsSummary?: boolean;
|
|
@@ -10120,14 +10501,14 @@ export declare const MJQueryFieldSchema: z.ZodObject<{
|
|
|
10120
10501
|
Name?: string;
|
|
10121
10502
|
Description?: string;
|
|
10122
10503
|
Sequence?: number;
|
|
10504
|
+
SourceFieldName?: string;
|
|
10123
10505
|
QueryID?: string;
|
|
10124
10506
|
Query?: string;
|
|
10125
|
-
DetectionMethod?: "
|
|
10507
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10126
10508
|
AutoDetectConfidenceScore?: number;
|
|
10127
10509
|
SQLBaseType?: string;
|
|
10128
10510
|
SQLFullType?: string;
|
|
10129
10511
|
SourceEntityID?: string;
|
|
10130
|
-
SourceFieldName?: string;
|
|
10131
10512
|
IsComputed?: boolean;
|
|
10132
10513
|
ComputationDescription?: string;
|
|
10133
10514
|
IsSummary?: boolean;
|
|
@@ -10164,7 +10545,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
|
|
|
10164
10545
|
IsRequired?: boolean;
|
|
10165
10546
|
QueryID?: string;
|
|
10166
10547
|
Query?: string;
|
|
10167
|
-
DetectionMethod?: "
|
|
10548
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10168
10549
|
AutoDetectConfidenceScore?: number;
|
|
10169
10550
|
SampleValue?: string;
|
|
10170
10551
|
ValidationFilters?: string;
|
|
@@ -10179,7 +10560,7 @@ export declare const MJQueryParameterSchema: z.ZodObject<{
|
|
|
10179
10560
|
IsRequired?: boolean;
|
|
10180
10561
|
QueryID?: string;
|
|
10181
10562
|
Query?: string;
|
|
10182
|
-
DetectionMethod?: "
|
|
10563
|
+
DetectionMethod?: "Manual" | "AI";
|
|
10183
10564
|
AutoDetectConfidenceScore?: number;
|
|
10184
10565
|
SampleValue?: string;
|
|
10185
10566
|
ValidationFilters?: string;
|
|
@@ -11415,6 +11796,8 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
11415
11796
|
OwnerUserID?: string;
|
|
11416
11797
|
OwnerUser?: string;
|
|
11417
11798
|
CronExpression?: string;
|
|
11799
|
+
LockedAt?: Date;
|
|
11800
|
+
LockedByInstance?: string;
|
|
11418
11801
|
Timezone?: string;
|
|
11419
11802
|
JobTypeID?: string;
|
|
11420
11803
|
StartAt?: Date;
|
|
@@ -11430,8 +11813,6 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
11430
11813
|
NotifyViaEmail?: boolean;
|
|
11431
11814
|
NotifyViaInApp?: boolean;
|
|
11432
11815
|
LockToken?: string;
|
|
11433
|
-
LockedAt?: Date;
|
|
11434
|
-
LockedByInstance?: string;
|
|
11435
11816
|
ExpectedCompletionAt?: Date;
|
|
11436
11817
|
ConcurrencyMode?: "Queue" | "Concurrent" | "Skip";
|
|
11437
11818
|
JobType?: string;
|
|
@@ -11447,6 +11828,8 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
11447
11828
|
OwnerUserID?: string;
|
|
11448
11829
|
OwnerUser?: string;
|
|
11449
11830
|
CronExpression?: string;
|
|
11831
|
+
LockedAt?: Date;
|
|
11832
|
+
LockedByInstance?: string;
|
|
11450
11833
|
Timezone?: string;
|
|
11451
11834
|
JobTypeID?: string;
|
|
11452
11835
|
StartAt?: Date;
|
|
@@ -11462,8 +11845,6 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
11462
11845
|
NotifyViaEmail?: boolean;
|
|
11463
11846
|
NotifyViaInApp?: boolean;
|
|
11464
11847
|
LockToken?: string;
|
|
11465
|
-
LockedAt?: Date;
|
|
11466
|
-
LockedByInstance?: string;
|
|
11467
11848
|
ExpectedCompletionAt?: Date;
|
|
11468
11849
|
ConcurrencyMode?: "Queue" | "Concurrent" | "Skip";
|
|
11469
11850
|
JobType?: string;
|
|
@@ -27373,6 +27754,350 @@ export declare class MJCompanyEntity extends BaseEntity<MJCompanyEntityType> {
|
|
|
27373
27754
|
*/
|
|
27374
27755
|
get __mj_UpdatedAt(): Date;
|
|
27375
27756
|
}
|
|
27757
|
+
/**
|
|
27758
|
+
* MJ: Company Integration Entity Maps - strongly typed entity sub-class
|
|
27759
|
+
* * Schema: __mj
|
|
27760
|
+
* * Base Table: CompanyIntegrationEntityMap
|
|
27761
|
+
* * Base View: vwCompanyIntegrationEntityMaps
|
|
27762
|
+
* * @description Maps an external object from a company integration to a MemberJunction entity, controlling sync direction, matching, and conflict resolution.
|
|
27763
|
+
* * Primary Key: ID
|
|
27764
|
+
* @extends {BaseEntity}
|
|
27765
|
+
* @class
|
|
27766
|
+
* @public
|
|
27767
|
+
*/
|
|
27768
|
+
export declare class MJCompanyIntegrationEntityMapEntity extends BaseEntity<MJCompanyIntegrationEntityMapEntityType> {
|
|
27769
|
+
/**
|
|
27770
|
+
* Loads the MJ: Company Integration Entity Maps record from the database
|
|
27771
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Entity 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 MJCompanyIntegrationEntityMapEntity
|
|
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: CompanyIntegrationID
|
|
27791
|
+
* * Display Name: Company Integration
|
|
27792
|
+
* * SQL Data Type: uniqueidentifier
|
|
27793
|
+
* * Related Entity/Foreign Key: MJ: Company Integrations (vwCompanyIntegrations.ID)
|
|
27794
|
+
*/
|
|
27795
|
+
get CompanyIntegrationID(): string;
|
|
27796
|
+
set CompanyIntegrationID(value: string);
|
|
27797
|
+
/**
|
|
27798
|
+
* * Field Name: ExternalObjectName
|
|
27799
|
+
* * Display Name: External Object Name
|
|
27800
|
+
* * SQL Data Type: nvarchar(500)
|
|
27801
|
+
* * Description: The name of the object in the external system (e.g. table name, API resource name).
|
|
27802
|
+
*/
|
|
27803
|
+
get ExternalObjectName(): string;
|
|
27804
|
+
set ExternalObjectName(value: string);
|
|
27805
|
+
/**
|
|
27806
|
+
* * Field Name: ExternalObjectLabel
|
|
27807
|
+
* * Display Name: External Object Label
|
|
27808
|
+
* * SQL Data Type: nvarchar(500)
|
|
27809
|
+
* * Description: Optional human-friendly label for the external object.
|
|
27810
|
+
*/
|
|
27811
|
+
get ExternalObjectLabel(): string | null;
|
|
27812
|
+
set ExternalObjectLabel(value: string | null);
|
|
27813
|
+
/**
|
|
27814
|
+
* * Field Name: EntityID
|
|
27815
|
+
* * Display Name: Entity
|
|
27816
|
+
* * SQL Data Type: uniqueidentifier
|
|
27817
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
27818
|
+
*/
|
|
27819
|
+
get EntityID(): string;
|
|
27820
|
+
set EntityID(value: string);
|
|
27821
|
+
/**
|
|
27822
|
+
* * Field Name: SyncDirection
|
|
27823
|
+
* * Display Name: Sync Direction
|
|
27824
|
+
* * SQL Data Type: nvarchar(50)
|
|
27825
|
+
* * Default Value: Pull
|
|
27826
|
+
* * Value List Type: List
|
|
27827
|
+
* * Possible Values
|
|
27828
|
+
* * Bidirectional
|
|
27829
|
+
* * Pull
|
|
27830
|
+
* * Push
|
|
27831
|
+
* * Description: Whether data flows from external to MJ (Pull), MJ to external (Push), or both.
|
|
27832
|
+
*/
|
|
27833
|
+
get SyncDirection(): 'Bidirectional' | 'Pull' | 'Push';
|
|
27834
|
+
set SyncDirection(value: 'Bidirectional' | 'Pull' | 'Push');
|
|
27835
|
+
/**
|
|
27836
|
+
* * Field Name: SyncEnabled
|
|
27837
|
+
* * Display Name: Sync Enabled
|
|
27838
|
+
* * SQL Data Type: bit
|
|
27839
|
+
* * Default Value: 1
|
|
27840
|
+
* * Description: When true, this entity map is included in sync runs.
|
|
27841
|
+
*/
|
|
27842
|
+
get SyncEnabled(): boolean;
|
|
27843
|
+
set SyncEnabled(value: boolean);
|
|
27844
|
+
/**
|
|
27845
|
+
* * Field Name: MatchStrategy
|
|
27846
|
+
* * Display Name: Match Strategy
|
|
27847
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27848
|
+
* * Description: JSON configuration for the match engine describing how to identify existing records (key fields, fuzzy thresholds, etc.).
|
|
27849
|
+
*/
|
|
27850
|
+
get MatchStrategy(): string | null;
|
|
27851
|
+
set MatchStrategy(value: string | null);
|
|
27852
|
+
/**
|
|
27853
|
+
* * Field Name: ConflictResolution
|
|
27854
|
+
* * Display Name: Conflict Resolution
|
|
27855
|
+
* * SQL Data Type: nvarchar(50)
|
|
27856
|
+
* * Default Value: SourceWins
|
|
27857
|
+
* * Value List Type: List
|
|
27858
|
+
* * Possible Values
|
|
27859
|
+
* * DestWins
|
|
27860
|
+
* * Manual
|
|
27861
|
+
* * MostRecent
|
|
27862
|
+
* * SourceWins
|
|
27863
|
+
* * Description: How to handle conflicts when both source and destination have been modified. SourceWins, DestWins, MostRecent, or Manual.
|
|
27864
|
+
*/
|
|
27865
|
+
get ConflictResolution(): 'DestWins' | 'Manual' | 'MostRecent' | 'SourceWins';
|
|
27866
|
+
set ConflictResolution(value: 'DestWins' | 'Manual' | 'MostRecent' | 'SourceWins');
|
|
27867
|
+
/**
|
|
27868
|
+
* * Field Name: Priority
|
|
27869
|
+
* * Display Name: Priority
|
|
27870
|
+
* * SQL Data Type: int
|
|
27871
|
+
* * Default Value: 0
|
|
27872
|
+
* * Description: Processing order when multiple entity maps exist. Lower numbers are processed first.
|
|
27873
|
+
*/
|
|
27874
|
+
get Priority(): number;
|
|
27875
|
+
set Priority(value: number);
|
|
27876
|
+
/**
|
|
27877
|
+
* * Field Name: DeleteBehavior
|
|
27878
|
+
* * Display Name: Delete Behavior
|
|
27879
|
+
* * SQL Data Type: nvarchar(50)
|
|
27880
|
+
* * Default Value: SoftDelete
|
|
27881
|
+
* * Value List Type: List
|
|
27882
|
+
* * Possible Values
|
|
27883
|
+
* * DoNothing
|
|
27884
|
+
* * HardDelete
|
|
27885
|
+
* * SoftDelete
|
|
27886
|
+
* * Description: How to handle records that no longer exist in the source. SoftDelete, DoNothing, or HardDelete.
|
|
27887
|
+
*/
|
|
27888
|
+
get DeleteBehavior(): 'DoNothing' | 'HardDelete' | 'SoftDelete';
|
|
27889
|
+
set DeleteBehavior(value: 'DoNothing' | 'HardDelete' | 'SoftDelete');
|
|
27890
|
+
/**
|
|
27891
|
+
* * Field Name: Status
|
|
27892
|
+
* * Display Name: Status
|
|
27893
|
+
* * SQL Data Type: nvarchar(50)
|
|
27894
|
+
* * Default Value: Active
|
|
27895
|
+
* * Value List Type: List
|
|
27896
|
+
* * Possible Values
|
|
27897
|
+
* * Active
|
|
27898
|
+
* * Inactive
|
|
27899
|
+
* * Description: Whether this entity map is Active or Inactive.
|
|
27900
|
+
*/
|
|
27901
|
+
get Status(): 'Active' | 'Inactive';
|
|
27902
|
+
set Status(value: 'Active' | 'Inactive');
|
|
27903
|
+
/**
|
|
27904
|
+
* * Field Name: Configuration
|
|
27905
|
+
* * Display Name: Configuration
|
|
27906
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27907
|
+
* * Description: Optional JSON configuration specific to this entity mapping.
|
|
27908
|
+
*/
|
|
27909
|
+
get Configuration(): string | null;
|
|
27910
|
+
set Configuration(value: string | null);
|
|
27911
|
+
/**
|
|
27912
|
+
* * Field Name: __mj_CreatedAt
|
|
27913
|
+
* * Display Name: Created At
|
|
27914
|
+
* * SQL Data Type: datetimeoffset
|
|
27915
|
+
* * Default Value: getutcdate()
|
|
27916
|
+
*/
|
|
27917
|
+
get __mj_CreatedAt(): Date;
|
|
27918
|
+
/**
|
|
27919
|
+
* * Field Name: __mj_UpdatedAt
|
|
27920
|
+
* * Display Name: Updated At
|
|
27921
|
+
* * SQL Data Type: datetimeoffset
|
|
27922
|
+
* * Default Value: getutcdate()
|
|
27923
|
+
*/
|
|
27924
|
+
get __mj_UpdatedAt(): Date;
|
|
27925
|
+
/**
|
|
27926
|
+
* * Field Name: CompanyIntegration
|
|
27927
|
+
* * Display Name: Company Integration Name
|
|
27928
|
+
* * SQL Data Type: nvarchar(255)
|
|
27929
|
+
*/
|
|
27930
|
+
get CompanyIntegration(): string;
|
|
27931
|
+
/**
|
|
27932
|
+
* * Field Name: Entity
|
|
27933
|
+
* * Display Name: Entity Name
|
|
27934
|
+
* * SQL Data Type: nvarchar(255)
|
|
27935
|
+
*/
|
|
27936
|
+
get Entity(): string;
|
|
27937
|
+
}
|
|
27938
|
+
/**
|
|
27939
|
+
* MJ: Company Integration Field Maps - strongly typed entity sub-class
|
|
27940
|
+
* * Schema: __mj
|
|
27941
|
+
* * Base Table: CompanyIntegrationFieldMap
|
|
27942
|
+
* * Base View: vwCompanyIntegrationFieldMaps
|
|
27943
|
+
* * @description Maps individual fields between an external source object and a MemberJunction entity, with optional transform pipeline.
|
|
27944
|
+
* * Primary Key: ID
|
|
27945
|
+
* @extends {BaseEntity}
|
|
27946
|
+
* @class
|
|
27947
|
+
* @public
|
|
27948
|
+
*/
|
|
27949
|
+
export declare class MJCompanyIntegrationFieldMapEntity extends BaseEntity<MJCompanyIntegrationFieldMapEntityType> {
|
|
27950
|
+
/**
|
|
27951
|
+
* Loads the MJ: Company Integration Field Maps record from the database
|
|
27952
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Field Maps record.
|
|
27953
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
27954
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27955
|
+
* @public
|
|
27956
|
+
* @async
|
|
27957
|
+
* @memberof MJCompanyIntegrationFieldMapEntity
|
|
27958
|
+
* @method
|
|
27959
|
+
* @override
|
|
27960
|
+
*/
|
|
27961
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27962
|
+
/**
|
|
27963
|
+
* * Field Name: ID
|
|
27964
|
+
* * Display Name: ID
|
|
27965
|
+
* * SQL Data Type: uniqueidentifier
|
|
27966
|
+
* * Default Value: newsequentialid()
|
|
27967
|
+
*/
|
|
27968
|
+
get ID(): string;
|
|
27969
|
+
set ID(value: string);
|
|
27970
|
+
/**
|
|
27971
|
+
* * Field Name: EntityMapID
|
|
27972
|
+
* * Display Name: Entity Map ID
|
|
27973
|
+
* * SQL Data Type: uniqueidentifier
|
|
27974
|
+
* * Related Entity/Foreign Key: MJ: Company Integration Entity Maps (vwCompanyIntegrationEntityMaps.ID)
|
|
27975
|
+
*/
|
|
27976
|
+
get EntityMapID(): string;
|
|
27977
|
+
set EntityMapID(value: string);
|
|
27978
|
+
/**
|
|
27979
|
+
* * Field Name: SourceFieldName
|
|
27980
|
+
* * Display Name: Source Field Name
|
|
27981
|
+
* * SQL Data Type: nvarchar(500)
|
|
27982
|
+
* * Description: The field/column name in the external source system.
|
|
27983
|
+
*/
|
|
27984
|
+
get SourceFieldName(): string;
|
|
27985
|
+
set SourceFieldName(value: string);
|
|
27986
|
+
/**
|
|
27987
|
+
* * Field Name: SourceFieldLabel
|
|
27988
|
+
* * Display Name: Source Field Label
|
|
27989
|
+
* * SQL Data Type: nvarchar(500)
|
|
27990
|
+
* * Description: Optional human-friendly label for the source field.
|
|
27991
|
+
*/
|
|
27992
|
+
get SourceFieldLabel(): string | null;
|
|
27993
|
+
set SourceFieldLabel(value: string | null);
|
|
27994
|
+
/**
|
|
27995
|
+
* * Field Name: DestinationFieldName
|
|
27996
|
+
* * Display Name: Destination Field Name
|
|
27997
|
+
* * SQL Data Type: nvarchar(500)
|
|
27998
|
+
* * Description: The MJ entity field name this source field maps to.
|
|
27999
|
+
*/
|
|
28000
|
+
get DestinationFieldName(): string;
|
|
28001
|
+
set DestinationFieldName(value: string);
|
|
28002
|
+
/**
|
|
28003
|
+
* * Field Name: DestinationFieldLabel
|
|
28004
|
+
* * Display Name: Destination Field Label
|
|
28005
|
+
* * SQL Data Type: nvarchar(500)
|
|
28006
|
+
* * Description: Optional human-friendly label for the destination field.
|
|
28007
|
+
*/
|
|
28008
|
+
get DestinationFieldLabel(): string | null;
|
|
28009
|
+
set DestinationFieldLabel(value: string | null);
|
|
28010
|
+
/**
|
|
28011
|
+
* * Field Name: Direction
|
|
28012
|
+
* * Display Name: Direction
|
|
28013
|
+
* * SQL Data Type: nvarchar(50)
|
|
28014
|
+
* * Default Value: SourceToDest
|
|
28015
|
+
* * Value List Type: List
|
|
28016
|
+
* * Possible Values
|
|
28017
|
+
* * Both
|
|
28018
|
+
* * DestToSource
|
|
28019
|
+
* * SourceToDest
|
|
28020
|
+
* * Description: Direction of field mapping: SourceToDest, DestToSource, or Both.
|
|
28021
|
+
*/
|
|
28022
|
+
get Direction(): 'Both' | 'DestToSource' | 'SourceToDest';
|
|
28023
|
+
set Direction(value: 'Both' | 'DestToSource' | 'SourceToDest');
|
|
28024
|
+
/**
|
|
28025
|
+
* * Field Name: TransformPipeline
|
|
28026
|
+
* * Display Name: Transform Pipeline
|
|
28027
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28028
|
+
* * Description: JSON array of transform names to apply in order (e.g. ["trim", "uppercase"]). See FieldMappingEngine for available transforms.
|
|
28029
|
+
*/
|
|
28030
|
+
get TransformPipeline(): string | null;
|
|
28031
|
+
set TransformPipeline(value: string | null);
|
|
28032
|
+
/**
|
|
28033
|
+
* * Field Name: IsKeyField
|
|
28034
|
+
* * Display Name: Is Key Field
|
|
28035
|
+
* * SQL Data Type: bit
|
|
28036
|
+
* * Default Value: 0
|
|
28037
|
+
* * Description: When true, this field is used by the MatchEngine to find existing records during sync.
|
|
28038
|
+
*/
|
|
28039
|
+
get IsKeyField(): boolean;
|
|
28040
|
+
set IsKeyField(value: boolean);
|
|
28041
|
+
/**
|
|
28042
|
+
* * Field Name: IsRequired
|
|
28043
|
+
* * Display Name: Is Required
|
|
28044
|
+
* * SQL Data Type: bit
|
|
28045
|
+
* * Default Value: 0
|
|
28046
|
+
* * Description: When true, a sync record is rejected if this field has no value.
|
|
28047
|
+
*/
|
|
28048
|
+
get IsRequired(): boolean;
|
|
28049
|
+
set IsRequired(value: boolean);
|
|
28050
|
+
/**
|
|
28051
|
+
* * Field Name: DefaultValue
|
|
28052
|
+
* * Display Name: Default Value
|
|
28053
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28054
|
+
* * Description: Default value to use when the source field is null or missing.
|
|
28055
|
+
*/
|
|
28056
|
+
get DefaultValue(): string | null;
|
|
28057
|
+
set DefaultValue(value: string | null);
|
|
28058
|
+
/**
|
|
28059
|
+
* * Field Name: Priority
|
|
28060
|
+
* * Display Name: Priority
|
|
28061
|
+
* * SQL Data Type: int
|
|
28062
|
+
* * Default Value: 0
|
|
28063
|
+
* * Description: Processing order for this field mapping within the entity map.
|
|
28064
|
+
*/
|
|
28065
|
+
get Priority(): number;
|
|
28066
|
+
set Priority(value: number);
|
|
28067
|
+
/**
|
|
28068
|
+
* * Field Name: Status
|
|
28069
|
+
* * Display Name: Status
|
|
28070
|
+
* * SQL Data Type: nvarchar(50)
|
|
28071
|
+
* * Default Value: Active
|
|
28072
|
+
* * Value List Type: List
|
|
28073
|
+
* * Possible Values
|
|
28074
|
+
* * Active
|
|
28075
|
+
* * Inactive
|
|
28076
|
+
* * Description: Whether this field mapping is Active or Inactive.
|
|
28077
|
+
*/
|
|
28078
|
+
get Status(): 'Active' | 'Inactive';
|
|
28079
|
+
set Status(value: 'Active' | 'Inactive');
|
|
28080
|
+
/**
|
|
28081
|
+
* * Field Name: __mj_CreatedAt
|
|
28082
|
+
* * Display Name: Created At
|
|
28083
|
+
* * SQL Data Type: datetimeoffset
|
|
28084
|
+
* * Default Value: getutcdate()
|
|
28085
|
+
*/
|
|
28086
|
+
get __mj_CreatedAt(): Date;
|
|
28087
|
+
/**
|
|
28088
|
+
* * Field Name: __mj_UpdatedAt
|
|
28089
|
+
* * Display Name: Updated At
|
|
28090
|
+
* * SQL Data Type: datetimeoffset
|
|
28091
|
+
* * Default Value: getutcdate()
|
|
28092
|
+
*/
|
|
28093
|
+
get __mj_UpdatedAt(): Date;
|
|
28094
|
+
/**
|
|
28095
|
+
* * Field Name: EntityMap
|
|
28096
|
+
* * Display Name: Entity Map
|
|
28097
|
+
* * SQL Data Type: nvarchar(500)
|
|
28098
|
+
*/
|
|
28099
|
+
get EntityMap(): string;
|
|
28100
|
+
}
|
|
27376
28101
|
/**
|
|
27377
28102
|
* MJ: Company Integration Record Maps - strongly typed entity sub-class
|
|
27378
28103
|
* * Schema: __mj
|
|
@@ -27832,6 +28557,120 @@ export declare class MJCompanyIntegrationRunEntity extends BaseEntity<MJCompanyI
|
|
|
27832
28557
|
*/
|
|
27833
28558
|
get RunByUser(): string;
|
|
27834
28559
|
}
|
|
28560
|
+
/**
|
|
28561
|
+
* MJ: Company Integration Sync Watermarks - strongly typed entity sub-class
|
|
28562
|
+
* * Schema: __mj
|
|
28563
|
+
* * Base Table: CompanyIntegrationSyncWatermark
|
|
28564
|
+
* * Base View: vwCompanyIntegrationSyncWatermarks
|
|
28565
|
+
* * @description Tracks incremental sync progress per entity map and direction using watermarks (timestamp, cursor, change token, or version).
|
|
28566
|
+
* * Primary Key: ID
|
|
28567
|
+
* @extends {BaseEntity}
|
|
28568
|
+
* @class
|
|
28569
|
+
* @public
|
|
28570
|
+
*/
|
|
28571
|
+
export declare class MJCompanyIntegrationSyncWatermarkEntity extends BaseEntity<MJCompanyIntegrationSyncWatermarkEntityType> {
|
|
28572
|
+
/**
|
|
28573
|
+
* Loads the MJ: Company Integration Sync Watermarks record from the database
|
|
28574
|
+
* @param ID: string - primary key value to load the MJ: Company Integration Sync Watermarks record.
|
|
28575
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28576
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28577
|
+
* @public
|
|
28578
|
+
* @async
|
|
28579
|
+
* @memberof MJCompanyIntegrationSyncWatermarkEntity
|
|
28580
|
+
* @method
|
|
28581
|
+
* @override
|
|
28582
|
+
*/
|
|
28583
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28584
|
+
/**
|
|
28585
|
+
* * Field Name: ID
|
|
28586
|
+
* * Display Name: ID
|
|
28587
|
+
* * SQL Data Type: uniqueidentifier
|
|
28588
|
+
* * Default Value: newsequentialid()
|
|
28589
|
+
*/
|
|
28590
|
+
get ID(): string;
|
|
28591
|
+
set ID(value: string);
|
|
28592
|
+
/**
|
|
28593
|
+
* * Field Name: EntityMapID
|
|
28594
|
+
* * Display Name: Entity Map
|
|
28595
|
+
* * SQL Data Type: uniqueidentifier
|
|
28596
|
+
* * Related Entity/Foreign Key: MJ: Company Integration Entity Maps (vwCompanyIntegrationEntityMaps.ID)
|
|
28597
|
+
*/
|
|
28598
|
+
get EntityMapID(): string;
|
|
28599
|
+
set EntityMapID(value: string);
|
|
28600
|
+
/**
|
|
28601
|
+
* * Field Name: Direction
|
|
28602
|
+
* * Display Name: Direction
|
|
28603
|
+
* * SQL Data Type: nvarchar(50)
|
|
28604
|
+
* * Default Value: Pull
|
|
28605
|
+
* * Value List Type: List
|
|
28606
|
+
* * Possible Values
|
|
28607
|
+
* * Pull
|
|
28608
|
+
* * Push
|
|
28609
|
+
* * Description: Sync direction this watermark tracks: Pull or Push.
|
|
28610
|
+
*/
|
|
28611
|
+
get Direction(): 'Pull' | 'Push';
|
|
28612
|
+
set Direction(value: 'Pull' | 'Push');
|
|
28613
|
+
/**
|
|
28614
|
+
* * Field Name: WatermarkType
|
|
28615
|
+
* * Display Name: Watermark Type
|
|
28616
|
+
* * SQL Data Type: nvarchar(50)
|
|
28617
|
+
* * Default Value: Timestamp
|
|
28618
|
+
* * Value List Type: List
|
|
28619
|
+
* * Possible Values
|
|
28620
|
+
* * ChangeToken
|
|
28621
|
+
* * Cursor
|
|
28622
|
+
* * Timestamp
|
|
28623
|
+
* * Version
|
|
28624
|
+
* * Description: The type of watermark: Timestamp, Cursor, ChangeToken, or Version.
|
|
28625
|
+
*/
|
|
28626
|
+
get WatermarkType(): 'ChangeToken' | 'Cursor' | 'Timestamp' | 'Version';
|
|
28627
|
+
set WatermarkType(value: 'ChangeToken' | 'Cursor' | 'Timestamp' | 'Version');
|
|
28628
|
+
/**
|
|
28629
|
+
* * Field Name: WatermarkValue
|
|
28630
|
+
* * Display Name: Watermark Value
|
|
28631
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28632
|
+
* * Description: The serialized watermark value used to resume incremental sync.
|
|
28633
|
+
*/
|
|
28634
|
+
get WatermarkValue(): string | null;
|
|
28635
|
+
set WatermarkValue(value: string | null);
|
|
28636
|
+
/**
|
|
28637
|
+
* * Field Name: LastSyncAt
|
|
28638
|
+
* * Display Name: Last Sync At
|
|
28639
|
+
* * SQL Data Type: datetimeoffset
|
|
28640
|
+
* * Description: Timestamp of the last successful sync for this watermark.
|
|
28641
|
+
*/
|
|
28642
|
+
get LastSyncAt(): Date | null;
|
|
28643
|
+
set LastSyncAt(value: Date | null);
|
|
28644
|
+
/**
|
|
28645
|
+
* * Field Name: RecordsSynced
|
|
28646
|
+
* * Display Name: Records Synced
|
|
28647
|
+
* * SQL Data Type: int
|
|
28648
|
+
* * Default Value: 0
|
|
28649
|
+
* * Description: Cumulative count of records synced through this watermark.
|
|
28650
|
+
*/
|
|
28651
|
+
get RecordsSynced(): number;
|
|
28652
|
+
set RecordsSynced(value: number);
|
|
28653
|
+
/**
|
|
28654
|
+
* * Field Name: __mj_CreatedAt
|
|
28655
|
+
* * Display Name: Created At
|
|
28656
|
+
* * SQL Data Type: datetimeoffset
|
|
28657
|
+
* * Default Value: getutcdate()
|
|
28658
|
+
*/
|
|
28659
|
+
get __mj_CreatedAt(): Date;
|
|
28660
|
+
/**
|
|
28661
|
+
* * Field Name: __mj_UpdatedAt
|
|
28662
|
+
* * Display Name: Updated At
|
|
28663
|
+
* * SQL Data Type: datetimeoffset
|
|
28664
|
+
* * Default Value: getutcdate()
|
|
28665
|
+
*/
|
|
28666
|
+
get __mj_UpdatedAt(): Date;
|
|
28667
|
+
/**
|
|
28668
|
+
* * Field Name: EntityMap
|
|
28669
|
+
* * Display Name: Entity Map Name
|
|
28670
|
+
* * SQL Data Type: nvarchar(500)
|
|
28671
|
+
*/
|
|
28672
|
+
get EntityMap(): string;
|
|
28673
|
+
}
|
|
27835
28674
|
/**
|
|
27836
28675
|
* MJ: Company Integrations - strongly typed entity sub-class
|
|
27837
28676
|
* * Schema: __mj
|
|
@@ -27882,7 +28721,7 @@ export declare class MJCompanyIntegrationEntity extends BaseEntity<MJCompanyInte
|
|
|
27882
28721
|
set IntegrationID(value: string);
|
|
27883
28722
|
/**
|
|
27884
28723
|
* * Field Name: IsActive
|
|
27885
|
-
* * Display Name: Active
|
|
28724
|
+
* * Display Name: Is Active
|
|
27886
28725
|
* * SQL Data Type: bit
|
|
27887
28726
|
* * Description: Controls whether this integration is currently active for the company.
|
|
27888
28727
|
*/
|
|
@@ -27984,6 +28823,120 @@ export declare class MJCompanyIntegrationEntity extends BaseEntity<MJCompanyInte
|
|
|
27984
28823
|
get Name(): string;
|
|
27985
28824
|
set Name(value: string);
|
|
27986
28825
|
/**
|
|
28826
|
+
* * Field Name: SourceTypeID
|
|
28827
|
+
* * Display Name: Source Type
|
|
28828
|
+
* * SQL Data Type: uniqueidentifier
|
|
28829
|
+
* * Related Entity/Foreign Key: MJ: Integration Source Types (vwIntegrationSourceTypes.ID)
|
|
28830
|
+
* * Description: Links this integration to its source type (SaaS API, Database, File Feed, etc.).
|
|
28831
|
+
*/
|
|
28832
|
+
get SourceTypeID(): string | null;
|
|
28833
|
+
set SourceTypeID(value: string | null);
|
|
28834
|
+
/**
|
|
28835
|
+
* * Field Name: Configuration
|
|
28836
|
+
* * Display Name: Configuration
|
|
28837
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28838
|
+
* * Description: JSON configuration for the integration connection (server, database, credentials reference, etc.).
|
|
28839
|
+
*/
|
|
28840
|
+
get Configuration(): string | null;
|
|
28841
|
+
set Configuration(value: string | null);
|
|
28842
|
+
/**
|
|
28843
|
+
* * Field Name: CredentialID
|
|
28844
|
+
* * Display Name: Credential
|
|
28845
|
+
* * SQL Data Type: uniqueidentifier
|
|
28846
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
|
|
28847
|
+
* * 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.).
|
|
28848
|
+
*/
|
|
28849
|
+
get CredentialID(): string | null;
|
|
28850
|
+
set CredentialID(value: string | null);
|
|
28851
|
+
/**
|
|
28852
|
+
* * Field Name: ScheduleEnabled
|
|
28853
|
+
* * Display Name: Schedule Enabled
|
|
28854
|
+
* * SQL Data Type: bit
|
|
28855
|
+
* * Default Value: 0
|
|
28856
|
+
* * Description: Whether automatic sync scheduling is enabled for this integration
|
|
28857
|
+
*/
|
|
28858
|
+
get ScheduleEnabled(): boolean;
|
|
28859
|
+
set ScheduleEnabled(value: boolean);
|
|
28860
|
+
/**
|
|
28861
|
+
* * Field Name: ScheduleType
|
|
28862
|
+
* * Display Name: Schedule Type
|
|
28863
|
+
* * SQL Data Type: nvarchar(20)
|
|
28864
|
+
* * Default Value: Manual
|
|
28865
|
+
* * Value List Type: List
|
|
28866
|
+
* * Possible Values
|
|
28867
|
+
* * Cron
|
|
28868
|
+
* * Interval
|
|
28869
|
+
* * Manual
|
|
28870
|
+
* * Description: Type of schedule: Manual (no auto-sync), Interval (every N minutes), Cron (cron expression)
|
|
28871
|
+
*/
|
|
28872
|
+
get ScheduleType(): 'Cron' | 'Interval' | 'Manual';
|
|
28873
|
+
set ScheduleType(value: 'Cron' | 'Interval' | 'Manual');
|
|
28874
|
+
/**
|
|
28875
|
+
* * Field Name: ScheduleIntervalMinutes
|
|
28876
|
+
* * Display Name: Schedule Interval (Minutes)
|
|
28877
|
+
* * SQL Data Type: int
|
|
28878
|
+
* * Description: Interval in minutes for Interval schedule type
|
|
28879
|
+
*/
|
|
28880
|
+
get ScheduleIntervalMinutes(): number | null;
|
|
28881
|
+
set ScheduleIntervalMinutes(value: number | null);
|
|
28882
|
+
/**
|
|
28883
|
+
* * Field Name: CronExpression
|
|
28884
|
+
* * Display Name: Cron Expression
|
|
28885
|
+
* * SQL Data Type: nvarchar(200)
|
|
28886
|
+
* * Description: Cron expression for Cron schedule type (e.g., "0 *\/6 * * *" for every 6 hours)
|
|
28887
|
+
*/
|
|
28888
|
+
get CronExpression(): string | null;
|
|
28889
|
+
set CronExpression(value: string | null);
|
|
28890
|
+
/**
|
|
28891
|
+
* * Field Name: NextScheduledRunAt
|
|
28892
|
+
* * Display Name: Next Scheduled Run
|
|
28893
|
+
* * SQL Data Type: datetimeoffset
|
|
28894
|
+
* * Description: When the next scheduled sync should run. Updated after each run based on schedule config.
|
|
28895
|
+
*/
|
|
28896
|
+
get NextScheduledRunAt(): Date | null;
|
|
28897
|
+
set NextScheduledRunAt(value: Date | null);
|
|
28898
|
+
/**
|
|
28899
|
+
* * Field Name: LastScheduledRunAt
|
|
28900
|
+
* * Display Name: Last Scheduled Run
|
|
28901
|
+
* * SQL Data Type: datetimeoffset
|
|
28902
|
+
* * Description: When the last scheduled sync was initiated
|
|
28903
|
+
*/
|
|
28904
|
+
get LastScheduledRunAt(): Date | null;
|
|
28905
|
+
set LastScheduledRunAt(value: Date | null);
|
|
28906
|
+
/**
|
|
28907
|
+
* * Field Name: IsLocked
|
|
28908
|
+
* * Display Name: Is Locked
|
|
28909
|
+
* * SQL Data Type: bit
|
|
28910
|
+
* * Default Value: 0
|
|
28911
|
+
* * Description: Whether a sync is currently locked/running for this integration
|
|
28912
|
+
*/
|
|
28913
|
+
get IsLocked(): boolean;
|
|
28914
|
+
set IsLocked(value: boolean);
|
|
28915
|
+
/**
|
|
28916
|
+
* * Field Name: LockedAt
|
|
28917
|
+
* * Display Name: Locked At
|
|
28918
|
+
* * SQL Data Type: datetimeoffset
|
|
28919
|
+
* * Description: When the lock was acquired
|
|
28920
|
+
*/
|
|
28921
|
+
get LockedAt(): Date | null;
|
|
28922
|
+
set LockedAt(value: Date | null);
|
|
28923
|
+
/**
|
|
28924
|
+
* * Field Name: LockedByInstance
|
|
28925
|
+
* * Display Name: Locked By Instance
|
|
28926
|
+
* * SQL Data Type: nvarchar(200)
|
|
28927
|
+
* * Description: Server instance identifier that holds the lock (hostname-pid)
|
|
28928
|
+
*/
|
|
28929
|
+
get LockedByInstance(): string | null;
|
|
28930
|
+
set LockedByInstance(value: string | null);
|
|
28931
|
+
/**
|
|
28932
|
+
* * Field Name: LockExpiresAt
|
|
28933
|
+
* * Display Name: Lock Expires At
|
|
28934
|
+
* * SQL Data Type: datetimeoffset
|
|
28935
|
+
* * Description: When the lock should be considered stale and eligible for cleanup
|
|
28936
|
+
*/
|
|
28937
|
+
get LockExpiresAt(): Date | null;
|
|
28938
|
+
set LockExpiresAt(value: Date | null);
|
|
28939
|
+
/**
|
|
27987
28940
|
* * Field Name: Company
|
|
27988
28941
|
* * Display Name: Company
|
|
27989
28942
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -38240,6 +39193,533 @@ export declare class MJGeneratedCodeEntity extends BaseEntity<MJGeneratedCodeEnt
|
|
|
38240
39193
|
*/
|
|
38241
39194
|
get LinkedEntity(): string | null;
|
|
38242
39195
|
}
|
|
39196
|
+
/**
|
|
39197
|
+
* MJ: Integration Object Fields - strongly typed entity sub-class
|
|
39198
|
+
* * Schema: __mj
|
|
39199
|
+
* * Base Table: IntegrationObjectField
|
|
39200
|
+
* * Base View: vwIntegrationObjectFields
|
|
39201
|
+
* * @description Describes a field on an integration object, mirroring EntityField column patterns for type compatibility
|
|
39202
|
+
* * Primary Key: ID
|
|
39203
|
+
* @extends {BaseEntity}
|
|
39204
|
+
* @class
|
|
39205
|
+
* @public
|
|
39206
|
+
*/
|
|
39207
|
+
export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegrationObjectFieldEntityType> {
|
|
39208
|
+
/**
|
|
39209
|
+
* Loads the MJ: Integration Object Fields record from the database
|
|
39210
|
+
* @param ID: string - primary key value to load the MJ: Integration Object Fields record.
|
|
39211
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39212
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39213
|
+
* @public
|
|
39214
|
+
* @async
|
|
39215
|
+
* @memberof MJIntegrationObjectFieldEntity
|
|
39216
|
+
* @method
|
|
39217
|
+
* @override
|
|
39218
|
+
*/
|
|
39219
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39220
|
+
/**
|
|
39221
|
+
* * Field Name: ID
|
|
39222
|
+
* * Display Name: ID
|
|
39223
|
+
* * SQL Data Type: uniqueidentifier
|
|
39224
|
+
* * Default Value: newsequentialid()
|
|
39225
|
+
* * Description: Primary key
|
|
39226
|
+
*/
|
|
39227
|
+
get ID(): string;
|
|
39228
|
+
set ID(value: string);
|
|
39229
|
+
/**
|
|
39230
|
+
* * Field Name: IntegrationObjectID
|
|
39231
|
+
* * Display Name: Integration Object
|
|
39232
|
+
* * SQL Data Type: uniqueidentifier
|
|
39233
|
+
* * Related Entity/Foreign Key: MJ: Integration Objects (vwIntegrationObjects.ID)
|
|
39234
|
+
* * Description: Foreign key to the IntegrationObject this field belongs to
|
|
39235
|
+
*/
|
|
39236
|
+
get IntegrationObjectID(): string;
|
|
39237
|
+
set IntegrationObjectID(value: string);
|
|
39238
|
+
/**
|
|
39239
|
+
* * Field Name: Name
|
|
39240
|
+
* * Display Name: Name
|
|
39241
|
+
* * SQL Data Type: nvarchar(255)
|
|
39242
|
+
* * Description: Field name as returned by the external API
|
|
39243
|
+
*/
|
|
39244
|
+
get Name(): string;
|
|
39245
|
+
set Name(value: string);
|
|
39246
|
+
/**
|
|
39247
|
+
* * Field Name: DisplayName
|
|
39248
|
+
* * Display Name: Display Name
|
|
39249
|
+
* * SQL Data Type: nvarchar(255)
|
|
39250
|
+
* * Description: Human-friendly display label for the field
|
|
39251
|
+
*/
|
|
39252
|
+
get DisplayName(): string | null;
|
|
39253
|
+
set DisplayName(value: string | null);
|
|
39254
|
+
/**
|
|
39255
|
+
* * Field Name: Description
|
|
39256
|
+
* * Display Name: Description
|
|
39257
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39258
|
+
* * Description: Description of what this field represents
|
|
39259
|
+
*/
|
|
39260
|
+
get Description(): string | null;
|
|
39261
|
+
set Description(value: string | null);
|
|
39262
|
+
/**
|
|
39263
|
+
* * Field Name: Category
|
|
39264
|
+
* * Display Name: Category
|
|
39265
|
+
* * SQL Data Type: nvarchar(100)
|
|
39266
|
+
* * Description: UI grouping category within the object
|
|
39267
|
+
*/
|
|
39268
|
+
get Category(): string | null;
|
|
39269
|
+
set Category(value: string | null);
|
|
39270
|
+
/**
|
|
39271
|
+
* * Field Name: Type
|
|
39272
|
+
* * Display Name: Type
|
|
39273
|
+
* * SQL Data Type: nvarchar(100)
|
|
39274
|
+
* * Description: Data type of the field (e.g., nvarchar, int, datetime, decimal, bit). Uses same type vocabulary as EntityField.
|
|
39275
|
+
*/
|
|
39276
|
+
get Type(): string;
|
|
39277
|
+
set Type(value: string);
|
|
39278
|
+
/**
|
|
39279
|
+
* * Field Name: Length
|
|
39280
|
+
* * Display Name: Length
|
|
39281
|
+
* * SQL Data Type: int
|
|
39282
|
+
* * Description: Maximum length for string types
|
|
39283
|
+
*/
|
|
39284
|
+
get Length(): number | null;
|
|
39285
|
+
set Length(value: number | null);
|
|
39286
|
+
/**
|
|
39287
|
+
* * Field Name: Precision
|
|
39288
|
+
* * Display Name: Precision
|
|
39289
|
+
* * SQL Data Type: int
|
|
39290
|
+
* * Description: Numeric precision
|
|
39291
|
+
*/
|
|
39292
|
+
get Precision(): number | null;
|
|
39293
|
+
set Precision(value: number | null);
|
|
39294
|
+
/**
|
|
39295
|
+
* * Field Name: Scale
|
|
39296
|
+
* * Display Name: Scale
|
|
39297
|
+
* * SQL Data Type: int
|
|
39298
|
+
* * Description: Numeric scale
|
|
39299
|
+
*/
|
|
39300
|
+
get Scale(): number | null;
|
|
39301
|
+
set Scale(value: number | null);
|
|
39302
|
+
/**
|
|
39303
|
+
* * Field Name: AllowsNull
|
|
39304
|
+
* * Display Name: Allows Null
|
|
39305
|
+
* * SQL Data Type: bit
|
|
39306
|
+
* * Default Value: 1
|
|
39307
|
+
* * Description: Whether the field can contain NULL values
|
|
39308
|
+
*/
|
|
39309
|
+
get AllowsNull(): boolean;
|
|
39310
|
+
set AllowsNull(value: boolean);
|
|
39311
|
+
/**
|
|
39312
|
+
* * Field Name: DefaultValue
|
|
39313
|
+
* * Display Name: Default Value
|
|
39314
|
+
* * SQL Data Type: nvarchar(255)
|
|
39315
|
+
* * Description: Default value from the source system
|
|
39316
|
+
*/
|
|
39317
|
+
get DefaultValue(): string | null;
|
|
39318
|
+
set DefaultValue(value: string | null);
|
|
39319
|
+
/**
|
|
39320
|
+
* * Field Name: IsPrimaryKey
|
|
39321
|
+
* * Display Name: Primary Key
|
|
39322
|
+
* * SQL Data Type: bit
|
|
39323
|
+
* * Default Value: 0
|
|
39324
|
+
* * Description: Whether this field is part of the object primary key
|
|
39325
|
+
*/
|
|
39326
|
+
get IsPrimaryKey(): boolean;
|
|
39327
|
+
set IsPrimaryKey(value: boolean);
|
|
39328
|
+
/**
|
|
39329
|
+
* * Field Name: IsUniqueKey
|
|
39330
|
+
* * Display Name: Unique Key
|
|
39331
|
+
* * SQL Data Type: bit
|
|
39332
|
+
* * Default Value: 0
|
|
39333
|
+
* * Description: Whether values must be unique across all records
|
|
39334
|
+
*/
|
|
39335
|
+
get IsUniqueKey(): boolean;
|
|
39336
|
+
set IsUniqueKey(value: boolean);
|
|
39337
|
+
/**
|
|
39338
|
+
* * Field Name: IsReadOnly
|
|
39339
|
+
* * Display Name: Read Only
|
|
39340
|
+
* * SQL Data Type: bit
|
|
39341
|
+
* * Default Value: 0
|
|
39342
|
+
* * Description: Whether this field cannot be written back to the source system
|
|
39343
|
+
*/
|
|
39344
|
+
get IsReadOnly(): boolean;
|
|
39345
|
+
set IsReadOnly(value: boolean);
|
|
39346
|
+
/**
|
|
39347
|
+
* * Field Name: IsRequired
|
|
39348
|
+
* * Display Name: Required
|
|
39349
|
+
* * SQL Data Type: bit
|
|
39350
|
+
* * Default Value: 0
|
|
39351
|
+
* * Description: Whether this field is required for create/update operations
|
|
39352
|
+
*/
|
|
39353
|
+
get IsRequired(): boolean;
|
|
39354
|
+
set IsRequired(value: boolean);
|
|
39355
|
+
/**
|
|
39356
|
+
* * Field Name: RelatedIntegrationObjectID
|
|
39357
|
+
* * Display Name: Related Integration Object
|
|
39358
|
+
* * SQL Data Type: uniqueidentifier
|
|
39359
|
+
* * Related Entity/Foreign Key: MJ: Integration Objects (vwIntegrationObjects.ID)
|
|
39360
|
+
* * Description: Foreign key to another IntegrationObject, establishing a relationship. Used for DAG-based dependency ordering and template variable resolution in parent APIPath patterns.
|
|
39361
|
+
*/
|
|
39362
|
+
get RelatedIntegrationObjectID(): string | null;
|
|
39363
|
+
set RelatedIntegrationObjectID(value: string | null);
|
|
39364
|
+
/**
|
|
39365
|
+
* * Field Name: RelatedIntegrationObjectFieldName
|
|
39366
|
+
* * Display Name: Related Field Name
|
|
39367
|
+
* * SQL Data Type: nvarchar(255)
|
|
39368
|
+
* * Description: The field name on the related IntegrationObject that this FK points to (typically the PK field)
|
|
39369
|
+
*/
|
|
39370
|
+
get RelatedIntegrationObjectFieldName(): string | null;
|
|
39371
|
+
set RelatedIntegrationObjectFieldName(value: string | null);
|
|
39372
|
+
/**
|
|
39373
|
+
* * Field Name: Sequence
|
|
39374
|
+
* * Display Name: Sequence
|
|
39375
|
+
* * SQL Data Type: int
|
|
39376
|
+
* * Default Value: 0
|
|
39377
|
+
* * Description: Display and processing order within the object. Lower numbers appear first.
|
|
39378
|
+
*/
|
|
39379
|
+
get Sequence(): number;
|
|
39380
|
+
set Sequence(value: number);
|
|
39381
|
+
/**
|
|
39382
|
+
* * Field Name: Configuration
|
|
39383
|
+
* * Display Name: Configuration
|
|
39384
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39385
|
+
* * Description: Freeform JSON for connector-specific field configuration
|
|
39386
|
+
*/
|
|
39387
|
+
get Configuration(): string | null;
|
|
39388
|
+
set Configuration(value: string | null);
|
|
39389
|
+
/**
|
|
39390
|
+
* * Field Name: Status
|
|
39391
|
+
* * Display Name: Status
|
|
39392
|
+
* * SQL Data Type: nvarchar(25)
|
|
39393
|
+
* * Default Value: Active
|
|
39394
|
+
* * Value List Type: List
|
|
39395
|
+
* * Possible Values
|
|
39396
|
+
* * Active
|
|
39397
|
+
* * Deprecated
|
|
39398
|
+
* * Disabled
|
|
39399
|
+
* * Description: Active, Deprecated, or Disabled. Mirrors EntityField status values.
|
|
39400
|
+
*/
|
|
39401
|
+
get Status(): 'Active' | 'Deprecated' | 'Disabled';
|
|
39402
|
+
set Status(value: 'Active' | 'Deprecated' | 'Disabled');
|
|
39403
|
+
/**
|
|
39404
|
+
* * Field Name: __mj_CreatedAt
|
|
39405
|
+
* * Display Name: Created At
|
|
39406
|
+
* * SQL Data Type: datetimeoffset
|
|
39407
|
+
* * Default Value: getutcdate()
|
|
39408
|
+
*/
|
|
39409
|
+
get __mj_CreatedAt(): Date;
|
|
39410
|
+
/**
|
|
39411
|
+
* * Field Name: __mj_UpdatedAt
|
|
39412
|
+
* * Display Name: Updated At
|
|
39413
|
+
* * SQL Data Type: datetimeoffset
|
|
39414
|
+
* * Default Value: getutcdate()
|
|
39415
|
+
*/
|
|
39416
|
+
get __mj_UpdatedAt(): Date;
|
|
39417
|
+
/**
|
|
39418
|
+
* * Field Name: IntegrationObject
|
|
39419
|
+
* * Display Name: Integration Object Name
|
|
39420
|
+
* * SQL Data Type: nvarchar(255)
|
|
39421
|
+
*/
|
|
39422
|
+
get IntegrationObject(): string;
|
|
39423
|
+
/**
|
|
39424
|
+
* * Field Name: RelatedIntegrationObject
|
|
39425
|
+
* * Display Name: Related Object Name
|
|
39426
|
+
* * SQL Data Type: nvarchar(255)
|
|
39427
|
+
*/
|
|
39428
|
+
get RelatedIntegrationObject(): string | null;
|
|
39429
|
+
}
|
|
39430
|
+
/**
|
|
39431
|
+
* MJ: Integration Objects - strongly typed entity sub-class
|
|
39432
|
+
* * Schema: __mj
|
|
39433
|
+
* * Base Table: IntegrationObject
|
|
39434
|
+
* * Base View: vwIntegrationObjects
|
|
39435
|
+
* * @description Describes an external object or endpoint exposed by an integration (e.g., Members, Events, Invoices)
|
|
39436
|
+
* * Primary Key: ID
|
|
39437
|
+
* @extends {BaseEntity}
|
|
39438
|
+
* @class
|
|
39439
|
+
* @public
|
|
39440
|
+
*/
|
|
39441
|
+
export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationObjectEntityType> {
|
|
39442
|
+
/**
|
|
39443
|
+
* Loads the MJ: Integration Objects record from the database
|
|
39444
|
+
* @param ID: string - primary key value to load the MJ: Integration Objects record.
|
|
39445
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39446
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39447
|
+
* @public
|
|
39448
|
+
* @async
|
|
39449
|
+
* @memberof MJIntegrationObjectEntity
|
|
39450
|
+
* @method
|
|
39451
|
+
* @override
|
|
39452
|
+
*/
|
|
39453
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39454
|
+
/**
|
|
39455
|
+
* * Field Name: ID
|
|
39456
|
+
* * Display Name: ID
|
|
39457
|
+
* * SQL Data Type: uniqueidentifier
|
|
39458
|
+
* * Default Value: newsequentialid()
|
|
39459
|
+
* * Description: Primary key
|
|
39460
|
+
*/
|
|
39461
|
+
get ID(): string;
|
|
39462
|
+
set ID(value: string);
|
|
39463
|
+
/**
|
|
39464
|
+
* * Field Name: IntegrationID
|
|
39465
|
+
* * Display Name: Integration
|
|
39466
|
+
* * SQL Data Type: uniqueidentifier
|
|
39467
|
+
* * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
|
|
39468
|
+
* * Description: Foreign key to the Integration that owns this object
|
|
39469
|
+
*/
|
|
39470
|
+
get IntegrationID(): string;
|
|
39471
|
+
set IntegrationID(value: string);
|
|
39472
|
+
/**
|
|
39473
|
+
* * Field Name: Name
|
|
39474
|
+
* * Display Name: Internal Name
|
|
39475
|
+
* * SQL Data Type: nvarchar(255)
|
|
39476
|
+
* * Description: Internal/programmatic name of the external object (e.g., Members, Events)
|
|
39477
|
+
*/
|
|
39478
|
+
get Name(): string;
|
|
39479
|
+
set Name(value: string);
|
|
39480
|
+
/**
|
|
39481
|
+
* * Field Name: DisplayName
|
|
39482
|
+
* * Display Name: Display Name
|
|
39483
|
+
* * SQL Data Type: nvarchar(255)
|
|
39484
|
+
* * Description: Human-friendly display label
|
|
39485
|
+
*/
|
|
39486
|
+
get DisplayName(): string | null;
|
|
39487
|
+
set DisplayName(value: string | null);
|
|
39488
|
+
/**
|
|
39489
|
+
* * Field Name: Description
|
|
39490
|
+
* * Display Name: Description
|
|
39491
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39492
|
+
* * Description: Description of what this external object represents
|
|
39493
|
+
*/
|
|
39494
|
+
get Description(): string | null;
|
|
39495
|
+
set Description(value: string | null);
|
|
39496
|
+
/**
|
|
39497
|
+
* * Field Name: Category
|
|
39498
|
+
* * Display Name: Category
|
|
39499
|
+
* * SQL Data Type: nvarchar(100)
|
|
39500
|
+
* * Description: UI grouping category (e.g., Membership, Events, Finance)
|
|
39501
|
+
*/
|
|
39502
|
+
get Category(): string | null;
|
|
39503
|
+
set Category(value: string | null);
|
|
39504
|
+
/**
|
|
39505
|
+
* * Field Name: APIPath
|
|
39506
|
+
* * Display Name: API Path
|
|
39507
|
+
* * SQL Data Type: nvarchar(500)
|
|
39508
|
+
* * Description: API endpoint path, may include template variables like {ProfileID} that are resolved at runtime from parent object records
|
|
39509
|
+
*/
|
|
39510
|
+
get APIPath(): string;
|
|
39511
|
+
set APIPath(value: string);
|
|
39512
|
+
/**
|
|
39513
|
+
* * Field Name: ResponseDataKey
|
|
39514
|
+
* * Display Name: Response Data Key
|
|
39515
|
+
* * SQL Data Type: nvarchar(255)
|
|
39516
|
+
* * Description: JSON key used to extract the data array from the API response envelope. NULL means the response is a root-level array.
|
|
39517
|
+
*/
|
|
39518
|
+
get ResponseDataKey(): string | null;
|
|
39519
|
+
set ResponseDataKey(value: string | null);
|
|
39520
|
+
/**
|
|
39521
|
+
* * Field Name: DefaultPageSize
|
|
39522
|
+
* * Display Name: Default Page Size
|
|
39523
|
+
* * SQL Data Type: int
|
|
39524
|
+
* * Default Value: 100
|
|
39525
|
+
* * Description: Number of records to request per page from the API
|
|
39526
|
+
*/
|
|
39527
|
+
get DefaultPageSize(): number;
|
|
39528
|
+
set DefaultPageSize(value: number);
|
|
39529
|
+
/**
|
|
39530
|
+
* * Field Name: SupportsPagination
|
|
39531
|
+
* * Display Name: Supports Pagination
|
|
39532
|
+
* * SQL Data Type: bit
|
|
39533
|
+
* * Default Value: 1
|
|
39534
|
+
* * Description: Whether this endpoint supports paginated fetching
|
|
39535
|
+
*/
|
|
39536
|
+
get SupportsPagination(): boolean;
|
|
39537
|
+
set SupportsPagination(value: boolean);
|
|
39538
|
+
/**
|
|
39539
|
+
* * Field Name: PaginationType
|
|
39540
|
+
* * Display Name: Pagination Type
|
|
39541
|
+
* * SQL Data Type: nvarchar(20)
|
|
39542
|
+
* * Default Value: PageNumber
|
|
39543
|
+
* * Value List Type: List
|
|
39544
|
+
* * Possible Values
|
|
39545
|
+
* * Cursor
|
|
39546
|
+
* * None
|
|
39547
|
+
* * Offset
|
|
39548
|
+
* * PageNumber
|
|
39549
|
+
* * Description: Pagination strategy: PageNumber (page index), Offset (record offset), Cursor (opaque token), or None
|
|
39550
|
+
*/
|
|
39551
|
+
get PaginationType(): 'Cursor' | 'None' | 'Offset' | 'PageNumber';
|
|
39552
|
+
set PaginationType(value: 'Cursor' | 'None' | 'Offset' | 'PageNumber');
|
|
39553
|
+
/**
|
|
39554
|
+
* * Field Name: SupportsIncrementalSync
|
|
39555
|
+
* * Display Name: Supports Incremental Sync
|
|
39556
|
+
* * SQL Data Type: bit
|
|
39557
|
+
* * Default Value: 0
|
|
39558
|
+
* * Description: Whether this object supports watermark-based incremental sync
|
|
39559
|
+
*/
|
|
39560
|
+
get SupportsIncrementalSync(): boolean;
|
|
39561
|
+
set SupportsIncrementalSync(value: boolean);
|
|
39562
|
+
/**
|
|
39563
|
+
* * Field Name: SupportsWrite
|
|
39564
|
+
* * Display Name: Supports Write
|
|
39565
|
+
* * SQL Data Type: bit
|
|
39566
|
+
* * Default Value: 0
|
|
39567
|
+
* * Description: Whether data can be pushed back to this object via the API
|
|
39568
|
+
*/
|
|
39569
|
+
get SupportsWrite(): boolean;
|
|
39570
|
+
set SupportsWrite(value: boolean);
|
|
39571
|
+
/**
|
|
39572
|
+
* * Field Name: DefaultQueryParams
|
|
39573
|
+
* * Display Name: Default Query Parameters
|
|
39574
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39575
|
+
* * Description: JSON object of default query parameters to include with every API request for this object
|
|
39576
|
+
*/
|
|
39577
|
+
get DefaultQueryParams(): string | null;
|
|
39578
|
+
set DefaultQueryParams(value: string | null);
|
|
39579
|
+
/**
|
|
39580
|
+
* * Field Name: Configuration
|
|
39581
|
+
* * Display Name: Configuration
|
|
39582
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39583
|
+
* * Description: Freeform JSON for connector-specific configuration not covered by standard columns
|
|
39584
|
+
*/
|
|
39585
|
+
get Configuration(): string | null;
|
|
39586
|
+
set Configuration(value: string | null);
|
|
39587
|
+
/**
|
|
39588
|
+
* * Field Name: Sequence
|
|
39589
|
+
* * Display Name: Sequence
|
|
39590
|
+
* * SQL Data Type: int
|
|
39591
|
+
* * Default Value: 0
|
|
39592
|
+
* * Description: Processing and display order. Lower numbers are processed first.
|
|
39593
|
+
*/
|
|
39594
|
+
get Sequence(): number;
|
|
39595
|
+
set Sequence(value: number);
|
|
39596
|
+
/**
|
|
39597
|
+
* * Field Name: Status
|
|
39598
|
+
* * Display Name: Status
|
|
39599
|
+
* * SQL Data Type: nvarchar(25)
|
|
39600
|
+
* * Default Value: Active
|
|
39601
|
+
* * Value List Type: List
|
|
39602
|
+
* * Possible Values
|
|
39603
|
+
* * Active
|
|
39604
|
+
* * Deprecated
|
|
39605
|
+
* * Disabled
|
|
39606
|
+
* * Description: Active, Deprecated, or Disabled. Mirrors EntityField status values.
|
|
39607
|
+
*/
|
|
39608
|
+
get Status(): 'Active' | 'Deprecated' | 'Disabled';
|
|
39609
|
+
set Status(value: 'Active' | 'Deprecated' | 'Disabled');
|
|
39610
|
+
/**
|
|
39611
|
+
* * Field Name: __mj_CreatedAt
|
|
39612
|
+
* * Display Name: Created At
|
|
39613
|
+
* * SQL Data Type: datetimeoffset
|
|
39614
|
+
* * Default Value: getutcdate()
|
|
39615
|
+
*/
|
|
39616
|
+
get __mj_CreatedAt(): Date;
|
|
39617
|
+
/**
|
|
39618
|
+
* * Field Name: __mj_UpdatedAt
|
|
39619
|
+
* * Display Name: Updated At
|
|
39620
|
+
* * SQL Data Type: datetimeoffset
|
|
39621
|
+
* * Default Value: getutcdate()
|
|
39622
|
+
*/
|
|
39623
|
+
get __mj_UpdatedAt(): Date;
|
|
39624
|
+
/**
|
|
39625
|
+
* * Field Name: Integration
|
|
39626
|
+
* * Display Name: Integration Name
|
|
39627
|
+
* * SQL Data Type: nvarchar(100)
|
|
39628
|
+
*/
|
|
39629
|
+
get Integration(): string;
|
|
39630
|
+
}
|
|
39631
|
+
/**
|
|
39632
|
+
* MJ: Integration Source Types - strongly typed entity sub-class
|
|
39633
|
+
* * Schema: __mj
|
|
39634
|
+
* * Base Table: IntegrationSourceType
|
|
39635
|
+
* * Base View: vwIntegrationSourceTypes
|
|
39636
|
+
* * @description Defines categories of integration sources such as SaaS API, Relational Database, or File Feed.
|
|
39637
|
+
* * Primary Key: ID
|
|
39638
|
+
* @extends {BaseEntity}
|
|
39639
|
+
* @class
|
|
39640
|
+
* @public
|
|
39641
|
+
*/
|
|
39642
|
+
export declare class MJIntegrationSourceTypeEntity extends BaseEntity<MJIntegrationSourceTypeEntityType> {
|
|
39643
|
+
/**
|
|
39644
|
+
* Loads the MJ: Integration Source Types record from the database
|
|
39645
|
+
* @param ID: string - primary key value to load the MJ: Integration Source Types record.
|
|
39646
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39647
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39648
|
+
* @public
|
|
39649
|
+
* @async
|
|
39650
|
+
* @memberof MJIntegrationSourceTypeEntity
|
|
39651
|
+
* @method
|
|
39652
|
+
* @override
|
|
39653
|
+
*/
|
|
39654
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39655
|
+
/**
|
|
39656
|
+
* * Field Name: ID
|
|
39657
|
+
* * Display Name: ID
|
|
39658
|
+
* * SQL Data Type: uniqueidentifier
|
|
39659
|
+
* * Default Value: newsequentialid()
|
|
39660
|
+
*/
|
|
39661
|
+
get ID(): string;
|
|
39662
|
+
set ID(value: string);
|
|
39663
|
+
/**
|
|
39664
|
+
* * Field Name: Name
|
|
39665
|
+
* * Display Name: Name
|
|
39666
|
+
* * SQL Data Type: nvarchar(200)
|
|
39667
|
+
* * Description: Display name for this source type (e.g. SaaS API, Relational Database, File Feed).
|
|
39668
|
+
*/
|
|
39669
|
+
get Name(): string;
|
|
39670
|
+
set Name(value: string);
|
|
39671
|
+
/**
|
|
39672
|
+
* * Field Name: Description
|
|
39673
|
+
* * Display Name: Description
|
|
39674
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39675
|
+
* * Description: Optional longer description of this source type.
|
|
39676
|
+
*/
|
|
39677
|
+
get Description(): string | null;
|
|
39678
|
+
set Description(value: string | null);
|
|
39679
|
+
/**
|
|
39680
|
+
* * Field Name: DriverClass
|
|
39681
|
+
* * Display Name: Driver Class
|
|
39682
|
+
* * SQL Data Type: nvarchar(500)
|
|
39683
|
+
* * Description: Fully-qualified class name registered via @RegisterClass that implements BaseIntegrationConnector for this source type.
|
|
39684
|
+
*/
|
|
39685
|
+
get DriverClass(): string;
|
|
39686
|
+
set DriverClass(value: string);
|
|
39687
|
+
/**
|
|
39688
|
+
* * Field Name: IconClass
|
|
39689
|
+
* * Display Name: Icon Class
|
|
39690
|
+
* * SQL Data Type: nvarchar(200)
|
|
39691
|
+
* * Description: Font Awesome icon class for UI display.
|
|
39692
|
+
*/
|
|
39693
|
+
get IconClass(): string | null;
|
|
39694
|
+
set IconClass(value: string | null);
|
|
39695
|
+
/**
|
|
39696
|
+
* * Field Name: Status
|
|
39697
|
+
* * Display Name: Status
|
|
39698
|
+
* * SQL Data Type: nvarchar(50)
|
|
39699
|
+
* * Default Value: Active
|
|
39700
|
+
* * Value List Type: List
|
|
39701
|
+
* * Possible Values
|
|
39702
|
+
* * Active
|
|
39703
|
+
* * Inactive
|
|
39704
|
+
* * Description: Whether this source type is available for use. Active or Inactive.
|
|
39705
|
+
*/
|
|
39706
|
+
get Status(): 'Active' | 'Inactive';
|
|
39707
|
+
set Status(value: 'Active' | 'Inactive');
|
|
39708
|
+
/**
|
|
39709
|
+
* * Field Name: __mj_CreatedAt
|
|
39710
|
+
* * Display Name: Created At
|
|
39711
|
+
* * SQL Data Type: datetimeoffset
|
|
39712
|
+
* * Default Value: getutcdate()
|
|
39713
|
+
*/
|
|
39714
|
+
get __mj_CreatedAt(): Date;
|
|
39715
|
+
/**
|
|
39716
|
+
* * Field Name: __mj_UpdatedAt
|
|
39717
|
+
* * Display Name: Updated At
|
|
39718
|
+
* * SQL Data Type: datetimeoffset
|
|
39719
|
+
* * Default Value: getutcdate()
|
|
39720
|
+
*/
|
|
39721
|
+
get __mj_UpdatedAt(): Date;
|
|
39722
|
+
}
|
|
38243
39723
|
/**
|
|
38244
39724
|
* MJ: Integration URL Formats - strongly typed entity sub-class
|
|
38245
39725
|
* * Schema: __mj
|
|
@@ -38361,12 +39841,14 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
|
|
|
38361
39841
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38362
39842
|
/**
|
|
38363
39843
|
* * Field Name: Name
|
|
39844
|
+
* * Display Name: Name
|
|
38364
39845
|
* * SQL Data Type: nvarchar(100)
|
|
38365
39846
|
*/
|
|
38366
39847
|
get Name(): string;
|
|
38367
39848
|
set Name(value: string);
|
|
38368
39849
|
/**
|
|
38369
39850
|
* * Field Name: Description
|
|
39851
|
+
* * Display Name: Description
|
|
38370
39852
|
* * SQL Data Type: nvarchar(255)
|
|
38371
39853
|
*/
|
|
38372
39854
|
get Description(): string | null;
|
|
@@ -38429,11 +39911,27 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
|
|
|
38429
39911
|
get __mj_UpdatedAt(): Date;
|
|
38430
39912
|
/**
|
|
38431
39913
|
* * Field Name: ID
|
|
39914
|
+
* * Display Name: ID
|
|
38432
39915
|
* * SQL Data Type: uniqueidentifier
|
|
38433
39916
|
* * Default Value: newsequentialid()
|
|
38434
39917
|
*/
|
|
38435
39918
|
get ID(): string;
|
|
38436
39919
|
set ID(value: string);
|
|
39920
|
+
/**
|
|
39921
|
+
* * Field Name: CredentialTypeID
|
|
39922
|
+
* * Display Name: Credential Type
|
|
39923
|
+
* * SQL Data Type: uniqueidentifier
|
|
39924
|
+
* * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
|
|
39925
|
+
* * 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.
|
|
39926
|
+
*/
|
|
39927
|
+
get CredentialTypeID(): string | null;
|
|
39928
|
+
set CredentialTypeID(value: string | null);
|
|
39929
|
+
/**
|
|
39930
|
+
* * Field Name: CredentialType
|
|
39931
|
+
* * Display Name: Credential Type Name
|
|
39932
|
+
* * SQL Data Type: nvarchar(100)
|
|
39933
|
+
*/
|
|
39934
|
+
get CredentialType(): string | null;
|
|
38437
39935
|
}
|
|
38438
39936
|
/**
|
|
38439
39937
|
* MJ: Libraries - strongly typed entity sub-class
|