UNPKG

@gentrace/core

Version:
70 lines (69 loc) 1.58 kB
/** * Gentrace API * These API routes are designed to ingest events from clients. * * The version of the OpenAPI document: 0.27.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { MetadataValueObject } from "./metadata-value-object"; import { StepRun } from "./step-run"; /** * * @export * @interface RunRequest */ export interface RunRequest { /** * * @type {string} * @memberof RunRequest */ id: string; /** * The method used to collect the run * @type {string} * @memberof RunRequest */ collectionMethod?: RunRequestCollectionMethodEnum; /** * * @type {string} * @memberof RunRequest */ slug?: string; /** * * @type {string} * @memberof RunRequest */ previousRunId?: string | null; /** * * @type {{ [key: string]: MetadataValueObject; }} * @memberof RunRequest */ metadata?: { [key: string]: MetadataValueObject; } | null; /** * * @type {Array<StepRun>} * @memberof RunRequest */ stepRuns: Array<StepRun>; /** * * @type {string} * @memberof RunRequest */ error?: string | null; } export declare const RunRequestCollectionMethodEnum: { readonly Manual: "manual"; readonly Runner: "runner"; }; export type RunRequestCollectionMethodEnum = (typeof RunRequestCollectionMethodEnum)[keyof typeof RunRequestCollectionMethodEnum];