@copado/agentia-cli 0.112.0-alpha.0 → 0.113.0-alpha.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.
- package/README.md +1965 -410
- package/dist/commands/testing/build/abort.d.ts +7 -1
- package/dist/commands/testing/build/abort.js +13 -3
- package/dist/commands/testing/build/abort.js.map +1 -1
- package/dist/commands/testing/build/get.d.ts +18 -0
- package/dist/commands/testing/build/get.js +38 -0
- package/dist/commands/testing/build/get.js.map +1 -0
- package/dist/commands/testing/build/latest.d.ts +12 -0
- package/dist/commands/testing/build/latest.js +40 -0
- package/dist/commands/testing/build/latest.js.map +1 -0
- package/dist/commands/testing/build/list.d.ts +6 -1
- package/dist/commands/testing/build/list.js +23 -1
- package/dist/commands/testing/build/list.js.map +1 -1
- package/dist/commands/testing/build/logs.d.ts +6 -0
- package/dist/commands/testing/build/logs.js +8 -1
- package/dist/commands/testing/build/logs.js.map +1 -1
- package/dist/commands/testing/build/run.d.ts +27 -4
- package/dist/commands/testing/build/run.js +4 -18
- package/dist/commands/testing/build/run.js.map +1 -1
- package/dist/commands/testing/build/search.d.ts +21 -0
- package/dist/commands/testing/build/search.js +57 -0
- package/dist/commands/testing/build/search.js.map +1 -0
- package/dist/commands/testing/create.d.ts +1 -15
- package/dist/commands/testing/create.js +1 -43
- package/dist/commands/testing/create.js.map +1 -1
- package/dist/commands/testing/data-table/create.d.ts +30 -0
- package/dist/commands/testing/data-table/create.js +52 -0
- package/dist/commands/testing/data-table/create.js.map +1 -0
- package/dist/commands/testing/data-table/delete.d.ts +25 -0
- package/dist/commands/testing/data-table/delete.js +40 -0
- package/dist/commands/testing/data-table/delete.js.map +1 -0
- package/dist/commands/testing/data-table/export.d.ts +33 -0
- package/dist/commands/testing/data-table/export.js +59 -0
- package/dist/commands/testing/data-table/export.js.map +1 -0
- package/dist/commands/testing/data-table/get.d.ts +21 -0
- package/dist/commands/testing/data-table/get.js +35 -0
- package/dist/commands/testing/data-table/get.js.map +1 -0
- package/dist/commands/testing/data-table/list.d.ts +16 -0
- package/dist/commands/testing/data-table/list.js +33 -0
- package/dist/commands/testing/data-table/list.js.map +1 -0
- package/dist/commands/testing/data-table/update.d.ts +34 -0
- package/dist/commands/testing/data-table/update.js +64 -0
- package/dist/commands/testing/data-table/update.js.map +1 -0
- package/dist/commands/testing/job/create.d.ts +18 -0
- package/dist/commands/testing/job/create.js +60 -4
- package/dist/commands/testing/job/create.js.map +1 -1
- package/dist/commands/testing/job/delete.d.ts +6 -1
- package/dist/commands/testing/job/delete.js +13 -3
- package/dist/commands/testing/job/delete.js.map +1 -1
- package/dist/commands/testing/job/refs.d.ts +17 -0
- package/dist/commands/testing/job/refs.js +30 -0
- package/dist/commands/testing/job/refs.js.map +1 -0
- package/dist/commands/testing/job/schedule/get.d.ts +23 -0
- package/dist/commands/testing/job/schedule/get.js +31 -0
- package/dist/commands/testing/job/schedule/get.js.map +1 -0
- package/dist/commands/testing/job/schedule/remove.d.ts +24 -0
- package/dist/commands/testing/job/schedule/remove.js +34 -0
- package/dist/commands/testing/job/schedule/remove.js.map +1 -0
- package/dist/commands/testing/job/schedule/set.d.ts +23 -0
- package/dist/commands/testing/job/schedule/set.js +39 -0
- package/dist/commands/testing/job/schedule/set.js.map +1 -0
- package/dist/commands/testing/job/update.d.ts +2 -0
- package/dist/commands/testing/job/update.js +7 -1
- package/dist/commands/testing/job/update.js.map +1 -1
- package/dist/commands/testing/job/upload.d.ts +6 -0
- package/dist/commands/testing/job/upload.js +22 -0
- package/dist/commands/testing/job/upload.js.map +1 -1
- package/dist/commands/testing/live/continue.d.ts +20 -0
- package/dist/commands/testing/live/continue.js +21 -0
- package/dist/commands/testing/live/continue.js.map +1 -0
- package/dist/commands/testing/live/execute.d.ts +30 -0
- package/dist/commands/testing/live/execute.js +43 -0
- package/dist/commands/testing/live/execute.js.map +1 -0
- package/dist/commands/testing/live/history.d.ts +23 -0
- package/dist/commands/testing/live/history.js +35 -0
- package/dist/commands/testing/live/history.js.map +1 -0
- package/dist/commands/testing/live/inspect.d.ts +18 -0
- package/dist/commands/testing/live/inspect.js +30 -0
- package/dist/commands/testing/live/inspect.js.map +1 -0
- package/dist/commands/testing/live/interrupt.d.ts +20 -0
- package/dist/commands/testing/live/interrupt.js +21 -0
- package/dist/commands/testing/live/interrupt.js.map +1 -0
- package/dist/commands/testing/live/recorder.d.ts +23 -0
- package/dist/commands/testing/live/recorder.js +134 -0
- package/dist/commands/testing/live/recorder.js.map +1 -0
- package/dist/commands/testing/live/reports.d.ts +20 -0
- package/dist/commands/testing/live/reports.js +31 -0
- package/dist/commands/testing/live/reports.js.map +1 -0
- package/dist/commands/testing/live/screenshot.d.ts +23 -0
- package/dist/commands/testing/live/screenshot.js +25 -0
- package/dist/commands/testing/live/screenshot.js.map +1 -0
- package/dist/commands/testing/live/set-options.d.ts +27 -0
- package/dist/commands/testing/live/set-options.js +28 -0
- package/dist/commands/testing/live/set-options.js.map +1 -0
- package/dist/commands/testing/live/start.d.ts +29 -0
- package/dist/commands/testing/live/start.js +53 -0
- package/dist/commands/testing/live/start.js.map +1 -0
- package/dist/commands/testing/live/status.d.ts +19 -0
- package/dist/commands/testing/live/status.js +27 -0
- package/dist/commands/testing/live/status.js.map +1 -0
- package/dist/commands/testing/live/stop.d.ts +24 -0
- package/dist/commands/testing/live/stop.js +38 -0
- package/dist/commands/testing/live/stop.js.map +1 -0
- package/dist/commands/testing/live/view.d.ts +16 -0
- package/dist/commands/testing/live/view.js +36 -0
- package/dist/commands/testing/live/view.js.map +1 -0
- package/dist/commands/testing/logs.d.ts +6 -0
- package/dist/commands/testing/logs.js +8 -1
- package/dist/commands/testing/logs.js.map +1 -1
- package/dist/commands/testing/project/create.d.ts +3 -0
- package/dist/commands/testing/project/create.js +17 -1
- package/dist/commands/testing/project/create.js.map +1 -1
- package/dist/commands/testing/project/delete.d.ts +7 -2
- package/dist/commands/testing/project/delete.js +15 -3
- package/dist/commands/testing/project/delete.js.map +1 -1
- package/dist/commands/testing/project/get.js +1 -1
- package/dist/commands/testing/project/get.js.map +1 -1
- package/dist/commands/testing/project/permission/get.d.ts +13 -0
- package/dist/commands/testing/project/permission/get.js +21 -0
- package/dist/commands/testing/project/permission/get.js.map +1 -0
- package/dist/commands/testing/project/permission/list.d.ts +13 -0
- package/dist/commands/testing/project/permission/list.js +21 -0
- package/dist/commands/testing/project/permission/list.js.map +1 -0
- package/dist/commands/testing/project/permission/set.d.ts +19 -0
- package/dist/commands/testing/project/permission/set.js +33 -0
- package/dist/commands/testing/project/permission/set.js.map +1 -0
- package/dist/commands/testing/project/permission/update.d.ts +19 -0
- package/dist/commands/testing/project/permission/update.js +33 -0
- package/dist/commands/testing/project/permission/update.js.map +1 -0
- package/dist/commands/testing/project/update.d.ts +14 -0
- package/dist/commands/testing/project/update.js +28 -0
- package/dist/commands/testing/project/update.js.map +1 -0
- package/dist/commands/testing/robot/create.d.ts +4 -1
- package/dist/commands/testing/robot/create.js +20 -5
- package/dist/commands/testing/robot/create.js.map +1 -1
- package/dist/commands/testing/robot/delete.d.ts +6 -1
- package/dist/commands/testing/robot/delete.js +13 -3
- package/dist/commands/testing/robot/delete.js.map +1 -1
- package/dist/commands/testing/robot/update.d.ts +19 -0
- package/dist/commands/testing/robot/update.js +49 -0
- package/dist/commands/testing/robot/update.js.map +1 -0
- package/dist/commands/testing/run.d.ts +27 -4
- package/dist/commands/testing/run.js +4 -11
- package/dist/commands/testing/run.js.map +1 -1
- package/dist/commands/testing/test/run.d.ts +27 -11
- package/dist/commands/testing/test/run.js +5 -37
- package/dist/commands/testing/test/run.js.map +1 -1
- package/dist/commands/testing/update.d.ts +6 -0
- package/dist/commands/testing/update.js +10 -0
- package/dist/commands/testing/update.js.map +1 -1
- package/dist/commands/testing/user-parameter/create.d.ts +19 -0
- package/dist/commands/testing/user-parameter/create.js +45 -0
- package/dist/commands/testing/user-parameter/create.js.map +1 -0
- package/dist/commands/testing/user-parameter/delete.d.ts +21 -0
- package/dist/commands/testing/user-parameter/delete.js +33 -0
- package/dist/commands/testing/user-parameter/delete.js.map +1 -0
- package/dist/commands/testing/user-parameter/get.d.ts +13 -0
- package/dist/commands/testing/user-parameter/get.js +21 -0
- package/dist/commands/testing/user-parameter/get.js.map +1 -0
- package/dist/commands/testing/user-parameter/list.d.ts +12 -0
- package/dist/commands/testing/user-parameter/list.js +23 -0
- package/dist/commands/testing/user-parameter/list.js.map +1 -0
- package/dist/commands/testing/user-parameter/update.d.ts +23 -0
- package/dist/commands/testing/user-parameter/update.js +45 -0
- package/dist/commands/testing/user-parameter/update.js.map +1 -0
- package/dist/commands/testing/variable/create.d.ts +6 -2
- package/dist/commands/testing/variable/create.js +14 -5
- package/dist/commands/testing/variable/create.js.map +1 -1
- package/dist/commands/testing/variable/delete.d.ts +6 -1
- package/dist/commands/testing/variable/delete.js +13 -3
- package/dist/commands/testing/variable/delete.js.map +1 -1
- package/dist/commands/testing/variable/get.d.ts +13 -0
- package/dist/commands/testing/variable/get.js +25 -0
- package/dist/commands/testing/variable/get.js.map +1 -0
- package/dist/commands/testing/variable/list.d.ts +4 -0
- package/dist/commands/testing/variable/list.js +15 -3
- package/dist/commands/testing/variable/list.js.map +1 -1
- package/dist/commands/testing/variable/update.d.ts +6 -2
- package/dist/commands/testing/variable/update.js +11 -5
- package/dist/commands/testing/variable/update.js.map +1 -1
- package/dist/lib/credential-store.d.ts +3 -0
- package/dist/lib/credential-store.js +16 -0
- package/dist/lib/credential-store.js.map +1 -1
- package/dist/lib/mcp/command-id.js +3 -0
- package/dist/lib/mcp/command-id.js.map +1 -1
- package/dist/lib/mcp/testing-live-tools.d.ts +126 -0
- package/dist/lib/mcp/testing-live-tools.js +215 -0
- package/dist/lib/mcp/testing-live-tools.js.map +1 -0
- package/dist/lib/mcp/testing-tools.d.ts +455 -9
- package/dist/lib/mcp/testing-tools.js +677 -37
- package/dist/lib/mcp/testing-tools.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +551 -14
- package/dist/lib/testing-config.d.ts +3 -0
- package/dist/lib/testing-config.js +9 -0
- package/dist/lib/testing-config.js.map +1 -1
- package/dist/lib/testing-confirmation.d.ts +14 -0
- package/dist/lib/testing-confirmation.js +17 -0
- package/dist/lib/testing-confirmation.js.map +1 -0
- package/dist/lib/testing-data-command.d.ts +21 -0
- package/dist/lib/testing-data-command.js +49 -0
- package/dist/lib/testing-data-command.js.map +1 -0
- package/dist/lib/testing-data-core.d.ts +22 -0
- package/dist/lib/testing-data-core.js +208 -0
- package/dist/lib/testing-data-core.js.map +1 -0
- package/dist/lib/testing-data-export.d.ts +1 -0
- package/dist/lib/testing-data-export.js +2 -0
- package/dist/lib/testing-data-export.js.map +1 -0
- package/dist/lib/testing-data-import.d.ts +1 -0
- package/dist/lib/testing-data-import.js +2 -0
- package/dist/lib/testing-data-import.js.map +1 -0
- package/dist/lib/testing-data-io.d.ts +21 -0
- package/dist/lib/testing-data-io.js +236 -0
- package/dist/lib/testing-data-io.js.map +1 -0
- package/dist/lib/testing-data-operations.d.ts +36 -0
- package/dist/lib/testing-data-operations.js +91 -0
- package/dist/lib/testing-data-operations.js.map +1 -0
- package/dist/lib/testing-data-types.d.ts +41 -0
- package/dist/lib/testing-data-types.js +3 -0
- package/dist/lib/testing-data-types.js.map +1 -0
- package/dist/lib/testing-flags.d.ts +62 -1
- package/dist/lib/testing-flags.js +177 -1
- package/dist/lib/testing-flags.js.map +1 -1
- package/dist/lib/testing-gateway.d.ts +17 -3
- package/dist/lib/testing-gateway.js +175 -45
- package/dist/lib/testing-gateway.js.map +1 -1
- package/dist/lib/testing-live-command.d.ts +24 -0
- package/dist/lib/testing-live-command.js +56 -0
- package/dist/lib/testing-live-command.js.map +1 -0
- package/dist/lib/testing-live-endpoints.d.ts +14 -0
- package/dist/lib/testing-live-endpoints.js +34 -0
- package/dist/lib/testing-live-endpoints.js.map +1 -0
- package/dist/lib/testing-live-history.d.ts +11 -0
- package/dist/lib/testing-live-history.js +96 -0
- package/dist/lib/testing-live-history.js.map +1 -0
- package/dist/lib/testing-live-operations.d.ts +118 -0
- package/dist/lib/testing-live-operations.js +676 -0
- package/dist/lib/testing-live-operations.js.map +1 -0
- package/dist/lib/testing-live-recorder.d.ts +14 -0
- package/dist/lib/testing-live-recorder.js +122 -0
- package/dist/lib/testing-live-recorder.js.map +1 -0
- package/dist/lib/testing-live-robot.d.ts +16 -0
- package/dist/lib/testing-live-robot.js +158 -0
- package/dist/lib/testing-live-robot.js.map +1 -0
- package/dist/lib/testing-live-state.d.ts +4 -0
- package/dist/lib/testing-live-state.js +90 -0
- package/dist/lib/testing-live-state.js.map +1 -0
- package/dist/lib/testing-live-types.d.ts +92 -0
- package/dist/lib/testing-live-types.js +2 -0
- package/dist/lib/testing-live-types.js.map +1 -0
- package/dist/lib/testing-operations.d.ts +157 -5
- package/dist/lib/testing-operations.js +829 -66
- package/dist/lib/testing-operations.js.map +1 -1
- package/dist/lib/testing-run-command.d.ts +25 -0
- package/dist/lib/testing-run-command.js +94 -0
- package/dist/lib/testing-run-command.js.map +1 -0
- package/dist/lib/testing-sanitization.d.ts +11 -0
- package/dist/lib/testing-sanitization.js +135 -0
- package/dist/lib/testing-sanitization.js.map +1 -0
- package/dist/lib/testing-schedule.d.ts +23 -0
- package/dist/lib/testing-schedule.js +48 -0
- package/dist/lib/testing-schedule.js.map +1 -0
- package/dist/lib/testing-secret-input.d.ts +12 -0
- package/dist/lib/testing-secret-input.js +56 -0
- package/dist/lib/testing-secret-input.js.map +1 -0
- package/dist/lib/testing-session.d.ts +8 -0
- package/dist/lib/testing-session.js +82 -0
- package/dist/lib/testing-session.js.map +1 -0
- package/dist/lib/testing-types.d.ts +143 -13
- package/dist/lib/testing-types.js +110 -5
- package/dist/lib/testing-types.js.map +1 -1
- package/dist/lib/testing-watch.d.ts +4 -0
- package/dist/lib/testing-watch.js +45 -0
- package/dist/lib/testing-watch.js.map +1 -0
- package/oclif.manifest.json +8354 -3760
- package/package.json +12 -1
- package/templates/skills/agentia-testing/SKILL.md +9 -6
- package/templates/skills/agentia-testing/references/tests.md +70 -36
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { type TestingGatewayCallOptions } from './testing-gateway.js';
|
|
2
|
-
import { type TestingAuthor, type TestingBuild, type TestingBuildRunRequest, type TestingBuildRunResult, type TestingBuildStatus, type TestingCreateVariableRequest, type TestingDownloadResult, type TestingFileEntry, type TestingFileOperation, type TestingGitStorageUpdate, type TestingJob, type TestingJobCreateResult, type TestingJobUpdateRequest, type TestingLogResult, type TestingProject, type TestingRecord, type TestingRecordBuildOption, type TestingRobot, type TestingVariable, type TestingVariableType, type TestingVariableUpdateRequest } from './testing-types.js';
|
|
2
|
+
import { type TestingAuthor, type TestingBuild, type TestingBuildLogOptions, type TestingBuildRunRequest, type TestingBuildRunResult, type TestingBuildSearchOptions, type TestingBuildSearchResult, type TestingBuildStatus, type TestingCreateUserParameterRequest, type TestingCreateVariableRequest, type TestingDownloadResult, type TestingFileEntry, type TestingFileOperation, type TestingGitStorageUpdate, type TestingJob, type TestingJobCreateResult, type TestingJobUpdateRequest, type TestingLogResult, type TestingPermission, type TestingPermissionRequest, type TestingProject, type TestingProjectExecutor, type TestingProjectType, type TestingRecord, type TestingRecordBuildOption, type TestingRobot, type TestingRobotReporting, type TestingRobotRunEnvironment, type TestingRobotType, type TestingRunType, type TestingUserParameter, type TestingUserParameterUpdateRequest, type TestingVariable, type TestingVariableType, type TestingVariableUpdateRequest } from './testing-types.js';
|
|
3
3
|
export declare const DEFAULT_TESTING_AUTHOR: TestingAuthor;
|
|
4
4
|
export type TestingFileCollectionInput = {
|
|
5
|
+
basePath?: string;
|
|
5
6
|
dirs?: string[];
|
|
6
7
|
files?: string[];
|
|
8
|
+
remotePrefix?: string;
|
|
7
9
|
};
|
|
8
10
|
export type TestingConnectionOptions = TestingGatewayCallOptions;
|
|
9
11
|
export type TestingCreateJobOptions = TestingConnectionOptions & {
|
|
12
|
+
analytics?: {
|
|
13
|
+
caseDurationChangeDetection?: boolean;
|
|
14
|
+
};
|
|
10
15
|
description?: string;
|
|
16
|
+
dryRun?: boolean;
|
|
11
17
|
fileInput?: TestingFileCollectionInput;
|
|
12
18
|
gitBranch?: string;
|
|
13
19
|
gitDomainCredentialId?: string;
|
|
@@ -17,8 +23,17 @@ export type TestingCreateJobOptions = TestingConnectionOptions & {
|
|
|
17
23
|
gitUseCallerCredentials?: boolean;
|
|
18
24
|
gitUsername?: string;
|
|
19
25
|
name: string;
|
|
26
|
+
parallelExecution?: TestingJobUpdateRequest['parallelExecution'];
|
|
20
27
|
projectId: number;
|
|
21
28
|
robotId: number | string;
|
|
29
|
+
screen?: TestingJobUpdateRequest['screen'];
|
|
30
|
+
showVideoParams?: boolean;
|
|
31
|
+
suiteType?: TestingJobUpdateRequest['suiteType'];
|
|
32
|
+
timeout?: string;
|
|
33
|
+
uploadAuthor?: TestingAuthor;
|
|
34
|
+
uploadCommitMessage?: string;
|
|
35
|
+
uploadParentCommitHash?: string;
|
|
36
|
+
validation?: boolean;
|
|
22
37
|
};
|
|
23
38
|
export type TestingGitStorageOptions = {
|
|
24
39
|
gitBranch?: string;
|
|
@@ -31,8 +46,11 @@ export type TestingGitStorageOptions = {
|
|
|
31
46
|
export type TestingUploadOptions = TestingConnectionOptions & {
|
|
32
47
|
author?: TestingAuthor;
|
|
33
48
|
branch?: string;
|
|
49
|
+
commitMessage?: string;
|
|
50
|
+
dryRun?: boolean;
|
|
34
51
|
jobId: number;
|
|
35
52
|
operations: TestingFileOperation[];
|
|
53
|
+
parentCommitHash?: string;
|
|
36
54
|
projectId: number;
|
|
37
55
|
};
|
|
38
56
|
export type TestingDownloadOptions = TestingConnectionOptions & {
|
|
@@ -50,22 +68,42 @@ export type TestingBuildParameterInput = {
|
|
|
50
68
|
};
|
|
51
69
|
export type TestingRunOptions = TestingConnectionOptions & {
|
|
52
70
|
branch?: string;
|
|
71
|
+
consoleColors?: 'ansi' | 'auto' | 'off' | 'on';
|
|
72
|
+
consoleWidth?: number;
|
|
73
|
+
dataTables?: string[];
|
|
74
|
+
doc?: string;
|
|
75
|
+
dryRun?: boolean;
|
|
53
76
|
exclude?: string[];
|
|
77
|
+
exitOnError?: boolean;
|
|
78
|
+
exitOnFailure?: boolean;
|
|
54
79
|
include?: string[];
|
|
55
80
|
jobId: number;
|
|
81
|
+
metadata?: string[];
|
|
82
|
+
name?: string;
|
|
56
83
|
parameters?: TestingBuildParameterInput[];
|
|
57
84
|
projectId: number;
|
|
58
85
|
record?: TestingRecordBuildOption;
|
|
59
86
|
rerunFailedFromLatest?: boolean;
|
|
60
87
|
rerunFailedId?: number;
|
|
88
|
+
runEmptySuite?: boolean;
|
|
89
|
+
runType?: TestingRunType;
|
|
90
|
+
setTags?: string[];
|
|
91
|
+
skip?: string[];
|
|
92
|
+
skipOnFailure?: string[];
|
|
93
|
+
suites?: string[];
|
|
61
94
|
tag?: string;
|
|
95
|
+
tests?: string[];
|
|
96
|
+
variables?: string[];
|
|
62
97
|
};
|
|
63
98
|
export type TestingBuildWaitOptions = TestingConnectionOptions & {
|
|
64
99
|
buildId?: number | string;
|
|
65
100
|
intervalMs?: number;
|
|
66
101
|
jobId: number;
|
|
102
|
+
onLog?: (chunk: string) => void;
|
|
67
103
|
onPoll?: (build: TestingBuild) => void;
|
|
68
104
|
projectId: number;
|
|
105
|
+
sensitiveValues?: string[];
|
|
106
|
+
streamLogs?: boolean;
|
|
69
107
|
timeoutMs?: number;
|
|
70
108
|
};
|
|
71
109
|
export type TestingBuildWaitResult = {
|
|
@@ -73,19 +111,47 @@ export type TestingBuildWaitResult = {
|
|
|
73
111
|
build: TestingBuild;
|
|
74
112
|
buildId?: number | string;
|
|
75
113
|
jobId: number;
|
|
114
|
+
log?: string;
|
|
76
115
|
projectId: number;
|
|
77
116
|
};
|
|
78
|
-
type
|
|
117
|
+
export type TestingArtifactResult = {
|
|
118
|
+
archive?: string;
|
|
119
|
+
xunit?: string;
|
|
120
|
+
};
|
|
121
|
+
type TestingSnapshotFetchFn = (url: URL, headers: Record<string, string>, timeoutMs: number, maxResponseBytes: number) => Promise<Buffer>;
|
|
79
122
|
export declare function listTestingProjects(options?: TestingConnectionOptions & {
|
|
80
123
|
name?: string;
|
|
81
124
|
}): Promise<TestingProject[]>;
|
|
82
125
|
export declare function createTestingProject(options: TestingConnectionOptions & {
|
|
126
|
+
dashboardId?: number;
|
|
83
127
|
description?: string;
|
|
84
128
|
name: string;
|
|
129
|
+
projectExecutor?: TestingProjectExecutor;
|
|
130
|
+
projectType?: TestingProjectType;
|
|
85
131
|
}): Promise<TestingProject>;
|
|
86
132
|
export declare function getTestingProject(options: TestingConnectionOptions & {
|
|
87
133
|
projectId: number | string;
|
|
88
134
|
}): Promise<TestingProject>;
|
|
135
|
+
export declare function updateTestingProject(options: TestingConnectionOptions & {
|
|
136
|
+
description?: string;
|
|
137
|
+
name?: string;
|
|
138
|
+
projectId: number | string;
|
|
139
|
+
}): Promise<TestingProject>;
|
|
140
|
+
export declare function listTestingProjectPermissions(options: TestingConnectionOptions & {
|
|
141
|
+
projectId: number | string;
|
|
142
|
+
}): Promise<TestingPermission[]>;
|
|
143
|
+
export declare function getTestingProjectPermission(options: TestingConnectionOptions & {
|
|
144
|
+
projectId: number | string;
|
|
145
|
+
}): Promise<TestingPermission>;
|
|
146
|
+
export declare function setTestingProjectPermission(options: TestingConnectionOptions & TestingPermissionRequest & {
|
|
147
|
+
projectId: number | string;
|
|
148
|
+
}): Promise<TestingPermission[]>;
|
|
149
|
+
export declare function deleteTestingProjectPermission(options: TestingConnectionOptions & {
|
|
150
|
+
permissionId: number;
|
|
151
|
+
}): Promise<{
|
|
152
|
+
deleted: true;
|
|
153
|
+
permissionId: number;
|
|
154
|
+
}>;
|
|
89
155
|
export declare function deleteTestingProject(options: TestingConnectionOptions & {
|
|
90
156
|
projectId: number;
|
|
91
157
|
}): Promise<{
|
|
@@ -98,16 +164,28 @@ export declare function listTestingRobots(options: TestingConnectionOptions & {
|
|
|
98
164
|
export declare function createTestingRobot(options: TestingConnectionOptions & {
|
|
99
165
|
description?: string;
|
|
100
166
|
fwVersion?: string;
|
|
101
|
-
kind?:
|
|
167
|
+
kind?: TestingRobotRunEnvironment;
|
|
168
|
+
label?: string;
|
|
102
169
|
name: string;
|
|
103
170
|
os?: string;
|
|
104
171
|
projectId: number;
|
|
105
|
-
|
|
172
|
+
reporting?: TestingRobotReporting;
|
|
173
|
+
robotType?: TestingRobotType;
|
|
106
174
|
}): Promise<TestingRobot>;
|
|
107
175
|
export declare function getTestingRobot(options: TestingConnectionOptions & {
|
|
108
176
|
projectId: number;
|
|
109
177
|
robotId: number | string;
|
|
110
178
|
}): Promise<TestingRobot>;
|
|
179
|
+
export declare function updateTestingRobot(options: TestingConnectionOptions & {
|
|
180
|
+
description?: string;
|
|
181
|
+
fwVersion?: string;
|
|
182
|
+
label?: string;
|
|
183
|
+
name?: string;
|
|
184
|
+
projectId: number;
|
|
185
|
+
reporting?: TestingRobotReporting;
|
|
186
|
+
robotId: number | string;
|
|
187
|
+
robotType?: TestingRobotType;
|
|
188
|
+
}): Promise<TestingRobot>;
|
|
111
189
|
export declare function deleteTestingRobot(options: TestingConnectionOptions & {
|
|
112
190
|
projectId: number;
|
|
113
191
|
robotId: number | string;
|
|
@@ -143,24 +221,60 @@ export declare function listTestingJobFiles(options: TestingConnectionOptions &
|
|
|
143
221
|
projectId: number;
|
|
144
222
|
}): Promise<TestingFileEntry[]>;
|
|
145
223
|
export declare function uploadTestingJobFiles(options: TestingUploadOptions): Promise<{
|
|
224
|
+
dryRun?: true;
|
|
146
225
|
operations: TestingFileOperation[];
|
|
147
226
|
response: TestingRecord;
|
|
148
227
|
}>;
|
|
228
|
+
export declare function getTestingJobRefs(options: TestingConnectionOptions & {
|
|
229
|
+
jobId: number;
|
|
230
|
+
projectId: number;
|
|
231
|
+
sharedCredentials?: boolean;
|
|
232
|
+
}): Promise<TestingRecord>;
|
|
149
233
|
export declare function downloadTestingJobFiles(options: TestingDownloadOptions): Promise<TestingDownloadResult>;
|
|
150
234
|
export declare function runTestingBuild(options: TestingRunOptions): Promise<TestingBuildRunResult>;
|
|
151
235
|
export declare function listTestingBuilds(options: TestingConnectionOptions & {
|
|
152
236
|
jobId?: number;
|
|
237
|
+
page?: number;
|
|
238
|
+
pageSize?: number;
|
|
153
239
|
projectId: number;
|
|
154
240
|
resultSize?: 'compact';
|
|
155
241
|
status?: TestingBuildStatus;
|
|
156
242
|
}): Promise<TestingBuild[]>;
|
|
243
|
+
export declare function countTestingBuilds(options: TestingConnectionOptions & {
|
|
244
|
+
jobId: number;
|
|
245
|
+
projectId: number;
|
|
246
|
+
}): Promise<number>;
|
|
247
|
+
export declare function getTestingBuild(options: TestingConnectionOptions & {
|
|
248
|
+
buildId: number | string;
|
|
249
|
+
full?: boolean;
|
|
250
|
+
jobId: number;
|
|
251
|
+
projectId: number;
|
|
252
|
+
}): Promise<TestingBuild>;
|
|
253
|
+
export declare function getTestingBuildForArtifacts(options: TestingConnectionOptions & {
|
|
254
|
+
buildId: number | string;
|
|
255
|
+
full?: boolean;
|
|
256
|
+
jobId: number;
|
|
257
|
+
projectId: number;
|
|
258
|
+
}): Promise<TestingBuild>;
|
|
259
|
+
export declare function latestTestingBuilds(options: TestingConnectionOptions & {
|
|
260
|
+
projectId: number;
|
|
261
|
+
resultSize?: 'compact';
|
|
262
|
+
status?: TestingBuildStatus;
|
|
263
|
+
}): Promise<TestingBuild[]>;
|
|
264
|
+
export declare function searchTestingBuilds(options: TestingBuildSearchOptions & TestingConnectionOptions): Promise<TestingBuildSearchResult>;
|
|
157
265
|
export declare function waitForTestingBuildResult(options: TestingBuildWaitOptions): Promise<TestingBuildWaitResult>;
|
|
158
|
-
export declare function getTestingBuildLogs(options: TestingConnectionOptions & {
|
|
266
|
+
export declare function getTestingBuildLogs(options: TestingBuildLogOptions & TestingConnectionOptions & {
|
|
159
267
|
buildId: number;
|
|
160
268
|
jobId: number;
|
|
269
|
+
knownSecrets?: string[];
|
|
161
270
|
output?: string;
|
|
162
271
|
projectId: number;
|
|
163
272
|
}): Promise<TestingLogResult>;
|
|
273
|
+
export declare function saveTestingBuildArtifacts(options: TestingConnectionOptions & {
|
|
274
|
+
build: TestingBuild;
|
|
275
|
+
saveArtifacts?: string;
|
|
276
|
+
xunit?: string;
|
|
277
|
+
}): Promise<TestingArtifactResult>;
|
|
164
278
|
export declare function abortTestingBuild(options: TestingConnectionOptions & {
|
|
165
279
|
buildId: number;
|
|
166
280
|
jobId: number;
|
|
@@ -173,9 +287,17 @@ export declare function abortTestingBuild(options: TestingConnectionOptions & {
|
|
|
173
287
|
}>;
|
|
174
288
|
export declare function listTestingVariables(options: TestingConnectionOptions & {
|
|
175
289
|
jobId?: number;
|
|
290
|
+
key?: string;
|
|
176
291
|
projectId: number;
|
|
177
292
|
robotId?: number;
|
|
293
|
+
sensitive?: boolean;
|
|
294
|
+
type?: TestingVariableType;
|
|
295
|
+
userSpecific?: boolean;
|
|
178
296
|
}): Promise<TestingVariable[]>;
|
|
297
|
+
export declare function getTestingVariable(options: TestingConnectionOptions & {
|
|
298
|
+
projectId: number;
|
|
299
|
+
variableId: string;
|
|
300
|
+
}): Promise<TestingVariable>;
|
|
179
301
|
export declare function createTestingVariable(options: TestingConnectionOptions & TestingCreateVariableRequest & {
|
|
180
302
|
projectId: number;
|
|
181
303
|
}): Promise<unknown>;
|
|
@@ -190,13 +312,43 @@ export declare function deleteTestingVariable(options: TestingConnectionOptions
|
|
|
190
312
|
projectId: number;
|
|
191
313
|
variableId: string;
|
|
192
314
|
}>;
|
|
315
|
+
export declare function listTestingUserParameters(options?: TestingConnectionOptions & {
|
|
316
|
+
jobId?: number;
|
|
317
|
+
key?: string;
|
|
318
|
+
projectId?: number;
|
|
319
|
+
}): Promise<TestingUserParameter[]>;
|
|
320
|
+
export declare function getTestingUserParameter(options: TestingConnectionOptions & {
|
|
321
|
+
parameterId: number | string;
|
|
322
|
+
}): Promise<TestingUserParameter>;
|
|
323
|
+
export declare function createTestingUserParameter(options: TestingConnectionOptions & TestingCreateUserParameterRequest & {
|
|
324
|
+
unique?: boolean;
|
|
325
|
+
}): Promise<TestingUserParameter>;
|
|
326
|
+
export declare function updateTestingUserParameter(options: TestingConnectionOptions & TestingUserParameterUpdateRequest & {
|
|
327
|
+
parameterId: number | string;
|
|
328
|
+
unique?: boolean;
|
|
329
|
+
}): Promise<TestingUserParameter>;
|
|
330
|
+
export declare function deleteTestingUserParameter(options: TestingConnectionOptions & {
|
|
331
|
+
parameterId: number | string;
|
|
332
|
+
}): Promise<{
|
|
333
|
+
deleted: true;
|
|
334
|
+
parameterId: number | string;
|
|
335
|
+
}>;
|
|
193
336
|
export declare function buildFileAddOperations(input: TestingFileCollectionInput): TestingFileOperation[];
|
|
194
337
|
export declare function buildFileOperationsFromSpecs(specs: {
|
|
195
338
|
add?: string[];
|
|
339
|
+
basePath?: string;
|
|
340
|
+
remotePrefix?: string;
|
|
196
341
|
remove?: string[];
|
|
197
342
|
replace?: string[];
|
|
198
343
|
}): TestingFileOperation[];
|
|
199
344
|
export declare function buildTestingRunRequest(options: TestingRunOptions): TestingBuildRunRequest;
|
|
200
345
|
export declare function setTestingSnapshotFetchForTests(snapshotFetchFn: TestingSnapshotFetchFn): void;
|
|
201
346
|
export declare function resetTestingSnapshotFetchForTests(): void;
|
|
347
|
+
export declare function normalizeTestingRemotePath(path: string): string;
|
|
348
|
+
export declare function testingBuildStatus(build: TestingBuild): string | undefined;
|
|
349
|
+
export declare function isTerminalTestingBuild(build: TestingBuild): boolean;
|
|
350
|
+
export declare function isSuccessfulTestingBuild(build: TestingBuild): boolean;
|
|
351
|
+
export declare function tailTestingLogLines(log: string, count: number): string;
|
|
352
|
+
export declare function validateTestingOutputPath(path: string): string;
|
|
353
|
+
export declare function buildTestingMsearchBody(orgId: number, options: TestingBuildSearchOptions): string;
|
|
202
354
|
export {};
|