@qawolf/api-contracts 0.133.0 → 0.135.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/environment/promote.d.ts +1 -0
- package/dist/v1/environment/promote.d.ts.map +1 -1
- package/dist/v1/ids.d.ts +8 -0
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js +4 -0
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +558 -9
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +1 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/promotion/answerQuestions.d.ts +116 -0
- package/dist/v1/promotion/answerQuestions.d.ts.map +1 -0
- package/dist/v1/promotion/answerQuestions.js +58 -0
- package/dist/v1/promotion/answerQuestions.js.map +1 -0
- package/dist/v1/promotion/askQuestion.d.ts +115 -0
- package/dist/v1/promotion/askQuestion.d.ts.map +1 -0
- package/dist/v1/promotion/askQuestion.js +40 -0
- package/dist/v1/promotion/askQuestion.js.map +1 -0
- package/dist/v1/promotion/find.d.ts +1 -0
- package/dist/v1/promotion/find.d.ts.map +1 -1
- package/dist/v1/promotion/get.d.ts +54 -1
- package/dist/v1/promotion/get.d.ts.map +1 -1
- package/dist/v1/promotion/get.js +5 -0
- package/dist/v1/promotion/get.js.map +1 -1
- package/dist/v1/promotion/index.d.ts +276 -2
- package/dist/v1/promotion/index.d.ts.map +1 -1
- package/dist/v1/promotion/index.js +6 -0
- package/dist/v1/promotion/index.js.map +1 -1
- package/dist/v1/promotion/needsPerson.d.ts +1 -0
- package/dist/v1/promotion/needsPerson.d.ts.map +1 -1
- package/dist/v1/promotion/needsPerson.js +7 -1
- package/dist/v1/promotion/needsPerson.js.map +1 -1
- package/dist/v1/promotion/question.d.ts +93 -0
- package/dist/v1/promotion/question.d.ts.map +1 -0
- package/dist/v1/promotion/question.js +126 -0
- package/dist/v1/promotion/question.js.map +1 -0
- package/dist/v1/promotion/reportDecision.d.ts +2 -1
- package/dist/v1/promotion/reportDecision.d.ts.map +1 -1
- package/dist/v1/promotion/reportDecision.js +1 -1
- package/dist/v1/promotion/reportDecision.js.map +1 -1
- package/dist/v1/promotion/resolve.d.ts +1 -0
- package/dist/v1/promotion/resolve.d.ts.map +1 -1
- package/dist/v1/promotion/resource.d.ts +1 -0
- package/dist/v1/promotion/resource.d.ts.map +1 -1
- package/dist/v1/run/flowFailure.d.ts +6 -1
- package/dist/v1/run/flowFailure.d.ts.map +1 -1
- package/dist/v1/run/flowFailure.js +12 -0
- package/dist/v1/run/flowFailure.js.map +1 -1
- package/dist/v1/run/get.d.ts +4 -0
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/listScreenshotComparisons.d.ts +1 -1
- package/dist/v1/run/reattempt.d.ts.map +1 -1
- package/dist/v1/run/reattempt.js +3 -0
- package/dist/v1/run/reattempt.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { z } from "zod";
|
|
|
2
2
|
export { maxResolvedFileBytes } from "./promotion/index.js";
|
|
3
3
|
export * from "./sharedSchemas.js";
|
|
4
4
|
import type { AnyPublicApiContract } from "./definition.js";
|
|
5
|
-
import { type PublicIdSchema, type PublicIdSchemasOf } from "./ids.js";
|
|
5
|
+
import { type OptionalIdSchemas, type PublicIdSchema, type PublicIdSchemasOf } from "./ids.js";
|
|
6
6
|
export type PublicApiInput<Api extends AnyPublicApiContract> = z.input<Api["input"]>;
|
|
7
7
|
export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["output"]>;
|
|
8
8
|
/**
|
|
@@ -12,10 +12,7 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
12
12
|
* the same factory with its own strict id schemas, so the contract shape can
|
|
13
13
|
* never drift between the two while validation strictness stays server-owned.
|
|
14
14
|
*/
|
|
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>,
|
|
16
|
-
runAttempt?: RunAttemptId;
|
|
17
|
-
suggestion?: PublicIdSchema;
|
|
18
|
-
}) => {
|
|
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>, keyof OptionalIdSchemas<RunAttemptId>> & OptionalIdSchemas<RunAttemptId>) => {
|
|
19
16
|
activity: {
|
|
20
17
|
wait: {
|
|
21
18
|
readonly annotationJustifications: {
|
|
@@ -1476,6 +1473,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1476
1473
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
1477
1474
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1478
1475
|
path: z.ZodString;
|
|
1476
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
1479
1477
|
}, z.core.$strip>>>;
|
|
1480
1478
|
reason: z.ZodEnum<{
|
|
1481
1479
|
"undecided-paths": "undecided-paths";
|
|
@@ -2996,6 +2994,222 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2996
2994
|
};
|
|
2997
2995
|
};
|
|
2998
2996
|
promotion: {
|
|
2997
|
+
answerQuestions: {
|
|
2998
|
+
readonly annotationJustifications: {
|
|
2999
|
+
readonly destructiveHint: "Records the answers and hands the promotion back to QA Wolf without changing flow code itself.";
|
|
3000
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
3001
|
+
readonly readOnlyHint: "Records answers and starts QA Wolf on the promotion again.";
|
|
3002
|
+
};
|
|
3003
|
+
readonly annotations: {
|
|
3004
|
+
readonly destructiveHint: false;
|
|
3005
|
+
readonly openWorldHint: false;
|
|
3006
|
+
readonly readOnlyHint: false;
|
|
3007
|
+
};
|
|
3008
|
+
readonly description: "Answer every question QA Wolf asked about a promotion's current conflict, at once, and hand it back to QA Wolf, which updates the flows the way they were answered and promotes them. Refused while the promotion is not waiting on a person, and for an answer to a question QA Wolf has since asked anew. Picking an answer that reports a bug files nothing on its own. Returns the promotion.";
|
|
3009
|
+
readonly input: z.ZodObject<{
|
|
3010
|
+
answers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3011
|
+
optionId: z.ZodString;
|
|
3012
|
+
questionId: PublicIdSchema;
|
|
3013
|
+
questionRevision: z.ZodNumber;
|
|
3014
|
+
type: z.ZodLiteral<"option">;
|
|
3015
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3016
|
+
questionId: PublicIdSchema;
|
|
3017
|
+
questionRevision: z.ZodNumber;
|
|
3018
|
+
text: z.ZodString;
|
|
3019
|
+
type: z.ZodLiteral<"own-words">;
|
|
3020
|
+
}, z.core.$strict>], "type">>;
|
|
3021
|
+
promotionId: PromotionId;
|
|
3022
|
+
}, z.core.$strip>;
|
|
3023
|
+
readonly kind: "write";
|
|
3024
|
+
readonly name: "promotion.answerQuestions";
|
|
3025
|
+
readonly output: z.ZodObject<{
|
|
3026
|
+
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
3027
|
+
baseEnvironmentId: EnvironmentId;
|
|
3028
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
3029
|
+
paths: z.ZodArray<z.ZodString>;
|
|
3030
|
+
sourceCommitHash: z.ZodString;
|
|
3031
|
+
targetCommitHash: z.ZodString;
|
|
3032
|
+
}, z.core.$strip>>;
|
|
3033
|
+
createdAt: z.ZodISODateTime;
|
|
3034
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3035
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
3036
|
+
candidate: z.ZodEnum<{
|
|
3037
|
+
combined: "combined";
|
|
3038
|
+
head: "head";
|
|
3039
|
+
base: "base";
|
|
3040
|
+
}>;
|
|
3041
|
+
outcome: z.ZodEnum<{
|
|
3042
|
+
passed: "passed";
|
|
3043
|
+
failed: "failed";
|
|
3044
|
+
inconclusive: "inconclusive";
|
|
3045
|
+
}>;
|
|
3046
|
+
runId: RunId;
|
|
3047
|
+
}, z.core.$strip>>;
|
|
3048
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
3049
|
+
combined: "combined";
|
|
3050
|
+
head: "head";
|
|
3051
|
+
base: "base";
|
|
3052
|
+
}>>;
|
|
3053
|
+
path: z.ZodString;
|
|
3054
|
+
reason: z.ZodString;
|
|
3055
|
+
sourceCommitHash: z.ZodString;
|
|
3056
|
+
targetCommitHash: z.ZodString;
|
|
3057
|
+
type: z.ZodEnum<{
|
|
3058
|
+
"picked-by-run": "picked-by-run";
|
|
3059
|
+
combined: "combined";
|
|
3060
|
+
"kept-more-checks": "kept-more-checks";
|
|
3061
|
+
"needs-person": "needs-person";
|
|
3062
|
+
}>;
|
|
3063
|
+
}, z.core.$strip>>>;
|
|
3064
|
+
headEnvironmentId: EnvironmentId;
|
|
3065
|
+
id: PromotionId;
|
|
3066
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3067
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3068
|
+
path: z.ZodString;
|
|
3069
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
}, z.core.$strip>>>;
|
|
3071
|
+
reason: z.ZodEnum<{
|
|
3072
|
+
"undecided-paths": "undecided-paths";
|
|
3073
|
+
"run-limit-reached": "run-limit-reached";
|
|
3074
|
+
"flows-undetermined": "flows-undetermined";
|
|
3075
|
+
"agent-stopped": "agent-stopped";
|
|
3076
|
+
"agent-failed": "agent-failed";
|
|
3077
|
+
"agent-not-started": "agent-not-started";
|
|
3078
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
3079
|
+
}>;
|
|
3080
|
+
}, z.core.$strip>>;
|
|
3081
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3083
|
+
status: z.ZodEnum<{
|
|
3084
|
+
pending: "pending";
|
|
3085
|
+
conflicted: "conflicted";
|
|
3086
|
+
resolving: "resolving";
|
|
3087
|
+
promoted: "promoted";
|
|
3088
|
+
"no-changes": "no-changes";
|
|
3089
|
+
abandoned: "abandoned";
|
|
3090
|
+
}>;
|
|
3091
|
+
validationRuns: z.ZodArray<z.ZodObject<{
|
|
3092
|
+
aiTaskId: AiTaskId;
|
|
3093
|
+
runId: RunId;
|
|
3094
|
+
runMode: z.ZodEnum<{
|
|
3095
|
+
"confirm-after": "confirm-after";
|
|
3096
|
+
"choose-version": "choose-version";
|
|
3097
|
+
}>;
|
|
3098
|
+
sourceCommitHash: z.ZodString;
|
|
3099
|
+
targetCommitHash: z.ZodString;
|
|
3100
|
+
}, z.core.$strip>>;
|
|
3101
|
+
url: z.ZodURL;
|
|
3102
|
+
}, z.core.$strip>;
|
|
3103
|
+
};
|
|
3104
|
+
askQuestion: {
|
|
3105
|
+
readonly annotationJustifications: {
|
|
3106
|
+
readonly destructiveHint: "Records a question on the promotion and changes no flow code.";
|
|
3107
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
3108
|
+
readonly readOnlyHint: "Records a question for a person to answer.";
|
|
3109
|
+
};
|
|
3110
|
+
readonly annotations: {
|
|
3111
|
+
readonly destructiveHint: false;
|
|
3112
|
+
readonly openWorldHint: false;
|
|
3113
|
+
readonly readOnlyHint: false;
|
|
3114
|
+
};
|
|
3115
|
+
readonly description: "Ask a person about one conflicting path of a conflicted promotion that was reported as needs-person: a question about the app, both versions as plain steps with how each ran, the answers with what each does to the flow, and QA Wolf's pick. Ask before finishing; a promotion that already waits on a person is refused. Asking again about the same path replaces the question. Returns the question.";
|
|
3116
|
+
readonly input: z.ZodObject<{
|
|
3117
|
+
content: z.ZodObject<{
|
|
3118
|
+
base: z.ZodObject<{
|
|
3119
|
+
code: z.ZodString;
|
|
3120
|
+
runSummary: z.ZodString;
|
|
3121
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3122
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3123
|
+
changed: "changed";
|
|
3124
|
+
added: "added";
|
|
3125
|
+
deleted: "deleted";
|
|
3126
|
+
}>>;
|
|
3127
|
+
text: z.ZodString;
|
|
3128
|
+
}, z.core.$strict>>;
|
|
3129
|
+
}, z.core.$strict>;
|
|
3130
|
+
flowName: z.ZodString;
|
|
3131
|
+
head: z.ZodObject<{
|
|
3132
|
+
code: z.ZodString;
|
|
3133
|
+
runSummary: z.ZodString;
|
|
3134
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3135
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3136
|
+
changed: "changed";
|
|
3137
|
+
added: "added";
|
|
3138
|
+
deleted: "deleted";
|
|
3139
|
+
}>>;
|
|
3140
|
+
text: z.ZodString;
|
|
3141
|
+
}, z.core.$strict>>;
|
|
3142
|
+
}, z.core.$strict>;
|
|
3143
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3144
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
3145
|
+
consequence: z.ZodString;
|
|
3146
|
+
id: z.ZodString;
|
|
3147
|
+
title: z.ZodString;
|
|
3148
|
+
}, z.core.$strict>>;
|
|
3149
|
+
proposal: z.ZodString;
|
|
3150
|
+
proposedOptionId: z.ZodString;
|
|
3151
|
+
question: z.ZodString;
|
|
3152
|
+
stepLabel: z.ZodString;
|
|
3153
|
+
}, z.core.$strict>;
|
|
3154
|
+
expectedSourceCommitHash: z.ZodString;
|
|
3155
|
+
expectedTargetCommitHash: z.ZodString;
|
|
3156
|
+
path: z.ZodString;
|
|
3157
|
+
promotionId: PromotionId;
|
|
3158
|
+
}, z.core.$strip>;
|
|
3159
|
+
readonly kind: "write";
|
|
3160
|
+
readonly name: "promotion.askQuestion";
|
|
3161
|
+
readonly output: z.ZodObject<{
|
|
3162
|
+
answer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3163
|
+
answeredAt: z.ZodISODateTime;
|
|
3164
|
+
optionId: z.ZodString;
|
|
3165
|
+
type: z.ZodLiteral<"option">;
|
|
3166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3167
|
+
answeredAt: z.ZodISODateTime;
|
|
3168
|
+
text: z.ZodString;
|
|
3169
|
+
type: z.ZodLiteral<"own-words">;
|
|
3170
|
+
}, z.core.$strip>], "type">>;
|
|
3171
|
+
content: z.ZodObject<{
|
|
3172
|
+
base: z.ZodObject<{
|
|
3173
|
+
code: z.ZodString;
|
|
3174
|
+
runSummary: z.ZodString;
|
|
3175
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3176
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3177
|
+
changed: "changed";
|
|
3178
|
+
added: "added";
|
|
3179
|
+
deleted: "deleted";
|
|
3180
|
+
}>>;
|
|
3181
|
+
text: z.ZodString;
|
|
3182
|
+
}, z.core.$strict>>;
|
|
3183
|
+
}, z.core.$strict>;
|
|
3184
|
+
flowName: z.ZodString;
|
|
3185
|
+
head: z.ZodObject<{
|
|
3186
|
+
code: z.ZodString;
|
|
3187
|
+
runSummary: z.ZodString;
|
|
3188
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3189
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3190
|
+
changed: "changed";
|
|
3191
|
+
added: "added";
|
|
3192
|
+
deleted: "deleted";
|
|
3193
|
+
}>>;
|
|
3194
|
+
text: z.ZodString;
|
|
3195
|
+
}, z.core.$strict>>;
|
|
3196
|
+
}, z.core.$strict>;
|
|
3197
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3198
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
3199
|
+
consequence: z.ZodString;
|
|
3200
|
+
id: z.ZodString;
|
|
3201
|
+
title: z.ZodString;
|
|
3202
|
+
}, z.core.$strict>>;
|
|
3203
|
+
proposal: z.ZodString;
|
|
3204
|
+
proposedOptionId: z.ZodString;
|
|
3205
|
+
question: z.ZodString;
|
|
3206
|
+
stepLabel: z.ZodString;
|
|
3207
|
+
}, z.core.$strict>;
|
|
3208
|
+
id: PublicIdSchema;
|
|
3209
|
+
path: z.ZodString;
|
|
3210
|
+
revision: z.ZodNumber;
|
|
3211
|
+
}, z.core.$strip>;
|
|
3212
|
+
};
|
|
2999
3213
|
find: {
|
|
3000
3214
|
readonly annotationJustifications: {
|
|
3001
3215
|
readonly destructiveHint: "Does not change promotions, environments or flow code branches.";
|
|
@@ -3070,6 +3284,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3070
3284
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3071
3285
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3072
3286
|
path: z.ZodString;
|
|
3287
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
3073
3288
|
}, z.core.$strip>>>;
|
|
3074
3289
|
reason: z.ZodEnum<{
|
|
3075
3290
|
"undecided-paths": "undecided-paths";
|
|
@@ -3166,6 +3381,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3166
3381
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3167
3382
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3168
3383
|
path: z.ZodString;
|
|
3384
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
3169
3385
|
}, z.core.$strip>>>;
|
|
3170
3386
|
reason: z.ZodEnum<{
|
|
3171
3387
|
"undecided-paths": "undecided-paths";
|
|
@@ -3199,6 +3415,57 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3199
3415
|
}, z.core.$strip>>;
|
|
3200
3416
|
url: z.ZodURL;
|
|
3201
3417
|
aiTaskSessionId: z.ZodOptional<ChatSessionId>;
|
|
3418
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3419
|
+
answer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3420
|
+
answeredAt: z.ZodISODateTime;
|
|
3421
|
+
optionId: z.ZodString;
|
|
3422
|
+
type: z.ZodLiteral<"option">;
|
|
3423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3424
|
+
answeredAt: z.ZodISODateTime;
|
|
3425
|
+
text: z.ZodString;
|
|
3426
|
+
type: z.ZodLiteral<"own-words">;
|
|
3427
|
+
}, z.core.$strip>], "type">>;
|
|
3428
|
+
content: z.ZodObject<{
|
|
3429
|
+
base: z.ZodObject<{
|
|
3430
|
+
code: z.ZodString;
|
|
3431
|
+
runSummary: z.ZodString;
|
|
3432
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3433
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3434
|
+
changed: "changed";
|
|
3435
|
+
added: "added";
|
|
3436
|
+
deleted: "deleted";
|
|
3437
|
+
}>>;
|
|
3438
|
+
text: z.ZodString;
|
|
3439
|
+
}, z.core.$strict>>;
|
|
3440
|
+
}, z.core.$strict>;
|
|
3441
|
+
flowName: z.ZodString;
|
|
3442
|
+
head: z.ZodObject<{
|
|
3443
|
+
code: z.ZodString;
|
|
3444
|
+
runSummary: z.ZodString;
|
|
3445
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3446
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
3447
|
+
changed: "changed";
|
|
3448
|
+
added: "added";
|
|
3449
|
+
deleted: "deleted";
|
|
3450
|
+
}>>;
|
|
3451
|
+
text: z.ZodString;
|
|
3452
|
+
}, z.core.$strict>>;
|
|
3453
|
+
}, z.core.$strict>;
|
|
3454
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3455
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
3456
|
+
consequence: z.ZodString;
|
|
3457
|
+
id: z.ZodString;
|
|
3458
|
+
title: z.ZodString;
|
|
3459
|
+
}, z.core.$strict>>;
|
|
3460
|
+
proposal: z.ZodString;
|
|
3461
|
+
proposedOptionId: z.ZodString;
|
|
3462
|
+
question: z.ZodString;
|
|
3463
|
+
stepLabel: z.ZodString;
|
|
3464
|
+
}, z.core.$strict>;
|
|
3465
|
+
id: PublicIdSchema;
|
|
3466
|
+
path: z.ZodString;
|
|
3467
|
+
revision: z.ZodNumber;
|
|
3468
|
+
}, z.core.$strip>>>;
|
|
3202
3469
|
}, z.core.$strip>;
|
|
3203
3470
|
};
|
|
3204
3471
|
reportDecision: {
|
|
@@ -3212,7 +3479,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3212
3479
|
readonly openWorldHint: false;
|
|
3213
3480
|
readonly readOnlyHint: false;
|
|
3214
3481
|
};
|
|
3215
|
-
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
|
|
3482
|
+
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. When the workspace runs no versions but has promotion questions on, only a needs-person decision with no runs is recorded, so the path can be asked about. Reporting a path again replaces its decision. Returns the promotion.";
|
|
3216
3483
|
readonly input: z.ZodObject<{
|
|
3217
3484
|
base: z.ZodOptional<z.ZodObject<{
|
|
3218
3485
|
outcome: z.ZodEnum<{
|
|
@@ -3301,6 +3568,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3301
3568
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3302
3569
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3303
3570
|
path: z.ZodString;
|
|
3571
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
3304
3572
|
}, z.core.$strip>>>;
|
|
3305
3573
|
reason: z.ZodEnum<{
|
|
3306
3574
|
"undecided-paths": "undecided-paths";
|
|
@@ -3400,6 +3668,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3400
3668
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
3401
3669
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3402
3670
|
path: z.ZodString;
|
|
3671
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
3403
3672
|
}, z.core.$strip>>>;
|
|
3404
3673
|
reason: z.ZodEnum<{
|
|
3405
3674
|
"undecided-paths": "undecided-paths";
|
|
@@ -3746,6 +4015,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3746
4015
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
3747
4016
|
}, z.core.$strip>]>>>;
|
|
3748
4017
|
failure: z.ZodObject<{
|
|
4018
|
+
blockedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4019
|
+
flowId: FlowId;
|
|
4020
|
+
name: z.ZodString;
|
|
4021
|
+
}, z.core.$strip>>>;
|
|
3749
4022
|
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
3750
4023
|
issueId: IssueId;
|
|
3751
4024
|
type: z.ZodEnum<{
|
|
@@ -3894,8 +4167,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3894
4167
|
attemptCompletedAt: z.ZodISODateTime;
|
|
3895
4168
|
baselineStatus: z.ZodEnum<{
|
|
3896
4169
|
unknown: "unknown";
|
|
3897
|
-
accepted: "accepted";
|
|
3898
4170
|
deleted: "deleted";
|
|
4171
|
+
accepted: "accepted";
|
|
3899
4172
|
unchanged: "unchanged";
|
|
3900
4173
|
"changed-since-run": "changed-since-run";
|
|
3901
4174
|
}>;
|
|
@@ -7715,6 +7988,7 @@ export declare const publicContractsV1: {
|
|
|
7715
7988
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
7716
7989
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7717
7990
|
path: z.ZodString;
|
|
7991
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
7718
7992
|
}, z.core.$strip>>>;
|
|
7719
7993
|
reason: z.ZodEnum<{
|
|
7720
7994
|
"undecided-paths": "undecided-paths";
|
|
@@ -9235,6 +9509,222 @@ export declare const publicContractsV1: {
|
|
|
9235
9509
|
};
|
|
9236
9510
|
};
|
|
9237
9511
|
promotion: {
|
|
9512
|
+
answerQuestions: {
|
|
9513
|
+
readonly annotationJustifications: {
|
|
9514
|
+
readonly destructiveHint: "Records the answers and hands the promotion back to QA Wolf without changing flow code itself.";
|
|
9515
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
9516
|
+
readonly readOnlyHint: "Records answers and starts QA Wolf on the promotion again.";
|
|
9517
|
+
};
|
|
9518
|
+
readonly annotations: {
|
|
9519
|
+
readonly destructiveHint: false;
|
|
9520
|
+
readonly openWorldHint: false;
|
|
9521
|
+
readonly readOnlyHint: false;
|
|
9522
|
+
};
|
|
9523
|
+
readonly description: "Answer every question QA Wolf asked about a promotion's current conflict, at once, and hand it back to QA Wolf, which updates the flows the way they were answered and promotes them. Refused while the promotion is not waiting on a person, and for an answer to a question QA Wolf has since asked anew. Picking an answer that reports a bug files nothing on its own. Returns the promotion.";
|
|
9524
|
+
readonly input: z.ZodObject<{
|
|
9525
|
+
answers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9526
|
+
optionId: z.ZodString;
|
|
9527
|
+
questionId: PublicIdSchema;
|
|
9528
|
+
questionRevision: z.ZodNumber;
|
|
9529
|
+
type: z.ZodLiteral<"option">;
|
|
9530
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9531
|
+
questionId: PublicIdSchema;
|
|
9532
|
+
questionRevision: z.ZodNumber;
|
|
9533
|
+
text: z.ZodString;
|
|
9534
|
+
type: z.ZodLiteral<"own-words">;
|
|
9535
|
+
}, z.core.$strict>], "type">>;
|
|
9536
|
+
promotionId: PublicIdSchema;
|
|
9537
|
+
}, z.core.$strip>;
|
|
9538
|
+
readonly kind: "write";
|
|
9539
|
+
readonly name: "promotion.answerQuestions";
|
|
9540
|
+
readonly output: z.ZodObject<{
|
|
9541
|
+
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
9542
|
+
baseEnvironmentId: PublicIdSchema;
|
|
9543
|
+
conflict: z.ZodOptional<z.ZodObject<{
|
|
9544
|
+
paths: z.ZodArray<z.ZodString>;
|
|
9545
|
+
sourceCommitHash: z.ZodString;
|
|
9546
|
+
targetCommitHash: z.ZodString;
|
|
9547
|
+
}, z.core.$strip>>;
|
|
9548
|
+
createdAt: z.ZodISODateTime;
|
|
9549
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9550
|
+
candidateRuns: z.ZodArray<z.ZodObject<{
|
|
9551
|
+
candidate: z.ZodEnum<{
|
|
9552
|
+
combined: "combined";
|
|
9553
|
+
head: "head";
|
|
9554
|
+
base: "base";
|
|
9555
|
+
}>;
|
|
9556
|
+
outcome: z.ZodEnum<{
|
|
9557
|
+
passed: "passed";
|
|
9558
|
+
failed: "failed";
|
|
9559
|
+
inconclusive: "inconclusive";
|
|
9560
|
+
}>;
|
|
9561
|
+
runId: PublicIdSchema;
|
|
9562
|
+
}, z.core.$strip>>;
|
|
9563
|
+
kept: z.ZodOptional<z.ZodEnum<{
|
|
9564
|
+
combined: "combined";
|
|
9565
|
+
head: "head";
|
|
9566
|
+
base: "base";
|
|
9567
|
+
}>>;
|
|
9568
|
+
path: z.ZodString;
|
|
9569
|
+
reason: z.ZodString;
|
|
9570
|
+
sourceCommitHash: z.ZodString;
|
|
9571
|
+
targetCommitHash: z.ZodString;
|
|
9572
|
+
type: z.ZodEnum<{
|
|
9573
|
+
"picked-by-run": "picked-by-run";
|
|
9574
|
+
combined: "combined";
|
|
9575
|
+
"kept-more-checks": "kept-more-checks";
|
|
9576
|
+
"needs-person": "needs-person";
|
|
9577
|
+
}>;
|
|
9578
|
+
}, z.core.$strip>>>;
|
|
9579
|
+
headEnvironmentId: PublicIdSchema;
|
|
9580
|
+
id: PublicIdSchema;
|
|
9581
|
+
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9582
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9583
|
+
path: z.ZodString;
|
|
9584
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
9585
|
+
}, z.core.$strip>>>;
|
|
9586
|
+
reason: z.ZodEnum<{
|
|
9587
|
+
"undecided-paths": "undecided-paths";
|
|
9588
|
+
"run-limit-reached": "run-limit-reached";
|
|
9589
|
+
"flows-undetermined": "flows-undetermined";
|
|
9590
|
+
"agent-stopped": "agent-stopped";
|
|
9591
|
+
"agent-failed": "agent-failed";
|
|
9592
|
+
"agent-not-started": "agent-not-started";
|
|
9593
|
+
"agent-resolution-off": "agent-resolution-off";
|
|
9594
|
+
}>;
|
|
9595
|
+
}, z.core.$strip>>;
|
|
9596
|
+
promotedCommitHash: z.ZodOptional<z.ZodString>;
|
|
9597
|
+
settledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
9598
|
+
status: z.ZodEnum<{
|
|
9599
|
+
pending: "pending";
|
|
9600
|
+
conflicted: "conflicted";
|
|
9601
|
+
resolving: "resolving";
|
|
9602
|
+
promoted: "promoted";
|
|
9603
|
+
"no-changes": "no-changes";
|
|
9604
|
+
abandoned: "abandoned";
|
|
9605
|
+
}>;
|
|
9606
|
+
validationRuns: z.ZodArray<z.ZodObject<{
|
|
9607
|
+
aiTaskId: PublicIdSchema;
|
|
9608
|
+
runId: PublicIdSchema;
|
|
9609
|
+
runMode: z.ZodEnum<{
|
|
9610
|
+
"confirm-after": "confirm-after";
|
|
9611
|
+
"choose-version": "choose-version";
|
|
9612
|
+
}>;
|
|
9613
|
+
sourceCommitHash: z.ZodString;
|
|
9614
|
+
targetCommitHash: z.ZodString;
|
|
9615
|
+
}, z.core.$strip>>;
|
|
9616
|
+
url: z.ZodURL;
|
|
9617
|
+
}, z.core.$strip>;
|
|
9618
|
+
};
|
|
9619
|
+
askQuestion: {
|
|
9620
|
+
readonly annotationJustifications: {
|
|
9621
|
+
readonly destructiveHint: "Records a question on the promotion and changes no flow code.";
|
|
9622
|
+
readonly openWorldHint: "Changes a private QA Wolf promotion record without touching external systems.";
|
|
9623
|
+
readonly readOnlyHint: "Records a question for a person to answer.";
|
|
9624
|
+
};
|
|
9625
|
+
readonly annotations: {
|
|
9626
|
+
readonly destructiveHint: false;
|
|
9627
|
+
readonly openWorldHint: false;
|
|
9628
|
+
readonly readOnlyHint: false;
|
|
9629
|
+
};
|
|
9630
|
+
readonly description: "Ask a person about one conflicting path of a conflicted promotion that was reported as needs-person: a question about the app, both versions as plain steps with how each ran, the answers with what each does to the flow, and QA Wolf's pick. Ask before finishing; a promotion that already waits on a person is refused. Asking again about the same path replaces the question. Returns the question.";
|
|
9631
|
+
readonly input: z.ZodObject<{
|
|
9632
|
+
content: z.ZodObject<{
|
|
9633
|
+
base: z.ZodObject<{
|
|
9634
|
+
code: z.ZodString;
|
|
9635
|
+
runSummary: z.ZodString;
|
|
9636
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9637
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9638
|
+
changed: "changed";
|
|
9639
|
+
added: "added";
|
|
9640
|
+
deleted: "deleted";
|
|
9641
|
+
}>>;
|
|
9642
|
+
text: z.ZodString;
|
|
9643
|
+
}, z.core.$strict>>;
|
|
9644
|
+
}, z.core.$strict>;
|
|
9645
|
+
flowName: z.ZodString;
|
|
9646
|
+
head: z.ZodObject<{
|
|
9647
|
+
code: z.ZodString;
|
|
9648
|
+
runSummary: z.ZodString;
|
|
9649
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9650
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9651
|
+
changed: "changed";
|
|
9652
|
+
added: "added";
|
|
9653
|
+
deleted: "deleted";
|
|
9654
|
+
}>>;
|
|
9655
|
+
text: z.ZodString;
|
|
9656
|
+
}, z.core.$strict>>;
|
|
9657
|
+
}, z.core.$strict>;
|
|
9658
|
+
options: z.ZodArray<z.ZodObject<{
|
|
9659
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
9660
|
+
consequence: z.ZodString;
|
|
9661
|
+
id: z.ZodString;
|
|
9662
|
+
title: z.ZodString;
|
|
9663
|
+
}, z.core.$strict>>;
|
|
9664
|
+
proposal: z.ZodString;
|
|
9665
|
+
proposedOptionId: z.ZodString;
|
|
9666
|
+
question: z.ZodString;
|
|
9667
|
+
stepLabel: z.ZodString;
|
|
9668
|
+
}, z.core.$strict>;
|
|
9669
|
+
expectedSourceCommitHash: z.ZodString;
|
|
9670
|
+
expectedTargetCommitHash: z.ZodString;
|
|
9671
|
+
path: z.ZodString;
|
|
9672
|
+
promotionId: PublicIdSchema;
|
|
9673
|
+
}, z.core.$strip>;
|
|
9674
|
+
readonly kind: "write";
|
|
9675
|
+
readonly name: "promotion.askQuestion";
|
|
9676
|
+
readonly output: z.ZodObject<{
|
|
9677
|
+
answer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9678
|
+
answeredAt: z.ZodISODateTime;
|
|
9679
|
+
optionId: z.ZodString;
|
|
9680
|
+
type: z.ZodLiteral<"option">;
|
|
9681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9682
|
+
answeredAt: z.ZodISODateTime;
|
|
9683
|
+
text: z.ZodString;
|
|
9684
|
+
type: z.ZodLiteral<"own-words">;
|
|
9685
|
+
}, z.core.$strip>], "type">>;
|
|
9686
|
+
content: z.ZodObject<{
|
|
9687
|
+
base: z.ZodObject<{
|
|
9688
|
+
code: z.ZodString;
|
|
9689
|
+
runSummary: z.ZodString;
|
|
9690
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9691
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9692
|
+
changed: "changed";
|
|
9693
|
+
added: "added";
|
|
9694
|
+
deleted: "deleted";
|
|
9695
|
+
}>>;
|
|
9696
|
+
text: z.ZodString;
|
|
9697
|
+
}, z.core.$strict>>;
|
|
9698
|
+
}, z.core.$strict>;
|
|
9699
|
+
flowName: z.ZodString;
|
|
9700
|
+
head: z.ZodObject<{
|
|
9701
|
+
code: z.ZodString;
|
|
9702
|
+
runSummary: z.ZodString;
|
|
9703
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9704
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9705
|
+
changed: "changed";
|
|
9706
|
+
added: "added";
|
|
9707
|
+
deleted: "deleted";
|
|
9708
|
+
}>>;
|
|
9709
|
+
text: z.ZodString;
|
|
9710
|
+
}, z.core.$strict>>;
|
|
9711
|
+
}, z.core.$strict>;
|
|
9712
|
+
options: z.ZodArray<z.ZodObject<{
|
|
9713
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
9714
|
+
consequence: z.ZodString;
|
|
9715
|
+
id: z.ZodString;
|
|
9716
|
+
title: z.ZodString;
|
|
9717
|
+
}, z.core.$strict>>;
|
|
9718
|
+
proposal: z.ZodString;
|
|
9719
|
+
proposedOptionId: z.ZodString;
|
|
9720
|
+
question: z.ZodString;
|
|
9721
|
+
stepLabel: z.ZodString;
|
|
9722
|
+
}, z.core.$strict>;
|
|
9723
|
+
id: PublicIdSchema;
|
|
9724
|
+
path: z.ZodString;
|
|
9725
|
+
revision: z.ZodNumber;
|
|
9726
|
+
}, z.core.$strip>;
|
|
9727
|
+
};
|
|
9238
9728
|
find: {
|
|
9239
9729
|
readonly annotationJustifications: {
|
|
9240
9730
|
readonly destructiveHint: "Does not change promotions, environments or flow code branches.";
|
|
@@ -9309,6 +9799,7 @@ export declare const publicContractsV1: {
|
|
|
9309
9799
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9310
9800
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9311
9801
|
path: z.ZodString;
|
|
9802
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
9312
9803
|
}, z.core.$strip>>>;
|
|
9313
9804
|
reason: z.ZodEnum<{
|
|
9314
9805
|
"undecided-paths": "undecided-paths";
|
|
@@ -9405,6 +9896,7 @@ export declare const publicContractsV1: {
|
|
|
9405
9896
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9406
9897
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9407
9898
|
path: z.ZodString;
|
|
9899
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
9408
9900
|
}, z.core.$strip>>>;
|
|
9409
9901
|
reason: z.ZodEnum<{
|
|
9410
9902
|
"undecided-paths": "undecided-paths";
|
|
@@ -9438,6 +9930,57 @@ export declare const publicContractsV1: {
|
|
|
9438
9930
|
}, z.core.$strip>>;
|
|
9439
9931
|
url: z.ZodURL;
|
|
9440
9932
|
aiTaskSessionId: z.ZodOptional<PublicIdSchema>;
|
|
9933
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9934
|
+
answer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9935
|
+
answeredAt: z.ZodISODateTime;
|
|
9936
|
+
optionId: z.ZodString;
|
|
9937
|
+
type: z.ZodLiteral<"option">;
|
|
9938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9939
|
+
answeredAt: z.ZodISODateTime;
|
|
9940
|
+
text: z.ZodString;
|
|
9941
|
+
type: z.ZodLiteral<"own-words">;
|
|
9942
|
+
}, z.core.$strip>], "type">>;
|
|
9943
|
+
content: z.ZodObject<{
|
|
9944
|
+
base: z.ZodObject<{
|
|
9945
|
+
code: z.ZodString;
|
|
9946
|
+
runSummary: z.ZodString;
|
|
9947
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9948
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9949
|
+
changed: "changed";
|
|
9950
|
+
added: "added";
|
|
9951
|
+
deleted: "deleted";
|
|
9952
|
+
}>>;
|
|
9953
|
+
text: z.ZodString;
|
|
9954
|
+
}, z.core.$strict>>;
|
|
9955
|
+
}, z.core.$strict>;
|
|
9956
|
+
flowName: z.ZodString;
|
|
9957
|
+
head: z.ZodObject<{
|
|
9958
|
+
code: z.ZodString;
|
|
9959
|
+
runSummary: z.ZodString;
|
|
9960
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
9961
|
+
mark: z.ZodOptional<z.ZodEnum<{
|
|
9962
|
+
changed: "changed";
|
|
9963
|
+
added: "added";
|
|
9964
|
+
deleted: "deleted";
|
|
9965
|
+
}>>;
|
|
9966
|
+
text: z.ZodString;
|
|
9967
|
+
}, z.core.$strict>>;
|
|
9968
|
+
}, z.core.$strict>;
|
|
9969
|
+
options: z.ZodArray<z.ZodObject<{
|
|
9970
|
+
bugTitle: z.ZodOptional<z.ZodString>;
|
|
9971
|
+
consequence: z.ZodString;
|
|
9972
|
+
id: z.ZodString;
|
|
9973
|
+
title: z.ZodString;
|
|
9974
|
+
}, z.core.$strict>>;
|
|
9975
|
+
proposal: z.ZodString;
|
|
9976
|
+
proposedOptionId: z.ZodString;
|
|
9977
|
+
question: z.ZodString;
|
|
9978
|
+
stepLabel: z.ZodString;
|
|
9979
|
+
}, z.core.$strict>;
|
|
9980
|
+
id: PublicIdSchema;
|
|
9981
|
+
path: z.ZodString;
|
|
9982
|
+
revision: z.ZodNumber;
|
|
9983
|
+
}, z.core.$strip>>>;
|
|
9441
9984
|
}, z.core.$strip>;
|
|
9442
9985
|
};
|
|
9443
9986
|
reportDecision: {
|
|
@@ -9451,7 +9994,7 @@ export declare const publicContractsV1: {
|
|
|
9451
9994
|
readonly openWorldHint: false;
|
|
9452
9995
|
readonly readOnlyHint: false;
|
|
9453
9996
|
};
|
|
9454
|
-
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. Reporting a path again replaces its decision. Returns the promotion.";
|
|
9997
|
+
readonly description: "Record how one conflicting path of a conflicted promotion was settled by running its versions, or why it is left for a person, with the run of each version. Exactly one passing version is kept (picked-by-run); when every version passed, they are combined or the one with more checks is kept; a person is asked only when every version failed or the runs could not tell them apart. Every run must have been started for this promotion's resolution. When the workspace runs no versions but has promotion questions on, only a needs-person decision with no runs is recorded, so the path can be asked about. Reporting a path again replaces its decision. Returns the promotion.";
|
|
9455
9998
|
readonly input: z.ZodObject<{
|
|
9456
9999
|
base: z.ZodOptional<z.ZodObject<{
|
|
9457
10000
|
outcome: z.ZodEnum<{
|
|
@@ -9540,6 +10083,7 @@ export declare const publicContractsV1: {
|
|
|
9540
10083
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9541
10084
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9542
10085
|
path: z.ZodString;
|
|
10086
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
9543
10087
|
}, z.core.$strip>>>;
|
|
9544
10088
|
reason: z.ZodEnum<{
|
|
9545
10089
|
"undecided-paths": "undecided-paths";
|
|
@@ -9639,6 +10183,7 @@ export declare const publicContractsV1: {
|
|
|
9639
10183
|
needsPerson: z.ZodOptional<z.ZodObject<{
|
|
9640
10184
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9641
10185
|
path: z.ZodString;
|
|
10186
|
+
questionId: z.ZodOptional<z.ZodString>;
|
|
9642
10187
|
}, z.core.$strip>>>;
|
|
9643
10188
|
reason: z.ZodEnum<{
|
|
9644
10189
|
"undecided-paths": "undecided-paths";
|
|
@@ -9985,6 +10530,10 @@ export declare const publicContractsV1: {
|
|
|
9985
10530
|
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
9986
10531
|
}, z.core.$strip>]>>>;
|
|
9987
10532
|
failure: z.ZodObject<{
|
|
10533
|
+
blockedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10534
|
+
flowId: PublicIdSchema;
|
|
10535
|
+
name: z.ZodString;
|
|
10536
|
+
}, z.core.$strip>>>;
|
|
9988
10537
|
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
9989
10538
|
issueId: PublicIdSchema;
|
|
9990
10539
|
type: z.ZodEnum<{
|
|
@@ -10133,8 +10682,8 @@ export declare const publicContractsV1: {
|
|
|
10133
10682
|
attemptCompletedAt: z.ZodISODateTime;
|
|
10134
10683
|
baselineStatus: z.ZodEnum<{
|
|
10135
10684
|
unknown: "unknown";
|
|
10136
|
-
accepted: "accepted";
|
|
10137
10685
|
deleted: "deleted";
|
|
10686
|
+
accepted: "accepted";
|
|
10138
10687
|
unchanged: "unchanged";
|
|
10139
10688
|
"changed-since-run": "changed-since-run";
|
|
10140
10689
|
}>;
|