@qawolf/api-contracts 0.105.0 → 0.107.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/dist/v1/build/index.d.ts +24 -0
- package/dist/v1/build/index.d.ts.map +1 -1
- package/dist/v1/build/index.js +2 -0
- package/dist/v1/build/index.js.map +1 -1
- package/dist/v1/build/requestDownload.d.ts +29 -0
- package/dist/v1/build/requestDownload.d.ts.map +1 -0
- package/dist/v1/build/requestDownload.js +37 -0
- package/dist/v1/build/requestDownload.js.map +1 -0
- package/dist/v1/environment/getVariable.d.ts +2 -1
- package/dist/v1/environment/getVariable.d.ts.map +1 -1
- package/dist/v1/environment/getVariable.js +4 -1
- package/dist/v1/environment/getVariable.js.map +1 -1
- package/dist/v1/index.d.ts +262 -4
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +2 -17
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/issue/addFlows.d.ts +5 -0
- package/dist/v1/issue/addFlows.d.ts.map +1 -1
- package/dist/v1/issue/attachFiles.d.ts +71 -0
- package/dist/v1/issue/attachFiles.d.ts.map +1 -0
- package/dist/v1/issue/attachFiles.js +31 -0
- package/dist/v1/issue/attachFiles.js.map +1 -0
- package/dist/v1/issue/contracts.d.ts +683 -0
- package/dist/v1/issue/contracts.d.ts.map +1 -0
- package/dist/v1/issue/contracts.js +20 -0
- package/dist/v1/issue/contracts.js.map +1 -0
- package/dist/v1/issue/create.d.ts +6 -0
- package/dist/v1/issue/create.d.ts.map +1 -1
- package/dist/v1/issue/create.js +4 -0
- package/dist/v1/issue/create.js.map +1 -1
- package/dist/v1/issue/decideSuggestion.d.ts +5 -0
- package/dist/v1/issue/decideSuggestion.d.ts.map +1 -1
- package/dist/v1/issue/files.d.ts +11 -0
- package/dist/v1/issue/files.d.ts.map +1 -0
- package/dist/v1/issue/files.js +21 -0
- package/dist/v1/issue/files.js.map +1 -0
- package/dist/v1/issue/index.d.ts +15 -0
- package/dist/v1/issue/index.d.ts.map +1 -1
- package/dist/v1/issue/index.js +5 -0
- package/dist/v1/issue/index.js.map +1 -1
- package/dist/v1/issue/removeFlows.d.ts +5 -0
- package/dist/v1/issue/removeFlows.d.ts.map +1 -1
- package/dist/v1/issue/update.d.ts +5 -0
- package/dist/v1/issue/update.d.ts.map +1 -1
- package/dist/v1/mcpToolDescription.js +1 -1
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/dist/v1/run/diagnose.d.ts +5 -0
- package/dist/v1/run/diagnose.d.ts.map +1 -1
- package/dist/v1/runner/catalog.d.ts +1 -1
- package/dist/v1/runner/index.d.ts +1 -1
- package/dist/v1/runner/index.js +1 -1
- package/dist/v1/runner/index.js.map +1 -1
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.js +2 -8
- package/dist/v1/runner/runFlow.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +1 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +1 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/build/index.d.ts
CHANGED
|
@@ -179,6 +179,30 @@ export declare const makeBuildContracts: <EnvironmentId extends PublicIdSchema,
|
|
|
179
179
|
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
180
|
}, import("zod/v4/core").$strip>;
|
|
181
181
|
};
|
|
182
|
+
requestDownload: {
|
|
183
|
+
readonly annotationJustifications: {
|
|
184
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
185
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
186
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
187
|
+
};
|
|
188
|
+
readonly annotations: {
|
|
189
|
+
readonly destructiveHint: false;
|
|
190
|
+
readonly openWorldHint: false;
|
|
191
|
+
readonly readOnlyHint: true;
|
|
192
|
+
};
|
|
193
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
194
|
+
readonly input: import("zod").ZodObject<{
|
|
195
|
+
buildId: import("zod").ZodString;
|
|
196
|
+
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
197
|
+
}, import("zod/v4/core").$strip>;
|
|
198
|
+
readonly kind: "read";
|
|
199
|
+
readonly name: "build.requestDownload";
|
|
200
|
+
readonly output: import("zod").ZodObject<{
|
|
201
|
+
expiresAt: import("zod").ZodISODateTime;
|
|
202
|
+
fileName: import("zod").ZodString;
|
|
203
|
+
readUrl: import("zod").ZodString;
|
|
204
|
+
}, import("zod/v4/core").$strip>;
|
|
205
|
+
};
|
|
182
206
|
requestUpload: {
|
|
183
207
|
readonly annotationJustifications: {
|
|
184
208
|
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/build/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/build/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAShD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,kBAAkB,GAC7B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOC,CAAC"}
|
package/dist/v1/build/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { makeCreateBuildContract } from "./create.js";
|
|
|
2
2
|
import { makeDeleteBuildContract } from "./delete.js";
|
|
3
3
|
import { makeGetBuildContract } from "./get.js";
|
|
4
4
|
import { makeListBuildsContract } from "./list.js";
|
|
5
|
+
import { makeRequestBuildDownloadContract } from "./requestDownload.js";
|
|
5
6
|
import { makeRequestBuildUploadContract } from "./requestUpload.js";
|
|
6
7
|
export { maxBuildFileBytes } from "./requestUpload.js";
|
|
7
8
|
export { buildIdSchema, buildPlatformSchema, makeBuildResourceSchema, } from "./resource.js";
|
|
@@ -10,6 +11,7 @@ export const makeBuildContracts = (ids) => ({
|
|
|
10
11
|
delete: makeDeleteBuildContract(ids),
|
|
11
12
|
get: makeGetBuildContract(ids),
|
|
12
13
|
list: makeListBuildsContract(ids),
|
|
14
|
+
requestDownload: makeRequestBuildDownloadContract(ids),
|
|
13
15
|
requestUpload: makeRequestBuildUploadContract(ids),
|
|
14
16
|
});
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/build/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAGhC,GAGD,EAAE,EAAE,CAAC,CAAC;IACL,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC;IACpC,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC;IACpC,GAAG,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC,GAAG,CAAC;IACjC,aAAa,EAAE,8BAA8B,CAAC,GAAG,CAAC;CACnD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/build/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAGhC,GAGD,EAAE,EAAE,CAAC,CAAC;IACL,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC;IACpC,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC;IACpC,GAAG,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC,GAAG,CAAC;IACjC,eAAe,EAAE,gCAAgC,CAAC,GAAG,CAAC;IACtD,aAAa,EAAE,8BAA8B,CAAC,GAAG,CAAC;CACnD,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const makeRequestBuildDownloadContract: <WorkspaceId extends PublicIdSchema>(ids: {
|
|
4
|
+
workspace: WorkspaceId;
|
|
5
|
+
}) => {
|
|
6
|
+
readonly annotationJustifications: {
|
|
7
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
8
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
9
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
10
|
+
};
|
|
11
|
+
readonly annotations: {
|
|
12
|
+
readonly destructiveHint: false;
|
|
13
|
+
readonly openWorldHint: false;
|
|
14
|
+
readonly readOnlyHint: true;
|
|
15
|
+
};
|
|
16
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
17
|
+
readonly input: z.ZodObject<{
|
|
18
|
+
buildId: z.ZodString;
|
|
19
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
readonly kind: "read";
|
|
22
|
+
readonly name: "build.requestDownload";
|
|
23
|
+
readonly output: z.ZodObject<{
|
|
24
|
+
expiresAt: z.ZodISODateTime;
|
|
25
|
+
fileName: z.ZodString;
|
|
26
|
+
readUrl: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=requestDownload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestDownload.d.ts","sourceRoot":"","sources":["../../../src/v1/build/requestDownload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,gCAAgC,GAC3C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;CA6CA,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { buildIdSchema } from "./resource.js";
|
|
3
|
+
export const makeRequestBuildDownloadContract = (ids) => {
|
|
4
|
+
const input = z.object({
|
|
5
|
+
buildId: buildIdSchema,
|
|
6
|
+
workspaceId: ids.workspace
|
|
7
|
+
.optional()
|
|
8
|
+
.describe("The workspace of the build. Required when authenticating with an organization or user API key."),
|
|
9
|
+
});
|
|
10
|
+
const output = z.object({
|
|
11
|
+
expiresAt: z.iso
|
|
12
|
+
.datetime()
|
|
13
|
+
.describe("When readUrl stops working. Request another one after it."),
|
|
14
|
+
fileName: z.string().describe("The name of the build's file."),
|
|
15
|
+
readUrl: z
|
|
16
|
+
.string()
|
|
17
|
+
.describe('Fetch the build\'s file from here, for example `curl -o app.apk "<readUrl>"`.'),
|
|
18
|
+
});
|
|
19
|
+
return {
|
|
20
|
+
annotationJustifications: {
|
|
21
|
+
destructiveHint: "Does not change the build or its file.",
|
|
22
|
+
openWorldHint: "Access is limited to the build files of the authorized workspace.",
|
|
23
|
+
readOnlyHint: "Returns an expiring read URL for a build's file.",
|
|
24
|
+
},
|
|
25
|
+
annotations: {
|
|
26
|
+
destructiveHint: false,
|
|
27
|
+
openWorldHint: false,
|
|
28
|
+
readOnlyHint: true,
|
|
29
|
+
},
|
|
30
|
+
description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.",
|
|
31
|
+
input,
|
|
32
|
+
kind: "read",
|
|
33
|
+
name: "build.requestDownload",
|
|
34
|
+
output,
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=requestDownload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestDownload.js","sourceRoot":"","sources":["../../../src/v1/build/requestDownload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAE9C,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,gGAAgG,CACjG;KACJ,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,SAAS,EAAE,CAAC,CAAC,GAAG;aACb,QAAQ,EAAE;aACV,QAAQ,CAAC,2DAA2D,CAAC;QACxE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC9D,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CACP,+EAA+E,CAChF;KACJ,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,wCAAwC;YACzD,aAAa,EACX,mEAAmE;YACrE,YAAY,EAAE,kDAAkD;SACjE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,wIAAwI;QAC1I,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,uBAAuB;QAC7B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const makeGetEnvironmentVariableContract: <EnvironmentId extends
|
|
|
11
11
|
readonly openWorldHint: false;
|
|
12
12
|
readonly readOnlyHint: true;
|
|
13
13
|
};
|
|
14
|
-
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
14
|
+
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.";
|
|
15
15
|
readonly input: z.ZodObject<{
|
|
16
16
|
environmentId: PublicIdSchema;
|
|
17
17
|
variableNames: z.ZodArray<z.ZodString>;
|
|
@@ -21,6 +21,7 @@ export declare const makeGetEnvironmentVariableContract: <EnvironmentId extends
|
|
|
21
21
|
readonly name: "environment.getVariable";
|
|
22
22
|
readonly output: z.ZodObject<{
|
|
23
23
|
missingNames: z.ZodArray<z.ZodString>;
|
|
24
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
24
25
|
variables: z.ZodArray<z.ZodObject<{
|
|
25
26
|
name: z.ZodString;
|
|
26
27
|
value: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVariable.d.ts","sourceRoot":"","sources":["../../../src/v1/environment/getVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,kCAAkC,GAC7C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EAEnD,KAAK,iBAAiB,CACpB,aAAa,EACb,MAAM,EACN,KAAK,EACL,cAAc,EACd,WAAW,CACZ
|
|
1
|
+
{"version":3,"file":"getVariable.d.ts","sourceRoot":"","sources":["../../../src/v1/environment/getVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,kCAAkC,GAC7C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EAEnD,KAAK,iBAAiB,CACpB,aAAa,EACb,MAAM,EACN,KAAK,EACL,cAAc,EACd,WAAW,CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DF,CAAC"}
|
|
@@ -14,6 +14,9 @@ export const makeGetEnvironmentVariableContract = (ids) => {
|
|
|
14
14
|
missingNames: z
|
|
15
15
|
.array(z.string())
|
|
16
16
|
.describe("Requested names the environment does not have, sorted alphabetically."),
|
|
17
|
+
secretNames: z
|
|
18
|
+
.array(z.string())
|
|
19
|
+
.describe("Requested names that hold write-only secrets, sorted alphabetically. Their values are never returned; flows still receive them at run time."),
|
|
17
20
|
variables: z
|
|
18
21
|
.array(z.object({
|
|
19
22
|
name: z.string().describe("The stored variable name."),
|
|
@@ -36,7 +39,7 @@ export const makeGetEnvironmentVariableContract = (ids) => {
|
|
|
36
39
|
},
|
|
37
40
|
// A request that matches no names still succeeds. The caller reads the
|
|
38
41
|
// missing names from missingNames instead of an error.
|
|
39
|
-
description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
42
|
+
description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.",
|
|
40
43
|
input,
|
|
41
44
|
kind: "read",
|
|
42
45
|
name: "environment.getVariable",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVariable.js","sourceRoot":"","sources":["../../../src/v1/environment/getVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAMhD,GAMC,EACD,EAAE;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,aAAa,EAAE,CAAC;aACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aACjC,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CACP,wLAAwL,CACzL;QACH,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,YAAY,EAAE,CAAC;aACZ,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,CACP,uEAAuE,CACxE;QACH,SAAS,EAAE,CAAC;aACT,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;YACtD,KAAK,EAAE,CAAC;iBACL,MAAM,EAAE;iBACR,QAAQ,CAAC,kDAAkD,CAAC;SAChE,CAAC,CACH;aACA,QAAQ,CAAC,sCAAsC,CAAC;KACpD,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,6CAA6C;YAC9D,aAAa,EACX,sFAAsF;YACxF,YAAY,EACV,sFAAsF;SACzF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,uEAAuE;QACvE,uDAAuD;QACvD,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"getVariable.js","sourceRoot":"","sources":["../../../src/v1/environment/getVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAMhD,GAMC,EACD,EAAE;IACF,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,aAAa,EAAE,CAAC;aACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aACjC,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CACP,wLAAwL,CACzL;QACH,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,YAAY,EAAE,CAAC;aACZ,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,CACP,uEAAuE,CACxE;QACH,WAAW,EAAE,CAAC;aACX,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,CACP,6IAA6I,CAC9I;QACH,SAAS,EAAE,CAAC;aACT,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;YACtD,KAAK,EAAE,CAAC;iBACL,MAAM,EAAE;iBACR,QAAQ,CAAC,kDAAkD,CAAC;SAChE,CAAC,CACH;aACA,QAAQ,CAAC,sCAAsC,CAAC;KACpD,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,6CAA6C;YAC9D,aAAa,EACX,sFAAsF;YACxF,YAAY,EACV,sFAAsF;SACzF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,uEAAuE;QACvE,uDAAuD;QACvD,WAAW,EACT,8LAA8L;QAChM,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,yBAAyB;QAC/B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -472,6 +472,30 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
472
472
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
473
473
|
}, z.core.$strip>;
|
|
474
474
|
};
|
|
475
|
+
requestDownload: {
|
|
476
|
+
readonly annotationJustifications: {
|
|
477
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
478
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
479
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
480
|
+
};
|
|
481
|
+
readonly annotations: {
|
|
482
|
+
readonly destructiveHint: false;
|
|
483
|
+
readonly openWorldHint: false;
|
|
484
|
+
readonly readOnlyHint: true;
|
|
485
|
+
};
|
|
486
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
487
|
+
readonly input: z.ZodObject<{
|
|
488
|
+
buildId: z.ZodString;
|
|
489
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
readonly kind: "read";
|
|
492
|
+
readonly name: "build.requestDownload";
|
|
493
|
+
readonly output: z.ZodObject<{
|
|
494
|
+
expiresAt: z.ZodISODateTime;
|
|
495
|
+
fileName: z.ZodString;
|
|
496
|
+
readUrl: z.ZodString;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
};
|
|
475
499
|
requestUpload: {
|
|
476
500
|
readonly annotationJustifications: {
|
|
477
501
|
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
@@ -1223,7 +1247,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1223
1247
|
readonly openWorldHint: false;
|
|
1224
1248
|
readonly readOnlyHint: true;
|
|
1225
1249
|
};
|
|
1226
|
-
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
1250
|
+
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.";
|
|
1227
1251
|
readonly input: z.ZodObject<{
|
|
1228
1252
|
environmentId: PublicIdSchema;
|
|
1229
1253
|
variableNames: z.ZodArray<z.ZodString>;
|
|
@@ -1233,6 +1257,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1233
1257
|
readonly name: "environment.getVariable";
|
|
1234
1258
|
readonly output: z.ZodObject<{
|
|
1235
1259
|
missingNames: z.ZodArray<z.ZodString>;
|
|
1260
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
1236
1261
|
variables: z.ZodArray<z.ZodObject<{
|
|
1237
1262
|
name: z.ZodString;
|
|
1238
1263
|
value: z.ZodString;
|
|
@@ -1872,6 +1897,74 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1872
1897
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1873
1898
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
1874
1899
|
description: z.ZodString;
|
|
1900
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1901
|
+
fileId: z.ZodString;
|
|
1902
|
+
name: z.ZodString;
|
|
1903
|
+
sizeBytes: z.ZodNumber;
|
|
1904
|
+
}, z.core.$strip>>>;
|
|
1905
|
+
issueId: IssueId;
|
|
1906
|
+
name: z.ZodString;
|
|
1907
|
+
number: z.ZodNumber;
|
|
1908
|
+
priority: z.ZodEnum<{
|
|
1909
|
+
unprioritized: "unprioritized";
|
|
1910
|
+
low: "low";
|
|
1911
|
+
medium: "medium";
|
|
1912
|
+
high: "high";
|
|
1913
|
+
urgent: "urgent";
|
|
1914
|
+
}>;
|
|
1915
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
1916
|
+
environmentId: EnvironmentId;
|
|
1917
|
+
firstReproducedInRunId: RunId;
|
|
1918
|
+
flowId: FlowId;
|
|
1919
|
+
isActive: z.ZodBoolean;
|
|
1920
|
+
lastReproducedInRunId: RunId;
|
|
1921
|
+
}, z.core.$strip>>;
|
|
1922
|
+
status: z.ZodEnum<{
|
|
1923
|
+
pending: "pending";
|
|
1924
|
+
canceled: "canceled";
|
|
1925
|
+
backlog: "backlog";
|
|
1926
|
+
inProgress: "inProgress";
|
|
1927
|
+
paused: "paused";
|
|
1928
|
+
resolved: "resolved";
|
|
1929
|
+
archived: "archived";
|
|
1930
|
+
}>;
|
|
1931
|
+
type: z.ZodEnum<{
|
|
1932
|
+
bug: "bug";
|
|
1933
|
+
maintenance: "maintenance";
|
|
1934
|
+
coverageRequest: "coverageRequest";
|
|
1935
|
+
}>;
|
|
1936
|
+
url: z.ZodURL;
|
|
1937
|
+
}, z.core.$strip>;
|
|
1938
|
+
}, z.core.$strip>;
|
|
1939
|
+
};
|
|
1940
|
+
attachFiles: {
|
|
1941
|
+
readonly annotationJustifications: {
|
|
1942
|
+
readonly destructiveHint: "Adds files to the bug report without removing or replacing the ones already attached.";
|
|
1943
|
+
readonly openWorldHint: "Copies files within QA Wolf storage without publishing anything outside QA Wolf.";
|
|
1944
|
+
readonly readOnlyHint: "Copies files from the team's storage and attaches the copies to a bug report.";
|
|
1945
|
+
};
|
|
1946
|
+
readonly annotations: {
|
|
1947
|
+
readonly destructiveHint: false;
|
|
1948
|
+
readonly openWorldHint: false;
|
|
1949
|
+
readonly readOnlyHint: false;
|
|
1950
|
+
};
|
|
1951
|
+
readonly description: string;
|
|
1952
|
+
readonly input: z.ZodObject<{
|
|
1953
|
+
filePaths: z.ZodArray<z.ZodString>;
|
|
1954
|
+
issueId: IssueId;
|
|
1955
|
+
}, z.core.$strip>;
|
|
1956
|
+
readonly kind: "write";
|
|
1957
|
+
readonly name: "issue.attachFiles";
|
|
1958
|
+
readonly output: z.ZodObject<{
|
|
1959
|
+
issue: z.ZodObject<{
|
|
1960
|
+
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1961
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1962
|
+
description: z.ZodString;
|
|
1963
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1964
|
+
fileId: z.ZodString;
|
|
1965
|
+
name: z.ZodString;
|
|
1966
|
+
sizeBytes: z.ZodNumber;
|
|
1967
|
+
}, z.core.$strip>>>;
|
|
1875
1968
|
issueId: IssueId;
|
|
1876
1969
|
name: z.ZodString;
|
|
1877
1970
|
number: z.ZodNumber;
|
|
@@ -1920,6 +2013,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1920
2013
|
};
|
|
1921
2014
|
readonly description: string;
|
|
1922
2015
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2016
|
+
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1923
2017
|
type: z.ZodLiteral<"bug">;
|
|
1924
2018
|
description: z.ZodOptional<z.ZodString>;
|
|
1925
2019
|
name: z.ZodString;
|
|
@@ -1982,6 +2076,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1982
2076
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1983
2077
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
1984
2078
|
description: z.ZodString;
|
|
2079
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2080
|
+
fileId: z.ZodString;
|
|
2081
|
+
name: z.ZodString;
|
|
2082
|
+
sizeBytes: z.ZodNumber;
|
|
2083
|
+
}, z.core.$strip>>>;
|
|
1985
2084
|
issueId: IssueId;
|
|
1986
2085
|
name: z.ZodString;
|
|
1987
2086
|
number: z.ZodNumber;
|
|
@@ -2051,6 +2150,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2051
2150
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2052
2151
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2053
2152
|
description: z.ZodString;
|
|
2153
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2154
|
+
fileId: z.ZodString;
|
|
2155
|
+
name: z.ZodString;
|
|
2156
|
+
sizeBytes: z.ZodNumber;
|
|
2157
|
+
}, z.core.$strip>>>;
|
|
2054
2158
|
issueId: IssueId;
|
|
2055
2159
|
name: z.ZodString;
|
|
2056
2160
|
number: z.ZodNumber;
|
|
@@ -2124,6 +2228,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2124
2228
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2125
2229
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2126
2230
|
description: z.ZodString;
|
|
2231
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2232
|
+
fileId: z.ZodString;
|
|
2233
|
+
name: z.ZodString;
|
|
2234
|
+
sizeBytes: z.ZodNumber;
|
|
2235
|
+
}, z.core.$strip>>>;
|
|
2127
2236
|
issueId: IssueId;
|
|
2128
2237
|
name: z.ZodString;
|
|
2129
2238
|
number: z.ZodNumber;
|
|
@@ -2182,6 +2291,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2182
2291
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2183
2292
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2184
2293
|
description: z.ZodString;
|
|
2294
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2295
|
+
fileId: z.ZodString;
|
|
2296
|
+
name: z.ZodString;
|
|
2297
|
+
sizeBytes: z.ZodNumber;
|
|
2298
|
+
}, z.core.$strip>>>;
|
|
2185
2299
|
issueId: IssueId;
|
|
2186
2300
|
name: z.ZodString;
|
|
2187
2301
|
number: z.ZodNumber;
|
|
@@ -2312,6 +2426,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2312
2426
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2313
2427
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2314
2428
|
description: z.ZodString;
|
|
2429
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2430
|
+
fileId: z.ZodString;
|
|
2431
|
+
name: z.ZodString;
|
|
2432
|
+
sizeBytes: z.ZodNumber;
|
|
2433
|
+
}, z.core.$strip>>>;
|
|
2315
2434
|
issueId: IssueId;
|
|
2316
2435
|
name: z.ZodString;
|
|
2317
2436
|
number: z.ZodNumber;
|
|
@@ -2387,6 +2506,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2387
2506
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2388
2507
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2389
2508
|
description: z.ZodString;
|
|
2509
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2510
|
+
fileId: z.ZodString;
|
|
2511
|
+
name: z.ZodString;
|
|
2512
|
+
sizeBytes: z.ZodNumber;
|
|
2513
|
+
}, z.core.$strip>>>;
|
|
2390
2514
|
issueId: IssueId;
|
|
2391
2515
|
name: z.ZodString;
|
|
2392
2516
|
number: z.ZodNumber;
|
|
@@ -2835,6 +2959,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2835
2959
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2836
2960
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2837
2961
|
description: z.ZodString;
|
|
2962
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2963
|
+
fileId: z.ZodString;
|
|
2964
|
+
name: z.ZodString;
|
|
2965
|
+
sizeBytes: z.ZodNumber;
|
|
2966
|
+
}, z.core.$strip>>>;
|
|
2838
2967
|
issueId: IssueId;
|
|
2839
2968
|
name: z.ZodString;
|
|
2840
2969
|
number: z.ZodNumber;
|
|
@@ -3986,7 +4115,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3986
4115
|
readonly openWorldHint: true;
|
|
3987
4116
|
readonly readOnlyHint: false;
|
|
3988
4117
|
};
|
|
3989
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one,
|
|
4118
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, whatever runnerName is sent, so read `runnerName` in the answer for what is running. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
3990
4119
|
readonly input: z.ZodObject<{
|
|
3991
4120
|
id: z.ZodString;
|
|
3992
4121
|
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -5679,6 +5808,30 @@ export declare const publicContractsV1: {
|
|
|
5679
5808
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
5680
5809
|
}, z.core.$strip>;
|
|
5681
5810
|
};
|
|
5811
|
+
requestDownload: {
|
|
5812
|
+
readonly annotationJustifications: {
|
|
5813
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
5814
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
5815
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
5816
|
+
};
|
|
5817
|
+
readonly annotations: {
|
|
5818
|
+
readonly destructiveHint: false;
|
|
5819
|
+
readonly openWorldHint: false;
|
|
5820
|
+
readonly readOnlyHint: true;
|
|
5821
|
+
};
|
|
5822
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
5823
|
+
readonly input: z.ZodObject<{
|
|
5824
|
+
buildId: z.ZodString;
|
|
5825
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5826
|
+
}, z.core.$strip>;
|
|
5827
|
+
readonly kind: "read";
|
|
5828
|
+
readonly name: "build.requestDownload";
|
|
5829
|
+
readonly output: z.ZodObject<{
|
|
5830
|
+
expiresAt: z.ZodISODateTime;
|
|
5831
|
+
fileName: z.ZodString;
|
|
5832
|
+
readUrl: z.ZodString;
|
|
5833
|
+
}, z.core.$strip>;
|
|
5834
|
+
};
|
|
5682
5835
|
requestUpload: {
|
|
5683
5836
|
readonly annotationJustifications: {
|
|
5684
5837
|
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
@@ -6430,7 +6583,7 @@ export declare const publicContractsV1: {
|
|
|
6430
6583
|
readonly openWorldHint: false;
|
|
6431
6584
|
readonly readOnlyHint: true;
|
|
6432
6585
|
};
|
|
6433
|
-
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
6586
|
+
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.";
|
|
6434
6587
|
readonly input: z.ZodObject<{
|
|
6435
6588
|
environmentId: PublicIdSchema;
|
|
6436
6589
|
variableNames: z.ZodArray<z.ZodString>;
|
|
@@ -6440,6 +6593,7 @@ export declare const publicContractsV1: {
|
|
|
6440
6593
|
readonly name: "environment.getVariable";
|
|
6441
6594
|
readonly output: z.ZodObject<{
|
|
6442
6595
|
missingNames: z.ZodArray<z.ZodString>;
|
|
6596
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
6443
6597
|
variables: z.ZodArray<z.ZodObject<{
|
|
6444
6598
|
name: z.ZodString;
|
|
6445
6599
|
value: z.ZodString;
|
|
@@ -7079,6 +7233,74 @@ export declare const publicContractsV1: {
|
|
|
7079
7233
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7080
7234
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7081
7235
|
description: z.ZodString;
|
|
7236
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7237
|
+
fileId: z.ZodString;
|
|
7238
|
+
name: z.ZodString;
|
|
7239
|
+
sizeBytes: z.ZodNumber;
|
|
7240
|
+
}, z.core.$strip>>>;
|
|
7241
|
+
issueId: PublicIdSchema;
|
|
7242
|
+
name: z.ZodString;
|
|
7243
|
+
number: z.ZodNumber;
|
|
7244
|
+
priority: z.ZodEnum<{
|
|
7245
|
+
unprioritized: "unprioritized";
|
|
7246
|
+
low: "low";
|
|
7247
|
+
medium: "medium";
|
|
7248
|
+
high: "high";
|
|
7249
|
+
urgent: "urgent";
|
|
7250
|
+
}>;
|
|
7251
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
7252
|
+
environmentId: PublicIdSchema;
|
|
7253
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
7254
|
+
flowId: PublicIdSchema;
|
|
7255
|
+
isActive: z.ZodBoolean;
|
|
7256
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
7257
|
+
}, z.core.$strip>>;
|
|
7258
|
+
status: z.ZodEnum<{
|
|
7259
|
+
pending: "pending";
|
|
7260
|
+
canceled: "canceled";
|
|
7261
|
+
backlog: "backlog";
|
|
7262
|
+
inProgress: "inProgress";
|
|
7263
|
+
paused: "paused";
|
|
7264
|
+
resolved: "resolved";
|
|
7265
|
+
archived: "archived";
|
|
7266
|
+
}>;
|
|
7267
|
+
type: z.ZodEnum<{
|
|
7268
|
+
bug: "bug";
|
|
7269
|
+
maintenance: "maintenance";
|
|
7270
|
+
coverageRequest: "coverageRequest";
|
|
7271
|
+
}>;
|
|
7272
|
+
url: z.ZodURL;
|
|
7273
|
+
}, z.core.$strip>;
|
|
7274
|
+
}, z.core.$strip>;
|
|
7275
|
+
};
|
|
7276
|
+
attachFiles: {
|
|
7277
|
+
readonly annotationJustifications: {
|
|
7278
|
+
readonly destructiveHint: "Adds files to the bug report without removing or replacing the ones already attached.";
|
|
7279
|
+
readonly openWorldHint: "Copies files within QA Wolf storage without publishing anything outside QA Wolf.";
|
|
7280
|
+
readonly readOnlyHint: "Copies files from the team's storage and attaches the copies to a bug report.";
|
|
7281
|
+
};
|
|
7282
|
+
readonly annotations: {
|
|
7283
|
+
readonly destructiveHint: false;
|
|
7284
|
+
readonly openWorldHint: false;
|
|
7285
|
+
readonly readOnlyHint: false;
|
|
7286
|
+
};
|
|
7287
|
+
readonly description: string;
|
|
7288
|
+
readonly input: z.ZodObject<{
|
|
7289
|
+
filePaths: z.ZodArray<z.ZodString>;
|
|
7290
|
+
issueId: PublicIdSchema;
|
|
7291
|
+
}, z.core.$strip>;
|
|
7292
|
+
readonly kind: "write";
|
|
7293
|
+
readonly name: "issue.attachFiles";
|
|
7294
|
+
readonly output: z.ZodObject<{
|
|
7295
|
+
issue: z.ZodObject<{
|
|
7296
|
+
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7297
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
7298
|
+
description: z.ZodString;
|
|
7299
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7300
|
+
fileId: z.ZodString;
|
|
7301
|
+
name: z.ZodString;
|
|
7302
|
+
sizeBytes: z.ZodNumber;
|
|
7303
|
+
}, z.core.$strip>>>;
|
|
7082
7304
|
issueId: PublicIdSchema;
|
|
7083
7305
|
name: z.ZodString;
|
|
7084
7306
|
number: z.ZodNumber;
|
|
@@ -7127,6 +7349,7 @@ export declare const publicContractsV1: {
|
|
|
7127
7349
|
};
|
|
7128
7350
|
readonly description: string;
|
|
7129
7351
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7352
|
+
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7130
7353
|
type: z.ZodLiteral<"bug">;
|
|
7131
7354
|
description: z.ZodOptional<z.ZodString>;
|
|
7132
7355
|
name: z.ZodString;
|
|
@@ -7189,6 +7412,11 @@ export declare const publicContractsV1: {
|
|
|
7189
7412
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7190
7413
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7191
7414
|
description: z.ZodString;
|
|
7415
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7416
|
+
fileId: z.ZodString;
|
|
7417
|
+
name: z.ZodString;
|
|
7418
|
+
sizeBytes: z.ZodNumber;
|
|
7419
|
+
}, z.core.$strip>>>;
|
|
7192
7420
|
issueId: PublicIdSchema;
|
|
7193
7421
|
name: z.ZodString;
|
|
7194
7422
|
number: z.ZodNumber;
|
|
@@ -7258,6 +7486,11 @@ export declare const publicContractsV1: {
|
|
|
7258
7486
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7259
7487
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7260
7488
|
description: z.ZodString;
|
|
7489
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7490
|
+
fileId: z.ZodString;
|
|
7491
|
+
name: z.ZodString;
|
|
7492
|
+
sizeBytes: z.ZodNumber;
|
|
7493
|
+
}, z.core.$strip>>>;
|
|
7261
7494
|
issueId: PublicIdSchema;
|
|
7262
7495
|
name: z.ZodString;
|
|
7263
7496
|
number: z.ZodNumber;
|
|
@@ -7331,6 +7564,11 @@ export declare const publicContractsV1: {
|
|
|
7331
7564
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7332
7565
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7333
7566
|
description: z.ZodString;
|
|
7567
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7568
|
+
fileId: z.ZodString;
|
|
7569
|
+
name: z.ZodString;
|
|
7570
|
+
sizeBytes: z.ZodNumber;
|
|
7571
|
+
}, z.core.$strip>>>;
|
|
7334
7572
|
issueId: PublicIdSchema;
|
|
7335
7573
|
name: z.ZodString;
|
|
7336
7574
|
number: z.ZodNumber;
|
|
@@ -7389,6 +7627,11 @@ export declare const publicContractsV1: {
|
|
|
7389
7627
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7390
7628
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7391
7629
|
description: z.ZodString;
|
|
7630
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7631
|
+
fileId: z.ZodString;
|
|
7632
|
+
name: z.ZodString;
|
|
7633
|
+
sizeBytes: z.ZodNumber;
|
|
7634
|
+
}, z.core.$strip>>>;
|
|
7392
7635
|
issueId: PublicIdSchema;
|
|
7393
7636
|
name: z.ZodString;
|
|
7394
7637
|
number: z.ZodNumber;
|
|
@@ -7519,6 +7762,11 @@ export declare const publicContractsV1: {
|
|
|
7519
7762
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7520
7763
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7521
7764
|
description: z.ZodString;
|
|
7765
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7766
|
+
fileId: z.ZodString;
|
|
7767
|
+
name: z.ZodString;
|
|
7768
|
+
sizeBytes: z.ZodNumber;
|
|
7769
|
+
}, z.core.$strip>>>;
|
|
7522
7770
|
issueId: PublicIdSchema;
|
|
7523
7771
|
name: z.ZodString;
|
|
7524
7772
|
number: z.ZodNumber;
|
|
@@ -7594,6 +7842,11 @@ export declare const publicContractsV1: {
|
|
|
7594
7842
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7595
7843
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7596
7844
|
description: z.ZodString;
|
|
7845
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7846
|
+
fileId: z.ZodString;
|
|
7847
|
+
name: z.ZodString;
|
|
7848
|
+
sizeBytes: z.ZodNumber;
|
|
7849
|
+
}, z.core.$strip>>>;
|
|
7597
7850
|
issueId: PublicIdSchema;
|
|
7598
7851
|
name: z.ZodString;
|
|
7599
7852
|
number: z.ZodNumber;
|
|
@@ -8042,6 +8295,11 @@ export declare const publicContractsV1: {
|
|
|
8042
8295
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
8043
8296
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
8044
8297
|
description: z.ZodString;
|
|
8298
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8299
|
+
fileId: z.ZodString;
|
|
8300
|
+
name: z.ZodString;
|
|
8301
|
+
sizeBytes: z.ZodNumber;
|
|
8302
|
+
}, z.core.$strip>>>;
|
|
8045
8303
|
issueId: PublicIdSchema;
|
|
8046
8304
|
name: z.ZodString;
|
|
8047
8305
|
number: z.ZodNumber;
|
|
@@ -9193,7 +9451,7 @@ export declare const publicContractsV1: {
|
|
|
9193
9451
|
readonly openWorldHint: true;
|
|
9194
9452
|
readonly readOnlyHint: false;
|
|
9195
9453
|
};
|
|
9196
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one,
|
|
9454
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, whatever runnerName is sent, so read `runnerName` in the answer for what is running. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
9197
9455
|
readonly input: z.ZodObject<{
|
|
9198
9456
|
id: z.ZodString;
|
|
9199
9457
|
initialUrl: z.ZodOptional<z.ZodURL>;
|