@memberjunction/core-entities 5.3.1 → 5.4.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.
|
@@ -296,7 +296,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
|
|
|
296
296
|
Name: z.ZodString;
|
|
297
297
|
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
298
298
|
Type: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
299
|
-
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"
|
|
299
|
+
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"Other">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
|
|
300
300
|
IsArray: z.ZodBoolean;
|
|
301
301
|
Description: z.ZodNullable<z.ZodString>;
|
|
302
302
|
IsRequired: z.ZodBoolean;
|
|
@@ -314,7 +314,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
|
|
|
314
314
|
Description?: string;
|
|
315
315
|
DefaultValue?: string;
|
|
316
316
|
Type?: "Both" | "Input" | "Output";
|
|
317
|
-
ValueType?: "BaseEntity Sub-Class" | "
|
|
317
|
+
ValueType?: "BaseEntity Sub-Class" | "Other" | "MediaOutput" | "Scalar" | "Simple Object";
|
|
318
318
|
IsArray?: boolean;
|
|
319
319
|
IsRequired?: boolean;
|
|
320
320
|
MediaModality?: "Audio" | "Image" | "Video";
|
|
@@ -328,7 +328,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
|
|
|
328
328
|
Description?: string;
|
|
329
329
|
DefaultValue?: string;
|
|
330
330
|
Type?: "Both" | "Input" | "Output";
|
|
331
|
-
ValueType?: "BaseEntity Sub-Class" | "
|
|
331
|
+
ValueType?: "BaseEntity Sub-Class" | "Other" | "MediaOutput" | "Scalar" | "Simple Object";
|
|
332
332
|
IsArray?: boolean;
|
|
333
333
|
IsRequired?: boolean;
|
|
334
334
|
MediaModality?: "Audio" | "Image" | "Video";
|
|
@@ -12003,6 +12003,91 @@ export declare const MJTestRunFeedbackSchema: z.ZodObject<{
|
|
|
12003
12003
|
ReviewerUser?: string;
|
|
12004
12004
|
}>;
|
|
12005
12005
|
export type MJTestRunFeedbackEntityType = z.infer<typeof MJTestRunFeedbackSchema>;
|
|
12006
|
+
/**
|
|
12007
|
+
* zod schema definition for the entity MJ: Test Run Output Types
|
|
12008
|
+
*/
|
|
12009
|
+
export declare const MJTestRunOutputTypeSchema: z.ZodObject<{
|
|
12010
|
+
ID: z.ZodString;
|
|
12011
|
+
Name: z.ZodString;
|
|
12012
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
12013
|
+
__mj_CreatedAt: z.ZodDate;
|
|
12014
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
12015
|
+
}, "strip", z.ZodTypeAny, {
|
|
12016
|
+
ID?: string;
|
|
12017
|
+
__mj_CreatedAt?: Date;
|
|
12018
|
+
__mj_UpdatedAt?: Date;
|
|
12019
|
+
Name?: string;
|
|
12020
|
+
Description?: string;
|
|
12021
|
+
}, {
|
|
12022
|
+
ID?: string;
|
|
12023
|
+
__mj_CreatedAt?: Date;
|
|
12024
|
+
__mj_UpdatedAt?: Date;
|
|
12025
|
+
Name?: string;
|
|
12026
|
+
Description?: string;
|
|
12027
|
+
}>;
|
|
12028
|
+
export type MJTestRunOutputTypeEntityType = z.infer<typeof MJTestRunOutputTypeSchema>;
|
|
12029
|
+
/**
|
|
12030
|
+
* zod schema definition for the entity MJ: Test Run Outputs
|
|
12031
|
+
*/
|
|
12032
|
+
export declare const MJTestRunOutputSchema: z.ZodObject<{
|
|
12033
|
+
ID: z.ZodString;
|
|
12034
|
+
TestRunID: z.ZodString;
|
|
12035
|
+
OutputTypeID: z.ZodString;
|
|
12036
|
+
Sequence: z.ZodNumber;
|
|
12037
|
+
StepNumber: z.ZodNullable<z.ZodNumber>;
|
|
12038
|
+
Name: z.ZodNullable<z.ZodString>;
|
|
12039
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
12040
|
+
MimeType: z.ZodNullable<z.ZodString>;
|
|
12041
|
+
InlineData: z.ZodNullable<z.ZodString>;
|
|
12042
|
+
FileSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
12043
|
+
Width: z.ZodNullable<z.ZodNumber>;
|
|
12044
|
+
Height: z.ZodNullable<z.ZodNumber>;
|
|
12045
|
+
DurationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
12046
|
+
Metadata: z.ZodNullable<z.ZodString>;
|
|
12047
|
+
__mj_CreatedAt: z.ZodDate;
|
|
12048
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
12049
|
+
TestRun: z.ZodString;
|
|
12050
|
+
OutputType: z.ZodString;
|
|
12051
|
+
}, "strip", z.ZodTypeAny, {
|
|
12052
|
+
ID?: string;
|
|
12053
|
+
__mj_CreatedAt?: Date;
|
|
12054
|
+
__mj_UpdatedAt?: Date;
|
|
12055
|
+
Name?: string;
|
|
12056
|
+
Description?: string;
|
|
12057
|
+
Sequence?: number;
|
|
12058
|
+
MimeType?: string;
|
|
12059
|
+
FileSizeBytes?: number;
|
|
12060
|
+
Width?: number;
|
|
12061
|
+
Height?: number;
|
|
12062
|
+
DurationSeconds?: number;
|
|
12063
|
+
InlineData?: string;
|
|
12064
|
+
Metadata?: string;
|
|
12065
|
+
StepNumber?: number;
|
|
12066
|
+
TestRunID?: string;
|
|
12067
|
+
TestRun?: string;
|
|
12068
|
+
OutputType?: string;
|
|
12069
|
+
OutputTypeID?: string;
|
|
12070
|
+
}, {
|
|
12071
|
+
ID?: string;
|
|
12072
|
+
__mj_CreatedAt?: Date;
|
|
12073
|
+
__mj_UpdatedAt?: Date;
|
|
12074
|
+
Name?: string;
|
|
12075
|
+
Description?: string;
|
|
12076
|
+
Sequence?: number;
|
|
12077
|
+
MimeType?: string;
|
|
12078
|
+
FileSizeBytes?: number;
|
|
12079
|
+
Width?: number;
|
|
12080
|
+
Height?: number;
|
|
12081
|
+
DurationSeconds?: number;
|
|
12082
|
+
InlineData?: string;
|
|
12083
|
+
Metadata?: string;
|
|
12084
|
+
StepNumber?: number;
|
|
12085
|
+
TestRunID?: string;
|
|
12086
|
+
TestRun?: string;
|
|
12087
|
+
OutputType?: string;
|
|
12088
|
+
OutputTypeID?: string;
|
|
12089
|
+
}>;
|
|
12090
|
+
export type MJTestRunOutputEntityType = z.infer<typeof MJTestRunOutputSchema>;
|
|
12006
12091
|
/**
|
|
12007
12092
|
* zod schema definition for the entity MJ: Test Runs
|
|
12008
12093
|
*/
|
|
@@ -14348,15 +14433,15 @@ export declare class MJActionParamEntity extends BaseEntity<MJActionParamEntityT
|
|
|
14348
14433
|
* * BaseEntity Sub-Class
|
|
14349
14434
|
* * Other
|
|
14350
14435
|
* * MediaOutput
|
|
14351
|
-
* * Scalar
|
|
14352
14436
|
* * Other
|
|
14353
14437
|
* * Scalar
|
|
14438
|
+
* * Scalar
|
|
14354
14439
|
* * Simple Object
|
|
14355
14440
|
* * Simple Object
|
|
14356
14441
|
* * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
|
|
14357
14442
|
*/
|
|
14358
|
-
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
14359
|
-
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
14443
|
+
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
|
|
14444
|
+
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
|
|
14360
14445
|
/**
|
|
14361
14446
|
* * Field Name: IsArray
|
|
14362
14447
|
* * Display Name: Is Array
|
|
@@ -47421,6 +47506,233 @@ export declare class MJTestRunFeedbackEntity extends BaseEntity<MJTestRunFeedbac
|
|
|
47421
47506
|
*/
|
|
47422
47507
|
get ReviewerUser(): string;
|
|
47423
47508
|
}
|
|
47509
|
+
/**
|
|
47510
|
+
* MJ: Test Run Output Types - strongly typed entity sub-class
|
|
47511
|
+
* * Schema: __mj
|
|
47512
|
+
* * Base Table: TestRunOutputType
|
|
47513
|
+
* * Base View: vwTestRunOutputTypes
|
|
47514
|
+
* * Primary Key: ID
|
|
47515
|
+
* @extends {BaseEntity}
|
|
47516
|
+
* @class
|
|
47517
|
+
* @public
|
|
47518
|
+
*/
|
|
47519
|
+
export declare class MJTestRunOutputTypeEntity extends BaseEntity<MJTestRunOutputTypeEntityType> {
|
|
47520
|
+
/**
|
|
47521
|
+
* Loads the MJ: Test Run Output Types record from the database
|
|
47522
|
+
* @param ID: string - primary key value to load the MJ: Test Run Output Types record.
|
|
47523
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
47524
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
47525
|
+
* @public
|
|
47526
|
+
* @async
|
|
47527
|
+
* @memberof MJTestRunOutputTypeEntity
|
|
47528
|
+
* @method
|
|
47529
|
+
* @override
|
|
47530
|
+
*/
|
|
47531
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
47532
|
+
/**
|
|
47533
|
+
* * Field Name: ID
|
|
47534
|
+
* * Display Name: ID
|
|
47535
|
+
* * SQL Data Type: uniqueidentifier
|
|
47536
|
+
* * Default Value: newsequentialid()
|
|
47537
|
+
*/
|
|
47538
|
+
get ID(): string;
|
|
47539
|
+
set ID(value: string);
|
|
47540
|
+
/**
|
|
47541
|
+
* * Field Name: Name
|
|
47542
|
+
* * Display Name: Name
|
|
47543
|
+
* * SQL Data Type: nvarchar(100)
|
|
47544
|
+
* * Description: Unique name identifying this output type (e.g., Screenshot, Log, Data, Video)
|
|
47545
|
+
*/
|
|
47546
|
+
get Name(): string;
|
|
47547
|
+
set Name(value: string);
|
|
47548
|
+
/**
|
|
47549
|
+
* * Field Name: Description
|
|
47550
|
+
* * Display Name: Description
|
|
47551
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
47552
|
+
* * Description: Description of what this output type represents and when it is used
|
|
47553
|
+
*/
|
|
47554
|
+
get Description(): string | null;
|
|
47555
|
+
set Description(value: string | null);
|
|
47556
|
+
/**
|
|
47557
|
+
* * Field Name: __mj_CreatedAt
|
|
47558
|
+
* * Display Name: Created At
|
|
47559
|
+
* * SQL Data Type: datetimeoffset
|
|
47560
|
+
* * Default Value: getutcdate()
|
|
47561
|
+
*/
|
|
47562
|
+
get __mj_CreatedAt(): Date;
|
|
47563
|
+
/**
|
|
47564
|
+
* * Field Name: __mj_UpdatedAt
|
|
47565
|
+
* * Display Name: Updated At
|
|
47566
|
+
* * SQL Data Type: datetimeoffset
|
|
47567
|
+
* * Default Value: getutcdate()
|
|
47568
|
+
*/
|
|
47569
|
+
get __mj_UpdatedAt(): Date;
|
|
47570
|
+
}
|
|
47571
|
+
/**
|
|
47572
|
+
* MJ: Test Run Outputs - strongly typed entity sub-class
|
|
47573
|
+
* * Schema: __mj
|
|
47574
|
+
* * Base Table: TestRunOutput
|
|
47575
|
+
* * Base View: vwTestRunOutputs
|
|
47576
|
+
* * Primary Key: ID
|
|
47577
|
+
* @extends {BaseEntity}
|
|
47578
|
+
* @class
|
|
47579
|
+
* @public
|
|
47580
|
+
*/
|
|
47581
|
+
export declare class MJTestRunOutputEntity extends BaseEntity<MJTestRunOutputEntityType> {
|
|
47582
|
+
/**
|
|
47583
|
+
* Loads the MJ: Test Run Outputs record from the database
|
|
47584
|
+
* @param ID: string - primary key value to load the MJ: Test Run Outputs record.
|
|
47585
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
47586
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
47587
|
+
* @public
|
|
47588
|
+
* @async
|
|
47589
|
+
* @memberof MJTestRunOutputEntity
|
|
47590
|
+
* @method
|
|
47591
|
+
* @override
|
|
47592
|
+
*/
|
|
47593
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
47594
|
+
/**
|
|
47595
|
+
* * Field Name: ID
|
|
47596
|
+
* * Display Name: ID
|
|
47597
|
+
* * SQL Data Type: uniqueidentifier
|
|
47598
|
+
* * Default Value: newsequentialid()
|
|
47599
|
+
*/
|
|
47600
|
+
get ID(): string;
|
|
47601
|
+
set ID(value: string);
|
|
47602
|
+
/**
|
|
47603
|
+
* * Field Name: TestRunID
|
|
47604
|
+
* * Display Name: Test Run
|
|
47605
|
+
* * SQL Data Type: uniqueidentifier
|
|
47606
|
+
* * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
|
|
47607
|
+
* * Description: Foreign key to the parent test run that produced this output
|
|
47608
|
+
*/
|
|
47609
|
+
get TestRunID(): string;
|
|
47610
|
+
set TestRunID(value: string);
|
|
47611
|
+
/**
|
|
47612
|
+
* * Field Name: OutputTypeID
|
|
47613
|
+
* * Display Name: Output Type
|
|
47614
|
+
* * SQL Data Type: uniqueidentifier
|
|
47615
|
+
* * Related Entity/Foreign Key: MJ: Test Run Output Types (vwTestRunOutputTypes.ID)
|
|
47616
|
+
* * Description: Foreign key to the output type category (Screenshot, Log, Video, etc.)
|
|
47617
|
+
*/
|
|
47618
|
+
get OutputTypeID(): string;
|
|
47619
|
+
set OutputTypeID(value: string);
|
|
47620
|
+
/**
|
|
47621
|
+
* * Field Name: Sequence
|
|
47622
|
+
* * Display Name: Sequence
|
|
47623
|
+
* * SQL Data Type: int
|
|
47624
|
+
* * Default Value: 0
|
|
47625
|
+
* * Description: Chronological ordering for storyboarding outputs across steps
|
|
47626
|
+
*/
|
|
47627
|
+
get Sequence(): number;
|
|
47628
|
+
set Sequence(value: number);
|
|
47629
|
+
/**
|
|
47630
|
+
* * Field Name: StepNumber
|
|
47631
|
+
* * Display Name: Step Number
|
|
47632
|
+
* * SQL Data Type: int
|
|
47633
|
+
* * Description: Which step produced this output, for step-based tests like Computer Use
|
|
47634
|
+
*/
|
|
47635
|
+
get StepNumber(): number | null;
|
|
47636
|
+
set StepNumber(value: number | null);
|
|
47637
|
+
/**
|
|
47638
|
+
* * Field Name: Name
|
|
47639
|
+
* * Display Name: Name
|
|
47640
|
+
* * SQL Data Type: nvarchar(255)
|
|
47641
|
+
* * Description: Human-readable label for this output (e.g., Step 3 Screenshot)
|
|
47642
|
+
*/
|
|
47643
|
+
get Name(): string | null;
|
|
47644
|
+
set Name(value: string | null);
|
|
47645
|
+
/**
|
|
47646
|
+
* * Field Name: Description
|
|
47647
|
+
* * Display Name: Description
|
|
47648
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
47649
|
+
* * Description: Additional context about this output
|
|
47650
|
+
*/
|
|
47651
|
+
get Description(): string | null;
|
|
47652
|
+
set Description(value: string | null);
|
|
47653
|
+
/**
|
|
47654
|
+
* * Field Name: MimeType
|
|
47655
|
+
* * Display Name: MIME Type
|
|
47656
|
+
* * SQL Data Type: nvarchar(100)
|
|
47657
|
+
* * Description: MIME type of the output data (e.g., image/png, text/plain, application/json, video/mp4)
|
|
47658
|
+
*/
|
|
47659
|
+
get MimeType(): string | null;
|
|
47660
|
+
set MimeType(value: string | null);
|
|
47661
|
+
/**
|
|
47662
|
+
* * Field Name: InlineData
|
|
47663
|
+
* * Display Name: Inline Data
|
|
47664
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
47665
|
+
* * Description: Base64-encoded binary data (images, audio, video) or text content (logs, JSON, HTML)
|
|
47666
|
+
*/
|
|
47667
|
+
get InlineData(): string | null;
|
|
47668
|
+
set InlineData(value: string | null);
|
|
47669
|
+
/**
|
|
47670
|
+
* * Field Name: FileSizeBytes
|
|
47671
|
+
* * Display Name: File Size (Bytes)
|
|
47672
|
+
* * SQL Data Type: int
|
|
47673
|
+
* * Description: Size of the output data in bytes
|
|
47674
|
+
*/
|
|
47675
|
+
get FileSizeBytes(): number | null;
|
|
47676
|
+
set FileSizeBytes(value: number | null);
|
|
47677
|
+
/**
|
|
47678
|
+
* * Field Name: Width
|
|
47679
|
+
* * Display Name: Width
|
|
47680
|
+
* * SQL Data Type: int
|
|
47681
|
+
* * Description: Width in pixels for image or video outputs
|
|
47682
|
+
*/
|
|
47683
|
+
get Width(): number | null;
|
|
47684
|
+
set Width(value: number | null);
|
|
47685
|
+
/**
|
|
47686
|
+
* * Field Name: Height
|
|
47687
|
+
* * Display Name: Height
|
|
47688
|
+
* * SQL Data Type: int
|
|
47689
|
+
* * Description: Height in pixels for image or video outputs
|
|
47690
|
+
*/
|
|
47691
|
+
get Height(): number | null;
|
|
47692
|
+
set Height(value: number | null);
|
|
47693
|
+
/**
|
|
47694
|
+
* * Field Name: DurationSeconds
|
|
47695
|
+
* * Display Name: Duration (Seconds)
|
|
47696
|
+
* * SQL Data Type: decimal(10, 3)
|
|
47697
|
+
* * Description: Duration in seconds for audio or video outputs
|
|
47698
|
+
*/
|
|
47699
|
+
get DurationSeconds(): number | null;
|
|
47700
|
+
set DurationSeconds(value: number | null);
|
|
47701
|
+
/**
|
|
47702
|
+
* * Field Name: Metadata
|
|
47703
|
+
* * Display Name: Technical Metadata
|
|
47704
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
47705
|
+
* * Description: JSON object with additional metadata about this output (e.g., URL at time of capture, tool calls, error info)
|
|
47706
|
+
*/
|
|
47707
|
+
get Metadata(): string | null;
|
|
47708
|
+
set Metadata(value: string | null);
|
|
47709
|
+
/**
|
|
47710
|
+
* * Field Name: __mj_CreatedAt
|
|
47711
|
+
* * Display Name: Created At
|
|
47712
|
+
* * SQL Data Type: datetimeoffset
|
|
47713
|
+
* * Default Value: getutcdate()
|
|
47714
|
+
*/
|
|
47715
|
+
get __mj_CreatedAt(): Date;
|
|
47716
|
+
/**
|
|
47717
|
+
* * Field Name: __mj_UpdatedAt
|
|
47718
|
+
* * Display Name: Updated At
|
|
47719
|
+
* * SQL Data Type: datetimeoffset
|
|
47720
|
+
* * Default Value: getutcdate()
|
|
47721
|
+
*/
|
|
47722
|
+
get __mj_UpdatedAt(): Date;
|
|
47723
|
+
/**
|
|
47724
|
+
* * Field Name: TestRun
|
|
47725
|
+
* * Display Name: Test Run Name
|
|
47726
|
+
* * SQL Data Type: nvarchar(255)
|
|
47727
|
+
*/
|
|
47728
|
+
get TestRun(): string;
|
|
47729
|
+
/**
|
|
47730
|
+
* * Field Name: OutputType
|
|
47731
|
+
* * Display Name: Output Type Name
|
|
47732
|
+
* * SQL Data Type: nvarchar(100)
|
|
47733
|
+
*/
|
|
47734
|
+
get OutputType(): string;
|
|
47735
|
+
}
|
|
47424
47736
|
/**
|
|
47425
47737
|
* MJ: Test Runs - strongly typed entity sub-class
|
|
47426
47738
|
* * Schema: __mj
|