/** * Per-project configuration for multi-project (testops_multi) mode. */ export interface TestOpsProjectConfigType { code: string; run?: TestOpsRunType; plan?: TestOpsPlanType; environment?: string; } /** * Multi-project TestOps configuration. */ export interface TestOpsMultiConfigType { /** Default project for tests without explicit mapping (and for results without any case ID). */ default_project?: string; /** List of project configurations. */ projects: TestOpsProjectConfigType[]; } export interface TestOpsOptionsType { project: string; uploadAttachments?: boolean | undefined; api: TestOpsApiType; run: TestOpsRunType; plan: TestOpsPlanType; batch?: TestOpsBatchType; attachments?: TestOpsAttachmentsType | undefined; defect?: boolean | undefined; configurations?: TestOpsConfigurationType | undefined; statusFilter?: string[] | undefined; showPublicReportLink?: boolean | undefined; } export interface TestOpsConfigurationType { values: TestOpsConfigurationValueType[]; createIfNotExists?: boolean | undefined; } export interface TestOpsConfigurationValueType { name: string; value: string; } export declare enum ExternalLinkType { JIRA_CLOUD = "jiraCloud", JIRA_SERVER = "jiraServer" } export interface TestOpsExternalLinkType { type: ExternalLinkType; link: string; } export interface TestOpsRunType { id?: number | undefined; title?: string; description?: string; complete?: boolean | undefined; tags?: string[] | undefined; externalLink?: TestOpsExternalLinkType | undefined; } export interface TestOpsPlanType { id?: number | undefined; } export interface TestOpsBatchType { size?: number | undefined; } /** * Tuning for the attachment upload phase. */ export interface TestOpsAttachmentsType { /** How many attachment batches are uploaded at the same time. Defaults to 4, clamped to 1..16. */ concurrency?: number | undefined; /** Per-request timeout in seconds. Defaults to 120. */ timeout?: number | undefined; } export interface TestOpsApiType { token: string; host?: string | undefined; /** Per-request timeout in seconds. Defaults to 30. */ timeout?: number | undefined; /** Extra attempts for a failed results upload. Defaults to 3. */ retries?: number | undefined; /** First backoff step between result upload attempts, in seconds. Defaults to 1. */ retryBackoff?: number | undefined; }