@memberjunction/core-entities 2.33.0 → 2.34.1
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.
|
@@ -3328,10 +3328,6 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
3328
3328
|
ScopeDefault: z.ZodNullable<z.ZodString>;
|
|
3329
3329
|
AutoUpdateRelatedEntityInfo: z.ZodBoolean;
|
|
3330
3330
|
ValuesToPackWithSchema: z.ZodUnion<[z.ZodLiteral<"Auto">, z.ZodLiteral<"None">, z.ZodLiteral<"All">]>;
|
|
3331
|
-
GeneratedValidationFunctionName: z.ZodNullable<z.ZodString>;
|
|
3332
|
-
GeneratedValidationFunctionDescription: z.ZodNullable<z.ZodString>;
|
|
3333
|
-
GeneratedValidationFunctionCode: z.ZodNullable<z.ZodString>;
|
|
3334
|
-
GeneratedValidationFunctionCheckConstraint: z.ZodNullable<z.ZodString>;
|
|
3335
3331
|
FieldCodeName: z.ZodNullable<z.ZodString>;
|
|
3336
3332
|
Entity: z.ZodString;
|
|
3337
3333
|
SchemaName: z.ZodString;
|
|
@@ -3395,10 +3391,6 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
3395
3391
|
EntityIDFieldName?: string;
|
|
3396
3392
|
AutoUpdateRelatedEntityInfo?: boolean;
|
|
3397
3393
|
ValuesToPackWithSchema?: "None" | "Auto" | "All";
|
|
3398
|
-
GeneratedValidationFunctionName?: string;
|
|
3399
|
-
GeneratedValidationFunctionDescription?: string;
|
|
3400
|
-
GeneratedValidationFunctionCode?: string;
|
|
3401
|
-
GeneratedValidationFunctionCheckConstraint?: string;
|
|
3402
3394
|
FieldCodeName?: string;
|
|
3403
3395
|
RelatedEntity?: string;
|
|
3404
3396
|
RelatedEntitySchemaName?: string;
|
|
@@ -3456,10 +3448,6 @@ export declare const EntityFieldSchema: z.ZodObject<{
|
|
|
3456
3448
|
EntityIDFieldName?: string;
|
|
3457
3449
|
AutoUpdateRelatedEntityInfo?: boolean;
|
|
3458
3450
|
ValuesToPackWithSchema?: "None" | "Auto" | "All";
|
|
3459
|
-
GeneratedValidationFunctionName?: string;
|
|
3460
|
-
GeneratedValidationFunctionDescription?: string;
|
|
3461
|
-
GeneratedValidationFunctionCode?: string;
|
|
3462
|
-
GeneratedValidationFunctionCheckConstraint?: string;
|
|
3463
3451
|
FieldCodeName?: string;
|
|
3464
3452
|
RelatedEntity?: string;
|
|
3465
3453
|
RelatedEntitySchemaName?: string;
|
|
@@ -4319,6 +4307,140 @@ export declare const ListSchema: z.ZodObject<{
|
|
|
4319
4307
|
ExternalSystemRecordID?: string;
|
|
4320
4308
|
}>;
|
|
4321
4309
|
export type ListEntityType = z.infer<typeof ListSchema>;
|
|
4310
|
+
/**
|
|
4311
|
+
* zod schema definition for the entity MJ: Artifact Types
|
|
4312
|
+
*/
|
|
4313
|
+
export declare const ArtifactTypeSchema: z.ZodObject<{
|
|
4314
|
+
ID: z.ZodString;
|
|
4315
|
+
Name: z.ZodString;
|
|
4316
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4317
|
+
ContentType: z.ZodString;
|
|
4318
|
+
IsEnabled: z.ZodBoolean;
|
|
4319
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4320
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4321
|
+
}, "strip", z.ZodTypeAny, {
|
|
4322
|
+
ID?: string;
|
|
4323
|
+
__mj_CreatedAt?: Date;
|
|
4324
|
+
__mj_UpdatedAt?: Date;
|
|
4325
|
+
Name?: string;
|
|
4326
|
+
Description?: string;
|
|
4327
|
+
ContentType?: string;
|
|
4328
|
+
IsEnabled?: boolean;
|
|
4329
|
+
}, {
|
|
4330
|
+
ID?: string;
|
|
4331
|
+
__mj_CreatedAt?: Date;
|
|
4332
|
+
__mj_UpdatedAt?: Date;
|
|
4333
|
+
Name?: string;
|
|
4334
|
+
Description?: string;
|
|
4335
|
+
ContentType?: string;
|
|
4336
|
+
IsEnabled?: boolean;
|
|
4337
|
+
}>;
|
|
4338
|
+
export type ArtifactTypeEntityType = z.infer<typeof ArtifactTypeSchema>;
|
|
4339
|
+
/**
|
|
4340
|
+
* zod schema definition for the entity MJ: Conversation Artifact Permissions
|
|
4341
|
+
*/
|
|
4342
|
+
export declare const ConversationArtifactPermissionSchema: z.ZodObject<{
|
|
4343
|
+
ID: z.ZodString;
|
|
4344
|
+
ConversationArtifactID: z.ZodString;
|
|
4345
|
+
UserID: z.ZodString;
|
|
4346
|
+
AccessLevel: z.ZodString;
|
|
4347
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4348
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4349
|
+
ConversationArtifact: z.ZodString;
|
|
4350
|
+
}, "strip", z.ZodTypeAny, {
|
|
4351
|
+
ID?: string;
|
|
4352
|
+
__mj_CreatedAt?: Date;
|
|
4353
|
+
__mj_UpdatedAt?: Date;
|
|
4354
|
+
UserID?: string;
|
|
4355
|
+
ConversationArtifactID?: string;
|
|
4356
|
+
AccessLevel?: string;
|
|
4357
|
+
ConversationArtifact?: string;
|
|
4358
|
+
}, {
|
|
4359
|
+
ID?: string;
|
|
4360
|
+
__mj_CreatedAt?: Date;
|
|
4361
|
+
__mj_UpdatedAt?: Date;
|
|
4362
|
+
UserID?: string;
|
|
4363
|
+
ConversationArtifactID?: string;
|
|
4364
|
+
AccessLevel?: string;
|
|
4365
|
+
ConversationArtifact?: string;
|
|
4366
|
+
}>;
|
|
4367
|
+
export type ConversationArtifactPermissionEntityType = z.infer<typeof ConversationArtifactPermissionSchema>;
|
|
4368
|
+
/**
|
|
4369
|
+
* zod schema definition for the entity MJ: Conversation Artifact Versions
|
|
4370
|
+
*/
|
|
4371
|
+
export declare const ConversationArtifactVersionSchema: z.ZodObject<{
|
|
4372
|
+
ID: z.ZodString;
|
|
4373
|
+
ConversationArtifactID: z.ZodString;
|
|
4374
|
+
Version: z.ZodNumber;
|
|
4375
|
+
Configuration: z.ZodString;
|
|
4376
|
+
Content: z.ZodNullable<z.ZodString>;
|
|
4377
|
+
Comments: z.ZodNullable<z.ZodString>;
|
|
4378
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4379
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4380
|
+
ConversationArtifact: z.ZodString;
|
|
4381
|
+
}, "strip", z.ZodTypeAny, {
|
|
4382
|
+
ID?: string;
|
|
4383
|
+
Comments?: string;
|
|
4384
|
+
__mj_CreatedAt?: Date;
|
|
4385
|
+
__mj_UpdatedAt?: Date;
|
|
4386
|
+
ConversationArtifactID?: string;
|
|
4387
|
+
ConversationArtifact?: string;
|
|
4388
|
+
Version?: number;
|
|
4389
|
+
Configuration?: string;
|
|
4390
|
+
Content?: string;
|
|
4391
|
+
}, {
|
|
4392
|
+
ID?: string;
|
|
4393
|
+
Comments?: string;
|
|
4394
|
+
__mj_CreatedAt?: Date;
|
|
4395
|
+
__mj_UpdatedAt?: Date;
|
|
4396
|
+
ConversationArtifactID?: string;
|
|
4397
|
+
ConversationArtifact?: string;
|
|
4398
|
+
Version?: number;
|
|
4399
|
+
Configuration?: string;
|
|
4400
|
+
Content?: string;
|
|
4401
|
+
}>;
|
|
4402
|
+
export type ConversationArtifactVersionEntityType = z.infer<typeof ConversationArtifactVersionSchema>;
|
|
4403
|
+
/**
|
|
4404
|
+
* zod schema definition for the entity MJ: Conversation Artifacts
|
|
4405
|
+
*/
|
|
4406
|
+
export declare const ConversationArtifactSchema: z.ZodObject<{
|
|
4407
|
+
ID: z.ZodString;
|
|
4408
|
+
Name: z.ZodString;
|
|
4409
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4410
|
+
ConversationID: z.ZodString;
|
|
4411
|
+
ArtifactTypeID: z.ZodString;
|
|
4412
|
+
SharingScope: z.ZodString;
|
|
4413
|
+
Comments: z.ZodNullable<z.ZodString>;
|
|
4414
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4415
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4416
|
+
Conversation: z.ZodNullable<z.ZodString>;
|
|
4417
|
+
ArtifactType: z.ZodString;
|
|
4418
|
+
}, "strip", z.ZodTypeAny, {
|
|
4419
|
+
ID?: string;
|
|
4420
|
+
Comments?: string;
|
|
4421
|
+
__mj_CreatedAt?: Date;
|
|
4422
|
+
__mj_UpdatedAt?: Date;
|
|
4423
|
+
Name?: string;
|
|
4424
|
+
Description?: string;
|
|
4425
|
+
ConversationID?: string;
|
|
4426
|
+
Conversation?: string;
|
|
4427
|
+
ArtifactTypeID?: string;
|
|
4428
|
+
SharingScope?: string;
|
|
4429
|
+
ArtifactType?: string;
|
|
4430
|
+
}, {
|
|
4431
|
+
ID?: string;
|
|
4432
|
+
Comments?: string;
|
|
4433
|
+
__mj_CreatedAt?: Date;
|
|
4434
|
+
__mj_UpdatedAt?: Date;
|
|
4435
|
+
Name?: string;
|
|
4436
|
+
Description?: string;
|
|
4437
|
+
ConversationID?: string;
|
|
4438
|
+
Conversation?: string;
|
|
4439
|
+
ArtifactTypeID?: string;
|
|
4440
|
+
SharingScope?: string;
|
|
4441
|
+
ArtifactType?: string;
|
|
4442
|
+
}>;
|
|
4443
|
+
export type ConversationArtifactEntityType = z.infer<typeof ConversationArtifactSchema>;
|
|
4322
4444
|
/**
|
|
4323
4445
|
* zod schema definition for the entity MJ: Report User States
|
|
4324
4446
|
*/
|
|
@@ -4371,10 +4493,10 @@ export declare const ReportVersionSchema: z.ZodObject<{
|
|
|
4371
4493
|
__mj_UpdatedAt?: Date;
|
|
4372
4494
|
Name?: string;
|
|
4373
4495
|
Description?: string;
|
|
4496
|
+
Configuration?: string;
|
|
4374
4497
|
ReportID?: string;
|
|
4375
4498
|
Report?: string;
|
|
4376
4499
|
VersionNumber?: number;
|
|
4377
|
-
Configuration?: string;
|
|
4378
4500
|
DataContextUpdated?: boolean;
|
|
4379
4501
|
}, {
|
|
4380
4502
|
ID?: string;
|
|
@@ -4382,10 +4504,10 @@ export declare const ReportVersionSchema: z.ZodObject<{
|
|
|
4382
4504
|
__mj_UpdatedAt?: Date;
|
|
4383
4505
|
Name?: string;
|
|
4384
4506
|
Description?: string;
|
|
4507
|
+
Configuration?: string;
|
|
4385
4508
|
ReportID?: string;
|
|
4386
4509
|
Report?: string;
|
|
4387
4510
|
VersionNumber?: number;
|
|
4388
|
-
Configuration?: string;
|
|
4389
4511
|
DataContextUpdated?: boolean;
|
|
4390
4512
|
}>;
|
|
4391
4513
|
export type ReportVersionEntityType = z.infer<typeof ReportVersionSchema>;
|
|
@@ -15952,38 +16074,6 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
|
|
|
15952
16074
|
get ValuesToPackWithSchema(): 'Auto' | 'None' | 'All';
|
|
15953
16075
|
set ValuesToPackWithSchema(value: 'Auto' | 'None' | 'All');
|
|
15954
16076
|
/**
|
|
15955
|
-
* * Field Name: GeneratedValidationFunctionName
|
|
15956
|
-
* * Display Name: Generated Validation Function Name
|
|
15957
|
-
* * SQL Data Type: nvarchar(255)
|
|
15958
|
-
* * Description: Contains the name of the generated field validation function, if it exists, null otherwise
|
|
15959
|
-
*/
|
|
15960
|
-
get GeneratedValidationFunctionName(): string | null;
|
|
15961
|
-
set GeneratedValidationFunctionName(value: string | null);
|
|
15962
|
-
/**
|
|
15963
|
-
* * Field Name: GeneratedValidationFunctionDescription
|
|
15964
|
-
* * Display Name: Generated Validation Function Description
|
|
15965
|
-
* * SQL Data Type: nvarchar(MAX)
|
|
15966
|
-
* * Description: Contains a description for business users of what the validation function for this field does, if it exists
|
|
15967
|
-
*/
|
|
15968
|
-
get GeneratedValidationFunctionDescription(): string | null;
|
|
15969
|
-
set GeneratedValidationFunctionDescription(value: string | null);
|
|
15970
|
-
/**
|
|
15971
|
-
* * Field Name: GeneratedValidationFunctionCode
|
|
15972
|
-
* * Display Name: Generated Validation Function Code
|
|
15973
|
-
* * SQL Data Type: nvarchar(MAX)
|
|
15974
|
-
* * Description: Contains the generated code for the field validation function, if it exists, null otherwise.
|
|
15975
|
-
*/
|
|
15976
|
-
get GeneratedValidationFunctionCode(): string | null;
|
|
15977
|
-
set GeneratedValidationFunctionCode(value: string | null);
|
|
15978
|
-
/**
|
|
15979
|
-
* * Field Name: GeneratedValidationFunctionCheckConstraint
|
|
15980
|
-
* * Display Name: Generated Validation Function Check Constraint
|
|
15981
|
-
* * SQL Data Type: nvarchar(MAX)
|
|
15982
|
-
* * Description: If a generated validation function was generated previously, this stores the text from the source CHECK constraint in the database. This is stored so that regeneration of the validation function will only occur when the source CHECK constraint changes.
|
|
15983
|
-
*/
|
|
15984
|
-
get GeneratedValidationFunctionCheckConstraint(): string | null;
|
|
15985
|
-
set GeneratedValidationFunctionCheckConstraint(value: string | null);
|
|
15986
|
-
/**
|
|
15987
16077
|
* * Field Name: FieldCodeName
|
|
15988
16078
|
* * Display Name: Field Code Name
|
|
15989
16079
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -18294,6 +18384,403 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
|
|
|
18294
18384
|
*/
|
|
18295
18385
|
get Category(): string | null;
|
|
18296
18386
|
}
|
|
18387
|
+
/**
|
|
18388
|
+
* MJ: Artifact Types - strongly typed entity sub-class
|
|
18389
|
+
* * Schema: __mj
|
|
18390
|
+
* * Base Table: ArtifactType
|
|
18391
|
+
* * Base View: vwArtifactTypes
|
|
18392
|
+
* * Primary Key: ID
|
|
18393
|
+
* @extends {BaseEntity}
|
|
18394
|
+
* @class
|
|
18395
|
+
* @public
|
|
18396
|
+
*/
|
|
18397
|
+
export declare class ArtifactTypeEntity extends BaseEntity<ArtifactTypeEntityType> {
|
|
18398
|
+
/**
|
|
18399
|
+
* Loads the MJ: Artifact Types record from the database
|
|
18400
|
+
* @param ID: string - primary key value to load the MJ: Artifact Types record.
|
|
18401
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
18402
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
18403
|
+
* @public
|
|
18404
|
+
* @async
|
|
18405
|
+
* @memberof ArtifactTypeEntity
|
|
18406
|
+
* @method
|
|
18407
|
+
* @override
|
|
18408
|
+
*/
|
|
18409
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
18410
|
+
/**
|
|
18411
|
+
* * Field Name: ID
|
|
18412
|
+
* * Display Name: ID
|
|
18413
|
+
* * SQL Data Type: uniqueidentifier
|
|
18414
|
+
*/
|
|
18415
|
+
get ID(): string;
|
|
18416
|
+
/**
|
|
18417
|
+
* * Field Name: Name
|
|
18418
|
+
* * Display Name: Name
|
|
18419
|
+
* * SQL Data Type: nvarchar(100)
|
|
18420
|
+
* * Description: Display name of the artifact type
|
|
18421
|
+
*/
|
|
18422
|
+
get Name(): string;
|
|
18423
|
+
set Name(value: string);
|
|
18424
|
+
/**
|
|
18425
|
+
* * Field Name: Description
|
|
18426
|
+
* * Display Name: Description
|
|
18427
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18428
|
+
* * Description: Detailed description of the artifact type
|
|
18429
|
+
*/
|
|
18430
|
+
get Description(): string | null;
|
|
18431
|
+
set Description(value: string | null);
|
|
18432
|
+
/**
|
|
18433
|
+
* * Field Name: ContentType
|
|
18434
|
+
* * Display Name: Content Type
|
|
18435
|
+
* * SQL Data Type: nvarchar(100)
|
|
18436
|
+
* * Description: MIME type or content identifier for this artifact type
|
|
18437
|
+
*/
|
|
18438
|
+
get ContentType(): string;
|
|
18439
|
+
set ContentType(value: string);
|
|
18440
|
+
/**
|
|
18441
|
+
* * Field Name: IsEnabled
|
|
18442
|
+
* * Display Name: Is Enabled
|
|
18443
|
+
* * SQL Data Type: bit
|
|
18444
|
+
* * Default Value: 1
|
|
18445
|
+
* * Description: Indicates if this artifact type is currently available for use
|
|
18446
|
+
*/
|
|
18447
|
+
get IsEnabled(): boolean;
|
|
18448
|
+
set IsEnabled(value: boolean);
|
|
18449
|
+
/**
|
|
18450
|
+
* * Field Name: __mj_CreatedAt
|
|
18451
|
+
* * Display Name: Created At
|
|
18452
|
+
* * SQL Data Type: datetimeoffset
|
|
18453
|
+
* * Default Value: getutcdate()
|
|
18454
|
+
*/
|
|
18455
|
+
get __mj_CreatedAt(): Date;
|
|
18456
|
+
/**
|
|
18457
|
+
* * Field Name: __mj_UpdatedAt
|
|
18458
|
+
* * Display Name: Updated At
|
|
18459
|
+
* * SQL Data Type: datetimeoffset
|
|
18460
|
+
* * Default Value: getutcdate()
|
|
18461
|
+
*/
|
|
18462
|
+
get __mj_UpdatedAt(): Date;
|
|
18463
|
+
}
|
|
18464
|
+
/**
|
|
18465
|
+
* MJ: Conversation Artifact Permissions - strongly typed entity sub-class
|
|
18466
|
+
* * Schema: __mj
|
|
18467
|
+
* * Base Table: ConversationArtifactPermission
|
|
18468
|
+
* * Base View: vwConversationArtifactPermissions
|
|
18469
|
+
* * Primary Key: ID
|
|
18470
|
+
* @extends {BaseEntity}
|
|
18471
|
+
* @class
|
|
18472
|
+
* @public
|
|
18473
|
+
*/
|
|
18474
|
+
export declare class ConversationArtifactPermissionEntity extends BaseEntity<ConversationArtifactPermissionEntityType> {
|
|
18475
|
+
/**
|
|
18476
|
+
* Loads the MJ: Conversation Artifact Permissions record from the database
|
|
18477
|
+
* @param ID: string - primary key value to load the MJ: Conversation Artifact Permissions record.
|
|
18478
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
18479
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
18480
|
+
* @public
|
|
18481
|
+
* @async
|
|
18482
|
+
* @memberof ConversationArtifactPermissionEntity
|
|
18483
|
+
* @method
|
|
18484
|
+
* @override
|
|
18485
|
+
*/
|
|
18486
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
18487
|
+
/**
|
|
18488
|
+
* Validate() method override for MJ: Conversation Artifact Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
18489
|
+
* * AccessLevel: This rule ensures that the access level of a user can only be one of three specific values: 'Owner', 'Edit', or 'Read'.
|
|
18490
|
+
* @public
|
|
18491
|
+
* @method
|
|
18492
|
+
* @override
|
|
18493
|
+
*/
|
|
18494
|
+
Validate(): ValidationResult;
|
|
18495
|
+
/**
|
|
18496
|
+
* This rule ensures that the access level of a user can only be one of three specific values: 'Owner', 'Edit', or 'Read'.
|
|
18497
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
18498
|
+
* @public
|
|
18499
|
+
* @method
|
|
18500
|
+
*/
|
|
18501
|
+
ValidateAccessLevelMustBeValid(result: ValidationResult): void;
|
|
18502
|
+
/**
|
|
18503
|
+
* * Field Name: ID
|
|
18504
|
+
* * Display Name: ID
|
|
18505
|
+
* * SQL Data Type: uniqueidentifier
|
|
18506
|
+
* * Default Value: newsequentialid()
|
|
18507
|
+
*/
|
|
18508
|
+
get ID(): string;
|
|
18509
|
+
/**
|
|
18510
|
+
* * Field Name: ConversationArtifactID
|
|
18511
|
+
* * Display Name: Conversation Artifact ID
|
|
18512
|
+
* * SQL Data Type: uniqueidentifier
|
|
18513
|
+
* * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
|
|
18514
|
+
* * Description: Reference to the artifact this permission applies to
|
|
18515
|
+
*/
|
|
18516
|
+
get ConversationArtifactID(): string;
|
|
18517
|
+
set ConversationArtifactID(value: string);
|
|
18518
|
+
/**
|
|
18519
|
+
* * Field Name: UserID
|
|
18520
|
+
* * Display Name: User ID
|
|
18521
|
+
* * SQL Data Type: uniqueidentifier
|
|
18522
|
+
* * Description: User this permission applies to
|
|
18523
|
+
*/
|
|
18524
|
+
get UserID(): string;
|
|
18525
|
+
set UserID(value: string);
|
|
18526
|
+
/**
|
|
18527
|
+
* * Field Name: AccessLevel
|
|
18528
|
+
* * Display Name: Access Level
|
|
18529
|
+
* * SQL Data Type: nvarchar(20)
|
|
18530
|
+
* * Description: Level of access granted (Read, Edit, Owner)
|
|
18531
|
+
*/
|
|
18532
|
+
get AccessLevel(): string;
|
|
18533
|
+
set AccessLevel(value: string);
|
|
18534
|
+
/**
|
|
18535
|
+
* * Field Name: __mj_CreatedAt
|
|
18536
|
+
* * Display Name: Created At
|
|
18537
|
+
* * SQL Data Type: datetimeoffset
|
|
18538
|
+
* * Default Value: getutcdate()
|
|
18539
|
+
*/
|
|
18540
|
+
get __mj_CreatedAt(): Date;
|
|
18541
|
+
/**
|
|
18542
|
+
* * Field Name: __mj_UpdatedAt
|
|
18543
|
+
* * Display Name: Updated At
|
|
18544
|
+
* * SQL Data Type: datetimeoffset
|
|
18545
|
+
* * Default Value: getutcdate()
|
|
18546
|
+
*/
|
|
18547
|
+
get __mj_UpdatedAt(): Date;
|
|
18548
|
+
/**
|
|
18549
|
+
* * Field Name: ConversationArtifact
|
|
18550
|
+
* * Display Name: Conversation Artifact
|
|
18551
|
+
* * SQL Data Type: nvarchar(255)
|
|
18552
|
+
*/
|
|
18553
|
+
get ConversationArtifact(): string;
|
|
18554
|
+
}
|
|
18555
|
+
/**
|
|
18556
|
+
* MJ: Conversation Artifact Versions - strongly typed entity sub-class
|
|
18557
|
+
* * Schema: __mj
|
|
18558
|
+
* * Base Table: ConversationArtifactVersion
|
|
18559
|
+
* * Base View: vwConversationArtifactVersions
|
|
18560
|
+
* * Primary Key: ID
|
|
18561
|
+
* @extends {BaseEntity}
|
|
18562
|
+
* @class
|
|
18563
|
+
* @public
|
|
18564
|
+
*/
|
|
18565
|
+
export declare class ConversationArtifactVersionEntity extends BaseEntity<ConversationArtifactVersionEntityType> {
|
|
18566
|
+
/**
|
|
18567
|
+
* Loads the MJ: Conversation Artifact Versions record from the database
|
|
18568
|
+
* @param ID: string - primary key value to load the MJ: Conversation Artifact Versions record.
|
|
18569
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
18570
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
18571
|
+
* @public
|
|
18572
|
+
* @async
|
|
18573
|
+
* @memberof ConversationArtifactVersionEntity
|
|
18574
|
+
* @method
|
|
18575
|
+
* @override
|
|
18576
|
+
*/
|
|
18577
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
18578
|
+
/**
|
|
18579
|
+
* Validate() method override for MJ: Conversation Artifact Versions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
18580
|
+
* * Version: This rule ensures that the version number must be greater than zero.
|
|
18581
|
+
* @public
|
|
18582
|
+
* @method
|
|
18583
|
+
* @override
|
|
18584
|
+
*/
|
|
18585
|
+
Validate(): ValidationResult;
|
|
18586
|
+
/**
|
|
18587
|
+
* This rule ensures that the version number must be greater than zero.
|
|
18588
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
18589
|
+
* @public
|
|
18590
|
+
* @method
|
|
18591
|
+
*/
|
|
18592
|
+
ValidateVersionGreaterThanZero(result: ValidationResult): void;
|
|
18593
|
+
/**
|
|
18594
|
+
* * Field Name: ID
|
|
18595
|
+
* * Display Name: ID
|
|
18596
|
+
* * SQL Data Type: uniqueidentifier
|
|
18597
|
+
* * Default Value: newsequentialid()
|
|
18598
|
+
*/
|
|
18599
|
+
get ID(): string;
|
|
18600
|
+
/**
|
|
18601
|
+
* * Field Name: ConversationArtifactID
|
|
18602
|
+
* * Display Name: Conversation Artifact ID
|
|
18603
|
+
* * SQL Data Type: uniqueidentifier
|
|
18604
|
+
* * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
|
|
18605
|
+
* * Description: Reference to the parent artifact
|
|
18606
|
+
*/
|
|
18607
|
+
get ConversationArtifactID(): string;
|
|
18608
|
+
set ConversationArtifactID(value: string);
|
|
18609
|
+
/**
|
|
18610
|
+
* * Field Name: Version
|
|
18611
|
+
* * Display Name: Version
|
|
18612
|
+
* * SQL Data Type: int
|
|
18613
|
+
* * Description: Sequential version number (starting from 1) for this artifact
|
|
18614
|
+
*/
|
|
18615
|
+
get Version(): number;
|
|
18616
|
+
set Version(value: number);
|
|
18617
|
+
/**
|
|
18618
|
+
* * Field Name: Configuration
|
|
18619
|
+
* * Display Name: Configuration
|
|
18620
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18621
|
+
* * Description: JSON configuration and metadata for this artifact version
|
|
18622
|
+
*/
|
|
18623
|
+
get Configuration(): string;
|
|
18624
|
+
set Configuration(value: string);
|
|
18625
|
+
/**
|
|
18626
|
+
* * Field Name: Content
|
|
18627
|
+
* * Display Name: Content
|
|
18628
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18629
|
+
* * Description: Actual content of the artifact, if stored separately from configuration
|
|
18630
|
+
*/
|
|
18631
|
+
get Content(): string | null;
|
|
18632
|
+
set Content(value: string | null);
|
|
18633
|
+
/**
|
|
18634
|
+
* * Field Name: Comments
|
|
18635
|
+
* * Display Name: Comments
|
|
18636
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18637
|
+
* * Description: User comments specific to this version
|
|
18638
|
+
*/
|
|
18639
|
+
get Comments(): string | null;
|
|
18640
|
+
set Comments(value: string | null);
|
|
18641
|
+
/**
|
|
18642
|
+
* * Field Name: __mj_CreatedAt
|
|
18643
|
+
* * Display Name: Created At
|
|
18644
|
+
* * SQL Data Type: datetimeoffset
|
|
18645
|
+
* * Default Value: getutcdate()
|
|
18646
|
+
*/
|
|
18647
|
+
get __mj_CreatedAt(): Date;
|
|
18648
|
+
/**
|
|
18649
|
+
* * Field Name: __mj_UpdatedAt
|
|
18650
|
+
* * Display Name: Updated At
|
|
18651
|
+
* * SQL Data Type: datetimeoffset
|
|
18652
|
+
* * Default Value: getutcdate()
|
|
18653
|
+
*/
|
|
18654
|
+
get __mj_UpdatedAt(): Date;
|
|
18655
|
+
/**
|
|
18656
|
+
* * Field Name: ConversationArtifact
|
|
18657
|
+
* * Display Name: Conversation Artifact
|
|
18658
|
+
* * SQL Data Type: nvarchar(255)
|
|
18659
|
+
*/
|
|
18660
|
+
get ConversationArtifact(): string;
|
|
18661
|
+
}
|
|
18662
|
+
/**
|
|
18663
|
+
* MJ: Conversation Artifacts - strongly typed entity sub-class
|
|
18664
|
+
* * Schema: __mj
|
|
18665
|
+
* * Base Table: ConversationArtifact
|
|
18666
|
+
* * Base View: vwConversationArtifacts
|
|
18667
|
+
* * Primary Key: ID
|
|
18668
|
+
* @extends {BaseEntity}
|
|
18669
|
+
* @class
|
|
18670
|
+
* @public
|
|
18671
|
+
*/
|
|
18672
|
+
export declare class ConversationArtifactEntity extends BaseEntity<ConversationArtifactEntityType> {
|
|
18673
|
+
/**
|
|
18674
|
+
* Loads the MJ: Conversation Artifacts record from the database
|
|
18675
|
+
* @param ID: string - primary key value to load the MJ: Conversation Artifacts record.
|
|
18676
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
18677
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
18678
|
+
* @public
|
|
18679
|
+
* @async
|
|
18680
|
+
* @memberof ConversationArtifactEntity
|
|
18681
|
+
* @method
|
|
18682
|
+
* @override
|
|
18683
|
+
*/
|
|
18684
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
18685
|
+
/**
|
|
18686
|
+
* Validate() method override for MJ: Conversation Artifacts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
18687
|
+
* * SharingScope: This rule ensures that the sharing scope of an entity can only be one of the predefined options: 'Public', 'Everyone', 'SpecificUsers', or 'None'.
|
|
18688
|
+
* @public
|
|
18689
|
+
* @method
|
|
18690
|
+
* @override
|
|
18691
|
+
*/
|
|
18692
|
+
Validate(): ValidationResult;
|
|
18693
|
+
/**
|
|
18694
|
+
* This rule ensures that the sharing scope of an entity can only be one of the predefined options: 'Public', 'Everyone', 'SpecificUsers', or 'None'.
|
|
18695
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
18696
|
+
* @public
|
|
18697
|
+
* @method
|
|
18698
|
+
*/
|
|
18699
|
+
ValidateSharingScopeAgainstPredefinedOptions(result: ValidationResult): void;
|
|
18700
|
+
/**
|
|
18701
|
+
* * Field Name: ID
|
|
18702
|
+
* * Display Name: ID
|
|
18703
|
+
* * SQL Data Type: uniqueidentifier
|
|
18704
|
+
* * Default Value: newsequentialid()
|
|
18705
|
+
*/
|
|
18706
|
+
get ID(): string;
|
|
18707
|
+
/**
|
|
18708
|
+
* * Field Name: Name
|
|
18709
|
+
* * Display Name: Name
|
|
18710
|
+
* * SQL Data Type: nvarchar(255)
|
|
18711
|
+
* * Description: Display name of the artifact
|
|
18712
|
+
*/
|
|
18713
|
+
get Name(): string;
|
|
18714
|
+
set Name(value: string);
|
|
18715
|
+
/**
|
|
18716
|
+
* * Field Name: Description
|
|
18717
|
+
* * Display Name: Description
|
|
18718
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18719
|
+
* * Description: Extended description of the artifact
|
|
18720
|
+
*/
|
|
18721
|
+
get Description(): string | null;
|
|
18722
|
+
set Description(value: string | null);
|
|
18723
|
+
/**
|
|
18724
|
+
* * Field Name: ConversationID
|
|
18725
|
+
* * Display Name: Conversation ID
|
|
18726
|
+
* * SQL Data Type: uniqueidentifier
|
|
18727
|
+
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
18728
|
+
* * Description: Reference to the conversation this artifact belongs to
|
|
18729
|
+
*/
|
|
18730
|
+
get ConversationID(): string;
|
|
18731
|
+
set ConversationID(value: string);
|
|
18732
|
+
/**
|
|
18733
|
+
* * Field Name: ArtifactTypeID
|
|
18734
|
+
* * Display Name: Artifact Type ID
|
|
18735
|
+
* * SQL Data Type: uniqueidentifier
|
|
18736
|
+
* * Related Entity/Foreign Key: MJ: Artifact Types (vwArtifactTypes.ID)
|
|
18737
|
+
* * Description: Reference to the type of artifact
|
|
18738
|
+
*/
|
|
18739
|
+
get ArtifactTypeID(): string;
|
|
18740
|
+
set ArtifactTypeID(value: string);
|
|
18741
|
+
/**
|
|
18742
|
+
* * Field Name: SharingScope
|
|
18743
|
+
* * Display Name: Sharing Scope
|
|
18744
|
+
* * SQL Data Type: nvarchar(50)
|
|
18745
|
+
* * Description: Controls who can view this artifact (None, SpecificUsers, Everyone, Public)
|
|
18746
|
+
*/
|
|
18747
|
+
get SharingScope(): string;
|
|
18748
|
+
set SharingScope(value: string);
|
|
18749
|
+
/**
|
|
18750
|
+
* * Field Name: Comments
|
|
18751
|
+
* * Display Name: Comments
|
|
18752
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
18753
|
+
* * Description: User comments about the artifact
|
|
18754
|
+
*/
|
|
18755
|
+
get Comments(): string | null;
|
|
18756
|
+
set Comments(value: string | null);
|
|
18757
|
+
/**
|
|
18758
|
+
* * Field Name: __mj_CreatedAt
|
|
18759
|
+
* * Display Name: Created At
|
|
18760
|
+
* * SQL Data Type: datetimeoffset
|
|
18761
|
+
* * Default Value: getutcdate()
|
|
18762
|
+
*/
|
|
18763
|
+
get __mj_CreatedAt(): Date;
|
|
18764
|
+
/**
|
|
18765
|
+
* * Field Name: __mj_UpdatedAt
|
|
18766
|
+
* * Display Name: Updated At
|
|
18767
|
+
* * SQL Data Type: datetimeoffset
|
|
18768
|
+
* * Default Value: getutcdate()
|
|
18769
|
+
*/
|
|
18770
|
+
get __mj_UpdatedAt(): Date;
|
|
18771
|
+
/**
|
|
18772
|
+
* * Field Name: Conversation
|
|
18773
|
+
* * Display Name: Conversation
|
|
18774
|
+
* * SQL Data Type: nvarchar(255)
|
|
18775
|
+
*/
|
|
18776
|
+
get Conversation(): string | null;
|
|
18777
|
+
/**
|
|
18778
|
+
* * Field Name: ArtifactType
|
|
18779
|
+
* * Display Name: Artifact Type
|
|
18780
|
+
* * SQL Data Type: nvarchar(100)
|
|
18781
|
+
*/
|
|
18782
|
+
get ArtifactType(): string;
|
|
18783
|
+
}
|
|
18297
18784
|
/**
|
|
18298
18785
|
* MJ: Report User States - strongly typed entity sub-class
|
|
18299
18786
|
* * Schema: __mj
|
|
@@ -18366,14 +18853,12 @@ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEnt
|
|
|
18366
18853
|
* * Field Name: Report
|
|
18367
18854
|
* * Display Name: Report
|
|
18368
18855
|
* * SQL Data Type: nvarchar(255)
|
|
18369
|
-
* * Default Value: null
|
|
18370
18856
|
*/
|
|
18371
18857
|
get Report(): string;
|
|
18372
18858
|
/**
|
|
18373
18859
|
* * Field Name: User
|
|
18374
18860
|
* * Display Name: User
|
|
18375
18861
|
* * SQL Data Type: nvarchar(100)
|
|
18376
|
-
* * Default Value: null
|
|
18377
18862
|
*/
|
|
18378
18863
|
get User(): string;
|
|
18379
18864
|
}
|
|
@@ -18489,7 +18974,6 @@ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityT
|
|
|
18489
18974
|
* * Field Name: Report
|
|
18490
18975
|
* * Display Name: Report
|
|
18491
18976
|
* * SQL Data Type: nvarchar(255)
|
|
18492
|
-
* * Default Value: null
|
|
18493
18977
|
*/
|
|
18494
18978
|
get Report(): string;
|
|
18495
18979
|
}
|