@cat-factory/contracts 0.119.0 → 0.121.1
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/agent-presentation.d.ts +14 -4
- package/dist/agent-presentation.d.ts.map +1 -1
- package/dist/agent-presentation.js +7 -2
- package/dist/agent-presentation.js.map +1 -1
- package/dist/initiative-preset.d.ts +22 -0
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/initiative-preset.js +6 -0
- package/dist/initiative-preset.js.map +1 -1
- package/dist/initiative.d.ts +67 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +46 -0
- package/dist/initiative.js.map +1 -1
- package/dist/notifications.d.ts +2 -2
- package/dist/notifications.js +1 -1
- package/dist/notifications.js.map +1 -1
- package/dist/routes/initiative.d.ts +377 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/initiative.js +17 -1
- package/dist/routes/initiative.js.map +1 -1
- package/dist/routes/notifications.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +18 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +9 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -53,6 +53,8 @@ export declare const createInitiativeContract: {
|
|
|
53
53
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
54
54
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
55
55
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
56
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
57
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
56
58
|
}, undefined>, undefined>, readonly []>;
|
|
57
59
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
58
60
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -65,6 +67,8 @@ export declare const createInitiativeContract: {
|
|
|
65
67
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
66
68
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
67
69
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
70
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
71
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
68
72
|
}, undefined>, undefined>, readonly []>;
|
|
69
73
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
70
74
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -534,6 +538,8 @@ export declare const listInitiativesContract: {
|
|
|
534
538
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
535
539
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
536
540
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
541
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
542
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
537
543
|
}, undefined>, undefined>, readonly []>;
|
|
538
544
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
539
545
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -546,6 +552,8 @@ export declare const listInitiativesContract: {
|
|
|
546
552
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
547
553
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
548
554
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
555
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
556
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
549
557
|
}, undefined>, undefined>, readonly []>;
|
|
550
558
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
551
559
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -728,6 +736,8 @@ export declare const getInitiativeContract: {
|
|
|
728
736
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
729
737
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
730
738
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
739
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
740
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
731
741
|
}, undefined>, undefined>, readonly []>;
|
|
732
742
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
733
743
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -740,6 +750,8 @@ export declare const getInitiativeContract: {
|
|
|
740
750
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
741
751
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
742
752
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
753
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
754
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
743
755
|
}, undefined>, undefined>, readonly []>;
|
|
744
756
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
745
757
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -881,6 +893,8 @@ export declare const getInitiativeByBlockContract: {
|
|
|
881
893
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
882
894
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
883
895
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
896
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
897
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
884
898
|
}, undefined>, undefined>, readonly []>;
|
|
885
899
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
886
900
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -893,6 +907,8 @@ export declare const getInitiativeByBlockContract: {
|
|
|
893
907
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
894
908
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
895
909
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
910
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
911
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
896
912
|
}, undefined>, undefined>, readonly []>;
|
|
897
913
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
898
914
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1038,6 +1054,8 @@ export declare const answerInitiativeQuestionContract: {
|
|
|
1038
1054
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1039
1055
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1040
1056
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1057
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1058
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1041
1059
|
}, undefined>, undefined>, readonly []>;
|
|
1042
1060
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1043
1061
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1050,6 +1068,329 @@ export declare const answerInitiativeQuestionContract: {
|
|
|
1050
1068
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1051
1069
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1052
1070
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1071
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1072
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1073
|
+
}, undefined>, undefined>, readonly []>;
|
|
1074
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1075
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1076
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1077
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1078
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1079
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1080
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1081
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1082
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1083
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1084
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1085
|
+
}, undefined>, undefined>;
|
|
1086
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1087
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1088
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1089
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1090
|
+
readonly url: v.StringSchema<undefined>;
|
|
1091
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1092
|
+
}, undefined>, undefined>;
|
|
1093
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1094
|
+
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
1095
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
|
|
1096
|
+
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
1097
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1098
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1099
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1100
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1101
|
+
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1102
|
+
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
1103
|
+
readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1104
|
+
readonly targetUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1105
|
+
readonly successMetrics: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1106
|
+
readonly alternativesConsidered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1107
|
+
readonly rolloutConcerns: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1108
|
+
readonly decisionDrivers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1109
|
+
readonly consideredOptions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1110
|
+
readonly whenToUse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1111
|
+
readonly escalationPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1112
|
+
readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1113
|
+
readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1114
|
+
readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1115
|
+
}, undefined>, undefined>;
|
|
1116
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1117
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
1118
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1119
|
+
}, undefined>, undefined>;
|
|
1120
|
+
}, undefined>, undefined>, readonly []>;
|
|
1121
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1122
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1123
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1124
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1125
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1126
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1127
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1128
|
+
}, undefined>, undefined>, readonly []>;
|
|
1129
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1130
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1131
|
+
}, undefined>, undefined>, undefined>;
|
|
1132
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1133
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1134
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1135
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1136
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1137
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1138
|
+
}, undefined>, undefined>, readonly []>;
|
|
1139
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1140
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1141
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1142
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1143
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1144
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1145
|
+
}, undefined>, undefined>, readonly []>;
|
|
1146
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1147
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1148
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1149
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1150
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1151
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1152
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1153
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1154
|
+
}, undefined>, undefined>, readonly []>;
|
|
1155
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1156
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1157
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1158
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1159
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1160
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1161
|
+
}, undefined>, undefined>;
|
|
1162
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1163
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1164
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1165
|
+
}, undefined>;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
/** Mark a planning question not-relevant / reopen it (no run resume). */
|
|
1169
|
+
export declare const setInitiativeQuestionStatusContract: {
|
|
1170
|
+
readonly method: "post";
|
|
1171
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1172
|
+
blockId: v.StringSchema<undefined>;
|
|
1173
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1174
|
+
readonly pathResolver: ({ blockId }: {
|
|
1175
|
+
blockId: string;
|
|
1176
|
+
}) => string;
|
|
1177
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1178
|
+
readonly questionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1179
|
+
readonly status: v.PicklistSchema<["open", "dismissed"], undefined>;
|
|
1180
|
+
}, undefined>;
|
|
1181
|
+
readonly responsesByStatusCode: {
|
|
1182
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1183
|
+
readonly error: v.ObjectSchema<{
|
|
1184
|
+
readonly code: v.StringSchema<undefined>;
|
|
1185
|
+
readonly message: v.StringSchema<undefined>;
|
|
1186
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1187
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1188
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1189
|
+
readonly message: v.StringSchema<undefined>;
|
|
1190
|
+
}, undefined>, undefined>, undefined>;
|
|
1191
|
+
}, undefined>;
|
|
1192
|
+
}, undefined>;
|
|
1193
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1194
|
+
readonly error: v.ObjectSchema<{
|
|
1195
|
+
readonly code: v.StringSchema<undefined>;
|
|
1196
|
+
readonly message: v.StringSchema<undefined>;
|
|
1197
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1198
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1199
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1200
|
+
readonly message: v.StringSchema<undefined>;
|
|
1201
|
+
}, undefined>, undefined>, undefined>;
|
|
1202
|
+
}, undefined>;
|
|
1203
|
+
}, undefined>;
|
|
1204
|
+
readonly 200: v.ObjectSchema<{
|
|
1205
|
+
readonly id: v.StringSchema<undefined>;
|
|
1206
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1207
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1208
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1209
|
+
readonly presetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1210
|
+
readonly presetInputs: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
1211
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1212
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1213
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1214
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1215
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1216
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1217
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1218
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1219
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1220
|
+
}, undefined>, undefined>, readonly []>;
|
|
1221
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1222
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1223
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1224
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1225
|
+
}, undefined>, undefined>, undefined>;
|
|
1226
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1227
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1228
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1229
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1230
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1231
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1232
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1233
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1234
|
+
}, undefined>, undefined>, readonly []>;
|
|
1235
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1236
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1237
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1238
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1239
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1240
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1241
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1242
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1243
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1244
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1245
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1246
|
+
}, undefined>, undefined>;
|
|
1247
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1248
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1249
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1250
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1251
|
+
readonly url: v.StringSchema<undefined>;
|
|
1252
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1253
|
+
}, undefined>, undefined>;
|
|
1254
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1255
|
+
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
1256
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
|
|
1257
|
+
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
1258
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1259
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1260
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1261
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1262
|
+
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1263
|
+
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
1264
|
+
readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1265
|
+
readonly targetUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1266
|
+
readonly successMetrics: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1267
|
+
readonly alternativesConsidered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1268
|
+
readonly rolloutConcerns: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1269
|
+
readonly decisionDrivers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1270
|
+
readonly consideredOptions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1271
|
+
readonly whenToUse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1272
|
+
readonly escalationPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1273
|
+
readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1274
|
+
readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1275
|
+
readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1276
|
+
}, undefined>, undefined>;
|
|
1277
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1278
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
1279
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1280
|
+
}, undefined>, undefined>;
|
|
1281
|
+
}, undefined>, undefined>, readonly []>;
|
|
1282
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1283
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1284
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1285
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1286
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1287
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1288
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1289
|
+
}, undefined>, undefined>, readonly []>;
|
|
1290
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1291
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1292
|
+
}, undefined>, undefined>, undefined>;
|
|
1293
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1294
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1295
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1296
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1297
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1298
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1299
|
+
}, undefined>, undefined>, readonly []>;
|
|
1300
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1301
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1302
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1303
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1304
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1305
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1306
|
+
}, undefined>, undefined>, readonly []>;
|
|
1307
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1308
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1309
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1310
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1311
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1312
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1313
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1314
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1315
|
+
}, undefined>, undefined>, readonly []>;
|
|
1316
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1317
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1318
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1319
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1320
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1321
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1322
|
+
}, undefined>, undefined>;
|
|
1323
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1324
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1325
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1326
|
+
}, undefined>;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
/** Ask the interviewer to recommend a suggested answer for one pending question (no run resume). */
|
|
1330
|
+
export declare const recommendInitiativeAnswerContract: {
|
|
1331
|
+
readonly method: "post";
|
|
1332
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1333
|
+
blockId: v.StringSchema<undefined>;
|
|
1334
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1335
|
+
readonly pathResolver: ({ blockId }: {
|
|
1336
|
+
blockId: string;
|
|
1337
|
+
}) => string;
|
|
1338
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1339
|
+
readonly questionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1340
|
+
}, undefined>;
|
|
1341
|
+
readonly responsesByStatusCode: {
|
|
1342
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1343
|
+
readonly error: v.ObjectSchema<{
|
|
1344
|
+
readonly code: v.StringSchema<undefined>;
|
|
1345
|
+
readonly message: v.StringSchema<undefined>;
|
|
1346
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1347
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1348
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1349
|
+
readonly message: v.StringSchema<undefined>;
|
|
1350
|
+
}, undefined>, undefined>, undefined>;
|
|
1351
|
+
}, undefined>;
|
|
1352
|
+
}, undefined>;
|
|
1353
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1354
|
+
readonly error: v.ObjectSchema<{
|
|
1355
|
+
readonly code: v.StringSchema<undefined>;
|
|
1356
|
+
readonly message: v.StringSchema<undefined>;
|
|
1357
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1358
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1359
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1360
|
+
readonly message: v.StringSchema<undefined>;
|
|
1361
|
+
}, undefined>, undefined>, undefined>;
|
|
1362
|
+
}, undefined>;
|
|
1363
|
+
}, undefined>;
|
|
1364
|
+
readonly 200: v.ObjectSchema<{
|
|
1365
|
+
readonly id: v.StringSchema<undefined>;
|
|
1366
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1367
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1368
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1369
|
+
readonly presetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1370
|
+
readonly presetInputs: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
1371
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1372
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1373
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1374
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1375
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1376
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1377
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1378
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1379
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1380
|
+
}, undefined>, undefined>, readonly []>;
|
|
1381
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1382
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1383
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1384
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1385
|
+
}, undefined>, undefined>, undefined>;
|
|
1386
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1387
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1388
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1389
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1390
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1391
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1392
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1393
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1053
1394
|
}, undefined>, undefined>, readonly []>;
|
|
1054
1395
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1055
1396
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1192,6 +1533,8 @@ export declare const continueInitiativePlanningContract: {
|
|
|
1192
1533
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1193
1534
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1194
1535
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1536
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1537
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1195
1538
|
}, undefined>, undefined>, readonly []>;
|
|
1196
1539
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1197
1540
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1204,6 +1547,8 @@ export declare const continueInitiativePlanningContract: {
|
|
|
1204
1547
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1205
1548
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1206
1549
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1550
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1551
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1207
1552
|
}, undefined>, undefined>, readonly []>;
|
|
1208
1553
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1209
1554
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1346,6 +1691,8 @@ export declare const proceedInitiativePlanningContract: {
|
|
|
1346
1691
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1347
1692
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1348
1693
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1694
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1695
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1349
1696
|
}, undefined>, undefined>, readonly []>;
|
|
1350
1697
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1351
1698
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1358,6 +1705,8 @@ export declare const proceedInitiativePlanningContract: {
|
|
|
1358
1705
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1359
1706
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1360
1707
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1708
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1709
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1361
1710
|
}, undefined>, undefined>, readonly []>;
|
|
1362
1711
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1363
1712
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1500,6 +1849,8 @@ export declare const pauseInitiativeContract: {
|
|
|
1500
1849
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1501
1850
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1502
1851
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1852
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1853
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1503
1854
|
}, undefined>, undefined>, readonly []>;
|
|
1504
1855
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1505
1856
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1512,6 +1863,8 @@ export declare const pauseInitiativeContract: {
|
|
|
1512
1863
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1513
1864
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1514
1865
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1866
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1867
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1515
1868
|
}, undefined>, undefined>, readonly []>;
|
|
1516
1869
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1517
1870
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1654,6 +2007,8 @@ export declare const resumeInitiativeContract: {
|
|
|
1654
2007
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1655
2008
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1656
2009
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2010
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2011
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1657
2012
|
}, undefined>, undefined>, readonly []>;
|
|
1658
2013
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1659
2014
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1666,6 +2021,8 @@ export declare const resumeInitiativeContract: {
|
|
|
1666
2021
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1667
2022
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1668
2023
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2024
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2025
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1669
2026
|
}, undefined>, undefined>, readonly []>;
|
|
1670
2027
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1671
2028
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1808,6 +2165,8 @@ export declare const cancelInitiativeContract: {
|
|
|
1808
2165
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1809
2166
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1810
2167
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2168
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2169
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1811
2170
|
}, undefined>, undefined>, readonly []>;
|
|
1812
2171
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1813
2172
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1820,6 +2179,8 @@ export declare const cancelInitiativeContract: {
|
|
|
1820
2179
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1821
2180
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1822
2181
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2182
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2183
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1823
2184
|
}, undefined>, undefined>, readonly []>;
|
|
1824
2185
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1825
2186
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1976,6 +2337,8 @@ export declare const promoteInitiativeFollowUpContract: {
|
|
|
1976
2337
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1977
2338
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1978
2339
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2340
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2341
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1979
2342
|
}, undefined>, undefined>, readonly []>;
|
|
1980
2343
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1981
2344
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1988,6 +2351,8 @@ export declare const promoteInitiativeFollowUpContract: {
|
|
|
1988
2351
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1989
2352
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1990
2353
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2354
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2355
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1991
2356
|
}, undefined>, undefined>, readonly []>;
|
|
1992
2357
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1993
2358
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -2132,6 +2497,8 @@ export declare const dismissInitiativeFollowUpContract: {
|
|
|
2132
2497
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2133
2498
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2134
2499
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2500
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2501
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2135
2502
|
}, undefined>, undefined>, readonly []>;
|
|
2136
2503
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2137
2504
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2144,6 +2511,8 @@ export declare const dismissInitiativeFollowUpContract: {
|
|
|
2144
2511
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2145
2512
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2146
2513
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2514
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2515
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2147
2516
|
}, undefined>, undefined>, readonly []>;
|
|
2148
2517
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2149
2518
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -2300,6 +2669,8 @@ export declare const updateInitiativeItemContract: {
|
|
|
2300
2669
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2301
2670
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2302
2671
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2672
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2673
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2303
2674
|
}, undefined>, undefined>, readonly []>;
|
|
2304
2675
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2305
2676
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2312,6 +2683,8 @@ export declare const updateInitiativeItemContract: {
|
|
|
2312
2683
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2313
2684
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2314
2685
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2686
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2687
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2315
2688
|
}, undefined>, undefined>, readonly []>;
|
|
2316
2689
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2317
2690
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -2464,6 +2837,8 @@ export declare const updateInitiativePolicyContract: {
|
|
|
2464
2837
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2465
2838
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2466
2839
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2840
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2841
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2467
2842
|
}, undefined>, undefined>, readonly []>;
|
|
2468
2843
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2469
2844
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2476,6 +2851,8 @@ export declare const updateInitiativePolicyContract: {
|
|
|
2476
2851
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2477
2852
|
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2478
2853
|
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
2854
|
+
readonly checkpoint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2855
|
+
readonly checkpointClearedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2479
2856
|
}, undefined>, undefined>, readonly []>;
|
|
2480
2857
|
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2481
2858
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|