@memberjunction/core-entities 2.29.2 → 2.30.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.
|
@@ -3977,6 +3977,94 @@ export declare const FileSchema: z.ZodObject<{
|
|
|
3977
3977
|
Provider?: string;
|
|
3978
3978
|
}>;
|
|
3979
3979
|
export type FileEntityType = z.infer<typeof FileSchema>;
|
|
3980
|
+
/**
|
|
3981
|
+
* zod schema definition for the entity Generated Code Categories
|
|
3982
|
+
*/
|
|
3983
|
+
export declare const GeneratedCodeCategorySchema: z.ZodObject<{
|
|
3984
|
+
ID: z.ZodString;
|
|
3985
|
+
Name: z.ZodString;
|
|
3986
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3987
|
+
ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3988
|
+
__mj_CreatedAt: z.ZodDate;
|
|
3989
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
3990
|
+
Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3991
|
+
}, "strip", z.ZodTypeAny, {
|
|
3992
|
+
ID?: string;
|
|
3993
|
+
__mj_CreatedAt?: Date;
|
|
3994
|
+
__mj_UpdatedAt?: Date;
|
|
3995
|
+
Name?: string;
|
|
3996
|
+
Description?: string;
|
|
3997
|
+
ParentID?: string;
|
|
3998
|
+
Parent?: string;
|
|
3999
|
+
}, {
|
|
4000
|
+
ID?: string;
|
|
4001
|
+
__mj_CreatedAt?: Date;
|
|
4002
|
+
__mj_UpdatedAt?: Date;
|
|
4003
|
+
Name?: string;
|
|
4004
|
+
Description?: string;
|
|
4005
|
+
ParentID?: string;
|
|
4006
|
+
Parent?: string;
|
|
4007
|
+
}>;
|
|
4008
|
+
export type GeneratedCodeCategoryEntityType = z.infer<typeof GeneratedCodeCategorySchema>;
|
|
4009
|
+
/**
|
|
4010
|
+
* zod schema definition for the entity Generated Codes
|
|
4011
|
+
*/
|
|
4012
|
+
export declare const GeneratedCodeSchema: z.ZodObject<{
|
|
4013
|
+
ID: z.ZodString;
|
|
4014
|
+
GeneratedAt: z.ZodDate;
|
|
4015
|
+
CategoryID: z.ZodString;
|
|
4016
|
+
GeneratedByModelID: z.ZodString;
|
|
4017
|
+
Name: z.ZodString;
|
|
4018
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4019
|
+
Code: z.ZodString;
|
|
4020
|
+
Source: z.ZodString;
|
|
4021
|
+
LinkedEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4022
|
+
LinkedRecordPrimaryKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4023
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">]>;
|
|
4024
|
+
Language: z.ZodUnion<[z.ZodLiteral<"TypeScript">, z.ZodLiteral<"SQL">, z.ZodLiteral<"HTML">, z.ZodLiteral<"CSS">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Python">, z.ZodLiteral<"Other">]>;
|
|
4025
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4026
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4027
|
+
Category: z.ZodString;
|
|
4028
|
+
GeneratedByModel: z.ZodString;
|
|
4029
|
+
LinkedEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4030
|
+
}, "strip", z.ZodTypeAny, {
|
|
4031
|
+
Category?: string;
|
|
4032
|
+
ID?: string;
|
|
4033
|
+
__mj_CreatedAt?: Date;
|
|
4034
|
+
__mj_UpdatedAt?: Date;
|
|
4035
|
+
Name?: string;
|
|
4036
|
+
Description?: string;
|
|
4037
|
+
Status?: "Pending" | "Approved" | "Rejected";
|
|
4038
|
+
Code?: string;
|
|
4039
|
+
CategoryID?: string;
|
|
4040
|
+
Source?: string;
|
|
4041
|
+
LinkedEntityID?: string;
|
|
4042
|
+
LinkedEntity?: string;
|
|
4043
|
+
GeneratedAt?: Date;
|
|
4044
|
+
GeneratedByModelID?: string;
|
|
4045
|
+
LinkedRecordPrimaryKey?: string;
|
|
4046
|
+
Language?: "Other" | "SQL" | "TypeScript" | "HTML" | "CSS" | "JavaScript" | "Python";
|
|
4047
|
+
GeneratedByModel?: string;
|
|
4048
|
+
}, {
|
|
4049
|
+
Category?: string;
|
|
4050
|
+
ID?: string;
|
|
4051
|
+
__mj_CreatedAt?: Date;
|
|
4052
|
+
__mj_UpdatedAt?: Date;
|
|
4053
|
+
Name?: string;
|
|
4054
|
+
Description?: string;
|
|
4055
|
+
Status?: "Pending" | "Approved" | "Rejected";
|
|
4056
|
+
Code?: string;
|
|
4057
|
+
CategoryID?: string;
|
|
4058
|
+
Source?: string;
|
|
4059
|
+
LinkedEntityID?: string;
|
|
4060
|
+
LinkedEntity?: string;
|
|
4061
|
+
GeneratedAt?: Date;
|
|
4062
|
+
GeneratedByModelID?: string;
|
|
4063
|
+
LinkedRecordPrimaryKey?: string;
|
|
4064
|
+
Language?: "Other" | "SQL" | "TypeScript" | "HTML" | "CSS" | "JavaScript" | "Python";
|
|
4065
|
+
GeneratedByModel?: string;
|
|
4066
|
+
}>;
|
|
4067
|
+
export type GeneratedCodeEntityType = z.infer<typeof GeneratedCodeSchema>;
|
|
3980
4068
|
/**
|
|
3981
4069
|
* zod schema definition for the entity Integration URL Formats
|
|
3982
4070
|
*/
|
|
@@ -8428,7 +8516,7 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
8428
8516
|
*/
|
|
8429
8517
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
8430
8518
|
/**
|
|
8431
|
-
* Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated
|
|
8519
|
+
* Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
8432
8520
|
* * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
|
|
8433
8521
|
* * CostRank: This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
|
|
8434
8522
|
* * PowerRank: This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
|
|
@@ -10091,6 +10179,21 @@ export declare class CommunicationProviderEntity extends BaseEntity<Communicatio
|
|
|
10091
10179
|
*/
|
|
10092
10180
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10093
10181
|
/**
|
|
10182
|
+
* Validate() method override for Communication Providers entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10183
|
+
* * Table-Level: This rule ensures that the ability to schedule sending messages cannot exceed the overall ability to send messages. In simpler terms, if a user can send messages, they can also send them on a schedule, but if they cannot send messages, they shouldn't be able to send them on a schedule either.
|
|
10184
|
+
* @public
|
|
10185
|
+
* @method
|
|
10186
|
+
* @override
|
|
10187
|
+
*/
|
|
10188
|
+
Validate(): ValidationResult;
|
|
10189
|
+
/**
|
|
10190
|
+
* This rule ensures that the ability to schedule sending messages cannot exceed the overall ability to send messages. In simpler terms, if a user can send messages, they can also send them on a schedule, but if they cannot send messages, they shouldn't be able to send them on a schedule either.
|
|
10191
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10192
|
+
* @public
|
|
10193
|
+
* @method
|
|
10194
|
+
*/
|
|
10195
|
+
ValidateSupportsScheduledSendingComparedToSupportsSending(result: ValidationResult): void;
|
|
10196
|
+
/**
|
|
10094
10197
|
* * Field Name: ID
|
|
10095
10198
|
* * Display Name: ID
|
|
10096
10199
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -11929,7 +12032,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
|
|
|
11929
12032
|
*/
|
|
11930
12033
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
11931
12034
|
/**
|
|
11932
|
-
* Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated
|
|
12035
|
+
* Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
11933
12036
|
* * UserRating: This rule ensures that the user rating is between 1 and 10, inclusive. Ratings below 1 or above 10 are not allowed.
|
|
11934
12037
|
* @public
|
|
11935
12038
|
* @method
|
|
@@ -13629,6 +13732,21 @@ export declare class EntityEntity extends BaseEntity<EntityEntityType> {
|
|
|
13629
13732
|
*/
|
|
13630
13733
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
13631
13734
|
/**
|
|
13735
|
+
* Validate() method override for Entities entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
13736
|
+
* * Table-Level: This rule ensures that if record merging is allowed, it can only be permitted if record deletion is enabled and the deletion type is set to 'Soft'.
|
|
13737
|
+
* @public
|
|
13738
|
+
* @method
|
|
13739
|
+
* @override
|
|
13740
|
+
*/
|
|
13741
|
+
Validate(): ValidationResult;
|
|
13742
|
+
/**
|
|
13743
|
+
* This rule ensures that if record merging is allowed, it can only be permitted if record deletion is enabled and the deletion type is set to 'Soft'.
|
|
13744
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
13745
|
+
* @public
|
|
13746
|
+
* @method
|
|
13747
|
+
*/
|
|
13748
|
+
ValidateAllowRecordMergeConstraints(result: ValidationResult): void;
|
|
13749
|
+
/**
|
|
13632
13750
|
* * Field Name: ID
|
|
13633
13751
|
* * SQL Data Type: uniqueidentifier
|
|
13634
13752
|
* * Default Value: newsequentialid()
|
|
@@ -15109,6 +15227,21 @@ export declare class EntityDocumentEntity extends BaseEntity<EntityDocumentEntit
|
|
|
15109
15227
|
*/
|
|
15110
15228
|
Delete(): Promise<boolean>;
|
|
15111
15229
|
/**
|
|
15230
|
+
* Validate() method override for Entity Documents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
15231
|
+
* * Table-Level: This rule ensures that the potential match threshold is not greater than the absolute match threshold, and both thresholds must be between 0 and 1 inclusive.
|
|
15232
|
+
* @public
|
|
15233
|
+
* @method
|
|
15234
|
+
* @override
|
|
15235
|
+
*/
|
|
15236
|
+
Validate(): ValidationResult;
|
|
15237
|
+
/**
|
|
15238
|
+
* This rule ensures that the potential match threshold is not greater than the absolute match threshold, and both thresholds must be between 0 and 1 inclusive.
|
|
15239
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
15240
|
+
* @public
|
|
15241
|
+
* @method
|
|
15242
|
+
*/
|
|
15243
|
+
ValidatePotentialMatchThresholdAgainstAbsoluteMatchThreshold(result: ValidationResult): void;
|
|
15244
|
+
/**
|
|
15112
15245
|
* * Field Name: ID
|
|
15113
15246
|
* * Display Name: ID
|
|
15114
15247
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -16724,7 +16857,7 @@ export declare class ExplorerNavigationItemEntity extends BaseEntity<ExplorerNav
|
|
|
16724
16857
|
*/
|
|
16725
16858
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
16726
16859
|
/**
|
|
16727
|
-
* Validate() method override for Explorer Navigation Items entity. This is an auto-generated method that invokes the generated
|
|
16860
|
+
* Validate() method override for Explorer Navigation Items entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
16728
16861
|
* * Sequence: This rule ensures that the sequence must be greater than zero.
|
|
16729
16862
|
* @public
|
|
16730
16863
|
* @method
|
|
@@ -17188,6 +17321,249 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
|
|
|
17188
17321
|
*/
|
|
17189
17322
|
get Provider(): string;
|
|
17190
17323
|
}
|
|
17324
|
+
/**
|
|
17325
|
+
* Generated Code Categories - strongly typed entity sub-class
|
|
17326
|
+
* * Schema: __mj
|
|
17327
|
+
* * Base Table: GeneratedCodeCategory
|
|
17328
|
+
* * Base View: vwGeneratedCodeCategories
|
|
17329
|
+
* * Primary Key: ID
|
|
17330
|
+
* @extends {BaseEntity}
|
|
17331
|
+
* @class
|
|
17332
|
+
* @public
|
|
17333
|
+
*/
|
|
17334
|
+
export declare class GeneratedCodeCategoryEntity extends BaseEntity<GeneratedCodeCategoryEntityType> {
|
|
17335
|
+
/**
|
|
17336
|
+
* Loads the Generated Code Categories record from the database
|
|
17337
|
+
* @param ID: string - primary key value to load the Generated Code Categories record.
|
|
17338
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
17339
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
17340
|
+
* @public
|
|
17341
|
+
* @async
|
|
17342
|
+
* @memberof GeneratedCodeCategoryEntity
|
|
17343
|
+
* @method
|
|
17344
|
+
* @override
|
|
17345
|
+
*/
|
|
17346
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
17347
|
+
/**
|
|
17348
|
+
* * Field Name: ID
|
|
17349
|
+
* * Display Name: ID
|
|
17350
|
+
* * SQL Data Type: uniqueidentifier
|
|
17351
|
+
* * Default Value: newsequentialid()
|
|
17352
|
+
*/
|
|
17353
|
+
get ID(): string;
|
|
17354
|
+
/**
|
|
17355
|
+
* * Field Name: Name
|
|
17356
|
+
* * Display Name: Name
|
|
17357
|
+
* * SQL Data Type: nvarchar(255)
|
|
17358
|
+
*/
|
|
17359
|
+
get Name(): string;
|
|
17360
|
+
set Name(value: string);
|
|
17361
|
+
/**
|
|
17362
|
+
* * Field Name: Description
|
|
17363
|
+
* * Display Name: Description
|
|
17364
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17365
|
+
*/
|
|
17366
|
+
get Description(): string | null;
|
|
17367
|
+
set Description(value: string | null);
|
|
17368
|
+
/**
|
|
17369
|
+
* * Field Name: ParentID
|
|
17370
|
+
* * Display Name: Parent ID
|
|
17371
|
+
* * SQL Data Type: uniqueidentifier
|
|
17372
|
+
* * Related Entity/Foreign Key: Generated Code Categories (vwGeneratedCodeCategories.ID)
|
|
17373
|
+
* * Description: Parent category ID, allowing for hierarchical categorization.
|
|
17374
|
+
*/
|
|
17375
|
+
get ParentID(): string | null;
|
|
17376
|
+
set ParentID(value: string | null);
|
|
17377
|
+
/**
|
|
17378
|
+
* * Field Name: __mj_CreatedAt
|
|
17379
|
+
* * Display Name: Created At
|
|
17380
|
+
* * SQL Data Type: datetimeoffset
|
|
17381
|
+
* * Default Value: getutcdate()
|
|
17382
|
+
*/
|
|
17383
|
+
get __mj_CreatedAt(): Date;
|
|
17384
|
+
/**
|
|
17385
|
+
* * Field Name: __mj_UpdatedAt
|
|
17386
|
+
* * Display Name: Updated At
|
|
17387
|
+
* * SQL Data Type: datetimeoffset
|
|
17388
|
+
* * Default Value: getutcdate()
|
|
17389
|
+
*/
|
|
17390
|
+
get __mj_UpdatedAt(): Date;
|
|
17391
|
+
/**
|
|
17392
|
+
* * Field Name: Parent
|
|
17393
|
+
* * Display Name: Parent
|
|
17394
|
+
* * SQL Data Type: nvarchar(255)
|
|
17395
|
+
*/
|
|
17396
|
+
get Parent(): string | null;
|
|
17397
|
+
}
|
|
17398
|
+
/**
|
|
17399
|
+
* Generated Codes - strongly typed entity sub-class
|
|
17400
|
+
* * Schema: __mj
|
|
17401
|
+
* * Base Table: GeneratedCode
|
|
17402
|
+
* * Base View: vwGeneratedCodes
|
|
17403
|
+
* * Primary Key: ID
|
|
17404
|
+
* @extends {BaseEntity}
|
|
17405
|
+
* @class
|
|
17406
|
+
* @public
|
|
17407
|
+
*/
|
|
17408
|
+
export declare class GeneratedCodeEntity extends BaseEntity<GeneratedCodeEntityType> {
|
|
17409
|
+
/**
|
|
17410
|
+
* Loads the Generated Codes record from the database
|
|
17411
|
+
* @param ID: string - primary key value to load the Generated Codes record.
|
|
17412
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
17413
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
17414
|
+
* @public
|
|
17415
|
+
* @async
|
|
17416
|
+
* @memberof GeneratedCodeEntity
|
|
17417
|
+
* @method
|
|
17418
|
+
* @override
|
|
17419
|
+
*/
|
|
17420
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
17421
|
+
/**
|
|
17422
|
+
* * Field Name: ID
|
|
17423
|
+
* * Display Name: ID
|
|
17424
|
+
* * SQL Data Type: uniqueidentifier
|
|
17425
|
+
* * Default Value: newsequentialid()
|
|
17426
|
+
*/
|
|
17427
|
+
get ID(): string;
|
|
17428
|
+
/**
|
|
17429
|
+
* * Field Name: GeneratedAt
|
|
17430
|
+
* * Display Name: Generated At
|
|
17431
|
+
* * SQL Data Type: datetimeoffset
|
|
17432
|
+
* * Default Value: getutcdate()
|
|
17433
|
+
* * Description: When the code was generated.
|
|
17434
|
+
*/
|
|
17435
|
+
get GeneratedAt(): Date;
|
|
17436
|
+
set GeneratedAt(value: Date);
|
|
17437
|
+
/**
|
|
17438
|
+
* * Field Name: CategoryID
|
|
17439
|
+
* * Display Name: Category ID
|
|
17440
|
+
* * SQL Data Type: uniqueidentifier
|
|
17441
|
+
* * Related Entity/Foreign Key: Generated Code Categories (vwGeneratedCodeCategories.ID)
|
|
17442
|
+
* * Description: Reference to the category of generated code.
|
|
17443
|
+
*/
|
|
17444
|
+
get CategoryID(): string;
|
|
17445
|
+
set CategoryID(value: string);
|
|
17446
|
+
/**
|
|
17447
|
+
* * Field Name: GeneratedByModelID
|
|
17448
|
+
* * Display Name: Generated By Model ID
|
|
17449
|
+
* * SQL Data Type: uniqueidentifier
|
|
17450
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
17451
|
+
* * Description: AI model responsible for generating this code.
|
|
17452
|
+
*/
|
|
17453
|
+
get GeneratedByModelID(): string;
|
|
17454
|
+
set GeneratedByModelID(value: string);
|
|
17455
|
+
/**
|
|
17456
|
+
* * Field Name: Name
|
|
17457
|
+
* * Display Name: Name
|
|
17458
|
+
* * SQL Data Type: nvarchar(255)
|
|
17459
|
+
* * Description: Descriptive name of the generated code.
|
|
17460
|
+
*/
|
|
17461
|
+
get Name(): string;
|
|
17462
|
+
set Name(value: string);
|
|
17463
|
+
/**
|
|
17464
|
+
* * Field Name: Description
|
|
17465
|
+
* * Display Name: Description
|
|
17466
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17467
|
+
* * Description: Optional description of the generated code.
|
|
17468
|
+
*/
|
|
17469
|
+
get Description(): string | null;
|
|
17470
|
+
set Description(value: string | null);
|
|
17471
|
+
/**
|
|
17472
|
+
* * Field Name: Code
|
|
17473
|
+
* * Display Name: Code
|
|
17474
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17475
|
+
* * Description: The actual generated code.
|
|
17476
|
+
*/
|
|
17477
|
+
get Code(): string;
|
|
17478
|
+
set Code(value: string);
|
|
17479
|
+
/**
|
|
17480
|
+
* * Field Name: Source
|
|
17481
|
+
* * Display Name: Source
|
|
17482
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17483
|
+
* * Description: Source material used to generate the code, e.g., a SQL CHECK constraint.
|
|
17484
|
+
*/
|
|
17485
|
+
get Source(): string;
|
|
17486
|
+
set Source(value: string);
|
|
17487
|
+
/**
|
|
17488
|
+
* * Field Name: LinkedEntityID
|
|
17489
|
+
* * Display Name: Linked Entity ID
|
|
17490
|
+
* * SQL Data Type: uniqueidentifier
|
|
17491
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
17492
|
+
*/
|
|
17493
|
+
get LinkedEntityID(): string | null;
|
|
17494
|
+
set LinkedEntityID(value: string | null);
|
|
17495
|
+
/**
|
|
17496
|
+
* * Field Name: LinkedRecordPrimaryKey
|
|
17497
|
+
* * Display Name: Linked Record Primary Key
|
|
17498
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17499
|
+
*/
|
|
17500
|
+
get LinkedRecordPrimaryKey(): string | null;
|
|
17501
|
+
set LinkedRecordPrimaryKey(value: string | null);
|
|
17502
|
+
/**
|
|
17503
|
+
* * Field Name: Status
|
|
17504
|
+
* * Display Name: Status
|
|
17505
|
+
* * SQL Data Type: nvarchar(20)
|
|
17506
|
+
* * Default Value: Pending
|
|
17507
|
+
* * Value List Type: List
|
|
17508
|
+
* * Possible Values
|
|
17509
|
+
* * Pending
|
|
17510
|
+
* * Approved
|
|
17511
|
+
* * Rejected
|
|
17512
|
+
* * Description: Status of the generated code, e.g., Pending, Approved, or Rejected.
|
|
17513
|
+
*/
|
|
17514
|
+
get Status(): 'Pending' | 'Approved' | 'Rejected';
|
|
17515
|
+
set Status(value: 'Pending' | 'Approved' | 'Rejected');
|
|
17516
|
+
/**
|
|
17517
|
+
* * Field Name: Language
|
|
17518
|
+
* * Display Name: Language
|
|
17519
|
+
* * SQL Data Type: nvarchar(50)
|
|
17520
|
+
* * Default Value: TypeScript
|
|
17521
|
+
* * Value List Type: List
|
|
17522
|
+
* * Possible Values
|
|
17523
|
+
* * TypeScript
|
|
17524
|
+
* * SQL
|
|
17525
|
+
* * HTML
|
|
17526
|
+
* * CSS
|
|
17527
|
+
* * JavaScript
|
|
17528
|
+
* * Python
|
|
17529
|
+
* * Other
|
|
17530
|
+
* * Description: Programming language of the generated code (TypeScript, SQL, HTML, CSS, JavaScript, Python, or Other).
|
|
17531
|
+
*/
|
|
17532
|
+
get Language(): 'TypeScript' | 'SQL' | 'HTML' | 'CSS' | 'JavaScript' | 'Python' | 'Other';
|
|
17533
|
+
set Language(value: 'TypeScript' | 'SQL' | 'HTML' | 'CSS' | 'JavaScript' | 'Python' | 'Other');
|
|
17534
|
+
/**
|
|
17535
|
+
* * Field Name: __mj_CreatedAt
|
|
17536
|
+
* * Display Name: Created At
|
|
17537
|
+
* * SQL Data Type: datetimeoffset
|
|
17538
|
+
* * Default Value: getutcdate()
|
|
17539
|
+
*/
|
|
17540
|
+
get __mj_CreatedAt(): Date;
|
|
17541
|
+
/**
|
|
17542
|
+
* * Field Name: __mj_UpdatedAt
|
|
17543
|
+
* * Display Name: Updated At
|
|
17544
|
+
* * SQL Data Type: datetimeoffset
|
|
17545
|
+
* * Default Value: getutcdate()
|
|
17546
|
+
*/
|
|
17547
|
+
get __mj_UpdatedAt(): Date;
|
|
17548
|
+
/**
|
|
17549
|
+
* * Field Name: Category
|
|
17550
|
+
* * Display Name: Category
|
|
17551
|
+
* * SQL Data Type: nvarchar(255)
|
|
17552
|
+
*/
|
|
17553
|
+
get Category(): string;
|
|
17554
|
+
/**
|
|
17555
|
+
* * Field Name: GeneratedByModel
|
|
17556
|
+
* * Display Name: Generated By Model
|
|
17557
|
+
* * SQL Data Type: nvarchar(50)
|
|
17558
|
+
*/
|
|
17559
|
+
get GeneratedByModel(): string;
|
|
17560
|
+
/**
|
|
17561
|
+
* * Field Name: LinkedEntity
|
|
17562
|
+
* * Display Name: Linked Entity
|
|
17563
|
+
* * SQL Data Type: nvarchar(255)
|
|
17564
|
+
*/
|
|
17565
|
+
get LinkedEntity(): string | null;
|
|
17566
|
+
}
|
|
17191
17567
|
/**
|
|
17192
17568
|
* Integration URL Formats - strongly typed entity sub-class
|
|
17193
17569
|
* * Schema: __mj
|
|
@@ -19040,7 +19416,7 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
|
|
|
19040
19416
|
*/
|
|
19041
19417
|
Delete(): Promise<boolean>;
|
|
19042
19418
|
/**
|
|
19043
|
-
* Validate() method override for Recommendation Items entity. This is an auto-generated method that invokes the generated
|
|
19419
|
+
* Validate() method override for Recommendation Items entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
19044
19420
|
* * MatchProbability: This rule ensures that the match probability value is between 0 and 1, inclusive.
|
|
19045
19421
|
* @public
|
|
19046
19422
|
* @method
|
|
@@ -20421,6 +20797,21 @@ export declare class ResourcePermissionEntity extends BaseEntity<ResourcePermiss
|
|
|
20421
20797
|
*/
|
|
20422
20798
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
20423
20799
|
/**
|
|
20800
|
+
* Validate() method override for Resource Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
20801
|
+
* * Table-Level: This rule ensures that when the type is set to 'Role', a role ID must be provided and the user ID must not be provided. Conversely, if the type is set to 'User', a user ID must be provided and the role ID must not be provided.
|
|
20802
|
+
* @public
|
|
20803
|
+
* @method
|
|
20804
|
+
* @override
|
|
20805
|
+
*/
|
|
20806
|
+
Validate(): ValidationResult;
|
|
20807
|
+
/**
|
|
20808
|
+
* This rule ensures that when the type is set to 'Role', a role ID must be provided and the user ID must not be provided. Conversely, if the type is set to 'User', a user ID must be provided and the role ID must not be provided.
|
|
20809
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
20810
|
+
* @public
|
|
20811
|
+
* @method
|
|
20812
|
+
*/
|
|
20813
|
+
ValidateUserTypeConstraints(result: ValidationResult): void;
|
|
20814
|
+
/**
|
|
20424
20815
|
* * Field Name: ID
|
|
20425
20816
|
* * Display Name: ID
|
|
20426
20817
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -21122,6 +21513,29 @@ export declare class SchemaInfoEntity extends BaseEntity<SchemaInfoEntityType> {
|
|
|
21122
21513
|
*/
|
|
21123
21514
|
Delete(): Promise<boolean>;
|
|
21124
21515
|
/**
|
|
21516
|
+
* Validate() method override for Schema Info entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
21517
|
+
* * Table-Level: This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
|
|
21518
|
+
* * Table-Level: This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
|
|
21519
|
+
* @public
|
|
21520
|
+
* @method
|
|
21521
|
+
* @override
|
|
21522
|
+
*/
|
|
21523
|
+
Validate(): ValidationResult;
|
|
21524
|
+
/**
|
|
21525
|
+
* This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
|
|
21526
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21527
|
+
* @public
|
|
21528
|
+
* @method
|
|
21529
|
+
*/
|
|
21530
|
+
ValidateEntityIDMinAndEntityIDMaxGreaterThanZero(result: ValidationResult): void;
|
|
21531
|
+
/**
|
|
21532
|
+
* This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
|
|
21533
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
21534
|
+
* @public
|
|
21535
|
+
* @method
|
|
21536
|
+
*/
|
|
21537
|
+
ValidateEntityIDMaxGreaterThanEntityIDMin(result: ValidationResult): void;
|
|
21538
|
+
/**
|
|
21125
21539
|
* * Field Name: ID
|
|
21126
21540
|
* * Display Name: ID
|
|
21127
21541
|
* * SQL Data Type: uniqueidentifier
|