@qawolf/api-contracts 0.109.0 → 0.116.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/activity/wait.d.ts +72 -0
- package/dist/v1/activity/wait.d.ts.map +1 -0
- package/dist/v1/activity/wait.js +89 -0
- package/dist/v1/activity/wait.js.map +1 -0
- package/dist/v1/agent/send.d.ts +1 -0
- package/dist/v1/agent/send.d.ts.map +1 -1
- package/dist/v1/agent/send.js +7 -0
- package/dist/v1/agent/send.js.map +1 -1
- package/dist/v1/file/requestUpload.js +1 -1
- package/dist/v1/file/requestUpload.js.map +1 -1
- package/dist/v1/index.d.ts +312 -50
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +4 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +1 -1
- package/dist/v1/investigation/index.d.ts +31 -1
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/investigation/question/answer.d.ts +36 -0
- package/dist/v1/investigation/question/answer.d.ts.map +1 -0
- package/dist/v1/investigation/question/answer.js +65 -0
- package/dist/v1/investigation/question/answer.js.map +1 -0
- package/dist/v1/investigation/question/find.js +2 -2
- package/dist/v1/investigation/question/find.js.map +1 -1
- package/dist/v1/investigation/question/index.d.ts +30 -0
- package/dist/v1/investigation/question/index.d.ts.map +1 -1
- package/dist/v1/investigation/question/index.js +2 -0
- package/dist/v1/investigation/question/index.js.map +1 -1
- package/dist/v1/issue/create.d.ts.map +1 -1
- package/dist/v1/issue/create.js +3 -5
- package/dist/v1/issue/create.js.map +1 -1
- package/dist/v1/issue/description.d.ts +4 -0
- package/dist/v1/issue/description.d.ts.map +1 -0
- package/dist/v1/issue/description.js +9 -0
- package/dist/v1/issue/description.js.map +1 -0
- package/dist/v1/issue/index.d.ts.map +1 -1
- package/dist/v1/issue/index.js +3 -7
- package/dist/v1/issue/index.js.map +1 -1
- package/dist/v1/issue/update.d.ts.map +1 -1
- package/dist/v1/issue/update.js +2 -3
- package/dist/v1/issue/update.js.map +1 -1
- package/dist/v1/legacyTrigger/resource.js +2 -2
- package/dist/v1/runner/catalog.d.ts +1 -0
- package/dist/v1/runner/catalog.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.d.ts +1 -0
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.js +7 -0
- package/dist/v1/runner/runFlow.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +2 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +2 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/dist/v1/trigger/configuration.d.ts +8 -3
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +4 -2
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/configurationRules.d.ts +4 -1
- package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
- package/dist/v1/trigger/configurationRules.js +17 -6
- package/dist/v1/trigger/configurationRules.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +14 -6
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/find.d.ts +7 -3
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +7 -3
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +56 -24
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +14 -6
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +7 -3
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/scheduleRepeatFields.d.ts +12 -0
- package/dist/v1/trigger/scheduleRepeatFields.d.ts.map +1 -0
- package/dist/v1/trigger/scheduleRepeatFields.js +27 -0
- package/dist/v1/trigger/scheduleRepeatFields.js.map +1 -0
- package/dist/v1/trigger/scheduleRepeatRules.d.ts +17 -0
- package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -0
- package/dist/v1/trigger/scheduleRepeatRules.js +78 -0
- package/dist/v1/trigger/scheduleRepeatRules.js.map +1 -0
- package/dist/v1/trigger/update.d.ts +14 -6
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -15,6 +15,73 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
15
15
|
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt"> & {
|
|
16
16
|
runAttempt?: RunAttemptId;
|
|
17
17
|
}) => {
|
|
18
|
+
activity: {
|
|
19
|
+
wait: {
|
|
20
|
+
readonly annotationJustifications: {
|
|
21
|
+
readonly destructiveHint: "Does not cancel work, stop runs or edit tests.";
|
|
22
|
+
readonly openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.";
|
|
23
|
+
readonly readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.";
|
|
24
|
+
};
|
|
25
|
+
readonly annotations: {
|
|
26
|
+
readonly destructiveHint: false;
|
|
27
|
+
readonly openWorldHint: false;
|
|
28
|
+
readonly readOnlyHint: true;
|
|
29
|
+
};
|
|
30
|
+
readonly description: "Wait on many QA Wolf AI (Tester) sessions and runs in one call. Pass every Tester session and run you are waiting on. The call returns as soon as any session replies or changes status or any run finishes, and reports every item with news. Send back open as the next call's input, and call again as soon as it returns. Pass waitSeconds above 45 only when your instructions say your client keeps the call open while progress arrives.";
|
|
31
|
+
readonly input: z.ZodObject<{
|
|
32
|
+
cursors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
33
|
+
runIds: z.ZodOptional<z.ZodArray<RunId>>;
|
|
34
|
+
sessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
35
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
readonly kind: "read";
|
|
38
|
+
readonly name: "activity.wait";
|
|
39
|
+
readonly output: z.ZodObject<{
|
|
40
|
+
open: z.ZodObject<{
|
|
41
|
+
cursors: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
42
|
+
runIds: z.ZodArray<RunId>;
|
|
43
|
+
sessionIds: z.ZodArray<ChatSessionId>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
46
|
+
finished: z.ZodBoolean;
|
|
47
|
+
runId: RunId;
|
|
48
|
+
status: z.ZodEnum<{
|
|
49
|
+
failed: "failed";
|
|
50
|
+
queued: "queued";
|
|
51
|
+
running: "running";
|
|
52
|
+
passed: "passed";
|
|
53
|
+
canceled: "canceled";
|
|
54
|
+
superseded: "superseded";
|
|
55
|
+
"not-found": "not-found";
|
|
56
|
+
}>;
|
|
57
|
+
url: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
60
|
+
nextCursor: z.ZodString;
|
|
61
|
+
replies: z.ZodArray<z.ZodObject<{
|
|
62
|
+
askedAt: z.ZodISODateTime;
|
|
63
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
text: z.ZodString;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
sessionId: ChatSessionId;
|
|
68
|
+
status: z.ZodEnum<{
|
|
69
|
+
working: "working";
|
|
70
|
+
"waiting-for-you": "waiting-for-you";
|
|
71
|
+
completed: "completed";
|
|
72
|
+
failed: "failed";
|
|
73
|
+
cancelled: "cancelled";
|
|
74
|
+
"not-found": "not-found";
|
|
75
|
+
}>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
waitSeconds: z.ZodNumber;
|
|
78
|
+
wokeOn: z.ZodEnum<{
|
|
79
|
+
timeout: "timeout";
|
|
80
|
+
activity: "activity";
|
|
81
|
+
}>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
18
85
|
agent: {
|
|
19
86
|
get: {
|
|
20
87
|
readonly annotationJustifications: {
|
|
@@ -73,6 +140,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
73
140
|
};
|
|
74
141
|
readonly description: "Start or continue work with the QA Wolf AI and return a live session URL to share with the user. Use it to cover a user journey, investigate a failing run, or fix a broken flow. This is the one verb that starts work from nothing: every other write acts on a flow, run or issue that already exists. Returns sessionId, status, and url as soon as the request is accepted; work can take minutes to tens of minutes. After each send, put the exact returned url in a normal user-visible assistant message, and repeat it in the last message of the turn: only a turn's trailing message is shown expanded. Tool output and internal reasoning do not count as sharing the link. Do not run a timer or monitoring call alongside this send. Acceptance does not mean the work is complete. Then monitor the session with agent.get, reporting new progress, blockers, and the final outcome rather than unchanged status. Send here again to answer a question or add context to the same session.";
|
|
75
142
|
readonly input: z.ZodObject<{
|
|
143
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
144
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
77
145
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
146
|
message: z.ZodString;
|
|
@@ -1802,8 +1870,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1802
1870
|
runId: RunId;
|
|
1803
1871
|
sessionId: z.ZodOptional<ChatSessionId>;
|
|
1804
1872
|
status: z.ZodEnum<{
|
|
1805
|
-
investigating: "investigating";
|
|
1806
1873
|
finished: "finished";
|
|
1874
|
+
investigating: "investigating";
|
|
1807
1875
|
"not-investigated": "not-investigated";
|
|
1808
1876
|
"not-enabled": "not-enabled";
|
|
1809
1877
|
}>;
|
|
@@ -1821,6 +1889,36 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1821
1889
|
}, z.core.$strip>;
|
|
1822
1890
|
};
|
|
1823
1891
|
question: {
|
|
1892
|
+
answer: {
|
|
1893
|
+
readonly annotationJustifications: {
|
|
1894
|
+
readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
|
|
1895
|
+
readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
|
|
1896
|
+
readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
|
|
1897
|
+
};
|
|
1898
|
+
readonly annotations: {
|
|
1899
|
+
readonly destructiveHint: true;
|
|
1900
|
+
readonly openWorldHint: true;
|
|
1901
|
+
readonly readOnlyHint: false;
|
|
1902
|
+
};
|
|
1903
|
+
readonly description: string;
|
|
1904
|
+
readonly input: z.ZodObject<{
|
|
1905
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1906
|
+
replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1907
|
+
runId: RunId;
|
|
1908
|
+
}, z.core.$strip>;
|
|
1909
|
+
readonly kind: "write";
|
|
1910
|
+
readonly name: "investigation.question.answer";
|
|
1911
|
+
readonly output: z.ZodObject<{
|
|
1912
|
+
answeredFindingIds: z.ZodArray<z.ZodString>;
|
|
1913
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
1914
|
+
findingId: z.ZodString;
|
|
1915
|
+
message: z.ZodString;
|
|
1916
|
+
reason: z.ZodString;
|
|
1917
|
+
}, z.core.$strip>>;
|
|
1918
|
+
runId: RunId;
|
|
1919
|
+
url: z.ZodURL;
|
|
1920
|
+
}, z.core.$strip>;
|
|
1921
|
+
};
|
|
1824
1922
|
find: {
|
|
1825
1923
|
readonly annotationJustifications: {
|
|
1826
1924
|
readonly destructiveHint: "Does not answer, dismiss or change any question.";
|
|
@@ -3538,6 +3636,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3538
3636
|
};
|
|
3539
3637
|
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.";
|
|
3540
3638
|
readonly input: z.ZodObject<{
|
|
3639
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3541
3640
|
entryPointPath: z.ZodString;
|
|
3542
3641
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3543
3642
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -4727,6 +4826,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4727
4826
|
readonly description: string;
|
|
4728
4827
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4729
4828
|
kind: z.ZodLiteral<"schedule">;
|
|
4829
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4830
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
4831
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4832
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4833
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
4834
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
4730
4835
|
action: z.ZodObject<{
|
|
4731
4836
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
4732
4837
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -4743,6 +4848,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4743
4848
|
hourly: "hourly";
|
|
4744
4849
|
daily: "daily";
|
|
4745
4850
|
weekly: "weekly";
|
|
4851
|
+
monthly: "monthly";
|
|
4746
4852
|
}>;
|
|
4747
4853
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
4748
4854
|
monday: "monday";
|
|
@@ -4763,9 +4869,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4763
4869
|
sunday: "sunday";
|
|
4764
4870
|
}>>>;
|
|
4765
4871
|
environmentId: PublicIdSchema;
|
|
4766
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4767
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
4768
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4769
4872
|
name: z.ZodString;
|
|
4770
4873
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
4771
4874
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4797,6 +4900,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4797
4900
|
trigger: z.ZodObject<{
|
|
4798
4901
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4799
4902
|
kind: z.ZodLiteral<"schedule">;
|
|
4903
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4904
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
4905
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4906
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4907
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
4908
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
4800
4909
|
action: z.ZodObject<{
|
|
4801
4910
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
4802
4911
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -4813,6 +4922,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4813
4922
|
hourly: "hourly";
|
|
4814
4923
|
daily: "daily";
|
|
4815
4924
|
weekly: "weekly";
|
|
4925
|
+
monthly: "monthly";
|
|
4816
4926
|
}>;
|
|
4817
4927
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
4818
4928
|
monday: "monday";
|
|
@@ -4833,9 +4943,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4833
4943
|
sunday: "sunday";
|
|
4834
4944
|
}>>>;
|
|
4835
4945
|
environmentId: EnvironmentId;
|
|
4836
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4837
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
4838
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4839
4946
|
}, z.core.$strip>, z.ZodObject<{
|
|
4840
4947
|
kind: z.ZodLiteral<"deployment">;
|
|
4841
4948
|
action: z.ZodObject<{
|
|
@@ -4915,6 +5022,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4915
5022
|
triggers: z.ZodArray<z.ZodObject<{
|
|
4916
5023
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4917
5024
|
kind: z.ZodLiteral<"schedule">;
|
|
5025
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5026
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5027
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5028
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5029
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5030
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
4918
5031
|
action: z.ZodObject<{
|
|
4919
5032
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
4920
5033
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -4931,6 +5044,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4931
5044
|
hourly: "hourly";
|
|
4932
5045
|
daily: "daily";
|
|
4933
5046
|
weekly: "weekly";
|
|
5047
|
+
monthly: "monthly";
|
|
4934
5048
|
}>;
|
|
4935
5049
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
4936
5050
|
monday: "monday";
|
|
@@ -4951,9 +5065,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
4951
5065
|
sunday: "sunday";
|
|
4952
5066
|
}>>>;
|
|
4953
5067
|
environmentId: EnvironmentId;
|
|
4954
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
4955
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
4956
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
4957
5068
|
}, z.core.$strip>, z.ZodObject<{
|
|
4958
5069
|
kind: z.ZodLiteral<"deployment">;
|
|
4959
5070
|
action: z.ZodObject<{
|
|
@@ -5011,6 +5122,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5011
5122
|
trigger: z.ZodObject<{
|
|
5012
5123
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5013
5124
|
kind: z.ZodLiteral<"schedule">;
|
|
5125
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5126
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5128
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5129
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5130
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5014
5131
|
action: z.ZodObject<{
|
|
5015
5132
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
5016
5133
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -5027,6 +5144,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5027
5144
|
hourly: "hourly";
|
|
5028
5145
|
daily: "daily";
|
|
5029
5146
|
weekly: "weekly";
|
|
5147
|
+
monthly: "monthly";
|
|
5030
5148
|
}>;
|
|
5031
5149
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5032
5150
|
monday: "monday";
|
|
@@ -5047,9 +5165,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5047
5165
|
sunday: "sunday";
|
|
5048
5166
|
}>>>;
|
|
5049
5167
|
environmentId: EnvironmentId;
|
|
5050
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5051
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5052
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5053
5168
|
}, z.core.$strip>, z.ZodObject<{
|
|
5054
5169
|
kind: z.ZodLiteral<"deployment">;
|
|
5055
5170
|
action: z.ZodObject<{
|
|
@@ -5107,6 +5222,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5107
5222
|
trigger: z.ZodObject<{
|
|
5108
5223
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5109
5224
|
kind: z.ZodLiteral<"schedule">;
|
|
5225
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5226
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5227
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5228
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5229
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5230
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5110
5231
|
action: z.ZodObject<{
|
|
5111
5232
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
5112
5233
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -5123,6 +5244,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5123
5244
|
hourly: "hourly";
|
|
5124
5245
|
daily: "daily";
|
|
5125
5246
|
weekly: "weekly";
|
|
5247
|
+
monthly: "monthly";
|
|
5126
5248
|
}>;
|
|
5127
5249
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5128
5250
|
monday: "monday";
|
|
@@ -5143,9 +5265,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5143
5265
|
sunday: "sunday";
|
|
5144
5266
|
}>>>;
|
|
5145
5267
|
environmentId: EnvironmentId;
|
|
5146
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5147
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5148
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5149
5268
|
}, z.core.$strip>, z.ZodObject<{
|
|
5150
5269
|
kind: z.ZodLiteral<"deployment">;
|
|
5151
5270
|
action: z.ZodObject<{
|
|
@@ -5203,6 +5322,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5203
5322
|
trigger: z.ZodObject<{
|
|
5204
5323
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5205
5324
|
kind: z.ZodLiteral<"schedule">;
|
|
5325
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5326
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5327
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5328
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5329
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5330
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5206
5331
|
action: z.ZodObject<{
|
|
5207
5332
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
5208
5333
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -5219,6 +5344,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5219
5344
|
hourly: "hourly";
|
|
5220
5345
|
daily: "daily";
|
|
5221
5346
|
weekly: "weekly";
|
|
5347
|
+
monthly: "monthly";
|
|
5222
5348
|
}>;
|
|
5223
5349
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5224
5350
|
monday: "monday";
|
|
@@ -5239,9 +5365,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5239
5365
|
sunday: "sunday";
|
|
5240
5366
|
}>>>;
|
|
5241
5367
|
environmentId: EnvironmentId;
|
|
5242
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5243
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5244
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5245
5368
|
}, z.core.$strip>, z.ZodObject<{
|
|
5246
5369
|
kind: z.ZodLiteral<"deployment">;
|
|
5247
5370
|
action: z.ZodObject<{
|
|
@@ -5292,6 +5415,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5292
5415
|
readonly description: string;
|
|
5293
5416
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5294
5417
|
kind: z.ZodLiteral<"schedule">;
|
|
5418
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5419
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5420
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5421
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5422
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5423
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5295
5424
|
action: z.ZodObject<{
|
|
5296
5425
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
5297
5426
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -5308,6 +5437,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5308
5437
|
hourly: "hourly";
|
|
5309
5438
|
daily: "daily";
|
|
5310
5439
|
weekly: "weekly";
|
|
5440
|
+
monthly: "monthly";
|
|
5311
5441
|
}>;
|
|
5312
5442
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5313
5443
|
monday: "monday";
|
|
@@ -5328,9 +5458,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5328
5458
|
sunday: "sunday";
|
|
5329
5459
|
}>>>;
|
|
5330
5460
|
environmentId: PublicIdSchema;
|
|
5331
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5332
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5333
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5334
5461
|
name: z.ZodString;
|
|
5335
5462
|
triggerId: TriggerId;
|
|
5336
5463
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5362,6 +5489,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5362
5489
|
trigger: z.ZodObject<{
|
|
5363
5490
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5364
5491
|
kind: z.ZodLiteral<"schedule">;
|
|
5492
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5493
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5494
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5495
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
5496
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
5497
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5365
5498
|
action: z.ZodObject<{
|
|
5366
5499
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
5367
5500
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -5378,6 +5511,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5378
5511
|
hourly: "hourly";
|
|
5379
5512
|
daily: "daily";
|
|
5380
5513
|
weekly: "weekly";
|
|
5514
|
+
monthly: "monthly";
|
|
5381
5515
|
}>;
|
|
5382
5516
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
5383
5517
|
monday: "monday";
|
|
@@ -5398,9 +5532,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5398
5532
|
sunday: "sunday";
|
|
5399
5533
|
}>>>;
|
|
5400
5534
|
environmentId: EnvironmentId;
|
|
5401
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
5402
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
5403
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
5404
5535
|
}, z.core.$strip>, z.ZodObject<{
|
|
5405
5536
|
kind: z.ZodLiteral<"deployment">;
|
|
5406
5537
|
action: z.ZodObject<{
|
|
@@ -5440,6 +5571,73 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
5440
5571
|
};
|
|
5441
5572
|
};
|
|
5442
5573
|
export declare const publicContractsV1: {
|
|
5574
|
+
activity: {
|
|
5575
|
+
wait: {
|
|
5576
|
+
readonly annotationJustifications: {
|
|
5577
|
+
readonly destructiveHint: "Does not cancel work, stop runs or edit tests.";
|
|
5578
|
+
readonly openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.";
|
|
5579
|
+
readonly readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.";
|
|
5580
|
+
};
|
|
5581
|
+
readonly annotations: {
|
|
5582
|
+
readonly destructiveHint: false;
|
|
5583
|
+
readonly openWorldHint: false;
|
|
5584
|
+
readonly readOnlyHint: true;
|
|
5585
|
+
};
|
|
5586
|
+
readonly description: "Wait on many QA Wolf AI (Tester) sessions and runs in one call. Pass every Tester session and run you are waiting on. The call returns as soon as any session replies or changes status or any run finishes, and reports every item with news. Send back open as the next call's input, and call again as soon as it returns. Pass waitSeconds above 45 only when your instructions say your client keeps the call open while progress arrives.";
|
|
5587
|
+
readonly input: z.ZodObject<{
|
|
5588
|
+
cursors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5589
|
+
runIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
|
|
5590
|
+
sessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
|
|
5591
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5592
|
+
}, z.core.$strip>;
|
|
5593
|
+
readonly kind: "read";
|
|
5594
|
+
readonly name: "activity.wait";
|
|
5595
|
+
readonly output: z.ZodObject<{
|
|
5596
|
+
open: z.ZodObject<{
|
|
5597
|
+
cursors: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5598
|
+
runIds: z.ZodArray<PublicIdSchema>;
|
|
5599
|
+
sessionIds: z.ZodArray<PublicIdSchema>;
|
|
5600
|
+
}, z.core.$strip>;
|
|
5601
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
5602
|
+
finished: z.ZodBoolean;
|
|
5603
|
+
runId: PublicIdSchema;
|
|
5604
|
+
status: z.ZodEnum<{
|
|
5605
|
+
failed: "failed";
|
|
5606
|
+
queued: "queued";
|
|
5607
|
+
running: "running";
|
|
5608
|
+
passed: "passed";
|
|
5609
|
+
canceled: "canceled";
|
|
5610
|
+
superseded: "superseded";
|
|
5611
|
+
"not-found": "not-found";
|
|
5612
|
+
}>;
|
|
5613
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5614
|
+
}, z.core.$strip>>;
|
|
5615
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
5616
|
+
nextCursor: z.ZodString;
|
|
5617
|
+
replies: z.ZodArray<z.ZodObject<{
|
|
5618
|
+
askedAt: z.ZodISODateTime;
|
|
5619
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5620
|
+
id: z.ZodString;
|
|
5621
|
+
text: z.ZodString;
|
|
5622
|
+
}, z.core.$strip>>;
|
|
5623
|
+
sessionId: PublicIdSchema;
|
|
5624
|
+
status: z.ZodEnum<{
|
|
5625
|
+
working: "working";
|
|
5626
|
+
"waiting-for-you": "waiting-for-you";
|
|
5627
|
+
completed: "completed";
|
|
5628
|
+
failed: "failed";
|
|
5629
|
+
cancelled: "cancelled";
|
|
5630
|
+
"not-found": "not-found";
|
|
5631
|
+
}>;
|
|
5632
|
+
}, z.core.$strip>>;
|
|
5633
|
+
waitSeconds: z.ZodNumber;
|
|
5634
|
+
wokeOn: z.ZodEnum<{
|
|
5635
|
+
timeout: "timeout";
|
|
5636
|
+
activity: "activity";
|
|
5637
|
+
}>;
|
|
5638
|
+
}, z.core.$strip>;
|
|
5639
|
+
};
|
|
5640
|
+
};
|
|
5443
5641
|
agent: {
|
|
5444
5642
|
get: {
|
|
5445
5643
|
readonly annotationJustifications: {
|
|
@@ -5498,6 +5696,7 @@ export declare const publicContractsV1: {
|
|
|
5498
5696
|
};
|
|
5499
5697
|
readonly description: "Start or continue work with the QA Wolf AI and return a live session URL to share with the user. Use it to cover a user journey, investigate a failing run, or fix a broken flow. This is the one verb that starts work from nothing: every other write acts on a flow, run or issue that already exists. Returns sessionId, status, and url as soon as the request is accepted; work can take minutes to tens of minutes. After each send, put the exact returned url in a normal user-visible assistant message, and repeat it in the last message of the turn: only a turn's trailing message is shown expanded. Tool output and internal reasoning do not count as sharing the link. Do not run a timer or monitoring call alongside this send. Acceptance does not mean the work is complete. Then monitor the session with agent.get, reporting new progress, blockers, and the final outcome rather than unchanged status. Send here again to answer a question or add context to the same session.";
|
|
5500
5698
|
readonly input: z.ZodObject<{
|
|
5699
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5501
5700
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5502
5701
|
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5503
5702
|
message: z.ZodString;
|
|
@@ -7227,8 +7426,8 @@ export declare const publicContractsV1: {
|
|
|
7227
7426
|
runId: PublicIdSchema;
|
|
7228
7427
|
sessionId: z.ZodOptional<PublicIdSchema>;
|
|
7229
7428
|
status: z.ZodEnum<{
|
|
7230
|
-
investigating: "investigating";
|
|
7231
7429
|
finished: "finished";
|
|
7430
|
+
investigating: "investigating";
|
|
7232
7431
|
"not-investigated": "not-investigated";
|
|
7233
7432
|
"not-enabled": "not-enabled";
|
|
7234
7433
|
}>;
|
|
@@ -7246,6 +7445,36 @@ export declare const publicContractsV1: {
|
|
|
7246
7445
|
}, z.core.$strip>;
|
|
7247
7446
|
};
|
|
7248
7447
|
question: {
|
|
7448
|
+
answer: {
|
|
7449
|
+
readonly annotationJustifications: {
|
|
7450
|
+
readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
|
|
7451
|
+
readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
|
|
7452
|
+
readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
|
|
7453
|
+
};
|
|
7454
|
+
readonly annotations: {
|
|
7455
|
+
readonly destructiveHint: true;
|
|
7456
|
+
readonly openWorldHint: true;
|
|
7457
|
+
readonly readOnlyHint: false;
|
|
7458
|
+
};
|
|
7459
|
+
readonly description: string;
|
|
7460
|
+
readonly input: z.ZodObject<{
|
|
7461
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7462
|
+
replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7463
|
+
runId: PublicIdSchema;
|
|
7464
|
+
}, z.core.$strip>;
|
|
7465
|
+
readonly kind: "write";
|
|
7466
|
+
readonly name: "investigation.question.answer";
|
|
7467
|
+
readonly output: z.ZodObject<{
|
|
7468
|
+
answeredFindingIds: z.ZodArray<z.ZodString>;
|
|
7469
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
7470
|
+
findingId: z.ZodString;
|
|
7471
|
+
message: z.ZodString;
|
|
7472
|
+
reason: z.ZodString;
|
|
7473
|
+
}, z.core.$strip>>;
|
|
7474
|
+
runId: PublicIdSchema;
|
|
7475
|
+
url: z.ZodURL;
|
|
7476
|
+
}, z.core.$strip>;
|
|
7477
|
+
};
|
|
7249
7478
|
find: {
|
|
7250
7479
|
readonly annotationJustifications: {
|
|
7251
7480
|
readonly destructiveHint: "Does not answer, dismiss or change any question.";
|
|
@@ -8963,6 +9192,7 @@ export declare const publicContractsV1: {
|
|
|
8963
9192
|
};
|
|
8964
9193
|
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.";
|
|
8965
9194
|
readonly input: z.ZodObject<{
|
|
9195
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8966
9196
|
entryPointPath: z.ZodString;
|
|
8967
9197
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8968
9198
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -10152,6 +10382,12 @@ export declare const publicContractsV1: {
|
|
|
10152
10382
|
readonly description: string;
|
|
10153
10383
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10154
10384
|
kind: z.ZodLiteral<"schedule">;
|
|
10385
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10386
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10387
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10388
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10389
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10390
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10155
10391
|
action: z.ZodObject<{
|
|
10156
10392
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10157
10393
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10168,6 +10404,7 @@ export declare const publicContractsV1: {
|
|
|
10168
10404
|
hourly: "hourly";
|
|
10169
10405
|
daily: "daily";
|
|
10170
10406
|
weekly: "weekly";
|
|
10407
|
+
monthly: "monthly";
|
|
10171
10408
|
}>;
|
|
10172
10409
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10173
10410
|
monday: "monday";
|
|
@@ -10188,9 +10425,6 @@ export declare const publicContractsV1: {
|
|
|
10188
10425
|
sunday: "sunday";
|
|
10189
10426
|
}>>>;
|
|
10190
10427
|
environmentId: PublicIdSchema;
|
|
10191
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10192
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10193
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10194
10428
|
name: z.ZodString;
|
|
10195
10429
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
10196
10430
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -10222,6 +10456,12 @@ export declare const publicContractsV1: {
|
|
|
10222
10456
|
trigger: z.ZodObject<{
|
|
10223
10457
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10224
10458
|
kind: z.ZodLiteral<"schedule">;
|
|
10459
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10460
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10461
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10462
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10463
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10464
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10225
10465
|
action: z.ZodObject<{
|
|
10226
10466
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10227
10467
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10238,6 +10478,7 @@ export declare const publicContractsV1: {
|
|
|
10238
10478
|
hourly: "hourly";
|
|
10239
10479
|
daily: "daily";
|
|
10240
10480
|
weekly: "weekly";
|
|
10481
|
+
monthly: "monthly";
|
|
10241
10482
|
}>;
|
|
10242
10483
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10243
10484
|
monday: "monday";
|
|
@@ -10258,9 +10499,6 @@ export declare const publicContractsV1: {
|
|
|
10258
10499
|
sunday: "sunday";
|
|
10259
10500
|
}>>>;
|
|
10260
10501
|
environmentId: PublicIdSchema;
|
|
10261
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10262
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10263
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10264
10502
|
}, z.core.$strip>, z.ZodObject<{
|
|
10265
10503
|
kind: z.ZodLiteral<"deployment">;
|
|
10266
10504
|
action: z.ZodObject<{
|
|
@@ -10340,6 +10578,12 @@ export declare const publicContractsV1: {
|
|
|
10340
10578
|
triggers: z.ZodArray<z.ZodObject<{
|
|
10341
10579
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10342
10580
|
kind: z.ZodLiteral<"schedule">;
|
|
10581
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10582
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10583
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10584
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10585
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10586
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10343
10587
|
action: z.ZodObject<{
|
|
10344
10588
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10345
10589
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10356,6 +10600,7 @@ export declare const publicContractsV1: {
|
|
|
10356
10600
|
hourly: "hourly";
|
|
10357
10601
|
daily: "daily";
|
|
10358
10602
|
weekly: "weekly";
|
|
10603
|
+
monthly: "monthly";
|
|
10359
10604
|
}>;
|
|
10360
10605
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10361
10606
|
monday: "monday";
|
|
@@ -10376,9 +10621,6 @@ export declare const publicContractsV1: {
|
|
|
10376
10621
|
sunday: "sunday";
|
|
10377
10622
|
}>>>;
|
|
10378
10623
|
environmentId: PublicIdSchema;
|
|
10379
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10380
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10381
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10382
10624
|
}, z.core.$strip>, z.ZodObject<{
|
|
10383
10625
|
kind: z.ZodLiteral<"deployment">;
|
|
10384
10626
|
action: z.ZodObject<{
|
|
@@ -10436,6 +10678,12 @@ export declare const publicContractsV1: {
|
|
|
10436
10678
|
trigger: z.ZodObject<{
|
|
10437
10679
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10438
10680
|
kind: z.ZodLiteral<"schedule">;
|
|
10681
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10682
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10683
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10684
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10685
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10686
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10439
10687
|
action: z.ZodObject<{
|
|
10440
10688
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10441
10689
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10452,6 +10700,7 @@ export declare const publicContractsV1: {
|
|
|
10452
10700
|
hourly: "hourly";
|
|
10453
10701
|
daily: "daily";
|
|
10454
10702
|
weekly: "weekly";
|
|
10703
|
+
monthly: "monthly";
|
|
10455
10704
|
}>;
|
|
10456
10705
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10457
10706
|
monday: "monday";
|
|
@@ -10472,9 +10721,6 @@ export declare const publicContractsV1: {
|
|
|
10472
10721
|
sunday: "sunday";
|
|
10473
10722
|
}>>>;
|
|
10474
10723
|
environmentId: PublicIdSchema;
|
|
10475
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10476
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10477
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10478
10724
|
}, z.core.$strip>, z.ZodObject<{
|
|
10479
10725
|
kind: z.ZodLiteral<"deployment">;
|
|
10480
10726
|
action: z.ZodObject<{
|
|
@@ -10532,6 +10778,12 @@ export declare const publicContractsV1: {
|
|
|
10532
10778
|
trigger: z.ZodObject<{
|
|
10533
10779
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10534
10780
|
kind: z.ZodLiteral<"schedule">;
|
|
10781
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10782
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10783
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10784
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10785
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10786
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10535
10787
|
action: z.ZodObject<{
|
|
10536
10788
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10537
10789
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10548,6 +10800,7 @@ export declare const publicContractsV1: {
|
|
|
10548
10800
|
hourly: "hourly";
|
|
10549
10801
|
daily: "daily";
|
|
10550
10802
|
weekly: "weekly";
|
|
10803
|
+
monthly: "monthly";
|
|
10551
10804
|
}>;
|
|
10552
10805
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10553
10806
|
monday: "monday";
|
|
@@ -10568,9 +10821,6 @@ export declare const publicContractsV1: {
|
|
|
10568
10821
|
sunday: "sunday";
|
|
10569
10822
|
}>>>;
|
|
10570
10823
|
environmentId: PublicIdSchema;
|
|
10571
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10572
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10573
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10574
10824
|
}, z.core.$strip>, z.ZodObject<{
|
|
10575
10825
|
kind: z.ZodLiteral<"deployment">;
|
|
10576
10826
|
action: z.ZodObject<{
|
|
@@ -10628,6 +10878,12 @@ export declare const publicContractsV1: {
|
|
|
10628
10878
|
trigger: z.ZodObject<{
|
|
10629
10879
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10630
10880
|
kind: z.ZodLiteral<"schedule">;
|
|
10881
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10882
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10883
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10884
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10885
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10886
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10631
10887
|
action: z.ZodObject<{
|
|
10632
10888
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10633
10889
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10644,6 +10900,7 @@ export declare const publicContractsV1: {
|
|
|
10644
10900
|
hourly: "hourly";
|
|
10645
10901
|
daily: "daily";
|
|
10646
10902
|
weekly: "weekly";
|
|
10903
|
+
monthly: "monthly";
|
|
10647
10904
|
}>;
|
|
10648
10905
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10649
10906
|
monday: "monday";
|
|
@@ -10664,9 +10921,6 @@ export declare const publicContractsV1: {
|
|
|
10664
10921
|
sunday: "sunday";
|
|
10665
10922
|
}>>>;
|
|
10666
10923
|
environmentId: PublicIdSchema;
|
|
10667
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10668
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10669
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10670
10924
|
}, z.core.$strip>, z.ZodObject<{
|
|
10671
10925
|
kind: z.ZodLiteral<"deployment">;
|
|
10672
10926
|
action: z.ZodObject<{
|
|
@@ -10717,6 +10971,12 @@ export declare const publicContractsV1: {
|
|
|
10717
10971
|
readonly description: string;
|
|
10718
10972
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10719
10973
|
kind: z.ZodLiteral<"schedule">;
|
|
10974
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10975
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10976
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10977
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
10978
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
10979
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10720
10980
|
action: z.ZodObject<{
|
|
10721
10981
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10722
10982
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10733,6 +10993,7 @@ export declare const publicContractsV1: {
|
|
|
10733
10993
|
hourly: "hourly";
|
|
10734
10994
|
daily: "daily";
|
|
10735
10995
|
weekly: "weekly";
|
|
10996
|
+
monthly: "monthly";
|
|
10736
10997
|
}>;
|
|
10737
10998
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10738
10999
|
monday: "monday";
|
|
@@ -10753,9 +11014,6 @@ export declare const publicContractsV1: {
|
|
|
10753
11014
|
sunday: "sunday";
|
|
10754
11015
|
}>>>;
|
|
10755
11016
|
environmentId: PublicIdSchema;
|
|
10756
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10757
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10758
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10759
11017
|
name: z.ZodString;
|
|
10760
11018
|
triggerId: PublicIdSchema;
|
|
10761
11019
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -10787,6 +11045,12 @@ export declare const publicContractsV1: {
|
|
|
10787
11045
|
trigger: z.ZodObject<{
|
|
10788
11046
|
configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10789
11047
|
kind: z.ZodLiteral<"schedule">;
|
|
11048
|
+
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
11049
|
+
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
11050
|
+
timezoneId: z.ZodOptional<z.ZodString>;
|
|
11051
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
11052
|
+
every: z.ZodOptional<z.ZodNumber>;
|
|
11053
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
10790
11054
|
action: z.ZodObject<{
|
|
10791
11055
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
10792
11056
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -10803,6 +11067,7 @@ export declare const publicContractsV1: {
|
|
|
10803
11067
|
hourly: "hourly";
|
|
10804
11068
|
daily: "daily";
|
|
10805
11069
|
weekly: "weekly";
|
|
11070
|
+
monthly: "monthly";
|
|
10806
11071
|
}>;
|
|
10807
11072
|
dayOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
10808
11073
|
monday: "monday";
|
|
@@ -10823,9 +11088,6 @@ export declare const publicContractsV1: {
|
|
|
10823
11088
|
sunday: "sunday";
|
|
10824
11089
|
}>>>;
|
|
10825
11090
|
environmentId: PublicIdSchema;
|
|
10826
|
-
minuteOfHour: z.ZodOptional<z.ZodNumber>;
|
|
10827
|
-
timeOfDay: z.ZodOptional<z.ZodString>;
|
|
10828
|
-
timezoneId: z.ZodOptional<z.ZodString>;
|
|
10829
11091
|
}, z.core.$strip>, z.ZodObject<{
|
|
10830
11092
|
kind: z.ZodLiteral<"deployment">;
|
|
10831
11093
|
action: z.ZodObject<{
|