@qawolf/api-contracts 0.142.0 → 0.144.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/deployment/find.d.ts +10 -1
- package/dist/v1/deployment/find.d.ts.map +1 -1
- package/dist/v1/deployment/find.js.map +1 -1
- package/dist/v1/deployment/index.d.ts +8 -0
- package/dist/v1/deployment/index.d.ts.map +1 -1
- package/dist/v1/deployment/resource.d.ts +10 -1
- package/dist/v1/deployment/resource.d.ts.map +1 -1
- package/dist/v1/deployment/resource.js +19 -0
- package/dist/v1/deployment/resource.js.map +1 -1
- package/dist/v1/index.d.ts +462 -8
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/runner/catalog.d.ts +4 -4
- package/dist/v1/runner/evaluateSnippet.d.ts +1 -1
- package/dist/v1/runner/evaluateSnippet.d.ts.map +1 -1
- package/dist/v1/runner/highlightSelector.d.ts +1 -1
- package/dist/v1/runner/highlightSelector.d.ts.map +1 -1
- package/dist/v1/runner/performActions.d.ts +1 -1
- package/dist/v1/runner/performActions.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.d.ts +1 -1
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +225 -1
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/index.js +6 -0
- package/dist/v1/trigger/index.js.map +1 -1
- package/dist/v1/trigger/listFirings.d.ts +45 -0
- package/dist/v1/trigger/listFirings.d.ts.map +1 -0
- package/dist/v1/trigger/listFirings.js +65 -0
- package/dist/v1/trigger/listFirings.js.map +1 -0
- package/dist/v1/trigger/runNow.d.ts +191 -0
- package/dist/v1/trigger/runNow.d.ts.map +1 -0
- package/dist/v1/trigger/runNow.js +38 -0
- package/dist/v1/trigger/runNow.js.map +1 -0
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -768,6 +768,13 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
768
768
|
deployTarget: z.ZodOptional<z.ZodString>;
|
|
769
769
|
environmentId: EnvironmentId;
|
|
770
770
|
environmentName: z.ZodOptional<z.ZodString>;
|
|
771
|
+
environmentVariables: z.ZodOptional<z.ZodObject<{
|
|
772
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
773
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
774
|
+
name: z.ZodString;
|
|
775
|
+
value: z.ZodString;
|
|
776
|
+
}, z.core.$strip>>;
|
|
777
|
+
}, z.core.$strip>>;
|
|
771
778
|
id: DeploymentId;
|
|
772
779
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
773
780
|
api: "api";
|
|
@@ -775,6 +782,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
775
782
|
gitlab: "gitlab";
|
|
776
783
|
}>>;
|
|
777
784
|
repository: z.ZodOptional<z.ZodString>;
|
|
785
|
+
runIds: z.ZodArray<RunId>;
|
|
778
786
|
service: z.ZodOptional<z.ZodString>;
|
|
779
787
|
status: z.ZodOptional<z.ZodEnum<{
|
|
780
788
|
failure: "failure";
|
|
@@ -4611,7 +4619,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4611
4619
|
readonly openWorldHint: true;
|
|
4612
4620
|
readonly readOnlyHint: false;
|
|
4613
4621
|
};
|
|
4614
|
-
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw
|
|
4622
|
+
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw — not the value it evaluated to, so read anything you want back out of the runner's journal (a snippet's `console.log` lands in the `console` stream). A snippet starts no run and leaves no run-scoped journal entries of its own. `runner-cannot-evaluate-snippets` on a runner with nothing attached to serve one — which will never clear, so check that the runner you launched is one that runs a browser or app before retrying. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Neither is proof the snippet did not run: a snippet that outlives the answer window is still executing when you read this, so do not blindly resubmit one that mutates what the page is looking at.";
|
|
4615
4623
|
readonly input: z.ZodObject<{
|
|
4616
4624
|
code: z.ZodString;
|
|
4617
4625
|
filePath: z.ZodOptional<z.ZodString>;
|
|
@@ -4677,7 +4685,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4677
4685
|
readonly openWorldHint: false;
|
|
4678
4686
|
readonly readOnlyHint: false;
|
|
4679
4687
|
};
|
|
4680
|
-
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot`
|
|
4688
|
+
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot` — which is the point, since a caller cannot see the runner's screen otherwise. Send an empty selector to clear, which answers `cleared`. `status` tells a selector that matched nothing (`empty`) from one the page could not parse (`invalid`), so a caller can tell a bad locator from a locator pointing at nothing. `no-answer` if the page did not answer in time: the highlight runs inside the page, so a page that is gone or mid-navigation does not answer slowly, it does not answer at all. `runner-cannot-highlight-selectors` on a runner with no browser to draw on. `runner-unreachable` if the runner could not be reached: it may still be starting, or it may have terminated after inactivity.";
|
|
4681
4689
|
readonly input: z.ZodObject<{
|
|
4682
4690
|
id: z.ZodString;
|
|
4683
4691
|
selector: z.ZodString;
|
|
@@ -5193,7 +5201,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5193
5201
|
readonly openWorldHint: true;
|
|
5194
5202
|
readonly readOnlyHint: false;
|
|
5195
5203
|
};
|
|
5196
|
-
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect
|
|
5204
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile or Windows runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
5197
5205
|
readonly input: z.ZodObject<{
|
|
5198
5206
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5199
5207
|
button: z.ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
|
|
@@ -5422,7 +5430,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5422
5430
|
readonly openWorldHint: true;
|
|
5423
5431
|
readonly readOnlyHint: false;
|
|
5424
5432
|
};
|
|
5425
|
-
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by
|
|
5433
|
+
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by — nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
5426
5434
|
readonly input: z.ZodObject<{
|
|
5427
5435
|
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5428
5436
|
entryPointPath: z.ZodString;
|
|
@@ -6540,6 +6548,42 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
6540
6548
|
}, z.core.$strip>;
|
|
6541
6549
|
}, z.core.$strip>;
|
|
6542
6550
|
};
|
|
6551
|
+
listFirings: {
|
|
6552
|
+
readonly annotationJustifications: {
|
|
6553
|
+
readonly destructiveHint: "Does not modify the trigger, its runs or its sessions.";
|
|
6554
|
+
readonly openWorldHint: "Reads private QA Wolf trigger history without changing external systems.";
|
|
6555
|
+
readonly readOnlyHint: "Lists when one authorized trigger fired and what each firing started.";
|
|
6556
|
+
};
|
|
6557
|
+
readonly annotations: {
|
|
6558
|
+
readonly destructiveHint: false;
|
|
6559
|
+
readonly openWorldHint: false;
|
|
6560
|
+
readonly readOnlyHint: true;
|
|
6561
|
+
};
|
|
6562
|
+
readonly description: string;
|
|
6563
|
+
readonly input: z.ZodObject<{
|
|
6564
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6565
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6566
|
+
triggerId: TriggerId;
|
|
6567
|
+
}, z.core.$strip>;
|
|
6568
|
+
readonly kind: "read";
|
|
6569
|
+
readonly name: "trigger.listFirings";
|
|
6570
|
+
readonly output: z.ZodObject<{
|
|
6571
|
+
firings: z.ZodArray<z.ZodObject<{
|
|
6572
|
+
deploymentId: z.ZodOptional<DeploymentId>;
|
|
6573
|
+
environmentId: z.ZodOptional<EnvironmentId>;
|
|
6574
|
+
firedAt: z.ZodISODateTime;
|
|
6575
|
+
id: z.ZodString;
|
|
6576
|
+
occasion: z.ZodString;
|
|
6577
|
+
outcome: z.ZodString;
|
|
6578
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6579
|
+
runId: z.ZodOptional<RunId>;
|
|
6580
|
+
sessionId: z.ZodOptional<ChatSessionId>;
|
|
6581
|
+
sessionStatus: z.ZodOptional<z.ZodString>;
|
|
6582
|
+
startedBy: z.ZodOptional<z.ZodString>;
|
|
6583
|
+
}, z.core.$strip>>;
|
|
6584
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
6585
|
+
}, z.core.$strip>;
|
|
6586
|
+
};
|
|
6543
6587
|
pause: {
|
|
6544
6588
|
readonly annotationJustifications: {
|
|
6545
6589
|
readonly destructiveHint: "Disables future automatic execution for the selected trigger until it is resumed.";
|
|
@@ -6902,6 +6946,189 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
6902
6946
|
}, z.core.$strip>;
|
|
6903
6947
|
}, z.core.$strip>;
|
|
6904
6948
|
};
|
|
6949
|
+
runNow: {
|
|
6950
|
+
readonly annotationJustifications: {
|
|
6951
|
+
readonly destructiveHint: "Starts the trigger's action, which can run tests that change or delete application data.";
|
|
6952
|
+
readonly openWorldHint: "The firing can start test runs or a QA Wolf session against external applications.";
|
|
6953
|
+
readonly readOnlyHint: "Fires the trigger once, starting its runs or its QA Wolf session.";
|
|
6954
|
+
};
|
|
6955
|
+
readonly annotations: {
|
|
6956
|
+
readonly destructiveHint: true;
|
|
6957
|
+
readonly openWorldHint: true;
|
|
6958
|
+
readonly readOnlyHint: false;
|
|
6959
|
+
};
|
|
6960
|
+
readonly description: string;
|
|
6961
|
+
readonly input: z.ZodObject<{
|
|
6962
|
+
deploymentId: z.ZodOptional<DeploymentId>;
|
|
6963
|
+
requestId: z.ZodString;
|
|
6964
|
+
triggerId: TriggerId;
|
|
6965
|
+
}, z.core.$strip>;
|
|
6966
|
+
readonly kind: "write";
|
|
6967
|
+
readonly name: "trigger.runNow";
|
|
6968
|
+
readonly output: z.ZodObject<{
|
|
6969
|
+
trigger: z.ZodObject<{
|
|
6970
|
+
url: z.ZodURL;
|
|
6971
|
+
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6972
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
6973
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
6974
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
6975
|
+
action: z.ZodObject<{
|
|
6976
|
+
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
6977
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
6978
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
6979
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
6980
|
+
createSuite: "createSuite";
|
|
6981
|
+
generativeSuite: "generativeSuite";
|
|
6982
|
+
}>>;
|
|
6983
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
6984
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
6985
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6986
|
+
}, z.core.$strip>;
|
|
6987
|
+
cadence: z.ZodEnum<{
|
|
6988
|
+
daily: "daily";
|
|
6989
|
+
hourly: "hourly";
|
|
6990
|
+
monthly: "monthly";
|
|
6991
|
+
weekly: "weekly";
|
|
6992
|
+
}>;
|
|
6993
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
6994
|
+
friday: "friday";
|
|
6995
|
+
monday: "monday";
|
|
6996
|
+
saturday: "saturday";
|
|
6997
|
+
sunday: "sunday";
|
|
6998
|
+
thursday: "thursday";
|
|
6999
|
+
tuesday: "tuesday";
|
|
7000
|
+
wednesday: "wednesday";
|
|
7001
|
+
}>>;
|
|
7002
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7003
|
+
friday: "friday";
|
|
7004
|
+
monday: "monday";
|
|
7005
|
+
saturday: "saturday";
|
|
7006
|
+
sunday: "sunday";
|
|
7007
|
+
thursday: "thursday";
|
|
7008
|
+
tuesday: "tuesday";
|
|
7009
|
+
wednesday: "wednesday";
|
|
7010
|
+
}>>>;
|
|
7011
|
+
environmentId: EnvironmentId;
|
|
7012
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
7013
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
7014
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
7015
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
7016
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
7017
|
+
startTime: z.ZodString;
|
|
7018
|
+
}, z.core.$strip>>;
|
|
7019
|
+
kind: z.ZodLiteral<"schedule">;
|
|
7020
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7021
|
+
action: z.ZodObject<{
|
|
7022
|
+
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
7023
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
7024
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
7025
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
7026
|
+
createSuite: "createSuite";
|
|
7027
|
+
generativeSuite: "generativeSuite";
|
|
7028
|
+
}>>;
|
|
7029
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
7030
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
7031
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7032
|
+
}, z.core.$strip>;
|
|
7033
|
+
branchPattern: z.ZodOptional<z.ZodString>;
|
|
7034
|
+
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
7035
|
+
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
7036
|
+
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
7037
|
+
repositoryPattern: z.ZodOptional<z.ZodString>;
|
|
7038
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
7039
|
+
kind: z.ZodLiteral<"deployment">;
|
|
7040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7041
|
+
actionCount: z.ZodNumber;
|
|
7042
|
+
kind: z.ZodLiteral<"advanced">;
|
|
7043
|
+
whenCount: z.ZodNumber;
|
|
7044
|
+
}, z.core.$strip>], "kind">;
|
|
7045
|
+
createdAt: z.ZodISODateTime;
|
|
7046
|
+
definition: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
7047
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
7048
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
7049
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
7050
|
+
action: z.ZodObject<{
|
|
7051
|
+
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
7052
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
7053
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
7054
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
7055
|
+
createSuite: "createSuite";
|
|
7056
|
+
generativeSuite: "generativeSuite";
|
|
7057
|
+
startAgent: "startAgent";
|
|
7058
|
+
}>>;
|
|
7059
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
7060
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
7061
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7062
|
+
}, z.core.$strip>;
|
|
7063
|
+
cadence: z.ZodEnum<{
|
|
7064
|
+
daily: "daily";
|
|
7065
|
+
hourly: "hourly";
|
|
7066
|
+
monthly: "monthly";
|
|
7067
|
+
weekly: "weekly";
|
|
7068
|
+
}>;
|
|
7069
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
7070
|
+
friday: "friday";
|
|
7071
|
+
monday: "monday";
|
|
7072
|
+
saturday: "saturday";
|
|
7073
|
+
sunday: "sunday";
|
|
7074
|
+
thursday: "thursday";
|
|
7075
|
+
tuesday: "tuesday";
|
|
7076
|
+
wednesday: "wednesday";
|
|
7077
|
+
}>>;
|
|
7078
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7079
|
+
friday: "friday";
|
|
7080
|
+
monday: "monday";
|
|
7081
|
+
saturday: "saturday";
|
|
7082
|
+
sunday: "sunday";
|
|
7083
|
+
thursday: "thursday";
|
|
7084
|
+
tuesday: "tuesday";
|
|
7085
|
+
wednesday: "wednesday";
|
|
7086
|
+
}>>>;
|
|
7087
|
+
environmentId: EnvironmentId;
|
|
7088
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
7089
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
7090
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
7091
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
7092
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
7093
|
+
startTime: z.ZodString;
|
|
7094
|
+
}, z.core.$strip>>;
|
|
7095
|
+
kind: z.ZodLiteral<"schedule">;
|
|
7096
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7097
|
+
action: z.ZodObject<{
|
|
7098
|
+
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
7099
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
7100
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
7101
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
7102
|
+
createSuite: "createSuite";
|
|
7103
|
+
generativeSuite: "generativeSuite";
|
|
7104
|
+
startAgent: "startAgent";
|
|
7105
|
+
}>>;
|
|
7106
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
7107
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
7108
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7109
|
+
}, z.core.$strip>;
|
|
7110
|
+
branchPattern: z.ZodOptional<z.ZodString>;
|
|
7111
|
+
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
7112
|
+
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
7113
|
+
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
7114
|
+
repositoryPattern: z.ZodOptional<z.ZodString>;
|
|
7115
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
7116
|
+
kind: z.ZodLiteral<"deployment">;
|
|
7117
|
+
}, z.core.$strip>], "kind">>>;
|
|
7118
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7119
|
+
id: TriggerId;
|
|
7120
|
+
isPaused: z.ZodBoolean;
|
|
7121
|
+
name: z.ZodString;
|
|
7122
|
+
nextScheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7123
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
7124
|
+
pausedReason: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
7125
|
+
"no-owner": "no-owner";
|
|
7126
|
+
"owner-left-team": "owner-left-team";
|
|
7127
|
+
}>>>;
|
|
7128
|
+
updatedAt: z.ZodISODateTime;
|
|
7129
|
+
}, z.core.$strip>;
|
|
7130
|
+
}, z.core.$strip>;
|
|
7131
|
+
};
|
|
6905
7132
|
update: {
|
|
6906
7133
|
readonly annotationJustifications: {
|
|
6907
7134
|
readonly destructiveHint: "Overwrites trigger configuration and can enable tests that change or delete application data.";
|
|
@@ -7993,6 +8220,13 @@ export declare const publicContractsV1: {
|
|
|
7993
8220
|
deployTarget: z.ZodOptional<z.ZodString>;
|
|
7994
8221
|
environmentId: PublicIdSchema;
|
|
7995
8222
|
environmentName: z.ZodOptional<z.ZodString>;
|
|
8223
|
+
environmentVariables: z.ZodOptional<z.ZodObject<{
|
|
8224
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
8225
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
8226
|
+
name: z.ZodString;
|
|
8227
|
+
value: z.ZodString;
|
|
8228
|
+
}, z.core.$strip>>;
|
|
8229
|
+
}, z.core.$strip>>;
|
|
7996
8230
|
id: PublicIdSchema;
|
|
7997
8231
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
7998
8232
|
api: "api";
|
|
@@ -8000,6 +8234,7 @@ export declare const publicContractsV1: {
|
|
|
8000
8234
|
gitlab: "gitlab";
|
|
8001
8235
|
}>>;
|
|
8002
8236
|
repository: z.ZodOptional<z.ZodString>;
|
|
8237
|
+
runIds: z.ZodArray<PublicIdSchema>;
|
|
8003
8238
|
service: z.ZodOptional<z.ZodString>;
|
|
8004
8239
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8005
8240
|
failure: "failure";
|
|
@@ -11836,7 +12071,7 @@ export declare const publicContractsV1: {
|
|
|
11836
12071
|
readonly openWorldHint: true;
|
|
11837
12072
|
readonly readOnlyHint: false;
|
|
11838
12073
|
};
|
|
11839
|
-
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw
|
|
12074
|
+
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw — not the value it evaluated to, so read anything you want back out of the runner's journal (a snippet's `console.log` lands in the `console` stream). A snippet starts no run and leaves no run-scoped journal entries of its own. `runner-cannot-evaluate-snippets` on a runner with nothing attached to serve one — which will never clear, so check that the runner you launched is one that runs a browser or app before retrying. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Neither is proof the snippet did not run: a snippet that outlives the answer window is still executing when you read this, so do not blindly resubmit one that mutates what the page is looking at.";
|
|
11840
12075
|
readonly input: z.ZodObject<{
|
|
11841
12076
|
code: z.ZodString;
|
|
11842
12077
|
filePath: z.ZodOptional<z.ZodString>;
|
|
@@ -11902,7 +12137,7 @@ export declare const publicContractsV1: {
|
|
|
11902
12137
|
readonly openWorldHint: false;
|
|
11903
12138
|
readonly readOnlyHint: false;
|
|
11904
12139
|
};
|
|
11905
|
-
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot`
|
|
12140
|
+
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot` — which is the point, since a caller cannot see the runner's screen otherwise. Send an empty selector to clear, which answers `cleared`. `status` tells a selector that matched nothing (`empty`) from one the page could not parse (`invalid`), so a caller can tell a bad locator from a locator pointing at nothing. `no-answer` if the page did not answer in time: the highlight runs inside the page, so a page that is gone or mid-navigation does not answer slowly, it does not answer at all. `runner-cannot-highlight-selectors` on a runner with no browser to draw on. `runner-unreachable` if the runner could not be reached: it may still be starting, or it may have terminated after inactivity.";
|
|
11906
12141
|
readonly input: z.ZodObject<{
|
|
11907
12142
|
id: z.ZodString;
|
|
11908
12143
|
selector: z.ZodString;
|
|
@@ -12418,7 +12653,7 @@ export declare const publicContractsV1: {
|
|
|
12418
12653
|
readonly openWorldHint: true;
|
|
12419
12654
|
readonly readOnlyHint: false;
|
|
12420
12655
|
};
|
|
12421
|
-
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect
|
|
12656
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile or Windows runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
12422
12657
|
readonly input: z.ZodObject<{
|
|
12423
12658
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12424
12659
|
button: z.ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
|
|
@@ -12647,7 +12882,7 @@ export declare const publicContractsV1: {
|
|
|
12647
12882
|
readonly openWorldHint: true;
|
|
12648
12883
|
readonly readOnlyHint: false;
|
|
12649
12884
|
};
|
|
12650
|
-
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by
|
|
12885
|
+
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by — nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
12651
12886
|
readonly input: z.ZodObject<{
|
|
12652
12887
|
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12653
12888
|
entryPointPath: z.ZodString;
|
|
@@ -13765,6 +14000,42 @@ export declare const publicContractsV1: {
|
|
|
13765
14000
|
}, z.core.$strip>;
|
|
13766
14001
|
}, z.core.$strip>;
|
|
13767
14002
|
};
|
|
14003
|
+
listFirings: {
|
|
14004
|
+
readonly annotationJustifications: {
|
|
14005
|
+
readonly destructiveHint: "Does not modify the trigger, its runs or its sessions.";
|
|
14006
|
+
readonly openWorldHint: "Reads private QA Wolf trigger history without changing external systems.";
|
|
14007
|
+
readonly readOnlyHint: "Lists when one authorized trigger fired and what each firing started.";
|
|
14008
|
+
};
|
|
14009
|
+
readonly annotations: {
|
|
14010
|
+
readonly destructiveHint: false;
|
|
14011
|
+
readonly openWorldHint: false;
|
|
14012
|
+
readonly readOnlyHint: true;
|
|
14013
|
+
};
|
|
14014
|
+
readonly description: string;
|
|
14015
|
+
readonly input: z.ZodObject<{
|
|
14016
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
14017
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
14018
|
+
triggerId: PublicIdSchema;
|
|
14019
|
+
}, z.core.$strip>;
|
|
14020
|
+
readonly kind: "read";
|
|
14021
|
+
readonly name: "trigger.listFirings";
|
|
14022
|
+
readonly output: z.ZodObject<{
|
|
14023
|
+
firings: z.ZodArray<z.ZodObject<{
|
|
14024
|
+
deploymentId: z.ZodOptional<PublicIdSchema>;
|
|
14025
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
14026
|
+
firedAt: z.ZodISODateTime;
|
|
14027
|
+
id: z.ZodString;
|
|
14028
|
+
occasion: z.ZodString;
|
|
14029
|
+
outcome: z.ZodString;
|
|
14030
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
14031
|
+
runId: z.ZodOptional<PublicIdSchema>;
|
|
14032
|
+
sessionId: z.ZodOptional<PublicIdSchema>;
|
|
14033
|
+
sessionStatus: z.ZodOptional<z.ZodString>;
|
|
14034
|
+
startedBy: z.ZodOptional<z.ZodString>;
|
|
14035
|
+
}, z.core.$strip>>;
|
|
14036
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
14037
|
+
}, z.core.$strip>;
|
|
14038
|
+
};
|
|
13768
14039
|
pause: {
|
|
13769
14040
|
readonly annotationJustifications: {
|
|
13770
14041
|
readonly destructiveHint: "Disables future automatic execution for the selected trigger until it is resumed.";
|
|
@@ -14127,6 +14398,189 @@ export declare const publicContractsV1: {
|
|
|
14127
14398
|
}, z.core.$strip>;
|
|
14128
14399
|
}, z.core.$strip>;
|
|
14129
14400
|
};
|
|
14401
|
+
runNow: {
|
|
14402
|
+
readonly annotationJustifications: {
|
|
14403
|
+
readonly destructiveHint: "Starts the trigger's action, which can run tests that change or delete application data.";
|
|
14404
|
+
readonly openWorldHint: "The firing can start test runs or a QA Wolf session against external applications.";
|
|
14405
|
+
readonly readOnlyHint: "Fires the trigger once, starting its runs or its QA Wolf session.";
|
|
14406
|
+
};
|
|
14407
|
+
readonly annotations: {
|
|
14408
|
+
readonly destructiveHint: true;
|
|
14409
|
+
readonly openWorldHint: true;
|
|
14410
|
+
readonly readOnlyHint: false;
|
|
14411
|
+
};
|
|
14412
|
+
readonly description: string;
|
|
14413
|
+
readonly input: z.ZodObject<{
|
|
14414
|
+
deploymentId: z.ZodOptional<PublicIdSchema>;
|
|
14415
|
+
requestId: z.ZodString;
|
|
14416
|
+
triggerId: PublicIdSchema;
|
|
14417
|
+
}, z.core.$strip>;
|
|
14418
|
+
readonly kind: "write";
|
|
14419
|
+
readonly name: "trigger.runNow";
|
|
14420
|
+
readonly output: z.ZodObject<{
|
|
14421
|
+
trigger: z.ZodObject<{
|
|
14422
|
+
url: z.ZodURL;
|
|
14423
|
+
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14424
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
14425
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
14426
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
14427
|
+
action: z.ZodObject<{
|
|
14428
|
+
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14429
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
14430
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
14431
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
14432
|
+
createSuite: "createSuite";
|
|
14433
|
+
generativeSuite: "generativeSuite";
|
|
14434
|
+
}>>;
|
|
14435
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
14436
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
14437
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14438
|
+
}, z.core.$strip>;
|
|
14439
|
+
cadence: z.ZodEnum<{
|
|
14440
|
+
daily: "daily";
|
|
14441
|
+
hourly: "hourly";
|
|
14442
|
+
monthly: "monthly";
|
|
14443
|
+
weekly: "weekly";
|
|
14444
|
+
}>;
|
|
14445
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
14446
|
+
friday: "friday";
|
|
14447
|
+
monday: "monday";
|
|
14448
|
+
saturday: "saturday";
|
|
14449
|
+
sunday: "sunday";
|
|
14450
|
+
thursday: "thursday";
|
|
14451
|
+
tuesday: "tuesday";
|
|
14452
|
+
wednesday: "wednesday";
|
|
14453
|
+
}>>;
|
|
14454
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14455
|
+
friday: "friday";
|
|
14456
|
+
monday: "monday";
|
|
14457
|
+
saturday: "saturday";
|
|
14458
|
+
sunday: "sunday";
|
|
14459
|
+
thursday: "thursday";
|
|
14460
|
+
tuesday: "tuesday";
|
|
14461
|
+
wednesday: "wednesday";
|
|
14462
|
+
}>>>;
|
|
14463
|
+
environmentId: PublicIdSchema;
|
|
14464
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
14465
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
14466
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
14467
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
14468
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
14469
|
+
startTime: z.ZodString;
|
|
14470
|
+
}, z.core.$strip>>;
|
|
14471
|
+
kind: z.ZodLiteral<"schedule">;
|
|
14472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14473
|
+
action: z.ZodObject<{
|
|
14474
|
+
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14475
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
14476
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
14477
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
14478
|
+
createSuite: "createSuite";
|
|
14479
|
+
generativeSuite: "generativeSuite";
|
|
14480
|
+
}>>;
|
|
14481
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
14482
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
14483
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14484
|
+
}, z.core.$strip>;
|
|
14485
|
+
branchPattern: z.ZodOptional<z.ZodString>;
|
|
14486
|
+
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
14487
|
+
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14488
|
+
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
14489
|
+
repositoryPattern: z.ZodOptional<z.ZodString>;
|
|
14490
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
14491
|
+
kind: z.ZodLiteral<"deployment">;
|
|
14492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14493
|
+
actionCount: z.ZodNumber;
|
|
14494
|
+
kind: z.ZodLiteral<"advanced">;
|
|
14495
|
+
whenCount: z.ZodNumber;
|
|
14496
|
+
}, z.core.$strip>], "kind">;
|
|
14497
|
+
createdAt: z.ZodISODateTime;
|
|
14498
|
+
definition: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
14499
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
14500
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
14501
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
14502
|
+
action: z.ZodObject<{
|
|
14503
|
+
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14504
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
14505
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
14506
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
14507
|
+
createSuite: "createSuite";
|
|
14508
|
+
generativeSuite: "generativeSuite";
|
|
14509
|
+
startAgent: "startAgent";
|
|
14510
|
+
}>>;
|
|
14511
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
14512
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
14513
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14514
|
+
}, z.core.$strip>;
|
|
14515
|
+
cadence: z.ZodEnum<{
|
|
14516
|
+
daily: "daily";
|
|
14517
|
+
hourly: "hourly";
|
|
14518
|
+
monthly: "monthly";
|
|
14519
|
+
weekly: "weekly";
|
|
14520
|
+
}>;
|
|
14521
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
14522
|
+
friday: "friday";
|
|
14523
|
+
monday: "monday";
|
|
14524
|
+
saturday: "saturday";
|
|
14525
|
+
sunday: "sunday";
|
|
14526
|
+
thursday: "thursday";
|
|
14527
|
+
tuesday: "tuesday";
|
|
14528
|
+
wednesday: "wednesday";
|
|
14529
|
+
}>>;
|
|
14530
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14531
|
+
friday: "friday";
|
|
14532
|
+
monday: "monday";
|
|
14533
|
+
saturday: "saturday";
|
|
14534
|
+
sunday: "sunday";
|
|
14535
|
+
thursday: "thursday";
|
|
14536
|
+
tuesday: "tuesday";
|
|
14537
|
+
wednesday: "wednesday";
|
|
14538
|
+
}>>>;
|
|
14539
|
+
environmentId: PublicIdSchema;
|
|
14540
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
14541
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
14542
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
14543
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
14544
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
14545
|
+
startTime: z.ZodString;
|
|
14546
|
+
}, z.core.$strip>>;
|
|
14547
|
+
kind: z.ZodLiteral<"schedule">;
|
|
14548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14549
|
+
action: z.ZodObject<{
|
|
14550
|
+
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14551
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
14552
|
+
investigateFailures: z.ZodOptional<z.ZodBoolean>;
|
|
14553
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
14554
|
+
createSuite: "createSuite";
|
|
14555
|
+
generativeSuite: "generativeSuite";
|
|
14556
|
+
startAgent: "startAgent";
|
|
14557
|
+
}>>;
|
|
14558
|
+
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
14559
|
+
suggestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
14560
|
+
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14561
|
+
}, z.core.$strip>;
|
|
14562
|
+
branchPattern: z.ZodOptional<z.ZodString>;
|
|
14563
|
+
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
14564
|
+
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
14565
|
+
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
14566
|
+
repositoryPattern: z.ZodOptional<z.ZodString>;
|
|
14567
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
14568
|
+
kind: z.ZodLiteral<"deployment">;
|
|
14569
|
+
}, z.core.$strip>], "kind">>>;
|
|
14570
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14571
|
+
id: PublicIdSchema;
|
|
14572
|
+
isPaused: z.ZodBoolean;
|
|
14573
|
+
name: z.ZodString;
|
|
14574
|
+
nextScheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
14575
|
+
pausedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
14576
|
+
pausedReason: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
14577
|
+
"no-owner": "no-owner";
|
|
14578
|
+
"owner-left-team": "owner-left-team";
|
|
14579
|
+
}>>>;
|
|
14580
|
+
updatedAt: z.ZodISODateTime;
|
|
14581
|
+
}, z.core.$strip>;
|
|
14582
|
+
}, z.core.$strip>;
|
|
14583
|
+
};
|
|
14130
14584
|
update: {
|
|
14131
14585
|
readonly annotationJustifications: {
|
|
14132
14586
|
readonly destructiveHint: "Overwrites trigger configuration and can enable tests that change or delete application data.";
|